PR tree-optimization/45830
[official-gcc.git] / Makefile.in
blob88797b4bf06509e0e4974d1f3de0d4ffccaefc7b
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
223 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
244 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
245 -I$$s/libstdc++-v3/libsupc++ \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 export CXX; \
249 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
250 @endif target-libstdc++-v3-bootstrap
252 # Similar, for later GCC stages.
253 POSTSTAGE1_HOST_EXPORTS = \
254 $(HOST_EXPORTS) \
255 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
257 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
258 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
259 $(POSTSTAGE1_CXX_EXPORT) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
290 READELF="$(READELF_FOR_TARGET)"; export READELF; \
291 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
292 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
293 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
294 @if gcc-bootstrap
295 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
296 @endif gcc-bootstrap
297 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
298 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
300 RAW_CXX_TARGET_EXPORTS = \
301 $(BASE_TARGET_EXPORTS) \
302 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
303 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
305 NORMAL_TARGET_EXPORTS = \
306 $(BASE_TARGET_EXPORTS) \
307 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
309 # Where to find GMP
310 HOST_GMPLIBS = @gmplibs@
311 HOST_GMPINC = @gmpinc@
313 # Where to find PPL
314 HOST_PPLLIBS = @ppllibs@
315 HOST_PPLINC = @pplinc@
317 # Where to find CLOOG
318 HOST_CLOOGLIBS = @clooglibs@
319 HOST_CLOOGINC = @clooginc@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
327 # ----------------------------------------------
328 # Programs producing files for the BUILD machine
329 # ----------------------------------------------
331 SHELL = @SHELL@
333 # pwd command to use. Allow user to override default by setting PWDCMD in
334 # the environment to account for automounters. The make variable must not
335 # be called PWDCMD, otherwise the value set here is passed to make
336 # subprocesses and overrides the setting from the user's environment.
337 # Don't use PWD since it is a common shell environment variable and we
338 # don't want to corrupt it.
339 PWD_COMMAND = $${PWDCMD-pwd}
341 # compilers to use to create programs which must be run in the build
342 # environment.
343 AR_FOR_BUILD = @AR_FOR_BUILD@
344 AS_FOR_BUILD = @AS_FOR_BUILD@
345 CC_FOR_BUILD = @CC_FOR_BUILD@
346 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
347 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
348 CXX_FOR_BUILD = @CXX_FOR_BUILD@
349 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
350 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
351 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
352 GOC_FOR_BUILD = @GOC_FOR_BUILD@
353 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
354 LD_FOR_BUILD = @LD_FOR_BUILD@
355 NM_FOR_BUILD = @NM_FOR_BUILD@
356 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
357 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
358 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
360 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BUILD_PREFIX = @BUILD_PREFIX@
363 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
365 # Flags to pass to stage2 and later makes. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BOOT_CFLAGS= -g -O2
368 BOOT_LDFLAGS=
369 BOOT_ADAFLAGS=-gnatpg -gnata
371 AWK = @AWK@
372 SED = @SED@
373 BISON = @BISON@
374 YACC = @YACC@
375 FLEX = @FLEX@
376 LEX = @LEX@
377 M4 = @M4@
378 MAKEINFO = @MAKEINFO@
379 EXPECT = @EXPECT@
380 RUNTEST = @RUNTEST@
382 # This just becomes part of the MAKEINFO definition passed down to
383 # sub-makes. It lets flags be given on the command line while still
384 # using the makeinfo from the object tree.
385 # (Default to avoid splitting info files by setting the threshold high.)
386 MAKEINFOFLAGS = --split-size=5000000
388 # ---------------------------------------------
389 # Programs producing files for the HOST machine
390 # ---------------------------------------------
392 AS = @AS@
393 AR = @AR@
394 AR_FLAGS = rc
395 CC = @CC@
396 CXX = @CXX@
397 DLLTOOL = @DLLTOOL@
398 LD = @LD@
399 LIPO = @LIPO@
400 NM = @NM@
401 OBJDUMP = @OBJDUMP@
402 RANLIB = @RANLIB@
403 READELF = @READELF@
404 STRIP = @STRIP@
405 WINDRES = @WINDRES@
406 WINDMC = @WINDMC@
408 GNATBIND = @GNATBIND@
409 GNATMAKE = @GNATMAKE@
411 CFLAGS = @CFLAGS@
412 LDFLAGS = @LDFLAGS@
413 LIBCFLAGS = $(CFLAGS)
414 CXXFLAGS = @CXXFLAGS@
415 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416 GOCFLAGS = $(CFLAGS)
418 TFLAGS =
420 # Defaults for all stages; some are overridden below.
422 STAGE_CFLAGS = $(BOOT_CFLAGS)
423 STAGE_TFLAGS = $(TFLAGS)
424 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
428 # Defaults for stage 1; some are overridden below.
429 STAGE1_CFLAGS = $(STAGE_CFLAGS)
430 STAGE1_CXXFLAGS = $(CXXFLAGS)
431 @if target-libstdc++-v3-bootstrap
432 # Override the above if we're bootstrapping C++.
433 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
434 @endif target-libstdc++-v3-bootstrap
435 STAGE1_TFLAGS = $(STAGE_TFLAGS)
436 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
437 # POSTSTAGE1_CONFIGURE_FLAGS here.
438 STAGE1_CONFIGURE_FLAGS = \
439 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
441 # Defaults for stage 2; some are overridden below.
442 STAGE2_CFLAGS = $(STAGE_CFLAGS)
443 STAGE2_CXXFLAGS = $(CXXFLAGS)
444 @if target-libstdc++-v3-bootstrap
445 # Override the above if we're bootstrapping C++.
446 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
447 @endif target-libstdc++-v3-bootstrap
448 STAGE2_TFLAGS = $(STAGE_TFLAGS)
449 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
450 # POSTSTAGE1_CONFIGURE_FLAGS here.
451 STAGE2_CONFIGURE_FLAGS = \
452 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
454 # Defaults for stage 3; some are overridden below.
455 STAGE3_CFLAGS = $(STAGE_CFLAGS)
456 STAGE3_CXXFLAGS = $(CXXFLAGS)
457 @if target-libstdc++-v3-bootstrap
458 # Override the above if we're bootstrapping C++.
459 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
460 @endif target-libstdc++-v3-bootstrap
461 STAGE3_TFLAGS = $(STAGE_TFLAGS)
462 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
463 # POSTSTAGE1_CONFIGURE_FLAGS here.
464 STAGE3_CONFIGURE_FLAGS = \
465 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
467 # Defaults for stage 4; some are overridden below.
468 STAGE4_CFLAGS = $(STAGE_CFLAGS)
469 STAGE4_CXXFLAGS = $(CXXFLAGS)
470 @if target-libstdc++-v3-bootstrap
471 # Override the above if we're bootstrapping C++.
472 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
473 @endif target-libstdc++-v3-bootstrap
474 STAGE4_TFLAGS = $(STAGE_TFLAGS)
475 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
476 # POSTSTAGE1_CONFIGURE_FLAGS here.
477 STAGE4_CONFIGURE_FLAGS = \
478 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
480 # Defaults for stage profile; some are overridden below.
481 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
482 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
483 @if target-libstdc++-v3-bootstrap
484 # Override the above if we're bootstrapping C++.
485 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
486 @endif target-libstdc++-v3-bootstrap
487 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
488 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
489 # POSTSTAGE1_CONFIGURE_FLAGS here.
490 STAGEprofile_CONFIGURE_FLAGS = \
491 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
493 # Defaults for stage feedback; some are overridden below.
494 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
495 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
501 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
502 # POSTSTAGE1_CONFIGURE_FLAGS here.
503 STAGEfeedback_CONFIGURE_FLAGS = \
504 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
507 # Only build the C compiler for stage1, because that is the only one that
508 # we can guarantee will build with the native compiler, and also it is the
509 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
510 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
511 # overrideable (for a bootstrap build stage1 also builds gcc.info).
513 STAGE1_CFLAGS = @stage1_cflags@
514 STAGE1_CHECKING = @stage1_checking@
515 STAGE1_LANGUAGES = @stage1_languages@
516 # * We force-disable intermodule optimizations, even if
517 # --enable-intermodule was passed, since the installed compiler
518 # probably can't handle them. Luckily, autoconf always respects
519 # the last argument when conflicting --enable arguments are passed.
520 # * Likewise, we force-disable coverage flags, since the installed
521 # compiler probably has never heard of them.
522 # * Don't remove this, because above we added
523 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
524 # we don't want for STAGE1_CONFIGURE_FLAGS.
525 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
526 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
528 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
529 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
531 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
532 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
534 do-compare = @do_compare@
535 do-compare3 = $(do-compare)
537 # -----------------------------------------------
538 # Programs producing files for the TARGET machine
539 # -----------------------------------------------
541 AR_FOR_TARGET=@AR_FOR_TARGET@
542 AS_FOR_TARGET=@AS_FOR_TARGET@
543 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
545 # If GCC_FOR_TARGET is not overriden on the command line, then this
546 # variable is passed down to the gcc Makefile, where it is used to
547 # build libgcc2.a. We define it here so that it can itself be
548 # overridden on the command line.
549 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
550 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
551 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
552 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
553 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
554 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
555 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
556 LD_FOR_TARGET=@LD_FOR_TARGET@
558 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
559 NM_FOR_TARGET=@NM_FOR_TARGET@
560 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
561 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
562 READELF_FOR_TARGET=@READELF_FOR_TARGET@
563 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
564 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
565 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
567 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
568 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
569 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
571 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
572 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
574 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
575 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
576 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
577 GOCFLAGS_FOR_TARGET = -O2 -g
579 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
580 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
581 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
583 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
585 # ------------------------------------
586 # Miscellaneous targets and flag lists
587 # ------------------------------------
589 # The first rule in the file had better be this one. Don't put any above it.
590 # This lives here to allow makefile fragments to contain dependencies.
591 all:
593 #### host and target specific makefile fragments come in here.
594 @target_makefile_frag@
595 @alphaieee_frag@
596 @ospace_frag@
597 @host_makefile_frag@
600 # This is the list of directories that may be needed in RPATH_ENVVAR
601 # so that programs built for the target machine work.
602 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(HOST_LIB_PATH_gcc)
604 @if target-libstdc++-v3
605 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
606 @endif target-libstdc++-v3
608 @if target-libmudflap
609 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
610 @endif target-libmudflap
612 @if target-libssp
613 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
614 @endif target-libssp
616 @if target-libgomp
617 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
618 @endif target-libgomp
620 @if target-libitm
621 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
622 @endif target-libitm
626 # This is the list of directories that may be needed in RPATH_ENVVAR
627 # so that programs built for the host machine work.
628 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
630 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
631 @if gcc
632 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
633 @endif gcc
636 @if bfd
637 HOST_LIB_PATH_bfd = \
638 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
639 @endif bfd
641 @if opcodes
642 HOST_LIB_PATH_opcodes = \
643 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
644 @endif opcodes
646 @if gmp
647 HOST_LIB_PATH_gmp = \
648 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
649 @endif gmp
651 @if mpfr
652 HOST_LIB_PATH_mpfr = \
653 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
654 @endif mpfr
656 @if mpc
657 HOST_LIB_PATH_mpc = \
658 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
659 @endif mpc
661 @if ppl
662 HOST_LIB_PATH_ppl = \
663 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
664 @endif ppl
666 @if cloog
667 HOST_LIB_PATH_cloog = \
668 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
669 @endif cloog
671 @if libelf
672 HOST_LIB_PATH_libelf = \
673 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
674 @endif libelf
677 CXX_FOR_TARGET_FLAG_TO_PASS = \
678 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
679 @if target-libstdc++-v3
680 # CXX_FOR_TARGET is tricky to get right for target libs that require a
681 # functional C++ compiler. When we recurse, if we expand
682 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
683 # libstdc++ include flags from the script. Instead, we get an
684 # -funconfigured-* word, so that we'll get errors if this invalid C++
685 # command line is used for anything, but also so that we can use the
686 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
687 # don't pass it on, sub-make will use the default definition, that
688 # re-expands it at the time of use, so we'll get it right when we need
689 # it. One potential exception is the expansion of CXX_FOR_TARGET
690 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
691 # really work, for C++ host programs can't depend on the current-stage
692 # C++ target library.
693 CXX_FOR_TARGET_FLAG_TO_PASS = \
694 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
695 @endif target-libstdc++-v3
697 # Flags to pass down to all sub-makes.
698 BASE_FLAGS_TO_PASS = \
699 "DESTDIR=$(DESTDIR)" \
700 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
701 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
702 "bindir=$(bindir)" \
703 "datadir=$(datadir)" \
704 "exec_prefix=$(exec_prefix)" \
705 "includedir=$(includedir)" \
706 "datarootdir=$(datarootdir)" \
707 "docdir=$(docdir)" \
708 "infodir=$(infodir)" \
709 "pdfdir=$(pdfdir)" \
710 "htmldir=$(htmldir)" \
711 "libdir=$(libdir)" \
712 "libexecdir=$(libexecdir)" \
713 "lispdir=$(lispdir)" \
714 "localstatedir=$(localstatedir)" \
715 "mandir=$(mandir)" \
716 "oldincludedir=$(oldincludedir)" \
717 "prefix=$(prefix)" \
718 "sbindir=$(sbindir)" \
719 "sharedstatedir=$(sharedstatedir)" \
720 "sysconfdir=$(sysconfdir)" \
721 "tooldir=$(tooldir)" \
722 "build_tooldir=$(build_tooldir)" \
723 "target_alias=$(target_alias)" \
724 "AWK=$(AWK)" \
725 "BISON=$(BISON)" \
726 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
727 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
728 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
729 "EXPECT=$(EXPECT)" \
730 "FLEX=$(FLEX)" \
731 "INSTALL=$(INSTALL)" \
732 "INSTALL_DATA=$(INSTALL_DATA)" \
733 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
734 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
735 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
736 "LEX=$(LEX)" \
737 "M4=$(M4)" \
738 "MAKE=$(MAKE)" \
739 "RUNTEST=$(RUNTEST)" \
740 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
741 "SED=$(SED)" \
742 "SHELL=$(SHELL)" \
743 "YACC=$(YACC)" \
744 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
745 "ADA_CFLAGS=$(ADA_CFLAGS)" \
746 "AR_FLAGS=$(AR_FLAGS)" \
747 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
748 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
749 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
750 "CFLAGS=$(CFLAGS)" \
751 "CXXFLAGS=$(CXXFLAGS)" \
752 "LDFLAGS=$(LDFLAGS)" \
753 "LIBCFLAGS=$(LIBCFLAGS)" \
754 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
755 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
756 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
757 "GNATBIND=$(GNATBIND)" \
758 "GNATMAKE=$(GNATMAKE)" \
759 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
760 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
761 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
762 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
763 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
764 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
765 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
766 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
767 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
768 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
769 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
770 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
771 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
772 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
773 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
774 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
775 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
776 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
777 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
778 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
779 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
780 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
781 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
782 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
783 "BUILD_CONFIG=$(BUILD_CONFIG)" \
784 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
785 "LEAN=$(LEAN)" \
786 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
787 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
788 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
789 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
790 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
791 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
792 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
793 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
794 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
795 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
796 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
797 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
798 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
799 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
800 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
801 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
802 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
803 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
804 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
805 "TFLAGS=$(TFLAGS)" \
806 "CONFIG_SHELL=$(SHELL)" \
807 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
809 # We leave this in just in case, but it is not needed anymore.
810 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
812 # Flags to pass down to most sub-makes, in which we're building with
813 # the host environment.
814 EXTRA_HOST_FLAGS = \
815 'AR=$(AR)' \
816 'AS=$(AS)' \
817 'CC=$(CC)' \
818 'CXX=$(CXX)' \
819 'DLLTOOL=$(DLLTOOL)' \
820 'GCJ=$(GCJ)' \
821 'GFORTRAN=$(GFORTRAN)' \
822 'GOC=$(GOC)' \
823 'LD=$(LD)' \
824 'LIPO=$(LIPO)' \
825 'NM=$(NM)' \
826 'OBJDUMP=$(OBJDUMP)' \
827 'RANLIB=$(RANLIB)' \
828 'READELF=$(READELF)' \
829 'STRIP=$(STRIP)' \
830 'WINDRES=$(WINDRES)' \
831 'WINDMC=$(WINDMC)'
833 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
835 # Flags to pass to stage2 and later makes.
837 POSTSTAGE1_FLAGS_TO_PASS = \
838 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
839 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
840 GNATBIND="$${GNATBIND}" \
841 LDFLAGS="$${LDFLAGS}" \
842 HOST_LIBS="$${HOST_LIBS}" \
843 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
845 # Flags to pass down to makes which are built with the target environment.
846 # The double $ decreases the length of the command line; those variables
847 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
848 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
849 # so we expand them here.
850 EXTRA_TARGET_FLAGS = \
851 'AR=$$(AR_FOR_TARGET)' \
852 'AS=$(COMPILER_AS_FOR_TARGET)' \
853 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
854 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
855 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
856 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
857 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
858 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
859 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
860 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
861 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
862 'LD=$(COMPILER_LD_FOR_TARGET)' \
863 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
864 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
865 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
866 'NM=$(COMPILER_NM_FOR_TARGET)' \
867 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
868 'RANLIB=$$(RANLIB_FOR_TARGET)' \
869 'READELF=$$(READELF_FOR_TARGET)' \
870 'WINDRES=$$(WINDRES_FOR_TARGET)' \
871 'WINDMC=$$(WINDMC_FOR_TARGET)' \
872 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
873 "TFLAGS=$$TFLAGS"
875 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
877 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
878 # unfortunately needs the native compiler and the target ar and
879 # ranlib.
880 # If any variables are added here, they must be added to do-*, below.
881 # The BUILD_* variables are a special case, which are used for the gcc
882 # cross-building scheme.
883 EXTRA_GCC_FLAGS = \
884 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
885 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
886 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
888 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
890 @if gcc
891 BUILD_CONFIG = @BUILD_CONFIG@
892 ifneq ($(BUILD_CONFIG),)
893 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
894 endif
895 @endif gcc
897 .PHONY: configure-host
898 configure-host: \
899 maybe-configure-bfd \
900 maybe-configure-opcodes \
901 maybe-configure-binutils \
902 maybe-configure-bison \
903 maybe-configure-cgen \
904 maybe-configure-dejagnu \
905 maybe-configure-etc \
906 maybe-configure-fastjar \
907 maybe-configure-fixincludes \
908 maybe-configure-flex \
909 maybe-configure-gas \
910 maybe-configure-gcc \
911 maybe-configure-gmp \
912 maybe-configure-mpfr \
913 maybe-configure-mpc \
914 maybe-configure-ppl \
915 maybe-configure-cloog \
916 maybe-configure-libelf \
917 maybe-configure-gold \
918 maybe-configure-gprof \
919 maybe-configure-intl \
920 maybe-configure-tcl \
921 maybe-configure-itcl \
922 maybe-configure-ld \
923 maybe-configure-libcpp \
924 maybe-configure-libdecnumber \
925 maybe-configure-libgui \
926 maybe-configure-libiberty \
927 maybe-configure-libiconv \
928 maybe-configure-m4 \
929 maybe-configure-readline \
930 maybe-configure-sid \
931 maybe-configure-sim \
932 maybe-configure-texinfo \
933 maybe-configure-zlib \
934 maybe-configure-gdb \
935 maybe-configure-expect \
936 maybe-configure-guile \
937 maybe-configure-tk \
938 maybe-configure-libtermcap \
939 maybe-configure-utils \
940 maybe-configure-gnattools \
941 maybe-configure-lto-plugin
942 .PHONY: configure-target
943 configure-target: \
944 maybe-configure-target-libstdc++-v3 \
945 maybe-configure-target-libmudflap \
946 maybe-configure-target-libssp \
947 maybe-configure-target-newlib \
948 maybe-configure-target-libgcc \
949 maybe-configure-target-libquadmath \
950 maybe-configure-target-libgfortran \
951 maybe-configure-target-libobjc \
952 maybe-configure-target-libgo \
953 maybe-configure-target-libtermcap \
954 maybe-configure-target-winsup \
955 maybe-configure-target-libgloss \
956 maybe-configure-target-libffi \
957 maybe-configure-target-libjava \
958 maybe-configure-target-zlib \
959 maybe-configure-target-boehm-gc \
960 maybe-configure-target-rda \
961 maybe-configure-target-libada \
962 maybe-configure-target-libgomp \
963 maybe-configure-target-libitm
965 # The target built for a native non-bootstrap build.
966 .PHONY: all
967 all:
968 @if gcc-bootstrap
969 [ -f stage_final ] || echo stage3 > stage_final
970 @r=`${PWD_COMMAND}`; export r; \
971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
973 @endif gcc-bootstrap
974 @: $(MAKE); $(unstage)
975 @r=`${PWD_COMMAND}`; export r; \
976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
977 @if gcc-bootstrap
978 if [ -f stage_last ]; then \
979 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
980 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
981 else \
982 @endif gcc-bootstrap
983 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
984 @if gcc-bootstrap
986 fi \
987 @endif gcc-bootstrap
988 && :
990 .PHONY: all-build
992 all-build: maybe-all-build-libiberty
993 all-build: maybe-all-build-bison
994 all-build: maybe-all-build-flex
995 all-build: maybe-all-build-m4
996 all-build: maybe-all-build-texinfo
997 all-build: maybe-all-build-fixincludes
999 .PHONY: all-host
1001 @if bfd-no-bootstrap
1002 all-host: maybe-all-bfd
1003 @endif bfd-no-bootstrap
1004 @if opcodes-no-bootstrap
1005 all-host: maybe-all-opcodes
1006 @endif opcodes-no-bootstrap
1007 @if binutils-no-bootstrap
1008 all-host: maybe-all-binutils
1009 @endif binutils-no-bootstrap
1010 all-host: maybe-all-bison
1011 all-host: maybe-all-cgen
1012 all-host: maybe-all-dejagnu
1013 all-host: maybe-all-etc
1014 all-host: maybe-all-fastjar
1015 all-host: maybe-all-fixincludes
1016 all-host: maybe-all-flex
1017 @if gas-no-bootstrap
1018 all-host: maybe-all-gas
1019 @endif gas-no-bootstrap
1020 @if gcc-no-bootstrap
1021 all-host: maybe-all-gcc
1022 @endif gcc-no-bootstrap
1023 @if gmp-no-bootstrap
1024 all-host: maybe-all-gmp
1025 @endif gmp-no-bootstrap
1026 @if mpfr-no-bootstrap
1027 all-host: maybe-all-mpfr
1028 @endif mpfr-no-bootstrap
1029 @if mpc-no-bootstrap
1030 all-host: maybe-all-mpc
1031 @endif mpc-no-bootstrap
1032 @if ppl-no-bootstrap
1033 all-host: maybe-all-ppl
1034 @endif ppl-no-bootstrap
1035 @if cloog-no-bootstrap
1036 all-host: maybe-all-cloog
1037 @endif cloog-no-bootstrap
1038 @if libelf-no-bootstrap
1039 all-host: maybe-all-libelf
1040 @endif libelf-no-bootstrap
1041 @if gold-no-bootstrap
1042 all-host: maybe-all-gold
1043 @endif gold-no-bootstrap
1044 all-host: maybe-all-gprof
1045 @if intl-no-bootstrap
1046 all-host: maybe-all-intl
1047 @endif intl-no-bootstrap
1048 all-host: maybe-all-tcl
1049 all-host: maybe-all-itcl
1050 @if ld-no-bootstrap
1051 all-host: maybe-all-ld
1052 @endif ld-no-bootstrap
1053 @if libcpp-no-bootstrap
1054 all-host: maybe-all-libcpp
1055 @endif libcpp-no-bootstrap
1056 @if libdecnumber-no-bootstrap
1057 all-host: maybe-all-libdecnumber
1058 @endif libdecnumber-no-bootstrap
1059 all-host: maybe-all-libgui
1060 @if libiberty-no-bootstrap
1061 all-host: maybe-all-libiberty
1062 @endif libiberty-no-bootstrap
1063 all-host: maybe-all-libiconv
1064 all-host: maybe-all-m4
1065 all-host: maybe-all-readline
1066 all-host: maybe-all-sid
1067 all-host: maybe-all-sim
1068 all-host: maybe-all-texinfo
1069 @if zlib-no-bootstrap
1070 all-host: maybe-all-zlib
1071 @endif zlib-no-bootstrap
1072 all-host: maybe-all-gdb
1073 all-host: maybe-all-expect
1074 all-host: maybe-all-guile
1075 all-host: maybe-all-tk
1076 all-host: maybe-all-libtermcap
1077 all-host: maybe-all-utils
1078 all-host: maybe-all-gnattools
1079 @if lto-plugin-no-bootstrap
1080 all-host: maybe-all-lto-plugin
1081 @endif lto-plugin-no-bootstrap
1083 .PHONY: all-target
1085 @if target-libstdc++-v3-no-bootstrap
1086 all-target: maybe-all-target-libstdc++-v3
1087 @endif target-libstdc++-v3-no-bootstrap
1088 all-target: maybe-all-target-libmudflap
1089 all-target: maybe-all-target-libssp
1090 all-target: maybe-all-target-newlib
1091 @if target-libgcc-no-bootstrap
1092 all-target: maybe-all-target-libgcc
1093 @endif target-libgcc-no-bootstrap
1094 all-target: maybe-all-target-libquadmath
1095 all-target: maybe-all-target-libgfortran
1096 all-target: maybe-all-target-libobjc
1097 all-target: maybe-all-target-libgo
1098 all-target: maybe-all-target-libtermcap
1099 all-target: maybe-all-target-winsup
1100 all-target: maybe-all-target-libgloss
1101 all-target: maybe-all-target-libffi
1102 all-target: maybe-all-target-libjava
1103 all-target: maybe-all-target-zlib
1104 all-target: maybe-all-target-boehm-gc
1105 all-target: maybe-all-target-rda
1106 all-target: maybe-all-target-libada
1107 @if target-libgomp-no-bootstrap
1108 all-target: maybe-all-target-libgomp
1109 @endif target-libgomp-no-bootstrap
1110 all-target: maybe-all-target-libitm
1112 # Do a target for all the subdirectories. A ``make do-X'' will do a
1113 # ``make X'' in all subdirectories (because, in general, there is a
1114 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1115 # but it may do additional work as well).
1117 .PHONY: do-info
1118 do-info:
1119 @: $(MAKE); $(unstage)
1120 @r=`${PWD_COMMAND}`; export r; \
1121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1123 info-target
1126 .PHONY: info-host
1128 info-host: maybe-info-bfd
1129 info-host: maybe-info-opcodes
1130 info-host: maybe-info-binutils
1131 info-host: maybe-info-bison
1132 info-host: maybe-info-cgen
1133 info-host: maybe-info-dejagnu
1134 info-host: maybe-info-etc
1135 info-host: maybe-info-fastjar
1136 info-host: maybe-info-fixincludes
1137 info-host: maybe-info-flex
1138 info-host: maybe-info-gas
1139 info-host: maybe-info-gcc
1140 info-host: maybe-info-gmp
1141 info-host: maybe-info-mpfr
1142 info-host: maybe-info-mpc
1143 info-host: maybe-info-ppl
1144 info-host: maybe-info-cloog
1145 info-host: maybe-info-libelf
1146 info-host: maybe-info-gold
1147 info-host: maybe-info-gprof
1148 info-host: maybe-info-intl
1149 info-host: maybe-info-tcl
1150 info-host: maybe-info-itcl
1151 info-host: maybe-info-ld
1152 info-host: maybe-info-libcpp
1153 info-host: maybe-info-libdecnumber
1154 info-host: maybe-info-libgui
1155 info-host: maybe-info-libiberty
1156 info-host: maybe-info-libiconv
1157 info-host: maybe-info-m4
1158 info-host: maybe-info-readline
1159 info-host: maybe-info-sid
1160 info-host: maybe-info-sim
1161 info-host: maybe-info-texinfo
1162 info-host: maybe-info-zlib
1163 info-host: maybe-info-gdb
1164 info-host: maybe-info-expect
1165 info-host: maybe-info-guile
1166 info-host: maybe-info-tk
1167 info-host: maybe-info-libtermcap
1168 info-host: maybe-info-utils
1169 info-host: maybe-info-gnattools
1170 info-host: maybe-info-lto-plugin
1172 .PHONY: info-target
1174 info-target: maybe-info-target-libstdc++-v3
1175 info-target: maybe-info-target-libmudflap
1176 info-target: maybe-info-target-libssp
1177 info-target: maybe-info-target-newlib
1178 info-target: maybe-info-target-libgcc
1179 info-target: maybe-info-target-libquadmath
1180 info-target: maybe-info-target-libgfortran
1181 info-target: maybe-info-target-libobjc
1182 info-target: maybe-info-target-libgo
1183 info-target: maybe-info-target-libtermcap
1184 info-target: maybe-info-target-winsup
1185 info-target: maybe-info-target-libgloss
1186 info-target: maybe-info-target-libffi
1187 info-target: maybe-info-target-libjava
1188 info-target: maybe-info-target-zlib
1189 info-target: maybe-info-target-boehm-gc
1190 info-target: maybe-info-target-rda
1191 info-target: maybe-info-target-libada
1192 info-target: maybe-info-target-libgomp
1193 info-target: maybe-info-target-libitm
1195 .PHONY: do-dvi
1196 do-dvi:
1197 @: $(MAKE); $(unstage)
1198 @r=`${PWD_COMMAND}`; export r; \
1199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1200 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1201 dvi-target
1204 .PHONY: dvi-host
1206 dvi-host: maybe-dvi-bfd
1207 dvi-host: maybe-dvi-opcodes
1208 dvi-host: maybe-dvi-binutils
1209 dvi-host: maybe-dvi-bison
1210 dvi-host: maybe-dvi-cgen
1211 dvi-host: maybe-dvi-dejagnu
1212 dvi-host: maybe-dvi-etc
1213 dvi-host: maybe-dvi-fastjar
1214 dvi-host: maybe-dvi-fixincludes
1215 dvi-host: maybe-dvi-flex
1216 dvi-host: maybe-dvi-gas
1217 dvi-host: maybe-dvi-gcc
1218 dvi-host: maybe-dvi-gmp
1219 dvi-host: maybe-dvi-mpfr
1220 dvi-host: maybe-dvi-mpc
1221 dvi-host: maybe-dvi-ppl
1222 dvi-host: maybe-dvi-cloog
1223 dvi-host: maybe-dvi-libelf
1224 dvi-host: maybe-dvi-gold
1225 dvi-host: maybe-dvi-gprof
1226 dvi-host: maybe-dvi-intl
1227 dvi-host: maybe-dvi-tcl
1228 dvi-host: maybe-dvi-itcl
1229 dvi-host: maybe-dvi-ld
1230 dvi-host: maybe-dvi-libcpp
1231 dvi-host: maybe-dvi-libdecnumber
1232 dvi-host: maybe-dvi-libgui
1233 dvi-host: maybe-dvi-libiberty
1234 dvi-host: maybe-dvi-libiconv
1235 dvi-host: maybe-dvi-m4
1236 dvi-host: maybe-dvi-readline
1237 dvi-host: maybe-dvi-sid
1238 dvi-host: maybe-dvi-sim
1239 dvi-host: maybe-dvi-texinfo
1240 dvi-host: maybe-dvi-zlib
1241 dvi-host: maybe-dvi-gdb
1242 dvi-host: maybe-dvi-expect
1243 dvi-host: maybe-dvi-guile
1244 dvi-host: maybe-dvi-tk
1245 dvi-host: maybe-dvi-libtermcap
1246 dvi-host: maybe-dvi-utils
1247 dvi-host: maybe-dvi-gnattools
1248 dvi-host: maybe-dvi-lto-plugin
1250 .PHONY: dvi-target
1252 dvi-target: maybe-dvi-target-libstdc++-v3
1253 dvi-target: maybe-dvi-target-libmudflap
1254 dvi-target: maybe-dvi-target-libssp
1255 dvi-target: maybe-dvi-target-newlib
1256 dvi-target: maybe-dvi-target-libgcc
1257 dvi-target: maybe-dvi-target-libquadmath
1258 dvi-target: maybe-dvi-target-libgfortran
1259 dvi-target: maybe-dvi-target-libobjc
1260 dvi-target: maybe-dvi-target-libgo
1261 dvi-target: maybe-dvi-target-libtermcap
1262 dvi-target: maybe-dvi-target-winsup
1263 dvi-target: maybe-dvi-target-libgloss
1264 dvi-target: maybe-dvi-target-libffi
1265 dvi-target: maybe-dvi-target-libjava
1266 dvi-target: maybe-dvi-target-zlib
1267 dvi-target: maybe-dvi-target-boehm-gc
1268 dvi-target: maybe-dvi-target-rda
1269 dvi-target: maybe-dvi-target-libada
1270 dvi-target: maybe-dvi-target-libgomp
1271 dvi-target: maybe-dvi-target-libitm
1273 .PHONY: do-pdf
1274 do-pdf:
1275 @: $(MAKE); $(unstage)
1276 @r=`${PWD_COMMAND}`; export r; \
1277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1279 pdf-target
1282 .PHONY: pdf-host
1284 pdf-host: maybe-pdf-bfd
1285 pdf-host: maybe-pdf-opcodes
1286 pdf-host: maybe-pdf-binutils
1287 pdf-host: maybe-pdf-bison
1288 pdf-host: maybe-pdf-cgen
1289 pdf-host: maybe-pdf-dejagnu
1290 pdf-host: maybe-pdf-etc
1291 pdf-host: maybe-pdf-fastjar
1292 pdf-host: maybe-pdf-fixincludes
1293 pdf-host: maybe-pdf-flex
1294 pdf-host: maybe-pdf-gas
1295 pdf-host: maybe-pdf-gcc
1296 pdf-host: maybe-pdf-gmp
1297 pdf-host: maybe-pdf-mpfr
1298 pdf-host: maybe-pdf-mpc
1299 pdf-host: maybe-pdf-ppl
1300 pdf-host: maybe-pdf-cloog
1301 pdf-host: maybe-pdf-libelf
1302 pdf-host: maybe-pdf-gold
1303 pdf-host: maybe-pdf-gprof
1304 pdf-host: maybe-pdf-intl
1305 pdf-host: maybe-pdf-tcl
1306 pdf-host: maybe-pdf-itcl
1307 pdf-host: maybe-pdf-ld
1308 pdf-host: maybe-pdf-libcpp
1309 pdf-host: maybe-pdf-libdecnumber
1310 pdf-host: maybe-pdf-libgui
1311 pdf-host: maybe-pdf-libiberty
1312 pdf-host: maybe-pdf-libiconv
1313 pdf-host: maybe-pdf-m4
1314 pdf-host: maybe-pdf-readline
1315 pdf-host: maybe-pdf-sid
1316 pdf-host: maybe-pdf-sim
1317 pdf-host: maybe-pdf-texinfo
1318 pdf-host: maybe-pdf-zlib
1319 pdf-host: maybe-pdf-gdb
1320 pdf-host: maybe-pdf-expect
1321 pdf-host: maybe-pdf-guile
1322 pdf-host: maybe-pdf-tk
1323 pdf-host: maybe-pdf-libtermcap
1324 pdf-host: maybe-pdf-utils
1325 pdf-host: maybe-pdf-gnattools
1326 pdf-host: maybe-pdf-lto-plugin
1328 .PHONY: pdf-target
1330 pdf-target: maybe-pdf-target-libstdc++-v3
1331 pdf-target: maybe-pdf-target-libmudflap
1332 pdf-target: maybe-pdf-target-libssp
1333 pdf-target: maybe-pdf-target-newlib
1334 pdf-target: maybe-pdf-target-libgcc
1335 pdf-target: maybe-pdf-target-libquadmath
1336 pdf-target: maybe-pdf-target-libgfortran
1337 pdf-target: maybe-pdf-target-libobjc
1338 pdf-target: maybe-pdf-target-libgo
1339 pdf-target: maybe-pdf-target-libtermcap
1340 pdf-target: maybe-pdf-target-winsup
1341 pdf-target: maybe-pdf-target-libgloss
1342 pdf-target: maybe-pdf-target-libffi
1343 pdf-target: maybe-pdf-target-libjava
1344 pdf-target: maybe-pdf-target-zlib
1345 pdf-target: maybe-pdf-target-boehm-gc
1346 pdf-target: maybe-pdf-target-rda
1347 pdf-target: maybe-pdf-target-libada
1348 pdf-target: maybe-pdf-target-libgomp
1349 pdf-target: maybe-pdf-target-libitm
1351 .PHONY: do-html
1352 do-html:
1353 @: $(MAKE); $(unstage)
1354 @r=`${PWD_COMMAND}`; export r; \
1355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1356 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1357 html-target
1360 .PHONY: html-host
1362 html-host: maybe-html-bfd
1363 html-host: maybe-html-opcodes
1364 html-host: maybe-html-binutils
1365 html-host: maybe-html-bison
1366 html-host: maybe-html-cgen
1367 html-host: maybe-html-dejagnu
1368 html-host: maybe-html-etc
1369 html-host: maybe-html-fastjar
1370 html-host: maybe-html-fixincludes
1371 html-host: maybe-html-flex
1372 html-host: maybe-html-gas
1373 html-host: maybe-html-gcc
1374 html-host: maybe-html-gmp
1375 html-host: maybe-html-mpfr
1376 html-host: maybe-html-mpc
1377 html-host: maybe-html-ppl
1378 html-host: maybe-html-cloog
1379 html-host: maybe-html-libelf
1380 html-host: maybe-html-gold
1381 html-host: maybe-html-gprof
1382 html-host: maybe-html-intl
1383 html-host: maybe-html-tcl
1384 html-host: maybe-html-itcl
1385 html-host: maybe-html-ld
1386 html-host: maybe-html-libcpp
1387 html-host: maybe-html-libdecnumber
1388 html-host: maybe-html-libgui
1389 html-host: maybe-html-libiberty
1390 html-host: maybe-html-libiconv
1391 html-host: maybe-html-m4
1392 html-host: maybe-html-readline
1393 html-host: maybe-html-sid
1394 html-host: maybe-html-sim
1395 html-host: maybe-html-texinfo
1396 html-host: maybe-html-zlib
1397 html-host: maybe-html-gdb
1398 html-host: maybe-html-expect
1399 html-host: maybe-html-guile
1400 html-host: maybe-html-tk
1401 html-host: maybe-html-libtermcap
1402 html-host: maybe-html-utils
1403 html-host: maybe-html-gnattools
1404 html-host: maybe-html-lto-plugin
1406 .PHONY: html-target
1408 html-target: maybe-html-target-libstdc++-v3
1409 html-target: maybe-html-target-libmudflap
1410 html-target: maybe-html-target-libssp
1411 html-target: maybe-html-target-newlib
1412 html-target: maybe-html-target-libgcc
1413 html-target: maybe-html-target-libquadmath
1414 html-target: maybe-html-target-libgfortran
1415 html-target: maybe-html-target-libobjc
1416 html-target: maybe-html-target-libgo
1417 html-target: maybe-html-target-libtermcap
1418 html-target: maybe-html-target-winsup
1419 html-target: maybe-html-target-libgloss
1420 html-target: maybe-html-target-libffi
1421 html-target: maybe-html-target-libjava
1422 html-target: maybe-html-target-zlib
1423 html-target: maybe-html-target-boehm-gc
1424 html-target: maybe-html-target-rda
1425 html-target: maybe-html-target-libada
1426 html-target: maybe-html-target-libgomp
1427 html-target: maybe-html-target-libitm
1429 .PHONY: do-TAGS
1430 do-TAGS:
1431 @: $(MAKE); $(unstage)
1432 @r=`${PWD_COMMAND}`; export r; \
1433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1434 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1435 TAGS-target
1438 .PHONY: TAGS-host
1440 TAGS-host: maybe-TAGS-bfd
1441 TAGS-host: maybe-TAGS-opcodes
1442 TAGS-host: maybe-TAGS-binutils
1443 TAGS-host: maybe-TAGS-bison
1444 TAGS-host: maybe-TAGS-cgen
1445 TAGS-host: maybe-TAGS-dejagnu
1446 TAGS-host: maybe-TAGS-etc
1447 TAGS-host: maybe-TAGS-fastjar
1448 TAGS-host: maybe-TAGS-fixincludes
1449 TAGS-host: maybe-TAGS-flex
1450 TAGS-host: maybe-TAGS-gas
1451 TAGS-host: maybe-TAGS-gcc
1452 TAGS-host: maybe-TAGS-gmp
1453 TAGS-host: maybe-TAGS-mpfr
1454 TAGS-host: maybe-TAGS-mpc
1455 TAGS-host: maybe-TAGS-ppl
1456 TAGS-host: maybe-TAGS-cloog
1457 TAGS-host: maybe-TAGS-libelf
1458 TAGS-host: maybe-TAGS-gold
1459 TAGS-host: maybe-TAGS-gprof
1460 TAGS-host: maybe-TAGS-intl
1461 TAGS-host: maybe-TAGS-tcl
1462 TAGS-host: maybe-TAGS-itcl
1463 TAGS-host: maybe-TAGS-ld
1464 TAGS-host: maybe-TAGS-libcpp
1465 TAGS-host: maybe-TAGS-libdecnumber
1466 TAGS-host: maybe-TAGS-libgui
1467 TAGS-host: maybe-TAGS-libiberty
1468 TAGS-host: maybe-TAGS-libiconv
1469 TAGS-host: maybe-TAGS-m4
1470 TAGS-host: maybe-TAGS-readline
1471 TAGS-host: maybe-TAGS-sid
1472 TAGS-host: maybe-TAGS-sim
1473 TAGS-host: maybe-TAGS-texinfo
1474 TAGS-host: maybe-TAGS-zlib
1475 TAGS-host: maybe-TAGS-gdb
1476 TAGS-host: maybe-TAGS-expect
1477 TAGS-host: maybe-TAGS-guile
1478 TAGS-host: maybe-TAGS-tk
1479 TAGS-host: maybe-TAGS-libtermcap
1480 TAGS-host: maybe-TAGS-utils
1481 TAGS-host: maybe-TAGS-gnattools
1482 TAGS-host: maybe-TAGS-lto-plugin
1484 .PHONY: TAGS-target
1486 TAGS-target: maybe-TAGS-target-libstdc++-v3
1487 TAGS-target: maybe-TAGS-target-libmudflap
1488 TAGS-target: maybe-TAGS-target-libssp
1489 TAGS-target: maybe-TAGS-target-newlib
1490 TAGS-target: maybe-TAGS-target-libgcc
1491 TAGS-target: maybe-TAGS-target-libquadmath
1492 TAGS-target: maybe-TAGS-target-libgfortran
1493 TAGS-target: maybe-TAGS-target-libobjc
1494 TAGS-target: maybe-TAGS-target-libgo
1495 TAGS-target: maybe-TAGS-target-libtermcap
1496 TAGS-target: maybe-TAGS-target-winsup
1497 TAGS-target: maybe-TAGS-target-libgloss
1498 TAGS-target: maybe-TAGS-target-libffi
1499 TAGS-target: maybe-TAGS-target-libjava
1500 TAGS-target: maybe-TAGS-target-zlib
1501 TAGS-target: maybe-TAGS-target-boehm-gc
1502 TAGS-target: maybe-TAGS-target-rda
1503 TAGS-target: maybe-TAGS-target-libada
1504 TAGS-target: maybe-TAGS-target-libgomp
1505 TAGS-target: maybe-TAGS-target-libitm
1507 .PHONY: do-install-info
1508 do-install-info:
1509 @: $(MAKE); $(unstage)
1510 @r=`${PWD_COMMAND}`; export r; \
1511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1512 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1513 install-info-target
1516 .PHONY: install-info-host
1518 install-info-host: maybe-install-info-bfd
1519 install-info-host: maybe-install-info-opcodes
1520 install-info-host: maybe-install-info-binutils
1521 install-info-host: maybe-install-info-bison
1522 install-info-host: maybe-install-info-cgen
1523 install-info-host: maybe-install-info-dejagnu
1524 install-info-host: maybe-install-info-etc
1525 install-info-host: maybe-install-info-fastjar
1526 install-info-host: maybe-install-info-fixincludes
1527 install-info-host: maybe-install-info-flex
1528 install-info-host: maybe-install-info-gas
1529 install-info-host: maybe-install-info-gcc
1530 install-info-host: maybe-install-info-gmp
1531 install-info-host: maybe-install-info-mpfr
1532 install-info-host: maybe-install-info-mpc
1533 install-info-host: maybe-install-info-ppl
1534 install-info-host: maybe-install-info-cloog
1535 install-info-host: maybe-install-info-libelf
1536 install-info-host: maybe-install-info-gold
1537 install-info-host: maybe-install-info-gprof
1538 install-info-host: maybe-install-info-intl
1539 install-info-host: maybe-install-info-tcl
1540 install-info-host: maybe-install-info-itcl
1541 install-info-host: maybe-install-info-ld
1542 install-info-host: maybe-install-info-libcpp
1543 install-info-host: maybe-install-info-libdecnumber
1544 install-info-host: maybe-install-info-libgui
1545 install-info-host: maybe-install-info-libiberty
1546 install-info-host: maybe-install-info-libiconv
1547 install-info-host: maybe-install-info-m4
1548 install-info-host: maybe-install-info-readline
1549 install-info-host: maybe-install-info-sid
1550 install-info-host: maybe-install-info-sim
1551 install-info-host: maybe-install-info-texinfo
1552 install-info-host: maybe-install-info-zlib
1553 install-info-host: maybe-install-info-gdb
1554 install-info-host: maybe-install-info-expect
1555 install-info-host: maybe-install-info-guile
1556 install-info-host: maybe-install-info-tk
1557 install-info-host: maybe-install-info-libtermcap
1558 install-info-host: maybe-install-info-utils
1559 install-info-host: maybe-install-info-gnattools
1560 install-info-host: maybe-install-info-lto-plugin
1562 .PHONY: install-info-target
1564 install-info-target: maybe-install-info-target-libstdc++-v3
1565 install-info-target: maybe-install-info-target-libmudflap
1566 install-info-target: maybe-install-info-target-libssp
1567 install-info-target: maybe-install-info-target-newlib
1568 install-info-target: maybe-install-info-target-libgcc
1569 install-info-target: maybe-install-info-target-libquadmath
1570 install-info-target: maybe-install-info-target-libgfortran
1571 install-info-target: maybe-install-info-target-libobjc
1572 install-info-target: maybe-install-info-target-libgo
1573 install-info-target: maybe-install-info-target-libtermcap
1574 install-info-target: maybe-install-info-target-winsup
1575 install-info-target: maybe-install-info-target-libgloss
1576 install-info-target: maybe-install-info-target-libffi
1577 install-info-target: maybe-install-info-target-libjava
1578 install-info-target: maybe-install-info-target-zlib
1579 install-info-target: maybe-install-info-target-boehm-gc
1580 install-info-target: maybe-install-info-target-rda
1581 install-info-target: maybe-install-info-target-libada
1582 install-info-target: maybe-install-info-target-libgomp
1583 install-info-target: maybe-install-info-target-libitm
1585 .PHONY: do-install-pdf
1586 do-install-pdf:
1587 @: $(MAKE); $(unstage)
1588 @r=`${PWD_COMMAND}`; export r; \
1589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1590 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1591 install-pdf-target
1594 .PHONY: install-pdf-host
1596 install-pdf-host: maybe-install-pdf-bfd
1597 install-pdf-host: maybe-install-pdf-opcodes
1598 install-pdf-host: maybe-install-pdf-binutils
1599 install-pdf-host: maybe-install-pdf-bison
1600 install-pdf-host: maybe-install-pdf-cgen
1601 install-pdf-host: maybe-install-pdf-dejagnu
1602 install-pdf-host: maybe-install-pdf-etc
1603 install-pdf-host: maybe-install-pdf-fastjar
1604 install-pdf-host: maybe-install-pdf-fixincludes
1605 install-pdf-host: maybe-install-pdf-flex
1606 install-pdf-host: maybe-install-pdf-gas
1607 install-pdf-host: maybe-install-pdf-gcc
1608 install-pdf-host: maybe-install-pdf-gmp
1609 install-pdf-host: maybe-install-pdf-mpfr
1610 install-pdf-host: maybe-install-pdf-mpc
1611 install-pdf-host: maybe-install-pdf-ppl
1612 install-pdf-host: maybe-install-pdf-cloog
1613 install-pdf-host: maybe-install-pdf-libelf
1614 install-pdf-host: maybe-install-pdf-gold
1615 install-pdf-host: maybe-install-pdf-gprof
1616 install-pdf-host: maybe-install-pdf-intl
1617 install-pdf-host: maybe-install-pdf-tcl
1618 install-pdf-host: maybe-install-pdf-itcl
1619 install-pdf-host: maybe-install-pdf-ld
1620 install-pdf-host: maybe-install-pdf-libcpp
1621 install-pdf-host: maybe-install-pdf-libdecnumber
1622 install-pdf-host: maybe-install-pdf-libgui
1623 install-pdf-host: maybe-install-pdf-libiberty
1624 install-pdf-host: maybe-install-pdf-libiconv
1625 install-pdf-host: maybe-install-pdf-m4
1626 install-pdf-host: maybe-install-pdf-readline
1627 install-pdf-host: maybe-install-pdf-sid
1628 install-pdf-host: maybe-install-pdf-sim
1629 install-pdf-host: maybe-install-pdf-texinfo
1630 install-pdf-host: maybe-install-pdf-zlib
1631 install-pdf-host: maybe-install-pdf-gdb
1632 install-pdf-host: maybe-install-pdf-expect
1633 install-pdf-host: maybe-install-pdf-guile
1634 install-pdf-host: maybe-install-pdf-tk
1635 install-pdf-host: maybe-install-pdf-libtermcap
1636 install-pdf-host: maybe-install-pdf-utils
1637 install-pdf-host: maybe-install-pdf-gnattools
1638 install-pdf-host: maybe-install-pdf-lto-plugin
1640 .PHONY: install-pdf-target
1642 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1643 install-pdf-target: maybe-install-pdf-target-libmudflap
1644 install-pdf-target: maybe-install-pdf-target-libssp
1645 install-pdf-target: maybe-install-pdf-target-newlib
1646 install-pdf-target: maybe-install-pdf-target-libgcc
1647 install-pdf-target: maybe-install-pdf-target-libquadmath
1648 install-pdf-target: maybe-install-pdf-target-libgfortran
1649 install-pdf-target: maybe-install-pdf-target-libobjc
1650 install-pdf-target: maybe-install-pdf-target-libgo
1651 install-pdf-target: maybe-install-pdf-target-libtermcap
1652 install-pdf-target: maybe-install-pdf-target-winsup
1653 install-pdf-target: maybe-install-pdf-target-libgloss
1654 install-pdf-target: maybe-install-pdf-target-libffi
1655 install-pdf-target: maybe-install-pdf-target-libjava
1656 install-pdf-target: maybe-install-pdf-target-zlib
1657 install-pdf-target: maybe-install-pdf-target-boehm-gc
1658 install-pdf-target: maybe-install-pdf-target-rda
1659 install-pdf-target: maybe-install-pdf-target-libada
1660 install-pdf-target: maybe-install-pdf-target-libgomp
1661 install-pdf-target: maybe-install-pdf-target-libitm
1663 .PHONY: do-install-html
1664 do-install-html:
1665 @: $(MAKE); $(unstage)
1666 @r=`${PWD_COMMAND}`; export r; \
1667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1668 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1669 install-html-target
1672 .PHONY: install-html-host
1674 install-html-host: maybe-install-html-bfd
1675 install-html-host: maybe-install-html-opcodes
1676 install-html-host: maybe-install-html-binutils
1677 install-html-host: maybe-install-html-bison
1678 install-html-host: maybe-install-html-cgen
1679 install-html-host: maybe-install-html-dejagnu
1680 install-html-host: maybe-install-html-etc
1681 install-html-host: maybe-install-html-fastjar
1682 install-html-host: maybe-install-html-fixincludes
1683 install-html-host: maybe-install-html-flex
1684 install-html-host: maybe-install-html-gas
1685 install-html-host: maybe-install-html-gcc
1686 install-html-host: maybe-install-html-gmp
1687 install-html-host: maybe-install-html-mpfr
1688 install-html-host: maybe-install-html-mpc
1689 install-html-host: maybe-install-html-ppl
1690 install-html-host: maybe-install-html-cloog
1691 install-html-host: maybe-install-html-libelf
1692 install-html-host: maybe-install-html-gold
1693 install-html-host: maybe-install-html-gprof
1694 install-html-host: maybe-install-html-intl
1695 install-html-host: maybe-install-html-tcl
1696 install-html-host: maybe-install-html-itcl
1697 install-html-host: maybe-install-html-ld
1698 install-html-host: maybe-install-html-libcpp
1699 install-html-host: maybe-install-html-libdecnumber
1700 install-html-host: maybe-install-html-libgui
1701 install-html-host: maybe-install-html-libiberty
1702 install-html-host: maybe-install-html-libiconv
1703 install-html-host: maybe-install-html-m4
1704 install-html-host: maybe-install-html-readline
1705 install-html-host: maybe-install-html-sid
1706 install-html-host: maybe-install-html-sim
1707 install-html-host: maybe-install-html-texinfo
1708 install-html-host: maybe-install-html-zlib
1709 install-html-host: maybe-install-html-gdb
1710 install-html-host: maybe-install-html-expect
1711 install-html-host: maybe-install-html-guile
1712 install-html-host: maybe-install-html-tk
1713 install-html-host: maybe-install-html-libtermcap
1714 install-html-host: maybe-install-html-utils
1715 install-html-host: maybe-install-html-gnattools
1716 install-html-host: maybe-install-html-lto-plugin
1718 .PHONY: install-html-target
1720 install-html-target: maybe-install-html-target-libstdc++-v3
1721 install-html-target: maybe-install-html-target-libmudflap
1722 install-html-target: maybe-install-html-target-libssp
1723 install-html-target: maybe-install-html-target-newlib
1724 install-html-target: maybe-install-html-target-libgcc
1725 install-html-target: maybe-install-html-target-libquadmath
1726 install-html-target: maybe-install-html-target-libgfortran
1727 install-html-target: maybe-install-html-target-libobjc
1728 install-html-target: maybe-install-html-target-libgo
1729 install-html-target: maybe-install-html-target-libtermcap
1730 install-html-target: maybe-install-html-target-winsup
1731 install-html-target: maybe-install-html-target-libgloss
1732 install-html-target: maybe-install-html-target-libffi
1733 install-html-target: maybe-install-html-target-libjava
1734 install-html-target: maybe-install-html-target-zlib
1735 install-html-target: maybe-install-html-target-boehm-gc
1736 install-html-target: maybe-install-html-target-rda
1737 install-html-target: maybe-install-html-target-libada
1738 install-html-target: maybe-install-html-target-libgomp
1739 install-html-target: maybe-install-html-target-libitm
1741 .PHONY: do-installcheck
1742 do-installcheck:
1743 @: $(MAKE); $(unstage)
1744 @r=`${PWD_COMMAND}`; export r; \
1745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1746 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1747 installcheck-target
1750 .PHONY: installcheck-host
1752 installcheck-host: maybe-installcheck-bfd
1753 installcheck-host: maybe-installcheck-opcodes
1754 installcheck-host: maybe-installcheck-binutils
1755 installcheck-host: maybe-installcheck-bison
1756 installcheck-host: maybe-installcheck-cgen
1757 installcheck-host: maybe-installcheck-dejagnu
1758 installcheck-host: maybe-installcheck-etc
1759 installcheck-host: maybe-installcheck-fastjar
1760 installcheck-host: maybe-installcheck-fixincludes
1761 installcheck-host: maybe-installcheck-flex
1762 installcheck-host: maybe-installcheck-gas
1763 installcheck-host: maybe-installcheck-gcc
1764 installcheck-host: maybe-installcheck-gmp
1765 installcheck-host: maybe-installcheck-mpfr
1766 installcheck-host: maybe-installcheck-mpc
1767 installcheck-host: maybe-installcheck-ppl
1768 installcheck-host: maybe-installcheck-cloog
1769 installcheck-host: maybe-installcheck-libelf
1770 installcheck-host: maybe-installcheck-gold
1771 installcheck-host: maybe-installcheck-gprof
1772 installcheck-host: maybe-installcheck-intl
1773 installcheck-host: maybe-installcheck-tcl
1774 installcheck-host: maybe-installcheck-itcl
1775 installcheck-host: maybe-installcheck-ld
1776 installcheck-host: maybe-installcheck-libcpp
1777 installcheck-host: maybe-installcheck-libdecnumber
1778 installcheck-host: maybe-installcheck-libgui
1779 installcheck-host: maybe-installcheck-libiberty
1780 installcheck-host: maybe-installcheck-libiconv
1781 installcheck-host: maybe-installcheck-m4
1782 installcheck-host: maybe-installcheck-readline
1783 installcheck-host: maybe-installcheck-sid
1784 installcheck-host: maybe-installcheck-sim
1785 installcheck-host: maybe-installcheck-texinfo
1786 installcheck-host: maybe-installcheck-zlib
1787 installcheck-host: maybe-installcheck-gdb
1788 installcheck-host: maybe-installcheck-expect
1789 installcheck-host: maybe-installcheck-guile
1790 installcheck-host: maybe-installcheck-tk
1791 installcheck-host: maybe-installcheck-libtermcap
1792 installcheck-host: maybe-installcheck-utils
1793 installcheck-host: maybe-installcheck-gnattools
1794 installcheck-host: maybe-installcheck-lto-plugin
1796 .PHONY: installcheck-target
1798 installcheck-target: maybe-installcheck-target-libstdc++-v3
1799 installcheck-target: maybe-installcheck-target-libmudflap
1800 installcheck-target: maybe-installcheck-target-libssp
1801 installcheck-target: maybe-installcheck-target-newlib
1802 installcheck-target: maybe-installcheck-target-libgcc
1803 installcheck-target: maybe-installcheck-target-libquadmath
1804 installcheck-target: maybe-installcheck-target-libgfortran
1805 installcheck-target: maybe-installcheck-target-libobjc
1806 installcheck-target: maybe-installcheck-target-libgo
1807 installcheck-target: maybe-installcheck-target-libtermcap
1808 installcheck-target: maybe-installcheck-target-winsup
1809 installcheck-target: maybe-installcheck-target-libgloss
1810 installcheck-target: maybe-installcheck-target-libffi
1811 installcheck-target: maybe-installcheck-target-libjava
1812 installcheck-target: maybe-installcheck-target-zlib
1813 installcheck-target: maybe-installcheck-target-boehm-gc
1814 installcheck-target: maybe-installcheck-target-rda
1815 installcheck-target: maybe-installcheck-target-libada
1816 installcheck-target: maybe-installcheck-target-libgomp
1817 installcheck-target: maybe-installcheck-target-libitm
1819 .PHONY: do-mostlyclean
1820 do-mostlyclean:
1821 @: $(MAKE); $(unstage)
1822 @r=`${PWD_COMMAND}`; export r; \
1823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1824 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1825 mostlyclean-target
1828 .PHONY: mostlyclean-host
1830 mostlyclean-host: maybe-mostlyclean-bfd
1831 mostlyclean-host: maybe-mostlyclean-opcodes
1832 mostlyclean-host: maybe-mostlyclean-binutils
1833 mostlyclean-host: maybe-mostlyclean-bison
1834 mostlyclean-host: maybe-mostlyclean-cgen
1835 mostlyclean-host: maybe-mostlyclean-dejagnu
1836 mostlyclean-host: maybe-mostlyclean-etc
1837 mostlyclean-host: maybe-mostlyclean-fastjar
1838 mostlyclean-host: maybe-mostlyclean-fixincludes
1839 mostlyclean-host: maybe-mostlyclean-flex
1840 mostlyclean-host: maybe-mostlyclean-gas
1841 mostlyclean-host: maybe-mostlyclean-gcc
1842 mostlyclean-host: maybe-mostlyclean-gmp
1843 mostlyclean-host: maybe-mostlyclean-mpfr
1844 mostlyclean-host: maybe-mostlyclean-mpc
1845 mostlyclean-host: maybe-mostlyclean-ppl
1846 mostlyclean-host: maybe-mostlyclean-cloog
1847 mostlyclean-host: maybe-mostlyclean-libelf
1848 mostlyclean-host: maybe-mostlyclean-gold
1849 mostlyclean-host: maybe-mostlyclean-gprof
1850 mostlyclean-host: maybe-mostlyclean-intl
1851 mostlyclean-host: maybe-mostlyclean-tcl
1852 mostlyclean-host: maybe-mostlyclean-itcl
1853 mostlyclean-host: maybe-mostlyclean-ld
1854 mostlyclean-host: maybe-mostlyclean-libcpp
1855 mostlyclean-host: maybe-mostlyclean-libdecnumber
1856 mostlyclean-host: maybe-mostlyclean-libgui
1857 mostlyclean-host: maybe-mostlyclean-libiberty
1858 mostlyclean-host: maybe-mostlyclean-libiconv
1859 mostlyclean-host: maybe-mostlyclean-m4
1860 mostlyclean-host: maybe-mostlyclean-readline
1861 mostlyclean-host: maybe-mostlyclean-sid
1862 mostlyclean-host: maybe-mostlyclean-sim
1863 mostlyclean-host: maybe-mostlyclean-texinfo
1864 mostlyclean-host: maybe-mostlyclean-zlib
1865 mostlyclean-host: maybe-mostlyclean-gdb
1866 mostlyclean-host: maybe-mostlyclean-expect
1867 mostlyclean-host: maybe-mostlyclean-guile
1868 mostlyclean-host: maybe-mostlyclean-tk
1869 mostlyclean-host: maybe-mostlyclean-libtermcap
1870 mostlyclean-host: maybe-mostlyclean-utils
1871 mostlyclean-host: maybe-mostlyclean-gnattools
1872 mostlyclean-host: maybe-mostlyclean-lto-plugin
1874 .PHONY: mostlyclean-target
1876 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1877 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1878 mostlyclean-target: maybe-mostlyclean-target-libssp
1879 mostlyclean-target: maybe-mostlyclean-target-newlib
1880 mostlyclean-target: maybe-mostlyclean-target-libgcc
1881 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1882 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1883 mostlyclean-target: maybe-mostlyclean-target-libobjc
1884 mostlyclean-target: maybe-mostlyclean-target-libgo
1885 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1886 mostlyclean-target: maybe-mostlyclean-target-winsup
1887 mostlyclean-target: maybe-mostlyclean-target-libgloss
1888 mostlyclean-target: maybe-mostlyclean-target-libffi
1889 mostlyclean-target: maybe-mostlyclean-target-libjava
1890 mostlyclean-target: maybe-mostlyclean-target-zlib
1891 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1892 mostlyclean-target: maybe-mostlyclean-target-rda
1893 mostlyclean-target: maybe-mostlyclean-target-libada
1894 mostlyclean-target: maybe-mostlyclean-target-libgomp
1895 mostlyclean-target: maybe-mostlyclean-target-libitm
1897 .PHONY: do-clean
1898 do-clean:
1899 @: $(MAKE); $(unstage)
1900 @r=`${PWD_COMMAND}`; export r; \
1901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1903 clean-target
1906 .PHONY: clean-host
1908 clean-host: maybe-clean-bfd
1909 clean-host: maybe-clean-opcodes
1910 clean-host: maybe-clean-binutils
1911 clean-host: maybe-clean-bison
1912 clean-host: maybe-clean-cgen
1913 clean-host: maybe-clean-dejagnu
1914 clean-host: maybe-clean-etc
1915 clean-host: maybe-clean-fastjar
1916 clean-host: maybe-clean-fixincludes
1917 clean-host: maybe-clean-flex
1918 clean-host: maybe-clean-gas
1919 clean-host: maybe-clean-gcc
1920 clean-host: maybe-clean-gmp
1921 clean-host: maybe-clean-mpfr
1922 clean-host: maybe-clean-mpc
1923 clean-host: maybe-clean-ppl
1924 clean-host: maybe-clean-cloog
1925 clean-host: maybe-clean-libelf
1926 clean-host: maybe-clean-gold
1927 clean-host: maybe-clean-gprof
1928 clean-host: maybe-clean-intl
1929 clean-host: maybe-clean-tcl
1930 clean-host: maybe-clean-itcl
1931 clean-host: maybe-clean-ld
1932 clean-host: maybe-clean-libcpp
1933 clean-host: maybe-clean-libdecnumber
1934 clean-host: maybe-clean-libgui
1935 clean-host: maybe-clean-libiberty
1936 clean-host: maybe-clean-libiconv
1937 clean-host: maybe-clean-m4
1938 clean-host: maybe-clean-readline
1939 clean-host: maybe-clean-sid
1940 clean-host: maybe-clean-sim
1941 clean-host: maybe-clean-texinfo
1942 clean-host: maybe-clean-zlib
1943 clean-host: maybe-clean-gdb
1944 clean-host: maybe-clean-expect
1945 clean-host: maybe-clean-guile
1946 clean-host: maybe-clean-tk
1947 clean-host: maybe-clean-libtermcap
1948 clean-host: maybe-clean-utils
1949 clean-host: maybe-clean-gnattools
1950 clean-host: maybe-clean-lto-plugin
1952 .PHONY: clean-target
1954 clean-target: maybe-clean-target-libstdc++-v3
1955 clean-target: maybe-clean-target-libmudflap
1956 clean-target: maybe-clean-target-libssp
1957 clean-target: maybe-clean-target-newlib
1958 clean-target: maybe-clean-target-libgcc
1959 clean-target: maybe-clean-target-libquadmath
1960 clean-target: maybe-clean-target-libgfortran
1961 clean-target: maybe-clean-target-libobjc
1962 clean-target: maybe-clean-target-libgo
1963 clean-target: maybe-clean-target-libtermcap
1964 clean-target: maybe-clean-target-winsup
1965 clean-target: maybe-clean-target-libgloss
1966 clean-target: maybe-clean-target-libffi
1967 clean-target: maybe-clean-target-libjava
1968 clean-target: maybe-clean-target-zlib
1969 clean-target: maybe-clean-target-boehm-gc
1970 clean-target: maybe-clean-target-rda
1971 clean-target: maybe-clean-target-libada
1972 clean-target: maybe-clean-target-libgomp
1973 clean-target: maybe-clean-target-libitm
1975 .PHONY: do-distclean
1976 do-distclean:
1977 @: $(MAKE); $(unstage)
1978 @r=`${PWD_COMMAND}`; export r; \
1979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1980 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1981 distclean-target
1984 .PHONY: distclean-host
1986 distclean-host: maybe-distclean-bfd
1987 distclean-host: maybe-distclean-opcodes
1988 distclean-host: maybe-distclean-binutils
1989 distclean-host: maybe-distclean-bison
1990 distclean-host: maybe-distclean-cgen
1991 distclean-host: maybe-distclean-dejagnu
1992 distclean-host: maybe-distclean-etc
1993 distclean-host: maybe-distclean-fastjar
1994 distclean-host: maybe-distclean-fixincludes
1995 distclean-host: maybe-distclean-flex
1996 distclean-host: maybe-distclean-gas
1997 distclean-host: maybe-distclean-gcc
1998 distclean-host: maybe-distclean-gmp
1999 distclean-host: maybe-distclean-mpfr
2000 distclean-host: maybe-distclean-mpc
2001 distclean-host: maybe-distclean-ppl
2002 distclean-host: maybe-distclean-cloog
2003 distclean-host: maybe-distclean-libelf
2004 distclean-host: maybe-distclean-gold
2005 distclean-host: maybe-distclean-gprof
2006 distclean-host: maybe-distclean-intl
2007 distclean-host: maybe-distclean-tcl
2008 distclean-host: maybe-distclean-itcl
2009 distclean-host: maybe-distclean-ld
2010 distclean-host: maybe-distclean-libcpp
2011 distclean-host: maybe-distclean-libdecnumber
2012 distclean-host: maybe-distclean-libgui
2013 distclean-host: maybe-distclean-libiberty
2014 distclean-host: maybe-distclean-libiconv
2015 distclean-host: maybe-distclean-m4
2016 distclean-host: maybe-distclean-readline
2017 distclean-host: maybe-distclean-sid
2018 distclean-host: maybe-distclean-sim
2019 distclean-host: maybe-distclean-texinfo
2020 distclean-host: maybe-distclean-zlib
2021 distclean-host: maybe-distclean-gdb
2022 distclean-host: maybe-distclean-expect
2023 distclean-host: maybe-distclean-guile
2024 distclean-host: maybe-distclean-tk
2025 distclean-host: maybe-distclean-libtermcap
2026 distclean-host: maybe-distclean-utils
2027 distclean-host: maybe-distclean-gnattools
2028 distclean-host: maybe-distclean-lto-plugin
2030 .PHONY: distclean-target
2032 distclean-target: maybe-distclean-target-libstdc++-v3
2033 distclean-target: maybe-distclean-target-libmudflap
2034 distclean-target: maybe-distclean-target-libssp
2035 distclean-target: maybe-distclean-target-newlib
2036 distclean-target: maybe-distclean-target-libgcc
2037 distclean-target: maybe-distclean-target-libquadmath
2038 distclean-target: maybe-distclean-target-libgfortran
2039 distclean-target: maybe-distclean-target-libobjc
2040 distclean-target: maybe-distclean-target-libgo
2041 distclean-target: maybe-distclean-target-libtermcap
2042 distclean-target: maybe-distclean-target-winsup
2043 distclean-target: maybe-distclean-target-libgloss
2044 distclean-target: maybe-distclean-target-libffi
2045 distclean-target: maybe-distclean-target-libjava
2046 distclean-target: maybe-distclean-target-zlib
2047 distclean-target: maybe-distclean-target-boehm-gc
2048 distclean-target: maybe-distclean-target-rda
2049 distclean-target: maybe-distclean-target-libada
2050 distclean-target: maybe-distclean-target-libgomp
2051 distclean-target: maybe-distclean-target-libitm
2053 .PHONY: do-maintainer-clean
2054 do-maintainer-clean:
2055 @: $(MAKE); $(unstage)
2056 @r=`${PWD_COMMAND}`; export r; \
2057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2058 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2059 maintainer-clean-target
2062 .PHONY: maintainer-clean-host
2064 maintainer-clean-host: maybe-maintainer-clean-bfd
2065 maintainer-clean-host: maybe-maintainer-clean-opcodes
2066 maintainer-clean-host: maybe-maintainer-clean-binutils
2067 maintainer-clean-host: maybe-maintainer-clean-bison
2068 maintainer-clean-host: maybe-maintainer-clean-cgen
2069 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2070 maintainer-clean-host: maybe-maintainer-clean-etc
2071 maintainer-clean-host: maybe-maintainer-clean-fastjar
2072 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2073 maintainer-clean-host: maybe-maintainer-clean-flex
2074 maintainer-clean-host: maybe-maintainer-clean-gas
2075 maintainer-clean-host: maybe-maintainer-clean-gcc
2076 maintainer-clean-host: maybe-maintainer-clean-gmp
2077 maintainer-clean-host: maybe-maintainer-clean-mpfr
2078 maintainer-clean-host: maybe-maintainer-clean-mpc
2079 maintainer-clean-host: maybe-maintainer-clean-ppl
2080 maintainer-clean-host: maybe-maintainer-clean-cloog
2081 maintainer-clean-host: maybe-maintainer-clean-libelf
2082 maintainer-clean-host: maybe-maintainer-clean-gold
2083 maintainer-clean-host: maybe-maintainer-clean-gprof
2084 maintainer-clean-host: maybe-maintainer-clean-intl
2085 maintainer-clean-host: maybe-maintainer-clean-tcl
2086 maintainer-clean-host: maybe-maintainer-clean-itcl
2087 maintainer-clean-host: maybe-maintainer-clean-ld
2088 maintainer-clean-host: maybe-maintainer-clean-libcpp
2089 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2090 maintainer-clean-host: maybe-maintainer-clean-libgui
2091 maintainer-clean-host: maybe-maintainer-clean-libiberty
2092 maintainer-clean-host: maybe-maintainer-clean-libiconv
2093 maintainer-clean-host: maybe-maintainer-clean-m4
2094 maintainer-clean-host: maybe-maintainer-clean-readline
2095 maintainer-clean-host: maybe-maintainer-clean-sid
2096 maintainer-clean-host: maybe-maintainer-clean-sim
2097 maintainer-clean-host: maybe-maintainer-clean-texinfo
2098 maintainer-clean-host: maybe-maintainer-clean-zlib
2099 maintainer-clean-host: maybe-maintainer-clean-gdb
2100 maintainer-clean-host: maybe-maintainer-clean-expect
2101 maintainer-clean-host: maybe-maintainer-clean-guile
2102 maintainer-clean-host: maybe-maintainer-clean-tk
2103 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2104 maintainer-clean-host: maybe-maintainer-clean-utils
2105 maintainer-clean-host: maybe-maintainer-clean-gnattools
2106 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2108 .PHONY: maintainer-clean-target
2110 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2111 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2112 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2113 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2114 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2115 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2116 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2117 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2118 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2119 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2120 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2121 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2122 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2123 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2124 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2125 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2126 maintainer-clean-target: maybe-maintainer-clean-target-rda
2127 maintainer-clean-target: maybe-maintainer-clean-target-libada
2128 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2129 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2132 # Here are the targets which correspond to the do-X targets.
2134 .PHONY: info installcheck dvi pdf html
2135 .PHONY: install-info install-pdf install-html
2136 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2137 .PHONY: local-clean local-distclean local-maintainer-clean
2138 info: do-info
2139 installcheck: do-installcheck
2140 dvi: do-dvi
2141 pdf: do-pdf
2142 html: do-html
2144 # Make sure makeinfo is built before we do a `make info', if we're
2145 # in fact building texinfo.
2146 do-info: maybe-all-texinfo
2148 install-info: do-install-info dir.info
2149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2150 if [ -f dir.info ] ; then \
2151 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2152 else true ; fi
2154 install-pdf: do-install-pdf
2156 install-html: do-install-html
2158 local-clean:
2159 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2161 local-distclean:
2162 -rm -f Makefile config.status config.cache mh-frag mt-frag
2163 -rm -f maybedep.tmp serdep.tmp
2164 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2165 rm -rf $(TARGET_SUBDIR); \
2166 else true; fi
2167 -rm -rf $(BUILD_SUBDIR)
2168 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2169 rm -rf $(HOST_SUBDIR); \
2170 else true; fi
2171 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2172 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2173 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2174 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2175 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2176 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2178 local-maintainer-clean:
2179 @echo "This command is intended for maintainers to use;"
2180 @echo "it deletes files that may require special tools to rebuild."
2182 clean: do-clean local-clean
2183 mostlyclean: do-mostlyclean local-clean
2184 distclean: do-distclean local-clean local-distclean
2185 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2186 maintainer-clean: local-distclean
2187 realclean: maintainer-clean
2189 # Check target.
2191 .PHONY: check do-check
2192 check: do-check
2194 # Only include modules actually being configured and built.
2195 .PHONY: check-host
2196 check-host: \
2197 maybe-check-bfd \
2198 maybe-check-opcodes \
2199 maybe-check-binutils \
2200 maybe-check-bison \
2201 maybe-check-cgen \
2202 maybe-check-dejagnu \
2203 maybe-check-etc \
2204 maybe-check-fastjar \
2205 maybe-check-fixincludes \
2206 maybe-check-flex \
2207 maybe-check-gas \
2208 maybe-check-gcc \
2209 maybe-check-gmp \
2210 maybe-check-mpfr \
2211 maybe-check-mpc \
2212 maybe-check-ppl \
2213 maybe-check-cloog \
2214 maybe-check-libelf \
2215 maybe-check-gold \
2216 maybe-check-gprof \
2217 maybe-check-intl \
2218 maybe-check-tcl \
2219 maybe-check-itcl \
2220 maybe-check-ld \
2221 maybe-check-libcpp \
2222 maybe-check-libdecnumber \
2223 maybe-check-libgui \
2224 maybe-check-libiberty \
2225 maybe-check-libiconv \
2226 maybe-check-m4 \
2227 maybe-check-readline \
2228 maybe-check-sid \
2229 maybe-check-sim \
2230 maybe-check-texinfo \
2231 maybe-check-zlib \
2232 maybe-check-gdb \
2233 maybe-check-expect \
2234 maybe-check-guile \
2235 maybe-check-tk \
2236 maybe-check-libtermcap \
2237 maybe-check-utils \
2238 maybe-check-gnattools \
2239 maybe-check-lto-plugin
2241 .PHONY: check-target
2242 check-target: \
2243 maybe-check-target-libstdc++-v3 \
2244 maybe-check-target-libmudflap \
2245 maybe-check-target-libssp \
2246 maybe-check-target-newlib \
2247 maybe-check-target-libgcc \
2248 maybe-check-target-libquadmath \
2249 maybe-check-target-libgfortran \
2250 maybe-check-target-libobjc \
2251 maybe-check-target-libgo \
2252 maybe-check-target-libtermcap \
2253 maybe-check-target-winsup \
2254 maybe-check-target-libgloss \
2255 maybe-check-target-libffi \
2256 maybe-check-target-libjava \
2257 maybe-check-target-zlib \
2258 maybe-check-target-boehm-gc \
2259 maybe-check-target-rda \
2260 maybe-check-target-libada \
2261 maybe-check-target-libgomp \
2262 maybe-check-target-libitm
2264 do-check:
2265 @: $(MAKE); $(unstage)
2266 @r=`${PWD_COMMAND}`; export r; \
2267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2268 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2270 # Automated reporting of test results.
2272 warning.log: build.log
2273 $(srcdir)/contrib/warn_summary build.log > $@
2275 mail-report.log:
2276 if test x'$(BOOT_CFLAGS)' != x''; then \
2277 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2278 fi; \
2279 $(srcdir)/contrib/test_summary -t >$@
2280 chmod +x $@
2281 echo If you really want to send e-mail, run ./$@ now
2283 mail-report-with-warnings.log: warning.log
2284 if test x'$(BOOT_CFLAGS)' != x''; then \
2285 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2286 fi; \
2287 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2288 chmod +x $@
2289 echo If you really want to send e-mail, run ./$@ now
2291 # Installation targets.
2293 .PHONY: install uninstall
2294 install:
2295 @: $(MAKE); $(unstage)
2296 @r=`${PWD_COMMAND}`; export r; \
2297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2300 .PHONY: install-host-nogcc
2301 install-host-nogcc: \
2302 maybe-install-bfd \
2303 maybe-install-opcodes \
2304 maybe-install-binutils \
2305 maybe-install-bison \
2306 maybe-install-cgen \
2307 maybe-install-dejagnu \
2308 maybe-install-etc \
2309 maybe-install-fastjar \
2310 maybe-install-fixincludes \
2311 maybe-install-flex \
2312 maybe-install-gas \
2313 maybe-install-gmp \
2314 maybe-install-mpfr \
2315 maybe-install-mpc \
2316 maybe-install-ppl \
2317 maybe-install-cloog \
2318 maybe-install-libelf \
2319 maybe-install-gold \
2320 maybe-install-gprof \
2321 maybe-install-intl \
2322 maybe-install-tcl \
2323 maybe-install-itcl \
2324 maybe-install-ld \
2325 maybe-install-libcpp \
2326 maybe-install-libdecnumber \
2327 maybe-install-libgui \
2328 maybe-install-libiberty \
2329 maybe-install-libiconv \
2330 maybe-install-m4 \
2331 maybe-install-readline \
2332 maybe-install-sid \
2333 maybe-install-sim \
2334 maybe-install-texinfo \
2335 maybe-install-zlib \
2336 maybe-install-gdb \
2337 maybe-install-expect \
2338 maybe-install-guile \
2339 maybe-install-tk \
2340 maybe-install-libtermcap \
2341 maybe-install-utils \
2342 maybe-install-gnattools \
2343 maybe-install-lto-plugin
2345 .PHONY: install-host
2346 install-host: \
2347 maybe-install-bfd \
2348 maybe-install-opcodes \
2349 maybe-install-binutils \
2350 maybe-install-bison \
2351 maybe-install-cgen \
2352 maybe-install-dejagnu \
2353 maybe-install-etc \
2354 maybe-install-fastjar \
2355 maybe-install-fixincludes \
2356 maybe-install-flex \
2357 maybe-install-gas \
2358 maybe-install-gcc \
2359 maybe-install-gmp \
2360 maybe-install-mpfr \
2361 maybe-install-mpc \
2362 maybe-install-ppl \
2363 maybe-install-cloog \
2364 maybe-install-libelf \
2365 maybe-install-gold \
2366 maybe-install-gprof \
2367 maybe-install-intl \
2368 maybe-install-tcl \
2369 maybe-install-itcl \
2370 maybe-install-ld \
2371 maybe-install-libcpp \
2372 maybe-install-libdecnumber \
2373 maybe-install-libgui \
2374 maybe-install-libiberty \
2375 maybe-install-libiconv \
2376 maybe-install-m4 \
2377 maybe-install-readline \
2378 maybe-install-sid \
2379 maybe-install-sim \
2380 maybe-install-texinfo \
2381 maybe-install-zlib \
2382 maybe-install-gdb \
2383 maybe-install-expect \
2384 maybe-install-guile \
2385 maybe-install-tk \
2386 maybe-install-libtermcap \
2387 maybe-install-utils \
2388 maybe-install-gnattools \
2389 maybe-install-lto-plugin
2391 .PHONY: install-target
2392 install-target: \
2393 maybe-install-target-libstdc++-v3 \
2394 maybe-install-target-libmudflap \
2395 maybe-install-target-libssp \
2396 maybe-install-target-newlib \
2397 maybe-install-target-libgcc \
2398 maybe-install-target-libquadmath \
2399 maybe-install-target-libgfortran \
2400 maybe-install-target-libobjc \
2401 maybe-install-target-libgo \
2402 maybe-install-target-libtermcap \
2403 maybe-install-target-winsup \
2404 maybe-install-target-libgloss \
2405 maybe-install-target-libffi \
2406 maybe-install-target-libjava \
2407 maybe-install-target-zlib \
2408 maybe-install-target-boehm-gc \
2409 maybe-install-target-rda \
2410 maybe-install-target-libada \
2411 maybe-install-target-libgomp \
2412 maybe-install-target-libitm
2414 uninstall:
2415 @echo "the uninstall target is not supported in this tree"
2417 .PHONY: install.all
2418 install.all: install-no-fixedincludes
2419 @if [ -f ./gcc/Makefile ] ; then \
2420 r=`${PWD_COMMAND}` ; export r ; \
2421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 $(HOST_EXPORTS) \
2423 (cd ./gcc && \
2424 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2425 else \
2426 true ; \
2429 # install-no-fixedincludes is used because Cygnus can not distribute
2430 # the fixed header files.
2431 .PHONY: install-no-fixedincludes
2432 install-no-fixedincludes: installdirs install-host-nogcc \
2433 install-target gcc-no-fixedincludes
2435 .PHONY: install-strip
2436 install-strip:
2437 @: $(MAKE); $(unstage)
2438 @r=`${PWD_COMMAND}`; export r; \
2439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2440 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2442 .PHONY: install-strip-host
2443 install-strip-host: \
2444 maybe-install-strip-bfd \
2445 maybe-install-strip-opcodes \
2446 maybe-install-strip-binutils \
2447 maybe-install-strip-bison \
2448 maybe-install-strip-cgen \
2449 maybe-install-strip-dejagnu \
2450 maybe-install-strip-etc \
2451 maybe-install-strip-fastjar \
2452 maybe-install-strip-fixincludes \
2453 maybe-install-strip-flex \
2454 maybe-install-strip-gas \
2455 maybe-install-strip-gcc \
2456 maybe-install-strip-gmp \
2457 maybe-install-strip-mpfr \
2458 maybe-install-strip-mpc \
2459 maybe-install-strip-ppl \
2460 maybe-install-strip-cloog \
2461 maybe-install-strip-libelf \
2462 maybe-install-strip-gold \
2463 maybe-install-strip-gprof \
2464 maybe-install-strip-intl \
2465 maybe-install-strip-tcl \
2466 maybe-install-strip-itcl \
2467 maybe-install-strip-ld \
2468 maybe-install-strip-libcpp \
2469 maybe-install-strip-libdecnumber \
2470 maybe-install-strip-libgui \
2471 maybe-install-strip-libiberty \
2472 maybe-install-strip-libiconv \
2473 maybe-install-strip-m4 \
2474 maybe-install-strip-readline \
2475 maybe-install-strip-sid \
2476 maybe-install-strip-sim \
2477 maybe-install-strip-texinfo \
2478 maybe-install-strip-zlib \
2479 maybe-install-strip-gdb \
2480 maybe-install-strip-expect \
2481 maybe-install-strip-guile \
2482 maybe-install-strip-tk \
2483 maybe-install-strip-libtermcap \
2484 maybe-install-strip-utils \
2485 maybe-install-strip-gnattools \
2486 maybe-install-strip-lto-plugin
2488 .PHONY: install-strip-target
2489 install-strip-target: \
2490 maybe-install-strip-target-libstdc++-v3 \
2491 maybe-install-strip-target-libmudflap \
2492 maybe-install-strip-target-libssp \
2493 maybe-install-strip-target-newlib \
2494 maybe-install-strip-target-libgcc \
2495 maybe-install-strip-target-libquadmath \
2496 maybe-install-strip-target-libgfortran \
2497 maybe-install-strip-target-libobjc \
2498 maybe-install-strip-target-libgo \
2499 maybe-install-strip-target-libtermcap \
2500 maybe-install-strip-target-winsup \
2501 maybe-install-strip-target-libgloss \
2502 maybe-install-strip-target-libffi \
2503 maybe-install-strip-target-libjava \
2504 maybe-install-strip-target-zlib \
2505 maybe-install-strip-target-boehm-gc \
2506 maybe-install-strip-target-rda \
2507 maybe-install-strip-target-libada \
2508 maybe-install-strip-target-libgomp \
2509 maybe-install-strip-target-libitm
2512 ### other supporting targets
2514 MAKEDIRS= \
2515 $(DESTDIR)$(prefix) \
2516 $(DESTDIR)$(exec_prefix)
2517 .PHONY: installdirs
2518 installdirs: mkinstalldirs
2519 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2521 dir.info: do-install-info
2522 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2523 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2524 mv -f dir.info.new dir.info ; \
2525 else true ; \
2528 dist:
2529 @echo "Building a full distribution of this tree isn't done"
2530 @echo "via 'make dist'. Check out the etc/ subdirectory"
2532 etags tags: TAGS
2534 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2535 # ability to use several tags files at once, so there is probably no need
2536 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2537 # (if we felt like it) have this Makefile write a piece of elisp which
2538 # the user could load to tell emacs19 where all the TAGS files we just
2539 # built are.
2540 TAGS: do-TAGS
2542 # ------------------------------------
2543 # Macros for configure and all targets
2544 # ------------------------------------
2550 # --------------------------------------
2551 # Modules which run on the build machine
2552 # --------------------------------------
2555 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2556 maybe-configure-build-libiberty:
2557 @if gcc-bootstrap
2558 configure-build-libiberty: stage_current
2559 @endif gcc-bootstrap
2560 @if build-libiberty
2561 maybe-configure-build-libiberty: configure-build-libiberty
2562 configure-build-libiberty:
2563 @: $(MAKE); $(unstage)
2564 @r=`${PWD_COMMAND}`; export r; \
2565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2567 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2568 $(BUILD_EXPORTS) \
2569 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2570 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2571 case $(srcdir) in \
2572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2573 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2575 esac; \
2576 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2577 libsrcdir="$$s/libiberty"; \
2578 rm -f no-such-file || : ; \
2579 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2580 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2581 --target=${target_alias} $${srcdiroption} \
2582 || exit 1
2583 @endif build-libiberty
2589 .PHONY: all-build-libiberty maybe-all-build-libiberty
2590 maybe-all-build-libiberty:
2591 @if gcc-bootstrap
2592 all-build-libiberty: stage_current
2593 @endif gcc-bootstrap
2594 @if build-libiberty
2595 TARGET-build-libiberty=all
2596 maybe-all-build-libiberty: all-build-libiberty
2597 all-build-libiberty: configure-build-libiberty
2598 @: $(MAKE); $(unstage)
2599 @r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601 $(BUILD_EXPORTS) \
2602 (cd $(BUILD_SUBDIR)/libiberty && \
2603 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2604 $(TARGET-build-libiberty))
2605 @endif build-libiberty
2611 .PHONY: configure-build-bison maybe-configure-build-bison
2612 maybe-configure-build-bison:
2613 @if gcc-bootstrap
2614 configure-build-bison: stage_current
2615 @endif gcc-bootstrap
2616 @if build-bison
2617 maybe-configure-build-bison: configure-build-bison
2618 configure-build-bison:
2619 @: $(MAKE); $(unstage)
2620 @r=`${PWD_COMMAND}`; export r; \
2621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2622 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2623 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2624 $(BUILD_EXPORTS) \
2625 echo Configuring in $(BUILD_SUBDIR)/bison; \
2626 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2627 case $(srcdir) in \
2628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2629 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2631 esac; \
2632 srcdiroption="--srcdir=$${topdir}/bison"; \
2633 libsrcdir="$$s/bison"; \
2634 rm -f no-such-file || : ; \
2635 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2636 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2637 --target=${target_alias} $${srcdiroption} \
2638 || exit 1
2639 @endif build-bison
2645 .PHONY: all-build-bison maybe-all-build-bison
2646 maybe-all-build-bison:
2647 @if gcc-bootstrap
2648 all-build-bison: stage_current
2649 @endif gcc-bootstrap
2650 @if build-bison
2651 TARGET-build-bison=all
2652 maybe-all-build-bison: all-build-bison
2653 all-build-bison: configure-build-bison
2654 @: $(MAKE); $(unstage)
2655 @r=`${PWD_COMMAND}`; export r; \
2656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2657 $(BUILD_EXPORTS) \
2658 (cd $(BUILD_SUBDIR)/bison && \
2659 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2660 $(TARGET-build-bison))
2661 @endif build-bison
2667 .PHONY: configure-build-flex maybe-configure-build-flex
2668 maybe-configure-build-flex:
2669 @if gcc-bootstrap
2670 configure-build-flex: stage_current
2671 @endif gcc-bootstrap
2672 @if build-flex
2673 maybe-configure-build-flex: configure-build-flex
2674 configure-build-flex:
2675 @: $(MAKE); $(unstage)
2676 @r=`${PWD_COMMAND}`; export r; \
2677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2678 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2679 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2680 $(BUILD_EXPORTS) \
2681 echo Configuring in $(BUILD_SUBDIR)/flex; \
2682 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2683 case $(srcdir) in \
2684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2685 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2687 esac; \
2688 srcdiroption="--srcdir=$${topdir}/flex"; \
2689 libsrcdir="$$s/flex"; \
2690 rm -f no-such-file || : ; \
2691 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2692 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2693 --target=${target_alias} $${srcdiroption} \
2694 || exit 1
2695 @endif build-flex
2701 .PHONY: all-build-flex maybe-all-build-flex
2702 maybe-all-build-flex:
2703 @if gcc-bootstrap
2704 all-build-flex: stage_current
2705 @endif gcc-bootstrap
2706 @if build-flex
2707 TARGET-build-flex=all
2708 maybe-all-build-flex: all-build-flex
2709 all-build-flex: configure-build-flex
2710 @: $(MAKE); $(unstage)
2711 @r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2713 $(BUILD_EXPORTS) \
2714 (cd $(BUILD_SUBDIR)/flex && \
2715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2716 $(TARGET-build-flex))
2717 @endif build-flex
2723 .PHONY: configure-build-m4 maybe-configure-build-m4
2724 maybe-configure-build-m4:
2725 @if gcc-bootstrap
2726 configure-build-m4: stage_current
2727 @endif gcc-bootstrap
2728 @if build-m4
2729 maybe-configure-build-m4: configure-build-m4
2730 configure-build-m4:
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2735 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2736 $(BUILD_EXPORTS) \
2737 echo Configuring in $(BUILD_SUBDIR)/m4; \
2738 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2739 case $(srcdir) in \
2740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2741 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2743 esac; \
2744 srcdiroption="--srcdir=$${topdir}/m4"; \
2745 libsrcdir="$$s/m4"; \
2746 rm -f no-such-file || : ; \
2747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2748 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2749 --target=${target_alias} $${srcdiroption} \
2750 || exit 1
2751 @endif build-m4
2757 .PHONY: all-build-m4 maybe-all-build-m4
2758 maybe-all-build-m4:
2759 @if gcc-bootstrap
2760 all-build-m4: stage_current
2761 @endif gcc-bootstrap
2762 @if build-m4
2763 TARGET-build-m4=all
2764 maybe-all-build-m4: all-build-m4
2765 all-build-m4: configure-build-m4
2766 @: $(MAKE); $(unstage)
2767 @r=`${PWD_COMMAND}`; export r; \
2768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769 $(BUILD_EXPORTS) \
2770 (cd $(BUILD_SUBDIR)/m4 && \
2771 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2772 $(TARGET-build-m4))
2773 @endif build-m4
2779 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2780 maybe-configure-build-texinfo:
2781 @if gcc-bootstrap
2782 configure-build-texinfo: stage_current
2783 @endif gcc-bootstrap
2784 @if build-texinfo
2785 maybe-configure-build-texinfo: configure-build-texinfo
2786 configure-build-texinfo:
2787 @: $(MAKE); $(unstage)
2788 @r=`${PWD_COMMAND}`; export r; \
2789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2790 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2791 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2792 $(BUILD_EXPORTS) \
2793 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2794 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2795 case $(srcdir) in \
2796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2797 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2799 esac; \
2800 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2801 libsrcdir="$$s/texinfo"; \
2802 rm -f no-such-file || : ; \
2803 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2804 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2805 --target=${target_alias} $${srcdiroption} \
2806 || exit 1
2807 @endif build-texinfo
2813 .PHONY: all-build-texinfo maybe-all-build-texinfo
2814 maybe-all-build-texinfo:
2815 @if gcc-bootstrap
2816 all-build-texinfo: stage_current
2817 @endif gcc-bootstrap
2818 @if build-texinfo
2819 TARGET-build-texinfo=all
2820 maybe-all-build-texinfo: all-build-texinfo
2821 all-build-texinfo: configure-build-texinfo
2822 @: $(MAKE); $(unstage)
2823 @r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2825 $(BUILD_EXPORTS) \
2826 (cd $(BUILD_SUBDIR)/texinfo && \
2827 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2828 $(TARGET-build-texinfo))
2829 @endif build-texinfo
2835 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2836 maybe-configure-build-fixincludes:
2837 @if gcc-bootstrap
2838 configure-build-fixincludes: stage_current
2839 @endif gcc-bootstrap
2840 @if build-fixincludes
2841 maybe-configure-build-fixincludes: configure-build-fixincludes
2842 configure-build-fixincludes:
2843 @: $(MAKE); $(unstage)
2844 @r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2847 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2848 $(BUILD_EXPORTS) \
2849 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2850 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2851 case $(srcdir) in \
2852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2853 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2855 esac; \
2856 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2857 libsrcdir="$$s/fixincludes"; \
2858 rm -f no-such-file || : ; \
2859 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2860 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2861 --target=${target_alias} $${srcdiroption} \
2862 || exit 1
2863 @endif build-fixincludes
2869 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2870 maybe-all-build-fixincludes:
2871 @if gcc-bootstrap
2872 all-build-fixincludes: stage_current
2873 @endif gcc-bootstrap
2874 @if build-fixincludes
2875 TARGET-build-fixincludes=all
2876 maybe-all-build-fixincludes: all-build-fixincludes
2877 all-build-fixincludes: configure-build-fixincludes
2878 @: $(MAKE); $(unstage)
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(BUILD_EXPORTS) \
2882 (cd $(BUILD_SUBDIR)/fixincludes && \
2883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2884 $(TARGET-build-fixincludes))
2885 @endif build-fixincludes
2891 # --------------------------------------
2892 # Modules which run on the host machine
2893 # --------------------------------------
2896 .PHONY: configure-bfd maybe-configure-bfd
2897 maybe-configure-bfd:
2898 @if gcc-bootstrap
2899 configure-bfd: stage_current
2900 @endif gcc-bootstrap
2901 @if bfd
2902 maybe-configure-bfd: configure-bfd
2903 configure-bfd:
2904 @r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2906 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2908 $(HOST_EXPORTS) \
2909 echo Configuring in $(HOST_SUBDIR)/bfd; \
2910 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2911 case $(srcdir) in \
2912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2913 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2915 esac; \
2916 srcdiroption="--srcdir=$${topdir}/bfd"; \
2917 libsrcdir="$$s/bfd"; \
2918 $(SHELL) $${libsrcdir}/configure \
2919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2920 --target=${target_alias} $${srcdiroption} \
2921 || exit 1
2922 @endif bfd
2926 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2927 maybe-configure-stage1-bfd:
2928 @if bfd-bootstrap
2929 maybe-configure-stage1-bfd: configure-stage1-bfd
2930 configure-stage1-bfd:
2931 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2933 @r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 TFLAGS="$(STAGE1_TFLAGS)"; \
2936 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2937 $(HOST_EXPORTS) \
2938 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2939 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2940 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2941 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2943 cd $(HOST_SUBDIR)/bfd || exit 1; \
2944 case $(srcdir) in \
2945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2946 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2948 esac; \
2949 srcdiroption="--srcdir=$${topdir}/bfd"; \
2950 libsrcdir="$$s/bfd"; \
2951 $(SHELL) $${libsrcdir}/configure \
2952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2953 --target=${target_alias} $${srcdiroption} \
2954 $(STAGE1_CONFIGURE_FLAGS)
2955 @endif bfd-bootstrap
2957 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2958 maybe-configure-stage2-bfd:
2959 @if bfd-bootstrap
2960 maybe-configure-stage2-bfd: configure-stage2-bfd
2961 configure-stage2-bfd:
2962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2964 @r=`${PWD_COMMAND}`; export r; \
2965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2966 TFLAGS="$(STAGE2_TFLAGS)"; \
2967 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2968 $(HOST_EXPORTS) \
2969 $(POSTSTAGE1_HOST_EXPORTS) \
2970 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2971 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2972 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2973 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2975 cd $(HOST_SUBDIR)/bfd || exit 1; \
2976 case $(srcdir) in \
2977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2978 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2980 esac; \
2981 srcdiroption="--srcdir=$${topdir}/bfd"; \
2982 libsrcdir="$$s/bfd"; \
2983 $(SHELL) $${libsrcdir}/configure \
2984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2985 --target=${target_alias} $${srcdiroption} \
2986 --with-build-libsubdir=$(HOST_SUBDIR) \
2987 $(STAGE2_CONFIGURE_FLAGS)
2988 @endif bfd-bootstrap
2990 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2991 maybe-configure-stage3-bfd:
2992 @if bfd-bootstrap
2993 maybe-configure-stage3-bfd: configure-stage3-bfd
2994 configure-stage3-bfd:
2995 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2997 @r=`${PWD_COMMAND}`; export r; \
2998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2999 TFLAGS="$(STAGE3_TFLAGS)"; \
3000 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3001 $(HOST_EXPORTS) \
3002 $(POSTSTAGE1_HOST_EXPORTS) \
3003 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3004 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3005 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3006 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3008 cd $(HOST_SUBDIR)/bfd || exit 1; \
3009 case $(srcdir) in \
3010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3011 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3013 esac; \
3014 srcdiroption="--srcdir=$${topdir}/bfd"; \
3015 libsrcdir="$$s/bfd"; \
3016 $(SHELL) $${libsrcdir}/configure \
3017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3018 --target=${target_alias} $${srcdiroption} \
3019 --with-build-libsubdir=$(HOST_SUBDIR) \
3020 $(STAGE3_CONFIGURE_FLAGS)
3021 @endif bfd-bootstrap
3023 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3024 maybe-configure-stage4-bfd:
3025 @if bfd-bootstrap
3026 maybe-configure-stage4-bfd: configure-stage4-bfd
3027 configure-stage4-bfd:
3028 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3030 @r=`${PWD_COMMAND}`; export r; \
3031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3032 TFLAGS="$(STAGE4_TFLAGS)"; \
3033 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3034 $(HOST_EXPORTS) \
3035 $(POSTSTAGE1_HOST_EXPORTS) \
3036 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3037 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3038 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3039 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3041 cd $(HOST_SUBDIR)/bfd || exit 1; \
3042 case $(srcdir) in \
3043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3044 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3046 esac; \
3047 srcdiroption="--srcdir=$${topdir}/bfd"; \
3048 libsrcdir="$$s/bfd"; \
3049 $(SHELL) $${libsrcdir}/configure \
3050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3051 --target=${target_alias} $${srcdiroption} \
3052 --with-build-libsubdir=$(HOST_SUBDIR) \
3053 $(STAGE4_CONFIGURE_FLAGS)
3054 @endif bfd-bootstrap
3056 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3057 maybe-configure-stageprofile-bfd:
3058 @if bfd-bootstrap
3059 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3060 configure-stageprofile-bfd:
3061 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3063 @r=`${PWD_COMMAND}`; export r; \
3064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3065 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3066 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3067 $(HOST_EXPORTS) \
3068 $(POSTSTAGE1_HOST_EXPORTS) \
3069 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3070 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3071 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3072 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3074 cd $(HOST_SUBDIR)/bfd || exit 1; \
3075 case $(srcdir) in \
3076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3077 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3079 esac; \
3080 srcdiroption="--srcdir=$${topdir}/bfd"; \
3081 libsrcdir="$$s/bfd"; \
3082 $(SHELL) $${libsrcdir}/configure \
3083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3084 --target=${target_alias} $${srcdiroption} \
3085 --with-build-libsubdir=$(HOST_SUBDIR) \
3086 $(STAGEprofile_CONFIGURE_FLAGS)
3087 @endif bfd-bootstrap
3089 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3090 maybe-configure-stagefeedback-bfd:
3091 @if bfd-bootstrap
3092 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3093 configure-stagefeedback-bfd:
3094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3096 @r=`${PWD_COMMAND}`; export r; \
3097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3098 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3099 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3100 $(HOST_EXPORTS) \
3101 $(POSTSTAGE1_HOST_EXPORTS) \
3102 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3105 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3107 cd $(HOST_SUBDIR)/bfd || exit 1; \
3108 case $(srcdir) in \
3109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3110 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3112 esac; \
3113 srcdiroption="--srcdir=$${topdir}/bfd"; \
3114 libsrcdir="$$s/bfd"; \
3115 $(SHELL) $${libsrcdir}/configure \
3116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3117 --target=${target_alias} $${srcdiroption} \
3118 --with-build-libsubdir=$(HOST_SUBDIR) \
3119 $(STAGEfeedback_CONFIGURE_FLAGS)
3120 @endif bfd-bootstrap
3126 .PHONY: all-bfd maybe-all-bfd
3127 maybe-all-bfd:
3128 @if gcc-bootstrap
3129 all-bfd: stage_current
3130 @endif gcc-bootstrap
3131 @if bfd
3132 TARGET-bfd=all
3133 maybe-all-bfd: all-bfd
3134 all-bfd: configure-bfd
3135 @r=`${PWD_COMMAND}`; export r; \
3136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3137 $(HOST_EXPORTS) \
3138 (cd $(HOST_SUBDIR)/bfd && \
3139 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3140 $(TARGET-bfd))
3141 @endif bfd
3145 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3146 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3147 maybe-all-stage1-bfd:
3148 maybe-clean-stage1-bfd:
3149 @if bfd-bootstrap
3150 maybe-all-stage1-bfd: all-stage1-bfd
3151 all-stage1: all-stage1-bfd
3152 TARGET-stage1-bfd = $(TARGET-bfd)
3153 all-stage1-bfd: configure-stage1-bfd
3154 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3155 @r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 TFLAGS="$(STAGE1_TFLAGS)"; \
3158 $(HOST_EXPORTS) \
3159 cd $(HOST_SUBDIR)/bfd && \
3160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3161 CFLAGS="$(STAGE1_CFLAGS)" \
3162 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3163 LIBCFLAGS="$(LIBCFLAGS)" \
3164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3167 $(EXTRA_HOST_FLAGS) \
3168 TFLAGS="$(STAGE1_TFLAGS)" \
3169 $(TARGET-stage1-bfd)
3171 maybe-clean-stage1-bfd: clean-stage1-bfd
3172 clean-stage1: clean-stage1-bfd
3173 clean-stage1-bfd:
3174 @if [ $(current_stage) = stage1 ]; then \
3175 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3176 else \
3177 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3178 $(MAKE) stage1-start; \
3179 fi; \
3180 cd $(HOST_SUBDIR)/bfd && \
3181 $(MAKE) $(EXTRA_HOST_FLAGS) \
3182 clean
3183 @endif bfd-bootstrap
3186 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3187 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3188 maybe-all-stage2-bfd:
3189 maybe-clean-stage2-bfd:
3190 @if bfd-bootstrap
3191 maybe-all-stage2-bfd: all-stage2-bfd
3192 all-stage2: all-stage2-bfd
3193 TARGET-stage2-bfd = $(TARGET-bfd)
3194 all-stage2-bfd: configure-stage2-bfd
3195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3196 @r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3198 TFLAGS="$(STAGE2_TFLAGS)"; \
3199 $(HOST_EXPORTS) \
3200 $(POSTSTAGE1_HOST_EXPORTS) \
3201 cd $(HOST_SUBDIR)/bfd && \
3202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3203 CFLAGS="$(STAGE2_CFLAGS)" \
3204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3210 TFLAGS="$(STAGE2_TFLAGS)" \
3211 $(TARGET-stage2-bfd)
3213 maybe-clean-stage2-bfd: clean-stage2-bfd
3214 clean-stage2: clean-stage2-bfd
3215 clean-stage2-bfd:
3216 @if [ $(current_stage) = stage2 ]; then \
3217 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3218 else \
3219 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3220 $(MAKE) stage2-start; \
3221 fi; \
3222 cd $(HOST_SUBDIR)/bfd && \
3223 $(MAKE) $(EXTRA_HOST_FLAGS) \
3224 $(POSTSTAGE1_FLAGS_TO_PASS) \
3225 clean
3226 @endif bfd-bootstrap
3229 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3230 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3231 maybe-all-stage3-bfd:
3232 maybe-clean-stage3-bfd:
3233 @if bfd-bootstrap
3234 maybe-all-stage3-bfd: all-stage3-bfd
3235 all-stage3: all-stage3-bfd
3236 TARGET-stage3-bfd = $(TARGET-bfd)
3237 all-stage3-bfd: configure-stage3-bfd
3238 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3239 @r=`${PWD_COMMAND}`; export r; \
3240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3241 TFLAGS="$(STAGE3_TFLAGS)"; \
3242 $(HOST_EXPORTS) \
3243 $(POSTSTAGE1_HOST_EXPORTS) \
3244 cd $(HOST_SUBDIR)/bfd && \
3245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3246 CFLAGS="$(STAGE3_CFLAGS)" \
3247 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3248 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3253 TFLAGS="$(STAGE3_TFLAGS)" \
3254 $(TARGET-stage3-bfd)
3256 maybe-clean-stage3-bfd: clean-stage3-bfd
3257 clean-stage3: clean-stage3-bfd
3258 clean-stage3-bfd:
3259 @if [ $(current_stage) = stage3 ]; then \
3260 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3261 else \
3262 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3263 $(MAKE) stage3-start; \
3264 fi; \
3265 cd $(HOST_SUBDIR)/bfd && \
3266 $(MAKE) $(EXTRA_HOST_FLAGS) \
3267 $(POSTSTAGE1_FLAGS_TO_PASS) \
3268 clean
3269 @endif bfd-bootstrap
3272 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3273 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3274 maybe-all-stage4-bfd:
3275 maybe-clean-stage4-bfd:
3276 @if bfd-bootstrap
3277 maybe-all-stage4-bfd: all-stage4-bfd
3278 all-stage4: all-stage4-bfd
3279 TARGET-stage4-bfd = $(TARGET-bfd)
3280 all-stage4-bfd: configure-stage4-bfd
3281 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3282 @r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 TFLAGS="$(STAGE4_TFLAGS)"; \
3285 $(HOST_EXPORTS) \
3286 $(POSTSTAGE1_HOST_EXPORTS) \
3287 cd $(HOST_SUBDIR)/bfd && \
3288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3289 CFLAGS="$(STAGE4_CFLAGS)" \
3290 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3291 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3295 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3296 TFLAGS="$(STAGE4_TFLAGS)" \
3297 $(TARGET-stage4-bfd)
3299 maybe-clean-stage4-bfd: clean-stage4-bfd
3300 clean-stage4: clean-stage4-bfd
3301 clean-stage4-bfd:
3302 @if [ $(current_stage) = stage4 ]; then \
3303 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3304 else \
3305 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3306 $(MAKE) stage4-start; \
3307 fi; \
3308 cd $(HOST_SUBDIR)/bfd && \
3309 $(MAKE) $(EXTRA_HOST_FLAGS) \
3310 $(POSTSTAGE1_FLAGS_TO_PASS) \
3311 clean
3312 @endif bfd-bootstrap
3315 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3316 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3317 maybe-all-stageprofile-bfd:
3318 maybe-clean-stageprofile-bfd:
3319 @if bfd-bootstrap
3320 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3321 all-stageprofile: all-stageprofile-bfd
3322 TARGET-stageprofile-bfd = $(TARGET-bfd)
3323 all-stageprofile-bfd: configure-stageprofile-bfd
3324 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3325 @r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3328 $(HOST_EXPORTS) \
3329 $(POSTSTAGE1_HOST_EXPORTS) \
3330 cd $(HOST_SUBDIR)/bfd && \
3331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3332 CFLAGS="$(STAGEprofile_CFLAGS)" \
3333 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3334 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3339 TFLAGS="$(STAGEprofile_TFLAGS)" \
3340 $(TARGET-stageprofile-bfd)
3342 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3343 clean-stageprofile: clean-stageprofile-bfd
3344 clean-stageprofile-bfd:
3345 @if [ $(current_stage) = stageprofile ]; then \
3346 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3347 else \
3348 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3349 $(MAKE) stageprofile-start; \
3350 fi; \
3351 cd $(HOST_SUBDIR)/bfd && \
3352 $(MAKE) $(EXTRA_HOST_FLAGS) \
3353 $(POSTSTAGE1_FLAGS_TO_PASS) \
3354 clean
3355 @endif bfd-bootstrap
3358 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3359 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3360 maybe-all-stagefeedback-bfd:
3361 maybe-clean-stagefeedback-bfd:
3362 @if bfd-bootstrap
3363 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3364 all-stagefeedback: all-stagefeedback-bfd
3365 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3366 all-stagefeedback-bfd: configure-stagefeedback-bfd
3367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3368 @r=`${PWD_COMMAND}`; export r; \
3369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3370 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3371 $(HOST_EXPORTS) \
3372 $(POSTSTAGE1_HOST_EXPORTS) \
3373 cd $(HOST_SUBDIR)/bfd && \
3374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3375 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3376 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3377 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3381 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3382 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3383 $(TARGET-stagefeedback-bfd)
3385 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3386 clean-stagefeedback: clean-stagefeedback-bfd
3387 clean-stagefeedback-bfd:
3388 @if [ $(current_stage) = stagefeedback ]; then \
3389 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3390 else \
3391 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3392 $(MAKE) stagefeedback-start; \
3393 fi; \
3394 cd $(HOST_SUBDIR)/bfd && \
3395 $(MAKE) $(EXTRA_HOST_FLAGS) \
3396 $(POSTSTAGE1_FLAGS_TO_PASS) \
3397 clean
3398 @endif bfd-bootstrap
3404 .PHONY: check-bfd maybe-check-bfd
3405 maybe-check-bfd:
3406 @if bfd
3407 maybe-check-bfd: check-bfd
3409 check-bfd:
3410 @: $(MAKE); $(unstage)
3411 @r=`${PWD_COMMAND}`; export r; \
3412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3413 $(HOST_EXPORTS) \
3414 (cd $(HOST_SUBDIR)/bfd && \
3415 $(MAKE) $(FLAGS_TO_PASS) check)
3417 @endif bfd
3419 .PHONY: install-bfd maybe-install-bfd
3420 maybe-install-bfd:
3421 @if bfd
3422 maybe-install-bfd: install-bfd
3424 install-bfd: installdirs
3425 @: $(MAKE); $(unstage)
3426 @r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 $(HOST_EXPORTS) \
3429 (cd $(HOST_SUBDIR)/bfd && \
3430 $(MAKE) $(FLAGS_TO_PASS) install)
3432 @endif bfd
3434 .PHONY: install-strip-bfd maybe-install-strip-bfd
3435 maybe-install-strip-bfd:
3436 @if bfd
3437 maybe-install-strip-bfd: install-strip-bfd
3439 install-strip-bfd: installdirs
3440 @: $(MAKE); $(unstage)
3441 @r=`${PWD_COMMAND}`; export r; \
3442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3443 $(HOST_EXPORTS) \
3444 (cd $(HOST_SUBDIR)/bfd && \
3445 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3447 @endif bfd
3449 # Other targets (info, dvi, pdf, etc.)
3451 .PHONY: maybe-info-bfd info-bfd
3452 maybe-info-bfd:
3453 @if bfd
3454 maybe-info-bfd: info-bfd
3456 info-bfd: \
3457 configure-bfd
3458 @[ -f ./bfd/Makefile ] || exit 0; \
3459 r=`${PWD_COMMAND}`; export r; \
3460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3461 $(HOST_EXPORTS) \
3462 for flag in $(EXTRA_HOST_FLAGS) ; do \
3463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3464 done; \
3465 echo "Doing info in bfd" ; \
3466 (cd $(HOST_SUBDIR)/bfd && \
3467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3469 "RANLIB=$${RANLIB}" \
3470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3471 info) \
3472 || exit 1
3474 @endif bfd
3476 .PHONY: maybe-dvi-bfd dvi-bfd
3477 maybe-dvi-bfd:
3478 @if bfd
3479 maybe-dvi-bfd: dvi-bfd
3481 dvi-bfd: \
3482 configure-bfd
3483 @[ -f ./bfd/Makefile ] || exit 0; \
3484 r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(HOST_EXPORTS) \
3487 for flag in $(EXTRA_HOST_FLAGS) ; do \
3488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3489 done; \
3490 echo "Doing dvi in bfd" ; \
3491 (cd $(HOST_SUBDIR)/bfd && \
3492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3494 "RANLIB=$${RANLIB}" \
3495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3496 dvi) \
3497 || exit 1
3499 @endif bfd
3501 .PHONY: maybe-pdf-bfd pdf-bfd
3502 maybe-pdf-bfd:
3503 @if bfd
3504 maybe-pdf-bfd: pdf-bfd
3506 pdf-bfd: \
3507 configure-bfd
3508 @[ -f ./bfd/Makefile ] || exit 0; \
3509 r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 $(HOST_EXPORTS) \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 done; \
3515 echo "Doing pdf in bfd" ; \
3516 (cd $(HOST_SUBDIR)/bfd && \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3521 pdf) \
3522 || exit 1
3524 @endif bfd
3526 .PHONY: maybe-html-bfd html-bfd
3527 maybe-html-bfd:
3528 @if bfd
3529 maybe-html-bfd: html-bfd
3531 html-bfd: \
3532 configure-bfd
3533 @[ -f ./bfd/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing html in bfd" ; \
3541 (cd $(HOST_SUBDIR)/bfd && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3546 html) \
3547 || exit 1
3549 @endif bfd
3551 .PHONY: maybe-TAGS-bfd TAGS-bfd
3552 maybe-TAGS-bfd:
3553 @if bfd
3554 maybe-TAGS-bfd: TAGS-bfd
3556 TAGS-bfd: \
3557 configure-bfd
3558 @[ -f ./bfd/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing TAGS in bfd" ; \
3566 (cd $(HOST_SUBDIR)/bfd && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3571 TAGS) \
3572 || exit 1
3574 @endif bfd
3576 .PHONY: maybe-install-info-bfd install-info-bfd
3577 maybe-install-info-bfd:
3578 @if bfd
3579 maybe-install-info-bfd: install-info-bfd
3581 install-info-bfd: \
3582 configure-bfd \
3583 info-bfd
3584 @[ -f ./bfd/Makefile ] || exit 0; \
3585 r=`${PWD_COMMAND}`; export r; \
3586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3587 $(HOST_EXPORTS) \
3588 for flag in $(EXTRA_HOST_FLAGS) ; do \
3589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3590 done; \
3591 echo "Doing install-info in bfd" ; \
3592 (cd $(HOST_SUBDIR)/bfd && \
3593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3595 "RANLIB=$${RANLIB}" \
3596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3597 install-info) \
3598 || exit 1
3600 @endif bfd
3602 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3603 maybe-install-pdf-bfd:
3604 @if bfd
3605 maybe-install-pdf-bfd: install-pdf-bfd
3607 install-pdf-bfd: \
3608 configure-bfd \
3609 pdf-bfd
3610 @[ -f ./bfd/Makefile ] || exit 0; \
3611 r=`${PWD_COMMAND}`; export r; \
3612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3613 $(HOST_EXPORTS) \
3614 for flag in $(EXTRA_HOST_FLAGS) ; do \
3615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3616 done; \
3617 echo "Doing install-pdf in bfd" ; \
3618 (cd $(HOST_SUBDIR)/bfd && \
3619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3621 "RANLIB=$${RANLIB}" \
3622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3623 install-pdf) \
3624 || exit 1
3626 @endif bfd
3628 .PHONY: maybe-install-html-bfd install-html-bfd
3629 maybe-install-html-bfd:
3630 @if bfd
3631 maybe-install-html-bfd: install-html-bfd
3633 install-html-bfd: \
3634 configure-bfd \
3635 html-bfd
3636 @[ -f ./bfd/Makefile ] || exit 0; \
3637 r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 $(HOST_EXPORTS) \
3640 for flag in $(EXTRA_HOST_FLAGS) ; do \
3641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3642 done; \
3643 echo "Doing install-html in bfd" ; \
3644 (cd $(HOST_SUBDIR)/bfd && \
3645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3647 "RANLIB=$${RANLIB}" \
3648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3649 install-html) \
3650 || exit 1
3652 @endif bfd
3654 .PHONY: maybe-installcheck-bfd installcheck-bfd
3655 maybe-installcheck-bfd:
3656 @if bfd
3657 maybe-installcheck-bfd: installcheck-bfd
3659 installcheck-bfd: \
3660 configure-bfd
3661 @[ -f ./bfd/Makefile ] || exit 0; \
3662 r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(HOST_EXPORTS) \
3665 for flag in $(EXTRA_HOST_FLAGS) ; do \
3666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3667 done; \
3668 echo "Doing installcheck in bfd" ; \
3669 (cd $(HOST_SUBDIR)/bfd && \
3670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3672 "RANLIB=$${RANLIB}" \
3673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3674 installcheck) \
3675 || exit 1
3677 @endif bfd
3679 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3680 maybe-mostlyclean-bfd:
3681 @if bfd
3682 maybe-mostlyclean-bfd: mostlyclean-bfd
3684 mostlyclean-bfd:
3685 @[ -f ./bfd/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing mostlyclean in bfd" ; \
3693 (cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 mostlyclean) \
3699 || exit 1
3701 @endif bfd
3703 .PHONY: maybe-clean-bfd clean-bfd
3704 maybe-clean-bfd:
3705 @if bfd
3706 maybe-clean-bfd: clean-bfd
3708 clean-bfd:
3709 @[ -f ./bfd/Makefile ] || exit 0; \
3710 r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(HOST_EXPORTS) \
3713 for flag in $(EXTRA_HOST_FLAGS) ; do \
3714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3715 done; \
3716 echo "Doing clean in bfd" ; \
3717 (cd $(HOST_SUBDIR)/bfd && \
3718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3720 "RANLIB=$${RANLIB}" \
3721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3722 clean) \
3723 || exit 1
3725 @endif bfd
3727 .PHONY: maybe-distclean-bfd distclean-bfd
3728 maybe-distclean-bfd:
3729 @if bfd
3730 maybe-distclean-bfd: distclean-bfd
3732 distclean-bfd:
3733 @[ -f ./bfd/Makefile ] || exit 0; \
3734 r=`${PWD_COMMAND}`; export r; \
3735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3736 $(HOST_EXPORTS) \
3737 for flag in $(EXTRA_HOST_FLAGS) ; do \
3738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3739 done; \
3740 echo "Doing distclean in bfd" ; \
3741 (cd $(HOST_SUBDIR)/bfd && \
3742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3744 "RANLIB=$${RANLIB}" \
3745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3746 distclean) \
3747 || exit 1
3749 @endif bfd
3751 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3752 maybe-maintainer-clean-bfd:
3753 @if bfd
3754 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3756 maintainer-clean-bfd:
3757 @[ -f ./bfd/Makefile ] || exit 0; \
3758 r=`${PWD_COMMAND}`; export r; \
3759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3760 $(HOST_EXPORTS) \
3761 for flag in $(EXTRA_HOST_FLAGS) ; do \
3762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3763 done; \
3764 echo "Doing maintainer-clean in bfd" ; \
3765 (cd $(HOST_SUBDIR)/bfd && \
3766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3768 "RANLIB=$${RANLIB}" \
3769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3770 maintainer-clean) \
3771 || exit 1
3773 @endif bfd
3777 .PHONY: configure-opcodes maybe-configure-opcodes
3778 maybe-configure-opcodes:
3779 @if gcc-bootstrap
3780 configure-opcodes: stage_current
3781 @endif gcc-bootstrap
3782 @if opcodes
3783 maybe-configure-opcodes: configure-opcodes
3784 configure-opcodes:
3785 @r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3789 $(HOST_EXPORTS) \
3790 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3791 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3792 case $(srcdir) in \
3793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3794 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3796 esac; \
3797 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3798 libsrcdir="$$s/opcodes"; \
3799 $(SHELL) $${libsrcdir}/configure \
3800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3801 --target=${target_alias} $${srcdiroption} \
3802 || exit 1
3803 @endif opcodes
3807 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3808 maybe-configure-stage1-opcodes:
3809 @if opcodes-bootstrap
3810 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3811 configure-stage1-opcodes:
3812 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3814 @r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3816 TFLAGS="$(STAGE1_TFLAGS)"; \
3817 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3818 $(HOST_EXPORTS) \
3819 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3820 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3821 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3822 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3824 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3825 case $(srcdir) in \
3826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3827 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3829 esac; \
3830 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3831 libsrcdir="$$s/opcodes"; \
3832 $(SHELL) $${libsrcdir}/configure \
3833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3834 --target=${target_alias} $${srcdiroption} \
3835 $(STAGE1_CONFIGURE_FLAGS)
3836 @endif opcodes-bootstrap
3838 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3839 maybe-configure-stage2-opcodes:
3840 @if opcodes-bootstrap
3841 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3842 configure-stage2-opcodes:
3843 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3845 @r=`${PWD_COMMAND}`; export r; \
3846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3847 TFLAGS="$(STAGE2_TFLAGS)"; \
3848 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3849 $(HOST_EXPORTS) \
3850 $(POSTSTAGE1_HOST_EXPORTS) \
3851 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3852 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3853 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3854 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3856 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3857 case $(srcdir) in \
3858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3859 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3861 esac; \
3862 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3863 libsrcdir="$$s/opcodes"; \
3864 $(SHELL) $${libsrcdir}/configure \
3865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3866 --target=${target_alias} $${srcdiroption} \
3867 --with-build-libsubdir=$(HOST_SUBDIR) \
3868 $(STAGE2_CONFIGURE_FLAGS)
3869 @endif opcodes-bootstrap
3871 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3872 maybe-configure-stage3-opcodes:
3873 @if opcodes-bootstrap
3874 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3875 configure-stage3-opcodes:
3876 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3878 @r=`${PWD_COMMAND}`; export r; \
3879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 TFLAGS="$(STAGE3_TFLAGS)"; \
3881 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3882 $(HOST_EXPORTS) \
3883 $(POSTSTAGE1_HOST_EXPORTS) \
3884 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3885 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3886 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3887 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3889 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3890 case $(srcdir) in \
3891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3892 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3894 esac; \
3895 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3896 libsrcdir="$$s/opcodes"; \
3897 $(SHELL) $${libsrcdir}/configure \
3898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3899 --target=${target_alias} $${srcdiroption} \
3900 --with-build-libsubdir=$(HOST_SUBDIR) \
3901 $(STAGE3_CONFIGURE_FLAGS)
3902 @endif opcodes-bootstrap
3904 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3905 maybe-configure-stage4-opcodes:
3906 @if opcodes-bootstrap
3907 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3908 configure-stage4-opcodes:
3909 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3911 @r=`${PWD_COMMAND}`; export r; \
3912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3913 TFLAGS="$(STAGE4_TFLAGS)"; \
3914 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3915 $(HOST_EXPORTS) \
3916 $(POSTSTAGE1_HOST_EXPORTS) \
3917 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3918 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3919 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3920 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3922 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3923 case $(srcdir) in \
3924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3925 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3927 esac; \
3928 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3929 libsrcdir="$$s/opcodes"; \
3930 $(SHELL) $${libsrcdir}/configure \
3931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3932 --target=${target_alias} $${srcdiroption} \
3933 --with-build-libsubdir=$(HOST_SUBDIR) \
3934 $(STAGE4_CONFIGURE_FLAGS)
3935 @endif opcodes-bootstrap
3937 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3938 maybe-configure-stageprofile-opcodes:
3939 @if opcodes-bootstrap
3940 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3941 configure-stageprofile-opcodes:
3942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3944 @r=`${PWD_COMMAND}`; export r; \
3945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3946 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3947 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3948 $(HOST_EXPORTS) \
3949 $(POSTSTAGE1_HOST_EXPORTS) \
3950 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3951 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3952 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3953 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3955 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3956 case $(srcdir) in \
3957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3958 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3960 esac; \
3961 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3962 libsrcdir="$$s/opcodes"; \
3963 $(SHELL) $${libsrcdir}/configure \
3964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3965 --target=${target_alias} $${srcdiroption} \
3966 --with-build-libsubdir=$(HOST_SUBDIR) \
3967 $(STAGEprofile_CONFIGURE_FLAGS)
3968 @endif opcodes-bootstrap
3970 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3971 maybe-configure-stagefeedback-opcodes:
3972 @if opcodes-bootstrap
3973 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3974 configure-stagefeedback-opcodes:
3975 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3977 @r=`${PWD_COMMAND}`; export r; \
3978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3979 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3980 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3981 $(HOST_EXPORTS) \
3982 $(POSTSTAGE1_HOST_EXPORTS) \
3983 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3984 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3985 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3986 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3988 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3989 case $(srcdir) in \
3990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3991 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3993 esac; \
3994 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3995 libsrcdir="$$s/opcodes"; \
3996 $(SHELL) $${libsrcdir}/configure \
3997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3998 --target=${target_alias} $${srcdiroption} \
3999 --with-build-libsubdir=$(HOST_SUBDIR) \
4000 $(STAGEfeedback_CONFIGURE_FLAGS)
4001 @endif opcodes-bootstrap
4007 .PHONY: all-opcodes maybe-all-opcodes
4008 maybe-all-opcodes:
4009 @if gcc-bootstrap
4010 all-opcodes: stage_current
4011 @endif gcc-bootstrap
4012 @if opcodes
4013 TARGET-opcodes=all
4014 maybe-all-opcodes: all-opcodes
4015 all-opcodes: configure-opcodes
4016 @r=`${PWD_COMMAND}`; export r; \
4017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4018 $(HOST_EXPORTS) \
4019 (cd $(HOST_SUBDIR)/opcodes && \
4020 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4021 $(TARGET-opcodes))
4022 @endif opcodes
4026 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4027 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4028 maybe-all-stage1-opcodes:
4029 maybe-clean-stage1-opcodes:
4030 @if opcodes-bootstrap
4031 maybe-all-stage1-opcodes: all-stage1-opcodes
4032 all-stage1: all-stage1-opcodes
4033 TARGET-stage1-opcodes = $(TARGET-opcodes)
4034 all-stage1-opcodes: configure-stage1-opcodes
4035 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 TFLAGS="$(STAGE1_TFLAGS)"; \
4039 $(HOST_EXPORTS) \
4040 cd $(HOST_SUBDIR)/opcodes && \
4041 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4042 CFLAGS="$(STAGE1_CFLAGS)" \
4043 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4044 LIBCFLAGS="$(LIBCFLAGS)" \
4045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4048 $(EXTRA_HOST_FLAGS) \
4049 TFLAGS="$(STAGE1_TFLAGS)" \
4050 $(TARGET-stage1-opcodes)
4052 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4053 clean-stage1: clean-stage1-opcodes
4054 clean-stage1-opcodes:
4055 @if [ $(current_stage) = stage1 ]; then \
4056 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4057 else \
4058 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4059 $(MAKE) stage1-start; \
4060 fi; \
4061 cd $(HOST_SUBDIR)/opcodes && \
4062 $(MAKE) $(EXTRA_HOST_FLAGS) \
4063 clean
4064 @endif opcodes-bootstrap
4067 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4068 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4069 maybe-all-stage2-opcodes:
4070 maybe-clean-stage2-opcodes:
4071 @if opcodes-bootstrap
4072 maybe-all-stage2-opcodes: all-stage2-opcodes
4073 all-stage2: all-stage2-opcodes
4074 TARGET-stage2-opcodes = $(TARGET-opcodes)
4075 all-stage2-opcodes: configure-stage2-opcodes
4076 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4077 @r=`${PWD_COMMAND}`; export r; \
4078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4079 TFLAGS="$(STAGE2_TFLAGS)"; \
4080 $(HOST_EXPORTS) \
4081 $(POSTSTAGE1_HOST_EXPORTS) \
4082 cd $(HOST_SUBDIR)/opcodes && \
4083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4084 CFLAGS="$(STAGE2_CFLAGS)" \
4085 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4086 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4091 TFLAGS="$(STAGE2_TFLAGS)" \
4092 $(TARGET-stage2-opcodes)
4094 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4095 clean-stage2: clean-stage2-opcodes
4096 clean-stage2-opcodes:
4097 @if [ $(current_stage) = stage2 ]; then \
4098 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4099 else \
4100 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4101 $(MAKE) stage2-start; \
4102 fi; \
4103 cd $(HOST_SUBDIR)/opcodes && \
4104 $(MAKE) $(EXTRA_HOST_FLAGS) \
4105 $(POSTSTAGE1_FLAGS_TO_PASS) \
4106 clean
4107 @endif opcodes-bootstrap
4110 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4111 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4112 maybe-all-stage3-opcodes:
4113 maybe-clean-stage3-opcodes:
4114 @if opcodes-bootstrap
4115 maybe-all-stage3-opcodes: all-stage3-opcodes
4116 all-stage3: all-stage3-opcodes
4117 TARGET-stage3-opcodes = $(TARGET-opcodes)
4118 all-stage3-opcodes: configure-stage3-opcodes
4119 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4120 @r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 TFLAGS="$(STAGE3_TFLAGS)"; \
4123 $(HOST_EXPORTS) \
4124 $(POSTSTAGE1_HOST_EXPORTS) \
4125 cd $(HOST_SUBDIR)/opcodes && \
4126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4127 CFLAGS="$(STAGE3_CFLAGS)" \
4128 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4129 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4134 TFLAGS="$(STAGE3_TFLAGS)" \
4135 $(TARGET-stage3-opcodes)
4137 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4138 clean-stage3: clean-stage3-opcodes
4139 clean-stage3-opcodes:
4140 @if [ $(current_stage) = stage3 ]; then \
4141 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4142 else \
4143 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4144 $(MAKE) stage3-start; \
4145 fi; \
4146 cd $(HOST_SUBDIR)/opcodes && \
4147 $(MAKE) $(EXTRA_HOST_FLAGS) \
4148 $(POSTSTAGE1_FLAGS_TO_PASS) \
4149 clean
4150 @endif opcodes-bootstrap
4153 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4154 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4155 maybe-all-stage4-opcodes:
4156 maybe-clean-stage4-opcodes:
4157 @if opcodes-bootstrap
4158 maybe-all-stage4-opcodes: all-stage4-opcodes
4159 all-stage4: all-stage4-opcodes
4160 TARGET-stage4-opcodes = $(TARGET-opcodes)
4161 all-stage4-opcodes: configure-stage4-opcodes
4162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4163 @r=`${PWD_COMMAND}`; export r; \
4164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4165 TFLAGS="$(STAGE4_TFLAGS)"; \
4166 $(HOST_EXPORTS) \
4167 $(POSTSTAGE1_HOST_EXPORTS) \
4168 cd $(HOST_SUBDIR)/opcodes && \
4169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4170 CFLAGS="$(STAGE4_CFLAGS)" \
4171 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4172 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4177 TFLAGS="$(STAGE4_TFLAGS)" \
4178 $(TARGET-stage4-opcodes)
4180 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4181 clean-stage4: clean-stage4-opcodes
4182 clean-stage4-opcodes:
4183 @if [ $(current_stage) = stage4 ]; then \
4184 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4185 else \
4186 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4187 $(MAKE) stage4-start; \
4188 fi; \
4189 cd $(HOST_SUBDIR)/opcodes && \
4190 $(MAKE) $(EXTRA_HOST_FLAGS) \
4191 $(POSTSTAGE1_FLAGS_TO_PASS) \
4192 clean
4193 @endif opcodes-bootstrap
4196 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4197 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4198 maybe-all-stageprofile-opcodes:
4199 maybe-clean-stageprofile-opcodes:
4200 @if opcodes-bootstrap
4201 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4202 all-stageprofile: all-stageprofile-opcodes
4203 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4204 all-stageprofile-opcodes: configure-stageprofile-opcodes
4205 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4206 @r=`${PWD_COMMAND}`; export r; \
4207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4209 $(HOST_EXPORTS) \
4210 $(POSTSTAGE1_HOST_EXPORTS) \
4211 cd $(HOST_SUBDIR)/opcodes && \
4212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4213 CFLAGS="$(STAGEprofile_CFLAGS)" \
4214 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4215 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4220 TFLAGS="$(STAGEprofile_TFLAGS)" \
4221 $(TARGET-stageprofile-opcodes)
4223 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4224 clean-stageprofile: clean-stageprofile-opcodes
4225 clean-stageprofile-opcodes:
4226 @if [ $(current_stage) = stageprofile ]; then \
4227 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4228 else \
4229 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4230 $(MAKE) stageprofile-start; \
4231 fi; \
4232 cd $(HOST_SUBDIR)/opcodes && \
4233 $(MAKE) $(EXTRA_HOST_FLAGS) \
4234 $(POSTSTAGE1_FLAGS_TO_PASS) \
4235 clean
4236 @endif opcodes-bootstrap
4239 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4240 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4241 maybe-all-stagefeedback-opcodes:
4242 maybe-clean-stagefeedback-opcodes:
4243 @if opcodes-bootstrap
4244 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4245 all-stagefeedback: all-stagefeedback-opcodes
4246 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4247 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4248 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4249 @r=`${PWD_COMMAND}`; export r; \
4250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4252 $(HOST_EXPORTS) \
4253 $(POSTSTAGE1_HOST_EXPORTS) \
4254 cd $(HOST_SUBDIR)/opcodes && \
4255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4256 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4257 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4258 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4263 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4264 $(TARGET-stagefeedback-opcodes)
4266 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4267 clean-stagefeedback: clean-stagefeedback-opcodes
4268 clean-stagefeedback-opcodes:
4269 @if [ $(current_stage) = stagefeedback ]; then \
4270 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4271 else \
4272 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4273 $(MAKE) stagefeedback-start; \
4274 fi; \
4275 cd $(HOST_SUBDIR)/opcodes && \
4276 $(MAKE) $(EXTRA_HOST_FLAGS) \
4277 $(POSTSTAGE1_FLAGS_TO_PASS) \
4278 clean
4279 @endif opcodes-bootstrap
4285 .PHONY: check-opcodes maybe-check-opcodes
4286 maybe-check-opcodes:
4287 @if opcodes
4288 maybe-check-opcodes: check-opcodes
4290 check-opcodes:
4291 @: $(MAKE); $(unstage)
4292 @r=`${PWD_COMMAND}`; export r; \
4293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4294 $(HOST_EXPORTS) \
4295 (cd $(HOST_SUBDIR)/opcodes && \
4296 $(MAKE) $(FLAGS_TO_PASS) check)
4298 @endif opcodes
4300 .PHONY: install-opcodes maybe-install-opcodes
4301 maybe-install-opcodes:
4302 @if opcodes
4303 maybe-install-opcodes: install-opcodes
4305 install-opcodes: installdirs
4306 @: $(MAKE); $(unstage)
4307 @r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309 $(HOST_EXPORTS) \
4310 (cd $(HOST_SUBDIR)/opcodes && \
4311 $(MAKE) $(FLAGS_TO_PASS) install)
4313 @endif opcodes
4315 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4316 maybe-install-strip-opcodes:
4317 @if opcodes
4318 maybe-install-strip-opcodes: install-strip-opcodes
4320 install-strip-opcodes: installdirs
4321 @: $(MAKE); $(unstage)
4322 @r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 $(HOST_EXPORTS) \
4325 (cd $(HOST_SUBDIR)/opcodes && \
4326 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4328 @endif opcodes
4330 # Other targets (info, dvi, pdf, etc.)
4332 .PHONY: maybe-info-opcodes info-opcodes
4333 maybe-info-opcodes:
4334 @if opcodes
4335 maybe-info-opcodes: info-opcodes
4337 info-opcodes: \
4338 configure-opcodes
4339 @[ -f ./opcodes/Makefile ] || exit 0; \
4340 r=`${PWD_COMMAND}`; export r; \
4341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4342 $(HOST_EXPORTS) \
4343 for flag in $(EXTRA_HOST_FLAGS) ; do \
4344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4345 done; \
4346 echo "Doing info in opcodes" ; \
4347 (cd $(HOST_SUBDIR)/opcodes && \
4348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4350 "RANLIB=$${RANLIB}" \
4351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4352 info) \
4353 || exit 1
4355 @endif opcodes
4357 .PHONY: maybe-dvi-opcodes dvi-opcodes
4358 maybe-dvi-opcodes:
4359 @if opcodes
4360 maybe-dvi-opcodes: dvi-opcodes
4362 dvi-opcodes: \
4363 configure-opcodes
4364 @[ -f ./opcodes/Makefile ] || exit 0; \
4365 r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4367 $(HOST_EXPORTS) \
4368 for flag in $(EXTRA_HOST_FLAGS) ; do \
4369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4370 done; \
4371 echo "Doing dvi in opcodes" ; \
4372 (cd $(HOST_SUBDIR)/opcodes && \
4373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4375 "RANLIB=$${RANLIB}" \
4376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4377 dvi) \
4378 || exit 1
4380 @endif opcodes
4382 .PHONY: maybe-pdf-opcodes pdf-opcodes
4383 maybe-pdf-opcodes:
4384 @if opcodes
4385 maybe-pdf-opcodes: pdf-opcodes
4387 pdf-opcodes: \
4388 configure-opcodes
4389 @[ -f ./opcodes/Makefile ] || exit 0; \
4390 r=`${PWD_COMMAND}`; export r; \
4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 $(HOST_EXPORTS) \
4393 for flag in $(EXTRA_HOST_FLAGS) ; do \
4394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4395 done; \
4396 echo "Doing pdf in opcodes" ; \
4397 (cd $(HOST_SUBDIR)/opcodes && \
4398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4400 "RANLIB=$${RANLIB}" \
4401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4402 pdf) \
4403 || exit 1
4405 @endif opcodes
4407 .PHONY: maybe-html-opcodes html-opcodes
4408 maybe-html-opcodes:
4409 @if opcodes
4410 maybe-html-opcodes: html-opcodes
4412 html-opcodes: \
4413 configure-opcodes
4414 @[ -f ./opcodes/Makefile ] || exit 0; \
4415 r=`${PWD_COMMAND}`; export r; \
4416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4417 $(HOST_EXPORTS) \
4418 for flag in $(EXTRA_HOST_FLAGS) ; do \
4419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4420 done; \
4421 echo "Doing html in opcodes" ; \
4422 (cd $(HOST_SUBDIR)/opcodes && \
4423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4425 "RANLIB=$${RANLIB}" \
4426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4427 html) \
4428 || exit 1
4430 @endif opcodes
4432 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4433 maybe-TAGS-opcodes:
4434 @if opcodes
4435 maybe-TAGS-opcodes: TAGS-opcodes
4437 TAGS-opcodes: \
4438 configure-opcodes
4439 @[ -f ./opcodes/Makefile ] || exit 0; \
4440 r=`${PWD_COMMAND}`; export r; \
4441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4442 $(HOST_EXPORTS) \
4443 for flag in $(EXTRA_HOST_FLAGS) ; do \
4444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4445 done; \
4446 echo "Doing TAGS in opcodes" ; \
4447 (cd $(HOST_SUBDIR)/opcodes && \
4448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4450 "RANLIB=$${RANLIB}" \
4451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4452 TAGS) \
4453 || exit 1
4455 @endif opcodes
4457 .PHONY: maybe-install-info-opcodes install-info-opcodes
4458 maybe-install-info-opcodes:
4459 @if opcodes
4460 maybe-install-info-opcodes: install-info-opcodes
4462 install-info-opcodes: \
4463 configure-opcodes \
4464 info-opcodes
4465 @[ -f ./opcodes/Makefile ] || exit 0; \
4466 r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 $(HOST_EXPORTS) \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471 done; \
4472 echo "Doing install-info in opcodes" ; \
4473 (cd $(HOST_SUBDIR)/opcodes && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4478 install-info) \
4479 || exit 1
4481 @endif opcodes
4483 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4484 maybe-install-pdf-opcodes:
4485 @if opcodes
4486 maybe-install-pdf-opcodes: install-pdf-opcodes
4488 install-pdf-opcodes: \
4489 configure-opcodes \
4490 pdf-opcodes
4491 @[ -f ./opcodes/Makefile ] || exit 0; \
4492 r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(HOST_EXPORTS) \
4495 for flag in $(EXTRA_HOST_FLAGS) ; do \
4496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4497 done; \
4498 echo "Doing install-pdf in opcodes" ; \
4499 (cd $(HOST_SUBDIR)/opcodes && \
4500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4502 "RANLIB=$${RANLIB}" \
4503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4504 install-pdf) \
4505 || exit 1
4507 @endif opcodes
4509 .PHONY: maybe-install-html-opcodes install-html-opcodes
4510 maybe-install-html-opcodes:
4511 @if opcodes
4512 maybe-install-html-opcodes: install-html-opcodes
4514 install-html-opcodes: \
4515 configure-opcodes \
4516 html-opcodes
4517 @[ -f ./opcodes/Makefile ] || exit 0; \
4518 r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4520 $(HOST_EXPORTS) \
4521 for flag in $(EXTRA_HOST_FLAGS) ; do \
4522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4523 done; \
4524 echo "Doing install-html in opcodes" ; \
4525 (cd $(HOST_SUBDIR)/opcodes && \
4526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4528 "RANLIB=$${RANLIB}" \
4529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4530 install-html) \
4531 || exit 1
4533 @endif opcodes
4535 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4536 maybe-installcheck-opcodes:
4537 @if opcodes
4538 maybe-installcheck-opcodes: installcheck-opcodes
4540 installcheck-opcodes: \
4541 configure-opcodes
4542 @[ -f ./opcodes/Makefile ] || exit 0; \
4543 r=`${PWD_COMMAND}`; export r; \
4544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4545 $(HOST_EXPORTS) \
4546 for flag in $(EXTRA_HOST_FLAGS) ; do \
4547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 done; \
4549 echo "Doing installcheck in opcodes" ; \
4550 (cd $(HOST_SUBDIR)/opcodes && \
4551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4553 "RANLIB=$${RANLIB}" \
4554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4555 installcheck) \
4556 || exit 1
4558 @endif opcodes
4560 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4561 maybe-mostlyclean-opcodes:
4562 @if opcodes
4563 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4565 mostlyclean-opcodes:
4566 @[ -f ./opcodes/Makefile ] || exit 0; \
4567 r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 $(HOST_EXPORTS) \
4570 for flag in $(EXTRA_HOST_FLAGS) ; do \
4571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 done; \
4573 echo "Doing mostlyclean in opcodes" ; \
4574 (cd $(HOST_SUBDIR)/opcodes && \
4575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577 "RANLIB=$${RANLIB}" \
4578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4579 mostlyclean) \
4580 || exit 1
4582 @endif opcodes
4584 .PHONY: maybe-clean-opcodes clean-opcodes
4585 maybe-clean-opcodes:
4586 @if opcodes
4587 maybe-clean-opcodes: clean-opcodes
4589 clean-opcodes:
4590 @[ -f ./opcodes/Makefile ] || exit 0; \
4591 r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 $(HOST_EXPORTS) \
4594 for flag in $(EXTRA_HOST_FLAGS) ; do \
4595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4596 done; \
4597 echo "Doing clean in opcodes" ; \
4598 (cd $(HOST_SUBDIR)/opcodes && \
4599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601 "RANLIB=$${RANLIB}" \
4602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4603 clean) \
4604 || exit 1
4606 @endif opcodes
4608 .PHONY: maybe-distclean-opcodes distclean-opcodes
4609 maybe-distclean-opcodes:
4610 @if opcodes
4611 maybe-distclean-opcodes: distclean-opcodes
4613 distclean-opcodes:
4614 @[ -f ./opcodes/Makefile ] || exit 0; \
4615 r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617 $(HOST_EXPORTS) \
4618 for flag in $(EXTRA_HOST_FLAGS) ; do \
4619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4620 done; \
4621 echo "Doing distclean in opcodes" ; \
4622 (cd $(HOST_SUBDIR)/opcodes && \
4623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4625 "RANLIB=$${RANLIB}" \
4626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4627 distclean) \
4628 || exit 1
4630 @endif opcodes
4632 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4633 maybe-maintainer-clean-opcodes:
4634 @if opcodes
4635 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4637 maintainer-clean-opcodes:
4638 @[ -f ./opcodes/Makefile ] || exit 0; \
4639 r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 $(HOST_EXPORTS) \
4642 for flag in $(EXTRA_HOST_FLAGS) ; do \
4643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4644 done; \
4645 echo "Doing maintainer-clean in opcodes" ; \
4646 (cd $(HOST_SUBDIR)/opcodes && \
4647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4649 "RANLIB=$${RANLIB}" \
4650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4651 maintainer-clean) \
4652 || exit 1
4654 @endif opcodes
4658 .PHONY: configure-binutils maybe-configure-binutils
4659 maybe-configure-binutils:
4660 @if gcc-bootstrap
4661 configure-binutils: stage_current
4662 @endif gcc-bootstrap
4663 @if binutils
4664 maybe-configure-binutils: configure-binutils
4665 configure-binutils:
4666 @r=`${PWD_COMMAND}`; export r; \
4667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4670 $(HOST_EXPORTS) \
4671 echo Configuring in $(HOST_SUBDIR)/binutils; \
4672 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4673 case $(srcdir) in \
4674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4675 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4677 esac; \
4678 srcdiroption="--srcdir=$${topdir}/binutils"; \
4679 libsrcdir="$$s/binutils"; \
4680 $(SHELL) $${libsrcdir}/configure \
4681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4682 --target=${target_alias} $${srcdiroption} \
4683 || exit 1
4684 @endif binutils
4688 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4689 maybe-configure-stage1-binutils:
4690 @if binutils-bootstrap
4691 maybe-configure-stage1-binutils: configure-stage1-binutils
4692 configure-stage1-binutils:
4693 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4695 @r=`${PWD_COMMAND}`; export r; \
4696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4697 TFLAGS="$(STAGE1_TFLAGS)"; \
4698 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4699 $(HOST_EXPORTS) \
4700 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4701 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4702 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4703 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4705 cd $(HOST_SUBDIR)/binutils || exit 1; \
4706 case $(srcdir) in \
4707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4708 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4710 esac; \
4711 srcdiroption="--srcdir=$${topdir}/binutils"; \
4712 libsrcdir="$$s/binutils"; \
4713 $(SHELL) $${libsrcdir}/configure \
4714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4715 --target=${target_alias} $${srcdiroption} \
4716 $(STAGE1_CONFIGURE_FLAGS)
4717 @endif binutils-bootstrap
4719 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4720 maybe-configure-stage2-binutils:
4721 @if binutils-bootstrap
4722 maybe-configure-stage2-binutils: configure-stage2-binutils
4723 configure-stage2-binutils:
4724 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4726 @r=`${PWD_COMMAND}`; export r; \
4727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4728 TFLAGS="$(STAGE2_TFLAGS)"; \
4729 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4730 $(HOST_EXPORTS) \
4731 $(POSTSTAGE1_HOST_EXPORTS) \
4732 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4733 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4734 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4735 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4737 cd $(HOST_SUBDIR)/binutils || exit 1; \
4738 case $(srcdir) in \
4739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4740 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4742 esac; \
4743 srcdiroption="--srcdir=$${topdir}/binutils"; \
4744 libsrcdir="$$s/binutils"; \
4745 $(SHELL) $${libsrcdir}/configure \
4746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4747 --target=${target_alias} $${srcdiroption} \
4748 --with-build-libsubdir=$(HOST_SUBDIR) \
4749 $(STAGE2_CONFIGURE_FLAGS)
4750 @endif binutils-bootstrap
4752 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4753 maybe-configure-stage3-binutils:
4754 @if binutils-bootstrap
4755 maybe-configure-stage3-binutils: configure-stage3-binutils
4756 configure-stage3-binutils:
4757 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4759 @r=`${PWD_COMMAND}`; export r; \
4760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4761 TFLAGS="$(STAGE3_TFLAGS)"; \
4762 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4763 $(HOST_EXPORTS) \
4764 $(POSTSTAGE1_HOST_EXPORTS) \
4765 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4766 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4767 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4768 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4770 cd $(HOST_SUBDIR)/binutils || exit 1; \
4771 case $(srcdir) in \
4772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4773 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4775 esac; \
4776 srcdiroption="--srcdir=$${topdir}/binutils"; \
4777 libsrcdir="$$s/binutils"; \
4778 $(SHELL) $${libsrcdir}/configure \
4779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4780 --target=${target_alias} $${srcdiroption} \
4781 --with-build-libsubdir=$(HOST_SUBDIR) \
4782 $(STAGE3_CONFIGURE_FLAGS)
4783 @endif binutils-bootstrap
4785 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4786 maybe-configure-stage4-binutils:
4787 @if binutils-bootstrap
4788 maybe-configure-stage4-binutils: configure-stage4-binutils
4789 configure-stage4-binutils:
4790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4792 @r=`${PWD_COMMAND}`; export r; \
4793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4794 TFLAGS="$(STAGE4_TFLAGS)"; \
4795 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4796 $(HOST_EXPORTS) \
4797 $(POSTSTAGE1_HOST_EXPORTS) \
4798 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4799 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4800 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4801 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4803 cd $(HOST_SUBDIR)/binutils || exit 1; \
4804 case $(srcdir) in \
4805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4806 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4808 esac; \
4809 srcdiroption="--srcdir=$${topdir}/binutils"; \
4810 libsrcdir="$$s/binutils"; \
4811 $(SHELL) $${libsrcdir}/configure \
4812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4813 --target=${target_alias} $${srcdiroption} \
4814 --with-build-libsubdir=$(HOST_SUBDIR) \
4815 $(STAGE4_CONFIGURE_FLAGS)
4816 @endif binutils-bootstrap
4818 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4819 maybe-configure-stageprofile-binutils:
4820 @if binutils-bootstrap
4821 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4822 configure-stageprofile-binutils:
4823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4825 @r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4828 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4829 $(HOST_EXPORTS) \
4830 $(POSTSTAGE1_HOST_EXPORTS) \
4831 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4832 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4833 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4834 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4836 cd $(HOST_SUBDIR)/binutils || exit 1; \
4837 case $(srcdir) in \
4838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4839 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4841 esac; \
4842 srcdiroption="--srcdir=$${topdir}/binutils"; \
4843 libsrcdir="$$s/binutils"; \
4844 $(SHELL) $${libsrcdir}/configure \
4845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4846 --target=${target_alias} $${srcdiroption} \
4847 --with-build-libsubdir=$(HOST_SUBDIR) \
4848 $(STAGEprofile_CONFIGURE_FLAGS)
4849 @endif binutils-bootstrap
4851 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4852 maybe-configure-stagefeedback-binutils:
4853 @if binutils-bootstrap
4854 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4855 configure-stagefeedback-binutils:
4856 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4858 @r=`${PWD_COMMAND}`; export r; \
4859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4861 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4862 $(HOST_EXPORTS) \
4863 $(POSTSTAGE1_HOST_EXPORTS) \
4864 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4865 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4866 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4867 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4869 cd $(HOST_SUBDIR)/binutils || exit 1; \
4870 case $(srcdir) in \
4871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4872 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4874 esac; \
4875 srcdiroption="--srcdir=$${topdir}/binutils"; \
4876 libsrcdir="$$s/binutils"; \
4877 $(SHELL) $${libsrcdir}/configure \
4878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4879 --target=${target_alias} $${srcdiroption} \
4880 --with-build-libsubdir=$(HOST_SUBDIR) \
4881 $(STAGEfeedback_CONFIGURE_FLAGS)
4882 @endif binutils-bootstrap
4888 .PHONY: all-binutils maybe-all-binutils
4889 maybe-all-binutils:
4890 @if gcc-bootstrap
4891 all-binutils: stage_current
4892 @endif gcc-bootstrap
4893 @if binutils
4894 TARGET-binutils=all
4895 maybe-all-binutils: all-binutils
4896 all-binutils: configure-binutils
4897 @r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(HOST_EXPORTS) \
4900 (cd $(HOST_SUBDIR)/binutils && \
4901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4902 $(TARGET-binutils))
4903 @endif binutils
4907 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4908 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4909 maybe-all-stage1-binutils:
4910 maybe-clean-stage1-binutils:
4911 @if binutils-bootstrap
4912 maybe-all-stage1-binutils: all-stage1-binutils
4913 all-stage1: all-stage1-binutils
4914 TARGET-stage1-binutils = $(TARGET-binutils)
4915 all-stage1-binutils: configure-stage1-binutils
4916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4917 @r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 TFLAGS="$(STAGE1_TFLAGS)"; \
4920 $(HOST_EXPORTS) \
4921 cd $(HOST_SUBDIR)/binutils && \
4922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4923 CFLAGS="$(STAGE1_CFLAGS)" \
4924 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4925 LIBCFLAGS="$(LIBCFLAGS)" \
4926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4929 $(EXTRA_HOST_FLAGS) \
4930 TFLAGS="$(STAGE1_TFLAGS)" \
4931 $(TARGET-stage1-binutils)
4933 maybe-clean-stage1-binutils: clean-stage1-binutils
4934 clean-stage1: clean-stage1-binutils
4935 clean-stage1-binutils:
4936 @if [ $(current_stage) = stage1 ]; then \
4937 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4938 else \
4939 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4940 $(MAKE) stage1-start; \
4941 fi; \
4942 cd $(HOST_SUBDIR)/binutils && \
4943 $(MAKE) $(EXTRA_HOST_FLAGS) \
4944 clean
4945 @endif binutils-bootstrap
4948 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4949 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4950 maybe-all-stage2-binutils:
4951 maybe-clean-stage2-binutils:
4952 @if binutils-bootstrap
4953 maybe-all-stage2-binutils: all-stage2-binutils
4954 all-stage2: all-stage2-binutils
4955 TARGET-stage2-binutils = $(TARGET-binutils)
4956 all-stage2-binutils: configure-stage2-binutils
4957 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4958 @r=`${PWD_COMMAND}`; export r; \
4959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 TFLAGS="$(STAGE2_TFLAGS)"; \
4961 $(HOST_EXPORTS) \
4962 $(POSTSTAGE1_HOST_EXPORTS) \
4963 cd $(HOST_SUBDIR)/binutils && \
4964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4965 CFLAGS="$(STAGE2_CFLAGS)" \
4966 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4967 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4972 TFLAGS="$(STAGE2_TFLAGS)" \
4973 $(TARGET-stage2-binutils)
4975 maybe-clean-stage2-binutils: clean-stage2-binutils
4976 clean-stage2: clean-stage2-binutils
4977 clean-stage2-binutils:
4978 @if [ $(current_stage) = stage2 ]; then \
4979 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4980 else \
4981 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4982 $(MAKE) stage2-start; \
4983 fi; \
4984 cd $(HOST_SUBDIR)/binutils && \
4985 $(MAKE) $(EXTRA_HOST_FLAGS) \
4986 $(POSTSTAGE1_FLAGS_TO_PASS) \
4987 clean
4988 @endif binutils-bootstrap
4991 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4992 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4993 maybe-all-stage3-binutils:
4994 maybe-clean-stage3-binutils:
4995 @if binutils-bootstrap
4996 maybe-all-stage3-binutils: all-stage3-binutils
4997 all-stage3: all-stage3-binutils
4998 TARGET-stage3-binutils = $(TARGET-binutils)
4999 all-stage3-binutils: configure-stage3-binutils
5000 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5001 @r=`${PWD_COMMAND}`; export r; \
5002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5003 TFLAGS="$(STAGE3_TFLAGS)"; \
5004 $(HOST_EXPORTS) \
5005 $(POSTSTAGE1_HOST_EXPORTS) \
5006 cd $(HOST_SUBDIR)/binutils && \
5007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5008 CFLAGS="$(STAGE3_CFLAGS)" \
5009 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5010 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5015 TFLAGS="$(STAGE3_TFLAGS)" \
5016 $(TARGET-stage3-binutils)
5018 maybe-clean-stage3-binutils: clean-stage3-binutils
5019 clean-stage3: clean-stage3-binutils
5020 clean-stage3-binutils:
5021 @if [ $(current_stage) = stage3 ]; then \
5022 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5023 else \
5024 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5025 $(MAKE) stage3-start; \
5026 fi; \
5027 cd $(HOST_SUBDIR)/binutils && \
5028 $(MAKE) $(EXTRA_HOST_FLAGS) \
5029 $(POSTSTAGE1_FLAGS_TO_PASS) \
5030 clean
5031 @endif binutils-bootstrap
5034 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5035 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5036 maybe-all-stage4-binutils:
5037 maybe-clean-stage4-binutils:
5038 @if binutils-bootstrap
5039 maybe-all-stage4-binutils: all-stage4-binutils
5040 all-stage4: all-stage4-binutils
5041 TARGET-stage4-binutils = $(TARGET-binutils)
5042 all-stage4-binutils: configure-stage4-binutils
5043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5044 @r=`${PWD_COMMAND}`; export r; \
5045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5046 TFLAGS="$(STAGE4_TFLAGS)"; \
5047 $(HOST_EXPORTS) \
5048 $(POSTSTAGE1_HOST_EXPORTS) \
5049 cd $(HOST_SUBDIR)/binutils && \
5050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5051 CFLAGS="$(STAGE4_CFLAGS)" \
5052 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5053 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5058 TFLAGS="$(STAGE4_TFLAGS)" \
5059 $(TARGET-stage4-binutils)
5061 maybe-clean-stage4-binutils: clean-stage4-binutils
5062 clean-stage4: clean-stage4-binutils
5063 clean-stage4-binutils:
5064 @if [ $(current_stage) = stage4 ]; then \
5065 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5066 else \
5067 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5068 $(MAKE) stage4-start; \
5069 fi; \
5070 cd $(HOST_SUBDIR)/binutils && \
5071 $(MAKE) $(EXTRA_HOST_FLAGS) \
5072 $(POSTSTAGE1_FLAGS_TO_PASS) \
5073 clean
5074 @endif binutils-bootstrap
5077 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5078 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5079 maybe-all-stageprofile-binutils:
5080 maybe-clean-stageprofile-binutils:
5081 @if binutils-bootstrap
5082 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5083 all-stageprofile: all-stageprofile-binutils
5084 TARGET-stageprofile-binutils = $(TARGET-binutils)
5085 all-stageprofile-binutils: configure-stageprofile-binutils
5086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5087 @r=`${PWD_COMMAND}`; export r; \
5088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5089 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5090 $(HOST_EXPORTS) \
5091 $(POSTSTAGE1_HOST_EXPORTS) \
5092 cd $(HOST_SUBDIR)/binutils && \
5093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5094 CFLAGS="$(STAGEprofile_CFLAGS)" \
5095 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5096 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5101 TFLAGS="$(STAGEprofile_TFLAGS)" \
5102 $(TARGET-stageprofile-binutils)
5104 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5105 clean-stageprofile: clean-stageprofile-binutils
5106 clean-stageprofile-binutils:
5107 @if [ $(current_stage) = stageprofile ]; then \
5108 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5109 else \
5110 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5111 $(MAKE) stageprofile-start; \
5112 fi; \
5113 cd $(HOST_SUBDIR)/binutils && \
5114 $(MAKE) $(EXTRA_HOST_FLAGS) \
5115 $(POSTSTAGE1_FLAGS_TO_PASS) \
5116 clean
5117 @endif binutils-bootstrap
5120 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5121 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5122 maybe-all-stagefeedback-binutils:
5123 maybe-clean-stagefeedback-binutils:
5124 @if binutils-bootstrap
5125 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5126 all-stagefeedback: all-stagefeedback-binutils
5127 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5128 all-stagefeedback-binutils: configure-stagefeedback-binutils
5129 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5130 @r=`${PWD_COMMAND}`; export r; \
5131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5132 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5133 $(HOST_EXPORTS) \
5134 $(POSTSTAGE1_HOST_EXPORTS) \
5135 cd $(HOST_SUBDIR)/binutils && \
5136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5137 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5138 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5139 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5144 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5145 $(TARGET-stagefeedback-binutils)
5147 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5148 clean-stagefeedback: clean-stagefeedback-binutils
5149 clean-stagefeedback-binutils:
5150 @if [ $(current_stage) = stagefeedback ]; then \
5151 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5152 else \
5153 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5154 $(MAKE) stagefeedback-start; \
5155 fi; \
5156 cd $(HOST_SUBDIR)/binutils && \
5157 $(MAKE) $(EXTRA_HOST_FLAGS) \
5158 $(POSTSTAGE1_FLAGS_TO_PASS) \
5159 clean
5160 @endif binutils-bootstrap
5166 .PHONY: check-binutils maybe-check-binutils
5167 maybe-check-binutils:
5168 @if binutils
5169 maybe-check-binutils: check-binutils
5171 check-binutils:
5172 @: $(MAKE); $(unstage)
5173 @r=`${PWD_COMMAND}`; export r; \
5174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 $(HOST_EXPORTS) \
5176 (cd $(HOST_SUBDIR)/binutils && \
5177 $(MAKE) $(FLAGS_TO_PASS) check)
5179 @endif binutils
5181 .PHONY: install-binutils maybe-install-binutils
5182 maybe-install-binutils:
5183 @if binutils
5184 maybe-install-binutils: install-binutils
5186 install-binutils: installdirs
5187 @: $(MAKE); $(unstage)
5188 @r=`${PWD_COMMAND}`; export r; \
5189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5190 $(HOST_EXPORTS) \
5191 (cd $(HOST_SUBDIR)/binutils && \
5192 $(MAKE) $(FLAGS_TO_PASS) install)
5194 @endif binutils
5196 .PHONY: install-strip-binutils maybe-install-strip-binutils
5197 maybe-install-strip-binutils:
5198 @if binutils
5199 maybe-install-strip-binutils: install-strip-binutils
5201 install-strip-binutils: installdirs
5202 @: $(MAKE); $(unstage)
5203 @r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205 $(HOST_EXPORTS) \
5206 (cd $(HOST_SUBDIR)/binutils && \
5207 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5209 @endif binutils
5211 # Other targets (info, dvi, pdf, etc.)
5213 .PHONY: maybe-info-binutils info-binutils
5214 maybe-info-binutils:
5215 @if binutils
5216 maybe-info-binutils: info-binutils
5218 info-binutils: \
5219 configure-binutils
5220 @[ -f ./binutils/Makefile ] || exit 0; \
5221 r=`${PWD_COMMAND}`; export r; \
5222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223 $(HOST_EXPORTS) \
5224 for flag in $(EXTRA_HOST_FLAGS) ; do \
5225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5226 done; \
5227 echo "Doing info in binutils" ; \
5228 (cd $(HOST_SUBDIR)/binutils && \
5229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5231 "RANLIB=$${RANLIB}" \
5232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5233 info) \
5234 || exit 1
5236 @endif binutils
5238 .PHONY: maybe-dvi-binutils dvi-binutils
5239 maybe-dvi-binutils:
5240 @if binutils
5241 maybe-dvi-binutils: dvi-binutils
5243 dvi-binutils: \
5244 configure-binutils
5245 @[ -f ./binutils/Makefile ] || exit 0; \
5246 r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 for flag in $(EXTRA_HOST_FLAGS) ; do \
5250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 done; \
5252 echo "Doing dvi in binutils" ; \
5253 (cd $(HOST_SUBDIR)/binutils && \
5254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5256 "RANLIB=$${RANLIB}" \
5257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5258 dvi) \
5259 || exit 1
5261 @endif binutils
5263 .PHONY: maybe-pdf-binutils pdf-binutils
5264 maybe-pdf-binutils:
5265 @if binutils
5266 maybe-pdf-binutils: pdf-binutils
5268 pdf-binutils: \
5269 configure-binutils
5270 @[ -f ./binutils/Makefile ] || exit 0; \
5271 r=`${PWD_COMMAND}`; export r; \
5272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5273 $(HOST_EXPORTS) \
5274 for flag in $(EXTRA_HOST_FLAGS) ; do \
5275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5276 done; \
5277 echo "Doing pdf in binutils" ; \
5278 (cd $(HOST_SUBDIR)/binutils && \
5279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5281 "RANLIB=$${RANLIB}" \
5282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5283 pdf) \
5284 || exit 1
5286 @endif binutils
5288 .PHONY: maybe-html-binutils html-binutils
5289 maybe-html-binutils:
5290 @if binutils
5291 maybe-html-binutils: html-binutils
5293 html-binutils: \
5294 configure-binutils
5295 @[ -f ./binutils/Makefile ] || exit 0; \
5296 r=`${PWD_COMMAND}`; export r; \
5297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5298 $(HOST_EXPORTS) \
5299 for flag in $(EXTRA_HOST_FLAGS) ; do \
5300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5301 done; \
5302 echo "Doing html in binutils" ; \
5303 (cd $(HOST_SUBDIR)/binutils && \
5304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5306 "RANLIB=$${RANLIB}" \
5307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5308 html) \
5309 || exit 1
5311 @endif binutils
5313 .PHONY: maybe-TAGS-binutils TAGS-binutils
5314 maybe-TAGS-binutils:
5315 @if binutils
5316 maybe-TAGS-binutils: TAGS-binutils
5318 TAGS-binutils: \
5319 configure-binutils
5320 @[ -f ./binutils/Makefile ] || exit 0; \
5321 r=`${PWD_COMMAND}`; export r; \
5322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5323 $(HOST_EXPORTS) \
5324 for flag in $(EXTRA_HOST_FLAGS) ; do \
5325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5326 done; \
5327 echo "Doing TAGS in binutils" ; \
5328 (cd $(HOST_SUBDIR)/binutils && \
5329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5331 "RANLIB=$${RANLIB}" \
5332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5333 TAGS) \
5334 || exit 1
5336 @endif binutils
5338 .PHONY: maybe-install-info-binutils install-info-binutils
5339 maybe-install-info-binutils:
5340 @if binutils
5341 maybe-install-info-binutils: install-info-binutils
5343 install-info-binutils: \
5344 configure-binutils \
5345 info-binutils
5346 @[ -f ./binutils/Makefile ] || exit 0; \
5347 r=`${PWD_COMMAND}`; export r; \
5348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5349 $(HOST_EXPORTS) \
5350 for flag in $(EXTRA_HOST_FLAGS) ; do \
5351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5352 done; \
5353 echo "Doing install-info in binutils" ; \
5354 (cd $(HOST_SUBDIR)/binutils && \
5355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5357 "RANLIB=$${RANLIB}" \
5358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5359 install-info) \
5360 || exit 1
5362 @endif binutils
5364 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5365 maybe-install-pdf-binutils:
5366 @if binutils
5367 maybe-install-pdf-binutils: install-pdf-binutils
5369 install-pdf-binutils: \
5370 configure-binutils \
5371 pdf-binutils
5372 @[ -f ./binutils/Makefile ] || exit 0; \
5373 r=`${PWD_COMMAND}`; export r; \
5374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5375 $(HOST_EXPORTS) \
5376 for flag in $(EXTRA_HOST_FLAGS) ; do \
5377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5378 done; \
5379 echo "Doing install-pdf in binutils" ; \
5380 (cd $(HOST_SUBDIR)/binutils && \
5381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5383 "RANLIB=$${RANLIB}" \
5384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5385 install-pdf) \
5386 || exit 1
5388 @endif binutils
5390 .PHONY: maybe-install-html-binutils install-html-binutils
5391 maybe-install-html-binutils:
5392 @if binutils
5393 maybe-install-html-binutils: install-html-binutils
5395 install-html-binutils: \
5396 configure-binutils \
5397 html-binutils
5398 @[ -f ./binutils/Makefile ] || exit 0; \
5399 r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) \
5402 for flag in $(EXTRA_HOST_FLAGS) ; do \
5403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 done; \
5405 echo "Doing install-html in binutils" ; \
5406 (cd $(HOST_SUBDIR)/binutils && \
5407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5409 "RANLIB=$${RANLIB}" \
5410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5411 install-html) \
5412 || exit 1
5414 @endif binutils
5416 .PHONY: maybe-installcheck-binutils installcheck-binutils
5417 maybe-installcheck-binutils:
5418 @if binutils
5419 maybe-installcheck-binutils: installcheck-binutils
5421 installcheck-binutils: \
5422 configure-binutils
5423 @[ -f ./binutils/Makefile ] || exit 0; \
5424 r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) \
5427 for flag in $(EXTRA_HOST_FLAGS) ; do \
5428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429 done; \
5430 echo "Doing installcheck in binutils" ; \
5431 (cd $(HOST_SUBDIR)/binutils && \
5432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5434 "RANLIB=$${RANLIB}" \
5435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5436 installcheck) \
5437 || exit 1
5439 @endif binutils
5441 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5442 maybe-mostlyclean-binutils:
5443 @if binutils
5444 maybe-mostlyclean-binutils: mostlyclean-binutils
5446 mostlyclean-binutils:
5447 @[ -f ./binutils/Makefile ] || exit 0; \
5448 r=`${PWD_COMMAND}`; export r; \
5449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5450 $(HOST_EXPORTS) \
5451 for flag in $(EXTRA_HOST_FLAGS) ; do \
5452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5453 done; \
5454 echo "Doing mostlyclean in binutils" ; \
5455 (cd $(HOST_SUBDIR)/binutils && \
5456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5458 "RANLIB=$${RANLIB}" \
5459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5460 mostlyclean) \
5461 || exit 1
5463 @endif binutils
5465 .PHONY: maybe-clean-binutils clean-binutils
5466 maybe-clean-binutils:
5467 @if binutils
5468 maybe-clean-binutils: clean-binutils
5470 clean-binutils:
5471 @[ -f ./binutils/Makefile ] || exit 0; \
5472 r=`${PWD_COMMAND}`; export r; \
5473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5474 $(HOST_EXPORTS) \
5475 for flag in $(EXTRA_HOST_FLAGS) ; do \
5476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5477 done; \
5478 echo "Doing clean in binutils" ; \
5479 (cd $(HOST_SUBDIR)/binutils && \
5480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5482 "RANLIB=$${RANLIB}" \
5483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5484 clean) \
5485 || exit 1
5487 @endif binutils
5489 .PHONY: maybe-distclean-binutils distclean-binutils
5490 maybe-distclean-binutils:
5491 @if binutils
5492 maybe-distclean-binutils: distclean-binutils
5494 distclean-binutils:
5495 @[ -f ./binutils/Makefile ] || exit 0; \
5496 r=`${PWD_COMMAND}`; export r; \
5497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5498 $(HOST_EXPORTS) \
5499 for flag in $(EXTRA_HOST_FLAGS) ; do \
5500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5501 done; \
5502 echo "Doing distclean in binutils" ; \
5503 (cd $(HOST_SUBDIR)/binutils && \
5504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5506 "RANLIB=$${RANLIB}" \
5507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5508 distclean) \
5509 || exit 1
5511 @endif binutils
5513 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5514 maybe-maintainer-clean-binutils:
5515 @if binutils
5516 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5518 maintainer-clean-binutils:
5519 @[ -f ./binutils/Makefile ] || exit 0; \
5520 r=`${PWD_COMMAND}`; export r; \
5521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5522 $(HOST_EXPORTS) \
5523 for flag in $(EXTRA_HOST_FLAGS) ; do \
5524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5525 done; \
5526 echo "Doing maintainer-clean in binutils" ; \
5527 (cd $(HOST_SUBDIR)/binutils && \
5528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5530 "RANLIB=$${RANLIB}" \
5531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5532 maintainer-clean) \
5533 || exit 1
5535 @endif binutils
5539 .PHONY: configure-bison maybe-configure-bison
5540 maybe-configure-bison:
5541 @if gcc-bootstrap
5542 configure-bison: stage_current
5543 @endif gcc-bootstrap
5544 @if bison
5545 maybe-configure-bison: configure-bison
5546 configure-bison:
5547 @: $(MAKE); $(unstage)
5548 @r=`${PWD_COMMAND}`; export r; \
5549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5552 $(HOST_EXPORTS) \
5553 echo Configuring in $(HOST_SUBDIR)/bison; \
5554 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5555 case $(srcdir) in \
5556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5557 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5559 esac; \
5560 srcdiroption="--srcdir=$${topdir}/bison"; \
5561 libsrcdir="$$s/bison"; \
5562 $(SHELL) $${libsrcdir}/configure \
5563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5564 --target=${target_alias} $${srcdiroption} \
5565 || exit 1
5566 @endif bison
5572 .PHONY: all-bison maybe-all-bison
5573 maybe-all-bison:
5574 @if gcc-bootstrap
5575 all-bison: stage_current
5576 @endif gcc-bootstrap
5577 @if bison
5578 TARGET-bison=all
5579 maybe-all-bison: all-bison
5580 all-bison: configure-bison
5581 @: $(MAKE); $(unstage)
5582 @r=`${PWD_COMMAND}`; export r; \
5583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5584 $(HOST_EXPORTS) \
5585 (cd $(HOST_SUBDIR)/bison && \
5586 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5587 $(TARGET-bison))
5588 @endif bison
5593 .PHONY: check-bison maybe-check-bison
5594 maybe-check-bison:
5595 @if bison
5596 maybe-check-bison: check-bison
5598 # This module is only tested in a native toolchain.
5599 check-bison:
5600 @: $(MAKE); $(unstage)
5601 @if [ '$(host)' = '$(target)' ] ; then \
5602 r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(HOST_EXPORTS) \
5605 (cd $(HOST_SUBDIR)/bison && \
5606 $(MAKE) $(FLAGS_TO_PASS) check); \
5609 @endif bison
5611 .PHONY: install-bison maybe-install-bison
5612 maybe-install-bison:
5613 @if bison
5614 maybe-install-bison: install-bison
5616 install-bison: installdirs
5617 @: $(MAKE); $(unstage)
5618 @r=`${PWD_COMMAND}`; export r; \
5619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5620 $(HOST_EXPORTS) \
5621 (cd $(HOST_SUBDIR)/bison && \
5622 $(MAKE) $(FLAGS_TO_PASS) install)
5624 @endif bison
5626 .PHONY: install-strip-bison maybe-install-strip-bison
5627 maybe-install-strip-bison:
5628 @if bison
5629 maybe-install-strip-bison: install-strip-bison
5631 install-strip-bison: installdirs
5632 @: $(MAKE); $(unstage)
5633 @r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5635 $(HOST_EXPORTS) \
5636 (cd $(HOST_SUBDIR)/bison && \
5637 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5639 @endif bison
5641 # Other targets (info, dvi, pdf, etc.)
5643 .PHONY: maybe-info-bison info-bison
5644 maybe-info-bison:
5645 @if bison
5646 maybe-info-bison: info-bison
5648 info-bison: \
5649 configure-bison
5650 @: $(MAKE); $(unstage)
5651 @[ -f ./bison/Makefile ] || exit 0; \
5652 r=`${PWD_COMMAND}`; export r; \
5653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5654 $(HOST_EXPORTS) \
5655 for flag in $(EXTRA_HOST_FLAGS) ; do \
5656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5657 done; \
5658 echo "Doing info in bison" ; \
5659 (cd $(HOST_SUBDIR)/bison && \
5660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5662 "RANLIB=$${RANLIB}" \
5663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5664 info) \
5665 || exit 1
5667 @endif bison
5669 .PHONY: maybe-dvi-bison dvi-bison
5670 maybe-dvi-bison:
5671 @if bison
5672 maybe-dvi-bison: dvi-bison
5674 dvi-bison: \
5675 configure-bison
5676 @: $(MAKE); $(unstage)
5677 @[ -f ./bison/Makefile ] || exit 0; \
5678 r=`${PWD_COMMAND}`; export r; \
5679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5680 $(HOST_EXPORTS) \
5681 for flag in $(EXTRA_HOST_FLAGS) ; do \
5682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5683 done; \
5684 echo "Doing dvi in bison" ; \
5685 (cd $(HOST_SUBDIR)/bison && \
5686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5688 "RANLIB=$${RANLIB}" \
5689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5690 dvi) \
5691 || exit 1
5693 @endif bison
5695 .PHONY: maybe-pdf-bison pdf-bison
5696 maybe-pdf-bison:
5697 @if bison
5698 maybe-pdf-bison: pdf-bison
5700 pdf-bison: \
5701 configure-bison
5702 @: $(MAKE); $(unstage)
5703 @[ -f ./bison/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(HOST_EXPORTS) \
5707 for flag in $(EXTRA_HOST_FLAGS) ; do \
5708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5709 done; \
5710 echo "Doing pdf in bison" ; \
5711 (cd $(HOST_SUBDIR)/bison && \
5712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5714 "RANLIB=$${RANLIB}" \
5715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5716 pdf) \
5717 || exit 1
5719 @endif bison
5721 .PHONY: maybe-html-bison html-bison
5722 maybe-html-bison:
5723 @if bison
5724 maybe-html-bison: html-bison
5726 html-bison: \
5727 configure-bison
5728 @: $(MAKE); $(unstage)
5729 @[ -f ./bison/Makefile ] || exit 0; \
5730 r=`${PWD_COMMAND}`; export r; \
5731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5732 $(HOST_EXPORTS) \
5733 for flag in $(EXTRA_HOST_FLAGS) ; do \
5734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5735 done; \
5736 echo "Doing html in bison" ; \
5737 (cd $(HOST_SUBDIR)/bison && \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740 "RANLIB=$${RANLIB}" \
5741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5742 html) \
5743 || exit 1
5745 @endif bison
5747 .PHONY: maybe-TAGS-bison TAGS-bison
5748 maybe-TAGS-bison:
5749 @if bison
5750 maybe-TAGS-bison: TAGS-bison
5752 TAGS-bison: \
5753 configure-bison
5754 @: $(MAKE); $(unstage)
5755 @[ -f ./bison/Makefile ] || exit 0; \
5756 r=`${PWD_COMMAND}`; export r; \
5757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5758 $(HOST_EXPORTS) \
5759 for flag in $(EXTRA_HOST_FLAGS) ; do \
5760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5761 done; \
5762 echo "Doing TAGS in bison" ; \
5763 (cd $(HOST_SUBDIR)/bison && \
5764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5766 "RANLIB=$${RANLIB}" \
5767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5768 TAGS) \
5769 || exit 1
5771 @endif bison
5773 .PHONY: maybe-install-info-bison install-info-bison
5774 maybe-install-info-bison:
5775 @if bison
5776 maybe-install-info-bison: install-info-bison
5778 install-info-bison: \
5779 configure-bison \
5780 info-bison
5781 @: $(MAKE); $(unstage)
5782 @[ -f ./bison/Makefile ] || exit 0; \
5783 r=`${PWD_COMMAND}`; export r; \
5784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5785 $(HOST_EXPORTS) \
5786 for flag in $(EXTRA_HOST_FLAGS) ; do \
5787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5788 done; \
5789 echo "Doing install-info in bison" ; \
5790 (cd $(HOST_SUBDIR)/bison && \
5791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5793 "RANLIB=$${RANLIB}" \
5794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5795 install-info) \
5796 || exit 1
5798 @endif bison
5800 .PHONY: maybe-install-pdf-bison install-pdf-bison
5801 maybe-install-pdf-bison:
5802 @if bison
5803 maybe-install-pdf-bison: install-pdf-bison
5805 install-pdf-bison: \
5806 configure-bison \
5807 pdf-bison
5808 @: $(MAKE); $(unstage)
5809 @[ -f ./bison/Makefile ] || exit 0; \
5810 r=`${PWD_COMMAND}`; export r; \
5811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5812 $(HOST_EXPORTS) \
5813 for flag in $(EXTRA_HOST_FLAGS) ; do \
5814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5815 done; \
5816 echo "Doing install-pdf in bison" ; \
5817 (cd $(HOST_SUBDIR)/bison && \
5818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5820 "RANLIB=$${RANLIB}" \
5821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5822 install-pdf) \
5823 || exit 1
5825 @endif bison
5827 .PHONY: maybe-install-html-bison install-html-bison
5828 maybe-install-html-bison:
5829 @if bison
5830 maybe-install-html-bison: install-html-bison
5832 install-html-bison: \
5833 configure-bison \
5834 html-bison
5835 @: $(MAKE); $(unstage)
5836 @[ -f ./bison/Makefile ] || exit 0; \
5837 r=`${PWD_COMMAND}`; export r; \
5838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5839 $(HOST_EXPORTS) \
5840 for flag in $(EXTRA_HOST_FLAGS) ; do \
5841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5842 done; \
5843 echo "Doing install-html in bison" ; \
5844 (cd $(HOST_SUBDIR)/bison && \
5845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5847 "RANLIB=$${RANLIB}" \
5848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5849 install-html) \
5850 || exit 1
5852 @endif bison
5854 .PHONY: maybe-installcheck-bison installcheck-bison
5855 maybe-installcheck-bison:
5856 @if bison
5857 maybe-installcheck-bison: installcheck-bison
5859 installcheck-bison: \
5860 configure-bison
5861 @: $(MAKE); $(unstage)
5862 @[ -f ./bison/Makefile ] || exit 0; \
5863 r=`${PWD_COMMAND}`; export r; \
5864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5865 $(HOST_EXPORTS) \
5866 for flag in $(EXTRA_HOST_FLAGS) ; do \
5867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5868 done; \
5869 echo "Doing installcheck in bison" ; \
5870 (cd $(HOST_SUBDIR)/bison && \
5871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5873 "RANLIB=$${RANLIB}" \
5874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5875 installcheck) \
5876 || exit 1
5878 @endif bison
5880 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5881 maybe-mostlyclean-bison:
5882 @if bison
5883 maybe-mostlyclean-bison: mostlyclean-bison
5885 mostlyclean-bison:
5886 @: $(MAKE); $(unstage)
5887 @[ -f ./bison/Makefile ] || exit 0; \
5888 r=`${PWD_COMMAND}`; export r; \
5889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5890 $(HOST_EXPORTS) \
5891 for flag in $(EXTRA_HOST_FLAGS) ; do \
5892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5893 done; \
5894 echo "Doing mostlyclean in bison" ; \
5895 (cd $(HOST_SUBDIR)/bison && \
5896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5898 "RANLIB=$${RANLIB}" \
5899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5900 mostlyclean) \
5901 || exit 1
5903 @endif bison
5905 .PHONY: maybe-clean-bison clean-bison
5906 maybe-clean-bison:
5907 @if bison
5908 maybe-clean-bison: clean-bison
5910 clean-bison:
5911 @: $(MAKE); $(unstage)
5912 @[ -f ./bison/Makefile ] || exit 0; \
5913 r=`${PWD_COMMAND}`; export r; \
5914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5915 $(HOST_EXPORTS) \
5916 for flag in $(EXTRA_HOST_FLAGS) ; do \
5917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5918 done; \
5919 echo "Doing clean in bison" ; \
5920 (cd $(HOST_SUBDIR)/bison && \
5921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5923 "RANLIB=$${RANLIB}" \
5924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5925 clean) \
5926 || exit 1
5928 @endif bison
5930 .PHONY: maybe-distclean-bison distclean-bison
5931 maybe-distclean-bison:
5932 @if bison
5933 maybe-distclean-bison: distclean-bison
5935 distclean-bison:
5936 @: $(MAKE); $(unstage)
5937 @[ -f ./bison/Makefile ] || exit 0; \
5938 r=`${PWD_COMMAND}`; export r; \
5939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5940 $(HOST_EXPORTS) \
5941 for flag in $(EXTRA_HOST_FLAGS) ; do \
5942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5943 done; \
5944 echo "Doing distclean in bison" ; \
5945 (cd $(HOST_SUBDIR)/bison && \
5946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5948 "RANLIB=$${RANLIB}" \
5949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5950 distclean) \
5951 || exit 1
5953 @endif bison
5955 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5956 maybe-maintainer-clean-bison:
5957 @if bison
5958 maybe-maintainer-clean-bison: maintainer-clean-bison
5960 maintainer-clean-bison:
5961 @: $(MAKE); $(unstage)
5962 @[ -f ./bison/Makefile ] || exit 0; \
5963 r=`${PWD_COMMAND}`; export r; \
5964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5965 $(HOST_EXPORTS) \
5966 for flag in $(EXTRA_HOST_FLAGS) ; do \
5967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5968 done; \
5969 echo "Doing maintainer-clean in bison" ; \
5970 (cd $(HOST_SUBDIR)/bison && \
5971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5973 "RANLIB=$${RANLIB}" \
5974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5975 maintainer-clean) \
5976 || exit 1
5978 @endif bison
5982 .PHONY: configure-cgen maybe-configure-cgen
5983 maybe-configure-cgen:
5984 @if gcc-bootstrap
5985 configure-cgen: stage_current
5986 @endif gcc-bootstrap
5987 @if cgen
5988 maybe-configure-cgen: configure-cgen
5989 configure-cgen:
5990 @: $(MAKE); $(unstage)
5991 @r=`${PWD_COMMAND}`; export r; \
5992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5993 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5995 $(HOST_EXPORTS) \
5996 echo Configuring in $(HOST_SUBDIR)/cgen; \
5997 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5998 case $(srcdir) in \
5999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6000 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6002 esac; \
6003 srcdiroption="--srcdir=$${topdir}/cgen"; \
6004 libsrcdir="$$s/cgen"; \
6005 $(SHELL) $${libsrcdir}/configure \
6006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6007 --target=${target_alias} $${srcdiroption} \
6008 || exit 1
6009 @endif cgen
6015 .PHONY: all-cgen maybe-all-cgen
6016 maybe-all-cgen:
6017 @if gcc-bootstrap
6018 all-cgen: stage_current
6019 @endif gcc-bootstrap
6020 @if cgen
6021 TARGET-cgen=all
6022 maybe-all-cgen: all-cgen
6023 all-cgen: configure-cgen
6024 @: $(MAKE); $(unstage)
6025 @r=`${PWD_COMMAND}`; export r; \
6026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6027 $(HOST_EXPORTS) \
6028 (cd $(HOST_SUBDIR)/cgen && \
6029 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6030 $(TARGET-cgen))
6031 @endif cgen
6036 .PHONY: check-cgen maybe-check-cgen
6037 maybe-check-cgen:
6038 @if cgen
6039 maybe-check-cgen: check-cgen
6041 check-cgen:
6042 @: $(MAKE); $(unstage)
6043 @r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 $(HOST_EXPORTS) \
6046 (cd $(HOST_SUBDIR)/cgen && \
6047 $(MAKE) $(FLAGS_TO_PASS) check)
6049 @endif cgen
6051 .PHONY: install-cgen maybe-install-cgen
6052 maybe-install-cgen:
6053 @if cgen
6054 maybe-install-cgen: install-cgen
6056 install-cgen: installdirs
6057 @: $(MAKE); $(unstage)
6058 @r=`${PWD_COMMAND}`; export r; \
6059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 $(HOST_EXPORTS) \
6061 (cd $(HOST_SUBDIR)/cgen && \
6062 $(MAKE) $(FLAGS_TO_PASS) install)
6064 @endif cgen
6066 .PHONY: install-strip-cgen maybe-install-strip-cgen
6067 maybe-install-strip-cgen:
6068 @if cgen
6069 maybe-install-strip-cgen: install-strip-cgen
6071 install-strip-cgen: installdirs
6072 @: $(MAKE); $(unstage)
6073 @r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 $(HOST_EXPORTS) \
6076 (cd $(HOST_SUBDIR)/cgen && \
6077 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6079 @endif cgen
6081 # Other targets (info, dvi, pdf, etc.)
6083 .PHONY: maybe-info-cgen info-cgen
6084 maybe-info-cgen:
6085 @if cgen
6086 maybe-info-cgen: info-cgen
6088 info-cgen: \
6089 configure-cgen
6090 @: $(MAKE); $(unstage)
6091 @[ -f ./cgen/Makefile ] || exit 0; \
6092 r=`${PWD_COMMAND}`; export r; \
6093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6094 $(HOST_EXPORTS) \
6095 for flag in $(EXTRA_HOST_FLAGS) ; do \
6096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6097 done; \
6098 echo "Doing info in cgen" ; \
6099 (cd $(HOST_SUBDIR)/cgen && \
6100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6102 "RANLIB=$${RANLIB}" \
6103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6104 info) \
6105 || exit 1
6107 @endif cgen
6109 .PHONY: maybe-dvi-cgen dvi-cgen
6110 maybe-dvi-cgen:
6111 @if cgen
6112 maybe-dvi-cgen: dvi-cgen
6114 dvi-cgen: \
6115 configure-cgen
6116 @: $(MAKE); $(unstage)
6117 @[ -f ./cgen/Makefile ] || exit 0; \
6118 r=`${PWD_COMMAND}`; export r; \
6119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6120 $(HOST_EXPORTS) \
6121 for flag in $(EXTRA_HOST_FLAGS) ; do \
6122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6123 done; \
6124 echo "Doing dvi in cgen" ; \
6125 (cd $(HOST_SUBDIR)/cgen && \
6126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6128 "RANLIB=$${RANLIB}" \
6129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6130 dvi) \
6131 || exit 1
6133 @endif cgen
6135 .PHONY: maybe-pdf-cgen pdf-cgen
6136 maybe-pdf-cgen:
6137 @if cgen
6138 maybe-pdf-cgen: pdf-cgen
6140 pdf-cgen: \
6141 configure-cgen
6142 @: $(MAKE); $(unstage)
6143 @[ -f ./cgen/Makefile ] || exit 0; \
6144 r=`${PWD_COMMAND}`; export r; \
6145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6146 $(HOST_EXPORTS) \
6147 for flag in $(EXTRA_HOST_FLAGS) ; do \
6148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6149 done; \
6150 echo "Doing pdf in cgen" ; \
6151 (cd $(HOST_SUBDIR)/cgen && \
6152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6154 "RANLIB=$${RANLIB}" \
6155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6156 pdf) \
6157 || exit 1
6159 @endif cgen
6161 .PHONY: maybe-html-cgen html-cgen
6162 maybe-html-cgen:
6163 @if cgen
6164 maybe-html-cgen: html-cgen
6166 html-cgen: \
6167 configure-cgen
6168 @: $(MAKE); $(unstage)
6169 @[ -f ./cgen/Makefile ] || exit 0; \
6170 r=`${PWD_COMMAND}`; export r; \
6171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6172 $(HOST_EXPORTS) \
6173 for flag in $(EXTRA_HOST_FLAGS) ; do \
6174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6175 done; \
6176 echo "Doing html in cgen" ; \
6177 (cd $(HOST_SUBDIR)/cgen && \
6178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6180 "RANLIB=$${RANLIB}" \
6181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6182 html) \
6183 || exit 1
6185 @endif cgen
6187 .PHONY: maybe-TAGS-cgen TAGS-cgen
6188 maybe-TAGS-cgen:
6189 @if cgen
6190 maybe-TAGS-cgen: TAGS-cgen
6192 TAGS-cgen: \
6193 configure-cgen
6194 @: $(MAKE); $(unstage)
6195 @[ -f ./cgen/Makefile ] || exit 0; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6198 $(HOST_EXPORTS) \
6199 for flag in $(EXTRA_HOST_FLAGS) ; do \
6200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6201 done; \
6202 echo "Doing TAGS in cgen" ; \
6203 (cd $(HOST_SUBDIR)/cgen && \
6204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6206 "RANLIB=$${RANLIB}" \
6207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6208 TAGS) \
6209 || exit 1
6211 @endif cgen
6213 .PHONY: maybe-install-info-cgen install-info-cgen
6214 maybe-install-info-cgen:
6215 @if cgen
6216 maybe-install-info-cgen: install-info-cgen
6218 install-info-cgen: \
6219 configure-cgen \
6220 info-cgen
6221 @: $(MAKE); $(unstage)
6222 @[ -f ./cgen/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(HOST_EXPORTS) \
6226 for flag in $(EXTRA_HOST_FLAGS) ; do \
6227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6228 done; \
6229 echo "Doing install-info in cgen" ; \
6230 (cd $(HOST_SUBDIR)/cgen && \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6235 install-info) \
6236 || exit 1
6238 @endif cgen
6240 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6241 maybe-install-pdf-cgen:
6242 @if cgen
6243 maybe-install-pdf-cgen: install-pdf-cgen
6245 install-pdf-cgen: \
6246 configure-cgen \
6247 pdf-cgen
6248 @: $(MAKE); $(unstage)
6249 @[ -f ./cgen/Makefile ] || exit 0; \
6250 r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 $(HOST_EXPORTS) \
6253 for flag in $(EXTRA_HOST_FLAGS) ; do \
6254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6255 done; \
6256 echo "Doing install-pdf in cgen" ; \
6257 (cd $(HOST_SUBDIR)/cgen && \
6258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6260 "RANLIB=$${RANLIB}" \
6261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6262 install-pdf) \
6263 || exit 1
6265 @endif cgen
6267 .PHONY: maybe-install-html-cgen install-html-cgen
6268 maybe-install-html-cgen:
6269 @if cgen
6270 maybe-install-html-cgen: install-html-cgen
6272 install-html-cgen: \
6273 configure-cgen \
6274 html-cgen
6275 @: $(MAKE); $(unstage)
6276 @[ -f ./cgen/Makefile ] || exit 0; \
6277 r=`${PWD_COMMAND}`; export r; \
6278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6279 $(HOST_EXPORTS) \
6280 for flag in $(EXTRA_HOST_FLAGS) ; do \
6281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6282 done; \
6283 echo "Doing install-html in cgen" ; \
6284 (cd $(HOST_SUBDIR)/cgen && \
6285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6287 "RANLIB=$${RANLIB}" \
6288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6289 install-html) \
6290 || exit 1
6292 @endif cgen
6294 .PHONY: maybe-installcheck-cgen installcheck-cgen
6295 maybe-installcheck-cgen:
6296 @if cgen
6297 maybe-installcheck-cgen: installcheck-cgen
6299 installcheck-cgen: \
6300 configure-cgen
6301 @: $(MAKE); $(unstage)
6302 @[ -f ./cgen/Makefile ] || exit 0; \
6303 r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(HOST_EXPORTS) \
6306 for flag in $(EXTRA_HOST_FLAGS) ; do \
6307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308 done; \
6309 echo "Doing installcheck in cgen" ; \
6310 (cd $(HOST_SUBDIR)/cgen && \
6311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313 "RANLIB=$${RANLIB}" \
6314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6315 installcheck) \
6316 || exit 1
6318 @endif cgen
6320 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6321 maybe-mostlyclean-cgen:
6322 @if cgen
6323 maybe-mostlyclean-cgen: mostlyclean-cgen
6325 mostlyclean-cgen:
6326 @: $(MAKE); $(unstage)
6327 @[ -f ./cgen/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(HOST_EXPORTS) \
6331 for flag in $(EXTRA_HOST_FLAGS) ; do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333 done; \
6334 echo "Doing mostlyclean in cgen" ; \
6335 (cd $(HOST_SUBDIR)/cgen && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6340 mostlyclean) \
6341 || exit 1
6343 @endif cgen
6345 .PHONY: maybe-clean-cgen clean-cgen
6346 maybe-clean-cgen:
6347 @if cgen
6348 maybe-clean-cgen: clean-cgen
6350 clean-cgen:
6351 @: $(MAKE); $(unstage)
6352 @[ -f ./cgen/Makefile ] || exit 0; \
6353 r=`${PWD_COMMAND}`; export r; \
6354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6355 $(HOST_EXPORTS) \
6356 for flag in $(EXTRA_HOST_FLAGS) ; do \
6357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6358 done; \
6359 echo "Doing clean in cgen" ; \
6360 (cd $(HOST_SUBDIR)/cgen && \
6361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6363 "RANLIB=$${RANLIB}" \
6364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6365 clean) \
6366 || exit 1
6368 @endif cgen
6370 .PHONY: maybe-distclean-cgen distclean-cgen
6371 maybe-distclean-cgen:
6372 @if cgen
6373 maybe-distclean-cgen: distclean-cgen
6375 distclean-cgen:
6376 @: $(MAKE); $(unstage)
6377 @[ -f ./cgen/Makefile ] || exit 0; \
6378 r=`${PWD_COMMAND}`; export r; \
6379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6380 $(HOST_EXPORTS) \
6381 for flag in $(EXTRA_HOST_FLAGS) ; do \
6382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6383 done; \
6384 echo "Doing distclean in cgen" ; \
6385 (cd $(HOST_SUBDIR)/cgen && \
6386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6388 "RANLIB=$${RANLIB}" \
6389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6390 distclean) \
6391 || exit 1
6393 @endif cgen
6395 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6396 maybe-maintainer-clean-cgen:
6397 @if cgen
6398 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6400 maintainer-clean-cgen:
6401 @: $(MAKE); $(unstage)
6402 @[ -f ./cgen/Makefile ] || exit 0; \
6403 r=`${PWD_COMMAND}`; export r; \
6404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6405 $(HOST_EXPORTS) \
6406 for flag in $(EXTRA_HOST_FLAGS) ; do \
6407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6408 done; \
6409 echo "Doing maintainer-clean in cgen" ; \
6410 (cd $(HOST_SUBDIR)/cgen && \
6411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6413 "RANLIB=$${RANLIB}" \
6414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6415 maintainer-clean) \
6416 || exit 1
6418 @endif cgen
6422 .PHONY: configure-dejagnu maybe-configure-dejagnu
6423 maybe-configure-dejagnu:
6424 @if gcc-bootstrap
6425 configure-dejagnu: stage_current
6426 @endif gcc-bootstrap
6427 @if dejagnu
6428 maybe-configure-dejagnu: configure-dejagnu
6429 configure-dejagnu:
6430 @: $(MAKE); $(unstage)
6431 @r=`${PWD_COMMAND}`; export r; \
6432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6433 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6435 $(HOST_EXPORTS) \
6436 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6437 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6438 case $(srcdir) in \
6439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6440 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6442 esac; \
6443 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6444 libsrcdir="$$s/dejagnu"; \
6445 $(SHELL) $${libsrcdir}/configure \
6446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6447 --target=${target_alias} $${srcdiroption} \
6448 || exit 1
6449 @endif dejagnu
6455 .PHONY: all-dejagnu maybe-all-dejagnu
6456 maybe-all-dejagnu:
6457 @if gcc-bootstrap
6458 all-dejagnu: stage_current
6459 @endif gcc-bootstrap
6460 @if dejagnu
6461 TARGET-dejagnu=all
6462 maybe-all-dejagnu: all-dejagnu
6463 all-dejagnu: configure-dejagnu
6464 @: $(MAKE); $(unstage)
6465 @r=`${PWD_COMMAND}`; export r; \
6466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6467 $(HOST_EXPORTS) \
6468 (cd $(HOST_SUBDIR)/dejagnu && \
6469 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6470 $(TARGET-dejagnu))
6471 @endif dejagnu
6476 .PHONY: check-dejagnu maybe-check-dejagnu
6477 maybe-check-dejagnu:
6478 @if dejagnu
6479 maybe-check-dejagnu: check-dejagnu
6481 check-dejagnu:
6482 @: $(MAKE); $(unstage)
6483 @r=`${PWD_COMMAND}`; export r; \
6484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6485 $(HOST_EXPORTS) \
6486 (cd $(HOST_SUBDIR)/dejagnu && \
6487 $(MAKE) $(FLAGS_TO_PASS) check)
6489 @endif dejagnu
6491 .PHONY: install-dejagnu maybe-install-dejagnu
6492 maybe-install-dejagnu:
6493 @if dejagnu
6494 maybe-install-dejagnu: install-dejagnu
6496 install-dejagnu: installdirs
6497 @: $(MAKE); $(unstage)
6498 @r=`${PWD_COMMAND}`; export r; \
6499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6500 $(HOST_EXPORTS) \
6501 (cd $(HOST_SUBDIR)/dejagnu && \
6502 $(MAKE) $(FLAGS_TO_PASS) install)
6504 @endif dejagnu
6506 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6507 maybe-install-strip-dejagnu:
6508 @if dejagnu
6509 maybe-install-strip-dejagnu: install-strip-dejagnu
6511 install-strip-dejagnu: installdirs
6512 @: $(MAKE); $(unstage)
6513 @r=`${PWD_COMMAND}`; export r; \
6514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6515 $(HOST_EXPORTS) \
6516 (cd $(HOST_SUBDIR)/dejagnu && \
6517 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6519 @endif dejagnu
6521 # Other targets (info, dvi, pdf, etc.)
6523 .PHONY: maybe-info-dejagnu info-dejagnu
6524 maybe-info-dejagnu:
6525 @if dejagnu
6526 maybe-info-dejagnu: info-dejagnu
6528 info-dejagnu: \
6529 configure-dejagnu
6530 @: $(MAKE); $(unstage)
6531 @[ -f ./dejagnu/Makefile ] || exit 0; \
6532 r=`${PWD_COMMAND}`; export r; \
6533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6534 $(HOST_EXPORTS) \
6535 for flag in $(EXTRA_HOST_FLAGS) ; do \
6536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6537 done; \
6538 echo "Doing info in dejagnu" ; \
6539 (cd $(HOST_SUBDIR)/dejagnu && \
6540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6542 "RANLIB=$${RANLIB}" \
6543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6544 info) \
6545 || exit 1
6547 @endif dejagnu
6549 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6550 maybe-dvi-dejagnu:
6551 @if dejagnu
6552 maybe-dvi-dejagnu: dvi-dejagnu
6554 dvi-dejagnu: \
6555 configure-dejagnu
6556 @: $(MAKE); $(unstage)
6557 @[ -f ./dejagnu/Makefile ] || exit 0; \
6558 r=`${PWD_COMMAND}`; export r; \
6559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6560 $(HOST_EXPORTS) \
6561 for flag in $(EXTRA_HOST_FLAGS) ; do \
6562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6563 done; \
6564 echo "Doing dvi in dejagnu" ; \
6565 (cd $(HOST_SUBDIR)/dejagnu && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6568 "RANLIB=$${RANLIB}" \
6569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6570 dvi) \
6571 || exit 1
6573 @endif dejagnu
6575 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6576 maybe-pdf-dejagnu:
6577 @if dejagnu
6578 maybe-pdf-dejagnu: pdf-dejagnu
6580 pdf-dejagnu: \
6581 configure-dejagnu
6582 @: $(MAKE); $(unstage)
6583 @[ -f ./dejagnu/Makefile ] || exit 0; \
6584 r=`${PWD_COMMAND}`; export r; \
6585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6586 $(HOST_EXPORTS) \
6587 for flag in $(EXTRA_HOST_FLAGS) ; do \
6588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 done; \
6590 echo "Doing pdf in dejagnu" ; \
6591 (cd $(HOST_SUBDIR)/dejagnu && \
6592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6594 "RANLIB=$${RANLIB}" \
6595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6596 pdf) \
6597 || exit 1
6599 @endif dejagnu
6601 .PHONY: maybe-html-dejagnu html-dejagnu
6602 maybe-html-dejagnu:
6603 @if dejagnu
6604 maybe-html-dejagnu: html-dejagnu
6606 html-dejagnu: \
6607 configure-dejagnu
6608 @: $(MAKE); $(unstage)
6609 @[ -f ./dejagnu/Makefile ] || exit 0; \
6610 r=`${PWD_COMMAND}`; export r; \
6611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6612 $(HOST_EXPORTS) \
6613 for flag in $(EXTRA_HOST_FLAGS) ; do \
6614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6615 done; \
6616 echo "Doing html in dejagnu" ; \
6617 (cd $(HOST_SUBDIR)/dejagnu && \
6618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6620 "RANLIB=$${RANLIB}" \
6621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6622 html) \
6623 || exit 1
6625 @endif dejagnu
6627 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6628 maybe-TAGS-dejagnu:
6629 @if dejagnu
6630 maybe-TAGS-dejagnu: TAGS-dejagnu
6632 TAGS-dejagnu: \
6633 configure-dejagnu
6634 @: $(MAKE); $(unstage)
6635 @[ -f ./dejagnu/Makefile ] || exit 0; \
6636 r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(HOST_EXPORTS) \
6639 for flag in $(EXTRA_HOST_FLAGS) ; do \
6640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6641 done; \
6642 echo "Doing TAGS in dejagnu" ; \
6643 (cd $(HOST_SUBDIR)/dejagnu && \
6644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6646 "RANLIB=$${RANLIB}" \
6647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6648 TAGS) \
6649 || exit 1
6651 @endif dejagnu
6653 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6654 maybe-install-info-dejagnu:
6655 @if dejagnu
6656 maybe-install-info-dejagnu: install-info-dejagnu
6658 install-info-dejagnu: \
6659 configure-dejagnu \
6660 info-dejagnu
6661 @: $(MAKE); $(unstage)
6662 @[ -f ./dejagnu/Makefile ] || exit 0; \
6663 r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665 $(HOST_EXPORTS) \
6666 for flag in $(EXTRA_HOST_FLAGS) ; do \
6667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6668 done; \
6669 echo "Doing install-info in dejagnu" ; \
6670 (cd $(HOST_SUBDIR)/dejagnu && \
6671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6673 "RANLIB=$${RANLIB}" \
6674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6675 install-info) \
6676 || exit 1
6678 @endif dejagnu
6680 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6681 maybe-install-pdf-dejagnu:
6682 @if dejagnu
6683 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6685 install-pdf-dejagnu: \
6686 configure-dejagnu \
6687 pdf-dejagnu
6688 @: $(MAKE); $(unstage)
6689 @[ -f ./dejagnu/Makefile ] || exit 0; \
6690 r=`${PWD_COMMAND}`; export r; \
6691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6692 $(HOST_EXPORTS) \
6693 for flag in $(EXTRA_HOST_FLAGS) ; do \
6694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6695 done; \
6696 echo "Doing install-pdf in dejagnu" ; \
6697 (cd $(HOST_SUBDIR)/dejagnu && \
6698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6700 "RANLIB=$${RANLIB}" \
6701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6702 install-pdf) \
6703 || exit 1
6705 @endif dejagnu
6707 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6708 maybe-install-html-dejagnu:
6709 @if dejagnu
6710 maybe-install-html-dejagnu: install-html-dejagnu
6712 install-html-dejagnu: \
6713 configure-dejagnu \
6714 html-dejagnu
6715 @: $(MAKE); $(unstage)
6716 @[ -f ./dejagnu/Makefile ] || exit 0; \
6717 r=`${PWD_COMMAND}`; export r; \
6718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6719 $(HOST_EXPORTS) \
6720 for flag in $(EXTRA_HOST_FLAGS) ; do \
6721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6722 done; \
6723 echo "Doing install-html in dejagnu" ; \
6724 (cd $(HOST_SUBDIR)/dejagnu && \
6725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6727 "RANLIB=$${RANLIB}" \
6728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6729 install-html) \
6730 || exit 1
6732 @endif dejagnu
6734 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6735 maybe-installcheck-dejagnu:
6736 @if dejagnu
6737 maybe-installcheck-dejagnu: installcheck-dejagnu
6739 installcheck-dejagnu: \
6740 configure-dejagnu
6741 @: $(MAKE); $(unstage)
6742 @[ -f ./dejagnu/Makefile ] || exit 0; \
6743 r=`${PWD_COMMAND}`; export r; \
6744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6745 $(HOST_EXPORTS) \
6746 for flag in $(EXTRA_HOST_FLAGS) ; do \
6747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6748 done; \
6749 echo "Doing installcheck in dejagnu" ; \
6750 (cd $(HOST_SUBDIR)/dejagnu && \
6751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6753 "RANLIB=$${RANLIB}" \
6754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6755 installcheck) \
6756 || exit 1
6758 @endif dejagnu
6760 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6761 maybe-mostlyclean-dejagnu:
6762 @if dejagnu
6763 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6765 mostlyclean-dejagnu:
6766 @: $(MAKE); $(unstage)
6767 @[ -f ./dejagnu/Makefile ] || exit 0; \
6768 r=`${PWD_COMMAND}`; export r; \
6769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6770 $(HOST_EXPORTS) \
6771 for flag in $(EXTRA_HOST_FLAGS) ; do \
6772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6773 done; \
6774 echo "Doing mostlyclean in dejagnu" ; \
6775 (cd $(HOST_SUBDIR)/dejagnu && \
6776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6778 "RANLIB=$${RANLIB}" \
6779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6780 mostlyclean) \
6781 || exit 1
6783 @endif dejagnu
6785 .PHONY: maybe-clean-dejagnu clean-dejagnu
6786 maybe-clean-dejagnu:
6787 @if dejagnu
6788 maybe-clean-dejagnu: clean-dejagnu
6790 clean-dejagnu:
6791 @: $(MAKE); $(unstage)
6792 @[ -f ./dejagnu/Makefile ] || exit 0; \
6793 r=`${PWD_COMMAND}`; export r; \
6794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6795 $(HOST_EXPORTS) \
6796 for flag in $(EXTRA_HOST_FLAGS) ; do \
6797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6798 done; \
6799 echo "Doing clean in dejagnu" ; \
6800 (cd $(HOST_SUBDIR)/dejagnu && \
6801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6803 "RANLIB=$${RANLIB}" \
6804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6805 clean) \
6806 || exit 1
6808 @endif dejagnu
6810 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6811 maybe-distclean-dejagnu:
6812 @if dejagnu
6813 maybe-distclean-dejagnu: distclean-dejagnu
6815 distclean-dejagnu:
6816 @: $(MAKE); $(unstage)
6817 @[ -f ./dejagnu/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(HOST_EXPORTS) \
6821 for flag in $(EXTRA_HOST_FLAGS) ; do \
6822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6823 done; \
6824 echo "Doing distclean in dejagnu" ; \
6825 (cd $(HOST_SUBDIR)/dejagnu && \
6826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828 "RANLIB=$${RANLIB}" \
6829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6830 distclean) \
6831 || exit 1
6833 @endif dejagnu
6835 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6836 maybe-maintainer-clean-dejagnu:
6837 @if dejagnu
6838 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6840 maintainer-clean-dejagnu:
6841 @: $(MAKE); $(unstage)
6842 @[ -f ./dejagnu/Makefile ] || exit 0; \
6843 r=`${PWD_COMMAND}`; export r; \
6844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845 $(HOST_EXPORTS) \
6846 for flag in $(EXTRA_HOST_FLAGS) ; do \
6847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6848 done; \
6849 echo "Doing maintainer-clean in dejagnu" ; \
6850 (cd $(HOST_SUBDIR)/dejagnu && \
6851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6853 "RANLIB=$${RANLIB}" \
6854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6855 maintainer-clean) \
6856 || exit 1
6858 @endif dejagnu
6862 .PHONY: configure-etc maybe-configure-etc
6863 maybe-configure-etc:
6864 @if gcc-bootstrap
6865 configure-etc: stage_current
6866 @endif gcc-bootstrap
6867 @if etc
6868 maybe-configure-etc: configure-etc
6869 configure-etc:
6870 @: $(MAKE); $(unstage)
6871 @r=`${PWD_COMMAND}`; export r; \
6872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6873 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6875 $(HOST_EXPORTS) \
6876 echo Configuring in $(HOST_SUBDIR)/etc; \
6877 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6878 case $(srcdir) in \
6879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6880 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6882 esac; \
6883 srcdiroption="--srcdir=$${topdir}/etc"; \
6884 libsrcdir="$$s/etc"; \
6885 $(SHELL) $${libsrcdir}/configure \
6886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6887 --target=${target_alias} $${srcdiroption} \
6888 || exit 1
6889 @endif etc
6895 .PHONY: all-etc maybe-all-etc
6896 maybe-all-etc:
6897 @if gcc-bootstrap
6898 all-etc: stage_current
6899 @endif gcc-bootstrap
6900 @if etc
6901 TARGET-etc=all
6902 maybe-all-etc: all-etc
6903 all-etc: configure-etc
6904 @: $(MAKE); $(unstage)
6905 @r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 $(HOST_EXPORTS) \
6908 (cd $(HOST_SUBDIR)/etc && \
6909 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6910 $(TARGET-etc))
6911 @endif etc
6916 .PHONY: check-etc maybe-check-etc
6917 maybe-check-etc:
6918 @if etc
6919 maybe-check-etc: check-etc
6921 check-etc:
6922 @: $(MAKE); $(unstage)
6923 @r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(HOST_EXPORTS) \
6926 (cd $(HOST_SUBDIR)/etc && \
6927 $(MAKE) $(FLAGS_TO_PASS) check)
6929 @endif etc
6931 .PHONY: install-etc maybe-install-etc
6932 maybe-install-etc:
6933 @if etc
6934 maybe-install-etc: install-etc
6936 install-etc: installdirs
6937 @: $(MAKE); $(unstage)
6938 @r=`${PWD_COMMAND}`; export r; \
6939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6940 $(HOST_EXPORTS) \
6941 (cd $(HOST_SUBDIR)/etc && \
6942 $(MAKE) $(FLAGS_TO_PASS) install)
6944 @endif etc
6946 .PHONY: install-strip-etc maybe-install-strip-etc
6947 maybe-install-strip-etc:
6948 @if etc
6949 maybe-install-strip-etc: install-strip-etc
6951 install-strip-etc: installdirs
6952 @: $(MAKE); $(unstage)
6953 @r=`${PWD_COMMAND}`; export r; \
6954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6955 $(HOST_EXPORTS) \
6956 (cd $(HOST_SUBDIR)/etc && \
6957 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6959 @endif etc
6961 # Other targets (info, dvi, pdf, etc.)
6963 .PHONY: maybe-info-etc info-etc
6964 maybe-info-etc:
6965 @if etc
6966 maybe-info-etc: info-etc
6968 info-etc: \
6969 configure-etc
6970 @: $(MAKE); $(unstage)
6971 @[ -f ./etc/Makefile ] || exit 0; \
6972 r=`${PWD_COMMAND}`; export r; \
6973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6974 $(HOST_EXPORTS) \
6975 for flag in $(EXTRA_HOST_FLAGS) ; do \
6976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6977 done; \
6978 echo "Doing info in etc" ; \
6979 (cd $(HOST_SUBDIR)/etc && \
6980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6982 "RANLIB=$${RANLIB}" \
6983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6984 info) \
6985 || exit 1
6987 @endif etc
6989 .PHONY: maybe-dvi-etc dvi-etc
6990 maybe-dvi-etc:
6991 @if etc
6992 maybe-dvi-etc: dvi-etc
6994 dvi-etc: \
6995 configure-etc
6996 @: $(MAKE); $(unstage)
6997 @[ -f ./etc/Makefile ] || exit 0; \
6998 r=`${PWD_COMMAND}`; export r; \
6999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7000 $(HOST_EXPORTS) \
7001 for flag in $(EXTRA_HOST_FLAGS) ; do \
7002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7003 done; \
7004 echo "Doing dvi in etc" ; \
7005 (cd $(HOST_SUBDIR)/etc && \
7006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7008 "RANLIB=$${RANLIB}" \
7009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7010 dvi) \
7011 || exit 1
7013 @endif etc
7015 .PHONY: maybe-pdf-etc pdf-etc
7016 maybe-pdf-etc:
7017 @if etc
7018 maybe-pdf-etc: pdf-etc
7020 pdf-etc: \
7021 configure-etc
7022 @: $(MAKE); $(unstage)
7023 @[ -f ./etc/Makefile ] || exit 0; \
7024 r=`${PWD_COMMAND}`; export r; \
7025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7026 $(HOST_EXPORTS) \
7027 for flag in $(EXTRA_HOST_FLAGS) ; do \
7028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7029 done; \
7030 echo "Doing pdf in etc" ; \
7031 (cd $(HOST_SUBDIR)/etc && \
7032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7034 "RANLIB=$${RANLIB}" \
7035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7036 pdf) \
7037 || exit 1
7039 @endif etc
7041 .PHONY: maybe-html-etc html-etc
7042 maybe-html-etc:
7043 @if etc
7044 maybe-html-etc: html-etc
7046 html-etc: \
7047 configure-etc
7048 @: $(MAKE); $(unstage)
7049 @[ -f ./etc/Makefile ] || exit 0; \
7050 r=`${PWD_COMMAND}`; export r; \
7051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7052 $(HOST_EXPORTS) \
7053 for flag in $(EXTRA_HOST_FLAGS) ; do \
7054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7055 done; \
7056 echo "Doing html in etc" ; \
7057 (cd $(HOST_SUBDIR)/etc && \
7058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7060 "RANLIB=$${RANLIB}" \
7061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7062 html) \
7063 || exit 1
7065 @endif etc
7067 .PHONY: maybe-TAGS-etc TAGS-etc
7068 maybe-TAGS-etc:
7069 @if etc
7070 maybe-TAGS-etc: TAGS-etc
7072 TAGS-etc: \
7073 configure-etc
7074 @: $(MAKE); $(unstage)
7075 @[ -f ./etc/Makefile ] || exit 0; \
7076 r=`${PWD_COMMAND}`; export r; \
7077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7078 $(HOST_EXPORTS) \
7079 for flag in $(EXTRA_HOST_FLAGS) ; do \
7080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7081 done; \
7082 echo "Doing TAGS in etc" ; \
7083 (cd $(HOST_SUBDIR)/etc && \
7084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7086 "RANLIB=$${RANLIB}" \
7087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7088 TAGS) \
7089 || exit 1
7091 @endif etc
7093 .PHONY: maybe-install-info-etc install-info-etc
7094 maybe-install-info-etc:
7095 @if etc
7096 maybe-install-info-etc: install-info-etc
7098 install-info-etc: \
7099 configure-etc \
7100 info-etc
7101 @: $(MAKE); $(unstage)
7102 @[ -f ./etc/Makefile ] || exit 0; \
7103 r=`${PWD_COMMAND}`; export r; \
7104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7105 $(HOST_EXPORTS) \
7106 for flag in $(EXTRA_HOST_FLAGS) ; do \
7107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7108 done; \
7109 echo "Doing install-info in etc" ; \
7110 (cd $(HOST_SUBDIR)/etc && \
7111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7113 "RANLIB=$${RANLIB}" \
7114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7115 install-info) \
7116 || exit 1
7118 @endif etc
7120 .PHONY: maybe-install-pdf-etc install-pdf-etc
7121 maybe-install-pdf-etc:
7122 @if etc
7123 maybe-install-pdf-etc: install-pdf-etc
7125 install-pdf-etc: \
7126 configure-etc \
7127 pdf-etc
7128 @: $(MAKE); $(unstage)
7129 @[ -f ./etc/Makefile ] || exit 0; \
7130 r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 $(HOST_EXPORTS) \
7133 for flag in $(EXTRA_HOST_FLAGS) ; do \
7134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 done; \
7136 echo "Doing install-pdf in etc" ; \
7137 (cd $(HOST_SUBDIR)/etc && \
7138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7140 "RANLIB=$${RANLIB}" \
7141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7142 install-pdf) \
7143 || exit 1
7145 @endif etc
7147 .PHONY: maybe-install-html-etc install-html-etc
7148 maybe-install-html-etc:
7149 @if etc
7150 maybe-install-html-etc: install-html-etc
7152 install-html-etc: \
7153 configure-etc \
7154 html-etc
7155 @: $(MAKE); $(unstage)
7156 @[ -f ./etc/Makefile ] || exit 0; \
7157 r=`${PWD_COMMAND}`; export r; \
7158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7159 $(HOST_EXPORTS) \
7160 for flag in $(EXTRA_HOST_FLAGS) ; do \
7161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7162 done; \
7163 echo "Doing install-html in etc" ; \
7164 (cd $(HOST_SUBDIR)/etc && \
7165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7167 "RANLIB=$${RANLIB}" \
7168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7169 install-html) \
7170 || exit 1
7172 @endif etc
7174 .PHONY: maybe-installcheck-etc installcheck-etc
7175 maybe-installcheck-etc:
7176 @if etc
7177 maybe-installcheck-etc: installcheck-etc
7179 installcheck-etc: \
7180 configure-etc
7181 @: $(MAKE); $(unstage)
7182 @[ -f ./etc/Makefile ] || exit 0; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 for flag in $(EXTRA_HOST_FLAGS) ; do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7188 done; \
7189 echo "Doing installcheck in etc" ; \
7190 (cd $(HOST_SUBDIR)/etc && \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7195 installcheck) \
7196 || exit 1
7198 @endif etc
7200 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7201 maybe-mostlyclean-etc:
7202 @if etc
7203 maybe-mostlyclean-etc: mostlyclean-etc
7205 mostlyclean-etc:
7206 @: $(MAKE); $(unstage)
7207 @[ -f ./etc/Makefile ] || exit 0; \
7208 r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210 $(HOST_EXPORTS) \
7211 for flag in $(EXTRA_HOST_FLAGS) ; do \
7212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7213 done; \
7214 echo "Doing mostlyclean in etc" ; \
7215 (cd $(HOST_SUBDIR)/etc && \
7216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7218 "RANLIB=$${RANLIB}" \
7219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7220 mostlyclean) \
7221 || exit 1
7223 @endif etc
7225 .PHONY: maybe-clean-etc clean-etc
7226 maybe-clean-etc:
7227 @if etc
7228 maybe-clean-etc: clean-etc
7230 clean-etc:
7231 @: $(MAKE); $(unstage)
7232 @[ -f ./etc/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 $(HOST_EXPORTS) \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 done; \
7239 echo "Doing clean in etc" ; \
7240 (cd $(HOST_SUBDIR)/etc && \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7245 clean) \
7246 || exit 1
7248 @endif etc
7250 .PHONY: maybe-distclean-etc distclean-etc
7251 maybe-distclean-etc:
7252 @if etc
7253 maybe-distclean-etc: distclean-etc
7255 distclean-etc:
7256 @: $(MAKE); $(unstage)
7257 @[ -f ./etc/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(HOST_EXPORTS) \
7261 for flag in $(EXTRA_HOST_FLAGS) ; do \
7262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7263 done; \
7264 echo "Doing distclean in etc" ; \
7265 (cd $(HOST_SUBDIR)/etc && \
7266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7268 "RANLIB=$${RANLIB}" \
7269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7270 distclean) \
7271 || exit 1
7273 @endif etc
7275 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7276 maybe-maintainer-clean-etc:
7277 @if etc
7278 maybe-maintainer-clean-etc: maintainer-clean-etc
7280 maintainer-clean-etc:
7281 @: $(MAKE); $(unstage)
7282 @[ -f ./etc/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing maintainer-clean in etc" ; \
7290 (cd $(HOST_SUBDIR)/etc && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7295 maintainer-clean) \
7296 || exit 1
7298 @endif etc
7302 .PHONY: configure-fastjar maybe-configure-fastjar
7303 maybe-configure-fastjar:
7304 @if gcc-bootstrap
7305 configure-fastjar: stage_current
7306 @endif gcc-bootstrap
7307 @if fastjar
7308 maybe-configure-fastjar: configure-fastjar
7309 configure-fastjar:
7310 @: $(MAKE); $(unstage)
7311 @r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7315 $(HOST_EXPORTS) \
7316 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7317 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7318 case $(srcdir) in \
7319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7320 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7322 esac; \
7323 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7324 libsrcdir="$$s/fastjar"; \
7325 $(SHELL) $${libsrcdir}/configure \
7326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7327 --target=${target_alias} $${srcdiroption} \
7328 || exit 1
7329 @endif fastjar
7335 .PHONY: all-fastjar maybe-all-fastjar
7336 maybe-all-fastjar:
7337 @if gcc-bootstrap
7338 all-fastjar: stage_current
7339 @endif gcc-bootstrap
7340 @if fastjar
7341 TARGET-fastjar=all
7342 maybe-all-fastjar: all-fastjar
7343 all-fastjar: configure-fastjar
7344 @: $(MAKE); $(unstage)
7345 @r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347 $(HOST_EXPORTS) \
7348 (cd $(HOST_SUBDIR)/fastjar && \
7349 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7350 $(TARGET-fastjar))
7351 @endif fastjar
7356 .PHONY: check-fastjar maybe-check-fastjar
7357 maybe-check-fastjar:
7358 @if fastjar
7359 maybe-check-fastjar: check-fastjar
7361 # This module is only tested in a native toolchain.
7362 check-fastjar:
7363 @: $(MAKE); $(unstage)
7364 @if [ '$(host)' = '$(target)' ] ; then \
7365 r=`${PWD_COMMAND}`; export r; \
7366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7367 $(HOST_EXPORTS) \
7368 (cd $(HOST_SUBDIR)/fastjar && \
7369 $(MAKE) $(FLAGS_TO_PASS) check); \
7372 @endif fastjar
7374 .PHONY: install-fastjar maybe-install-fastjar
7375 maybe-install-fastjar:
7376 @if fastjar
7377 maybe-install-fastjar: install-fastjar
7379 install-fastjar: installdirs
7380 @: $(MAKE); $(unstage)
7381 @r=`${PWD_COMMAND}`; export r; \
7382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383 $(HOST_EXPORTS) \
7384 (cd $(HOST_SUBDIR)/fastjar && \
7385 $(MAKE) $(FLAGS_TO_PASS) install)
7387 @endif fastjar
7389 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7390 maybe-install-strip-fastjar:
7391 @if fastjar
7392 maybe-install-strip-fastjar: install-strip-fastjar
7394 install-strip-fastjar: installdirs
7395 @: $(MAKE); $(unstage)
7396 @r=`${PWD_COMMAND}`; export r; \
7397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7398 $(HOST_EXPORTS) \
7399 (cd $(HOST_SUBDIR)/fastjar && \
7400 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7402 @endif fastjar
7404 # Other targets (info, dvi, pdf, etc.)
7406 .PHONY: maybe-info-fastjar info-fastjar
7407 maybe-info-fastjar:
7408 @if fastjar
7409 maybe-info-fastjar: info-fastjar
7411 info-fastjar: \
7412 configure-fastjar
7413 @: $(MAKE); $(unstage)
7414 @[ -f ./fastjar/Makefile ] || exit 0; \
7415 r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 $(HOST_EXPORTS) \
7418 for flag in $(EXTRA_HOST_FLAGS) ; do \
7419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7420 done; \
7421 echo "Doing info in fastjar" ; \
7422 (cd $(HOST_SUBDIR)/fastjar && \
7423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7425 "RANLIB=$${RANLIB}" \
7426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7427 info) \
7428 || exit 1
7430 @endif fastjar
7432 .PHONY: maybe-dvi-fastjar dvi-fastjar
7433 maybe-dvi-fastjar:
7434 @if fastjar
7435 maybe-dvi-fastjar: dvi-fastjar
7437 dvi-fastjar: \
7438 configure-fastjar
7439 @: $(MAKE); $(unstage)
7440 @[ -f ./fastjar/Makefile ] || exit 0; \
7441 r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing dvi in fastjar" ; \
7448 (cd $(HOST_SUBDIR)/fastjar && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7453 dvi) \
7454 || exit 1
7456 @endif fastjar
7458 .PHONY: maybe-pdf-fastjar pdf-fastjar
7459 maybe-pdf-fastjar:
7460 @if fastjar
7461 maybe-pdf-fastjar: pdf-fastjar
7463 pdf-fastjar: \
7464 configure-fastjar
7465 @: $(MAKE); $(unstage)
7466 @[ -f ./fastjar/Makefile ] || exit 0; \
7467 r=`${PWD_COMMAND}`; export r; \
7468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7469 $(HOST_EXPORTS) \
7470 for flag in $(EXTRA_HOST_FLAGS) ; do \
7471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7472 done; \
7473 echo "Doing pdf in fastjar" ; \
7474 (cd $(HOST_SUBDIR)/fastjar && \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7477 "RANLIB=$${RANLIB}" \
7478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7479 pdf) \
7480 || exit 1
7482 @endif fastjar
7484 .PHONY: maybe-html-fastjar html-fastjar
7485 maybe-html-fastjar:
7486 @if fastjar
7487 maybe-html-fastjar: html-fastjar
7489 html-fastjar: \
7490 configure-fastjar
7491 @: $(MAKE); $(unstage)
7492 @[ -f ./fastjar/Makefile ] || exit 0; \
7493 r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(HOST_EXPORTS) \
7496 for flag in $(EXTRA_HOST_FLAGS) ; do \
7497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 done; \
7499 echo "Doing html in fastjar" ; \
7500 (cd $(HOST_SUBDIR)/fastjar && \
7501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7503 "RANLIB=$${RANLIB}" \
7504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7505 html) \
7506 || exit 1
7508 @endif fastjar
7510 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7511 maybe-TAGS-fastjar:
7512 @if fastjar
7513 maybe-TAGS-fastjar: TAGS-fastjar
7515 TAGS-fastjar: \
7516 configure-fastjar
7517 @: $(MAKE); $(unstage)
7518 @[ -f ./fastjar/Makefile ] || exit 0; \
7519 r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing TAGS in fastjar" ; \
7526 (cd $(HOST_SUBDIR)/fastjar && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7531 TAGS) \
7532 || exit 1
7534 @endif fastjar
7536 .PHONY: maybe-install-info-fastjar install-info-fastjar
7537 maybe-install-info-fastjar:
7538 @if fastjar
7539 maybe-install-info-fastjar: install-info-fastjar
7541 install-info-fastjar: \
7542 configure-fastjar \
7543 info-fastjar
7544 @: $(MAKE); $(unstage)
7545 @[ -f ./fastjar/Makefile ] || exit 0; \
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 for flag in $(EXTRA_HOST_FLAGS) ; do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing install-info in fastjar" ; \
7553 (cd $(HOST_SUBDIR)/fastjar && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7558 install-info) \
7559 || exit 1
7561 @endif fastjar
7563 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7564 maybe-install-pdf-fastjar:
7565 @if fastjar
7566 maybe-install-pdf-fastjar: install-pdf-fastjar
7568 install-pdf-fastjar: \
7569 configure-fastjar \
7570 pdf-fastjar
7571 @: $(MAKE); $(unstage)
7572 @[ -f ./fastjar/Makefile ] || exit 0; \
7573 r=`${PWD_COMMAND}`; export r; \
7574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7575 $(HOST_EXPORTS) \
7576 for flag in $(EXTRA_HOST_FLAGS) ; do \
7577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7578 done; \
7579 echo "Doing install-pdf in fastjar" ; \
7580 (cd $(HOST_SUBDIR)/fastjar && \
7581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7583 "RANLIB=$${RANLIB}" \
7584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7585 install-pdf) \
7586 || exit 1
7588 @endif fastjar
7590 .PHONY: maybe-install-html-fastjar install-html-fastjar
7591 maybe-install-html-fastjar:
7592 @if fastjar
7593 maybe-install-html-fastjar: install-html-fastjar
7595 install-html-fastjar: \
7596 configure-fastjar \
7597 html-fastjar
7598 @: $(MAKE); $(unstage)
7599 @[ -f ./fastjar/Makefile ] || exit 0; \
7600 r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 $(HOST_EXPORTS) \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605 done; \
7606 echo "Doing install-html in fastjar" ; \
7607 (cd $(HOST_SUBDIR)/fastjar && \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7612 install-html) \
7613 || exit 1
7615 @endif fastjar
7617 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7618 maybe-installcheck-fastjar:
7619 @if fastjar
7620 maybe-installcheck-fastjar: installcheck-fastjar
7622 installcheck-fastjar: \
7623 configure-fastjar
7624 @: $(MAKE); $(unstage)
7625 @[ -f ./fastjar/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 for flag in $(EXTRA_HOST_FLAGS) ; do \
7630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 done; \
7632 echo "Doing installcheck in fastjar" ; \
7633 (cd $(HOST_SUBDIR)/fastjar && \
7634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636 "RANLIB=$${RANLIB}" \
7637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7638 installcheck) \
7639 || exit 1
7641 @endif fastjar
7643 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7644 maybe-mostlyclean-fastjar:
7645 @if fastjar
7646 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7648 mostlyclean-fastjar:
7649 @: $(MAKE); $(unstage)
7650 @[ -f ./fastjar/Makefile ] || exit 0; \
7651 r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(HOST_EXPORTS) \
7654 for flag in $(EXTRA_HOST_FLAGS) ; do \
7655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 done; \
7657 echo "Doing mostlyclean in fastjar" ; \
7658 (cd $(HOST_SUBDIR)/fastjar && \
7659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7661 "RANLIB=$${RANLIB}" \
7662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7663 mostlyclean) \
7664 || exit 1
7666 @endif fastjar
7668 .PHONY: maybe-clean-fastjar clean-fastjar
7669 maybe-clean-fastjar:
7670 @if fastjar
7671 maybe-clean-fastjar: clean-fastjar
7673 clean-fastjar:
7674 @: $(MAKE); $(unstage)
7675 @[ -f ./fastjar/Makefile ] || exit 0; \
7676 r=`${PWD_COMMAND}`; export r; \
7677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7678 $(HOST_EXPORTS) \
7679 for flag in $(EXTRA_HOST_FLAGS) ; do \
7680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7681 done; \
7682 echo "Doing clean in fastjar" ; \
7683 (cd $(HOST_SUBDIR)/fastjar && \
7684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7686 "RANLIB=$${RANLIB}" \
7687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7688 clean) \
7689 || exit 1
7691 @endif fastjar
7693 .PHONY: maybe-distclean-fastjar distclean-fastjar
7694 maybe-distclean-fastjar:
7695 @if fastjar
7696 maybe-distclean-fastjar: distclean-fastjar
7698 distclean-fastjar:
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./fastjar/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing distclean in fastjar" ; \
7708 (cd $(HOST_SUBDIR)/fastjar && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7713 distclean) \
7714 || exit 1
7716 @endif fastjar
7718 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7719 maybe-maintainer-clean-fastjar:
7720 @if fastjar
7721 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7723 maintainer-clean-fastjar:
7724 @: $(MAKE); $(unstage)
7725 @[ -f ./fastjar/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(HOST_EXPORTS) \
7729 for flag in $(EXTRA_HOST_FLAGS) ; do \
7730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7731 done; \
7732 echo "Doing maintainer-clean in fastjar" ; \
7733 (cd $(HOST_SUBDIR)/fastjar && \
7734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7736 "RANLIB=$${RANLIB}" \
7737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7738 maintainer-clean) \
7739 || exit 1
7741 @endif fastjar
7745 .PHONY: configure-fixincludes maybe-configure-fixincludes
7746 maybe-configure-fixincludes:
7747 @if gcc-bootstrap
7748 configure-fixincludes: stage_current
7749 @endif gcc-bootstrap
7750 @if fixincludes
7751 maybe-configure-fixincludes: configure-fixincludes
7752 configure-fixincludes:
7753 @: $(MAKE); $(unstage)
7754 @r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7758 $(HOST_EXPORTS) \
7759 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7760 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7761 case $(srcdir) in \
7762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7763 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7765 esac; \
7766 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7767 libsrcdir="$$s/fixincludes"; \
7768 $(SHELL) $${libsrcdir}/configure \
7769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7770 --target=${target_alias} $${srcdiroption} \
7771 || exit 1
7772 @endif fixincludes
7778 .PHONY: all-fixincludes maybe-all-fixincludes
7779 maybe-all-fixincludes:
7780 @if gcc-bootstrap
7781 all-fixincludes: stage_current
7782 @endif gcc-bootstrap
7783 @if fixincludes
7784 TARGET-fixincludes=all
7785 maybe-all-fixincludes: all-fixincludes
7786 all-fixincludes: configure-fixincludes
7787 @: $(MAKE); $(unstage)
7788 @r=`${PWD_COMMAND}`; export r; \
7789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7790 $(HOST_EXPORTS) \
7791 (cd $(HOST_SUBDIR)/fixincludes && \
7792 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7793 $(TARGET-fixincludes))
7794 @endif fixincludes
7799 .PHONY: check-fixincludes maybe-check-fixincludes
7800 maybe-check-fixincludes:
7801 @if fixincludes
7802 maybe-check-fixincludes: check-fixincludes
7804 check-fixincludes:
7805 @: $(MAKE); $(unstage)
7806 @r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 (cd $(HOST_SUBDIR)/fixincludes && \
7810 $(MAKE) $(FLAGS_TO_PASS) check)
7812 @endif fixincludes
7814 .PHONY: install-fixincludes maybe-install-fixincludes
7815 maybe-install-fixincludes:
7816 @if fixincludes
7817 maybe-install-fixincludes: install-fixincludes
7819 install-fixincludes: installdirs
7820 @: $(MAKE); $(unstage)
7821 @r=`${PWD_COMMAND}`; export r; \
7822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7823 $(HOST_EXPORTS) \
7824 (cd $(HOST_SUBDIR)/fixincludes && \
7825 $(MAKE) $(FLAGS_TO_PASS) install)
7827 @endif fixincludes
7829 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7830 maybe-install-strip-fixincludes:
7831 @if fixincludes
7832 maybe-install-strip-fixincludes: install-strip-fixincludes
7834 install-strip-fixincludes: installdirs
7835 @: $(MAKE); $(unstage)
7836 @r=`${PWD_COMMAND}`; export r; \
7837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7838 $(HOST_EXPORTS) \
7839 (cd $(HOST_SUBDIR)/fixincludes && \
7840 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7842 @endif fixincludes
7844 # Other targets (info, dvi, pdf, etc.)
7846 .PHONY: maybe-info-fixincludes info-fixincludes
7847 maybe-info-fixincludes:
7848 @if fixincludes
7849 maybe-info-fixincludes: info-fixincludes
7851 info-fixincludes: \
7852 configure-fixincludes
7853 @: $(MAKE); $(unstage)
7854 @[ -f ./fixincludes/Makefile ] || exit 0; \
7855 r=`${PWD_COMMAND}`; export r; \
7856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7857 $(HOST_EXPORTS) \
7858 for flag in $(EXTRA_HOST_FLAGS) ; do \
7859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7860 done; \
7861 echo "Doing info in fixincludes" ; \
7862 (cd $(HOST_SUBDIR)/fixincludes && \
7863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7865 "RANLIB=$${RANLIB}" \
7866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7867 info) \
7868 || exit 1
7870 @endif fixincludes
7872 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7873 maybe-dvi-fixincludes:
7874 @if fixincludes
7875 maybe-dvi-fixincludes: dvi-fixincludes
7877 dvi-fixincludes: \
7878 configure-fixincludes
7879 @: $(MAKE); $(unstage)
7880 @[ -f ./fixincludes/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 for flag in $(EXTRA_HOST_FLAGS) ; do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886 done; \
7887 echo "Doing dvi in fixincludes" ; \
7888 (cd $(HOST_SUBDIR)/fixincludes && \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7893 dvi) \
7894 || exit 1
7896 @endif fixincludes
7898 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7899 maybe-pdf-fixincludes:
7900 @if fixincludes
7901 maybe-pdf-fixincludes: pdf-fixincludes
7903 pdf-fixincludes: \
7904 configure-fixincludes
7905 @: $(MAKE); $(unstage)
7906 @[ -f ./fixincludes/Makefile ] || exit 0; \
7907 r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS) ; do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing pdf in fixincludes" ; \
7914 (cd $(HOST_SUBDIR)/fixincludes && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7919 pdf) \
7920 || exit 1
7922 @endif fixincludes
7924 .PHONY: maybe-html-fixincludes html-fixincludes
7925 maybe-html-fixincludes:
7926 @if fixincludes
7927 maybe-html-fixincludes: html-fixincludes
7929 html-fixincludes: \
7930 configure-fixincludes
7931 @: $(MAKE); $(unstage)
7932 @[ -f ./fixincludes/Makefile ] || exit 0; \
7933 r=`${PWD_COMMAND}`; export r; \
7934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7935 $(HOST_EXPORTS) \
7936 for flag in $(EXTRA_HOST_FLAGS) ; do \
7937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7938 done; \
7939 echo "Doing html in fixincludes" ; \
7940 (cd $(HOST_SUBDIR)/fixincludes && \
7941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7943 "RANLIB=$${RANLIB}" \
7944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7945 html) \
7946 || exit 1
7948 @endif fixincludes
7950 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7951 maybe-TAGS-fixincludes:
7952 @if fixincludes
7953 maybe-TAGS-fixincludes: TAGS-fixincludes
7955 # fixincludes doesn't support TAGS.
7956 TAGS-fixincludes:
7958 @endif fixincludes
7960 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7961 maybe-install-info-fixincludes:
7962 @if fixincludes
7963 maybe-install-info-fixincludes: install-info-fixincludes
7965 install-info-fixincludes: \
7966 configure-fixincludes \
7967 info-fixincludes
7968 @: $(MAKE); $(unstage)
7969 @[ -f ./fixincludes/Makefile ] || exit 0; \
7970 r=`${PWD_COMMAND}`; export r; \
7971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7972 $(HOST_EXPORTS) \
7973 for flag in $(EXTRA_HOST_FLAGS) ; do \
7974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7975 done; \
7976 echo "Doing install-info in fixincludes" ; \
7977 (cd $(HOST_SUBDIR)/fixincludes && \
7978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7980 "RANLIB=$${RANLIB}" \
7981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7982 install-info) \
7983 || exit 1
7985 @endif fixincludes
7987 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7988 maybe-install-pdf-fixincludes:
7989 @if fixincludes
7990 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7992 install-pdf-fixincludes: \
7993 configure-fixincludes \
7994 pdf-fixincludes
7995 @: $(MAKE); $(unstage)
7996 @[ -f ./fixincludes/Makefile ] || exit 0; \
7997 r=`${PWD_COMMAND}`; export r; \
7998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 $(HOST_EXPORTS) \
8000 for flag in $(EXTRA_HOST_FLAGS) ; do \
8001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8002 done; \
8003 echo "Doing install-pdf in fixincludes" ; \
8004 (cd $(HOST_SUBDIR)/fixincludes && \
8005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8007 "RANLIB=$${RANLIB}" \
8008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8009 install-pdf) \
8010 || exit 1
8012 @endif fixincludes
8014 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8015 maybe-install-html-fixincludes:
8016 @if fixincludes
8017 maybe-install-html-fixincludes: install-html-fixincludes
8019 install-html-fixincludes: \
8020 configure-fixincludes \
8021 html-fixincludes
8022 @: $(MAKE); $(unstage)
8023 @[ -f ./fixincludes/Makefile ] || exit 0; \
8024 r=`${PWD_COMMAND}`; export r; \
8025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8026 $(HOST_EXPORTS) \
8027 for flag in $(EXTRA_HOST_FLAGS) ; do \
8028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8029 done; \
8030 echo "Doing install-html in fixincludes" ; \
8031 (cd $(HOST_SUBDIR)/fixincludes && \
8032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8034 "RANLIB=$${RANLIB}" \
8035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8036 install-html) \
8037 || exit 1
8039 @endif fixincludes
8041 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8042 maybe-installcheck-fixincludes:
8043 @if fixincludes
8044 maybe-installcheck-fixincludes: installcheck-fixincludes
8046 installcheck-fixincludes: \
8047 configure-fixincludes
8048 @: $(MAKE); $(unstage)
8049 @[ -f ./fixincludes/Makefile ] || exit 0; \
8050 r=`${PWD_COMMAND}`; export r; \
8051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8052 $(HOST_EXPORTS) \
8053 for flag in $(EXTRA_HOST_FLAGS) ; do \
8054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8055 done; \
8056 echo "Doing installcheck in fixincludes" ; \
8057 (cd $(HOST_SUBDIR)/fixincludes && \
8058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8060 "RANLIB=$${RANLIB}" \
8061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8062 installcheck) \
8063 || exit 1
8065 @endif fixincludes
8067 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8068 maybe-mostlyclean-fixincludes:
8069 @if fixincludes
8070 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8072 mostlyclean-fixincludes:
8073 @: $(MAKE); $(unstage)
8074 @[ -f ./fixincludes/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 for flag in $(EXTRA_HOST_FLAGS) ; do \
8079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 done; \
8081 echo "Doing mostlyclean in fixincludes" ; \
8082 (cd $(HOST_SUBDIR)/fixincludes && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8085 "RANLIB=$${RANLIB}" \
8086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8087 mostlyclean) \
8088 || exit 1
8090 @endif fixincludes
8092 .PHONY: maybe-clean-fixincludes clean-fixincludes
8093 maybe-clean-fixincludes:
8094 @if fixincludes
8095 maybe-clean-fixincludes: clean-fixincludes
8097 clean-fixincludes:
8098 @: $(MAKE); $(unstage)
8099 @[ -f ./fixincludes/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing clean in fixincludes" ; \
8107 (cd $(HOST_SUBDIR)/fixincludes && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8112 clean) \
8113 || exit 1
8115 @endif fixincludes
8117 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8118 maybe-distclean-fixincludes:
8119 @if fixincludes
8120 maybe-distclean-fixincludes: distclean-fixincludes
8122 distclean-fixincludes:
8123 @: $(MAKE); $(unstage)
8124 @[ -f ./fixincludes/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS) ; do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing distclean in fixincludes" ; \
8132 (cd $(HOST_SUBDIR)/fixincludes && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8137 distclean) \
8138 || exit 1
8140 @endif fixincludes
8142 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8143 maybe-maintainer-clean-fixincludes:
8144 @if fixincludes
8145 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8147 maintainer-clean-fixincludes:
8148 @: $(MAKE); $(unstage)
8149 @[ -f ./fixincludes/Makefile ] || exit 0; \
8150 r=`${PWD_COMMAND}`; export r; \
8151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8152 $(HOST_EXPORTS) \
8153 for flag in $(EXTRA_HOST_FLAGS) ; do \
8154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8155 done; \
8156 echo "Doing maintainer-clean in fixincludes" ; \
8157 (cd $(HOST_SUBDIR)/fixincludes && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8160 "RANLIB=$${RANLIB}" \
8161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8162 maintainer-clean) \
8163 || exit 1
8165 @endif fixincludes
8169 .PHONY: configure-flex maybe-configure-flex
8170 maybe-configure-flex:
8171 @if gcc-bootstrap
8172 configure-flex: stage_current
8173 @endif gcc-bootstrap
8174 @if flex
8175 maybe-configure-flex: configure-flex
8176 configure-flex:
8177 @: $(MAKE); $(unstage)
8178 @r=`${PWD_COMMAND}`; export r; \
8179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8182 $(HOST_EXPORTS) \
8183 echo Configuring in $(HOST_SUBDIR)/flex; \
8184 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8185 case $(srcdir) in \
8186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8187 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8189 esac; \
8190 srcdiroption="--srcdir=$${topdir}/flex"; \
8191 libsrcdir="$$s/flex"; \
8192 $(SHELL) $${libsrcdir}/configure \
8193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8194 --target=${target_alias} $${srcdiroption} \
8195 || exit 1
8196 @endif flex
8202 .PHONY: all-flex maybe-all-flex
8203 maybe-all-flex:
8204 @if gcc-bootstrap
8205 all-flex: stage_current
8206 @endif gcc-bootstrap
8207 @if flex
8208 TARGET-flex=all
8209 maybe-all-flex: all-flex
8210 all-flex: configure-flex
8211 @: $(MAKE); $(unstage)
8212 @r=`${PWD_COMMAND}`; export r; \
8213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8214 $(HOST_EXPORTS) \
8215 (cd $(HOST_SUBDIR)/flex && \
8216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8217 $(TARGET-flex))
8218 @endif flex
8223 .PHONY: check-flex maybe-check-flex
8224 maybe-check-flex:
8225 @if flex
8226 maybe-check-flex: check-flex
8228 # This module is only tested in a native toolchain.
8229 check-flex:
8230 @: $(MAKE); $(unstage)
8231 @if [ '$(host)' = '$(target)' ] ; then \
8232 r=`${PWD_COMMAND}`; export r; \
8233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8234 $(HOST_EXPORTS) \
8235 (cd $(HOST_SUBDIR)/flex && \
8236 $(MAKE) $(FLAGS_TO_PASS) check); \
8239 @endif flex
8241 .PHONY: install-flex maybe-install-flex
8242 maybe-install-flex:
8243 @if flex
8244 maybe-install-flex: install-flex
8246 install-flex: installdirs
8247 @: $(MAKE); $(unstage)
8248 @r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(HOST_EXPORTS) \
8251 (cd $(HOST_SUBDIR)/flex && \
8252 $(MAKE) $(FLAGS_TO_PASS) install)
8254 @endif flex
8256 .PHONY: install-strip-flex maybe-install-strip-flex
8257 maybe-install-strip-flex:
8258 @if flex
8259 maybe-install-strip-flex: install-strip-flex
8261 install-strip-flex: installdirs
8262 @: $(MAKE); $(unstage)
8263 @r=`${PWD_COMMAND}`; export r; \
8264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8265 $(HOST_EXPORTS) \
8266 (cd $(HOST_SUBDIR)/flex && \
8267 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8269 @endif flex
8271 # Other targets (info, dvi, pdf, etc.)
8273 .PHONY: maybe-info-flex info-flex
8274 maybe-info-flex:
8275 @if flex
8276 maybe-info-flex: info-flex
8278 info-flex: \
8279 configure-flex
8280 @: $(MAKE); $(unstage)
8281 @[ -f ./flex/Makefile ] || exit 0; \
8282 r=`${PWD_COMMAND}`; export r; \
8283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8284 $(HOST_EXPORTS) \
8285 for flag in $(EXTRA_HOST_FLAGS) ; do \
8286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8287 done; \
8288 echo "Doing info in flex" ; \
8289 (cd $(HOST_SUBDIR)/flex && \
8290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8292 "RANLIB=$${RANLIB}" \
8293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8294 info) \
8295 || exit 1
8297 @endif flex
8299 .PHONY: maybe-dvi-flex dvi-flex
8300 maybe-dvi-flex:
8301 @if flex
8302 maybe-dvi-flex: dvi-flex
8304 dvi-flex: \
8305 configure-flex
8306 @: $(MAKE); $(unstage)
8307 @[ -f ./flex/Makefile ] || exit 0; \
8308 r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 $(HOST_EXPORTS) \
8311 for flag in $(EXTRA_HOST_FLAGS) ; do \
8312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8313 done; \
8314 echo "Doing dvi in flex" ; \
8315 (cd $(HOST_SUBDIR)/flex && \
8316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8318 "RANLIB=$${RANLIB}" \
8319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8320 dvi) \
8321 || exit 1
8323 @endif flex
8325 .PHONY: maybe-pdf-flex pdf-flex
8326 maybe-pdf-flex:
8327 @if flex
8328 maybe-pdf-flex: pdf-flex
8330 pdf-flex: \
8331 configure-flex
8332 @: $(MAKE); $(unstage)
8333 @[ -f ./flex/Makefile ] || exit 0; \
8334 r=`${PWD_COMMAND}`; export r; \
8335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8336 $(HOST_EXPORTS) \
8337 for flag in $(EXTRA_HOST_FLAGS) ; do \
8338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8339 done; \
8340 echo "Doing pdf in flex" ; \
8341 (cd $(HOST_SUBDIR)/flex && \
8342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344 "RANLIB=$${RANLIB}" \
8345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8346 pdf) \
8347 || exit 1
8349 @endif flex
8351 .PHONY: maybe-html-flex html-flex
8352 maybe-html-flex:
8353 @if flex
8354 maybe-html-flex: html-flex
8356 html-flex: \
8357 configure-flex
8358 @: $(MAKE); $(unstage)
8359 @[ -f ./flex/Makefile ] || exit 0; \
8360 r=`${PWD_COMMAND}`; export r; \
8361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8362 $(HOST_EXPORTS) \
8363 for flag in $(EXTRA_HOST_FLAGS) ; do \
8364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8365 done; \
8366 echo "Doing html in flex" ; \
8367 (cd $(HOST_SUBDIR)/flex && \
8368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8370 "RANLIB=$${RANLIB}" \
8371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8372 html) \
8373 || exit 1
8375 @endif flex
8377 .PHONY: maybe-TAGS-flex TAGS-flex
8378 maybe-TAGS-flex:
8379 @if flex
8380 maybe-TAGS-flex: TAGS-flex
8382 TAGS-flex: \
8383 configure-flex
8384 @: $(MAKE); $(unstage)
8385 @[ -f ./flex/Makefile ] || exit 0; \
8386 r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 $(HOST_EXPORTS) \
8389 for flag in $(EXTRA_HOST_FLAGS) ; do \
8390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8391 done; \
8392 echo "Doing TAGS in flex" ; \
8393 (cd $(HOST_SUBDIR)/flex && \
8394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8396 "RANLIB=$${RANLIB}" \
8397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8398 TAGS) \
8399 || exit 1
8401 @endif flex
8403 .PHONY: maybe-install-info-flex install-info-flex
8404 maybe-install-info-flex:
8405 @if flex
8406 maybe-install-info-flex: install-info-flex
8408 install-info-flex: \
8409 configure-flex \
8410 info-flex
8411 @: $(MAKE); $(unstage)
8412 @[ -f ./flex/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing install-info in flex" ; \
8420 (cd $(HOST_SUBDIR)/flex && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8425 install-info) \
8426 || exit 1
8428 @endif flex
8430 .PHONY: maybe-install-pdf-flex install-pdf-flex
8431 maybe-install-pdf-flex:
8432 @if flex
8433 maybe-install-pdf-flex: install-pdf-flex
8435 install-pdf-flex: \
8436 configure-flex \
8437 pdf-flex
8438 @: $(MAKE); $(unstage)
8439 @[ -f ./flex/Makefile ] || exit 0; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 for flag in $(EXTRA_HOST_FLAGS) ; do \
8444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 done; \
8446 echo "Doing install-pdf in flex" ; \
8447 (cd $(HOST_SUBDIR)/flex && \
8448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8450 "RANLIB=$${RANLIB}" \
8451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8452 install-pdf) \
8453 || exit 1
8455 @endif flex
8457 .PHONY: maybe-install-html-flex install-html-flex
8458 maybe-install-html-flex:
8459 @if flex
8460 maybe-install-html-flex: install-html-flex
8462 install-html-flex: \
8463 configure-flex \
8464 html-flex
8465 @: $(MAKE); $(unstage)
8466 @[ -f ./flex/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(HOST_EXPORTS) \
8470 for flag in $(EXTRA_HOST_FLAGS) ; do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8472 done; \
8473 echo "Doing install-html in flex" ; \
8474 (cd $(HOST_SUBDIR)/flex && \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8479 install-html) \
8480 || exit 1
8482 @endif flex
8484 .PHONY: maybe-installcheck-flex installcheck-flex
8485 maybe-installcheck-flex:
8486 @if flex
8487 maybe-installcheck-flex: installcheck-flex
8489 installcheck-flex: \
8490 configure-flex
8491 @: $(MAKE); $(unstage)
8492 @[ -f ./flex/Makefile ] || exit 0; \
8493 r=`${PWD_COMMAND}`; export r; \
8494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 $(HOST_EXPORTS) \
8496 for flag in $(EXTRA_HOST_FLAGS) ; do \
8497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8498 done; \
8499 echo "Doing installcheck in flex" ; \
8500 (cd $(HOST_SUBDIR)/flex && \
8501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8503 "RANLIB=$${RANLIB}" \
8504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8505 installcheck) \
8506 || exit 1
8508 @endif flex
8510 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8511 maybe-mostlyclean-flex:
8512 @if flex
8513 maybe-mostlyclean-flex: mostlyclean-flex
8515 mostlyclean-flex:
8516 @: $(MAKE); $(unstage)
8517 @[ -f ./flex/Makefile ] || exit 0; \
8518 r=`${PWD_COMMAND}`; export r; \
8519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8520 $(HOST_EXPORTS) \
8521 for flag in $(EXTRA_HOST_FLAGS) ; do \
8522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8523 done; \
8524 echo "Doing mostlyclean in flex" ; \
8525 (cd $(HOST_SUBDIR)/flex && \
8526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8528 "RANLIB=$${RANLIB}" \
8529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8530 mostlyclean) \
8531 || exit 1
8533 @endif flex
8535 .PHONY: maybe-clean-flex clean-flex
8536 maybe-clean-flex:
8537 @if flex
8538 maybe-clean-flex: clean-flex
8540 clean-flex:
8541 @: $(MAKE); $(unstage)
8542 @[ -f ./flex/Makefile ] || exit 0; \
8543 r=`${PWD_COMMAND}`; export r; \
8544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8545 $(HOST_EXPORTS) \
8546 for flag in $(EXTRA_HOST_FLAGS) ; do \
8547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8548 done; \
8549 echo "Doing clean in flex" ; \
8550 (cd $(HOST_SUBDIR)/flex && \
8551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8553 "RANLIB=$${RANLIB}" \
8554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8555 clean) \
8556 || exit 1
8558 @endif flex
8560 .PHONY: maybe-distclean-flex distclean-flex
8561 maybe-distclean-flex:
8562 @if flex
8563 maybe-distclean-flex: distclean-flex
8565 distclean-flex:
8566 @: $(MAKE); $(unstage)
8567 @[ -f ./flex/Makefile ] || exit 0; \
8568 r=`${PWD_COMMAND}`; export r; \
8569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570 $(HOST_EXPORTS) \
8571 for flag in $(EXTRA_HOST_FLAGS) ; do \
8572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8573 done; \
8574 echo "Doing distclean in flex" ; \
8575 (cd $(HOST_SUBDIR)/flex && \
8576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8578 "RANLIB=$${RANLIB}" \
8579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8580 distclean) \
8581 || exit 1
8583 @endif flex
8585 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8586 maybe-maintainer-clean-flex:
8587 @if flex
8588 maybe-maintainer-clean-flex: maintainer-clean-flex
8590 maintainer-clean-flex:
8591 @: $(MAKE); $(unstage)
8592 @[ -f ./flex/Makefile ] || exit 0; \
8593 r=`${PWD_COMMAND}`; export r; \
8594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595 $(HOST_EXPORTS) \
8596 for flag in $(EXTRA_HOST_FLAGS) ; do \
8597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8598 done; \
8599 echo "Doing maintainer-clean in flex" ; \
8600 (cd $(HOST_SUBDIR)/flex && \
8601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8603 "RANLIB=$${RANLIB}" \
8604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8605 maintainer-clean) \
8606 || exit 1
8608 @endif flex
8612 .PHONY: configure-gas maybe-configure-gas
8613 maybe-configure-gas:
8614 @if gcc-bootstrap
8615 configure-gas: stage_current
8616 @endif gcc-bootstrap
8617 @if gas
8618 maybe-configure-gas: configure-gas
8619 configure-gas:
8620 @r=`${PWD_COMMAND}`; export r; \
8621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8622 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8624 $(HOST_EXPORTS) \
8625 echo Configuring in $(HOST_SUBDIR)/gas; \
8626 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8627 case $(srcdir) in \
8628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8629 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8631 esac; \
8632 srcdiroption="--srcdir=$${topdir}/gas"; \
8633 libsrcdir="$$s/gas"; \
8634 $(SHELL) $${libsrcdir}/configure \
8635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8636 --target=${target_alias} $${srcdiroption} \
8637 || exit 1
8638 @endif gas
8642 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8643 maybe-configure-stage1-gas:
8644 @if gas-bootstrap
8645 maybe-configure-stage1-gas: configure-stage1-gas
8646 configure-stage1-gas:
8647 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8649 @r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 TFLAGS="$(STAGE1_TFLAGS)"; \
8652 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8653 $(HOST_EXPORTS) \
8654 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8655 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8656 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8657 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8659 cd $(HOST_SUBDIR)/gas || exit 1; \
8660 case $(srcdir) in \
8661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8662 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8664 esac; \
8665 srcdiroption="--srcdir=$${topdir}/gas"; \
8666 libsrcdir="$$s/gas"; \
8667 $(SHELL) $${libsrcdir}/configure \
8668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8669 --target=${target_alias} $${srcdiroption} \
8670 $(STAGE1_CONFIGURE_FLAGS)
8671 @endif gas-bootstrap
8673 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8674 maybe-configure-stage2-gas:
8675 @if gas-bootstrap
8676 maybe-configure-stage2-gas: configure-stage2-gas
8677 configure-stage2-gas:
8678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8680 @r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 TFLAGS="$(STAGE2_TFLAGS)"; \
8683 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8684 $(HOST_EXPORTS) \
8685 $(POSTSTAGE1_HOST_EXPORTS) \
8686 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8687 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8688 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8689 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8691 cd $(HOST_SUBDIR)/gas || exit 1; \
8692 case $(srcdir) in \
8693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8694 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8696 esac; \
8697 srcdiroption="--srcdir=$${topdir}/gas"; \
8698 libsrcdir="$$s/gas"; \
8699 $(SHELL) $${libsrcdir}/configure \
8700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8701 --target=${target_alias} $${srcdiroption} \
8702 --with-build-libsubdir=$(HOST_SUBDIR) \
8703 $(STAGE2_CONFIGURE_FLAGS)
8704 @endif gas-bootstrap
8706 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8707 maybe-configure-stage3-gas:
8708 @if gas-bootstrap
8709 maybe-configure-stage3-gas: configure-stage3-gas
8710 configure-stage3-gas:
8711 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8713 @r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 TFLAGS="$(STAGE3_TFLAGS)"; \
8716 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8717 $(HOST_EXPORTS) \
8718 $(POSTSTAGE1_HOST_EXPORTS) \
8719 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8720 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8721 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8722 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8724 cd $(HOST_SUBDIR)/gas || exit 1; \
8725 case $(srcdir) in \
8726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8727 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8729 esac; \
8730 srcdiroption="--srcdir=$${topdir}/gas"; \
8731 libsrcdir="$$s/gas"; \
8732 $(SHELL) $${libsrcdir}/configure \
8733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8734 --target=${target_alias} $${srcdiroption} \
8735 --with-build-libsubdir=$(HOST_SUBDIR) \
8736 $(STAGE3_CONFIGURE_FLAGS)
8737 @endif gas-bootstrap
8739 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8740 maybe-configure-stage4-gas:
8741 @if gas-bootstrap
8742 maybe-configure-stage4-gas: configure-stage4-gas
8743 configure-stage4-gas:
8744 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8746 @r=`${PWD_COMMAND}`; export r; \
8747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8748 TFLAGS="$(STAGE4_TFLAGS)"; \
8749 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8750 $(HOST_EXPORTS) \
8751 $(POSTSTAGE1_HOST_EXPORTS) \
8752 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8753 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8754 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8755 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8757 cd $(HOST_SUBDIR)/gas || exit 1; \
8758 case $(srcdir) in \
8759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8760 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8762 esac; \
8763 srcdiroption="--srcdir=$${topdir}/gas"; \
8764 libsrcdir="$$s/gas"; \
8765 $(SHELL) $${libsrcdir}/configure \
8766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8767 --target=${target_alias} $${srcdiroption} \
8768 --with-build-libsubdir=$(HOST_SUBDIR) \
8769 $(STAGE4_CONFIGURE_FLAGS)
8770 @endif gas-bootstrap
8772 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8773 maybe-configure-stageprofile-gas:
8774 @if gas-bootstrap
8775 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8776 configure-stageprofile-gas:
8777 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8778 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8779 @r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8781 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8782 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8783 $(HOST_EXPORTS) \
8784 $(POSTSTAGE1_HOST_EXPORTS) \
8785 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8786 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8787 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8788 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8790 cd $(HOST_SUBDIR)/gas || exit 1; \
8791 case $(srcdir) in \
8792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8793 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8795 esac; \
8796 srcdiroption="--srcdir=$${topdir}/gas"; \
8797 libsrcdir="$$s/gas"; \
8798 $(SHELL) $${libsrcdir}/configure \
8799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8800 --target=${target_alias} $${srcdiroption} \
8801 --with-build-libsubdir=$(HOST_SUBDIR) \
8802 $(STAGEprofile_CONFIGURE_FLAGS)
8803 @endif gas-bootstrap
8805 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8806 maybe-configure-stagefeedback-gas:
8807 @if gas-bootstrap
8808 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8809 configure-stagefeedback-gas:
8810 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8812 @r=`${PWD_COMMAND}`; export r; \
8813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8814 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8815 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8816 $(HOST_EXPORTS) \
8817 $(POSTSTAGE1_HOST_EXPORTS) \
8818 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8819 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8820 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8821 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8823 cd $(HOST_SUBDIR)/gas || exit 1; \
8824 case $(srcdir) in \
8825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8826 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8828 esac; \
8829 srcdiroption="--srcdir=$${topdir}/gas"; \
8830 libsrcdir="$$s/gas"; \
8831 $(SHELL) $${libsrcdir}/configure \
8832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8833 --target=${target_alias} $${srcdiroption} \
8834 --with-build-libsubdir=$(HOST_SUBDIR) \
8835 $(STAGEfeedback_CONFIGURE_FLAGS)
8836 @endif gas-bootstrap
8842 .PHONY: all-gas maybe-all-gas
8843 maybe-all-gas:
8844 @if gcc-bootstrap
8845 all-gas: stage_current
8846 @endif gcc-bootstrap
8847 @if gas
8848 TARGET-gas=all
8849 maybe-all-gas: all-gas
8850 all-gas: configure-gas
8851 @r=`${PWD_COMMAND}`; export r; \
8852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8853 $(HOST_EXPORTS) \
8854 (cd $(HOST_SUBDIR)/gas && \
8855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8856 $(TARGET-gas))
8857 @endif gas
8861 .PHONY: all-stage1-gas maybe-all-stage1-gas
8862 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8863 maybe-all-stage1-gas:
8864 maybe-clean-stage1-gas:
8865 @if gas-bootstrap
8866 maybe-all-stage1-gas: all-stage1-gas
8867 all-stage1: all-stage1-gas
8868 TARGET-stage1-gas = $(TARGET-gas)
8869 all-stage1-gas: configure-stage1-gas
8870 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8871 @r=`${PWD_COMMAND}`; export r; \
8872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8873 TFLAGS="$(STAGE1_TFLAGS)"; \
8874 $(HOST_EXPORTS) \
8875 cd $(HOST_SUBDIR)/gas && \
8876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8877 CFLAGS="$(STAGE1_CFLAGS)" \
8878 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8879 LIBCFLAGS="$(LIBCFLAGS)" \
8880 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8881 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8882 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8883 $(EXTRA_HOST_FLAGS) \
8884 TFLAGS="$(STAGE1_TFLAGS)" \
8885 $(TARGET-stage1-gas)
8887 maybe-clean-stage1-gas: clean-stage1-gas
8888 clean-stage1: clean-stage1-gas
8889 clean-stage1-gas:
8890 @if [ $(current_stage) = stage1 ]; then \
8891 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8892 else \
8893 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8894 $(MAKE) stage1-start; \
8895 fi; \
8896 cd $(HOST_SUBDIR)/gas && \
8897 $(MAKE) $(EXTRA_HOST_FLAGS) \
8898 clean
8899 @endif gas-bootstrap
8902 .PHONY: all-stage2-gas maybe-all-stage2-gas
8903 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8904 maybe-all-stage2-gas:
8905 maybe-clean-stage2-gas:
8906 @if gas-bootstrap
8907 maybe-all-stage2-gas: all-stage2-gas
8908 all-stage2: all-stage2-gas
8909 TARGET-stage2-gas = $(TARGET-gas)
8910 all-stage2-gas: configure-stage2-gas
8911 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8912 @r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 TFLAGS="$(STAGE2_TFLAGS)"; \
8915 $(HOST_EXPORTS) \
8916 $(POSTSTAGE1_HOST_EXPORTS) \
8917 cd $(HOST_SUBDIR)/gas && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8919 CFLAGS="$(STAGE2_CFLAGS)" \
8920 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8921 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8922 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8923 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8924 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8925 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8926 TFLAGS="$(STAGE2_TFLAGS)" \
8927 $(TARGET-stage2-gas)
8929 maybe-clean-stage2-gas: clean-stage2-gas
8930 clean-stage2: clean-stage2-gas
8931 clean-stage2-gas:
8932 @if [ $(current_stage) = stage2 ]; then \
8933 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8934 else \
8935 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8936 $(MAKE) stage2-start; \
8937 fi; \
8938 cd $(HOST_SUBDIR)/gas && \
8939 $(MAKE) $(EXTRA_HOST_FLAGS) \
8940 $(POSTSTAGE1_FLAGS_TO_PASS) \
8941 clean
8942 @endif gas-bootstrap
8945 .PHONY: all-stage3-gas maybe-all-stage3-gas
8946 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8947 maybe-all-stage3-gas:
8948 maybe-clean-stage3-gas:
8949 @if gas-bootstrap
8950 maybe-all-stage3-gas: all-stage3-gas
8951 all-stage3: all-stage3-gas
8952 TARGET-stage3-gas = $(TARGET-gas)
8953 all-stage3-gas: configure-stage3-gas
8954 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8955 @r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 TFLAGS="$(STAGE3_TFLAGS)"; \
8958 $(HOST_EXPORTS) \
8959 $(POSTSTAGE1_HOST_EXPORTS) \
8960 cd $(HOST_SUBDIR)/gas && \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8962 CFLAGS="$(STAGE3_CFLAGS)" \
8963 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8964 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8969 TFLAGS="$(STAGE3_TFLAGS)" \
8970 $(TARGET-stage3-gas)
8972 maybe-clean-stage3-gas: clean-stage3-gas
8973 clean-stage3: clean-stage3-gas
8974 clean-stage3-gas:
8975 @if [ $(current_stage) = stage3 ]; then \
8976 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8977 else \
8978 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8979 $(MAKE) stage3-start; \
8980 fi; \
8981 cd $(HOST_SUBDIR)/gas && \
8982 $(MAKE) $(EXTRA_HOST_FLAGS) \
8983 $(POSTSTAGE1_FLAGS_TO_PASS) \
8984 clean
8985 @endif gas-bootstrap
8988 .PHONY: all-stage4-gas maybe-all-stage4-gas
8989 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8990 maybe-all-stage4-gas:
8991 maybe-clean-stage4-gas:
8992 @if gas-bootstrap
8993 maybe-all-stage4-gas: all-stage4-gas
8994 all-stage4: all-stage4-gas
8995 TARGET-stage4-gas = $(TARGET-gas)
8996 all-stage4-gas: configure-stage4-gas
8997 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8998 @r=`${PWD_COMMAND}`; export r; \
8999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9000 TFLAGS="$(STAGE4_TFLAGS)"; \
9001 $(HOST_EXPORTS) \
9002 $(POSTSTAGE1_HOST_EXPORTS) \
9003 cd $(HOST_SUBDIR)/gas && \
9004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9005 CFLAGS="$(STAGE4_CFLAGS)" \
9006 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9007 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9012 TFLAGS="$(STAGE4_TFLAGS)" \
9013 $(TARGET-stage4-gas)
9015 maybe-clean-stage4-gas: clean-stage4-gas
9016 clean-stage4: clean-stage4-gas
9017 clean-stage4-gas:
9018 @if [ $(current_stage) = stage4 ]; then \
9019 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9020 else \
9021 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9022 $(MAKE) stage4-start; \
9023 fi; \
9024 cd $(HOST_SUBDIR)/gas && \
9025 $(MAKE) $(EXTRA_HOST_FLAGS) \
9026 $(POSTSTAGE1_FLAGS_TO_PASS) \
9027 clean
9028 @endif gas-bootstrap
9031 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9032 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9033 maybe-all-stageprofile-gas:
9034 maybe-clean-stageprofile-gas:
9035 @if gas-bootstrap
9036 maybe-all-stageprofile-gas: all-stageprofile-gas
9037 all-stageprofile: all-stageprofile-gas
9038 TARGET-stageprofile-gas = $(TARGET-gas)
9039 all-stageprofile-gas: configure-stageprofile-gas
9040 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9041 @r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9044 $(HOST_EXPORTS) \
9045 $(POSTSTAGE1_HOST_EXPORTS) \
9046 cd $(HOST_SUBDIR)/gas && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9048 CFLAGS="$(STAGEprofile_CFLAGS)" \
9049 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9050 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9055 TFLAGS="$(STAGEprofile_TFLAGS)" \
9056 $(TARGET-stageprofile-gas)
9058 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9059 clean-stageprofile: clean-stageprofile-gas
9060 clean-stageprofile-gas:
9061 @if [ $(current_stage) = stageprofile ]; then \
9062 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9063 else \
9064 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9065 $(MAKE) stageprofile-start; \
9066 fi; \
9067 cd $(HOST_SUBDIR)/gas && \
9068 $(MAKE) $(EXTRA_HOST_FLAGS) \
9069 $(POSTSTAGE1_FLAGS_TO_PASS) \
9070 clean
9071 @endif gas-bootstrap
9074 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9075 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9076 maybe-all-stagefeedback-gas:
9077 maybe-clean-stagefeedback-gas:
9078 @if gas-bootstrap
9079 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9080 all-stagefeedback: all-stagefeedback-gas
9081 TARGET-stagefeedback-gas = $(TARGET-gas)
9082 all-stagefeedback-gas: configure-stagefeedback-gas
9083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9084 @r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9087 $(HOST_EXPORTS) \
9088 $(POSTSTAGE1_HOST_EXPORTS) \
9089 cd $(HOST_SUBDIR)/gas && \
9090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9091 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9098 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9099 $(TARGET-stagefeedback-gas)
9101 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9102 clean-stagefeedback: clean-stagefeedback-gas
9103 clean-stagefeedback-gas:
9104 @if [ $(current_stage) = stagefeedback ]; then \
9105 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9106 else \
9107 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9108 $(MAKE) stagefeedback-start; \
9109 fi; \
9110 cd $(HOST_SUBDIR)/gas && \
9111 $(MAKE) $(EXTRA_HOST_FLAGS) \
9112 $(POSTSTAGE1_FLAGS_TO_PASS) \
9113 clean
9114 @endif gas-bootstrap
9120 .PHONY: check-gas maybe-check-gas
9121 maybe-check-gas:
9122 @if gas
9123 maybe-check-gas: check-gas
9125 check-gas:
9126 @: $(MAKE); $(unstage)
9127 @r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 $(HOST_EXPORTS) \
9130 (cd $(HOST_SUBDIR)/gas && \
9131 $(MAKE) $(FLAGS_TO_PASS) check)
9133 @endif gas
9135 .PHONY: install-gas maybe-install-gas
9136 maybe-install-gas:
9137 @if gas
9138 maybe-install-gas: install-gas
9140 install-gas: installdirs
9141 @: $(MAKE); $(unstage)
9142 @r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 (cd $(HOST_SUBDIR)/gas && \
9146 $(MAKE) $(FLAGS_TO_PASS) install)
9148 @endif gas
9150 .PHONY: install-strip-gas maybe-install-strip-gas
9151 maybe-install-strip-gas:
9152 @if gas
9153 maybe-install-strip-gas: install-strip-gas
9155 install-strip-gas: installdirs
9156 @: $(MAKE); $(unstage)
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 (cd $(HOST_SUBDIR)/gas && \
9161 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9163 @endif gas
9165 # Other targets (info, dvi, pdf, etc.)
9167 .PHONY: maybe-info-gas info-gas
9168 maybe-info-gas:
9169 @if gas
9170 maybe-info-gas: info-gas
9172 info-gas: \
9173 configure-gas
9174 @[ -f ./gas/Makefile ] || exit 0; \
9175 r=`${PWD_COMMAND}`; export r; \
9176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177 $(HOST_EXPORTS) \
9178 for flag in $(EXTRA_HOST_FLAGS) ; do \
9179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9180 done; \
9181 echo "Doing info in gas" ; \
9182 (cd $(HOST_SUBDIR)/gas && \
9183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9185 "RANLIB=$${RANLIB}" \
9186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9187 info) \
9188 || exit 1
9190 @endif gas
9192 .PHONY: maybe-dvi-gas dvi-gas
9193 maybe-dvi-gas:
9194 @if gas
9195 maybe-dvi-gas: dvi-gas
9197 dvi-gas: \
9198 configure-gas
9199 @[ -f ./gas/Makefile ] || exit 0; \
9200 r=`${PWD_COMMAND}`; export r; \
9201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9202 $(HOST_EXPORTS) \
9203 for flag in $(EXTRA_HOST_FLAGS) ; do \
9204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9205 done; \
9206 echo "Doing dvi in gas" ; \
9207 (cd $(HOST_SUBDIR)/gas && \
9208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9210 "RANLIB=$${RANLIB}" \
9211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9212 dvi) \
9213 || exit 1
9215 @endif gas
9217 .PHONY: maybe-pdf-gas pdf-gas
9218 maybe-pdf-gas:
9219 @if gas
9220 maybe-pdf-gas: pdf-gas
9222 pdf-gas: \
9223 configure-gas
9224 @[ -f ./gas/Makefile ] || exit 0; \
9225 r=`${PWD_COMMAND}`; export r; \
9226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9227 $(HOST_EXPORTS) \
9228 for flag in $(EXTRA_HOST_FLAGS) ; do \
9229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9230 done; \
9231 echo "Doing pdf in gas" ; \
9232 (cd $(HOST_SUBDIR)/gas && \
9233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9235 "RANLIB=$${RANLIB}" \
9236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9237 pdf) \
9238 || exit 1
9240 @endif gas
9242 .PHONY: maybe-html-gas html-gas
9243 maybe-html-gas:
9244 @if gas
9245 maybe-html-gas: html-gas
9247 html-gas: \
9248 configure-gas
9249 @[ -f ./gas/Makefile ] || exit 0; \
9250 r=`${PWD_COMMAND}`; export r; \
9251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9252 $(HOST_EXPORTS) \
9253 for flag in $(EXTRA_HOST_FLAGS) ; do \
9254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9255 done; \
9256 echo "Doing html in gas" ; \
9257 (cd $(HOST_SUBDIR)/gas && \
9258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9260 "RANLIB=$${RANLIB}" \
9261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9262 html) \
9263 || exit 1
9265 @endif gas
9267 .PHONY: maybe-TAGS-gas TAGS-gas
9268 maybe-TAGS-gas:
9269 @if gas
9270 maybe-TAGS-gas: TAGS-gas
9272 TAGS-gas: \
9273 configure-gas
9274 @[ -f ./gas/Makefile ] || exit 0; \
9275 r=`${PWD_COMMAND}`; export r; \
9276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9277 $(HOST_EXPORTS) \
9278 for flag in $(EXTRA_HOST_FLAGS) ; do \
9279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9280 done; \
9281 echo "Doing TAGS in gas" ; \
9282 (cd $(HOST_SUBDIR)/gas && \
9283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9285 "RANLIB=$${RANLIB}" \
9286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9287 TAGS) \
9288 || exit 1
9290 @endif gas
9292 .PHONY: maybe-install-info-gas install-info-gas
9293 maybe-install-info-gas:
9294 @if gas
9295 maybe-install-info-gas: install-info-gas
9297 install-info-gas: \
9298 configure-gas \
9299 info-gas
9300 @[ -f ./gas/Makefile ] || exit 0; \
9301 r=`${PWD_COMMAND}`; export r; \
9302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9303 $(HOST_EXPORTS) \
9304 for flag in $(EXTRA_HOST_FLAGS) ; do \
9305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9306 done; \
9307 echo "Doing install-info in gas" ; \
9308 (cd $(HOST_SUBDIR)/gas && \
9309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9311 "RANLIB=$${RANLIB}" \
9312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9313 install-info) \
9314 || exit 1
9316 @endif gas
9318 .PHONY: maybe-install-pdf-gas install-pdf-gas
9319 maybe-install-pdf-gas:
9320 @if gas
9321 maybe-install-pdf-gas: install-pdf-gas
9323 install-pdf-gas: \
9324 configure-gas \
9325 pdf-gas
9326 @[ -f ./gas/Makefile ] || exit 0; \
9327 r=`${PWD_COMMAND}`; export r; \
9328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9329 $(HOST_EXPORTS) \
9330 for flag in $(EXTRA_HOST_FLAGS) ; do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9332 done; \
9333 echo "Doing install-pdf in gas" ; \
9334 (cd $(HOST_SUBDIR)/gas && \
9335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337 "RANLIB=$${RANLIB}" \
9338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9339 install-pdf) \
9340 || exit 1
9342 @endif gas
9344 .PHONY: maybe-install-html-gas install-html-gas
9345 maybe-install-html-gas:
9346 @if gas
9347 maybe-install-html-gas: install-html-gas
9349 install-html-gas: \
9350 configure-gas \
9351 html-gas
9352 @[ -f ./gas/Makefile ] || exit 0; \
9353 r=`${PWD_COMMAND}`; export r; \
9354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9355 $(HOST_EXPORTS) \
9356 for flag in $(EXTRA_HOST_FLAGS) ; do \
9357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9358 done; \
9359 echo "Doing install-html in gas" ; \
9360 (cd $(HOST_SUBDIR)/gas && \
9361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9363 "RANLIB=$${RANLIB}" \
9364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9365 install-html) \
9366 || exit 1
9368 @endif gas
9370 .PHONY: maybe-installcheck-gas installcheck-gas
9371 maybe-installcheck-gas:
9372 @if gas
9373 maybe-installcheck-gas: installcheck-gas
9375 installcheck-gas: \
9376 configure-gas
9377 @[ -f ./gas/Makefile ] || exit 0; \
9378 r=`${PWD_COMMAND}`; export r; \
9379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 $(HOST_EXPORTS) \
9381 for flag in $(EXTRA_HOST_FLAGS) ; do \
9382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9383 done; \
9384 echo "Doing installcheck in gas" ; \
9385 (cd $(HOST_SUBDIR)/gas && \
9386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9388 "RANLIB=$${RANLIB}" \
9389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9390 installcheck) \
9391 || exit 1
9393 @endif gas
9395 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9396 maybe-mostlyclean-gas:
9397 @if gas
9398 maybe-mostlyclean-gas: mostlyclean-gas
9400 mostlyclean-gas:
9401 @[ -f ./gas/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(HOST_EXPORTS) \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing mostlyclean in gas" ; \
9409 (cd $(HOST_SUBDIR)/gas && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9414 mostlyclean) \
9415 || exit 1
9417 @endif gas
9419 .PHONY: maybe-clean-gas clean-gas
9420 maybe-clean-gas:
9421 @if gas
9422 maybe-clean-gas: clean-gas
9424 clean-gas:
9425 @[ -f ./gas/Makefile ] || exit 0; \
9426 r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 for flag in $(EXTRA_HOST_FLAGS) ; do \
9430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9431 done; \
9432 echo "Doing clean in gas" ; \
9433 (cd $(HOST_SUBDIR)/gas && \
9434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9436 "RANLIB=$${RANLIB}" \
9437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9438 clean) \
9439 || exit 1
9441 @endif gas
9443 .PHONY: maybe-distclean-gas distclean-gas
9444 maybe-distclean-gas:
9445 @if gas
9446 maybe-distclean-gas: distclean-gas
9448 distclean-gas:
9449 @[ -f ./gas/Makefile ] || exit 0; \
9450 r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 $(HOST_EXPORTS) \
9453 for flag in $(EXTRA_HOST_FLAGS) ; do \
9454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9455 done; \
9456 echo "Doing distclean in gas" ; \
9457 (cd $(HOST_SUBDIR)/gas && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9460 "RANLIB=$${RANLIB}" \
9461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9462 distclean) \
9463 || exit 1
9465 @endif gas
9467 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9468 maybe-maintainer-clean-gas:
9469 @if gas
9470 maybe-maintainer-clean-gas: maintainer-clean-gas
9472 maintainer-clean-gas:
9473 @[ -f ./gas/Makefile ] || exit 0; \
9474 r=`${PWD_COMMAND}`; export r; \
9475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9476 $(HOST_EXPORTS) \
9477 for flag in $(EXTRA_HOST_FLAGS) ; do \
9478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9479 done; \
9480 echo "Doing maintainer-clean in gas" ; \
9481 (cd $(HOST_SUBDIR)/gas && \
9482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9484 "RANLIB=$${RANLIB}" \
9485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9486 maintainer-clean) \
9487 || exit 1
9489 @endif gas
9493 .PHONY: configure-gcc maybe-configure-gcc
9494 maybe-configure-gcc:
9495 @if gcc-bootstrap
9496 configure-gcc: stage_current
9497 @endif gcc-bootstrap
9498 @if gcc
9499 maybe-configure-gcc: configure-gcc
9500 configure-gcc:
9501 @r=`${PWD_COMMAND}`; export r; \
9502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9503 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9505 $(HOST_EXPORTS) \
9506 echo Configuring in $(HOST_SUBDIR)/gcc; \
9507 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9508 case $(srcdir) in \
9509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9510 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9512 esac; \
9513 srcdiroption="--srcdir=$${topdir}/gcc"; \
9514 libsrcdir="$$s/gcc"; \
9515 $(SHELL) $${libsrcdir}/configure \
9516 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9517 --target=${target_alias} $${srcdiroption} \
9518 || exit 1
9519 @endif gcc
9523 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9524 maybe-configure-stage1-gcc:
9525 @if gcc-bootstrap
9526 maybe-configure-stage1-gcc: configure-stage1-gcc
9527 configure-stage1-gcc:
9528 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9530 @r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 TFLAGS="$(STAGE1_TFLAGS)"; \
9533 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9534 $(HOST_EXPORTS) \
9535 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9536 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9537 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9538 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9540 cd $(HOST_SUBDIR)/gcc || exit 1; \
9541 case $(srcdir) in \
9542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9543 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9545 esac; \
9546 srcdiroption="--srcdir=$${topdir}/gcc"; \
9547 libsrcdir="$$s/gcc"; \
9548 $(SHELL) $${libsrcdir}/configure \
9549 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9550 --target=${target_alias} $${srcdiroption} \
9551 $(STAGE1_CONFIGURE_FLAGS)
9552 @endif gcc-bootstrap
9554 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9555 maybe-configure-stage2-gcc:
9556 @if gcc-bootstrap
9557 maybe-configure-stage2-gcc: configure-stage2-gcc
9558 configure-stage2-gcc:
9559 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9561 @r=`${PWD_COMMAND}`; export r; \
9562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9563 TFLAGS="$(STAGE2_TFLAGS)"; \
9564 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9565 $(HOST_EXPORTS) \
9566 $(POSTSTAGE1_HOST_EXPORTS) \
9567 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9568 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9569 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9570 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9572 cd $(HOST_SUBDIR)/gcc || exit 1; \
9573 case $(srcdir) in \
9574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9575 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9577 esac; \
9578 srcdiroption="--srcdir=$${topdir}/gcc"; \
9579 libsrcdir="$$s/gcc"; \
9580 $(SHELL) $${libsrcdir}/configure \
9581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9582 --target=${target_alias} $${srcdiroption} \
9583 --with-build-libsubdir=$(HOST_SUBDIR) \
9584 $(STAGE2_CONFIGURE_FLAGS)
9585 @endif gcc-bootstrap
9587 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9588 maybe-configure-stage3-gcc:
9589 @if gcc-bootstrap
9590 maybe-configure-stage3-gcc: configure-stage3-gcc
9591 configure-stage3-gcc:
9592 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9594 @r=`${PWD_COMMAND}`; export r; \
9595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9596 TFLAGS="$(STAGE3_TFLAGS)"; \
9597 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9598 $(HOST_EXPORTS) \
9599 $(POSTSTAGE1_HOST_EXPORTS) \
9600 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9601 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9602 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9603 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9605 cd $(HOST_SUBDIR)/gcc || exit 1; \
9606 case $(srcdir) in \
9607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9608 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9610 esac; \
9611 srcdiroption="--srcdir=$${topdir}/gcc"; \
9612 libsrcdir="$$s/gcc"; \
9613 $(SHELL) $${libsrcdir}/configure \
9614 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9615 --target=${target_alias} $${srcdiroption} \
9616 --with-build-libsubdir=$(HOST_SUBDIR) \
9617 $(STAGE3_CONFIGURE_FLAGS)
9618 @endif gcc-bootstrap
9620 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9621 maybe-configure-stage4-gcc:
9622 @if gcc-bootstrap
9623 maybe-configure-stage4-gcc: configure-stage4-gcc
9624 configure-stage4-gcc:
9625 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9627 @r=`${PWD_COMMAND}`; export r; \
9628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9629 TFLAGS="$(STAGE4_TFLAGS)"; \
9630 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9631 $(HOST_EXPORTS) \
9632 $(POSTSTAGE1_HOST_EXPORTS) \
9633 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9634 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9635 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9636 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9638 cd $(HOST_SUBDIR)/gcc || exit 1; \
9639 case $(srcdir) in \
9640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9641 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9643 esac; \
9644 srcdiroption="--srcdir=$${topdir}/gcc"; \
9645 libsrcdir="$$s/gcc"; \
9646 $(SHELL) $${libsrcdir}/configure \
9647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9648 --target=${target_alias} $${srcdiroption} \
9649 --with-build-libsubdir=$(HOST_SUBDIR) \
9650 $(STAGE4_CONFIGURE_FLAGS)
9651 @endif gcc-bootstrap
9653 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9654 maybe-configure-stageprofile-gcc:
9655 @if gcc-bootstrap
9656 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9657 configure-stageprofile-gcc:
9658 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9660 @r=`${PWD_COMMAND}`; export r; \
9661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9662 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9663 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9664 $(HOST_EXPORTS) \
9665 $(POSTSTAGE1_HOST_EXPORTS) \
9666 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9667 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9668 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9669 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9671 cd $(HOST_SUBDIR)/gcc || exit 1; \
9672 case $(srcdir) in \
9673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9674 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9676 esac; \
9677 srcdiroption="--srcdir=$${topdir}/gcc"; \
9678 libsrcdir="$$s/gcc"; \
9679 $(SHELL) $${libsrcdir}/configure \
9680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9681 --target=${target_alias} $${srcdiroption} \
9682 --with-build-libsubdir=$(HOST_SUBDIR) \
9683 $(STAGEprofile_CONFIGURE_FLAGS)
9684 @endif gcc-bootstrap
9686 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9687 maybe-configure-stagefeedback-gcc:
9688 @if gcc-bootstrap
9689 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9690 configure-stagefeedback-gcc:
9691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9693 @r=`${PWD_COMMAND}`; export r; \
9694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9695 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9696 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9697 $(HOST_EXPORTS) \
9698 $(POSTSTAGE1_HOST_EXPORTS) \
9699 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9700 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9701 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9702 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9704 cd $(HOST_SUBDIR)/gcc || exit 1; \
9705 case $(srcdir) in \
9706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9707 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9709 esac; \
9710 srcdiroption="--srcdir=$${topdir}/gcc"; \
9711 libsrcdir="$$s/gcc"; \
9712 $(SHELL) $${libsrcdir}/configure \
9713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9714 --target=${target_alias} $${srcdiroption} \
9715 --with-build-libsubdir=$(HOST_SUBDIR) \
9716 $(STAGEfeedback_CONFIGURE_FLAGS)
9717 @endif gcc-bootstrap
9723 .PHONY: all-gcc maybe-all-gcc
9724 maybe-all-gcc:
9725 @if gcc-bootstrap
9726 all-gcc: stage_current
9727 @endif gcc-bootstrap
9728 @if gcc
9729 TARGET-gcc=all
9730 maybe-all-gcc: all-gcc
9731 all-gcc: configure-gcc
9732 @r=`${PWD_COMMAND}`; export r; \
9733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734 $(HOST_EXPORTS) \
9735 (cd $(HOST_SUBDIR)/gcc && \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9737 $(TARGET-gcc))
9738 @endif gcc
9742 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9743 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9744 maybe-all-stage1-gcc:
9745 maybe-clean-stage1-gcc:
9746 @if gcc-bootstrap
9747 maybe-all-stage1-gcc: all-stage1-gcc
9748 all-stage1: all-stage1-gcc
9749 TARGET-stage1-gcc = $(TARGET-gcc)
9750 all-stage1-gcc: configure-stage1-gcc
9751 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9752 @r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9754 TFLAGS="$(STAGE1_TFLAGS)"; \
9755 $(HOST_EXPORTS) \
9756 cd $(HOST_SUBDIR)/gcc && \
9757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9758 CFLAGS="$(STAGE1_CFLAGS)" \
9759 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9760 LIBCFLAGS="$(LIBCFLAGS)" \
9761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9764 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9765 TFLAGS="$(STAGE1_TFLAGS)" \
9766 $(TARGET-stage1-gcc)
9768 maybe-clean-stage1-gcc: clean-stage1-gcc
9769 clean-stage1: clean-stage1-gcc
9770 clean-stage1-gcc:
9771 @if [ $(current_stage) = stage1 ]; then \
9772 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9773 else \
9774 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9775 $(MAKE) stage1-start; \
9776 fi; \
9777 cd $(HOST_SUBDIR)/gcc && \
9778 $(MAKE) $(EXTRA_HOST_FLAGS) \
9779 $(EXTRA_GCC_FLAGS) clean
9780 @endif gcc-bootstrap
9783 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9784 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9785 maybe-all-stage2-gcc:
9786 maybe-clean-stage2-gcc:
9787 @if gcc-bootstrap
9788 maybe-all-stage2-gcc: all-stage2-gcc
9789 all-stage2: all-stage2-gcc
9790 TARGET-stage2-gcc = $(TARGET-gcc)
9791 all-stage2-gcc: configure-stage2-gcc
9792 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9793 @r=`${PWD_COMMAND}`; export r; \
9794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9795 TFLAGS="$(STAGE2_TFLAGS)"; \
9796 $(HOST_EXPORTS) \
9797 $(POSTSTAGE1_HOST_EXPORTS) \
9798 cd $(HOST_SUBDIR)/gcc && \
9799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9800 CFLAGS="$(STAGE2_CFLAGS)" \
9801 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9802 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9807 TFLAGS="$(STAGE2_TFLAGS)" \
9808 $(TARGET-stage2-gcc)
9810 maybe-clean-stage2-gcc: clean-stage2-gcc
9811 clean-stage2: clean-stage2-gcc
9812 clean-stage2-gcc:
9813 @if [ $(current_stage) = stage2 ]; then \
9814 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9815 else \
9816 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9817 $(MAKE) stage2-start; \
9818 fi; \
9819 cd $(HOST_SUBDIR)/gcc && \
9820 $(MAKE) $(EXTRA_HOST_FLAGS) \
9821 $(POSTSTAGE1_FLAGS_TO_PASS) \
9822 $(EXTRA_GCC_FLAGS) clean
9823 @endif gcc-bootstrap
9826 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9827 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9828 maybe-all-stage3-gcc:
9829 maybe-clean-stage3-gcc:
9830 @if gcc-bootstrap
9831 maybe-all-stage3-gcc: all-stage3-gcc
9832 all-stage3: all-stage3-gcc
9833 TARGET-stage3-gcc = $(TARGET-gcc)
9834 all-stage3-gcc: configure-stage3-gcc
9835 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9836 @r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 TFLAGS="$(STAGE3_TFLAGS)"; \
9839 $(HOST_EXPORTS) \
9840 $(POSTSTAGE1_HOST_EXPORTS) \
9841 cd $(HOST_SUBDIR)/gcc && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9843 CFLAGS="$(STAGE3_CFLAGS)" \
9844 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9845 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9849 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9850 TFLAGS="$(STAGE3_TFLAGS)" \
9851 $(TARGET-stage3-gcc)
9853 maybe-clean-stage3-gcc: clean-stage3-gcc
9854 clean-stage3: clean-stage3-gcc
9855 clean-stage3-gcc:
9856 @if [ $(current_stage) = stage3 ]; then \
9857 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9858 else \
9859 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9860 $(MAKE) stage3-start; \
9861 fi; \
9862 cd $(HOST_SUBDIR)/gcc && \
9863 $(MAKE) $(EXTRA_HOST_FLAGS) \
9864 $(POSTSTAGE1_FLAGS_TO_PASS) \
9865 $(EXTRA_GCC_FLAGS) clean
9866 @endif gcc-bootstrap
9869 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9870 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9871 maybe-all-stage4-gcc:
9872 maybe-clean-stage4-gcc:
9873 @if gcc-bootstrap
9874 maybe-all-stage4-gcc: all-stage4-gcc
9875 all-stage4: all-stage4-gcc
9876 TARGET-stage4-gcc = $(TARGET-gcc)
9877 all-stage4-gcc: configure-stage4-gcc
9878 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9879 @r=`${PWD_COMMAND}`; export r; \
9880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9881 TFLAGS="$(STAGE4_TFLAGS)"; \
9882 $(HOST_EXPORTS) \
9883 $(POSTSTAGE1_HOST_EXPORTS) \
9884 cd $(HOST_SUBDIR)/gcc && \
9885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9886 CFLAGS="$(STAGE4_CFLAGS)" \
9887 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9888 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9892 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9893 TFLAGS="$(STAGE4_TFLAGS)" \
9894 $(TARGET-stage4-gcc)
9896 maybe-clean-stage4-gcc: clean-stage4-gcc
9897 clean-stage4: clean-stage4-gcc
9898 clean-stage4-gcc:
9899 @if [ $(current_stage) = stage4 ]; then \
9900 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9901 else \
9902 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9903 $(MAKE) stage4-start; \
9904 fi; \
9905 cd $(HOST_SUBDIR)/gcc && \
9906 $(MAKE) $(EXTRA_HOST_FLAGS) \
9907 $(POSTSTAGE1_FLAGS_TO_PASS) \
9908 $(EXTRA_GCC_FLAGS) clean
9909 @endif gcc-bootstrap
9912 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9913 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9914 maybe-all-stageprofile-gcc:
9915 maybe-clean-stageprofile-gcc:
9916 @if gcc-bootstrap
9917 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9918 all-stageprofile: all-stageprofile-gcc
9919 TARGET-stageprofile-gcc = $(TARGET-gcc)
9920 all-stageprofile-gcc: configure-stageprofile-gcc
9921 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9922 @r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9924 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9925 $(HOST_EXPORTS) \
9926 $(POSTSTAGE1_HOST_EXPORTS) \
9927 cd $(HOST_SUBDIR)/gcc && \
9928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9929 CFLAGS="$(STAGEprofile_CFLAGS)" \
9930 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9931 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9936 TFLAGS="$(STAGEprofile_TFLAGS)" \
9937 $(TARGET-stageprofile-gcc)
9939 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9940 clean-stageprofile: clean-stageprofile-gcc
9941 clean-stageprofile-gcc:
9942 @if [ $(current_stage) = stageprofile ]; then \
9943 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9944 else \
9945 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9946 $(MAKE) stageprofile-start; \
9947 fi; \
9948 cd $(HOST_SUBDIR)/gcc && \
9949 $(MAKE) $(EXTRA_HOST_FLAGS) \
9950 $(POSTSTAGE1_FLAGS_TO_PASS) \
9951 $(EXTRA_GCC_FLAGS) clean
9952 @endif gcc-bootstrap
9955 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9956 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9957 maybe-all-stagefeedback-gcc:
9958 maybe-clean-stagefeedback-gcc:
9959 @if gcc-bootstrap
9960 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9961 all-stagefeedback: all-stagefeedback-gcc
9962 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9963 all-stagefeedback-gcc: configure-stagefeedback-gcc
9964 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9965 @r=`${PWD_COMMAND}`; export r; \
9966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9967 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9968 $(HOST_EXPORTS) \
9969 $(POSTSTAGE1_HOST_EXPORTS) \
9970 cd $(HOST_SUBDIR)/gcc && \
9971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9972 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9973 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9974 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9979 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9980 $(TARGET-stagefeedback-gcc)
9982 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9983 clean-stagefeedback: clean-stagefeedback-gcc
9984 clean-stagefeedback-gcc:
9985 @if [ $(current_stage) = stagefeedback ]; then \
9986 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9987 else \
9988 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9989 $(MAKE) stagefeedback-start; \
9990 fi; \
9991 cd $(HOST_SUBDIR)/gcc && \
9992 $(MAKE) $(EXTRA_HOST_FLAGS) \
9993 $(POSTSTAGE1_FLAGS_TO_PASS) \
9994 $(EXTRA_GCC_FLAGS) clean
9995 @endif gcc-bootstrap
10001 .PHONY: check-gcc maybe-check-gcc
10002 maybe-check-gcc:
10003 @if gcc
10004 maybe-check-gcc: check-gcc
10006 check-gcc:
10007 @: $(MAKE); $(unstage)
10008 @r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(HOST_EXPORTS) \
10011 (cd $(HOST_SUBDIR)/gcc && \
10012 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10014 @endif gcc
10016 .PHONY: install-gcc maybe-install-gcc
10017 maybe-install-gcc:
10018 @if gcc
10019 maybe-install-gcc: install-gcc
10021 install-gcc: installdirs
10022 @: $(MAKE); $(unstage)
10023 @r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(HOST_EXPORTS) \
10026 (cd $(HOST_SUBDIR)/gcc && \
10027 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10029 @endif gcc
10031 .PHONY: install-strip-gcc maybe-install-strip-gcc
10032 maybe-install-strip-gcc:
10033 @if gcc
10034 maybe-install-strip-gcc: install-strip-gcc
10036 install-strip-gcc: installdirs
10037 @: $(MAKE); $(unstage)
10038 @r=`${PWD_COMMAND}`; export r; \
10039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10040 $(HOST_EXPORTS) \
10041 (cd $(HOST_SUBDIR)/gcc && \
10042 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10044 @endif gcc
10046 # Other targets (info, dvi, pdf, etc.)
10048 .PHONY: maybe-info-gcc info-gcc
10049 maybe-info-gcc:
10050 @if gcc
10051 maybe-info-gcc: info-gcc
10053 info-gcc: \
10054 configure-gcc
10055 @[ -f ./gcc/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing info in gcc" ; \
10063 (cd $(HOST_SUBDIR)/gcc && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10068 info) \
10069 || exit 1
10071 @endif gcc
10073 .PHONY: maybe-dvi-gcc dvi-gcc
10074 maybe-dvi-gcc:
10075 @if gcc
10076 maybe-dvi-gcc: dvi-gcc
10078 dvi-gcc: \
10079 configure-gcc
10080 @[ -f ./gcc/Makefile ] || exit 0; \
10081 r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10083 $(HOST_EXPORTS) \
10084 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10086 done; \
10087 echo "Doing dvi in gcc" ; \
10088 (cd $(HOST_SUBDIR)/gcc && \
10089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10091 "RANLIB=$${RANLIB}" \
10092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10093 dvi) \
10094 || exit 1
10096 @endif gcc
10098 .PHONY: maybe-pdf-gcc pdf-gcc
10099 maybe-pdf-gcc:
10100 @if gcc
10101 maybe-pdf-gcc: pdf-gcc
10103 pdf-gcc: \
10104 configure-gcc
10105 @[ -f ./gcc/Makefile ] || exit 0; \
10106 r=`${PWD_COMMAND}`; export r; \
10107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10108 $(HOST_EXPORTS) \
10109 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10111 done; \
10112 echo "Doing pdf in gcc" ; \
10113 (cd $(HOST_SUBDIR)/gcc && \
10114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10116 "RANLIB=$${RANLIB}" \
10117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10118 pdf) \
10119 || exit 1
10121 @endif gcc
10123 .PHONY: maybe-html-gcc html-gcc
10124 maybe-html-gcc:
10125 @if gcc
10126 maybe-html-gcc: html-gcc
10128 html-gcc: \
10129 configure-gcc
10130 @[ -f ./gcc/Makefile ] || exit 0; \
10131 r=`${PWD_COMMAND}`; export r; \
10132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10133 $(HOST_EXPORTS) \
10134 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10136 done; \
10137 echo "Doing html in gcc" ; \
10138 (cd $(HOST_SUBDIR)/gcc && \
10139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10141 "RANLIB=$${RANLIB}" \
10142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10143 html) \
10144 || exit 1
10146 @endif gcc
10148 .PHONY: maybe-TAGS-gcc TAGS-gcc
10149 maybe-TAGS-gcc:
10150 @if gcc
10151 maybe-TAGS-gcc: TAGS-gcc
10153 TAGS-gcc: \
10154 configure-gcc
10155 @[ -f ./gcc/Makefile ] || exit 0; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 $(HOST_EXPORTS) \
10159 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10161 done; \
10162 echo "Doing TAGS in gcc" ; \
10163 (cd $(HOST_SUBDIR)/gcc && \
10164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10166 "RANLIB=$${RANLIB}" \
10167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10168 TAGS) \
10169 || exit 1
10171 @endif gcc
10173 .PHONY: maybe-install-info-gcc install-info-gcc
10174 maybe-install-info-gcc:
10175 @if gcc
10176 maybe-install-info-gcc: install-info-gcc
10178 install-info-gcc: \
10179 configure-gcc \
10180 info-gcc
10181 @[ -f ./gcc/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187 done; \
10188 echo "Doing install-info in gcc" ; \
10189 (cd $(HOST_SUBDIR)/gcc && \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10194 install-info) \
10195 || exit 1
10197 @endif gcc
10199 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10200 maybe-install-pdf-gcc:
10201 @if gcc
10202 maybe-install-pdf-gcc: install-pdf-gcc
10204 install-pdf-gcc: \
10205 configure-gcc \
10206 pdf-gcc
10207 @[ -f ./gcc/Makefile ] || exit 0; \
10208 r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 $(HOST_EXPORTS) \
10211 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10213 done; \
10214 echo "Doing install-pdf in gcc" ; \
10215 (cd $(HOST_SUBDIR)/gcc && \
10216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10218 "RANLIB=$${RANLIB}" \
10219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10220 install-pdf) \
10221 || exit 1
10223 @endif gcc
10225 .PHONY: maybe-install-html-gcc install-html-gcc
10226 maybe-install-html-gcc:
10227 @if gcc
10228 maybe-install-html-gcc: install-html-gcc
10230 install-html-gcc: \
10231 configure-gcc \
10232 html-gcc
10233 @[ -f ./gcc/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing install-html in gcc" ; \
10241 (cd $(HOST_SUBDIR)/gcc && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10246 install-html) \
10247 || exit 1
10249 @endif gcc
10251 .PHONY: maybe-installcheck-gcc installcheck-gcc
10252 maybe-installcheck-gcc:
10253 @if gcc
10254 maybe-installcheck-gcc: installcheck-gcc
10256 installcheck-gcc: \
10257 configure-gcc
10258 @[ -f ./gcc/Makefile ] || exit 0; \
10259 r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 $(HOST_EXPORTS) \
10262 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10264 done; \
10265 echo "Doing installcheck in gcc" ; \
10266 (cd $(HOST_SUBDIR)/gcc && \
10267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10269 "RANLIB=$${RANLIB}" \
10270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10271 installcheck) \
10272 || exit 1
10274 @endif gcc
10276 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10277 maybe-mostlyclean-gcc:
10278 @if gcc
10279 maybe-mostlyclean-gcc: mostlyclean-gcc
10281 mostlyclean-gcc:
10282 @[ -f ./gcc/Makefile ] || exit 0; \
10283 r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 $(HOST_EXPORTS) \
10286 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10288 done; \
10289 echo "Doing mostlyclean in gcc" ; \
10290 (cd $(HOST_SUBDIR)/gcc && \
10291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10293 "RANLIB=$${RANLIB}" \
10294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10295 mostlyclean) \
10296 || exit 1
10298 @endif gcc
10300 .PHONY: maybe-clean-gcc clean-gcc
10301 maybe-clean-gcc:
10302 @if gcc
10303 maybe-clean-gcc: clean-gcc
10305 clean-gcc:
10306 @[ -f ./gcc/Makefile ] || exit 0; \
10307 r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 $(HOST_EXPORTS) \
10310 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10312 done; \
10313 echo "Doing clean in gcc" ; \
10314 (cd $(HOST_SUBDIR)/gcc && \
10315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10317 "RANLIB=$${RANLIB}" \
10318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10319 clean) \
10320 || exit 1
10322 @endif gcc
10324 .PHONY: maybe-distclean-gcc distclean-gcc
10325 maybe-distclean-gcc:
10326 @if gcc
10327 maybe-distclean-gcc: distclean-gcc
10329 distclean-gcc:
10330 @[ -f ./gcc/Makefile ] || exit 0; \
10331 r=`${PWD_COMMAND}`; export r; \
10332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10333 $(HOST_EXPORTS) \
10334 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10336 done; \
10337 echo "Doing distclean in gcc" ; \
10338 (cd $(HOST_SUBDIR)/gcc && \
10339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10341 "RANLIB=$${RANLIB}" \
10342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10343 distclean) \
10344 || exit 1
10346 @endif gcc
10348 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10349 maybe-maintainer-clean-gcc:
10350 @if gcc
10351 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10353 maintainer-clean-gcc:
10354 @[ -f ./gcc/Makefile ] || exit 0; \
10355 r=`${PWD_COMMAND}`; export r; \
10356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10357 $(HOST_EXPORTS) \
10358 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10360 done; \
10361 echo "Doing maintainer-clean in gcc" ; \
10362 (cd $(HOST_SUBDIR)/gcc && \
10363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10365 "RANLIB=$${RANLIB}" \
10366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10367 maintainer-clean) \
10368 || exit 1
10370 @endif gcc
10374 .PHONY: configure-gmp maybe-configure-gmp
10375 maybe-configure-gmp:
10376 @if gcc-bootstrap
10377 configure-gmp: stage_current
10378 @endif gcc-bootstrap
10379 @if gmp
10380 maybe-configure-gmp: configure-gmp
10381 configure-gmp:
10382 @r=`${PWD_COMMAND}`; export r; \
10383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10384 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10386 $(HOST_EXPORTS) \
10387 echo Configuring in $(HOST_SUBDIR)/gmp; \
10388 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10389 case $(srcdir) in \
10390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10391 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10393 esac; \
10394 srcdiroption="--srcdir=$${topdir}/gmp"; \
10395 libsrcdir="$$s/gmp"; \
10396 $(SHELL) $${libsrcdir}/configure \
10397 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10398 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10399 || exit 1
10400 @endif gmp
10404 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10405 maybe-configure-stage1-gmp:
10406 @if gmp-bootstrap
10407 maybe-configure-stage1-gmp: configure-stage1-gmp
10408 configure-stage1-gmp:
10409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10411 @r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413 TFLAGS="$(STAGE1_TFLAGS)"; \
10414 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10415 $(HOST_EXPORTS) \
10416 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10417 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10418 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10419 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10421 cd $(HOST_SUBDIR)/gmp || exit 1; \
10422 case $(srcdir) in \
10423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10424 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10426 esac; \
10427 srcdiroption="--srcdir=$${topdir}/gmp"; \
10428 libsrcdir="$$s/gmp"; \
10429 $(SHELL) $${libsrcdir}/configure \
10430 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10431 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10432 $(STAGE1_CONFIGURE_FLAGS) \
10433 --disable-shared
10434 @endif gmp-bootstrap
10436 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10437 maybe-configure-stage2-gmp:
10438 @if gmp-bootstrap
10439 maybe-configure-stage2-gmp: configure-stage2-gmp
10440 configure-stage2-gmp:
10441 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10443 @r=`${PWD_COMMAND}`; export r; \
10444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10445 TFLAGS="$(STAGE2_TFLAGS)"; \
10446 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10447 $(HOST_EXPORTS) \
10448 $(POSTSTAGE1_HOST_EXPORTS) \
10449 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10450 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10451 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10452 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10454 cd $(HOST_SUBDIR)/gmp || exit 1; \
10455 case $(srcdir) in \
10456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10457 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10459 esac; \
10460 srcdiroption="--srcdir=$${topdir}/gmp"; \
10461 libsrcdir="$$s/gmp"; \
10462 $(SHELL) $${libsrcdir}/configure \
10463 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10464 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10465 --with-build-libsubdir=$(HOST_SUBDIR) \
10466 $(STAGE2_CONFIGURE_FLAGS) \
10467 --disable-shared
10468 @endif gmp-bootstrap
10470 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10471 maybe-configure-stage3-gmp:
10472 @if gmp-bootstrap
10473 maybe-configure-stage3-gmp: configure-stage3-gmp
10474 configure-stage3-gmp:
10475 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10477 @r=`${PWD_COMMAND}`; export r; \
10478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10479 TFLAGS="$(STAGE3_TFLAGS)"; \
10480 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10481 $(HOST_EXPORTS) \
10482 $(POSTSTAGE1_HOST_EXPORTS) \
10483 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10484 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10485 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10486 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10488 cd $(HOST_SUBDIR)/gmp || exit 1; \
10489 case $(srcdir) in \
10490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10491 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10493 esac; \
10494 srcdiroption="--srcdir=$${topdir}/gmp"; \
10495 libsrcdir="$$s/gmp"; \
10496 $(SHELL) $${libsrcdir}/configure \
10497 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10498 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10499 --with-build-libsubdir=$(HOST_SUBDIR) \
10500 $(STAGE3_CONFIGURE_FLAGS) \
10501 --disable-shared
10502 @endif gmp-bootstrap
10504 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10505 maybe-configure-stage4-gmp:
10506 @if gmp-bootstrap
10507 maybe-configure-stage4-gmp: configure-stage4-gmp
10508 configure-stage4-gmp:
10509 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10511 @r=`${PWD_COMMAND}`; export r; \
10512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513 TFLAGS="$(STAGE4_TFLAGS)"; \
10514 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10515 $(HOST_EXPORTS) \
10516 $(POSTSTAGE1_HOST_EXPORTS) \
10517 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10518 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10519 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10520 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10522 cd $(HOST_SUBDIR)/gmp || exit 1; \
10523 case $(srcdir) in \
10524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10525 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10527 esac; \
10528 srcdiroption="--srcdir=$${topdir}/gmp"; \
10529 libsrcdir="$$s/gmp"; \
10530 $(SHELL) $${libsrcdir}/configure \
10531 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10532 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10533 --with-build-libsubdir=$(HOST_SUBDIR) \
10534 $(STAGE4_CONFIGURE_FLAGS) \
10535 --disable-shared
10536 @endif gmp-bootstrap
10538 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10539 maybe-configure-stageprofile-gmp:
10540 @if gmp-bootstrap
10541 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10542 configure-stageprofile-gmp:
10543 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10544 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10545 @r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10548 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10549 $(HOST_EXPORTS) \
10550 $(POSTSTAGE1_HOST_EXPORTS) \
10551 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10552 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10553 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10554 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10556 cd $(HOST_SUBDIR)/gmp || exit 1; \
10557 case $(srcdir) in \
10558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10559 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10561 esac; \
10562 srcdiroption="--srcdir=$${topdir}/gmp"; \
10563 libsrcdir="$$s/gmp"; \
10564 $(SHELL) $${libsrcdir}/configure \
10565 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10566 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10567 --with-build-libsubdir=$(HOST_SUBDIR) \
10568 $(STAGEprofile_CONFIGURE_FLAGS) \
10569 --disable-shared
10570 @endif gmp-bootstrap
10572 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10573 maybe-configure-stagefeedback-gmp:
10574 @if gmp-bootstrap
10575 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10576 configure-stagefeedback-gmp:
10577 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10579 @r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10582 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10583 $(HOST_EXPORTS) \
10584 $(POSTSTAGE1_HOST_EXPORTS) \
10585 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10586 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10587 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10588 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10590 cd $(HOST_SUBDIR)/gmp || exit 1; \
10591 case $(srcdir) in \
10592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10593 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10595 esac; \
10596 srcdiroption="--srcdir=$${topdir}/gmp"; \
10597 libsrcdir="$$s/gmp"; \
10598 $(SHELL) $${libsrcdir}/configure \
10599 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10600 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10601 --with-build-libsubdir=$(HOST_SUBDIR) \
10602 $(STAGEfeedback_CONFIGURE_FLAGS) \
10603 --disable-shared
10604 @endif gmp-bootstrap
10610 .PHONY: all-gmp maybe-all-gmp
10611 maybe-all-gmp:
10612 @if gcc-bootstrap
10613 all-gmp: stage_current
10614 @endif gcc-bootstrap
10615 @if gmp
10616 TARGET-gmp=all
10617 maybe-all-gmp: all-gmp
10618 all-gmp: configure-gmp
10619 @r=`${PWD_COMMAND}`; export r; \
10620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10621 $(HOST_EXPORTS) \
10622 (cd $(HOST_SUBDIR)/gmp && \
10623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10624 $(TARGET-gmp))
10625 @endif gmp
10629 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10630 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10631 maybe-all-stage1-gmp:
10632 maybe-clean-stage1-gmp:
10633 @if gmp-bootstrap
10634 maybe-all-stage1-gmp: all-stage1-gmp
10635 all-stage1: all-stage1-gmp
10636 TARGET-stage1-gmp = $(TARGET-gmp)
10637 all-stage1-gmp: configure-stage1-gmp
10638 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10639 @r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 TFLAGS="$(STAGE1_TFLAGS)"; \
10642 $(HOST_EXPORTS) \
10643 cd $(HOST_SUBDIR)/gmp && \
10644 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10645 CFLAGS="$(STAGE1_CFLAGS)" \
10646 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10647 LIBCFLAGS="$(LIBCFLAGS)" \
10648 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10649 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10650 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10651 $(EXTRA_HOST_FLAGS) \
10652 TFLAGS="$(STAGE1_TFLAGS)" \
10653 $(TARGET-stage1-gmp)
10655 maybe-clean-stage1-gmp: clean-stage1-gmp
10656 clean-stage1: clean-stage1-gmp
10657 clean-stage1-gmp:
10658 @if [ $(current_stage) = stage1 ]; then \
10659 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10660 else \
10661 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10662 $(MAKE) stage1-start; \
10663 fi; \
10664 cd $(HOST_SUBDIR)/gmp && \
10665 $(MAKE) $(EXTRA_HOST_FLAGS) \
10666 clean
10667 @endif gmp-bootstrap
10670 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10671 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10672 maybe-all-stage2-gmp:
10673 maybe-clean-stage2-gmp:
10674 @if gmp-bootstrap
10675 maybe-all-stage2-gmp: all-stage2-gmp
10676 all-stage2: all-stage2-gmp
10677 TARGET-stage2-gmp = $(TARGET-gmp)
10678 all-stage2-gmp: configure-stage2-gmp
10679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10680 @r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 TFLAGS="$(STAGE2_TFLAGS)"; \
10683 $(HOST_EXPORTS) \
10684 $(POSTSTAGE1_HOST_EXPORTS) \
10685 cd $(HOST_SUBDIR)/gmp && \
10686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10687 CFLAGS="$(STAGE2_CFLAGS)" \
10688 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10689 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10693 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10694 TFLAGS="$(STAGE2_TFLAGS)" \
10695 $(TARGET-stage2-gmp)
10697 maybe-clean-stage2-gmp: clean-stage2-gmp
10698 clean-stage2: clean-stage2-gmp
10699 clean-stage2-gmp:
10700 @if [ $(current_stage) = stage2 ]; then \
10701 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10702 else \
10703 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10704 $(MAKE) stage2-start; \
10705 fi; \
10706 cd $(HOST_SUBDIR)/gmp && \
10707 $(MAKE) $(EXTRA_HOST_FLAGS) \
10708 $(POSTSTAGE1_FLAGS_TO_PASS) \
10709 clean
10710 @endif gmp-bootstrap
10713 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10714 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10715 maybe-all-stage3-gmp:
10716 maybe-clean-stage3-gmp:
10717 @if gmp-bootstrap
10718 maybe-all-stage3-gmp: all-stage3-gmp
10719 all-stage3: all-stage3-gmp
10720 TARGET-stage3-gmp = $(TARGET-gmp)
10721 all-stage3-gmp: configure-stage3-gmp
10722 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10723 @r=`${PWD_COMMAND}`; export r; \
10724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10725 TFLAGS="$(STAGE3_TFLAGS)"; \
10726 $(HOST_EXPORTS) \
10727 $(POSTSTAGE1_HOST_EXPORTS) \
10728 cd $(HOST_SUBDIR)/gmp && \
10729 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10730 CFLAGS="$(STAGE3_CFLAGS)" \
10731 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10732 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10737 TFLAGS="$(STAGE3_TFLAGS)" \
10738 $(TARGET-stage3-gmp)
10740 maybe-clean-stage3-gmp: clean-stage3-gmp
10741 clean-stage3: clean-stage3-gmp
10742 clean-stage3-gmp:
10743 @if [ $(current_stage) = stage3 ]; then \
10744 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10745 else \
10746 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10747 $(MAKE) stage3-start; \
10748 fi; \
10749 cd $(HOST_SUBDIR)/gmp && \
10750 $(MAKE) $(EXTRA_HOST_FLAGS) \
10751 $(POSTSTAGE1_FLAGS_TO_PASS) \
10752 clean
10753 @endif gmp-bootstrap
10756 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10757 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10758 maybe-all-stage4-gmp:
10759 maybe-clean-stage4-gmp:
10760 @if gmp-bootstrap
10761 maybe-all-stage4-gmp: all-stage4-gmp
10762 all-stage4: all-stage4-gmp
10763 TARGET-stage4-gmp = $(TARGET-gmp)
10764 all-stage4-gmp: configure-stage4-gmp
10765 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10766 @r=`${PWD_COMMAND}`; export r; \
10767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10768 TFLAGS="$(STAGE4_TFLAGS)"; \
10769 $(HOST_EXPORTS) \
10770 $(POSTSTAGE1_HOST_EXPORTS) \
10771 cd $(HOST_SUBDIR)/gmp && \
10772 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10773 CFLAGS="$(STAGE4_CFLAGS)" \
10774 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10775 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10776 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10777 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10778 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10779 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10780 TFLAGS="$(STAGE4_TFLAGS)" \
10781 $(TARGET-stage4-gmp)
10783 maybe-clean-stage4-gmp: clean-stage4-gmp
10784 clean-stage4: clean-stage4-gmp
10785 clean-stage4-gmp:
10786 @if [ $(current_stage) = stage4 ]; then \
10787 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10788 else \
10789 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10790 $(MAKE) stage4-start; \
10791 fi; \
10792 cd $(HOST_SUBDIR)/gmp && \
10793 $(MAKE) $(EXTRA_HOST_FLAGS) \
10794 $(POSTSTAGE1_FLAGS_TO_PASS) \
10795 clean
10796 @endif gmp-bootstrap
10799 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10800 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10801 maybe-all-stageprofile-gmp:
10802 maybe-clean-stageprofile-gmp:
10803 @if gmp-bootstrap
10804 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10805 all-stageprofile: all-stageprofile-gmp
10806 TARGET-stageprofile-gmp = $(TARGET-gmp)
10807 all-stageprofile-gmp: configure-stageprofile-gmp
10808 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10809 @r=`${PWD_COMMAND}`; export r; \
10810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10811 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10812 $(HOST_EXPORTS) \
10813 $(POSTSTAGE1_HOST_EXPORTS) \
10814 cd $(HOST_SUBDIR)/gmp && \
10815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10816 CFLAGS="$(STAGEprofile_CFLAGS)" \
10817 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10818 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10822 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10823 TFLAGS="$(STAGEprofile_TFLAGS)" \
10824 $(TARGET-stageprofile-gmp)
10826 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10827 clean-stageprofile: clean-stageprofile-gmp
10828 clean-stageprofile-gmp:
10829 @if [ $(current_stage) = stageprofile ]; then \
10830 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10831 else \
10832 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10833 $(MAKE) stageprofile-start; \
10834 fi; \
10835 cd $(HOST_SUBDIR)/gmp && \
10836 $(MAKE) $(EXTRA_HOST_FLAGS) \
10837 $(POSTSTAGE1_FLAGS_TO_PASS) \
10838 clean
10839 @endif gmp-bootstrap
10842 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10843 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10844 maybe-all-stagefeedback-gmp:
10845 maybe-clean-stagefeedback-gmp:
10846 @if gmp-bootstrap
10847 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10848 all-stagefeedback: all-stagefeedback-gmp
10849 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10850 all-stagefeedback-gmp: configure-stagefeedback-gmp
10851 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10852 @r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10855 $(HOST_EXPORTS) \
10856 $(POSTSTAGE1_HOST_EXPORTS) \
10857 cd $(HOST_SUBDIR)/gmp && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10859 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10860 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10861 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10862 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10863 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10864 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10865 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10866 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10867 $(TARGET-stagefeedback-gmp)
10869 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10870 clean-stagefeedback: clean-stagefeedback-gmp
10871 clean-stagefeedback-gmp:
10872 @if [ $(current_stage) = stagefeedback ]; then \
10873 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10874 else \
10875 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10876 $(MAKE) stagefeedback-start; \
10877 fi; \
10878 cd $(HOST_SUBDIR)/gmp && \
10879 $(MAKE) $(EXTRA_HOST_FLAGS) \
10880 $(POSTSTAGE1_FLAGS_TO_PASS) \
10881 clean
10882 @endif gmp-bootstrap
10888 .PHONY: check-gmp maybe-check-gmp
10889 maybe-check-gmp:
10890 @if gmp
10891 maybe-check-gmp: check-gmp
10893 check-gmp:
10894 @: $(MAKE); $(unstage)
10895 @r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897 $(HOST_EXPORTS) \
10898 (cd $(HOST_SUBDIR)/gmp && \
10899 $(MAKE) $(FLAGS_TO_PASS) check)
10901 @endif gmp
10903 .PHONY: install-gmp maybe-install-gmp
10904 maybe-install-gmp:
10905 @if gmp
10906 maybe-install-gmp: install-gmp
10908 install-gmp:
10910 @endif gmp
10912 .PHONY: install-strip-gmp maybe-install-strip-gmp
10913 maybe-install-strip-gmp:
10914 @if gmp
10915 maybe-install-strip-gmp: install-strip-gmp
10917 install-strip-gmp:
10919 @endif gmp
10921 # Other targets (info, dvi, pdf, etc.)
10923 .PHONY: maybe-info-gmp info-gmp
10924 maybe-info-gmp:
10925 @if gmp
10926 maybe-info-gmp: info-gmp
10928 info-gmp: \
10929 configure-gmp
10930 @[ -f ./gmp/Makefile ] || exit 0; \
10931 r=`${PWD_COMMAND}`; export r; \
10932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10933 $(HOST_EXPORTS) \
10934 for flag in $(EXTRA_HOST_FLAGS) ; do \
10935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10936 done; \
10937 echo "Doing info in gmp" ; \
10938 (cd $(HOST_SUBDIR)/gmp && \
10939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10941 "RANLIB=$${RANLIB}" \
10942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10943 info) \
10944 || exit 1
10946 @endif gmp
10948 .PHONY: maybe-dvi-gmp dvi-gmp
10949 maybe-dvi-gmp:
10950 @if gmp
10951 maybe-dvi-gmp: dvi-gmp
10953 dvi-gmp: \
10954 configure-gmp
10955 @[ -f ./gmp/Makefile ] || exit 0; \
10956 r=`${PWD_COMMAND}`; export r; \
10957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10958 $(HOST_EXPORTS) \
10959 for flag in $(EXTRA_HOST_FLAGS) ; do \
10960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10961 done; \
10962 echo "Doing dvi in gmp" ; \
10963 (cd $(HOST_SUBDIR)/gmp && \
10964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10966 "RANLIB=$${RANLIB}" \
10967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10968 dvi) \
10969 || exit 1
10971 @endif gmp
10973 .PHONY: maybe-pdf-gmp pdf-gmp
10974 maybe-pdf-gmp:
10975 @if gmp
10976 maybe-pdf-gmp: pdf-gmp
10978 pdf-gmp: \
10979 configure-gmp
10980 @[ -f ./gmp/Makefile ] || exit 0; \
10981 r=`${PWD_COMMAND}`; export r; \
10982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10983 $(HOST_EXPORTS) \
10984 for flag in $(EXTRA_HOST_FLAGS) ; do \
10985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10986 done; \
10987 echo "Doing pdf in gmp" ; \
10988 (cd $(HOST_SUBDIR)/gmp && \
10989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10991 "RANLIB=$${RANLIB}" \
10992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10993 pdf) \
10994 || exit 1
10996 @endif gmp
10998 .PHONY: maybe-html-gmp html-gmp
10999 maybe-html-gmp:
11000 @if gmp
11001 maybe-html-gmp: html-gmp
11003 html-gmp: \
11004 configure-gmp
11005 @[ -f ./gmp/Makefile ] || exit 0; \
11006 r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(HOST_EXPORTS) \
11009 for flag in $(EXTRA_HOST_FLAGS) ; do \
11010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11011 done; \
11012 echo "Doing html in gmp" ; \
11013 (cd $(HOST_SUBDIR)/gmp && \
11014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11016 "RANLIB=$${RANLIB}" \
11017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11018 html) \
11019 || exit 1
11021 @endif gmp
11023 .PHONY: maybe-TAGS-gmp TAGS-gmp
11024 maybe-TAGS-gmp:
11025 @if gmp
11026 maybe-TAGS-gmp: TAGS-gmp
11028 TAGS-gmp: \
11029 configure-gmp
11030 @[ -f ./gmp/Makefile ] || exit 0; \
11031 r=`${PWD_COMMAND}`; export r; \
11032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11033 $(HOST_EXPORTS) \
11034 for flag in $(EXTRA_HOST_FLAGS) ; do \
11035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11036 done; \
11037 echo "Doing TAGS in gmp" ; \
11038 (cd $(HOST_SUBDIR)/gmp && \
11039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11041 "RANLIB=$${RANLIB}" \
11042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11043 TAGS) \
11044 || exit 1
11046 @endif gmp
11048 .PHONY: maybe-install-info-gmp install-info-gmp
11049 maybe-install-info-gmp:
11050 @if gmp
11051 maybe-install-info-gmp: install-info-gmp
11053 install-info-gmp: \
11054 configure-gmp \
11055 info-gmp
11056 @[ -f ./gmp/Makefile ] || exit 0; \
11057 r=`${PWD_COMMAND}`; export r; \
11058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11059 $(HOST_EXPORTS) \
11060 for flag in $(EXTRA_HOST_FLAGS) ; do \
11061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11062 done; \
11063 echo "Doing install-info in gmp" ; \
11064 (cd $(HOST_SUBDIR)/gmp && \
11065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11067 "RANLIB=$${RANLIB}" \
11068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11069 install-info) \
11070 || exit 1
11072 @endif gmp
11074 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11075 maybe-install-pdf-gmp:
11076 @if gmp
11077 maybe-install-pdf-gmp: install-pdf-gmp
11079 install-pdf-gmp: \
11080 configure-gmp \
11081 pdf-gmp
11082 @[ -f ./gmp/Makefile ] || exit 0; \
11083 r=`${PWD_COMMAND}`; export r; \
11084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11085 $(HOST_EXPORTS) \
11086 for flag in $(EXTRA_HOST_FLAGS) ; do \
11087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11088 done; \
11089 echo "Doing install-pdf in gmp" ; \
11090 (cd $(HOST_SUBDIR)/gmp && \
11091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11093 "RANLIB=$${RANLIB}" \
11094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11095 install-pdf) \
11096 || exit 1
11098 @endif gmp
11100 .PHONY: maybe-install-html-gmp install-html-gmp
11101 maybe-install-html-gmp:
11102 @if gmp
11103 maybe-install-html-gmp: install-html-gmp
11105 install-html-gmp: \
11106 configure-gmp \
11107 html-gmp
11108 @[ -f ./gmp/Makefile ] || exit 0; \
11109 r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 $(HOST_EXPORTS) \
11112 for flag in $(EXTRA_HOST_FLAGS) ; do \
11113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11114 done; \
11115 echo "Doing install-html in gmp" ; \
11116 (cd $(HOST_SUBDIR)/gmp && \
11117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11119 "RANLIB=$${RANLIB}" \
11120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11121 install-html) \
11122 || exit 1
11124 @endif gmp
11126 .PHONY: maybe-installcheck-gmp installcheck-gmp
11127 maybe-installcheck-gmp:
11128 @if gmp
11129 maybe-installcheck-gmp: installcheck-gmp
11131 installcheck-gmp: \
11132 configure-gmp
11133 @[ -f ./gmp/Makefile ] || exit 0; \
11134 r=`${PWD_COMMAND}`; export r; \
11135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11136 $(HOST_EXPORTS) \
11137 for flag in $(EXTRA_HOST_FLAGS) ; do \
11138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11139 done; \
11140 echo "Doing installcheck in gmp" ; \
11141 (cd $(HOST_SUBDIR)/gmp && \
11142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11144 "RANLIB=$${RANLIB}" \
11145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11146 installcheck) \
11147 || exit 1
11149 @endif gmp
11151 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11152 maybe-mostlyclean-gmp:
11153 @if gmp
11154 maybe-mostlyclean-gmp: mostlyclean-gmp
11156 mostlyclean-gmp:
11157 @[ -f ./gmp/Makefile ] || exit 0; \
11158 r=`${PWD_COMMAND}`; export r; \
11159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11160 $(HOST_EXPORTS) \
11161 for flag in $(EXTRA_HOST_FLAGS) ; do \
11162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11163 done; \
11164 echo "Doing mostlyclean in gmp" ; \
11165 (cd $(HOST_SUBDIR)/gmp && \
11166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11168 "RANLIB=$${RANLIB}" \
11169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11170 mostlyclean) \
11171 || exit 1
11173 @endif gmp
11175 .PHONY: maybe-clean-gmp clean-gmp
11176 maybe-clean-gmp:
11177 @if gmp
11178 maybe-clean-gmp: clean-gmp
11180 clean-gmp:
11181 @[ -f ./gmp/Makefile ] || exit 0; \
11182 r=`${PWD_COMMAND}`; export r; \
11183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11184 $(HOST_EXPORTS) \
11185 for flag in $(EXTRA_HOST_FLAGS) ; do \
11186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11187 done; \
11188 echo "Doing clean in gmp" ; \
11189 (cd $(HOST_SUBDIR)/gmp && \
11190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11192 "RANLIB=$${RANLIB}" \
11193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11194 clean) \
11195 || exit 1
11197 @endif gmp
11199 .PHONY: maybe-distclean-gmp distclean-gmp
11200 maybe-distclean-gmp:
11201 @if gmp
11202 maybe-distclean-gmp: distclean-gmp
11204 distclean-gmp:
11205 @[ -f ./gmp/Makefile ] || exit 0; \
11206 r=`${PWD_COMMAND}`; export r; \
11207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11208 $(HOST_EXPORTS) \
11209 for flag in $(EXTRA_HOST_FLAGS) ; do \
11210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11211 done; \
11212 echo "Doing distclean in gmp" ; \
11213 (cd $(HOST_SUBDIR)/gmp && \
11214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11216 "RANLIB=$${RANLIB}" \
11217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11218 distclean) \
11219 || exit 1
11221 @endif gmp
11223 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11224 maybe-maintainer-clean-gmp:
11225 @if gmp
11226 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11228 maintainer-clean-gmp:
11229 @[ -f ./gmp/Makefile ] || exit 0; \
11230 r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 $(HOST_EXPORTS) \
11233 for flag in $(EXTRA_HOST_FLAGS) ; do \
11234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11235 done; \
11236 echo "Doing maintainer-clean in gmp" ; \
11237 (cd $(HOST_SUBDIR)/gmp && \
11238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11240 "RANLIB=$${RANLIB}" \
11241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11242 maintainer-clean) \
11243 || exit 1
11245 @endif gmp
11249 .PHONY: configure-mpfr maybe-configure-mpfr
11250 maybe-configure-mpfr:
11251 @if gcc-bootstrap
11252 configure-mpfr: stage_current
11253 @endif gcc-bootstrap
11254 @if mpfr
11255 maybe-configure-mpfr: configure-mpfr
11256 configure-mpfr:
11257 @r=`${PWD_COMMAND}`; export r; \
11258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11259 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11261 $(HOST_EXPORTS) \
11262 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11263 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11264 case $(srcdir) in \
11265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11266 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11268 esac; \
11269 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11270 libsrcdir="$$s/mpfr"; \
11271 $(SHELL) $${libsrcdir}/configure \
11272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11273 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11274 || exit 1
11275 @endif mpfr
11279 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11280 maybe-configure-stage1-mpfr:
11281 @if mpfr-bootstrap
11282 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11283 configure-stage1-mpfr:
11284 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11286 @r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 TFLAGS="$(STAGE1_TFLAGS)"; \
11289 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11290 $(HOST_EXPORTS) \
11291 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11292 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11293 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11294 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11296 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11297 case $(srcdir) in \
11298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11299 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11301 esac; \
11302 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11303 libsrcdir="$$s/mpfr"; \
11304 $(SHELL) $${libsrcdir}/configure \
11305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11306 --target=${target_alias} $${srcdiroption} \
11307 $(STAGE1_CONFIGURE_FLAGS) \
11308 --disable-shared @extra_mpfr_configure_flags@
11309 @endif mpfr-bootstrap
11311 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11312 maybe-configure-stage2-mpfr:
11313 @if mpfr-bootstrap
11314 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11315 configure-stage2-mpfr:
11316 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11318 @r=`${PWD_COMMAND}`; export r; \
11319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11320 TFLAGS="$(STAGE2_TFLAGS)"; \
11321 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11322 $(HOST_EXPORTS) \
11323 $(POSTSTAGE1_HOST_EXPORTS) \
11324 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11325 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11326 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11327 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11329 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11330 case $(srcdir) in \
11331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11332 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11334 esac; \
11335 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11336 libsrcdir="$$s/mpfr"; \
11337 $(SHELL) $${libsrcdir}/configure \
11338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11339 --target=${target_alias} $${srcdiroption} \
11340 --with-build-libsubdir=$(HOST_SUBDIR) \
11341 $(STAGE2_CONFIGURE_FLAGS) \
11342 --disable-shared @extra_mpfr_configure_flags@
11343 @endif mpfr-bootstrap
11345 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11346 maybe-configure-stage3-mpfr:
11347 @if mpfr-bootstrap
11348 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11349 configure-stage3-mpfr:
11350 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11352 @r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 TFLAGS="$(STAGE3_TFLAGS)"; \
11355 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11356 $(HOST_EXPORTS) \
11357 $(POSTSTAGE1_HOST_EXPORTS) \
11358 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11359 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11360 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11361 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11363 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11364 case $(srcdir) in \
11365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11366 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11368 esac; \
11369 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11370 libsrcdir="$$s/mpfr"; \
11371 $(SHELL) $${libsrcdir}/configure \
11372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11373 --target=${target_alias} $${srcdiroption} \
11374 --with-build-libsubdir=$(HOST_SUBDIR) \
11375 $(STAGE3_CONFIGURE_FLAGS) \
11376 --disable-shared @extra_mpfr_configure_flags@
11377 @endif mpfr-bootstrap
11379 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11380 maybe-configure-stage4-mpfr:
11381 @if mpfr-bootstrap
11382 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11383 configure-stage4-mpfr:
11384 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11386 @r=`${PWD_COMMAND}`; export r; \
11387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11388 TFLAGS="$(STAGE4_TFLAGS)"; \
11389 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11390 $(HOST_EXPORTS) \
11391 $(POSTSTAGE1_HOST_EXPORTS) \
11392 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11393 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11394 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11395 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11397 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11398 case $(srcdir) in \
11399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11400 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11402 esac; \
11403 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11404 libsrcdir="$$s/mpfr"; \
11405 $(SHELL) $${libsrcdir}/configure \
11406 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11407 --target=${target_alias} $${srcdiroption} \
11408 --with-build-libsubdir=$(HOST_SUBDIR) \
11409 $(STAGE4_CONFIGURE_FLAGS) \
11410 --disable-shared @extra_mpfr_configure_flags@
11411 @endif mpfr-bootstrap
11413 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11414 maybe-configure-stageprofile-mpfr:
11415 @if mpfr-bootstrap
11416 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11417 configure-stageprofile-mpfr:
11418 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11420 @r=`${PWD_COMMAND}`; export r; \
11421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11422 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11423 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11424 $(HOST_EXPORTS) \
11425 $(POSTSTAGE1_HOST_EXPORTS) \
11426 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11427 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11428 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11429 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11431 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11432 case $(srcdir) in \
11433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11434 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11436 esac; \
11437 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11438 libsrcdir="$$s/mpfr"; \
11439 $(SHELL) $${libsrcdir}/configure \
11440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11441 --target=${target_alias} $${srcdiroption} \
11442 --with-build-libsubdir=$(HOST_SUBDIR) \
11443 $(STAGEprofile_CONFIGURE_FLAGS) \
11444 --disable-shared @extra_mpfr_configure_flags@
11445 @endif mpfr-bootstrap
11447 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11448 maybe-configure-stagefeedback-mpfr:
11449 @if mpfr-bootstrap
11450 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11451 configure-stagefeedback-mpfr:
11452 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11454 @r=`${PWD_COMMAND}`; export r; \
11455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11457 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11458 $(HOST_EXPORTS) \
11459 $(POSTSTAGE1_HOST_EXPORTS) \
11460 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11461 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11462 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11463 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11465 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11466 case $(srcdir) in \
11467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11468 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11470 esac; \
11471 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11472 libsrcdir="$$s/mpfr"; \
11473 $(SHELL) $${libsrcdir}/configure \
11474 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11475 --target=${target_alias} $${srcdiroption} \
11476 --with-build-libsubdir=$(HOST_SUBDIR) \
11477 $(STAGEfeedback_CONFIGURE_FLAGS) \
11478 --disable-shared @extra_mpfr_configure_flags@
11479 @endif mpfr-bootstrap
11485 .PHONY: all-mpfr maybe-all-mpfr
11486 maybe-all-mpfr:
11487 @if gcc-bootstrap
11488 all-mpfr: stage_current
11489 @endif gcc-bootstrap
11490 @if mpfr
11491 TARGET-mpfr=all
11492 maybe-all-mpfr: all-mpfr
11493 all-mpfr: configure-mpfr
11494 @r=`${PWD_COMMAND}`; export r; \
11495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11496 $(HOST_EXPORTS) \
11497 (cd $(HOST_SUBDIR)/mpfr && \
11498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11499 $(TARGET-mpfr))
11500 @endif mpfr
11504 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11505 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11506 maybe-all-stage1-mpfr:
11507 maybe-clean-stage1-mpfr:
11508 @if mpfr-bootstrap
11509 maybe-all-stage1-mpfr: all-stage1-mpfr
11510 all-stage1: all-stage1-mpfr
11511 TARGET-stage1-mpfr = $(TARGET-mpfr)
11512 all-stage1-mpfr: configure-stage1-mpfr
11513 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11514 @r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 TFLAGS="$(STAGE1_TFLAGS)"; \
11517 $(HOST_EXPORTS) \
11518 cd $(HOST_SUBDIR)/mpfr && \
11519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11520 CFLAGS="$(STAGE1_CFLAGS)" \
11521 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11522 LIBCFLAGS="$(LIBCFLAGS)" \
11523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11526 $(EXTRA_HOST_FLAGS) \
11527 TFLAGS="$(STAGE1_TFLAGS)" \
11528 $(TARGET-stage1-mpfr)
11530 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11531 clean-stage1: clean-stage1-mpfr
11532 clean-stage1-mpfr:
11533 @if [ $(current_stage) = stage1 ]; then \
11534 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11535 else \
11536 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11537 $(MAKE) stage1-start; \
11538 fi; \
11539 cd $(HOST_SUBDIR)/mpfr && \
11540 $(MAKE) $(EXTRA_HOST_FLAGS) \
11541 clean
11542 @endif mpfr-bootstrap
11545 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11546 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11547 maybe-all-stage2-mpfr:
11548 maybe-clean-stage2-mpfr:
11549 @if mpfr-bootstrap
11550 maybe-all-stage2-mpfr: all-stage2-mpfr
11551 all-stage2: all-stage2-mpfr
11552 TARGET-stage2-mpfr = $(TARGET-mpfr)
11553 all-stage2-mpfr: configure-stage2-mpfr
11554 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11555 @r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 TFLAGS="$(STAGE2_TFLAGS)"; \
11558 $(HOST_EXPORTS) \
11559 $(POSTSTAGE1_HOST_EXPORTS) \
11560 cd $(HOST_SUBDIR)/mpfr && \
11561 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11562 CFLAGS="$(STAGE2_CFLAGS)" \
11563 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11564 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11565 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11566 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11567 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11568 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11569 TFLAGS="$(STAGE2_TFLAGS)" \
11570 $(TARGET-stage2-mpfr)
11572 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11573 clean-stage2: clean-stage2-mpfr
11574 clean-stage2-mpfr:
11575 @if [ $(current_stage) = stage2 ]; then \
11576 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11577 else \
11578 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11579 $(MAKE) stage2-start; \
11580 fi; \
11581 cd $(HOST_SUBDIR)/mpfr && \
11582 $(MAKE) $(EXTRA_HOST_FLAGS) \
11583 $(POSTSTAGE1_FLAGS_TO_PASS) \
11584 clean
11585 @endif mpfr-bootstrap
11588 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11589 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11590 maybe-all-stage3-mpfr:
11591 maybe-clean-stage3-mpfr:
11592 @if mpfr-bootstrap
11593 maybe-all-stage3-mpfr: all-stage3-mpfr
11594 all-stage3: all-stage3-mpfr
11595 TARGET-stage3-mpfr = $(TARGET-mpfr)
11596 all-stage3-mpfr: configure-stage3-mpfr
11597 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11598 @r=`${PWD_COMMAND}`; export r; \
11599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11600 TFLAGS="$(STAGE3_TFLAGS)"; \
11601 $(HOST_EXPORTS) \
11602 $(POSTSTAGE1_HOST_EXPORTS) \
11603 cd $(HOST_SUBDIR)/mpfr && \
11604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11605 CFLAGS="$(STAGE3_CFLAGS)" \
11606 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11607 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11612 TFLAGS="$(STAGE3_TFLAGS)" \
11613 $(TARGET-stage3-mpfr)
11615 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11616 clean-stage3: clean-stage3-mpfr
11617 clean-stage3-mpfr:
11618 @if [ $(current_stage) = stage3 ]; then \
11619 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11620 else \
11621 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11622 $(MAKE) stage3-start; \
11623 fi; \
11624 cd $(HOST_SUBDIR)/mpfr && \
11625 $(MAKE) $(EXTRA_HOST_FLAGS) \
11626 $(POSTSTAGE1_FLAGS_TO_PASS) \
11627 clean
11628 @endif mpfr-bootstrap
11631 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11632 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11633 maybe-all-stage4-mpfr:
11634 maybe-clean-stage4-mpfr:
11635 @if mpfr-bootstrap
11636 maybe-all-stage4-mpfr: all-stage4-mpfr
11637 all-stage4: all-stage4-mpfr
11638 TARGET-stage4-mpfr = $(TARGET-mpfr)
11639 all-stage4-mpfr: configure-stage4-mpfr
11640 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11641 @r=`${PWD_COMMAND}`; export r; \
11642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 TFLAGS="$(STAGE4_TFLAGS)"; \
11644 $(HOST_EXPORTS) \
11645 $(POSTSTAGE1_HOST_EXPORTS) \
11646 cd $(HOST_SUBDIR)/mpfr && \
11647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11648 CFLAGS="$(STAGE4_CFLAGS)" \
11649 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11650 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11651 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11652 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11653 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11654 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11655 TFLAGS="$(STAGE4_TFLAGS)" \
11656 $(TARGET-stage4-mpfr)
11658 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11659 clean-stage4: clean-stage4-mpfr
11660 clean-stage4-mpfr:
11661 @if [ $(current_stage) = stage4 ]; then \
11662 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11663 else \
11664 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11665 $(MAKE) stage4-start; \
11666 fi; \
11667 cd $(HOST_SUBDIR)/mpfr && \
11668 $(MAKE) $(EXTRA_HOST_FLAGS) \
11669 $(POSTSTAGE1_FLAGS_TO_PASS) \
11670 clean
11671 @endif mpfr-bootstrap
11674 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11675 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11676 maybe-all-stageprofile-mpfr:
11677 maybe-clean-stageprofile-mpfr:
11678 @if mpfr-bootstrap
11679 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11680 all-stageprofile: all-stageprofile-mpfr
11681 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11682 all-stageprofile-mpfr: configure-stageprofile-mpfr
11683 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11684 @r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11687 $(HOST_EXPORTS) \
11688 $(POSTSTAGE1_HOST_EXPORTS) \
11689 cd $(HOST_SUBDIR)/mpfr && \
11690 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11691 CFLAGS="$(STAGEprofile_CFLAGS)" \
11692 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11693 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11694 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11695 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11696 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11697 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11698 TFLAGS="$(STAGEprofile_TFLAGS)" \
11699 $(TARGET-stageprofile-mpfr)
11701 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11702 clean-stageprofile: clean-stageprofile-mpfr
11703 clean-stageprofile-mpfr:
11704 @if [ $(current_stage) = stageprofile ]; then \
11705 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11706 else \
11707 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11708 $(MAKE) stageprofile-start; \
11709 fi; \
11710 cd $(HOST_SUBDIR)/mpfr && \
11711 $(MAKE) $(EXTRA_HOST_FLAGS) \
11712 $(POSTSTAGE1_FLAGS_TO_PASS) \
11713 clean
11714 @endif mpfr-bootstrap
11717 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11718 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11719 maybe-all-stagefeedback-mpfr:
11720 maybe-clean-stagefeedback-mpfr:
11721 @if mpfr-bootstrap
11722 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11723 all-stagefeedback: all-stagefeedback-mpfr
11724 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11725 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11726 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11727 @r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11730 $(HOST_EXPORTS) \
11731 $(POSTSTAGE1_HOST_EXPORTS) \
11732 cd $(HOST_SUBDIR)/mpfr && \
11733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11734 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11735 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11736 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11740 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11741 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11742 $(TARGET-stagefeedback-mpfr)
11744 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11745 clean-stagefeedback: clean-stagefeedback-mpfr
11746 clean-stagefeedback-mpfr:
11747 @if [ $(current_stage) = stagefeedback ]; then \
11748 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11749 else \
11750 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11751 $(MAKE) stagefeedback-start; \
11752 fi; \
11753 cd $(HOST_SUBDIR)/mpfr && \
11754 $(MAKE) $(EXTRA_HOST_FLAGS) \
11755 $(POSTSTAGE1_FLAGS_TO_PASS) \
11756 clean
11757 @endif mpfr-bootstrap
11763 .PHONY: check-mpfr maybe-check-mpfr
11764 maybe-check-mpfr:
11765 @if mpfr
11766 maybe-check-mpfr: check-mpfr
11768 check-mpfr:
11769 @: $(MAKE); $(unstage)
11770 @r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11772 $(HOST_EXPORTS) \
11773 (cd $(HOST_SUBDIR)/mpfr && \
11774 $(MAKE) $(FLAGS_TO_PASS) check)
11776 @endif mpfr
11778 .PHONY: install-mpfr maybe-install-mpfr
11779 maybe-install-mpfr:
11780 @if mpfr
11781 maybe-install-mpfr: install-mpfr
11783 install-mpfr:
11785 @endif mpfr
11787 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11788 maybe-install-strip-mpfr:
11789 @if mpfr
11790 maybe-install-strip-mpfr: install-strip-mpfr
11792 install-strip-mpfr:
11794 @endif mpfr
11796 # Other targets (info, dvi, pdf, etc.)
11798 .PHONY: maybe-info-mpfr info-mpfr
11799 maybe-info-mpfr:
11800 @if mpfr
11801 maybe-info-mpfr: info-mpfr
11803 info-mpfr: \
11804 configure-mpfr
11805 @[ -f ./mpfr/Makefile ] || exit 0; \
11806 r=`${PWD_COMMAND}`; export r; \
11807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11808 $(HOST_EXPORTS) \
11809 for flag in $(EXTRA_HOST_FLAGS) ; do \
11810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11811 done; \
11812 echo "Doing info in mpfr" ; \
11813 (cd $(HOST_SUBDIR)/mpfr && \
11814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11816 "RANLIB=$${RANLIB}" \
11817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11818 info) \
11819 || exit 1
11821 @endif mpfr
11823 .PHONY: maybe-dvi-mpfr dvi-mpfr
11824 maybe-dvi-mpfr:
11825 @if mpfr
11826 maybe-dvi-mpfr: dvi-mpfr
11828 dvi-mpfr: \
11829 configure-mpfr
11830 @[ -f ./mpfr/Makefile ] || exit 0; \
11831 r=`${PWD_COMMAND}`; export r; \
11832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11833 $(HOST_EXPORTS) \
11834 for flag in $(EXTRA_HOST_FLAGS) ; do \
11835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11836 done; \
11837 echo "Doing dvi in mpfr" ; \
11838 (cd $(HOST_SUBDIR)/mpfr && \
11839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11841 "RANLIB=$${RANLIB}" \
11842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11843 dvi) \
11844 || exit 1
11846 @endif mpfr
11848 .PHONY: maybe-pdf-mpfr pdf-mpfr
11849 maybe-pdf-mpfr:
11850 @if mpfr
11851 maybe-pdf-mpfr: pdf-mpfr
11853 pdf-mpfr: \
11854 configure-mpfr
11855 @[ -f ./mpfr/Makefile ] || exit 0; \
11856 r=`${PWD_COMMAND}`; export r; \
11857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11858 $(HOST_EXPORTS) \
11859 for flag in $(EXTRA_HOST_FLAGS) ; do \
11860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11861 done; \
11862 echo "Doing pdf in mpfr" ; \
11863 (cd $(HOST_SUBDIR)/mpfr && \
11864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11866 "RANLIB=$${RANLIB}" \
11867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11868 pdf) \
11869 || exit 1
11871 @endif mpfr
11873 .PHONY: maybe-html-mpfr html-mpfr
11874 maybe-html-mpfr:
11875 @if mpfr
11876 maybe-html-mpfr: html-mpfr
11878 html-mpfr: \
11879 configure-mpfr
11880 @[ -f ./mpfr/Makefile ] || exit 0; \
11881 r=`${PWD_COMMAND}`; export r; \
11882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11883 $(HOST_EXPORTS) \
11884 for flag in $(EXTRA_HOST_FLAGS) ; do \
11885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11886 done; \
11887 echo "Doing html in mpfr" ; \
11888 (cd $(HOST_SUBDIR)/mpfr && \
11889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11891 "RANLIB=$${RANLIB}" \
11892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11893 html) \
11894 || exit 1
11896 @endif mpfr
11898 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11899 maybe-TAGS-mpfr:
11900 @if mpfr
11901 maybe-TAGS-mpfr: TAGS-mpfr
11903 TAGS-mpfr: \
11904 configure-mpfr
11905 @[ -f ./mpfr/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS) ; do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing TAGS in mpfr" ; \
11913 (cd $(HOST_SUBDIR)/mpfr && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11918 TAGS) \
11919 || exit 1
11921 @endif mpfr
11923 .PHONY: maybe-install-info-mpfr install-info-mpfr
11924 maybe-install-info-mpfr:
11925 @if mpfr
11926 maybe-install-info-mpfr: install-info-mpfr
11928 install-info-mpfr: \
11929 configure-mpfr \
11930 info-mpfr
11931 @[ -f ./mpfr/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(HOST_EXPORTS) \
11935 for flag in $(EXTRA_HOST_FLAGS) ; do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937 done; \
11938 echo "Doing install-info in mpfr" ; \
11939 (cd $(HOST_SUBDIR)/mpfr && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11944 install-info) \
11945 || exit 1
11947 @endif mpfr
11949 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11950 maybe-install-pdf-mpfr:
11951 @if mpfr
11952 maybe-install-pdf-mpfr: install-pdf-mpfr
11954 install-pdf-mpfr: \
11955 configure-mpfr \
11956 pdf-mpfr
11957 @[ -f ./mpfr/Makefile ] || exit 0; \
11958 r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 $(HOST_EXPORTS) \
11961 for flag in $(EXTRA_HOST_FLAGS) ; do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963 done; \
11964 echo "Doing install-pdf in mpfr" ; \
11965 (cd $(HOST_SUBDIR)/mpfr && \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11970 install-pdf) \
11971 || exit 1
11973 @endif mpfr
11975 .PHONY: maybe-install-html-mpfr install-html-mpfr
11976 maybe-install-html-mpfr:
11977 @if mpfr
11978 maybe-install-html-mpfr: install-html-mpfr
11980 install-html-mpfr: \
11981 configure-mpfr \
11982 html-mpfr
11983 @[ -f ./mpfr/Makefile ] || exit 0; \
11984 r=`${PWD_COMMAND}`; export r; \
11985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11986 $(HOST_EXPORTS) \
11987 for flag in $(EXTRA_HOST_FLAGS) ; do \
11988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11989 done; \
11990 echo "Doing install-html in mpfr" ; \
11991 (cd $(HOST_SUBDIR)/mpfr && \
11992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11994 "RANLIB=$${RANLIB}" \
11995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11996 install-html) \
11997 || exit 1
11999 @endif mpfr
12001 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12002 maybe-installcheck-mpfr:
12003 @if mpfr
12004 maybe-installcheck-mpfr: installcheck-mpfr
12006 installcheck-mpfr: \
12007 configure-mpfr
12008 @[ -f ./mpfr/Makefile ] || exit 0; \
12009 r=`${PWD_COMMAND}`; export r; \
12010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12011 $(HOST_EXPORTS) \
12012 for flag in $(EXTRA_HOST_FLAGS) ; do \
12013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12014 done; \
12015 echo "Doing installcheck in mpfr" ; \
12016 (cd $(HOST_SUBDIR)/mpfr && \
12017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12019 "RANLIB=$${RANLIB}" \
12020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12021 installcheck) \
12022 || exit 1
12024 @endif mpfr
12026 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12027 maybe-mostlyclean-mpfr:
12028 @if mpfr
12029 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12031 mostlyclean-mpfr:
12032 @[ -f ./mpfr/Makefile ] || exit 0; \
12033 r=`${PWD_COMMAND}`; export r; \
12034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12035 $(HOST_EXPORTS) \
12036 for flag in $(EXTRA_HOST_FLAGS) ; do \
12037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12038 done; \
12039 echo "Doing mostlyclean in mpfr" ; \
12040 (cd $(HOST_SUBDIR)/mpfr && \
12041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12043 "RANLIB=$${RANLIB}" \
12044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12045 mostlyclean) \
12046 || exit 1
12048 @endif mpfr
12050 .PHONY: maybe-clean-mpfr clean-mpfr
12051 maybe-clean-mpfr:
12052 @if mpfr
12053 maybe-clean-mpfr: clean-mpfr
12055 clean-mpfr:
12056 @[ -f ./mpfr/Makefile ] || exit 0; \
12057 r=`${PWD_COMMAND}`; export r; \
12058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12059 $(HOST_EXPORTS) \
12060 for flag in $(EXTRA_HOST_FLAGS) ; do \
12061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12062 done; \
12063 echo "Doing clean in mpfr" ; \
12064 (cd $(HOST_SUBDIR)/mpfr && \
12065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12067 "RANLIB=$${RANLIB}" \
12068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12069 clean) \
12070 || exit 1
12072 @endif mpfr
12074 .PHONY: maybe-distclean-mpfr distclean-mpfr
12075 maybe-distclean-mpfr:
12076 @if mpfr
12077 maybe-distclean-mpfr: distclean-mpfr
12079 distclean-mpfr:
12080 @[ -f ./mpfr/Makefile ] || exit 0; \
12081 r=`${PWD_COMMAND}`; export r; \
12082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12083 $(HOST_EXPORTS) \
12084 for flag in $(EXTRA_HOST_FLAGS) ; do \
12085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12086 done; \
12087 echo "Doing distclean in mpfr" ; \
12088 (cd $(HOST_SUBDIR)/mpfr && \
12089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12091 "RANLIB=$${RANLIB}" \
12092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12093 distclean) \
12094 || exit 1
12096 @endif mpfr
12098 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12099 maybe-maintainer-clean-mpfr:
12100 @if mpfr
12101 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12103 maintainer-clean-mpfr:
12104 @[ -f ./mpfr/Makefile ] || exit 0; \
12105 r=`${PWD_COMMAND}`; export r; \
12106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12107 $(HOST_EXPORTS) \
12108 for flag in $(EXTRA_HOST_FLAGS) ; do \
12109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12110 done; \
12111 echo "Doing maintainer-clean in mpfr" ; \
12112 (cd $(HOST_SUBDIR)/mpfr && \
12113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12115 "RANLIB=$${RANLIB}" \
12116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12117 maintainer-clean) \
12118 || exit 1
12120 @endif mpfr
12124 .PHONY: configure-mpc maybe-configure-mpc
12125 maybe-configure-mpc:
12126 @if gcc-bootstrap
12127 configure-mpc: stage_current
12128 @endif gcc-bootstrap
12129 @if mpc
12130 maybe-configure-mpc: configure-mpc
12131 configure-mpc:
12132 @r=`${PWD_COMMAND}`; export r; \
12133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12136 $(HOST_EXPORTS) \
12137 echo Configuring in $(HOST_SUBDIR)/mpc; \
12138 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12139 case $(srcdir) in \
12140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12141 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12143 esac; \
12144 srcdiroption="--srcdir=$${topdir}/mpc"; \
12145 libsrcdir="$$s/mpc"; \
12146 $(SHELL) $${libsrcdir}/configure \
12147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12148 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12149 || exit 1
12150 @endif mpc
12154 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12155 maybe-configure-stage1-mpc:
12156 @if mpc-bootstrap
12157 maybe-configure-stage1-mpc: configure-stage1-mpc
12158 configure-stage1-mpc:
12159 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12161 @r=`${PWD_COMMAND}`; export r; \
12162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12163 TFLAGS="$(STAGE1_TFLAGS)"; \
12164 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12165 $(HOST_EXPORTS) \
12166 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12167 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12168 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12169 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12171 cd $(HOST_SUBDIR)/mpc || exit 1; \
12172 case $(srcdir) in \
12173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12174 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12176 esac; \
12177 srcdiroption="--srcdir=$${topdir}/mpc"; \
12178 libsrcdir="$$s/mpc"; \
12179 $(SHELL) $${libsrcdir}/configure \
12180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12181 --target=${target_alias} $${srcdiroption} \
12182 $(STAGE1_CONFIGURE_FLAGS) \
12183 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12184 @endif mpc-bootstrap
12186 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12187 maybe-configure-stage2-mpc:
12188 @if mpc-bootstrap
12189 maybe-configure-stage2-mpc: configure-stage2-mpc
12190 configure-stage2-mpc:
12191 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12193 @r=`${PWD_COMMAND}`; export r; \
12194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12195 TFLAGS="$(STAGE2_TFLAGS)"; \
12196 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12197 $(HOST_EXPORTS) \
12198 $(POSTSTAGE1_HOST_EXPORTS) \
12199 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12200 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12201 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12202 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12204 cd $(HOST_SUBDIR)/mpc || exit 1; \
12205 case $(srcdir) in \
12206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12207 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12209 esac; \
12210 srcdiroption="--srcdir=$${topdir}/mpc"; \
12211 libsrcdir="$$s/mpc"; \
12212 $(SHELL) $${libsrcdir}/configure \
12213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12214 --target=${target_alias} $${srcdiroption} \
12215 --with-build-libsubdir=$(HOST_SUBDIR) \
12216 $(STAGE2_CONFIGURE_FLAGS) \
12217 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12218 @endif mpc-bootstrap
12220 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12221 maybe-configure-stage3-mpc:
12222 @if mpc-bootstrap
12223 maybe-configure-stage3-mpc: configure-stage3-mpc
12224 configure-stage3-mpc:
12225 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12227 @r=`${PWD_COMMAND}`; export r; \
12228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12229 TFLAGS="$(STAGE3_TFLAGS)"; \
12230 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12231 $(HOST_EXPORTS) \
12232 $(POSTSTAGE1_HOST_EXPORTS) \
12233 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12234 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12235 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12236 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12238 cd $(HOST_SUBDIR)/mpc || exit 1; \
12239 case $(srcdir) in \
12240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12241 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12243 esac; \
12244 srcdiroption="--srcdir=$${topdir}/mpc"; \
12245 libsrcdir="$$s/mpc"; \
12246 $(SHELL) $${libsrcdir}/configure \
12247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12248 --target=${target_alias} $${srcdiroption} \
12249 --with-build-libsubdir=$(HOST_SUBDIR) \
12250 $(STAGE3_CONFIGURE_FLAGS) \
12251 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12252 @endif mpc-bootstrap
12254 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12255 maybe-configure-stage4-mpc:
12256 @if mpc-bootstrap
12257 maybe-configure-stage4-mpc: configure-stage4-mpc
12258 configure-stage4-mpc:
12259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12261 @r=`${PWD_COMMAND}`; export r; \
12262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12263 TFLAGS="$(STAGE4_TFLAGS)"; \
12264 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12265 $(HOST_EXPORTS) \
12266 $(POSTSTAGE1_HOST_EXPORTS) \
12267 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12268 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12269 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12270 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12272 cd $(HOST_SUBDIR)/mpc || exit 1; \
12273 case $(srcdir) in \
12274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12275 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12277 esac; \
12278 srcdiroption="--srcdir=$${topdir}/mpc"; \
12279 libsrcdir="$$s/mpc"; \
12280 $(SHELL) $${libsrcdir}/configure \
12281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12282 --target=${target_alias} $${srcdiroption} \
12283 --with-build-libsubdir=$(HOST_SUBDIR) \
12284 $(STAGE4_CONFIGURE_FLAGS) \
12285 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12286 @endif mpc-bootstrap
12288 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12289 maybe-configure-stageprofile-mpc:
12290 @if mpc-bootstrap
12291 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12292 configure-stageprofile-mpc:
12293 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12295 @r=`${PWD_COMMAND}`; export r; \
12296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12297 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12298 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12299 $(HOST_EXPORTS) \
12300 $(POSTSTAGE1_HOST_EXPORTS) \
12301 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12302 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12303 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12304 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12306 cd $(HOST_SUBDIR)/mpc || exit 1; \
12307 case $(srcdir) in \
12308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12309 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12311 esac; \
12312 srcdiroption="--srcdir=$${topdir}/mpc"; \
12313 libsrcdir="$$s/mpc"; \
12314 $(SHELL) $${libsrcdir}/configure \
12315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12316 --target=${target_alias} $${srcdiroption} \
12317 --with-build-libsubdir=$(HOST_SUBDIR) \
12318 $(STAGEprofile_CONFIGURE_FLAGS) \
12319 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12320 @endif mpc-bootstrap
12322 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12323 maybe-configure-stagefeedback-mpc:
12324 @if mpc-bootstrap
12325 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12326 configure-stagefeedback-mpc:
12327 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12329 @r=`${PWD_COMMAND}`; export r; \
12330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12331 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12332 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12333 $(HOST_EXPORTS) \
12334 $(POSTSTAGE1_HOST_EXPORTS) \
12335 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12336 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12337 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12338 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12340 cd $(HOST_SUBDIR)/mpc || exit 1; \
12341 case $(srcdir) in \
12342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12343 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12345 esac; \
12346 srcdiroption="--srcdir=$${topdir}/mpc"; \
12347 libsrcdir="$$s/mpc"; \
12348 $(SHELL) $${libsrcdir}/configure \
12349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12350 --target=${target_alias} $${srcdiroption} \
12351 --with-build-libsubdir=$(HOST_SUBDIR) \
12352 $(STAGEfeedback_CONFIGURE_FLAGS) \
12353 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12354 @endif mpc-bootstrap
12360 .PHONY: all-mpc maybe-all-mpc
12361 maybe-all-mpc:
12362 @if gcc-bootstrap
12363 all-mpc: stage_current
12364 @endif gcc-bootstrap
12365 @if mpc
12366 TARGET-mpc=all
12367 maybe-all-mpc: all-mpc
12368 all-mpc: configure-mpc
12369 @r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12371 $(HOST_EXPORTS) \
12372 (cd $(HOST_SUBDIR)/mpc && \
12373 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12374 $(TARGET-mpc))
12375 @endif mpc
12379 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12380 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12381 maybe-all-stage1-mpc:
12382 maybe-clean-stage1-mpc:
12383 @if mpc-bootstrap
12384 maybe-all-stage1-mpc: all-stage1-mpc
12385 all-stage1: all-stage1-mpc
12386 TARGET-stage1-mpc = $(TARGET-mpc)
12387 all-stage1-mpc: configure-stage1-mpc
12388 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12389 @r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12391 TFLAGS="$(STAGE1_TFLAGS)"; \
12392 $(HOST_EXPORTS) \
12393 cd $(HOST_SUBDIR)/mpc && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12395 CFLAGS="$(STAGE1_CFLAGS)" \
12396 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12397 LIBCFLAGS="$(LIBCFLAGS)" \
12398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12401 $(EXTRA_HOST_FLAGS) \
12402 TFLAGS="$(STAGE1_TFLAGS)" \
12403 $(TARGET-stage1-mpc)
12405 maybe-clean-stage1-mpc: clean-stage1-mpc
12406 clean-stage1: clean-stage1-mpc
12407 clean-stage1-mpc:
12408 @if [ $(current_stage) = stage1 ]; then \
12409 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12410 else \
12411 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12412 $(MAKE) stage1-start; \
12413 fi; \
12414 cd $(HOST_SUBDIR)/mpc && \
12415 $(MAKE) $(EXTRA_HOST_FLAGS) \
12416 clean
12417 @endif mpc-bootstrap
12420 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12421 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12422 maybe-all-stage2-mpc:
12423 maybe-clean-stage2-mpc:
12424 @if mpc-bootstrap
12425 maybe-all-stage2-mpc: all-stage2-mpc
12426 all-stage2: all-stage2-mpc
12427 TARGET-stage2-mpc = $(TARGET-mpc)
12428 all-stage2-mpc: configure-stage2-mpc
12429 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12430 @r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 TFLAGS="$(STAGE2_TFLAGS)"; \
12433 $(HOST_EXPORTS) \
12434 $(POSTSTAGE1_HOST_EXPORTS) \
12435 cd $(HOST_SUBDIR)/mpc && \
12436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12437 CFLAGS="$(STAGE2_CFLAGS)" \
12438 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12439 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12444 TFLAGS="$(STAGE2_TFLAGS)" \
12445 $(TARGET-stage2-mpc)
12447 maybe-clean-stage2-mpc: clean-stage2-mpc
12448 clean-stage2: clean-stage2-mpc
12449 clean-stage2-mpc:
12450 @if [ $(current_stage) = stage2 ]; then \
12451 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12452 else \
12453 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12454 $(MAKE) stage2-start; \
12455 fi; \
12456 cd $(HOST_SUBDIR)/mpc && \
12457 $(MAKE) $(EXTRA_HOST_FLAGS) \
12458 $(POSTSTAGE1_FLAGS_TO_PASS) \
12459 clean
12460 @endif mpc-bootstrap
12463 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12464 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12465 maybe-all-stage3-mpc:
12466 maybe-clean-stage3-mpc:
12467 @if mpc-bootstrap
12468 maybe-all-stage3-mpc: all-stage3-mpc
12469 all-stage3: all-stage3-mpc
12470 TARGET-stage3-mpc = $(TARGET-mpc)
12471 all-stage3-mpc: configure-stage3-mpc
12472 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12473 @r=`${PWD_COMMAND}`; export r; \
12474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12475 TFLAGS="$(STAGE3_TFLAGS)"; \
12476 $(HOST_EXPORTS) \
12477 $(POSTSTAGE1_HOST_EXPORTS) \
12478 cd $(HOST_SUBDIR)/mpc && \
12479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12480 CFLAGS="$(STAGE3_CFLAGS)" \
12481 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12482 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12483 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12484 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12485 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12486 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12487 TFLAGS="$(STAGE3_TFLAGS)" \
12488 $(TARGET-stage3-mpc)
12490 maybe-clean-stage3-mpc: clean-stage3-mpc
12491 clean-stage3: clean-stage3-mpc
12492 clean-stage3-mpc:
12493 @if [ $(current_stage) = stage3 ]; then \
12494 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12495 else \
12496 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12497 $(MAKE) stage3-start; \
12498 fi; \
12499 cd $(HOST_SUBDIR)/mpc && \
12500 $(MAKE) $(EXTRA_HOST_FLAGS) \
12501 $(POSTSTAGE1_FLAGS_TO_PASS) \
12502 clean
12503 @endif mpc-bootstrap
12506 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12507 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12508 maybe-all-stage4-mpc:
12509 maybe-clean-stage4-mpc:
12510 @if mpc-bootstrap
12511 maybe-all-stage4-mpc: all-stage4-mpc
12512 all-stage4: all-stage4-mpc
12513 TARGET-stage4-mpc = $(TARGET-mpc)
12514 all-stage4-mpc: configure-stage4-mpc
12515 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12516 @r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 TFLAGS="$(STAGE4_TFLAGS)"; \
12519 $(HOST_EXPORTS) \
12520 $(POSTSTAGE1_HOST_EXPORTS) \
12521 cd $(HOST_SUBDIR)/mpc && \
12522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12523 CFLAGS="$(STAGE4_CFLAGS)" \
12524 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12525 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12529 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12530 TFLAGS="$(STAGE4_TFLAGS)" \
12531 $(TARGET-stage4-mpc)
12533 maybe-clean-stage4-mpc: clean-stage4-mpc
12534 clean-stage4: clean-stage4-mpc
12535 clean-stage4-mpc:
12536 @if [ $(current_stage) = stage4 ]; then \
12537 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12538 else \
12539 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12540 $(MAKE) stage4-start; \
12541 fi; \
12542 cd $(HOST_SUBDIR)/mpc && \
12543 $(MAKE) $(EXTRA_HOST_FLAGS) \
12544 $(POSTSTAGE1_FLAGS_TO_PASS) \
12545 clean
12546 @endif mpc-bootstrap
12549 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12550 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12551 maybe-all-stageprofile-mpc:
12552 maybe-clean-stageprofile-mpc:
12553 @if mpc-bootstrap
12554 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12555 all-stageprofile: all-stageprofile-mpc
12556 TARGET-stageprofile-mpc = $(TARGET-mpc)
12557 all-stageprofile-mpc: configure-stageprofile-mpc
12558 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12559 @r=`${PWD_COMMAND}`; export r; \
12560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12561 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12562 $(HOST_EXPORTS) \
12563 $(POSTSTAGE1_HOST_EXPORTS) \
12564 cd $(HOST_SUBDIR)/mpc && \
12565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12566 CFLAGS="$(STAGEprofile_CFLAGS)" \
12567 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12568 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12572 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12573 TFLAGS="$(STAGEprofile_TFLAGS)" \
12574 $(TARGET-stageprofile-mpc)
12576 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12577 clean-stageprofile: clean-stageprofile-mpc
12578 clean-stageprofile-mpc:
12579 @if [ $(current_stage) = stageprofile ]; then \
12580 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12581 else \
12582 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12583 $(MAKE) stageprofile-start; \
12584 fi; \
12585 cd $(HOST_SUBDIR)/mpc && \
12586 $(MAKE) $(EXTRA_HOST_FLAGS) \
12587 $(POSTSTAGE1_FLAGS_TO_PASS) \
12588 clean
12589 @endif mpc-bootstrap
12592 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12593 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12594 maybe-all-stagefeedback-mpc:
12595 maybe-clean-stagefeedback-mpc:
12596 @if mpc-bootstrap
12597 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12598 all-stagefeedback: all-stagefeedback-mpc
12599 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12600 all-stagefeedback-mpc: configure-stagefeedback-mpc
12601 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12602 @r=`${PWD_COMMAND}`; export r; \
12603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12605 $(HOST_EXPORTS) \
12606 $(POSTSTAGE1_HOST_EXPORTS) \
12607 cd $(HOST_SUBDIR)/mpc && \
12608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12609 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12610 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12611 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12612 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12613 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12614 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12615 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12616 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12617 $(TARGET-stagefeedback-mpc)
12619 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12620 clean-stagefeedback: clean-stagefeedback-mpc
12621 clean-stagefeedback-mpc:
12622 @if [ $(current_stage) = stagefeedback ]; then \
12623 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12624 else \
12625 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12626 $(MAKE) stagefeedback-start; \
12627 fi; \
12628 cd $(HOST_SUBDIR)/mpc && \
12629 $(MAKE) $(EXTRA_HOST_FLAGS) \
12630 $(POSTSTAGE1_FLAGS_TO_PASS) \
12631 clean
12632 @endif mpc-bootstrap
12638 .PHONY: check-mpc maybe-check-mpc
12639 maybe-check-mpc:
12640 @if mpc
12641 maybe-check-mpc: check-mpc
12643 check-mpc:
12644 @: $(MAKE); $(unstage)
12645 @r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 (cd $(HOST_SUBDIR)/mpc && \
12649 $(MAKE) $(FLAGS_TO_PASS) check)
12651 @endif mpc
12653 .PHONY: install-mpc maybe-install-mpc
12654 maybe-install-mpc:
12655 @if mpc
12656 maybe-install-mpc: install-mpc
12658 install-mpc:
12660 @endif mpc
12662 .PHONY: install-strip-mpc maybe-install-strip-mpc
12663 maybe-install-strip-mpc:
12664 @if mpc
12665 maybe-install-strip-mpc: install-strip-mpc
12667 install-strip-mpc:
12669 @endif mpc
12671 # Other targets (info, dvi, pdf, etc.)
12673 .PHONY: maybe-info-mpc info-mpc
12674 maybe-info-mpc:
12675 @if mpc
12676 maybe-info-mpc: info-mpc
12678 info-mpc: \
12679 configure-mpc
12680 @[ -f ./mpc/Makefile ] || exit 0; \
12681 r=`${PWD_COMMAND}`; export r; \
12682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12683 $(HOST_EXPORTS) \
12684 for flag in $(EXTRA_HOST_FLAGS) ; do \
12685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12686 done; \
12687 echo "Doing info in mpc" ; \
12688 (cd $(HOST_SUBDIR)/mpc && \
12689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12691 "RANLIB=$${RANLIB}" \
12692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12693 info) \
12694 || exit 1
12696 @endif mpc
12698 .PHONY: maybe-dvi-mpc dvi-mpc
12699 maybe-dvi-mpc:
12700 @if mpc
12701 maybe-dvi-mpc: dvi-mpc
12703 dvi-mpc: \
12704 configure-mpc
12705 @[ -f ./mpc/Makefile ] || exit 0; \
12706 r=`${PWD_COMMAND}`; export r; \
12707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12708 $(HOST_EXPORTS) \
12709 for flag in $(EXTRA_HOST_FLAGS) ; do \
12710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12711 done; \
12712 echo "Doing dvi in mpc" ; \
12713 (cd $(HOST_SUBDIR)/mpc && \
12714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12716 "RANLIB=$${RANLIB}" \
12717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12718 dvi) \
12719 || exit 1
12721 @endif mpc
12723 .PHONY: maybe-pdf-mpc pdf-mpc
12724 maybe-pdf-mpc:
12725 @if mpc
12726 maybe-pdf-mpc: pdf-mpc
12728 pdf-mpc: \
12729 configure-mpc
12730 @[ -f ./mpc/Makefile ] || exit 0; \
12731 r=`${PWD_COMMAND}`; export r; \
12732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 $(HOST_EXPORTS) \
12734 for flag in $(EXTRA_HOST_FLAGS) ; do \
12735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 done; \
12737 echo "Doing pdf in mpc" ; \
12738 (cd $(HOST_SUBDIR)/mpc && \
12739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12741 "RANLIB=$${RANLIB}" \
12742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12743 pdf) \
12744 || exit 1
12746 @endif mpc
12748 .PHONY: maybe-html-mpc html-mpc
12749 maybe-html-mpc:
12750 @if mpc
12751 maybe-html-mpc: html-mpc
12753 html-mpc: \
12754 configure-mpc
12755 @[ -f ./mpc/Makefile ] || exit 0; \
12756 r=`${PWD_COMMAND}`; export r; \
12757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12758 $(HOST_EXPORTS) \
12759 for flag in $(EXTRA_HOST_FLAGS) ; do \
12760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12761 done; \
12762 echo "Doing html in mpc" ; \
12763 (cd $(HOST_SUBDIR)/mpc && \
12764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12766 "RANLIB=$${RANLIB}" \
12767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12768 html) \
12769 || exit 1
12771 @endif mpc
12773 .PHONY: maybe-TAGS-mpc TAGS-mpc
12774 maybe-TAGS-mpc:
12775 @if mpc
12776 maybe-TAGS-mpc: TAGS-mpc
12778 TAGS-mpc: \
12779 configure-mpc
12780 @[ -f ./mpc/Makefile ] || exit 0; \
12781 r=`${PWD_COMMAND}`; export r; \
12782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12783 $(HOST_EXPORTS) \
12784 for flag in $(EXTRA_HOST_FLAGS) ; do \
12785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12786 done; \
12787 echo "Doing TAGS in mpc" ; \
12788 (cd $(HOST_SUBDIR)/mpc && \
12789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12791 "RANLIB=$${RANLIB}" \
12792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12793 TAGS) \
12794 || exit 1
12796 @endif mpc
12798 .PHONY: maybe-install-info-mpc install-info-mpc
12799 maybe-install-info-mpc:
12800 @if mpc
12801 maybe-install-info-mpc: install-info-mpc
12803 install-info-mpc: \
12804 configure-mpc \
12805 info-mpc
12806 @[ -f ./mpc/Makefile ] || exit 0; \
12807 r=`${PWD_COMMAND}`; export r; \
12808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12809 $(HOST_EXPORTS) \
12810 for flag in $(EXTRA_HOST_FLAGS) ; do \
12811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12812 done; \
12813 echo "Doing install-info in mpc" ; \
12814 (cd $(HOST_SUBDIR)/mpc && \
12815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12817 "RANLIB=$${RANLIB}" \
12818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12819 install-info) \
12820 || exit 1
12822 @endif mpc
12824 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12825 maybe-install-pdf-mpc:
12826 @if mpc
12827 maybe-install-pdf-mpc: install-pdf-mpc
12829 install-pdf-mpc: \
12830 configure-mpc \
12831 pdf-mpc
12832 @[ -f ./mpc/Makefile ] || exit 0; \
12833 r=`${PWD_COMMAND}`; export r; \
12834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12835 $(HOST_EXPORTS) \
12836 for flag in $(EXTRA_HOST_FLAGS) ; do \
12837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12838 done; \
12839 echo "Doing install-pdf in mpc" ; \
12840 (cd $(HOST_SUBDIR)/mpc && \
12841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12843 "RANLIB=$${RANLIB}" \
12844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12845 install-pdf) \
12846 || exit 1
12848 @endif mpc
12850 .PHONY: maybe-install-html-mpc install-html-mpc
12851 maybe-install-html-mpc:
12852 @if mpc
12853 maybe-install-html-mpc: install-html-mpc
12855 install-html-mpc: \
12856 configure-mpc \
12857 html-mpc
12858 @[ -f ./mpc/Makefile ] || exit 0; \
12859 r=`${PWD_COMMAND}`; export r; \
12860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861 $(HOST_EXPORTS) \
12862 for flag in $(EXTRA_HOST_FLAGS) ; do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864 done; \
12865 echo "Doing install-html in mpc" ; \
12866 (cd $(HOST_SUBDIR)/mpc && \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12871 install-html) \
12872 || exit 1
12874 @endif mpc
12876 .PHONY: maybe-installcheck-mpc installcheck-mpc
12877 maybe-installcheck-mpc:
12878 @if mpc
12879 maybe-installcheck-mpc: installcheck-mpc
12881 installcheck-mpc: \
12882 configure-mpc
12883 @[ -f ./mpc/Makefile ] || exit 0; \
12884 r=`${PWD_COMMAND}`; export r; \
12885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12886 $(HOST_EXPORTS) \
12887 for flag in $(EXTRA_HOST_FLAGS) ; do \
12888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12889 done; \
12890 echo "Doing installcheck in mpc" ; \
12891 (cd $(HOST_SUBDIR)/mpc && \
12892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12894 "RANLIB=$${RANLIB}" \
12895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12896 installcheck) \
12897 || exit 1
12899 @endif mpc
12901 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12902 maybe-mostlyclean-mpc:
12903 @if mpc
12904 maybe-mostlyclean-mpc: mostlyclean-mpc
12906 mostlyclean-mpc:
12907 @[ -f ./mpc/Makefile ] || exit 0; \
12908 r=`${PWD_COMMAND}`; export r; \
12909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12910 $(HOST_EXPORTS) \
12911 for flag in $(EXTRA_HOST_FLAGS) ; do \
12912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12913 done; \
12914 echo "Doing mostlyclean in mpc" ; \
12915 (cd $(HOST_SUBDIR)/mpc && \
12916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12918 "RANLIB=$${RANLIB}" \
12919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12920 mostlyclean) \
12921 || exit 1
12923 @endif mpc
12925 .PHONY: maybe-clean-mpc clean-mpc
12926 maybe-clean-mpc:
12927 @if mpc
12928 maybe-clean-mpc: clean-mpc
12930 clean-mpc:
12931 @[ -f ./mpc/Makefile ] || exit 0; \
12932 r=`${PWD_COMMAND}`; export r; \
12933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12934 $(HOST_EXPORTS) \
12935 for flag in $(EXTRA_HOST_FLAGS) ; do \
12936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12937 done; \
12938 echo "Doing clean in mpc" ; \
12939 (cd $(HOST_SUBDIR)/mpc && \
12940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12942 "RANLIB=$${RANLIB}" \
12943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12944 clean) \
12945 || exit 1
12947 @endif mpc
12949 .PHONY: maybe-distclean-mpc distclean-mpc
12950 maybe-distclean-mpc:
12951 @if mpc
12952 maybe-distclean-mpc: distclean-mpc
12954 distclean-mpc:
12955 @[ -f ./mpc/Makefile ] || exit 0; \
12956 r=`${PWD_COMMAND}`; export r; \
12957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12958 $(HOST_EXPORTS) \
12959 for flag in $(EXTRA_HOST_FLAGS) ; do \
12960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12961 done; \
12962 echo "Doing distclean in mpc" ; \
12963 (cd $(HOST_SUBDIR)/mpc && \
12964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12966 "RANLIB=$${RANLIB}" \
12967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12968 distclean) \
12969 || exit 1
12971 @endif mpc
12973 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12974 maybe-maintainer-clean-mpc:
12975 @if mpc
12976 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12978 maintainer-clean-mpc:
12979 @[ -f ./mpc/Makefile ] || exit 0; \
12980 r=`${PWD_COMMAND}`; export r; \
12981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12982 $(HOST_EXPORTS) \
12983 for flag in $(EXTRA_HOST_FLAGS) ; do \
12984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12985 done; \
12986 echo "Doing maintainer-clean in mpc" ; \
12987 (cd $(HOST_SUBDIR)/mpc && \
12988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12990 "RANLIB=$${RANLIB}" \
12991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12992 maintainer-clean) \
12993 || exit 1
12995 @endif mpc
12999 .PHONY: configure-ppl maybe-configure-ppl
13000 maybe-configure-ppl:
13001 @if gcc-bootstrap
13002 configure-ppl: stage_current
13003 @endif gcc-bootstrap
13004 @if ppl
13005 maybe-configure-ppl: configure-ppl
13006 configure-ppl:
13007 @r=`${PWD_COMMAND}`; export r; \
13008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13011 $(HOST_EXPORTS) \
13012 echo Configuring in $(HOST_SUBDIR)/ppl; \
13013 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
13014 case $(srcdir) in \
13015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13016 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13018 esac; \
13019 srcdiroption="--srcdir=$${topdir}/ppl"; \
13020 libsrcdir="$$s/ppl"; \
13021 $(SHELL) $${libsrcdir}/configure \
13022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13023 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
13024 || exit 1
13025 @endif ppl
13029 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
13030 maybe-configure-stage1-ppl:
13031 @if ppl-bootstrap
13032 maybe-configure-stage1-ppl: configure-stage1-ppl
13033 configure-stage1-ppl:
13034 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13036 @r=`${PWD_COMMAND}`; export r; \
13037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13038 TFLAGS="$(STAGE1_TFLAGS)"; \
13039 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13040 $(HOST_EXPORTS) \
13041 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13042 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13043 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13044 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13046 cd $(HOST_SUBDIR)/ppl || exit 1; \
13047 case $(srcdir) in \
13048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13049 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13051 esac; \
13052 srcdiroption="--srcdir=$${topdir}/ppl"; \
13053 libsrcdir="$$s/ppl"; \
13054 $(SHELL) $${libsrcdir}/configure \
13055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13056 --target=${target_alias} $${srcdiroption} \
13057 $(STAGE1_CONFIGURE_FLAGS) \
13058 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13059 @endif ppl-bootstrap
13061 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13062 maybe-configure-stage2-ppl:
13063 @if ppl-bootstrap
13064 maybe-configure-stage2-ppl: configure-stage2-ppl
13065 configure-stage2-ppl:
13066 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13068 @r=`${PWD_COMMAND}`; export r; \
13069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13070 TFLAGS="$(STAGE2_TFLAGS)"; \
13071 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13072 $(HOST_EXPORTS) \
13073 $(POSTSTAGE1_HOST_EXPORTS) \
13074 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13075 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13076 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13077 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13079 cd $(HOST_SUBDIR)/ppl || exit 1; \
13080 case $(srcdir) in \
13081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13082 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13084 esac; \
13085 srcdiroption="--srcdir=$${topdir}/ppl"; \
13086 libsrcdir="$$s/ppl"; \
13087 $(SHELL) $${libsrcdir}/configure \
13088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13089 --target=${target_alias} $${srcdiroption} \
13090 --with-build-libsubdir=$(HOST_SUBDIR) \
13091 $(STAGE2_CONFIGURE_FLAGS) \
13092 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13093 @endif ppl-bootstrap
13095 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13096 maybe-configure-stage3-ppl:
13097 @if ppl-bootstrap
13098 maybe-configure-stage3-ppl: configure-stage3-ppl
13099 configure-stage3-ppl:
13100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13102 @r=`${PWD_COMMAND}`; export r; \
13103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13104 TFLAGS="$(STAGE3_TFLAGS)"; \
13105 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13106 $(HOST_EXPORTS) \
13107 $(POSTSTAGE1_HOST_EXPORTS) \
13108 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13109 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13110 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13111 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13113 cd $(HOST_SUBDIR)/ppl || exit 1; \
13114 case $(srcdir) in \
13115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13116 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13118 esac; \
13119 srcdiroption="--srcdir=$${topdir}/ppl"; \
13120 libsrcdir="$$s/ppl"; \
13121 $(SHELL) $${libsrcdir}/configure \
13122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13123 --target=${target_alias} $${srcdiroption} \
13124 --with-build-libsubdir=$(HOST_SUBDIR) \
13125 $(STAGE3_CONFIGURE_FLAGS) \
13126 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13127 @endif ppl-bootstrap
13129 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13130 maybe-configure-stage4-ppl:
13131 @if ppl-bootstrap
13132 maybe-configure-stage4-ppl: configure-stage4-ppl
13133 configure-stage4-ppl:
13134 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13136 @r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 TFLAGS="$(STAGE4_TFLAGS)"; \
13139 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13140 $(HOST_EXPORTS) \
13141 $(POSTSTAGE1_HOST_EXPORTS) \
13142 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13143 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13144 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13145 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13147 cd $(HOST_SUBDIR)/ppl || exit 1; \
13148 case $(srcdir) in \
13149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13150 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13152 esac; \
13153 srcdiroption="--srcdir=$${topdir}/ppl"; \
13154 libsrcdir="$$s/ppl"; \
13155 $(SHELL) $${libsrcdir}/configure \
13156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13157 --target=${target_alias} $${srcdiroption} \
13158 --with-build-libsubdir=$(HOST_SUBDIR) \
13159 $(STAGE4_CONFIGURE_FLAGS) \
13160 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13161 @endif ppl-bootstrap
13163 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13164 maybe-configure-stageprofile-ppl:
13165 @if ppl-bootstrap
13166 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13167 configure-stageprofile-ppl:
13168 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13170 @r=`${PWD_COMMAND}`; export r; \
13171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13173 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13174 $(HOST_EXPORTS) \
13175 $(POSTSTAGE1_HOST_EXPORTS) \
13176 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13177 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13178 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13179 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13181 cd $(HOST_SUBDIR)/ppl || exit 1; \
13182 case $(srcdir) in \
13183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13184 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13186 esac; \
13187 srcdiroption="--srcdir=$${topdir}/ppl"; \
13188 libsrcdir="$$s/ppl"; \
13189 $(SHELL) $${libsrcdir}/configure \
13190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13191 --target=${target_alias} $${srcdiroption} \
13192 --with-build-libsubdir=$(HOST_SUBDIR) \
13193 $(STAGEprofile_CONFIGURE_FLAGS) \
13194 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13195 @endif ppl-bootstrap
13197 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13198 maybe-configure-stagefeedback-ppl:
13199 @if ppl-bootstrap
13200 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13201 configure-stagefeedback-ppl:
13202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13204 @r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13207 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13208 $(HOST_EXPORTS) \
13209 $(POSTSTAGE1_HOST_EXPORTS) \
13210 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13211 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13212 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13213 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13215 cd $(HOST_SUBDIR)/ppl || exit 1; \
13216 case $(srcdir) in \
13217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13218 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13220 esac; \
13221 srcdiroption="--srcdir=$${topdir}/ppl"; \
13222 libsrcdir="$$s/ppl"; \
13223 $(SHELL) $${libsrcdir}/configure \
13224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13225 --target=${target_alias} $${srcdiroption} \
13226 --with-build-libsubdir=$(HOST_SUBDIR) \
13227 $(STAGEfeedback_CONFIGURE_FLAGS) \
13228 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13229 @endif ppl-bootstrap
13235 .PHONY: all-ppl maybe-all-ppl
13236 maybe-all-ppl:
13237 @if gcc-bootstrap
13238 all-ppl: stage_current
13239 @endif gcc-bootstrap
13240 @if ppl
13241 TARGET-ppl=all
13242 maybe-all-ppl: all-ppl
13243 all-ppl: configure-ppl
13244 @r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 $(HOST_EXPORTS) \
13247 (cd $(HOST_SUBDIR)/ppl && \
13248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13249 $(TARGET-ppl))
13250 @endif ppl
13254 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13255 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13256 maybe-all-stage1-ppl:
13257 maybe-clean-stage1-ppl:
13258 @if ppl-bootstrap
13259 maybe-all-stage1-ppl: all-stage1-ppl
13260 all-stage1: all-stage1-ppl
13261 TARGET-stage1-ppl = $(TARGET-ppl)
13262 all-stage1-ppl: configure-stage1-ppl
13263 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13264 @r=`${PWD_COMMAND}`; export r; \
13265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13266 TFLAGS="$(STAGE1_TFLAGS)"; \
13267 $(HOST_EXPORTS) \
13268 cd $(HOST_SUBDIR)/ppl && \
13269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13270 CFLAGS="$(STAGE1_CFLAGS)" \
13271 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13272 LIBCFLAGS="$(LIBCFLAGS)" \
13273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13276 $(EXTRA_HOST_FLAGS) \
13277 TFLAGS="$(STAGE1_TFLAGS)" \
13278 $(TARGET-stage1-ppl)
13280 maybe-clean-stage1-ppl: clean-stage1-ppl
13281 clean-stage1: clean-stage1-ppl
13282 clean-stage1-ppl:
13283 @if [ $(current_stage) = stage1 ]; then \
13284 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13285 else \
13286 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13287 $(MAKE) stage1-start; \
13288 fi; \
13289 cd $(HOST_SUBDIR)/ppl && \
13290 $(MAKE) $(EXTRA_HOST_FLAGS) \
13291 clean
13292 @endif ppl-bootstrap
13295 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13296 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13297 maybe-all-stage2-ppl:
13298 maybe-clean-stage2-ppl:
13299 @if ppl-bootstrap
13300 maybe-all-stage2-ppl: all-stage2-ppl
13301 all-stage2: all-stage2-ppl
13302 TARGET-stage2-ppl = $(TARGET-ppl)
13303 all-stage2-ppl: configure-stage2-ppl
13304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13305 @r=`${PWD_COMMAND}`; export r; \
13306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307 TFLAGS="$(STAGE2_TFLAGS)"; \
13308 $(HOST_EXPORTS) \
13309 $(POSTSTAGE1_HOST_EXPORTS) \
13310 cd $(HOST_SUBDIR)/ppl && \
13311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13312 CFLAGS="$(STAGE2_CFLAGS)" \
13313 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13314 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13319 TFLAGS="$(STAGE2_TFLAGS)" \
13320 $(TARGET-stage2-ppl)
13322 maybe-clean-stage2-ppl: clean-stage2-ppl
13323 clean-stage2: clean-stage2-ppl
13324 clean-stage2-ppl:
13325 @if [ $(current_stage) = stage2 ]; then \
13326 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13327 else \
13328 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13329 $(MAKE) stage2-start; \
13330 fi; \
13331 cd $(HOST_SUBDIR)/ppl && \
13332 $(MAKE) $(EXTRA_HOST_FLAGS) \
13333 $(POSTSTAGE1_FLAGS_TO_PASS) \
13334 clean
13335 @endif ppl-bootstrap
13338 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13339 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13340 maybe-all-stage3-ppl:
13341 maybe-clean-stage3-ppl:
13342 @if ppl-bootstrap
13343 maybe-all-stage3-ppl: all-stage3-ppl
13344 all-stage3: all-stage3-ppl
13345 TARGET-stage3-ppl = $(TARGET-ppl)
13346 all-stage3-ppl: configure-stage3-ppl
13347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13348 @r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 TFLAGS="$(STAGE3_TFLAGS)"; \
13351 $(HOST_EXPORTS) \
13352 $(POSTSTAGE1_HOST_EXPORTS) \
13353 cd $(HOST_SUBDIR)/ppl && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13355 CFLAGS="$(STAGE3_CFLAGS)" \
13356 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13357 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13362 TFLAGS="$(STAGE3_TFLAGS)" \
13363 $(TARGET-stage3-ppl)
13365 maybe-clean-stage3-ppl: clean-stage3-ppl
13366 clean-stage3: clean-stage3-ppl
13367 clean-stage3-ppl:
13368 @if [ $(current_stage) = stage3 ]; then \
13369 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13370 else \
13371 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13372 $(MAKE) stage3-start; \
13373 fi; \
13374 cd $(HOST_SUBDIR)/ppl && \
13375 $(MAKE) $(EXTRA_HOST_FLAGS) \
13376 $(POSTSTAGE1_FLAGS_TO_PASS) \
13377 clean
13378 @endif ppl-bootstrap
13381 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13382 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13383 maybe-all-stage4-ppl:
13384 maybe-clean-stage4-ppl:
13385 @if ppl-bootstrap
13386 maybe-all-stage4-ppl: all-stage4-ppl
13387 all-stage4: all-stage4-ppl
13388 TARGET-stage4-ppl = $(TARGET-ppl)
13389 all-stage4-ppl: configure-stage4-ppl
13390 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13391 @r=`${PWD_COMMAND}`; export r; \
13392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13393 TFLAGS="$(STAGE4_TFLAGS)"; \
13394 $(HOST_EXPORTS) \
13395 $(POSTSTAGE1_HOST_EXPORTS) \
13396 cd $(HOST_SUBDIR)/ppl && \
13397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13398 CFLAGS="$(STAGE4_CFLAGS)" \
13399 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13400 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13405 TFLAGS="$(STAGE4_TFLAGS)" \
13406 $(TARGET-stage4-ppl)
13408 maybe-clean-stage4-ppl: clean-stage4-ppl
13409 clean-stage4: clean-stage4-ppl
13410 clean-stage4-ppl:
13411 @if [ $(current_stage) = stage4 ]; then \
13412 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13413 else \
13414 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13415 $(MAKE) stage4-start; \
13416 fi; \
13417 cd $(HOST_SUBDIR)/ppl && \
13418 $(MAKE) $(EXTRA_HOST_FLAGS) \
13419 $(POSTSTAGE1_FLAGS_TO_PASS) \
13420 clean
13421 @endif ppl-bootstrap
13424 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13425 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13426 maybe-all-stageprofile-ppl:
13427 maybe-clean-stageprofile-ppl:
13428 @if ppl-bootstrap
13429 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13430 all-stageprofile: all-stageprofile-ppl
13431 TARGET-stageprofile-ppl = $(TARGET-ppl)
13432 all-stageprofile-ppl: configure-stageprofile-ppl
13433 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13434 @r=`${PWD_COMMAND}`; export r; \
13435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13436 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13437 $(HOST_EXPORTS) \
13438 $(POSTSTAGE1_HOST_EXPORTS) \
13439 cd $(HOST_SUBDIR)/ppl && \
13440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13441 CFLAGS="$(STAGEprofile_CFLAGS)" \
13442 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13443 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13448 TFLAGS="$(STAGEprofile_TFLAGS)" \
13449 $(TARGET-stageprofile-ppl)
13451 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13452 clean-stageprofile: clean-stageprofile-ppl
13453 clean-stageprofile-ppl:
13454 @if [ $(current_stage) = stageprofile ]; then \
13455 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13456 else \
13457 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13458 $(MAKE) stageprofile-start; \
13459 fi; \
13460 cd $(HOST_SUBDIR)/ppl && \
13461 $(MAKE) $(EXTRA_HOST_FLAGS) \
13462 $(POSTSTAGE1_FLAGS_TO_PASS) \
13463 clean
13464 @endif ppl-bootstrap
13467 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13468 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13469 maybe-all-stagefeedback-ppl:
13470 maybe-clean-stagefeedback-ppl:
13471 @if ppl-bootstrap
13472 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13473 all-stagefeedback: all-stagefeedback-ppl
13474 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13475 all-stagefeedback-ppl: configure-stagefeedback-ppl
13476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13477 @r=`${PWD_COMMAND}`; export r; \
13478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13480 $(HOST_EXPORTS) \
13481 $(POSTSTAGE1_HOST_EXPORTS) \
13482 cd $(HOST_SUBDIR)/ppl && \
13483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13484 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13485 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13486 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13491 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13492 $(TARGET-stagefeedback-ppl)
13494 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13495 clean-stagefeedback: clean-stagefeedback-ppl
13496 clean-stagefeedback-ppl:
13497 @if [ $(current_stage) = stagefeedback ]; then \
13498 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13499 else \
13500 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13501 $(MAKE) stagefeedback-start; \
13502 fi; \
13503 cd $(HOST_SUBDIR)/ppl && \
13504 $(MAKE) $(EXTRA_HOST_FLAGS) \
13505 $(POSTSTAGE1_FLAGS_TO_PASS) \
13506 clean
13507 @endif ppl-bootstrap
13513 .PHONY: check-ppl maybe-check-ppl
13514 maybe-check-ppl:
13515 @if ppl
13516 maybe-check-ppl: check-ppl
13518 check-ppl:
13519 @: $(MAKE); $(unstage)
13520 @r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(HOST_EXPORTS) \
13523 (cd $(HOST_SUBDIR)/ppl && \
13524 $(MAKE) $(FLAGS_TO_PASS) check)
13526 @endif ppl
13528 .PHONY: install-ppl maybe-install-ppl
13529 maybe-install-ppl:
13530 @if ppl
13531 maybe-install-ppl: install-ppl
13533 install-ppl:
13535 @endif ppl
13537 .PHONY: install-strip-ppl maybe-install-strip-ppl
13538 maybe-install-strip-ppl:
13539 @if ppl
13540 maybe-install-strip-ppl: install-strip-ppl
13542 install-strip-ppl:
13544 @endif ppl
13546 # Other targets (info, dvi, pdf, etc.)
13548 .PHONY: maybe-info-ppl info-ppl
13549 maybe-info-ppl:
13550 @if ppl
13551 maybe-info-ppl: info-ppl
13553 info-ppl: \
13554 configure-ppl
13555 @[ -f ./ppl/Makefile ] || exit 0; \
13556 r=`${PWD_COMMAND}`; export r; \
13557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13558 $(HOST_EXPORTS) \
13559 for flag in $(EXTRA_HOST_FLAGS) ; do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 echo "Doing info in ppl" ; \
13563 (cd $(HOST_SUBDIR)/ppl && \
13564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13566 "RANLIB=$${RANLIB}" \
13567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13568 info) \
13569 || exit 1
13571 @endif ppl
13573 .PHONY: maybe-dvi-ppl dvi-ppl
13574 maybe-dvi-ppl:
13575 @if ppl
13576 maybe-dvi-ppl: dvi-ppl
13578 dvi-ppl: \
13579 configure-ppl
13580 @[ -f ./ppl/Makefile ] || exit 0; \
13581 r=`${PWD_COMMAND}`; export r; \
13582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13583 $(HOST_EXPORTS) \
13584 for flag in $(EXTRA_HOST_FLAGS) ; do \
13585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13586 done; \
13587 echo "Doing dvi in ppl" ; \
13588 (cd $(HOST_SUBDIR)/ppl && \
13589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13591 "RANLIB=$${RANLIB}" \
13592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13593 dvi) \
13594 || exit 1
13596 @endif ppl
13598 .PHONY: maybe-pdf-ppl pdf-ppl
13599 maybe-pdf-ppl:
13600 @if ppl
13601 maybe-pdf-ppl: pdf-ppl
13603 pdf-ppl: \
13604 configure-ppl
13605 @[ -f ./ppl/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(HOST_EXPORTS) \
13609 for flag in $(EXTRA_HOST_FLAGS) ; do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611 done; \
13612 echo "Doing pdf in ppl" ; \
13613 (cd $(HOST_SUBDIR)/ppl && \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13618 pdf) \
13619 || exit 1
13621 @endif ppl
13623 .PHONY: maybe-html-ppl html-ppl
13624 maybe-html-ppl:
13625 @if ppl
13626 maybe-html-ppl: html-ppl
13628 html-ppl: \
13629 configure-ppl
13630 @[ -f ./ppl/Makefile ] || exit 0; \
13631 r=`${PWD_COMMAND}`; export r; \
13632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633 $(HOST_EXPORTS) \
13634 for flag in $(EXTRA_HOST_FLAGS) ; do \
13635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13636 done; \
13637 echo "Doing html in ppl" ; \
13638 (cd $(HOST_SUBDIR)/ppl && \
13639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13641 "RANLIB=$${RANLIB}" \
13642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13643 html) \
13644 || exit 1
13646 @endif ppl
13648 .PHONY: maybe-TAGS-ppl TAGS-ppl
13649 maybe-TAGS-ppl:
13650 @if ppl
13651 maybe-TAGS-ppl: TAGS-ppl
13653 TAGS-ppl: \
13654 configure-ppl
13655 @[ -f ./ppl/Makefile ] || exit 0; \
13656 r=`${PWD_COMMAND}`; export r; \
13657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13658 $(HOST_EXPORTS) \
13659 for flag in $(EXTRA_HOST_FLAGS) ; do \
13660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13661 done; \
13662 echo "Doing TAGS in ppl" ; \
13663 (cd $(HOST_SUBDIR)/ppl && \
13664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13666 "RANLIB=$${RANLIB}" \
13667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13668 TAGS) \
13669 || exit 1
13671 @endif ppl
13673 .PHONY: maybe-install-info-ppl install-info-ppl
13674 maybe-install-info-ppl:
13675 @if ppl
13676 maybe-install-info-ppl: install-info-ppl
13678 install-info-ppl: \
13679 configure-ppl \
13680 info-ppl
13681 @[ -f ./ppl/Makefile ] || exit 0; \
13682 r=`${PWD_COMMAND}`; export r; \
13683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13684 $(HOST_EXPORTS) \
13685 for flag in $(EXTRA_HOST_FLAGS) ; do \
13686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13687 done; \
13688 echo "Doing install-info in ppl" ; \
13689 (cd $(HOST_SUBDIR)/ppl && \
13690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13692 "RANLIB=$${RANLIB}" \
13693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13694 install-info) \
13695 || exit 1
13697 @endif ppl
13699 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13700 maybe-install-pdf-ppl:
13701 @if ppl
13702 maybe-install-pdf-ppl: install-pdf-ppl
13704 install-pdf-ppl: \
13705 configure-ppl \
13706 pdf-ppl
13707 @[ -f ./ppl/Makefile ] || exit 0; \
13708 r=`${PWD_COMMAND}`; export r; \
13709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13710 $(HOST_EXPORTS) \
13711 for flag in $(EXTRA_HOST_FLAGS) ; do \
13712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13713 done; \
13714 echo "Doing install-pdf in ppl" ; \
13715 (cd $(HOST_SUBDIR)/ppl && \
13716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13718 "RANLIB=$${RANLIB}" \
13719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13720 install-pdf) \
13721 || exit 1
13723 @endif ppl
13725 .PHONY: maybe-install-html-ppl install-html-ppl
13726 maybe-install-html-ppl:
13727 @if ppl
13728 maybe-install-html-ppl: install-html-ppl
13730 install-html-ppl: \
13731 configure-ppl \
13732 html-ppl
13733 @[ -f ./ppl/Makefile ] || exit 0; \
13734 r=`${PWD_COMMAND}`; export r; \
13735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13736 $(HOST_EXPORTS) \
13737 for flag in $(EXTRA_HOST_FLAGS) ; do \
13738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13739 done; \
13740 echo "Doing install-html in ppl" ; \
13741 (cd $(HOST_SUBDIR)/ppl && \
13742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13744 "RANLIB=$${RANLIB}" \
13745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13746 install-html) \
13747 || exit 1
13749 @endif ppl
13751 .PHONY: maybe-installcheck-ppl installcheck-ppl
13752 maybe-installcheck-ppl:
13753 @if ppl
13754 maybe-installcheck-ppl: installcheck-ppl
13756 installcheck-ppl: \
13757 configure-ppl
13758 @[ -f ./ppl/Makefile ] || exit 0; \
13759 r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(HOST_EXPORTS) \
13762 for flag in $(EXTRA_HOST_FLAGS) ; do \
13763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13764 done; \
13765 echo "Doing installcheck in ppl" ; \
13766 (cd $(HOST_SUBDIR)/ppl && \
13767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13769 "RANLIB=$${RANLIB}" \
13770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13771 installcheck) \
13772 || exit 1
13774 @endif ppl
13776 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13777 maybe-mostlyclean-ppl:
13778 @if ppl
13779 maybe-mostlyclean-ppl: mostlyclean-ppl
13781 mostlyclean-ppl:
13782 @[ -f ./ppl/Makefile ] || exit 0; \
13783 r=`${PWD_COMMAND}`; export r; \
13784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 $(HOST_EXPORTS) \
13786 for flag in $(EXTRA_HOST_FLAGS) ; do \
13787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13788 done; \
13789 echo "Doing mostlyclean in ppl" ; \
13790 (cd $(HOST_SUBDIR)/ppl && \
13791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13793 "RANLIB=$${RANLIB}" \
13794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13795 mostlyclean) \
13796 || exit 1
13798 @endif ppl
13800 .PHONY: maybe-clean-ppl clean-ppl
13801 maybe-clean-ppl:
13802 @if ppl
13803 maybe-clean-ppl: clean-ppl
13805 clean-ppl:
13806 @[ -f ./ppl/Makefile ] || exit 0; \
13807 r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809 $(HOST_EXPORTS) \
13810 for flag in $(EXTRA_HOST_FLAGS) ; do \
13811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13812 done; \
13813 echo "Doing clean in ppl" ; \
13814 (cd $(HOST_SUBDIR)/ppl && \
13815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13817 "RANLIB=$${RANLIB}" \
13818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13819 clean) \
13820 || exit 1
13822 @endif ppl
13824 .PHONY: maybe-distclean-ppl distclean-ppl
13825 maybe-distclean-ppl:
13826 @if ppl
13827 maybe-distclean-ppl: distclean-ppl
13829 distclean-ppl:
13830 @[ -f ./ppl/Makefile ] || exit 0; \
13831 r=`${PWD_COMMAND}`; export r; \
13832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13833 $(HOST_EXPORTS) \
13834 for flag in $(EXTRA_HOST_FLAGS) ; do \
13835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13836 done; \
13837 echo "Doing distclean in ppl" ; \
13838 (cd $(HOST_SUBDIR)/ppl && \
13839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13841 "RANLIB=$${RANLIB}" \
13842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13843 distclean) \
13844 || exit 1
13846 @endif ppl
13848 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13849 maybe-maintainer-clean-ppl:
13850 @if ppl
13851 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13853 maintainer-clean-ppl:
13854 @[ -f ./ppl/Makefile ] || exit 0; \
13855 r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 $(HOST_EXPORTS) \
13858 for flag in $(EXTRA_HOST_FLAGS) ; do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 done; \
13861 echo "Doing maintainer-clean in ppl" ; \
13862 (cd $(HOST_SUBDIR)/ppl && \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13867 maintainer-clean) \
13868 || exit 1
13870 @endif ppl
13874 .PHONY: configure-cloog maybe-configure-cloog
13875 maybe-configure-cloog:
13876 @if gcc-bootstrap
13877 configure-cloog: stage_current
13878 @endif gcc-bootstrap
13879 @if cloog
13880 maybe-configure-cloog: configure-cloog
13881 configure-cloog:
13882 @r=`${PWD_COMMAND}`; export r; \
13883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13884 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13886 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13887 echo Configuring in $(HOST_SUBDIR)/cloog; \
13888 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13889 case $(srcdir) in \
13890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13891 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13893 esac; \
13894 srcdiroption="--srcdir=$${topdir}/cloog"; \
13895 libsrcdir="$$s/cloog"; \
13896 $(SHELL) $${libsrcdir}/configure \
13897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13898 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \
13899 || exit 1
13900 @endif cloog
13904 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13905 maybe-configure-stage1-cloog:
13906 @if cloog-bootstrap
13907 maybe-configure-stage1-cloog: configure-stage1-cloog
13908 configure-stage1-cloog:
13909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13911 @r=`${PWD_COMMAND}`; export r; \
13912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13913 TFLAGS="$(STAGE1_TFLAGS)"; \
13914 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13915 $(HOST_EXPORTS) \
13916 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13917 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13918 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13919 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13921 cd $(HOST_SUBDIR)/cloog || exit 1; \
13922 case $(srcdir) in \
13923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13924 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13926 esac; \
13927 srcdiroption="--srcdir=$${topdir}/cloog"; \
13928 libsrcdir="$$s/cloog"; \
13929 $(SHELL) $${libsrcdir}/configure \
13930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13931 --target=${target_alias} $${srcdiroption} \
13932 $(STAGE1_CONFIGURE_FLAGS) \
13933 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13934 @endif cloog-bootstrap
13936 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13937 maybe-configure-stage2-cloog:
13938 @if cloog-bootstrap
13939 maybe-configure-stage2-cloog: configure-stage2-cloog
13940 configure-stage2-cloog:
13941 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13943 @r=`${PWD_COMMAND}`; export r; \
13944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13945 TFLAGS="$(STAGE2_TFLAGS)"; \
13946 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13947 $(HOST_EXPORTS) \
13948 $(POSTSTAGE1_HOST_EXPORTS) \
13949 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13950 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13951 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13952 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13954 cd $(HOST_SUBDIR)/cloog || exit 1; \
13955 case $(srcdir) in \
13956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13957 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13959 esac; \
13960 srcdiroption="--srcdir=$${topdir}/cloog"; \
13961 libsrcdir="$$s/cloog"; \
13962 $(SHELL) $${libsrcdir}/configure \
13963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13964 --target=${target_alias} $${srcdiroption} \
13965 --with-build-libsubdir=$(HOST_SUBDIR) \
13966 $(STAGE2_CONFIGURE_FLAGS) \
13967 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13968 @endif cloog-bootstrap
13970 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13971 maybe-configure-stage3-cloog:
13972 @if cloog-bootstrap
13973 maybe-configure-stage3-cloog: configure-stage3-cloog
13974 configure-stage3-cloog:
13975 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13977 @r=`${PWD_COMMAND}`; export r; \
13978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13979 TFLAGS="$(STAGE3_TFLAGS)"; \
13980 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13981 $(HOST_EXPORTS) \
13982 $(POSTSTAGE1_HOST_EXPORTS) \
13983 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13984 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13985 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13986 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13988 cd $(HOST_SUBDIR)/cloog || exit 1; \
13989 case $(srcdir) in \
13990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13991 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13993 esac; \
13994 srcdiroption="--srcdir=$${topdir}/cloog"; \
13995 libsrcdir="$$s/cloog"; \
13996 $(SHELL) $${libsrcdir}/configure \
13997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13998 --target=${target_alias} $${srcdiroption} \
13999 --with-build-libsubdir=$(HOST_SUBDIR) \
14000 $(STAGE3_CONFIGURE_FLAGS) \
14001 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14002 @endif cloog-bootstrap
14004 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14005 maybe-configure-stage4-cloog:
14006 @if cloog-bootstrap
14007 maybe-configure-stage4-cloog: configure-stage4-cloog
14008 configure-stage4-cloog:
14009 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14011 @r=`${PWD_COMMAND}`; export r; \
14012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14013 TFLAGS="$(STAGE4_TFLAGS)"; \
14014 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14015 $(HOST_EXPORTS) \
14016 $(POSTSTAGE1_HOST_EXPORTS) \
14017 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14018 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14019 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14020 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14022 cd $(HOST_SUBDIR)/cloog || exit 1; \
14023 case $(srcdir) in \
14024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14025 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14027 esac; \
14028 srcdiroption="--srcdir=$${topdir}/cloog"; \
14029 libsrcdir="$$s/cloog"; \
14030 $(SHELL) $${libsrcdir}/configure \
14031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14032 --target=${target_alias} $${srcdiroption} \
14033 --with-build-libsubdir=$(HOST_SUBDIR) \
14034 $(STAGE4_CONFIGURE_FLAGS) \
14035 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14036 @endif cloog-bootstrap
14038 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14039 maybe-configure-stageprofile-cloog:
14040 @if cloog-bootstrap
14041 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14042 configure-stageprofile-cloog:
14043 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14045 @r=`${PWD_COMMAND}`; export r; \
14046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14047 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14048 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14049 $(HOST_EXPORTS) \
14050 $(POSTSTAGE1_HOST_EXPORTS) \
14051 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14052 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14053 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14054 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14056 cd $(HOST_SUBDIR)/cloog || exit 1; \
14057 case $(srcdir) in \
14058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14059 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14061 esac; \
14062 srcdiroption="--srcdir=$${topdir}/cloog"; \
14063 libsrcdir="$$s/cloog"; \
14064 $(SHELL) $${libsrcdir}/configure \
14065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14066 --target=${target_alias} $${srcdiroption} \
14067 --with-build-libsubdir=$(HOST_SUBDIR) \
14068 $(STAGEprofile_CONFIGURE_FLAGS) \
14069 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14070 @endif cloog-bootstrap
14072 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14073 maybe-configure-stagefeedback-cloog:
14074 @if cloog-bootstrap
14075 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14076 configure-stagefeedback-cloog:
14077 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14079 @r=`${PWD_COMMAND}`; export r; \
14080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14081 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14082 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14083 $(HOST_EXPORTS) \
14084 $(POSTSTAGE1_HOST_EXPORTS) \
14085 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14086 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14087 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14088 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14090 cd $(HOST_SUBDIR)/cloog || exit 1; \
14091 case $(srcdir) in \
14092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14093 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14095 esac; \
14096 srcdiroption="--srcdir=$${topdir}/cloog"; \
14097 libsrcdir="$$s/cloog"; \
14098 $(SHELL) $${libsrcdir}/configure \
14099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14100 --target=${target_alias} $${srcdiroption} \
14101 --with-build-libsubdir=$(HOST_SUBDIR) \
14102 $(STAGEfeedback_CONFIGURE_FLAGS) \
14103 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14104 @endif cloog-bootstrap
14110 .PHONY: all-cloog maybe-all-cloog
14111 maybe-all-cloog:
14112 @if gcc-bootstrap
14113 all-cloog: stage_current
14114 @endif gcc-bootstrap
14115 @if cloog
14116 TARGET-cloog=all
14117 maybe-all-cloog: all-cloog
14118 all-cloog: configure-cloog
14119 @r=`${PWD_COMMAND}`; export r; \
14120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14121 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14122 (cd $(HOST_SUBDIR)/cloog && \
14123 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14124 $(TARGET-cloog))
14125 @endif cloog
14129 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14130 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14131 maybe-all-stage1-cloog:
14132 maybe-clean-stage1-cloog:
14133 @if cloog-bootstrap
14134 maybe-all-stage1-cloog: all-stage1-cloog
14135 all-stage1: all-stage1-cloog
14136 TARGET-stage1-cloog = $(TARGET-cloog)
14137 all-stage1-cloog: configure-stage1-cloog
14138 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14139 @r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141 TFLAGS="$(STAGE1_TFLAGS)"; \
14142 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14143 cd $(HOST_SUBDIR)/cloog && \
14144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14145 CFLAGS="$(STAGE1_CFLAGS)" \
14146 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14147 LIBCFLAGS="$(LIBCFLAGS)" \
14148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14151 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14152 TFLAGS="$(STAGE1_TFLAGS)" \
14153 $(TARGET-stage1-cloog)
14155 maybe-clean-stage1-cloog: clean-stage1-cloog
14156 clean-stage1: clean-stage1-cloog
14157 clean-stage1-cloog:
14158 @if [ $(current_stage) = stage1 ]; then \
14159 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14160 else \
14161 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14162 $(MAKE) stage1-start; \
14163 fi; \
14164 cd $(HOST_SUBDIR)/cloog && \
14165 $(MAKE) $(EXTRA_HOST_FLAGS) \
14166 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14167 @endif cloog-bootstrap
14170 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14171 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14172 maybe-all-stage2-cloog:
14173 maybe-clean-stage2-cloog:
14174 @if cloog-bootstrap
14175 maybe-all-stage2-cloog: all-stage2-cloog
14176 all-stage2: all-stage2-cloog
14177 TARGET-stage2-cloog = $(TARGET-cloog)
14178 all-stage2-cloog: configure-stage2-cloog
14179 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14180 @r=`${PWD_COMMAND}`; export r; \
14181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14182 TFLAGS="$(STAGE2_TFLAGS)"; \
14183 $(HOST_EXPORTS) \
14184 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14185 cd $(HOST_SUBDIR)/cloog && \
14186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14187 CFLAGS="$(STAGE2_CFLAGS)" \
14188 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14189 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14193 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14194 TFLAGS="$(STAGE2_TFLAGS)" \
14195 $(TARGET-stage2-cloog)
14197 maybe-clean-stage2-cloog: clean-stage2-cloog
14198 clean-stage2: clean-stage2-cloog
14199 clean-stage2-cloog:
14200 @if [ $(current_stage) = stage2 ]; then \
14201 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14202 else \
14203 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14204 $(MAKE) stage2-start; \
14205 fi; \
14206 cd $(HOST_SUBDIR)/cloog && \
14207 $(MAKE) $(EXTRA_HOST_FLAGS) \
14208 $(POSTSTAGE1_FLAGS_TO_PASS) \
14209 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14210 @endif cloog-bootstrap
14213 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14214 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14215 maybe-all-stage3-cloog:
14216 maybe-clean-stage3-cloog:
14217 @if cloog-bootstrap
14218 maybe-all-stage3-cloog: all-stage3-cloog
14219 all-stage3: all-stage3-cloog
14220 TARGET-stage3-cloog = $(TARGET-cloog)
14221 all-stage3-cloog: configure-stage3-cloog
14222 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14223 @r=`${PWD_COMMAND}`; export r; \
14224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14225 TFLAGS="$(STAGE3_TFLAGS)"; \
14226 $(HOST_EXPORTS) \
14227 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14228 cd $(HOST_SUBDIR)/cloog && \
14229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14230 CFLAGS="$(STAGE3_CFLAGS)" \
14231 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14232 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14237 TFLAGS="$(STAGE3_TFLAGS)" \
14238 $(TARGET-stage3-cloog)
14240 maybe-clean-stage3-cloog: clean-stage3-cloog
14241 clean-stage3: clean-stage3-cloog
14242 clean-stage3-cloog:
14243 @if [ $(current_stage) = stage3 ]; then \
14244 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14245 else \
14246 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14247 $(MAKE) stage3-start; \
14248 fi; \
14249 cd $(HOST_SUBDIR)/cloog && \
14250 $(MAKE) $(EXTRA_HOST_FLAGS) \
14251 $(POSTSTAGE1_FLAGS_TO_PASS) \
14252 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14253 @endif cloog-bootstrap
14256 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14257 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14258 maybe-all-stage4-cloog:
14259 maybe-clean-stage4-cloog:
14260 @if cloog-bootstrap
14261 maybe-all-stage4-cloog: all-stage4-cloog
14262 all-stage4: all-stage4-cloog
14263 TARGET-stage4-cloog = $(TARGET-cloog)
14264 all-stage4-cloog: configure-stage4-cloog
14265 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14266 @r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 TFLAGS="$(STAGE4_TFLAGS)"; \
14269 $(HOST_EXPORTS) \
14270 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14271 cd $(HOST_SUBDIR)/cloog && \
14272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14273 CFLAGS="$(STAGE4_CFLAGS)" \
14274 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14275 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14280 TFLAGS="$(STAGE4_TFLAGS)" \
14281 $(TARGET-stage4-cloog)
14283 maybe-clean-stage4-cloog: clean-stage4-cloog
14284 clean-stage4: clean-stage4-cloog
14285 clean-stage4-cloog:
14286 @if [ $(current_stage) = stage4 ]; then \
14287 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14288 else \
14289 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14290 $(MAKE) stage4-start; \
14291 fi; \
14292 cd $(HOST_SUBDIR)/cloog && \
14293 $(MAKE) $(EXTRA_HOST_FLAGS) \
14294 $(POSTSTAGE1_FLAGS_TO_PASS) \
14295 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14296 @endif cloog-bootstrap
14299 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14300 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14301 maybe-all-stageprofile-cloog:
14302 maybe-clean-stageprofile-cloog:
14303 @if cloog-bootstrap
14304 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14305 all-stageprofile: all-stageprofile-cloog
14306 TARGET-stageprofile-cloog = $(TARGET-cloog)
14307 all-stageprofile-cloog: configure-stageprofile-cloog
14308 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14309 @r=`${PWD_COMMAND}`; export r; \
14310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14311 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14312 $(HOST_EXPORTS) \
14313 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14314 cd $(HOST_SUBDIR)/cloog && \
14315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14316 CFLAGS="$(STAGEprofile_CFLAGS)" \
14317 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14318 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14323 TFLAGS="$(STAGEprofile_TFLAGS)" \
14324 $(TARGET-stageprofile-cloog)
14326 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14327 clean-stageprofile: clean-stageprofile-cloog
14328 clean-stageprofile-cloog:
14329 @if [ $(current_stage) = stageprofile ]; then \
14330 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14331 else \
14332 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14333 $(MAKE) stageprofile-start; \
14334 fi; \
14335 cd $(HOST_SUBDIR)/cloog && \
14336 $(MAKE) $(EXTRA_HOST_FLAGS) \
14337 $(POSTSTAGE1_FLAGS_TO_PASS) \
14338 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14339 @endif cloog-bootstrap
14342 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14343 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14344 maybe-all-stagefeedback-cloog:
14345 maybe-clean-stagefeedback-cloog:
14346 @if cloog-bootstrap
14347 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14348 all-stagefeedback: all-stagefeedback-cloog
14349 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14350 all-stagefeedback-cloog: configure-stagefeedback-cloog
14351 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14352 @r=`${PWD_COMMAND}`; export r; \
14353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14355 $(HOST_EXPORTS) \
14356 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14357 cd $(HOST_SUBDIR)/cloog && \
14358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14359 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14360 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14361 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14366 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14367 $(TARGET-stagefeedback-cloog)
14369 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14370 clean-stagefeedback: clean-stagefeedback-cloog
14371 clean-stagefeedback-cloog:
14372 @if [ $(current_stage) = stagefeedback ]; then \
14373 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14374 else \
14375 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14376 $(MAKE) stagefeedback-start; \
14377 fi; \
14378 cd $(HOST_SUBDIR)/cloog && \
14379 $(MAKE) $(EXTRA_HOST_FLAGS) \
14380 $(POSTSTAGE1_FLAGS_TO_PASS) \
14381 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14382 @endif cloog-bootstrap
14388 .PHONY: check-cloog maybe-check-cloog
14389 maybe-check-cloog:
14390 @if cloog
14391 maybe-check-cloog: check-cloog
14393 check-cloog:
14394 @: $(MAKE); $(unstage)
14395 @r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 (cd $(HOST_SUBDIR)/cloog && \
14399 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14401 @endif cloog
14403 .PHONY: install-cloog maybe-install-cloog
14404 maybe-install-cloog:
14405 @if cloog
14406 maybe-install-cloog: install-cloog
14408 install-cloog:
14410 @endif cloog
14412 .PHONY: install-strip-cloog maybe-install-strip-cloog
14413 maybe-install-strip-cloog:
14414 @if cloog
14415 maybe-install-strip-cloog: install-strip-cloog
14417 install-strip-cloog:
14419 @endif cloog
14421 # Other targets (info, dvi, pdf, etc.)
14423 .PHONY: maybe-info-cloog info-cloog
14424 maybe-info-cloog:
14425 @if cloog
14426 maybe-info-cloog: info-cloog
14428 info-cloog: \
14429 configure-cloog
14430 @[ -f ./cloog/Makefile ] || exit 0; \
14431 r=`${PWD_COMMAND}`; export r; \
14432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14433 $(HOST_EXPORTS) \
14434 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14436 done; \
14437 echo "Doing info in cloog" ; \
14438 (cd $(HOST_SUBDIR)/cloog && \
14439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14441 "RANLIB=$${RANLIB}" \
14442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14443 info) \
14444 || exit 1
14446 @endif cloog
14448 .PHONY: maybe-dvi-cloog dvi-cloog
14449 maybe-dvi-cloog:
14450 @if cloog
14451 maybe-dvi-cloog: dvi-cloog
14453 dvi-cloog: \
14454 configure-cloog
14455 @[ -f ./cloog/Makefile ] || exit 0; \
14456 r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 $(HOST_EXPORTS) \
14459 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14461 done; \
14462 echo "Doing dvi in cloog" ; \
14463 (cd $(HOST_SUBDIR)/cloog && \
14464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14466 "RANLIB=$${RANLIB}" \
14467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14468 dvi) \
14469 || exit 1
14471 @endif cloog
14473 .PHONY: maybe-pdf-cloog pdf-cloog
14474 maybe-pdf-cloog:
14475 @if cloog
14476 maybe-pdf-cloog: pdf-cloog
14478 pdf-cloog: \
14479 configure-cloog
14480 @[ -f ./cloog/Makefile ] || exit 0; \
14481 r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 $(HOST_EXPORTS) \
14484 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14486 done; \
14487 echo "Doing pdf in cloog" ; \
14488 (cd $(HOST_SUBDIR)/cloog && \
14489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14491 "RANLIB=$${RANLIB}" \
14492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14493 pdf) \
14494 || exit 1
14496 @endif cloog
14498 .PHONY: maybe-html-cloog html-cloog
14499 maybe-html-cloog:
14500 @if cloog
14501 maybe-html-cloog: html-cloog
14503 html-cloog: \
14504 configure-cloog
14505 @[ -f ./cloog/Makefile ] || exit 0; \
14506 r=`${PWD_COMMAND}`; export r; \
14507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14508 $(HOST_EXPORTS) \
14509 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14511 done; \
14512 echo "Doing html in cloog" ; \
14513 (cd $(HOST_SUBDIR)/cloog && \
14514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14516 "RANLIB=$${RANLIB}" \
14517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14518 html) \
14519 || exit 1
14521 @endif cloog
14523 .PHONY: maybe-TAGS-cloog TAGS-cloog
14524 maybe-TAGS-cloog:
14525 @if cloog
14526 maybe-TAGS-cloog: TAGS-cloog
14528 TAGS-cloog: \
14529 configure-cloog
14530 @[ -f ./cloog/Makefile ] || exit 0; \
14531 r=`${PWD_COMMAND}`; export r; \
14532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14533 $(HOST_EXPORTS) \
14534 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14536 done; \
14537 echo "Doing TAGS in cloog" ; \
14538 (cd $(HOST_SUBDIR)/cloog && \
14539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14541 "RANLIB=$${RANLIB}" \
14542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14543 TAGS) \
14544 || exit 1
14546 @endif cloog
14548 .PHONY: maybe-install-info-cloog install-info-cloog
14549 maybe-install-info-cloog:
14550 @if cloog
14551 maybe-install-info-cloog: install-info-cloog
14553 install-info-cloog: \
14554 configure-cloog \
14555 info-cloog
14556 @[ -f ./cloog/Makefile ] || exit 0; \
14557 r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 $(HOST_EXPORTS) \
14560 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14562 done; \
14563 echo "Doing install-info in cloog" ; \
14564 (cd $(HOST_SUBDIR)/cloog && \
14565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14567 "RANLIB=$${RANLIB}" \
14568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14569 install-info) \
14570 || exit 1
14572 @endif cloog
14574 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14575 maybe-install-pdf-cloog:
14576 @if cloog
14577 maybe-install-pdf-cloog: install-pdf-cloog
14579 install-pdf-cloog: \
14580 configure-cloog \
14581 pdf-cloog
14582 @[ -f ./cloog/Makefile ] || exit 0; \
14583 r=`${PWD_COMMAND}`; export r; \
14584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14585 $(HOST_EXPORTS) \
14586 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14588 done; \
14589 echo "Doing install-pdf in cloog" ; \
14590 (cd $(HOST_SUBDIR)/cloog && \
14591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14593 "RANLIB=$${RANLIB}" \
14594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14595 install-pdf) \
14596 || exit 1
14598 @endif cloog
14600 .PHONY: maybe-install-html-cloog install-html-cloog
14601 maybe-install-html-cloog:
14602 @if cloog
14603 maybe-install-html-cloog: install-html-cloog
14605 install-html-cloog: \
14606 configure-cloog \
14607 html-cloog
14608 @[ -f ./cloog/Makefile ] || exit 0; \
14609 r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 $(HOST_EXPORTS) \
14612 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14614 done; \
14615 echo "Doing install-html in cloog" ; \
14616 (cd $(HOST_SUBDIR)/cloog && \
14617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14619 "RANLIB=$${RANLIB}" \
14620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14621 install-html) \
14622 || exit 1
14624 @endif cloog
14626 .PHONY: maybe-installcheck-cloog installcheck-cloog
14627 maybe-installcheck-cloog:
14628 @if cloog
14629 maybe-installcheck-cloog: installcheck-cloog
14631 installcheck-cloog: \
14632 configure-cloog
14633 @[ -f ./cloog/Makefile ] || exit 0; \
14634 r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 $(HOST_EXPORTS) \
14637 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14639 done; \
14640 echo "Doing installcheck in cloog" ; \
14641 (cd $(HOST_SUBDIR)/cloog && \
14642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14644 "RANLIB=$${RANLIB}" \
14645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14646 installcheck) \
14647 || exit 1
14649 @endif cloog
14651 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14652 maybe-mostlyclean-cloog:
14653 @if cloog
14654 maybe-mostlyclean-cloog: mostlyclean-cloog
14656 mostlyclean-cloog:
14657 @[ -f ./cloog/Makefile ] || exit 0; \
14658 r=`${PWD_COMMAND}`; export r; \
14659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 $(HOST_EXPORTS) \
14661 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14663 done; \
14664 echo "Doing mostlyclean in cloog" ; \
14665 (cd $(HOST_SUBDIR)/cloog && \
14666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14668 "RANLIB=$${RANLIB}" \
14669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14670 mostlyclean) \
14671 || exit 1
14673 @endif cloog
14675 .PHONY: maybe-clean-cloog clean-cloog
14676 maybe-clean-cloog:
14677 @if cloog
14678 maybe-clean-cloog: clean-cloog
14680 clean-cloog:
14681 @[ -f ./cloog/Makefile ] || exit 0; \
14682 r=`${PWD_COMMAND}`; export r; \
14683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14684 $(HOST_EXPORTS) \
14685 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14687 done; \
14688 echo "Doing clean in cloog" ; \
14689 (cd $(HOST_SUBDIR)/cloog && \
14690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14692 "RANLIB=$${RANLIB}" \
14693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14694 clean) \
14695 || exit 1
14697 @endif cloog
14699 .PHONY: maybe-distclean-cloog distclean-cloog
14700 maybe-distclean-cloog:
14701 @if cloog
14702 maybe-distclean-cloog: distclean-cloog
14704 distclean-cloog:
14705 @[ -f ./cloog/Makefile ] || exit 0; \
14706 r=`${PWD_COMMAND}`; export r; \
14707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14708 $(HOST_EXPORTS) \
14709 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14711 done; \
14712 echo "Doing distclean in cloog" ; \
14713 (cd $(HOST_SUBDIR)/cloog && \
14714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14716 "RANLIB=$${RANLIB}" \
14717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14718 distclean) \
14719 || exit 1
14721 @endif cloog
14723 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14724 maybe-maintainer-clean-cloog:
14725 @if cloog
14726 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14728 maintainer-clean-cloog:
14729 @[ -f ./cloog/Makefile ] || exit 0; \
14730 r=`${PWD_COMMAND}`; export r; \
14731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 $(HOST_EXPORTS) \
14733 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14735 done; \
14736 echo "Doing maintainer-clean in cloog" ; \
14737 (cd $(HOST_SUBDIR)/cloog && \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14742 maintainer-clean) \
14743 || exit 1
14745 @endif cloog
14749 .PHONY: configure-libelf maybe-configure-libelf
14750 maybe-configure-libelf:
14751 @if gcc-bootstrap
14752 configure-libelf: stage_current
14753 @endif gcc-bootstrap
14754 @if libelf
14755 maybe-configure-libelf: configure-libelf
14756 configure-libelf:
14757 @r=`${PWD_COMMAND}`; export r; \
14758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14759 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14761 $(HOST_EXPORTS) \
14762 echo Configuring in $(HOST_SUBDIR)/libelf; \
14763 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14764 case $(srcdir) in \
14765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14766 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14768 esac; \
14769 srcdiroption="--srcdir=$${topdir}/libelf"; \
14770 libsrcdir="$$s/libelf"; \
14771 $(SHELL) $${libsrcdir}/configure \
14772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14773 --target=${target_alias} $${srcdiroption} --disable-shared \
14774 || exit 1
14775 @endif libelf
14779 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14780 maybe-configure-stage1-libelf:
14781 @if libelf-bootstrap
14782 maybe-configure-stage1-libelf: configure-stage1-libelf
14783 configure-stage1-libelf:
14784 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14786 @r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 TFLAGS="$(STAGE1_TFLAGS)"; \
14789 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14790 $(HOST_EXPORTS) \
14791 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14792 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14793 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14794 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14796 cd $(HOST_SUBDIR)/libelf || exit 1; \
14797 case $(srcdir) in \
14798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14799 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14801 esac; \
14802 srcdiroption="--srcdir=$${topdir}/libelf"; \
14803 libsrcdir="$$s/libelf"; \
14804 $(SHELL) $${libsrcdir}/configure \
14805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14806 --target=${target_alias} $${srcdiroption} \
14807 $(STAGE1_CONFIGURE_FLAGS) \
14808 --disable-shared
14809 @endif libelf-bootstrap
14811 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14812 maybe-configure-stage2-libelf:
14813 @if libelf-bootstrap
14814 maybe-configure-stage2-libelf: configure-stage2-libelf
14815 configure-stage2-libelf:
14816 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14818 @r=`${PWD_COMMAND}`; export r; \
14819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 TFLAGS="$(STAGE2_TFLAGS)"; \
14821 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14822 $(HOST_EXPORTS) \
14823 $(POSTSTAGE1_HOST_EXPORTS) \
14824 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14825 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14826 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14827 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14829 cd $(HOST_SUBDIR)/libelf || exit 1; \
14830 case $(srcdir) in \
14831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14832 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14834 esac; \
14835 srcdiroption="--srcdir=$${topdir}/libelf"; \
14836 libsrcdir="$$s/libelf"; \
14837 $(SHELL) $${libsrcdir}/configure \
14838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14839 --target=${target_alias} $${srcdiroption} \
14840 --with-build-libsubdir=$(HOST_SUBDIR) \
14841 $(STAGE2_CONFIGURE_FLAGS) \
14842 --disable-shared
14843 @endif libelf-bootstrap
14845 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14846 maybe-configure-stage3-libelf:
14847 @if libelf-bootstrap
14848 maybe-configure-stage3-libelf: configure-stage3-libelf
14849 configure-stage3-libelf:
14850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14852 @r=`${PWD_COMMAND}`; export r; \
14853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14854 TFLAGS="$(STAGE3_TFLAGS)"; \
14855 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14856 $(HOST_EXPORTS) \
14857 $(POSTSTAGE1_HOST_EXPORTS) \
14858 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14859 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14860 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14861 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14863 cd $(HOST_SUBDIR)/libelf || exit 1; \
14864 case $(srcdir) in \
14865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14866 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14868 esac; \
14869 srcdiroption="--srcdir=$${topdir}/libelf"; \
14870 libsrcdir="$$s/libelf"; \
14871 $(SHELL) $${libsrcdir}/configure \
14872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14873 --target=${target_alias} $${srcdiroption} \
14874 --with-build-libsubdir=$(HOST_SUBDIR) \
14875 $(STAGE3_CONFIGURE_FLAGS) \
14876 --disable-shared
14877 @endif libelf-bootstrap
14879 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14880 maybe-configure-stage4-libelf:
14881 @if libelf-bootstrap
14882 maybe-configure-stage4-libelf: configure-stage4-libelf
14883 configure-stage4-libelf:
14884 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14886 @r=`${PWD_COMMAND}`; export r; \
14887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14888 TFLAGS="$(STAGE4_TFLAGS)"; \
14889 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14890 $(HOST_EXPORTS) \
14891 $(POSTSTAGE1_HOST_EXPORTS) \
14892 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14893 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14894 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14895 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14897 cd $(HOST_SUBDIR)/libelf || exit 1; \
14898 case $(srcdir) in \
14899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14900 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14902 esac; \
14903 srcdiroption="--srcdir=$${topdir}/libelf"; \
14904 libsrcdir="$$s/libelf"; \
14905 $(SHELL) $${libsrcdir}/configure \
14906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14907 --target=${target_alias} $${srcdiroption} \
14908 --with-build-libsubdir=$(HOST_SUBDIR) \
14909 $(STAGE4_CONFIGURE_FLAGS) \
14910 --disable-shared
14911 @endif libelf-bootstrap
14913 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14914 maybe-configure-stageprofile-libelf:
14915 @if libelf-bootstrap
14916 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14917 configure-stageprofile-libelf:
14918 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14920 @r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14923 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14924 $(HOST_EXPORTS) \
14925 $(POSTSTAGE1_HOST_EXPORTS) \
14926 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14927 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14928 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14929 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14931 cd $(HOST_SUBDIR)/libelf || exit 1; \
14932 case $(srcdir) in \
14933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14934 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14936 esac; \
14937 srcdiroption="--srcdir=$${topdir}/libelf"; \
14938 libsrcdir="$$s/libelf"; \
14939 $(SHELL) $${libsrcdir}/configure \
14940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14941 --target=${target_alias} $${srcdiroption} \
14942 --with-build-libsubdir=$(HOST_SUBDIR) \
14943 $(STAGEprofile_CONFIGURE_FLAGS) \
14944 --disable-shared
14945 @endif libelf-bootstrap
14947 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14948 maybe-configure-stagefeedback-libelf:
14949 @if libelf-bootstrap
14950 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14951 configure-stagefeedback-libelf:
14952 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14954 @r=`${PWD_COMMAND}`; export r; \
14955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14956 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14957 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14958 $(HOST_EXPORTS) \
14959 $(POSTSTAGE1_HOST_EXPORTS) \
14960 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14961 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14962 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14963 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14965 cd $(HOST_SUBDIR)/libelf || exit 1; \
14966 case $(srcdir) in \
14967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14968 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14970 esac; \
14971 srcdiroption="--srcdir=$${topdir}/libelf"; \
14972 libsrcdir="$$s/libelf"; \
14973 $(SHELL) $${libsrcdir}/configure \
14974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14975 --target=${target_alias} $${srcdiroption} \
14976 --with-build-libsubdir=$(HOST_SUBDIR) \
14977 $(STAGEfeedback_CONFIGURE_FLAGS) \
14978 --disable-shared
14979 @endif libelf-bootstrap
14985 .PHONY: all-libelf maybe-all-libelf
14986 maybe-all-libelf:
14987 @if gcc-bootstrap
14988 all-libelf: stage_current
14989 @endif gcc-bootstrap
14990 @if libelf
14991 TARGET-libelf=all
14992 maybe-all-libelf: all-libelf
14993 all-libelf: configure-libelf
14994 @r=`${PWD_COMMAND}`; export r; \
14995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14996 $(HOST_EXPORTS) \
14997 (cd $(HOST_SUBDIR)/libelf && \
14998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14999 $(TARGET-libelf))
15000 @endif libelf
15004 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15005 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15006 maybe-all-stage1-libelf:
15007 maybe-clean-stage1-libelf:
15008 @if libelf-bootstrap
15009 maybe-all-stage1-libelf: all-stage1-libelf
15010 all-stage1: all-stage1-libelf
15011 TARGET-stage1-libelf = $(TARGET-libelf)
15012 all-stage1-libelf: configure-stage1-libelf
15013 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15014 @r=`${PWD_COMMAND}`; export r; \
15015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15016 TFLAGS="$(STAGE1_TFLAGS)"; \
15017 $(HOST_EXPORTS) \
15018 cd $(HOST_SUBDIR)/libelf && \
15019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15020 CFLAGS="$(STAGE1_CFLAGS)" \
15021 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15022 LIBCFLAGS="$(LIBCFLAGS)" \
15023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15026 $(EXTRA_HOST_FLAGS) \
15027 TFLAGS="$(STAGE1_TFLAGS)" \
15028 $(TARGET-stage1-libelf)
15030 maybe-clean-stage1-libelf: clean-stage1-libelf
15031 clean-stage1: clean-stage1-libelf
15032 clean-stage1-libelf:
15033 @if [ $(current_stage) = stage1 ]; then \
15034 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15035 else \
15036 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15037 $(MAKE) stage1-start; \
15038 fi; \
15039 cd $(HOST_SUBDIR)/libelf && \
15040 $(MAKE) $(EXTRA_HOST_FLAGS) \
15041 clean
15042 @endif libelf-bootstrap
15045 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15046 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15047 maybe-all-stage2-libelf:
15048 maybe-clean-stage2-libelf:
15049 @if libelf-bootstrap
15050 maybe-all-stage2-libelf: all-stage2-libelf
15051 all-stage2: all-stage2-libelf
15052 TARGET-stage2-libelf = $(TARGET-libelf)
15053 all-stage2-libelf: configure-stage2-libelf
15054 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15055 @r=`${PWD_COMMAND}`; export r; \
15056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15057 TFLAGS="$(STAGE2_TFLAGS)"; \
15058 $(HOST_EXPORTS) \
15059 $(POSTSTAGE1_HOST_EXPORTS) \
15060 cd $(HOST_SUBDIR)/libelf && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15062 CFLAGS="$(STAGE2_CFLAGS)" \
15063 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15064 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15069 TFLAGS="$(STAGE2_TFLAGS)" \
15070 $(TARGET-stage2-libelf)
15072 maybe-clean-stage2-libelf: clean-stage2-libelf
15073 clean-stage2: clean-stage2-libelf
15074 clean-stage2-libelf:
15075 @if [ $(current_stage) = stage2 ]; then \
15076 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15077 else \
15078 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15079 $(MAKE) stage2-start; \
15080 fi; \
15081 cd $(HOST_SUBDIR)/libelf && \
15082 $(MAKE) $(EXTRA_HOST_FLAGS) \
15083 $(POSTSTAGE1_FLAGS_TO_PASS) \
15084 clean
15085 @endif libelf-bootstrap
15088 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15089 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15090 maybe-all-stage3-libelf:
15091 maybe-clean-stage3-libelf:
15092 @if libelf-bootstrap
15093 maybe-all-stage3-libelf: all-stage3-libelf
15094 all-stage3: all-stage3-libelf
15095 TARGET-stage3-libelf = $(TARGET-libelf)
15096 all-stage3-libelf: configure-stage3-libelf
15097 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15098 @r=`${PWD_COMMAND}`; export r; \
15099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15100 TFLAGS="$(STAGE3_TFLAGS)"; \
15101 $(HOST_EXPORTS) \
15102 $(POSTSTAGE1_HOST_EXPORTS) \
15103 cd $(HOST_SUBDIR)/libelf && \
15104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15105 CFLAGS="$(STAGE3_CFLAGS)" \
15106 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15107 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15112 TFLAGS="$(STAGE3_TFLAGS)" \
15113 $(TARGET-stage3-libelf)
15115 maybe-clean-stage3-libelf: clean-stage3-libelf
15116 clean-stage3: clean-stage3-libelf
15117 clean-stage3-libelf:
15118 @if [ $(current_stage) = stage3 ]; then \
15119 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15120 else \
15121 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15122 $(MAKE) stage3-start; \
15123 fi; \
15124 cd $(HOST_SUBDIR)/libelf && \
15125 $(MAKE) $(EXTRA_HOST_FLAGS) \
15126 $(POSTSTAGE1_FLAGS_TO_PASS) \
15127 clean
15128 @endif libelf-bootstrap
15131 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15132 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15133 maybe-all-stage4-libelf:
15134 maybe-clean-stage4-libelf:
15135 @if libelf-bootstrap
15136 maybe-all-stage4-libelf: all-stage4-libelf
15137 all-stage4: all-stage4-libelf
15138 TARGET-stage4-libelf = $(TARGET-libelf)
15139 all-stage4-libelf: configure-stage4-libelf
15140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 TFLAGS="$(STAGE4_TFLAGS)"; \
15144 $(HOST_EXPORTS) \
15145 $(POSTSTAGE1_HOST_EXPORTS) \
15146 cd $(HOST_SUBDIR)/libelf && \
15147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15148 CFLAGS="$(STAGE4_CFLAGS)" \
15149 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15150 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15155 TFLAGS="$(STAGE4_TFLAGS)" \
15156 $(TARGET-stage4-libelf)
15158 maybe-clean-stage4-libelf: clean-stage4-libelf
15159 clean-stage4: clean-stage4-libelf
15160 clean-stage4-libelf:
15161 @if [ $(current_stage) = stage4 ]; then \
15162 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15163 else \
15164 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15165 $(MAKE) stage4-start; \
15166 fi; \
15167 cd $(HOST_SUBDIR)/libelf && \
15168 $(MAKE) $(EXTRA_HOST_FLAGS) \
15169 $(POSTSTAGE1_FLAGS_TO_PASS) \
15170 clean
15171 @endif libelf-bootstrap
15174 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15175 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15176 maybe-all-stageprofile-libelf:
15177 maybe-clean-stageprofile-libelf:
15178 @if libelf-bootstrap
15179 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15180 all-stageprofile: all-stageprofile-libelf
15181 TARGET-stageprofile-libelf = $(TARGET-libelf)
15182 all-stageprofile-libelf: configure-stageprofile-libelf
15183 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15184 @r=`${PWD_COMMAND}`; export r; \
15185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15187 $(HOST_EXPORTS) \
15188 $(POSTSTAGE1_HOST_EXPORTS) \
15189 cd $(HOST_SUBDIR)/libelf && \
15190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15191 CFLAGS="$(STAGEprofile_CFLAGS)" \
15192 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15193 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15198 TFLAGS="$(STAGEprofile_TFLAGS)" \
15199 $(TARGET-stageprofile-libelf)
15201 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15202 clean-stageprofile: clean-stageprofile-libelf
15203 clean-stageprofile-libelf:
15204 @if [ $(current_stage) = stageprofile ]; then \
15205 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15206 else \
15207 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15208 $(MAKE) stageprofile-start; \
15209 fi; \
15210 cd $(HOST_SUBDIR)/libelf && \
15211 $(MAKE) $(EXTRA_HOST_FLAGS) \
15212 $(POSTSTAGE1_FLAGS_TO_PASS) \
15213 clean
15214 @endif libelf-bootstrap
15217 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15218 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15219 maybe-all-stagefeedback-libelf:
15220 maybe-clean-stagefeedback-libelf:
15221 @if libelf-bootstrap
15222 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15223 all-stagefeedback: all-stagefeedback-libelf
15224 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15225 all-stagefeedback-libelf: configure-stagefeedback-libelf
15226 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15227 @r=`${PWD_COMMAND}`; export r; \
15228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15230 $(HOST_EXPORTS) \
15231 $(POSTSTAGE1_HOST_EXPORTS) \
15232 cd $(HOST_SUBDIR)/libelf && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15234 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15235 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15236 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15241 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15242 $(TARGET-stagefeedback-libelf)
15244 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15245 clean-stagefeedback: clean-stagefeedback-libelf
15246 clean-stagefeedback-libelf:
15247 @if [ $(current_stage) = stagefeedback ]; then \
15248 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15249 else \
15250 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15251 $(MAKE) stagefeedback-start; \
15252 fi; \
15253 cd $(HOST_SUBDIR)/libelf && \
15254 $(MAKE) $(EXTRA_HOST_FLAGS) \
15255 $(POSTSTAGE1_FLAGS_TO_PASS) \
15256 clean
15257 @endif libelf-bootstrap
15263 .PHONY: check-libelf maybe-check-libelf
15264 maybe-check-libelf:
15265 @if libelf
15266 maybe-check-libelf: check-libelf
15268 check-libelf:
15269 @: $(MAKE); $(unstage)
15270 @r=`${PWD_COMMAND}`; export r; \
15271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15272 $(HOST_EXPORTS) \
15273 (cd $(HOST_SUBDIR)/libelf && \
15274 $(MAKE) $(FLAGS_TO_PASS) check)
15276 @endif libelf
15278 .PHONY: install-libelf maybe-install-libelf
15279 maybe-install-libelf:
15280 @if libelf
15281 maybe-install-libelf: install-libelf
15283 install-libelf:
15285 @endif libelf
15287 .PHONY: install-strip-libelf maybe-install-strip-libelf
15288 maybe-install-strip-libelf:
15289 @if libelf
15290 maybe-install-strip-libelf: install-strip-libelf
15292 install-strip-libelf:
15294 @endif libelf
15296 # Other targets (info, dvi, pdf, etc.)
15298 .PHONY: maybe-info-libelf info-libelf
15299 maybe-info-libelf:
15300 @if libelf
15301 maybe-info-libelf: info-libelf
15303 info-libelf: \
15304 configure-libelf
15305 @[ -f ./libelf/Makefile ] || exit 0; \
15306 r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(HOST_EXPORTS) \
15309 for flag in $(EXTRA_HOST_FLAGS) ; do \
15310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15311 done; \
15312 echo "Doing info in libelf" ; \
15313 (cd $(HOST_SUBDIR)/libelf && \
15314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15316 "RANLIB=$${RANLIB}" \
15317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15318 info) \
15319 || exit 1
15321 @endif libelf
15323 .PHONY: maybe-dvi-libelf dvi-libelf
15324 maybe-dvi-libelf:
15325 @if libelf
15326 maybe-dvi-libelf: dvi-libelf
15328 dvi-libelf: \
15329 configure-libelf
15330 @[ -f ./libelf/Makefile ] || exit 0; \
15331 r=`${PWD_COMMAND}`; export r; \
15332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15333 $(HOST_EXPORTS) \
15334 for flag in $(EXTRA_HOST_FLAGS) ; do \
15335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15336 done; \
15337 echo "Doing dvi in libelf" ; \
15338 (cd $(HOST_SUBDIR)/libelf && \
15339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341 "RANLIB=$${RANLIB}" \
15342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15343 dvi) \
15344 || exit 1
15346 @endif libelf
15348 .PHONY: maybe-pdf-libelf pdf-libelf
15349 maybe-pdf-libelf:
15350 @if libelf
15351 maybe-pdf-libelf: pdf-libelf
15353 pdf-libelf: \
15354 configure-libelf
15355 @[ -f ./libelf/Makefile ] || exit 0; \
15356 r=`${PWD_COMMAND}`; export r; \
15357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358 $(HOST_EXPORTS) \
15359 for flag in $(EXTRA_HOST_FLAGS) ; do \
15360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361 done; \
15362 echo "Doing pdf in libelf" ; \
15363 (cd $(HOST_SUBDIR)/libelf && \
15364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366 "RANLIB=$${RANLIB}" \
15367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15368 pdf) \
15369 || exit 1
15371 @endif libelf
15373 .PHONY: maybe-html-libelf html-libelf
15374 maybe-html-libelf:
15375 @if libelf
15376 maybe-html-libelf: html-libelf
15378 html-libelf: \
15379 configure-libelf
15380 @[ -f ./libelf/Makefile ] || exit 0; \
15381 r=`${PWD_COMMAND}`; export r; \
15382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 $(HOST_EXPORTS) \
15384 for flag in $(EXTRA_HOST_FLAGS) ; do \
15385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 done; \
15387 echo "Doing html in libelf" ; \
15388 (cd $(HOST_SUBDIR)/libelf && \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15391 "RANLIB=$${RANLIB}" \
15392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15393 html) \
15394 || exit 1
15396 @endif libelf
15398 .PHONY: maybe-TAGS-libelf TAGS-libelf
15399 maybe-TAGS-libelf:
15400 @if libelf
15401 maybe-TAGS-libelf: TAGS-libelf
15403 TAGS-libelf: \
15404 configure-libelf
15405 @[ -f ./libelf/Makefile ] || exit 0; \
15406 r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 $(HOST_EXPORTS) \
15409 for flag in $(EXTRA_HOST_FLAGS) ; do \
15410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 done; \
15412 echo "Doing TAGS in libelf" ; \
15413 (cd $(HOST_SUBDIR)/libelf && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15418 TAGS) \
15419 || exit 1
15421 @endif libelf
15423 .PHONY: maybe-install-info-libelf install-info-libelf
15424 maybe-install-info-libelf:
15425 @if libelf
15426 maybe-install-info-libelf: install-info-libelf
15428 install-info-libelf: \
15429 configure-libelf \
15430 info-libelf
15431 @[ -f ./libelf/Makefile ] || exit 0; \
15432 r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(HOST_EXPORTS) \
15435 for flag in $(EXTRA_HOST_FLAGS) ; do \
15436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15437 done; \
15438 echo "Doing install-info in libelf" ; \
15439 (cd $(HOST_SUBDIR)/libelf && \
15440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442 "RANLIB=$${RANLIB}" \
15443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15444 install-info) \
15445 || exit 1
15447 @endif libelf
15449 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15450 maybe-install-pdf-libelf:
15451 @if libelf
15452 maybe-install-pdf-libelf: install-pdf-libelf
15454 install-pdf-libelf: \
15455 configure-libelf \
15456 pdf-libelf
15457 @[ -f ./libelf/Makefile ] || exit 0; \
15458 r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 $(HOST_EXPORTS) \
15461 for flag in $(EXTRA_HOST_FLAGS) ; do \
15462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15463 done; \
15464 echo "Doing install-pdf in libelf" ; \
15465 (cd $(HOST_SUBDIR)/libelf && \
15466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15468 "RANLIB=$${RANLIB}" \
15469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15470 install-pdf) \
15471 || exit 1
15473 @endif libelf
15475 .PHONY: maybe-install-html-libelf install-html-libelf
15476 maybe-install-html-libelf:
15477 @if libelf
15478 maybe-install-html-libelf: install-html-libelf
15480 install-html-libelf: \
15481 configure-libelf \
15482 html-libelf
15483 @[ -f ./libelf/Makefile ] || exit 0; \
15484 r=`${PWD_COMMAND}`; export r; \
15485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15486 $(HOST_EXPORTS) \
15487 for flag in $(EXTRA_HOST_FLAGS) ; do \
15488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15489 done; \
15490 echo "Doing install-html in libelf" ; \
15491 (cd $(HOST_SUBDIR)/libelf && \
15492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15494 "RANLIB=$${RANLIB}" \
15495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15496 install-html) \
15497 || exit 1
15499 @endif libelf
15501 .PHONY: maybe-installcheck-libelf installcheck-libelf
15502 maybe-installcheck-libelf:
15503 @if libelf
15504 maybe-installcheck-libelf: installcheck-libelf
15506 installcheck-libelf: \
15507 configure-libelf
15508 @[ -f ./libelf/Makefile ] || exit 0; \
15509 r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 $(HOST_EXPORTS) \
15512 for flag in $(EXTRA_HOST_FLAGS) ; do \
15513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15514 done; \
15515 echo "Doing installcheck in libelf" ; \
15516 (cd $(HOST_SUBDIR)/libelf && \
15517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15519 "RANLIB=$${RANLIB}" \
15520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15521 installcheck) \
15522 || exit 1
15524 @endif libelf
15526 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15527 maybe-mostlyclean-libelf:
15528 @if libelf
15529 maybe-mostlyclean-libelf: mostlyclean-libelf
15531 mostlyclean-libelf:
15532 @[ -f ./libelf/Makefile ] || exit 0; \
15533 r=`${PWD_COMMAND}`; export r; \
15534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15535 $(HOST_EXPORTS) \
15536 for flag in $(EXTRA_HOST_FLAGS) ; do \
15537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15538 done; \
15539 echo "Doing mostlyclean in libelf" ; \
15540 (cd $(HOST_SUBDIR)/libelf && \
15541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15543 "RANLIB=$${RANLIB}" \
15544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15545 mostlyclean) \
15546 || exit 1
15548 @endif libelf
15550 .PHONY: maybe-clean-libelf clean-libelf
15551 maybe-clean-libelf:
15552 @if libelf
15553 maybe-clean-libelf: clean-libelf
15555 clean-libelf:
15556 @[ -f ./libelf/Makefile ] || exit 0; \
15557 r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15559 $(HOST_EXPORTS) \
15560 for flag in $(EXTRA_HOST_FLAGS) ; do \
15561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15562 done; \
15563 echo "Doing clean in libelf" ; \
15564 (cd $(HOST_SUBDIR)/libelf && \
15565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15567 "RANLIB=$${RANLIB}" \
15568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15569 clean) \
15570 || exit 1
15572 @endif libelf
15574 .PHONY: maybe-distclean-libelf distclean-libelf
15575 maybe-distclean-libelf:
15576 @if libelf
15577 maybe-distclean-libelf: distclean-libelf
15579 distclean-libelf:
15580 @[ -f ./libelf/Makefile ] || exit 0; \
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 $(HOST_EXPORTS) \
15584 for flag in $(EXTRA_HOST_FLAGS) ; do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15586 done; \
15587 echo "Doing distclean in libelf" ; \
15588 (cd $(HOST_SUBDIR)/libelf && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15593 distclean) \
15594 || exit 1
15596 @endif libelf
15598 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15599 maybe-maintainer-clean-libelf:
15600 @if libelf
15601 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15603 maintainer-clean-libelf:
15604 @[ -f ./libelf/Makefile ] || exit 0; \
15605 r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(HOST_EXPORTS) \
15608 for flag in $(EXTRA_HOST_FLAGS) ; do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 done; \
15611 echo "Doing maintainer-clean in libelf" ; \
15612 (cd $(HOST_SUBDIR)/libelf && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15617 maintainer-clean) \
15618 || exit 1
15620 @endif libelf
15624 .PHONY: configure-gold maybe-configure-gold
15625 maybe-configure-gold:
15626 @if gcc-bootstrap
15627 configure-gold: stage_current
15628 @endif gcc-bootstrap
15629 @if gold
15630 maybe-configure-gold: configure-gold
15631 configure-gold:
15632 @r=`${PWD_COMMAND}`; export r; \
15633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15634 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15636 $(HOST_EXPORTS) \
15637 echo Configuring in $(HOST_SUBDIR)/gold; \
15638 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15639 case $(srcdir) in \
15640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15641 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15643 esac; \
15644 srcdiroption="--srcdir=$${topdir}/gold"; \
15645 libsrcdir="$$s/gold"; \
15646 $(SHELL) $${libsrcdir}/configure \
15647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15648 --target=${target_alias} $${srcdiroption} \
15649 || exit 1
15650 @endif gold
15654 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15655 maybe-configure-stage1-gold:
15656 @if gold-bootstrap
15657 maybe-configure-stage1-gold: configure-stage1-gold
15658 configure-stage1-gold:
15659 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15661 @r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 TFLAGS="$(STAGE1_TFLAGS)"; \
15664 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15665 $(HOST_EXPORTS) \
15666 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15667 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15668 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15669 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15671 cd $(HOST_SUBDIR)/gold || exit 1; \
15672 case $(srcdir) in \
15673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15674 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15676 esac; \
15677 srcdiroption="--srcdir=$${topdir}/gold"; \
15678 libsrcdir="$$s/gold"; \
15679 $(SHELL) $${libsrcdir}/configure \
15680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15681 --target=${target_alias} $${srcdiroption} \
15682 $(STAGE1_CONFIGURE_FLAGS)
15683 @endif gold-bootstrap
15685 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15686 maybe-configure-stage2-gold:
15687 @if gold-bootstrap
15688 maybe-configure-stage2-gold: configure-stage2-gold
15689 configure-stage2-gold:
15690 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15692 @r=`${PWD_COMMAND}`; export r; \
15693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15694 TFLAGS="$(STAGE2_TFLAGS)"; \
15695 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15696 $(HOST_EXPORTS) \
15697 $(POSTSTAGE1_HOST_EXPORTS) \
15698 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15699 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15700 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15701 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15703 cd $(HOST_SUBDIR)/gold || exit 1; \
15704 case $(srcdir) in \
15705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15706 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15708 esac; \
15709 srcdiroption="--srcdir=$${topdir}/gold"; \
15710 libsrcdir="$$s/gold"; \
15711 $(SHELL) $${libsrcdir}/configure \
15712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15713 --target=${target_alias} $${srcdiroption} \
15714 --with-build-libsubdir=$(HOST_SUBDIR) \
15715 $(STAGE2_CONFIGURE_FLAGS)
15716 @endif gold-bootstrap
15718 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15719 maybe-configure-stage3-gold:
15720 @if gold-bootstrap
15721 maybe-configure-stage3-gold: configure-stage3-gold
15722 configure-stage3-gold:
15723 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15725 @r=`${PWD_COMMAND}`; export r; \
15726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15727 TFLAGS="$(STAGE3_TFLAGS)"; \
15728 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15729 $(HOST_EXPORTS) \
15730 $(POSTSTAGE1_HOST_EXPORTS) \
15731 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15732 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15733 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15734 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15736 cd $(HOST_SUBDIR)/gold || exit 1; \
15737 case $(srcdir) in \
15738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15739 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15741 esac; \
15742 srcdiroption="--srcdir=$${topdir}/gold"; \
15743 libsrcdir="$$s/gold"; \
15744 $(SHELL) $${libsrcdir}/configure \
15745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15746 --target=${target_alias} $${srcdiroption} \
15747 --with-build-libsubdir=$(HOST_SUBDIR) \
15748 $(STAGE3_CONFIGURE_FLAGS)
15749 @endif gold-bootstrap
15751 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15752 maybe-configure-stage4-gold:
15753 @if gold-bootstrap
15754 maybe-configure-stage4-gold: configure-stage4-gold
15755 configure-stage4-gold:
15756 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15758 @r=`${PWD_COMMAND}`; export r; \
15759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15760 TFLAGS="$(STAGE4_TFLAGS)"; \
15761 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15762 $(HOST_EXPORTS) \
15763 $(POSTSTAGE1_HOST_EXPORTS) \
15764 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15765 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15766 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15767 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15769 cd $(HOST_SUBDIR)/gold || exit 1; \
15770 case $(srcdir) in \
15771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15772 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15774 esac; \
15775 srcdiroption="--srcdir=$${topdir}/gold"; \
15776 libsrcdir="$$s/gold"; \
15777 $(SHELL) $${libsrcdir}/configure \
15778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15779 --target=${target_alias} $${srcdiroption} \
15780 --with-build-libsubdir=$(HOST_SUBDIR) \
15781 $(STAGE4_CONFIGURE_FLAGS)
15782 @endif gold-bootstrap
15784 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15785 maybe-configure-stageprofile-gold:
15786 @if gold-bootstrap
15787 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15788 configure-stageprofile-gold:
15789 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15791 @r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15794 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15795 $(HOST_EXPORTS) \
15796 $(POSTSTAGE1_HOST_EXPORTS) \
15797 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15798 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15799 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15800 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15802 cd $(HOST_SUBDIR)/gold || exit 1; \
15803 case $(srcdir) in \
15804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15805 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15807 esac; \
15808 srcdiroption="--srcdir=$${topdir}/gold"; \
15809 libsrcdir="$$s/gold"; \
15810 $(SHELL) $${libsrcdir}/configure \
15811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15812 --target=${target_alias} $${srcdiroption} \
15813 --with-build-libsubdir=$(HOST_SUBDIR) \
15814 $(STAGEprofile_CONFIGURE_FLAGS)
15815 @endif gold-bootstrap
15817 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15818 maybe-configure-stagefeedback-gold:
15819 @if gold-bootstrap
15820 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15821 configure-stagefeedback-gold:
15822 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15824 @r=`${PWD_COMMAND}`; export r; \
15825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15826 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15827 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15828 $(HOST_EXPORTS) \
15829 $(POSTSTAGE1_HOST_EXPORTS) \
15830 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15831 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15832 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15833 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15835 cd $(HOST_SUBDIR)/gold || exit 1; \
15836 case $(srcdir) in \
15837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15838 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15840 esac; \
15841 srcdiroption="--srcdir=$${topdir}/gold"; \
15842 libsrcdir="$$s/gold"; \
15843 $(SHELL) $${libsrcdir}/configure \
15844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15845 --target=${target_alias} $${srcdiroption} \
15846 --with-build-libsubdir=$(HOST_SUBDIR) \
15847 $(STAGEfeedback_CONFIGURE_FLAGS)
15848 @endif gold-bootstrap
15854 .PHONY: all-gold maybe-all-gold
15855 maybe-all-gold:
15856 @if gcc-bootstrap
15857 all-gold: stage_current
15858 @endif gcc-bootstrap
15859 @if gold
15860 TARGET-gold=all
15861 maybe-all-gold: all-gold
15862 all-gold: configure-gold
15863 @r=`${PWD_COMMAND}`; export r; \
15864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 $(HOST_EXPORTS) \
15866 (cd $(HOST_SUBDIR)/gold && \
15867 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15868 $(TARGET-gold))
15869 @endif gold
15873 .PHONY: all-stage1-gold maybe-all-stage1-gold
15874 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15875 maybe-all-stage1-gold:
15876 maybe-clean-stage1-gold:
15877 @if gold-bootstrap
15878 maybe-all-stage1-gold: all-stage1-gold
15879 all-stage1: all-stage1-gold
15880 TARGET-stage1-gold = $(TARGET-gold)
15881 all-stage1-gold: configure-stage1-gold
15882 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15883 @r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 TFLAGS="$(STAGE1_TFLAGS)"; \
15886 $(HOST_EXPORTS) \
15887 cd $(HOST_SUBDIR)/gold && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15889 CFLAGS="$(STAGE1_CFLAGS)" \
15890 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15891 LIBCFLAGS="$(LIBCFLAGS)" \
15892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15895 $(EXTRA_HOST_FLAGS) \
15896 TFLAGS="$(STAGE1_TFLAGS)" \
15897 $(TARGET-stage1-gold)
15899 maybe-clean-stage1-gold: clean-stage1-gold
15900 clean-stage1: clean-stage1-gold
15901 clean-stage1-gold:
15902 @if [ $(current_stage) = stage1 ]; then \
15903 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15904 else \
15905 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15906 $(MAKE) stage1-start; \
15907 fi; \
15908 cd $(HOST_SUBDIR)/gold && \
15909 $(MAKE) $(EXTRA_HOST_FLAGS) \
15910 clean
15911 @endif gold-bootstrap
15914 .PHONY: all-stage2-gold maybe-all-stage2-gold
15915 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15916 maybe-all-stage2-gold:
15917 maybe-clean-stage2-gold:
15918 @if gold-bootstrap
15919 maybe-all-stage2-gold: all-stage2-gold
15920 all-stage2: all-stage2-gold
15921 TARGET-stage2-gold = $(TARGET-gold)
15922 all-stage2-gold: configure-stage2-gold
15923 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15924 @r=`${PWD_COMMAND}`; export r; \
15925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15926 TFLAGS="$(STAGE2_TFLAGS)"; \
15927 $(HOST_EXPORTS) \
15928 $(POSTSTAGE1_HOST_EXPORTS) \
15929 cd $(HOST_SUBDIR)/gold && \
15930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15931 CFLAGS="$(STAGE2_CFLAGS)" \
15932 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15933 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15938 TFLAGS="$(STAGE2_TFLAGS)" \
15939 $(TARGET-stage2-gold)
15941 maybe-clean-stage2-gold: clean-stage2-gold
15942 clean-stage2: clean-stage2-gold
15943 clean-stage2-gold:
15944 @if [ $(current_stage) = stage2 ]; then \
15945 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15946 else \
15947 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15948 $(MAKE) stage2-start; \
15949 fi; \
15950 cd $(HOST_SUBDIR)/gold && \
15951 $(MAKE) $(EXTRA_HOST_FLAGS) \
15952 $(POSTSTAGE1_FLAGS_TO_PASS) \
15953 clean
15954 @endif gold-bootstrap
15957 .PHONY: all-stage3-gold maybe-all-stage3-gold
15958 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15959 maybe-all-stage3-gold:
15960 maybe-clean-stage3-gold:
15961 @if gold-bootstrap
15962 maybe-all-stage3-gold: all-stage3-gold
15963 all-stage3: all-stage3-gold
15964 TARGET-stage3-gold = $(TARGET-gold)
15965 all-stage3-gold: configure-stage3-gold
15966 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15967 @r=`${PWD_COMMAND}`; export r; \
15968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15969 TFLAGS="$(STAGE3_TFLAGS)"; \
15970 $(HOST_EXPORTS) \
15971 $(POSTSTAGE1_HOST_EXPORTS) \
15972 cd $(HOST_SUBDIR)/gold && \
15973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15974 CFLAGS="$(STAGE3_CFLAGS)" \
15975 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15976 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15980 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15981 TFLAGS="$(STAGE3_TFLAGS)" \
15982 $(TARGET-stage3-gold)
15984 maybe-clean-stage3-gold: clean-stage3-gold
15985 clean-stage3: clean-stage3-gold
15986 clean-stage3-gold:
15987 @if [ $(current_stage) = stage3 ]; then \
15988 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15989 else \
15990 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15991 $(MAKE) stage3-start; \
15992 fi; \
15993 cd $(HOST_SUBDIR)/gold && \
15994 $(MAKE) $(EXTRA_HOST_FLAGS) \
15995 $(POSTSTAGE1_FLAGS_TO_PASS) \
15996 clean
15997 @endif gold-bootstrap
16000 .PHONY: all-stage4-gold maybe-all-stage4-gold
16001 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16002 maybe-all-stage4-gold:
16003 maybe-clean-stage4-gold:
16004 @if gold-bootstrap
16005 maybe-all-stage4-gold: all-stage4-gold
16006 all-stage4: all-stage4-gold
16007 TARGET-stage4-gold = $(TARGET-gold)
16008 all-stage4-gold: configure-stage4-gold
16009 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16010 @r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012 TFLAGS="$(STAGE4_TFLAGS)"; \
16013 $(HOST_EXPORTS) \
16014 $(POSTSTAGE1_HOST_EXPORTS) \
16015 cd $(HOST_SUBDIR)/gold && \
16016 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16017 CFLAGS="$(STAGE4_CFLAGS)" \
16018 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16019 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16020 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16024 TFLAGS="$(STAGE4_TFLAGS)" \
16025 $(TARGET-stage4-gold)
16027 maybe-clean-stage4-gold: clean-stage4-gold
16028 clean-stage4: clean-stage4-gold
16029 clean-stage4-gold:
16030 @if [ $(current_stage) = stage4 ]; then \
16031 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16032 else \
16033 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16034 $(MAKE) stage4-start; \
16035 fi; \
16036 cd $(HOST_SUBDIR)/gold && \
16037 $(MAKE) $(EXTRA_HOST_FLAGS) \
16038 $(POSTSTAGE1_FLAGS_TO_PASS) \
16039 clean
16040 @endif gold-bootstrap
16043 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16044 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16045 maybe-all-stageprofile-gold:
16046 maybe-clean-stageprofile-gold:
16047 @if gold-bootstrap
16048 maybe-all-stageprofile-gold: all-stageprofile-gold
16049 all-stageprofile: all-stageprofile-gold
16050 TARGET-stageprofile-gold = $(TARGET-gold)
16051 all-stageprofile-gold: configure-stageprofile-gold
16052 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16053 @r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16056 $(HOST_EXPORTS) \
16057 $(POSTSTAGE1_HOST_EXPORTS) \
16058 cd $(HOST_SUBDIR)/gold && \
16059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16060 CFLAGS="$(STAGEprofile_CFLAGS)" \
16061 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16062 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16067 TFLAGS="$(STAGEprofile_TFLAGS)" \
16068 $(TARGET-stageprofile-gold)
16070 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16071 clean-stageprofile: clean-stageprofile-gold
16072 clean-stageprofile-gold:
16073 @if [ $(current_stage) = stageprofile ]; then \
16074 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16075 else \
16076 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16077 $(MAKE) stageprofile-start; \
16078 fi; \
16079 cd $(HOST_SUBDIR)/gold && \
16080 $(MAKE) $(EXTRA_HOST_FLAGS) \
16081 $(POSTSTAGE1_FLAGS_TO_PASS) \
16082 clean
16083 @endif gold-bootstrap
16086 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16087 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16088 maybe-all-stagefeedback-gold:
16089 maybe-clean-stagefeedback-gold:
16090 @if gold-bootstrap
16091 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16092 all-stagefeedback: all-stagefeedback-gold
16093 TARGET-stagefeedback-gold = $(TARGET-gold)
16094 all-stagefeedback-gold: configure-stagefeedback-gold
16095 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16096 @r=`${PWD_COMMAND}`; export r; \
16097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16099 $(HOST_EXPORTS) \
16100 $(POSTSTAGE1_HOST_EXPORTS) \
16101 cd $(HOST_SUBDIR)/gold && \
16102 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16103 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16104 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16105 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16106 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16107 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16108 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16109 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16110 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16111 $(TARGET-stagefeedback-gold)
16113 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16114 clean-stagefeedback: clean-stagefeedback-gold
16115 clean-stagefeedback-gold:
16116 @if [ $(current_stage) = stagefeedback ]; then \
16117 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16118 else \
16119 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16120 $(MAKE) stagefeedback-start; \
16121 fi; \
16122 cd $(HOST_SUBDIR)/gold && \
16123 $(MAKE) $(EXTRA_HOST_FLAGS) \
16124 $(POSTSTAGE1_FLAGS_TO_PASS) \
16125 clean
16126 @endif gold-bootstrap
16132 .PHONY: check-gold maybe-check-gold
16133 maybe-check-gold:
16134 @if gold
16135 maybe-check-gold: check-gold
16137 check-gold:
16138 @: $(MAKE); $(unstage)
16139 @r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 $(HOST_EXPORTS) \
16142 (cd $(HOST_SUBDIR)/gold && \
16143 $(MAKE) $(FLAGS_TO_PASS) check)
16145 @endif gold
16147 .PHONY: install-gold maybe-install-gold
16148 maybe-install-gold:
16149 @if gold
16150 maybe-install-gold: install-gold
16152 install-gold: installdirs
16153 @: $(MAKE); $(unstage)
16154 @r=`${PWD_COMMAND}`; export r; \
16155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16156 $(HOST_EXPORTS) \
16157 (cd $(HOST_SUBDIR)/gold && \
16158 $(MAKE) $(FLAGS_TO_PASS) install)
16160 @endif gold
16162 .PHONY: install-strip-gold maybe-install-strip-gold
16163 maybe-install-strip-gold:
16164 @if gold
16165 maybe-install-strip-gold: install-strip-gold
16167 install-strip-gold: installdirs
16168 @: $(MAKE); $(unstage)
16169 @r=`${PWD_COMMAND}`; export r; \
16170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16171 $(HOST_EXPORTS) \
16172 (cd $(HOST_SUBDIR)/gold && \
16173 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16175 @endif gold
16177 # Other targets (info, dvi, pdf, etc.)
16179 .PHONY: maybe-info-gold info-gold
16180 maybe-info-gold:
16181 @if gold
16182 maybe-info-gold: info-gold
16184 info-gold: \
16185 configure-gold
16186 @[ -f ./gold/Makefile ] || exit 0; \
16187 r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 $(HOST_EXPORTS) \
16190 for flag in $(EXTRA_HOST_FLAGS) ; do \
16191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16192 done; \
16193 echo "Doing info in gold" ; \
16194 (cd $(HOST_SUBDIR)/gold && \
16195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16197 "RANLIB=$${RANLIB}" \
16198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16199 info) \
16200 || exit 1
16202 @endif gold
16204 .PHONY: maybe-dvi-gold dvi-gold
16205 maybe-dvi-gold:
16206 @if gold
16207 maybe-dvi-gold: dvi-gold
16209 dvi-gold: \
16210 configure-gold
16211 @[ -f ./gold/Makefile ] || exit 0; \
16212 r=`${PWD_COMMAND}`; export r; \
16213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16214 $(HOST_EXPORTS) \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16217 done; \
16218 echo "Doing dvi in gold" ; \
16219 (cd $(HOST_SUBDIR)/gold && \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16224 dvi) \
16225 || exit 1
16227 @endif gold
16229 .PHONY: maybe-pdf-gold pdf-gold
16230 maybe-pdf-gold:
16231 @if gold
16232 maybe-pdf-gold: pdf-gold
16234 pdf-gold: \
16235 configure-gold
16236 @[ -f ./gold/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 $(HOST_EXPORTS) \
16240 for flag in $(EXTRA_HOST_FLAGS) ; do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16242 done; \
16243 echo "Doing pdf in gold" ; \
16244 (cd $(HOST_SUBDIR)/gold && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16249 pdf) \
16250 || exit 1
16252 @endif gold
16254 .PHONY: maybe-html-gold html-gold
16255 maybe-html-gold:
16256 @if gold
16257 maybe-html-gold: html-gold
16259 html-gold: \
16260 configure-gold
16261 @[ -f ./gold/Makefile ] || exit 0; \
16262 r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 $(HOST_EXPORTS) \
16265 for flag in $(EXTRA_HOST_FLAGS) ; do \
16266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16267 done; \
16268 echo "Doing html in gold" ; \
16269 (cd $(HOST_SUBDIR)/gold && \
16270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16272 "RANLIB=$${RANLIB}" \
16273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16274 html) \
16275 || exit 1
16277 @endif gold
16279 .PHONY: maybe-TAGS-gold TAGS-gold
16280 maybe-TAGS-gold:
16281 @if gold
16282 maybe-TAGS-gold: TAGS-gold
16284 TAGS-gold: \
16285 configure-gold
16286 @[ -f ./gold/Makefile ] || exit 0; \
16287 r=`${PWD_COMMAND}`; export r; \
16288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16289 $(HOST_EXPORTS) \
16290 for flag in $(EXTRA_HOST_FLAGS) ; do \
16291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16292 done; \
16293 echo "Doing TAGS in gold" ; \
16294 (cd $(HOST_SUBDIR)/gold && \
16295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16297 "RANLIB=$${RANLIB}" \
16298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16299 TAGS) \
16300 || exit 1
16302 @endif gold
16304 .PHONY: maybe-install-info-gold install-info-gold
16305 maybe-install-info-gold:
16306 @if gold
16307 maybe-install-info-gold: install-info-gold
16309 install-info-gold: \
16310 configure-gold \
16311 info-gold
16312 @[ -f ./gold/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(HOST_EXPORTS) \
16316 for flag in $(EXTRA_HOST_FLAGS) ; do \
16317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16318 done; \
16319 echo "Doing install-info in gold" ; \
16320 (cd $(HOST_SUBDIR)/gold && \
16321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16323 "RANLIB=$${RANLIB}" \
16324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16325 install-info) \
16326 || exit 1
16328 @endif gold
16330 .PHONY: maybe-install-pdf-gold install-pdf-gold
16331 maybe-install-pdf-gold:
16332 @if gold
16333 maybe-install-pdf-gold: install-pdf-gold
16335 install-pdf-gold: \
16336 configure-gold \
16337 pdf-gold
16338 @[ -f ./gold/Makefile ] || exit 0; \
16339 r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 $(HOST_EXPORTS) \
16342 for flag in $(EXTRA_HOST_FLAGS) ; do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing install-pdf in gold" ; \
16346 (cd $(HOST_SUBDIR)/gold && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16351 install-pdf) \
16352 || exit 1
16354 @endif gold
16356 .PHONY: maybe-install-html-gold install-html-gold
16357 maybe-install-html-gold:
16358 @if gold
16359 maybe-install-html-gold: install-html-gold
16361 install-html-gold: \
16362 configure-gold \
16363 html-gold
16364 @[ -f ./gold/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 $(HOST_EXPORTS) \
16368 for flag in $(EXTRA_HOST_FLAGS) ; do \
16369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 done; \
16371 echo "Doing install-html in gold" ; \
16372 (cd $(HOST_SUBDIR)/gold && \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16375 "RANLIB=$${RANLIB}" \
16376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16377 install-html) \
16378 || exit 1
16380 @endif gold
16382 .PHONY: maybe-installcheck-gold installcheck-gold
16383 maybe-installcheck-gold:
16384 @if gold
16385 maybe-installcheck-gold: installcheck-gold
16387 installcheck-gold: \
16388 configure-gold
16389 @[ -f ./gold/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(HOST_EXPORTS) \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 done; \
16396 echo "Doing installcheck in gold" ; \
16397 (cd $(HOST_SUBDIR)/gold && \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16402 installcheck) \
16403 || exit 1
16405 @endif gold
16407 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16408 maybe-mostlyclean-gold:
16409 @if gold
16410 maybe-mostlyclean-gold: mostlyclean-gold
16412 mostlyclean-gold:
16413 @[ -f ./gold/Makefile ] || exit 0; \
16414 r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 $(HOST_EXPORTS) \
16417 for flag in $(EXTRA_HOST_FLAGS) ; do \
16418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16419 done; \
16420 echo "Doing mostlyclean in gold" ; \
16421 (cd $(HOST_SUBDIR)/gold && \
16422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16424 "RANLIB=$${RANLIB}" \
16425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16426 mostlyclean) \
16427 || exit 1
16429 @endif gold
16431 .PHONY: maybe-clean-gold clean-gold
16432 maybe-clean-gold:
16433 @if gold
16434 maybe-clean-gold: clean-gold
16436 clean-gold:
16437 @[ -f ./gold/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16440 $(HOST_EXPORTS) \
16441 for flag in $(EXTRA_HOST_FLAGS) ; do \
16442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16443 done; \
16444 echo "Doing clean in gold" ; \
16445 (cd $(HOST_SUBDIR)/gold && \
16446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16448 "RANLIB=$${RANLIB}" \
16449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16450 clean) \
16451 || exit 1
16453 @endif gold
16455 .PHONY: maybe-distclean-gold distclean-gold
16456 maybe-distclean-gold:
16457 @if gold
16458 maybe-distclean-gold: distclean-gold
16460 distclean-gold:
16461 @[ -f ./gold/Makefile ] || exit 0; \
16462 r=`${PWD_COMMAND}`; export r; \
16463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16464 $(HOST_EXPORTS) \
16465 for flag in $(EXTRA_HOST_FLAGS) ; do \
16466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16467 done; \
16468 echo "Doing distclean in gold" ; \
16469 (cd $(HOST_SUBDIR)/gold && \
16470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16472 "RANLIB=$${RANLIB}" \
16473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16474 distclean) \
16475 || exit 1
16477 @endif gold
16479 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16480 maybe-maintainer-clean-gold:
16481 @if gold
16482 maybe-maintainer-clean-gold: maintainer-clean-gold
16484 maintainer-clean-gold:
16485 @[ -f ./gold/Makefile ] || exit 0; \
16486 r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 $(HOST_EXPORTS) \
16489 for flag in $(EXTRA_HOST_FLAGS) ; do \
16490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16491 done; \
16492 echo "Doing maintainer-clean in gold" ; \
16493 (cd $(HOST_SUBDIR)/gold && \
16494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16496 "RANLIB=$${RANLIB}" \
16497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16498 maintainer-clean) \
16499 || exit 1
16501 @endif gold
16505 .PHONY: configure-gprof maybe-configure-gprof
16506 maybe-configure-gprof:
16507 @if gcc-bootstrap
16508 configure-gprof: stage_current
16509 @endif gcc-bootstrap
16510 @if gprof
16511 maybe-configure-gprof: configure-gprof
16512 configure-gprof:
16513 @: $(MAKE); $(unstage)
16514 @r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16518 $(HOST_EXPORTS) \
16519 echo Configuring in $(HOST_SUBDIR)/gprof; \
16520 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16521 case $(srcdir) in \
16522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16523 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16525 esac; \
16526 srcdiroption="--srcdir=$${topdir}/gprof"; \
16527 libsrcdir="$$s/gprof"; \
16528 $(SHELL) $${libsrcdir}/configure \
16529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16530 --target=${target_alias} $${srcdiroption} \
16531 || exit 1
16532 @endif gprof
16538 .PHONY: all-gprof maybe-all-gprof
16539 maybe-all-gprof:
16540 @if gcc-bootstrap
16541 all-gprof: stage_current
16542 @endif gcc-bootstrap
16543 @if gprof
16544 TARGET-gprof=all
16545 maybe-all-gprof: all-gprof
16546 all-gprof: configure-gprof
16547 @: $(MAKE); $(unstage)
16548 @r=`${PWD_COMMAND}`; export r; \
16549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16550 $(HOST_EXPORTS) \
16551 (cd $(HOST_SUBDIR)/gprof && \
16552 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16553 $(TARGET-gprof))
16554 @endif gprof
16559 .PHONY: check-gprof maybe-check-gprof
16560 maybe-check-gprof:
16561 @if gprof
16562 maybe-check-gprof: check-gprof
16564 check-gprof:
16565 @: $(MAKE); $(unstage)
16566 @r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 $(HOST_EXPORTS) \
16569 (cd $(HOST_SUBDIR)/gprof && \
16570 $(MAKE) $(FLAGS_TO_PASS) check)
16572 @endif gprof
16574 .PHONY: install-gprof maybe-install-gprof
16575 maybe-install-gprof:
16576 @if gprof
16577 maybe-install-gprof: install-gprof
16579 install-gprof: installdirs
16580 @: $(MAKE); $(unstage)
16581 @r=`${PWD_COMMAND}`; export r; \
16582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16583 $(HOST_EXPORTS) \
16584 (cd $(HOST_SUBDIR)/gprof && \
16585 $(MAKE) $(FLAGS_TO_PASS) install)
16587 @endif gprof
16589 .PHONY: install-strip-gprof maybe-install-strip-gprof
16590 maybe-install-strip-gprof:
16591 @if gprof
16592 maybe-install-strip-gprof: install-strip-gprof
16594 install-strip-gprof: installdirs
16595 @: $(MAKE); $(unstage)
16596 @r=`${PWD_COMMAND}`; export r; \
16597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16598 $(HOST_EXPORTS) \
16599 (cd $(HOST_SUBDIR)/gprof && \
16600 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16602 @endif gprof
16604 # Other targets (info, dvi, pdf, etc.)
16606 .PHONY: maybe-info-gprof info-gprof
16607 maybe-info-gprof:
16608 @if gprof
16609 maybe-info-gprof: info-gprof
16611 info-gprof: \
16612 configure-gprof
16613 @: $(MAKE); $(unstage)
16614 @[ -f ./gprof/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(HOST_EXPORTS) \
16618 for flag in $(EXTRA_HOST_FLAGS) ; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing info in gprof" ; \
16622 (cd $(HOST_SUBDIR)/gprof && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16627 info) \
16628 || exit 1
16630 @endif gprof
16632 .PHONY: maybe-dvi-gprof dvi-gprof
16633 maybe-dvi-gprof:
16634 @if gprof
16635 maybe-dvi-gprof: dvi-gprof
16637 dvi-gprof: \
16638 configure-gprof
16639 @: $(MAKE); $(unstage)
16640 @[ -f ./gprof/Makefile ] || exit 0; \
16641 r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 $(HOST_EXPORTS) \
16644 for flag in $(EXTRA_HOST_FLAGS) ; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 done; \
16647 echo "Doing dvi in gprof" ; \
16648 (cd $(HOST_SUBDIR)/gprof && \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16653 dvi) \
16654 || exit 1
16656 @endif gprof
16658 .PHONY: maybe-pdf-gprof pdf-gprof
16659 maybe-pdf-gprof:
16660 @if gprof
16661 maybe-pdf-gprof: pdf-gprof
16663 pdf-gprof: \
16664 configure-gprof
16665 @: $(MAKE); $(unstage)
16666 @[ -f ./gprof/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 for flag in $(EXTRA_HOST_FLAGS) ; do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 done; \
16673 echo "Doing pdf in gprof" ; \
16674 (cd $(HOST_SUBDIR)/gprof && \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16679 pdf) \
16680 || exit 1
16682 @endif gprof
16684 .PHONY: maybe-html-gprof html-gprof
16685 maybe-html-gprof:
16686 @if gprof
16687 maybe-html-gprof: html-gprof
16689 html-gprof: \
16690 configure-gprof
16691 @: $(MAKE); $(unstage)
16692 @[ -f ./gprof/Makefile ] || exit 0; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 $(HOST_EXPORTS) \
16696 for flag in $(EXTRA_HOST_FLAGS) ; do \
16697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16698 done; \
16699 echo "Doing html in gprof" ; \
16700 (cd $(HOST_SUBDIR)/gprof && \
16701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16703 "RANLIB=$${RANLIB}" \
16704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16705 html) \
16706 || exit 1
16708 @endif gprof
16710 .PHONY: maybe-TAGS-gprof TAGS-gprof
16711 maybe-TAGS-gprof:
16712 @if gprof
16713 maybe-TAGS-gprof: TAGS-gprof
16715 TAGS-gprof: \
16716 configure-gprof
16717 @: $(MAKE); $(unstage)
16718 @[ -f ./gprof/Makefile ] || exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16721 $(HOST_EXPORTS) \
16722 for flag in $(EXTRA_HOST_FLAGS) ; do \
16723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16724 done; \
16725 echo "Doing TAGS in gprof" ; \
16726 (cd $(HOST_SUBDIR)/gprof && \
16727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16729 "RANLIB=$${RANLIB}" \
16730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16731 TAGS) \
16732 || exit 1
16734 @endif gprof
16736 .PHONY: maybe-install-info-gprof install-info-gprof
16737 maybe-install-info-gprof:
16738 @if gprof
16739 maybe-install-info-gprof: install-info-gprof
16741 install-info-gprof: \
16742 configure-gprof \
16743 info-gprof
16744 @: $(MAKE); $(unstage)
16745 @[ -f ./gprof/Makefile ] || exit 0; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 $(HOST_EXPORTS) \
16749 for flag in $(EXTRA_HOST_FLAGS) ; do \
16750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16751 done; \
16752 echo "Doing install-info in gprof" ; \
16753 (cd $(HOST_SUBDIR)/gprof && \
16754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16756 "RANLIB=$${RANLIB}" \
16757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16758 install-info) \
16759 || exit 1
16761 @endif gprof
16763 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16764 maybe-install-pdf-gprof:
16765 @if gprof
16766 maybe-install-pdf-gprof: install-pdf-gprof
16768 install-pdf-gprof: \
16769 configure-gprof \
16770 pdf-gprof
16771 @: $(MAKE); $(unstage)
16772 @[ -f ./gprof/Makefile ] || exit 0; \
16773 r=`${PWD_COMMAND}`; export r; \
16774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16775 $(HOST_EXPORTS) \
16776 for flag in $(EXTRA_HOST_FLAGS) ; do \
16777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16778 done; \
16779 echo "Doing install-pdf in gprof" ; \
16780 (cd $(HOST_SUBDIR)/gprof && \
16781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16783 "RANLIB=$${RANLIB}" \
16784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16785 install-pdf) \
16786 || exit 1
16788 @endif gprof
16790 .PHONY: maybe-install-html-gprof install-html-gprof
16791 maybe-install-html-gprof:
16792 @if gprof
16793 maybe-install-html-gprof: install-html-gprof
16795 install-html-gprof: \
16796 configure-gprof \
16797 html-gprof
16798 @: $(MAKE); $(unstage)
16799 @[ -f ./gprof/Makefile ] || exit 0; \
16800 r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16802 $(HOST_EXPORTS) \
16803 for flag in $(EXTRA_HOST_FLAGS) ; do \
16804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16805 done; \
16806 echo "Doing install-html in gprof" ; \
16807 (cd $(HOST_SUBDIR)/gprof && \
16808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16810 "RANLIB=$${RANLIB}" \
16811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16812 install-html) \
16813 || exit 1
16815 @endif gprof
16817 .PHONY: maybe-installcheck-gprof installcheck-gprof
16818 maybe-installcheck-gprof:
16819 @if gprof
16820 maybe-installcheck-gprof: installcheck-gprof
16822 installcheck-gprof: \
16823 configure-gprof
16824 @: $(MAKE); $(unstage)
16825 @[ -f ./gprof/Makefile ] || exit 0; \
16826 r=`${PWD_COMMAND}`; export r; \
16827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16828 $(HOST_EXPORTS) \
16829 for flag in $(EXTRA_HOST_FLAGS) ; do \
16830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16831 done; \
16832 echo "Doing installcheck in gprof" ; \
16833 (cd $(HOST_SUBDIR)/gprof && \
16834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16836 "RANLIB=$${RANLIB}" \
16837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16838 installcheck) \
16839 || exit 1
16841 @endif gprof
16843 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16844 maybe-mostlyclean-gprof:
16845 @if gprof
16846 maybe-mostlyclean-gprof: mostlyclean-gprof
16848 mostlyclean-gprof:
16849 @: $(MAKE); $(unstage)
16850 @[ -f ./gprof/Makefile ] || exit 0; \
16851 r=`${PWD_COMMAND}`; export r; \
16852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16853 $(HOST_EXPORTS) \
16854 for flag in $(EXTRA_HOST_FLAGS) ; do \
16855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16856 done; \
16857 echo "Doing mostlyclean in gprof" ; \
16858 (cd $(HOST_SUBDIR)/gprof && \
16859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16861 "RANLIB=$${RANLIB}" \
16862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16863 mostlyclean) \
16864 || exit 1
16866 @endif gprof
16868 .PHONY: maybe-clean-gprof clean-gprof
16869 maybe-clean-gprof:
16870 @if gprof
16871 maybe-clean-gprof: clean-gprof
16873 clean-gprof:
16874 @: $(MAKE); $(unstage)
16875 @[ -f ./gprof/Makefile ] || exit 0; \
16876 r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 $(HOST_EXPORTS) \
16879 for flag in $(EXTRA_HOST_FLAGS) ; do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16881 done; \
16882 echo "Doing clean in gprof" ; \
16883 (cd $(HOST_SUBDIR)/gprof && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16888 clean) \
16889 || exit 1
16891 @endif gprof
16893 .PHONY: maybe-distclean-gprof distclean-gprof
16894 maybe-distclean-gprof:
16895 @if gprof
16896 maybe-distclean-gprof: distclean-gprof
16898 distclean-gprof:
16899 @: $(MAKE); $(unstage)
16900 @[ -f ./gprof/Makefile ] || exit 0; \
16901 r=`${PWD_COMMAND}`; export r; \
16902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16903 $(HOST_EXPORTS) \
16904 for flag in $(EXTRA_HOST_FLAGS) ; do \
16905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16906 done; \
16907 echo "Doing distclean in gprof" ; \
16908 (cd $(HOST_SUBDIR)/gprof && \
16909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16911 "RANLIB=$${RANLIB}" \
16912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16913 distclean) \
16914 || exit 1
16916 @endif gprof
16918 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16919 maybe-maintainer-clean-gprof:
16920 @if gprof
16921 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16923 maintainer-clean-gprof:
16924 @: $(MAKE); $(unstage)
16925 @[ -f ./gprof/Makefile ] || exit 0; \
16926 r=`${PWD_COMMAND}`; export r; \
16927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16928 $(HOST_EXPORTS) \
16929 for flag in $(EXTRA_HOST_FLAGS) ; do \
16930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16931 done; \
16932 echo "Doing maintainer-clean in gprof" ; \
16933 (cd $(HOST_SUBDIR)/gprof && \
16934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16936 "RANLIB=$${RANLIB}" \
16937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16938 maintainer-clean) \
16939 || exit 1
16941 @endif gprof
16945 .PHONY: configure-intl maybe-configure-intl
16946 maybe-configure-intl:
16947 @if gcc-bootstrap
16948 configure-intl: stage_current
16949 @endif gcc-bootstrap
16950 @if intl
16951 maybe-configure-intl: configure-intl
16952 configure-intl:
16953 @r=`${PWD_COMMAND}`; export r; \
16954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16955 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16957 $(HOST_EXPORTS) \
16958 echo Configuring in $(HOST_SUBDIR)/intl; \
16959 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16960 case $(srcdir) in \
16961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16962 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16964 esac; \
16965 srcdiroption="--srcdir=$${topdir}/intl"; \
16966 libsrcdir="$$s/intl"; \
16967 $(SHELL) $${libsrcdir}/configure \
16968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16969 --target=${target_alias} $${srcdiroption} \
16970 || exit 1
16971 @endif intl
16975 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16976 maybe-configure-stage1-intl:
16977 @if intl-bootstrap
16978 maybe-configure-stage1-intl: configure-stage1-intl
16979 configure-stage1-intl:
16980 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16982 @r=`${PWD_COMMAND}`; export r; \
16983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16984 TFLAGS="$(STAGE1_TFLAGS)"; \
16985 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16986 $(HOST_EXPORTS) \
16987 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16988 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16989 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16990 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16992 cd $(HOST_SUBDIR)/intl || exit 1; \
16993 case $(srcdir) in \
16994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16995 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16997 esac; \
16998 srcdiroption="--srcdir=$${topdir}/intl"; \
16999 libsrcdir="$$s/intl"; \
17000 $(SHELL) $${libsrcdir}/configure \
17001 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17002 --target=${target_alias} $${srcdiroption} \
17003 $(STAGE1_CONFIGURE_FLAGS)
17004 @endif intl-bootstrap
17006 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17007 maybe-configure-stage2-intl:
17008 @if intl-bootstrap
17009 maybe-configure-stage2-intl: configure-stage2-intl
17010 configure-stage2-intl:
17011 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17013 @r=`${PWD_COMMAND}`; export r; \
17014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17015 TFLAGS="$(STAGE2_TFLAGS)"; \
17016 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17017 $(HOST_EXPORTS) \
17018 $(POSTSTAGE1_HOST_EXPORTS) \
17019 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17020 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17021 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17022 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17024 cd $(HOST_SUBDIR)/intl || exit 1; \
17025 case $(srcdir) in \
17026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17027 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17029 esac; \
17030 srcdiroption="--srcdir=$${topdir}/intl"; \
17031 libsrcdir="$$s/intl"; \
17032 $(SHELL) $${libsrcdir}/configure \
17033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17034 --target=${target_alias} $${srcdiroption} \
17035 --with-build-libsubdir=$(HOST_SUBDIR) \
17036 $(STAGE2_CONFIGURE_FLAGS)
17037 @endif intl-bootstrap
17039 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17040 maybe-configure-stage3-intl:
17041 @if intl-bootstrap
17042 maybe-configure-stage3-intl: configure-stage3-intl
17043 configure-stage3-intl:
17044 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17046 @r=`${PWD_COMMAND}`; export r; \
17047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 TFLAGS="$(STAGE3_TFLAGS)"; \
17049 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17050 $(HOST_EXPORTS) \
17051 $(POSTSTAGE1_HOST_EXPORTS) \
17052 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17053 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17054 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17055 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17057 cd $(HOST_SUBDIR)/intl || exit 1; \
17058 case $(srcdir) in \
17059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17060 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17062 esac; \
17063 srcdiroption="--srcdir=$${topdir}/intl"; \
17064 libsrcdir="$$s/intl"; \
17065 $(SHELL) $${libsrcdir}/configure \
17066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17067 --target=${target_alias} $${srcdiroption} \
17068 --with-build-libsubdir=$(HOST_SUBDIR) \
17069 $(STAGE3_CONFIGURE_FLAGS)
17070 @endif intl-bootstrap
17072 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17073 maybe-configure-stage4-intl:
17074 @if intl-bootstrap
17075 maybe-configure-stage4-intl: configure-stage4-intl
17076 configure-stage4-intl:
17077 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17079 @r=`${PWD_COMMAND}`; export r; \
17080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17081 TFLAGS="$(STAGE4_TFLAGS)"; \
17082 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17083 $(HOST_EXPORTS) \
17084 $(POSTSTAGE1_HOST_EXPORTS) \
17085 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17086 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17087 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17088 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17090 cd $(HOST_SUBDIR)/intl || exit 1; \
17091 case $(srcdir) in \
17092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17093 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17095 esac; \
17096 srcdiroption="--srcdir=$${topdir}/intl"; \
17097 libsrcdir="$$s/intl"; \
17098 $(SHELL) $${libsrcdir}/configure \
17099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17100 --target=${target_alias} $${srcdiroption} \
17101 --with-build-libsubdir=$(HOST_SUBDIR) \
17102 $(STAGE4_CONFIGURE_FLAGS)
17103 @endif intl-bootstrap
17105 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17106 maybe-configure-stageprofile-intl:
17107 @if intl-bootstrap
17108 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17109 configure-stageprofile-intl:
17110 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17112 @r=`${PWD_COMMAND}`; export r; \
17113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17114 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17115 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17116 $(HOST_EXPORTS) \
17117 $(POSTSTAGE1_HOST_EXPORTS) \
17118 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17119 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17120 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17121 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17123 cd $(HOST_SUBDIR)/intl || exit 1; \
17124 case $(srcdir) in \
17125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17126 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17128 esac; \
17129 srcdiroption="--srcdir=$${topdir}/intl"; \
17130 libsrcdir="$$s/intl"; \
17131 $(SHELL) $${libsrcdir}/configure \
17132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17133 --target=${target_alias} $${srcdiroption} \
17134 --with-build-libsubdir=$(HOST_SUBDIR) \
17135 $(STAGEprofile_CONFIGURE_FLAGS)
17136 @endif intl-bootstrap
17138 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17139 maybe-configure-stagefeedback-intl:
17140 @if intl-bootstrap
17141 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17142 configure-stagefeedback-intl:
17143 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17145 @r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17148 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17149 $(HOST_EXPORTS) \
17150 $(POSTSTAGE1_HOST_EXPORTS) \
17151 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17152 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17153 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17154 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17156 cd $(HOST_SUBDIR)/intl || exit 1; \
17157 case $(srcdir) in \
17158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17159 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17161 esac; \
17162 srcdiroption="--srcdir=$${topdir}/intl"; \
17163 libsrcdir="$$s/intl"; \
17164 $(SHELL) $${libsrcdir}/configure \
17165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17166 --target=${target_alias} $${srcdiroption} \
17167 --with-build-libsubdir=$(HOST_SUBDIR) \
17168 $(STAGEfeedback_CONFIGURE_FLAGS)
17169 @endif intl-bootstrap
17175 .PHONY: all-intl maybe-all-intl
17176 maybe-all-intl:
17177 @if gcc-bootstrap
17178 all-intl: stage_current
17179 @endif gcc-bootstrap
17180 @if intl
17181 TARGET-intl=all
17182 maybe-all-intl: all-intl
17183 all-intl: configure-intl
17184 @r=`${PWD_COMMAND}`; export r; \
17185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17186 $(HOST_EXPORTS) \
17187 (cd $(HOST_SUBDIR)/intl && \
17188 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17189 $(TARGET-intl))
17190 @endif intl
17194 .PHONY: all-stage1-intl maybe-all-stage1-intl
17195 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17196 maybe-all-stage1-intl:
17197 maybe-clean-stage1-intl:
17198 @if intl-bootstrap
17199 maybe-all-stage1-intl: all-stage1-intl
17200 all-stage1: all-stage1-intl
17201 TARGET-stage1-intl = $(TARGET-intl)
17202 all-stage1-intl: configure-stage1-intl
17203 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17204 @r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17206 TFLAGS="$(STAGE1_TFLAGS)"; \
17207 $(HOST_EXPORTS) \
17208 cd $(HOST_SUBDIR)/intl && \
17209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17210 CFLAGS="$(STAGE1_CFLAGS)" \
17211 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17212 LIBCFLAGS="$(LIBCFLAGS)" \
17213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17216 $(EXTRA_HOST_FLAGS) \
17217 TFLAGS="$(STAGE1_TFLAGS)" \
17218 $(TARGET-stage1-intl)
17220 maybe-clean-stage1-intl: clean-stage1-intl
17221 clean-stage1: clean-stage1-intl
17222 clean-stage1-intl:
17223 @if [ $(current_stage) = stage1 ]; then \
17224 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17225 else \
17226 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17227 $(MAKE) stage1-start; \
17228 fi; \
17229 cd $(HOST_SUBDIR)/intl && \
17230 $(MAKE) $(EXTRA_HOST_FLAGS) \
17231 clean
17232 @endif intl-bootstrap
17235 .PHONY: all-stage2-intl maybe-all-stage2-intl
17236 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17237 maybe-all-stage2-intl:
17238 maybe-clean-stage2-intl:
17239 @if intl-bootstrap
17240 maybe-all-stage2-intl: all-stage2-intl
17241 all-stage2: all-stage2-intl
17242 TARGET-stage2-intl = $(TARGET-intl)
17243 all-stage2-intl: configure-stage2-intl
17244 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17245 @r=`${PWD_COMMAND}`; export r; \
17246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17247 TFLAGS="$(STAGE2_TFLAGS)"; \
17248 $(HOST_EXPORTS) \
17249 $(POSTSTAGE1_HOST_EXPORTS) \
17250 cd $(HOST_SUBDIR)/intl && \
17251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17252 CFLAGS="$(STAGE2_CFLAGS)" \
17253 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17254 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17258 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17259 TFLAGS="$(STAGE2_TFLAGS)" \
17260 $(TARGET-stage2-intl)
17262 maybe-clean-stage2-intl: clean-stage2-intl
17263 clean-stage2: clean-stage2-intl
17264 clean-stage2-intl:
17265 @if [ $(current_stage) = stage2 ]; then \
17266 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17267 else \
17268 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17269 $(MAKE) stage2-start; \
17270 fi; \
17271 cd $(HOST_SUBDIR)/intl && \
17272 $(MAKE) $(EXTRA_HOST_FLAGS) \
17273 $(POSTSTAGE1_FLAGS_TO_PASS) \
17274 clean
17275 @endif intl-bootstrap
17278 .PHONY: all-stage3-intl maybe-all-stage3-intl
17279 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17280 maybe-all-stage3-intl:
17281 maybe-clean-stage3-intl:
17282 @if intl-bootstrap
17283 maybe-all-stage3-intl: all-stage3-intl
17284 all-stage3: all-stage3-intl
17285 TARGET-stage3-intl = $(TARGET-intl)
17286 all-stage3-intl: configure-stage3-intl
17287 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17288 @r=`${PWD_COMMAND}`; export r; \
17289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17290 TFLAGS="$(STAGE3_TFLAGS)"; \
17291 $(HOST_EXPORTS) \
17292 $(POSTSTAGE1_HOST_EXPORTS) \
17293 cd $(HOST_SUBDIR)/intl && \
17294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17295 CFLAGS="$(STAGE3_CFLAGS)" \
17296 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17297 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17302 TFLAGS="$(STAGE3_TFLAGS)" \
17303 $(TARGET-stage3-intl)
17305 maybe-clean-stage3-intl: clean-stage3-intl
17306 clean-stage3: clean-stage3-intl
17307 clean-stage3-intl:
17308 @if [ $(current_stage) = stage3 ]; then \
17309 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17310 else \
17311 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17312 $(MAKE) stage3-start; \
17313 fi; \
17314 cd $(HOST_SUBDIR)/intl && \
17315 $(MAKE) $(EXTRA_HOST_FLAGS) \
17316 $(POSTSTAGE1_FLAGS_TO_PASS) \
17317 clean
17318 @endif intl-bootstrap
17321 .PHONY: all-stage4-intl maybe-all-stage4-intl
17322 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17323 maybe-all-stage4-intl:
17324 maybe-clean-stage4-intl:
17325 @if intl-bootstrap
17326 maybe-all-stage4-intl: all-stage4-intl
17327 all-stage4: all-stage4-intl
17328 TARGET-stage4-intl = $(TARGET-intl)
17329 all-stage4-intl: configure-stage4-intl
17330 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17331 @r=`${PWD_COMMAND}`; export r; \
17332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 TFLAGS="$(STAGE4_TFLAGS)"; \
17334 $(HOST_EXPORTS) \
17335 $(POSTSTAGE1_HOST_EXPORTS) \
17336 cd $(HOST_SUBDIR)/intl && \
17337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17338 CFLAGS="$(STAGE4_CFLAGS)" \
17339 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17340 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17345 TFLAGS="$(STAGE4_TFLAGS)" \
17346 $(TARGET-stage4-intl)
17348 maybe-clean-stage4-intl: clean-stage4-intl
17349 clean-stage4: clean-stage4-intl
17350 clean-stage4-intl:
17351 @if [ $(current_stage) = stage4 ]; then \
17352 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17353 else \
17354 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17355 $(MAKE) stage4-start; \
17356 fi; \
17357 cd $(HOST_SUBDIR)/intl && \
17358 $(MAKE) $(EXTRA_HOST_FLAGS) \
17359 $(POSTSTAGE1_FLAGS_TO_PASS) \
17360 clean
17361 @endif intl-bootstrap
17364 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17365 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17366 maybe-all-stageprofile-intl:
17367 maybe-clean-stageprofile-intl:
17368 @if intl-bootstrap
17369 maybe-all-stageprofile-intl: all-stageprofile-intl
17370 all-stageprofile: all-stageprofile-intl
17371 TARGET-stageprofile-intl = $(TARGET-intl)
17372 all-stageprofile-intl: configure-stageprofile-intl
17373 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17374 @r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17377 $(HOST_EXPORTS) \
17378 $(POSTSTAGE1_HOST_EXPORTS) \
17379 cd $(HOST_SUBDIR)/intl && \
17380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17381 CFLAGS="$(STAGEprofile_CFLAGS)" \
17382 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17383 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17388 TFLAGS="$(STAGEprofile_TFLAGS)" \
17389 $(TARGET-stageprofile-intl)
17391 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17392 clean-stageprofile: clean-stageprofile-intl
17393 clean-stageprofile-intl:
17394 @if [ $(current_stage) = stageprofile ]; then \
17395 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17396 else \
17397 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17398 $(MAKE) stageprofile-start; \
17399 fi; \
17400 cd $(HOST_SUBDIR)/intl && \
17401 $(MAKE) $(EXTRA_HOST_FLAGS) \
17402 $(POSTSTAGE1_FLAGS_TO_PASS) \
17403 clean
17404 @endif intl-bootstrap
17407 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17408 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17409 maybe-all-stagefeedback-intl:
17410 maybe-clean-stagefeedback-intl:
17411 @if intl-bootstrap
17412 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17413 all-stagefeedback: all-stagefeedback-intl
17414 TARGET-stagefeedback-intl = $(TARGET-intl)
17415 all-stagefeedback-intl: configure-stagefeedback-intl
17416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17417 @r=`${PWD_COMMAND}`; export r; \
17418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17419 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17420 $(HOST_EXPORTS) \
17421 $(POSTSTAGE1_HOST_EXPORTS) \
17422 cd $(HOST_SUBDIR)/intl && \
17423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17424 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17425 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17426 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17430 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17431 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17432 $(TARGET-stagefeedback-intl)
17434 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17435 clean-stagefeedback: clean-stagefeedback-intl
17436 clean-stagefeedback-intl:
17437 @if [ $(current_stage) = stagefeedback ]; then \
17438 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17439 else \
17440 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17441 $(MAKE) stagefeedback-start; \
17442 fi; \
17443 cd $(HOST_SUBDIR)/intl && \
17444 $(MAKE) $(EXTRA_HOST_FLAGS) \
17445 $(POSTSTAGE1_FLAGS_TO_PASS) \
17446 clean
17447 @endif intl-bootstrap
17453 .PHONY: check-intl maybe-check-intl
17454 maybe-check-intl:
17455 @if intl
17456 maybe-check-intl: check-intl
17458 check-intl:
17459 @: $(MAKE); $(unstage)
17460 @r=`${PWD_COMMAND}`; export r; \
17461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17462 $(HOST_EXPORTS) \
17463 (cd $(HOST_SUBDIR)/intl && \
17464 $(MAKE) $(FLAGS_TO_PASS) check)
17466 @endif intl
17468 .PHONY: install-intl maybe-install-intl
17469 maybe-install-intl:
17470 @if intl
17471 maybe-install-intl: install-intl
17473 install-intl: installdirs
17474 @: $(MAKE); $(unstage)
17475 @r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 (cd $(HOST_SUBDIR)/intl && \
17479 $(MAKE) $(FLAGS_TO_PASS) install)
17481 @endif intl
17483 .PHONY: install-strip-intl maybe-install-strip-intl
17484 maybe-install-strip-intl:
17485 @if intl
17486 maybe-install-strip-intl: install-strip-intl
17488 install-strip-intl: installdirs
17489 @: $(MAKE); $(unstage)
17490 @r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 $(HOST_EXPORTS) \
17493 (cd $(HOST_SUBDIR)/intl && \
17494 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17496 @endif intl
17498 # Other targets (info, dvi, pdf, etc.)
17500 .PHONY: maybe-info-intl info-intl
17501 maybe-info-intl:
17502 @if intl
17503 maybe-info-intl: info-intl
17505 info-intl: \
17506 configure-intl
17507 @[ -f ./intl/Makefile ] || exit 0; \
17508 r=`${PWD_COMMAND}`; export r; \
17509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17510 $(HOST_EXPORTS) \
17511 for flag in $(EXTRA_HOST_FLAGS) ; do \
17512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17513 done; \
17514 echo "Doing info in intl" ; \
17515 (cd $(HOST_SUBDIR)/intl && \
17516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17518 "RANLIB=$${RANLIB}" \
17519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17520 info) \
17521 || exit 1
17523 @endif intl
17525 .PHONY: maybe-dvi-intl dvi-intl
17526 maybe-dvi-intl:
17527 @if intl
17528 maybe-dvi-intl: dvi-intl
17530 dvi-intl: \
17531 configure-intl
17532 @[ -f ./intl/Makefile ] || exit 0; \
17533 r=`${PWD_COMMAND}`; export r; \
17534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17535 $(HOST_EXPORTS) \
17536 for flag in $(EXTRA_HOST_FLAGS) ; do \
17537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17538 done; \
17539 echo "Doing dvi in intl" ; \
17540 (cd $(HOST_SUBDIR)/intl && \
17541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17543 "RANLIB=$${RANLIB}" \
17544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17545 dvi) \
17546 || exit 1
17548 @endif intl
17550 .PHONY: maybe-pdf-intl pdf-intl
17551 maybe-pdf-intl:
17552 @if intl
17553 maybe-pdf-intl: pdf-intl
17555 pdf-intl: \
17556 configure-intl
17557 @[ -f ./intl/Makefile ] || exit 0; \
17558 r=`${PWD_COMMAND}`; export r; \
17559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17560 $(HOST_EXPORTS) \
17561 for flag in $(EXTRA_HOST_FLAGS) ; do \
17562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17563 done; \
17564 echo "Doing pdf in intl" ; \
17565 (cd $(HOST_SUBDIR)/intl && \
17566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17568 "RANLIB=$${RANLIB}" \
17569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17570 pdf) \
17571 || exit 1
17573 @endif intl
17575 .PHONY: maybe-html-intl html-intl
17576 maybe-html-intl:
17577 @if intl
17578 maybe-html-intl: html-intl
17580 html-intl: \
17581 configure-intl
17582 @[ -f ./intl/Makefile ] || exit 0; \
17583 r=`${PWD_COMMAND}`; export r; \
17584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17585 $(HOST_EXPORTS) \
17586 for flag in $(EXTRA_HOST_FLAGS) ; do \
17587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17588 done; \
17589 echo "Doing html in intl" ; \
17590 (cd $(HOST_SUBDIR)/intl && \
17591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17593 "RANLIB=$${RANLIB}" \
17594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17595 html) \
17596 || exit 1
17598 @endif intl
17600 .PHONY: maybe-TAGS-intl TAGS-intl
17601 maybe-TAGS-intl:
17602 @if intl
17603 maybe-TAGS-intl: TAGS-intl
17605 TAGS-intl: \
17606 configure-intl
17607 @[ -f ./intl/Makefile ] || exit 0; \
17608 r=`${PWD_COMMAND}`; export r; \
17609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17610 $(HOST_EXPORTS) \
17611 for flag in $(EXTRA_HOST_FLAGS) ; do \
17612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17613 done; \
17614 echo "Doing TAGS in intl" ; \
17615 (cd $(HOST_SUBDIR)/intl && \
17616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17618 "RANLIB=$${RANLIB}" \
17619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17620 TAGS) \
17621 || exit 1
17623 @endif intl
17625 .PHONY: maybe-install-info-intl install-info-intl
17626 maybe-install-info-intl:
17627 @if intl
17628 maybe-install-info-intl: install-info-intl
17630 install-info-intl: \
17631 configure-intl \
17632 info-intl
17633 @[ -f ./intl/Makefile ] || exit 0; \
17634 r=`${PWD_COMMAND}`; export r; \
17635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17636 $(HOST_EXPORTS) \
17637 for flag in $(EXTRA_HOST_FLAGS) ; do \
17638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17639 done; \
17640 echo "Doing install-info in intl" ; \
17641 (cd $(HOST_SUBDIR)/intl && \
17642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17644 "RANLIB=$${RANLIB}" \
17645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17646 install-info) \
17647 || exit 1
17649 @endif intl
17651 .PHONY: maybe-install-pdf-intl install-pdf-intl
17652 maybe-install-pdf-intl:
17653 @if intl
17654 maybe-install-pdf-intl: install-pdf-intl
17656 install-pdf-intl: \
17657 configure-intl \
17658 pdf-intl
17659 @[ -f ./intl/Makefile ] || exit 0; \
17660 r=`${PWD_COMMAND}`; export r; \
17661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17662 $(HOST_EXPORTS) \
17663 for flag in $(EXTRA_HOST_FLAGS) ; do \
17664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17665 done; \
17666 echo "Doing install-pdf in intl" ; \
17667 (cd $(HOST_SUBDIR)/intl && \
17668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17670 "RANLIB=$${RANLIB}" \
17671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17672 install-pdf) \
17673 || exit 1
17675 @endif intl
17677 .PHONY: maybe-install-html-intl install-html-intl
17678 maybe-install-html-intl:
17679 @if intl
17680 maybe-install-html-intl: install-html-intl
17682 install-html-intl: \
17683 configure-intl \
17684 html-intl
17685 @[ -f ./intl/Makefile ] || exit 0; \
17686 r=`${PWD_COMMAND}`; export r; \
17687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17688 $(HOST_EXPORTS) \
17689 for flag in $(EXTRA_HOST_FLAGS) ; do \
17690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17691 done; \
17692 echo "Doing install-html in intl" ; \
17693 (cd $(HOST_SUBDIR)/intl && \
17694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17696 "RANLIB=$${RANLIB}" \
17697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17698 install-html) \
17699 || exit 1
17701 @endif intl
17703 .PHONY: maybe-installcheck-intl installcheck-intl
17704 maybe-installcheck-intl:
17705 @if intl
17706 maybe-installcheck-intl: installcheck-intl
17708 installcheck-intl: \
17709 configure-intl
17710 @[ -f ./intl/Makefile ] || exit 0; \
17711 r=`${PWD_COMMAND}`; export r; \
17712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17713 $(HOST_EXPORTS) \
17714 for flag in $(EXTRA_HOST_FLAGS) ; do \
17715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17716 done; \
17717 echo "Doing installcheck in intl" ; \
17718 (cd $(HOST_SUBDIR)/intl && \
17719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17721 "RANLIB=$${RANLIB}" \
17722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17723 installcheck) \
17724 || exit 1
17726 @endif intl
17728 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17729 maybe-mostlyclean-intl:
17730 @if intl
17731 maybe-mostlyclean-intl: mostlyclean-intl
17733 mostlyclean-intl:
17734 @[ -f ./intl/Makefile ] || exit 0; \
17735 r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 $(HOST_EXPORTS) \
17738 for flag in $(EXTRA_HOST_FLAGS) ; do \
17739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17740 done; \
17741 echo "Doing mostlyclean in intl" ; \
17742 (cd $(HOST_SUBDIR)/intl && \
17743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17745 "RANLIB=$${RANLIB}" \
17746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17747 mostlyclean) \
17748 || exit 1
17750 @endif intl
17752 .PHONY: maybe-clean-intl clean-intl
17753 maybe-clean-intl:
17754 @if intl
17755 maybe-clean-intl: clean-intl
17757 clean-intl:
17758 @[ -f ./intl/Makefile ] || exit 0; \
17759 r=`${PWD_COMMAND}`; export r; \
17760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17761 $(HOST_EXPORTS) \
17762 for flag in $(EXTRA_HOST_FLAGS) ; do \
17763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17764 done; \
17765 echo "Doing clean in intl" ; \
17766 (cd $(HOST_SUBDIR)/intl && \
17767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17769 "RANLIB=$${RANLIB}" \
17770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17771 clean) \
17772 || exit 1
17774 @endif intl
17776 .PHONY: maybe-distclean-intl distclean-intl
17777 maybe-distclean-intl:
17778 @if intl
17779 maybe-distclean-intl: distclean-intl
17781 distclean-intl:
17782 @[ -f ./intl/Makefile ] || exit 0; \
17783 r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 $(HOST_EXPORTS) \
17786 for flag in $(EXTRA_HOST_FLAGS) ; do \
17787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17788 done; \
17789 echo "Doing distclean in intl" ; \
17790 (cd $(HOST_SUBDIR)/intl && \
17791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17793 "RANLIB=$${RANLIB}" \
17794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17795 distclean) \
17796 || exit 1
17798 @endif intl
17800 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17801 maybe-maintainer-clean-intl:
17802 @if intl
17803 maybe-maintainer-clean-intl: maintainer-clean-intl
17805 maintainer-clean-intl:
17806 @[ -f ./intl/Makefile ] || exit 0; \
17807 r=`${PWD_COMMAND}`; export r; \
17808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17809 $(HOST_EXPORTS) \
17810 for flag in $(EXTRA_HOST_FLAGS) ; do \
17811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17812 done; \
17813 echo "Doing maintainer-clean in intl" ; \
17814 (cd $(HOST_SUBDIR)/intl && \
17815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17817 "RANLIB=$${RANLIB}" \
17818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17819 maintainer-clean) \
17820 || exit 1
17822 @endif intl
17826 .PHONY: configure-tcl maybe-configure-tcl
17827 maybe-configure-tcl:
17828 @if gcc-bootstrap
17829 configure-tcl: stage_current
17830 @endif gcc-bootstrap
17831 @if tcl
17832 maybe-configure-tcl: configure-tcl
17833 configure-tcl:
17834 @: $(MAKE); $(unstage)
17835 @r=`${PWD_COMMAND}`; export r; \
17836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17837 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17839 $(HOST_EXPORTS) \
17840 echo Configuring in $(HOST_SUBDIR)/tcl; \
17841 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17842 case $(srcdir) in \
17843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17844 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17846 esac; \
17847 srcdiroption="--srcdir=$${topdir}/tcl"; \
17848 libsrcdir="$$s/tcl"; \
17849 $(SHELL) $${libsrcdir}/configure \
17850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17851 --target=${target_alias} $${srcdiroption} \
17852 || exit 1
17853 @endif tcl
17859 .PHONY: all-tcl maybe-all-tcl
17860 maybe-all-tcl:
17861 @if gcc-bootstrap
17862 all-tcl: stage_current
17863 @endif gcc-bootstrap
17864 @if tcl
17865 TARGET-tcl=all
17866 maybe-all-tcl: all-tcl
17867 all-tcl: configure-tcl
17868 @: $(MAKE); $(unstage)
17869 @r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 $(HOST_EXPORTS) \
17872 (cd $(HOST_SUBDIR)/tcl && \
17873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17874 $(TARGET-tcl))
17875 @endif tcl
17880 .PHONY: check-tcl maybe-check-tcl
17881 maybe-check-tcl:
17882 @if tcl
17883 maybe-check-tcl: check-tcl
17885 check-tcl:
17886 @: $(MAKE); $(unstage)
17887 @r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 $(HOST_EXPORTS) \
17890 (cd $(HOST_SUBDIR)/tcl && \
17891 $(MAKE) $(FLAGS_TO_PASS) check)
17893 @endif tcl
17895 .PHONY: install-tcl maybe-install-tcl
17896 maybe-install-tcl:
17897 @if tcl
17898 maybe-install-tcl: install-tcl
17900 install-tcl: installdirs
17901 @: $(MAKE); $(unstage)
17902 @r=`${PWD_COMMAND}`; export r; \
17903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17904 $(HOST_EXPORTS) \
17905 (cd $(HOST_SUBDIR)/tcl && \
17906 $(MAKE) $(FLAGS_TO_PASS) install)
17908 @endif tcl
17910 .PHONY: install-strip-tcl maybe-install-strip-tcl
17911 maybe-install-strip-tcl:
17912 @if tcl
17913 maybe-install-strip-tcl: install-strip-tcl
17915 install-strip-tcl: installdirs
17916 @: $(MAKE); $(unstage)
17917 @r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 $(HOST_EXPORTS) \
17920 (cd $(HOST_SUBDIR)/tcl && \
17921 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17923 @endif tcl
17925 # Other targets (info, dvi, pdf, etc.)
17927 .PHONY: maybe-info-tcl info-tcl
17928 maybe-info-tcl:
17929 @if tcl
17930 maybe-info-tcl: info-tcl
17932 info-tcl: \
17933 configure-tcl
17934 @: $(MAKE); $(unstage)
17935 @[ -f ./tcl/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing info in tcl" ; \
17943 (cd $(HOST_SUBDIR)/tcl && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17948 info) \
17949 || exit 1
17951 @endif tcl
17953 .PHONY: maybe-dvi-tcl dvi-tcl
17954 maybe-dvi-tcl:
17955 @if tcl
17956 maybe-dvi-tcl: dvi-tcl
17958 dvi-tcl: \
17959 configure-tcl
17960 @: $(MAKE); $(unstage)
17961 @[ -f ./tcl/Makefile ] || exit 0; \
17962 r=`${PWD_COMMAND}`; export r; \
17963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17964 $(HOST_EXPORTS) \
17965 for flag in $(EXTRA_HOST_FLAGS) ; do \
17966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17967 done; \
17968 echo "Doing dvi in tcl" ; \
17969 (cd $(HOST_SUBDIR)/tcl && \
17970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17972 "RANLIB=$${RANLIB}" \
17973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17974 dvi) \
17975 || exit 1
17977 @endif tcl
17979 .PHONY: maybe-pdf-tcl pdf-tcl
17980 maybe-pdf-tcl:
17981 @if tcl
17982 maybe-pdf-tcl: pdf-tcl
17984 pdf-tcl: \
17985 configure-tcl
17986 @: $(MAKE); $(unstage)
17987 @[ -f ./tcl/Makefile ] || exit 0; \
17988 r=`${PWD_COMMAND}`; export r; \
17989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17990 $(HOST_EXPORTS) \
17991 for flag in $(EXTRA_HOST_FLAGS) ; do \
17992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17993 done; \
17994 echo "Doing pdf in tcl" ; \
17995 (cd $(HOST_SUBDIR)/tcl && \
17996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17998 "RANLIB=$${RANLIB}" \
17999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18000 pdf) \
18001 || exit 1
18003 @endif tcl
18005 .PHONY: maybe-html-tcl html-tcl
18006 maybe-html-tcl:
18007 @if tcl
18008 maybe-html-tcl: html-tcl
18010 html-tcl: \
18011 configure-tcl
18012 @: $(MAKE); $(unstage)
18013 @[ -f ./tcl/Makefile ] || exit 0; \
18014 r=`${PWD_COMMAND}`; export r; \
18015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18016 $(HOST_EXPORTS) \
18017 for flag in $(EXTRA_HOST_FLAGS) ; do \
18018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18019 done; \
18020 echo "Doing html in tcl" ; \
18021 (cd $(HOST_SUBDIR)/tcl && \
18022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18024 "RANLIB=$${RANLIB}" \
18025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18026 html) \
18027 || exit 1
18029 @endif tcl
18031 .PHONY: maybe-TAGS-tcl TAGS-tcl
18032 maybe-TAGS-tcl:
18033 @if tcl
18034 maybe-TAGS-tcl: TAGS-tcl
18036 TAGS-tcl: \
18037 configure-tcl
18038 @: $(MAKE); $(unstage)
18039 @[ -f ./tcl/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 for flag in $(EXTRA_HOST_FLAGS) ; do \
18044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 done; \
18046 echo "Doing TAGS in tcl" ; \
18047 (cd $(HOST_SUBDIR)/tcl && \
18048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18050 "RANLIB=$${RANLIB}" \
18051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18052 TAGS) \
18053 || exit 1
18055 @endif tcl
18057 .PHONY: maybe-install-info-tcl install-info-tcl
18058 maybe-install-info-tcl:
18059 @if tcl
18060 maybe-install-info-tcl: install-info-tcl
18062 install-info-tcl: \
18063 configure-tcl \
18064 info-tcl
18065 @: $(MAKE); $(unstage)
18066 @[ -f ./tcl/Makefile ] || exit 0; \
18067 r=`${PWD_COMMAND}`; export r; \
18068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18069 $(HOST_EXPORTS) \
18070 for flag in $(EXTRA_HOST_FLAGS) ; do \
18071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18072 done; \
18073 echo "Doing install-info in tcl" ; \
18074 (cd $(HOST_SUBDIR)/tcl && \
18075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18077 "RANLIB=$${RANLIB}" \
18078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18079 install-info) \
18080 || exit 1
18082 @endif tcl
18084 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18085 maybe-install-pdf-tcl:
18086 @if tcl
18087 maybe-install-pdf-tcl: install-pdf-tcl
18089 install-pdf-tcl: \
18090 configure-tcl \
18091 pdf-tcl
18092 @: $(MAKE); $(unstage)
18093 @[ -f ./tcl/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing install-pdf in tcl" ; \
18101 (cd $(HOST_SUBDIR)/tcl && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18106 install-pdf) \
18107 || exit 1
18109 @endif tcl
18111 .PHONY: maybe-install-html-tcl install-html-tcl
18112 maybe-install-html-tcl:
18113 @if tcl
18114 maybe-install-html-tcl: install-html-tcl
18116 install-html-tcl: \
18117 configure-tcl \
18118 html-tcl
18119 @: $(MAKE); $(unstage)
18120 @[ -f ./tcl/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(HOST_EXPORTS) \
18124 for flag in $(EXTRA_HOST_FLAGS) ; do \
18125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18126 done; \
18127 echo "Doing install-html in tcl" ; \
18128 (cd $(HOST_SUBDIR)/tcl && \
18129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131 "RANLIB=$${RANLIB}" \
18132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18133 install-html) \
18134 || exit 1
18136 @endif tcl
18138 .PHONY: maybe-installcheck-tcl installcheck-tcl
18139 maybe-installcheck-tcl:
18140 @if tcl
18141 maybe-installcheck-tcl: installcheck-tcl
18143 installcheck-tcl: \
18144 configure-tcl
18145 @: $(MAKE); $(unstage)
18146 @[ -f ./tcl/Makefile ] || exit 0; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149 $(HOST_EXPORTS) \
18150 for flag in $(EXTRA_HOST_FLAGS) ; do \
18151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18152 done; \
18153 echo "Doing installcheck in tcl" ; \
18154 (cd $(HOST_SUBDIR)/tcl && \
18155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157 "RANLIB=$${RANLIB}" \
18158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18159 installcheck) \
18160 || exit 1
18162 @endif tcl
18164 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18165 maybe-mostlyclean-tcl:
18166 @if tcl
18167 maybe-mostlyclean-tcl: mostlyclean-tcl
18169 # tcl doesn't support mostlyclean.
18170 mostlyclean-tcl:
18172 @endif tcl
18174 .PHONY: maybe-clean-tcl clean-tcl
18175 maybe-clean-tcl:
18176 @if tcl
18177 maybe-clean-tcl: clean-tcl
18179 clean-tcl:
18180 @: $(MAKE); $(unstage)
18181 @[ -f ./tcl/Makefile ] || exit 0; \
18182 r=`${PWD_COMMAND}`; export r; \
18183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18184 $(HOST_EXPORTS) \
18185 for flag in $(EXTRA_HOST_FLAGS) ; do \
18186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18187 done; \
18188 echo "Doing clean in tcl" ; \
18189 (cd $(HOST_SUBDIR)/tcl && \
18190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18192 "RANLIB=$${RANLIB}" \
18193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18194 clean) \
18195 || exit 1
18197 @endif tcl
18199 .PHONY: maybe-distclean-tcl distclean-tcl
18200 maybe-distclean-tcl:
18201 @if tcl
18202 maybe-distclean-tcl: distclean-tcl
18204 distclean-tcl:
18205 @: $(MAKE); $(unstage)
18206 @[ -f ./tcl/Makefile ] || exit 0; \
18207 r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 $(HOST_EXPORTS) \
18210 for flag in $(EXTRA_HOST_FLAGS) ; do \
18211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18212 done; \
18213 echo "Doing distclean in tcl" ; \
18214 (cd $(HOST_SUBDIR)/tcl && \
18215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18217 "RANLIB=$${RANLIB}" \
18218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18219 distclean) \
18220 || exit 1
18222 @endif tcl
18224 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18225 maybe-maintainer-clean-tcl:
18226 @if tcl
18227 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18229 maintainer-clean-tcl:
18230 @: $(MAKE); $(unstage)
18231 @[ -f ./tcl/Makefile ] || exit 0; \
18232 r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 $(HOST_EXPORTS) \
18235 for flag in $(EXTRA_HOST_FLAGS) ; do \
18236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18237 done; \
18238 echo "Doing maintainer-clean in tcl" ; \
18239 (cd $(HOST_SUBDIR)/tcl && \
18240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18242 "RANLIB=$${RANLIB}" \
18243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18244 maintainer-clean) \
18245 || exit 1
18247 @endif tcl
18251 .PHONY: configure-itcl maybe-configure-itcl
18252 maybe-configure-itcl:
18253 @if gcc-bootstrap
18254 configure-itcl: stage_current
18255 @endif gcc-bootstrap
18256 @if itcl
18257 maybe-configure-itcl: configure-itcl
18258 configure-itcl:
18259 @: $(MAKE); $(unstage)
18260 @r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18264 $(HOST_EXPORTS) \
18265 echo Configuring in $(HOST_SUBDIR)/itcl; \
18266 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18267 case $(srcdir) in \
18268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18269 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18271 esac; \
18272 srcdiroption="--srcdir=$${topdir}/itcl"; \
18273 libsrcdir="$$s/itcl"; \
18274 $(SHELL) $${libsrcdir}/configure \
18275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18276 --target=${target_alias} $${srcdiroption} \
18277 || exit 1
18278 @endif itcl
18284 .PHONY: all-itcl maybe-all-itcl
18285 maybe-all-itcl:
18286 @if gcc-bootstrap
18287 all-itcl: stage_current
18288 @endif gcc-bootstrap
18289 @if itcl
18290 TARGET-itcl=all
18291 maybe-all-itcl: all-itcl
18292 all-itcl: configure-itcl
18293 @: $(MAKE); $(unstage)
18294 @r=`${PWD_COMMAND}`; export r; \
18295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18296 $(HOST_EXPORTS) \
18297 (cd $(HOST_SUBDIR)/itcl && \
18298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18299 $(TARGET-itcl))
18300 @endif itcl
18305 .PHONY: check-itcl maybe-check-itcl
18306 maybe-check-itcl:
18307 @if itcl
18308 maybe-check-itcl: check-itcl
18310 check-itcl:
18311 @: $(MAKE); $(unstage)
18312 @r=`${PWD_COMMAND}`; export r; \
18313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18314 $(HOST_EXPORTS) \
18315 (cd $(HOST_SUBDIR)/itcl && \
18316 $(MAKE) $(FLAGS_TO_PASS) check)
18318 @endif itcl
18320 .PHONY: install-itcl maybe-install-itcl
18321 maybe-install-itcl:
18322 @if itcl
18323 maybe-install-itcl: install-itcl
18325 install-itcl: installdirs
18326 @: $(MAKE); $(unstage)
18327 @r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(HOST_EXPORTS) \
18330 (cd $(HOST_SUBDIR)/itcl && \
18331 $(MAKE) $(FLAGS_TO_PASS) install)
18333 @endif itcl
18335 .PHONY: install-strip-itcl maybe-install-strip-itcl
18336 maybe-install-strip-itcl:
18337 @if itcl
18338 maybe-install-strip-itcl: install-strip-itcl
18340 install-strip-itcl: installdirs
18341 @: $(MAKE); $(unstage)
18342 @r=`${PWD_COMMAND}`; export r; \
18343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18344 $(HOST_EXPORTS) \
18345 (cd $(HOST_SUBDIR)/itcl && \
18346 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18348 @endif itcl
18350 # Other targets (info, dvi, pdf, etc.)
18352 .PHONY: maybe-info-itcl info-itcl
18353 maybe-info-itcl:
18354 @if itcl
18355 maybe-info-itcl: info-itcl
18357 info-itcl: \
18358 configure-itcl
18359 @: $(MAKE); $(unstage)
18360 @[ -f ./itcl/Makefile ] || exit 0; \
18361 r=`${PWD_COMMAND}`; export r; \
18362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18363 $(HOST_EXPORTS) \
18364 for flag in $(EXTRA_HOST_FLAGS) ; do \
18365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18366 done; \
18367 echo "Doing info in itcl" ; \
18368 (cd $(HOST_SUBDIR)/itcl && \
18369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18371 "RANLIB=$${RANLIB}" \
18372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18373 info) \
18374 || exit 1
18376 @endif itcl
18378 .PHONY: maybe-dvi-itcl dvi-itcl
18379 maybe-dvi-itcl:
18380 @if itcl
18381 maybe-dvi-itcl: dvi-itcl
18383 dvi-itcl: \
18384 configure-itcl
18385 @: $(MAKE); $(unstage)
18386 @[ -f ./itcl/Makefile ] || exit 0; \
18387 r=`${PWD_COMMAND}`; export r; \
18388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18389 $(HOST_EXPORTS) \
18390 for flag in $(EXTRA_HOST_FLAGS) ; do \
18391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18392 done; \
18393 echo "Doing dvi in itcl" ; \
18394 (cd $(HOST_SUBDIR)/itcl && \
18395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18397 "RANLIB=$${RANLIB}" \
18398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18399 dvi) \
18400 || exit 1
18402 @endif itcl
18404 .PHONY: maybe-pdf-itcl pdf-itcl
18405 maybe-pdf-itcl:
18406 @if itcl
18407 maybe-pdf-itcl: pdf-itcl
18409 pdf-itcl: \
18410 configure-itcl
18411 @: $(MAKE); $(unstage)
18412 @[ -f ./itcl/Makefile ] || exit 0; \
18413 r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415 $(HOST_EXPORTS) \
18416 for flag in $(EXTRA_HOST_FLAGS) ; do \
18417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18418 done; \
18419 echo "Doing pdf in itcl" ; \
18420 (cd $(HOST_SUBDIR)/itcl && \
18421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18423 "RANLIB=$${RANLIB}" \
18424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18425 pdf) \
18426 || exit 1
18428 @endif itcl
18430 .PHONY: maybe-html-itcl html-itcl
18431 maybe-html-itcl:
18432 @if itcl
18433 maybe-html-itcl: html-itcl
18435 html-itcl: \
18436 configure-itcl
18437 @: $(MAKE); $(unstage)
18438 @[ -f ./itcl/Makefile ] || exit 0; \
18439 r=`${PWD_COMMAND}`; export r; \
18440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18441 $(HOST_EXPORTS) \
18442 for flag in $(EXTRA_HOST_FLAGS) ; do \
18443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18444 done; \
18445 echo "Doing html in itcl" ; \
18446 (cd $(HOST_SUBDIR)/itcl && \
18447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18449 "RANLIB=$${RANLIB}" \
18450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18451 html) \
18452 || exit 1
18454 @endif itcl
18456 .PHONY: maybe-TAGS-itcl TAGS-itcl
18457 maybe-TAGS-itcl:
18458 @if itcl
18459 maybe-TAGS-itcl: TAGS-itcl
18461 TAGS-itcl: \
18462 configure-itcl
18463 @: $(MAKE); $(unstage)
18464 @[ -f ./itcl/Makefile ] || exit 0; \
18465 r=`${PWD_COMMAND}`; export r; \
18466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467 $(HOST_EXPORTS) \
18468 for flag in $(EXTRA_HOST_FLAGS) ; do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470 done; \
18471 echo "Doing TAGS in itcl" ; \
18472 (cd $(HOST_SUBDIR)/itcl && \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18477 TAGS) \
18478 || exit 1
18480 @endif itcl
18482 .PHONY: maybe-install-info-itcl install-info-itcl
18483 maybe-install-info-itcl:
18484 @if itcl
18485 maybe-install-info-itcl: install-info-itcl
18487 install-info-itcl: \
18488 configure-itcl \
18489 info-itcl
18490 @: $(MAKE); $(unstage)
18491 @[ -f ./itcl/Makefile ] || exit 0; \
18492 r=`${PWD_COMMAND}`; export r; \
18493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18494 $(HOST_EXPORTS) \
18495 for flag in $(EXTRA_HOST_FLAGS) ; do \
18496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18497 done; \
18498 echo "Doing install-info in itcl" ; \
18499 (cd $(HOST_SUBDIR)/itcl && \
18500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18502 "RANLIB=$${RANLIB}" \
18503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18504 install-info) \
18505 || exit 1
18507 @endif itcl
18509 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18510 maybe-install-pdf-itcl:
18511 @if itcl
18512 maybe-install-pdf-itcl: install-pdf-itcl
18514 install-pdf-itcl: \
18515 configure-itcl \
18516 pdf-itcl
18517 @: $(MAKE); $(unstage)
18518 @[ -f ./itcl/Makefile ] || exit 0; \
18519 r=`${PWD_COMMAND}`; export r; \
18520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18521 $(HOST_EXPORTS) \
18522 for flag in $(EXTRA_HOST_FLAGS) ; do \
18523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18524 done; \
18525 echo "Doing install-pdf in itcl" ; \
18526 (cd $(HOST_SUBDIR)/itcl && \
18527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18529 "RANLIB=$${RANLIB}" \
18530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18531 install-pdf) \
18532 || exit 1
18534 @endif itcl
18536 .PHONY: maybe-install-html-itcl install-html-itcl
18537 maybe-install-html-itcl:
18538 @if itcl
18539 maybe-install-html-itcl: install-html-itcl
18541 install-html-itcl: \
18542 configure-itcl \
18543 html-itcl
18544 @: $(MAKE); $(unstage)
18545 @[ -f ./itcl/Makefile ] || exit 0; \
18546 r=`${PWD_COMMAND}`; export r; \
18547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18548 $(HOST_EXPORTS) \
18549 for flag in $(EXTRA_HOST_FLAGS) ; do \
18550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18551 done; \
18552 echo "Doing install-html in itcl" ; \
18553 (cd $(HOST_SUBDIR)/itcl && \
18554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18556 "RANLIB=$${RANLIB}" \
18557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18558 install-html) \
18559 || exit 1
18561 @endif itcl
18563 .PHONY: maybe-installcheck-itcl installcheck-itcl
18564 maybe-installcheck-itcl:
18565 @if itcl
18566 maybe-installcheck-itcl: installcheck-itcl
18568 installcheck-itcl: \
18569 configure-itcl
18570 @: $(MAKE); $(unstage)
18571 @[ -f ./itcl/Makefile ] || exit 0; \
18572 r=`${PWD_COMMAND}`; export r; \
18573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18574 $(HOST_EXPORTS) \
18575 for flag in $(EXTRA_HOST_FLAGS) ; do \
18576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18577 done; \
18578 echo "Doing installcheck in itcl" ; \
18579 (cd $(HOST_SUBDIR)/itcl && \
18580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18582 "RANLIB=$${RANLIB}" \
18583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18584 installcheck) \
18585 || exit 1
18587 @endif itcl
18589 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18590 maybe-mostlyclean-itcl:
18591 @if itcl
18592 maybe-mostlyclean-itcl: mostlyclean-itcl
18594 mostlyclean-itcl:
18595 @: $(MAKE); $(unstage)
18596 @[ -f ./itcl/Makefile ] || exit 0; \
18597 r=`${PWD_COMMAND}`; export r; \
18598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18599 $(HOST_EXPORTS) \
18600 for flag in $(EXTRA_HOST_FLAGS) ; do \
18601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18602 done; \
18603 echo "Doing mostlyclean in itcl" ; \
18604 (cd $(HOST_SUBDIR)/itcl && \
18605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18607 "RANLIB=$${RANLIB}" \
18608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18609 mostlyclean) \
18610 || exit 1
18612 @endif itcl
18614 .PHONY: maybe-clean-itcl clean-itcl
18615 maybe-clean-itcl:
18616 @if itcl
18617 maybe-clean-itcl: clean-itcl
18619 clean-itcl:
18620 @: $(MAKE); $(unstage)
18621 @[ -f ./itcl/Makefile ] || exit 0; \
18622 r=`${PWD_COMMAND}`; export r; \
18623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18624 $(HOST_EXPORTS) \
18625 for flag in $(EXTRA_HOST_FLAGS) ; do \
18626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18627 done; \
18628 echo "Doing clean in itcl" ; \
18629 (cd $(HOST_SUBDIR)/itcl && \
18630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18632 "RANLIB=$${RANLIB}" \
18633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18634 clean) \
18635 || exit 1
18637 @endif itcl
18639 .PHONY: maybe-distclean-itcl distclean-itcl
18640 maybe-distclean-itcl:
18641 @if itcl
18642 maybe-distclean-itcl: distclean-itcl
18644 distclean-itcl:
18645 @: $(MAKE); $(unstage)
18646 @[ -f ./itcl/Makefile ] || exit 0; \
18647 r=`${PWD_COMMAND}`; export r; \
18648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18649 $(HOST_EXPORTS) \
18650 for flag in $(EXTRA_HOST_FLAGS) ; do \
18651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18652 done; \
18653 echo "Doing distclean in itcl" ; \
18654 (cd $(HOST_SUBDIR)/itcl && \
18655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18657 "RANLIB=$${RANLIB}" \
18658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18659 distclean) \
18660 || exit 1
18662 @endif itcl
18664 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18665 maybe-maintainer-clean-itcl:
18666 @if itcl
18667 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18669 maintainer-clean-itcl:
18670 @: $(MAKE); $(unstage)
18671 @[ -f ./itcl/Makefile ] || exit 0; \
18672 r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18674 $(HOST_EXPORTS) \
18675 for flag in $(EXTRA_HOST_FLAGS) ; do \
18676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18677 done; \
18678 echo "Doing maintainer-clean in itcl" ; \
18679 (cd $(HOST_SUBDIR)/itcl && \
18680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18682 "RANLIB=$${RANLIB}" \
18683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18684 maintainer-clean) \
18685 || exit 1
18687 @endif itcl
18691 .PHONY: configure-ld maybe-configure-ld
18692 maybe-configure-ld:
18693 @if gcc-bootstrap
18694 configure-ld: stage_current
18695 @endif gcc-bootstrap
18696 @if ld
18697 maybe-configure-ld: configure-ld
18698 configure-ld:
18699 @r=`${PWD_COMMAND}`; export r; \
18700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18703 $(HOST_EXPORTS) \
18704 echo Configuring in $(HOST_SUBDIR)/ld; \
18705 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18706 case $(srcdir) in \
18707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18708 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18710 esac; \
18711 srcdiroption="--srcdir=$${topdir}/ld"; \
18712 libsrcdir="$$s/ld"; \
18713 $(SHELL) $${libsrcdir}/configure \
18714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18715 --target=${target_alias} $${srcdiroption} \
18716 || exit 1
18717 @endif ld
18721 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18722 maybe-configure-stage1-ld:
18723 @if ld-bootstrap
18724 maybe-configure-stage1-ld: configure-stage1-ld
18725 configure-stage1-ld:
18726 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18728 @r=`${PWD_COMMAND}`; export r; \
18729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18730 TFLAGS="$(STAGE1_TFLAGS)"; \
18731 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18732 $(HOST_EXPORTS) \
18733 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18734 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18735 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18736 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18738 cd $(HOST_SUBDIR)/ld || exit 1; \
18739 case $(srcdir) in \
18740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18741 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18743 esac; \
18744 srcdiroption="--srcdir=$${topdir}/ld"; \
18745 libsrcdir="$$s/ld"; \
18746 $(SHELL) $${libsrcdir}/configure \
18747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18748 --target=${target_alias} $${srcdiroption} \
18749 $(STAGE1_CONFIGURE_FLAGS)
18750 @endif ld-bootstrap
18752 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18753 maybe-configure-stage2-ld:
18754 @if ld-bootstrap
18755 maybe-configure-stage2-ld: configure-stage2-ld
18756 configure-stage2-ld:
18757 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18759 @r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 TFLAGS="$(STAGE2_TFLAGS)"; \
18762 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18763 $(HOST_EXPORTS) \
18764 $(POSTSTAGE1_HOST_EXPORTS) \
18765 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18766 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18767 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18768 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18770 cd $(HOST_SUBDIR)/ld || exit 1; \
18771 case $(srcdir) in \
18772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18773 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18775 esac; \
18776 srcdiroption="--srcdir=$${topdir}/ld"; \
18777 libsrcdir="$$s/ld"; \
18778 $(SHELL) $${libsrcdir}/configure \
18779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18780 --target=${target_alias} $${srcdiroption} \
18781 --with-build-libsubdir=$(HOST_SUBDIR) \
18782 $(STAGE2_CONFIGURE_FLAGS)
18783 @endif ld-bootstrap
18785 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18786 maybe-configure-stage3-ld:
18787 @if ld-bootstrap
18788 maybe-configure-stage3-ld: configure-stage3-ld
18789 configure-stage3-ld:
18790 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18792 @r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 TFLAGS="$(STAGE3_TFLAGS)"; \
18795 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18796 $(HOST_EXPORTS) \
18797 $(POSTSTAGE1_HOST_EXPORTS) \
18798 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18799 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18800 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18801 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18803 cd $(HOST_SUBDIR)/ld || exit 1; \
18804 case $(srcdir) in \
18805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18806 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18808 esac; \
18809 srcdiroption="--srcdir=$${topdir}/ld"; \
18810 libsrcdir="$$s/ld"; \
18811 $(SHELL) $${libsrcdir}/configure \
18812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18813 --target=${target_alias} $${srcdiroption} \
18814 --with-build-libsubdir=$(HOST_SUBDIR) \
18815 $(STAGE3_CONFIGURE_FLAGS)
18816 @endif ld-bootstrap
18818 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18819 maybe-configure-stage4-ld:
18820 @if ld-bootstrap
18821 maybe-configure-stage4-ld: configure-stage4-ld
18822 configure-stage4-ld:
18823 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18825 @r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18827 TFLAGS="$(STAGE4_TFLAGS)"; \
18828 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18829 $(HOST_EXPORTS) \
18830 $(POSTSTAGE1_HOST_EXPORTS) \
18831 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18832 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18833 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18834 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18836 cd $(HOST_SUBDIR)/ld || exit 1; \
18837 case $(srcdir) in \
18838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18839 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18841 esac; \
18842 srcdiroption="--srcdir=$${topdir}/ld"; \
18843 libsrcdir="$$s/ld"; \
18844 $(SHELL) $${libsrcdir}/configure \
18845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18846 --target=${target_alias} $${srcdiroption} \
18847 --with-build-libsubdir=$(HOST_SUBDIR) \
18848 $(STAGE4_CONFIGURE_FLAGS)
18849 @endif ld-bootstrap
18851 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18852 maybe-configure-stageprofile-ld:
18853 @if ld-bootstrap
18854 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18855 configure-stageprofile-ld:
18856 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18858 @r=`${PWD_COMMAND}`; export r; \
18859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18860 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18861 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18862 $(HOST_EXPORTS) \
18863 $(POSTSTAGE1_HOST_EXPORTS) \
18864 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18865 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18866 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18867 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18869 cd $(HOST_SUBDIR)/ld || exit 1; \
18870 case $(srcdir) in \
18871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18872 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18874 esac; \
18875 srcdiroption="--srcdir=$${topdir}/ld"; \
18876 libsrcdir="$$s/ld"; \
18877 $(SHELL) $${libsrcdir}/configure \
18878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18879 --target=${target_alias} $${srcdiroption} \
18880 --with-build-libsubdir=$(HOST_SUBDIR) \
18881 $(STAGEprofile_CONFIGURE_FLAGS)
18882 @endif ld-bootstrap
18884 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18885 maybe-configure-stagefeedback-ld:
18886 @if ld-bootstrap
18887 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18888 configure-stagefeedback-ld:
18889 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18891 @r=`${PWD_COMMAND}`; export r; \
18892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18893 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18894 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18895 $(HOST_EXPORTS) \
18896 $(POSTSTAGE1_HOST_EXPORTS) \
18897 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18898 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18899 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18900 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18902 cd $(HOST_SUBDIR)/ld || exit 1; \
18903 case $(srcdir) in \
18904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18905 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18907 esac; \
18908 srcdiroption="--srcdir=$${topdir}/ld"; \
18909 libsrcdir="$$s/ld"; \
18910 $(SHELL) $${libsrcdir}/configure \
18911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18912 --target=${target_alias} $${srcdiroption} \
18913 --with-build-libsubdir=$(HOST_SUBDIR) \
18914 $(STAGEfeedback_CONFIGURE_FLAGS)
18915 @endif ld-bootstrap
18921 .PHONY: all-ld maybe-all-ld
18922 maybe-all-ld:
18923 @if gcc-bootstrap
18924 all-ld: stage_current
18925 @endif gcc-bootstrap
18926 @if ld
18927 TARGET-ld=all
18928 maybe-all-ld: all-ld
18929 all-ld: configure-ld
18930 @r=`${PWD_COMMAND}`; export r; \
18931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18932 $(HOST_EXPORTS) \
18933 (cd $(HOST_SUBDIR)/ld && \
18934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18935 $(TARGET-ld))
18936 @endif ld
18940 .PHONY: all-stage1-ld maybe-all-stage1-ld
18941 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18942 maybe-all-stage1-ld:
18943 maybe-clean-stage1-ld:
18944 @if ld-bootstrap
18945 maybe-all-stage1-ld: all-stage1-ld
18946 all-stage1: all-stage1-ld
18947 TARGET-stage1-ld = $(TARGET-ld)
18948 all-stage1-ld: configure-stage1-ld
18949 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18950 @r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 TFLAGS="$(STAGE1_TFLAGS)"; \
18953 $(HOST_EXPORTS) \
18954 cd $(HOST_SUBDIR)/ld && \
18955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18956 CFLAGS="$(STAGE1_CFLAGS)" \
18957 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18958 LIBCFLAGS="$(LIBCFLAGS)" \
18959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18962 $(EXTRA_HOST_FLAGS) \
18963 TFLAGS="$(STAGE1_TFLAGS)" \
18964 $(TARGET-stage1-ld)
18966 maybe-clean-stage1-ld: clean-stage1-ld
18967 clean-stage1: clean-stage1-ld
18968 clean-stage1-ld:
18969 @if [ $(current_stage) = stage1 ]; then \
18970 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18971 else \
18972 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18973 $(MAKE) stage1-start; \
18974 fi; \
18975 cd $(HOST_SUBDIR)/ld && \
18976 $(MAKE) $(EXTRA_HOST_FLAGS) \
18977 clean
18978 @endif ld-bootstrap
18981 .PHONY: all-stage2-ld maybe-all-stage2-ld
18982 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18983 maybe-all-stage2-ld:
18984 maybe-clean-stage2-ld:
18985 @if ld-bootstrap
18986 maybe-all-stage2-ld: all-stage2-ld
18987 all-stage2: all-stage2-ld
18988 TARGET-stage2-ld = $(TARGET-ld)
18989 all-stage2-ld: configure-stage2-ld
18990 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18991 @r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 TFLAGS="$(STAGE2_TFLAGS)"; \
18994 $(HOST_EXPORTS) \
18995 $(POSTSTAGE1_HOST_EXPORTS) \
18996 cd $(HOST_SUBDIR)/ld && \
18997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18998 CFLAGS="$(STAGE2_CFLAGS)" \
18999 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19000 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19004 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19005 TFLAGS="$(STAGE2_TFLAGS)" \
19006 $(TARGET-stage2-ld)
19008 maybe-clean-stage2-ld: clean-stage2-ld
19009 clean-stage2: clean-stage2-ld
19010 clean-stage2-ld:
19011 @if [ $(current_stage) = stage2 ]; then \
19012 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19013 else \
19014 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19015 $(MAKE) stage2-start; \
19016 fi; \
19017 cd $(HOST_SUBDIR)/ld && \
19018 $(MAKE) $(EXTRA_HOST_FLAGS) \
19019 $(POSTSTAGE1_FLAGS_TO_PASS) \
19020 clean
19021 @endif ld-bootstrap
19024 .PHONY: all-stage3-ld maybe-all-stage3-ld
19025 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19026 maybe-all-stage3-ld:
19027 maybe-clean-stage3-ld:
19028 @if ld-bootstrap
19029 maybe-all-stage3-ld: all-stage3-ld
19030 all-stage3: all-stage3-ld
19031 TARGET-stage3-ld = $(TARGET-ld)
19032 all-stage3-ld: configure-stage3-ld
19033 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19034 @r=`${PWD_COMMAND}`; export r; \
19035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19036 TFLAGS="$(STAGE3_TFLAGS)"; \
19037 $(HOST_EXPORTS) \
19038 $(POSTSTAGE1_HOST_EXPORTS) \
19039 cd $(HOST_SUBDIR)/ld && \
19040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19041 CFLAGS="$(STAGE3_CFLAGS)" \
19042 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19043 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19047 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19048 TFLAGS="$(STAGE3_TFLAGS)" \
19049 $(TARGET-stage3-ld)
19051 maybe-clean-stage3-ld: clean-stage3-ld
19052 clean-stage3: clean-stage3-ld
19053 clean-stage3-ld:
19054 @if [ $(current_stage) = stage3 ]; then \
19055 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19056 else \
19057 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19058 $(MAKE) stage3-start; \
19059 fi; \
19060 cd $(HOST_SUBDIR)/ld && \
19061 $(MAKE) $(EXTRA_HOST_FLAGS) \
19062 $(POSTSTAGE1_FLAGS_TO_PASS) \
19063 clean
19064 @endif ld-bootstrap
19067 .PHONY: all-stage4-ld maybe-all-stage4-ld
19068 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19069 maybe-all-stage4-ld:
19070 maybe-clean-stage4-ld:
19071 @if ld-bootstrap
19072 maybe-all-stage4-ld: all-stage4-ld
19073 all-stage4: all-stage4-ld
19074 TARGET-stage4-ld = $(TARGET-ld)
19075 all-stage4-ld: configure-stage4-ld
19076 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19077 @r=`${PWD_COMMAND}`; export r; \
19078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19079 TFLAGS="$(STAGE4_TFLAGS)"; \
19080 $(HOST_EXPORTS) \
19081 $(POSTSTAGE1_HOST_EXPORTS) \
19082 cd $(HOST_SUBDIR)/ld && \
19083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19084 CFLAGS="$(STAGE4_CFLAGS)" \
19085 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19086 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19091 TFLAGS="$(STAGE4_TFLAGS)" \
19092 $(TARGET-stage4-ld)
19094 maybe-clean-stage4-ld: clean-stage4-ld
19095 clean-stage4: clean-stage4-ld
19096 clean-stage4-ld:
19097 @if [ $(current_stage) = stage4 ]; then \
19098 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19099 else \
19100 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19101 $(MAKE) stage4-start; \
19102 fi; \
19103 cd $(HOST_SUBDIR)/ld && \
19104 $(MAKE) $(EXTRA_HOST_FLAGS) \
19105 $(POSTSTAGE1_FLAGS_TO_PASS) \
19106 clean
19107 @endif ld-bootstrap
19110 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19111 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19112 maybe-all-stageprofile-ld:
19113 maybe-clean-stageprofile-ld:
19114 @if ld-bootstrap
19115 maybe-all-stageprofile-ld: all-stageprofile-ld
19116 all-stageprofile: all-stageprofile-ld
19117 TARGET-stageprofile-ld = $(TARGET-ld)
19118 all-stageprofile-ld: configure-stageprofile-ld
19119 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19123 $(HOST_EXPORTS) \
19124 $(POSTSTAGE1_HOST_EXPORTS) \
19125 cd $(HOST_SUBDIR)/ld && \
19126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19127 CFLAGS="$(STAGEprofile_CFLAGS)" \
19128 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19129 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19134 TFLAGS="$(STAGEprofile_TFLAGS)" \
19135 $(TARGET-stageprofile-ld)
19137 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19138 clean-stageprofile: clean-stageprofile-ld
19139 clean-stageprofile-ld:
19140 @if [ $(current_stage) = stageprofile ]; then \
19141 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19142 else \
19143 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19144 $(MAKE) stageprofile-start; \
19145 fi; \
19146 cd $(HOST_SUBDIR)/ld && \
19147 $(MAKE) $(EXTRA_HOST_FLAGS) \
19148 $(POSTSTAGE1_FLAGS_TO_PASS) \
19149 clean
19150 @endif ld-bootstrap
19153 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19154 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19155 maybe-all-stagefeedback-ld:
19156 maybe-clean-stagefeedback-ld:
19157 @if ld-bootstrap
19158 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19159 all-stagefeedback: all-stagefeedback-ld
19160 TARGET-stagefeedback-ld = $(TARGET-ld)
19161 all-stagefeedback-ld: configure-stagefeedback-ld
19162 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19163 @r=`${PWD_COMMAND}`; export r; \
19164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19165 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19166 $(HOST_EXPORTS) \
19167 $(POSTSTAGE1_HOST_EXPORTS) \
19168 cd $(HOST_SUBDIR)/ld && \
19169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19170 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19171 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19172 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19177 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19178 $(TARGET-stagefeedback-ld)
19180 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19181 clean-stagefeedback: clean-stagefeedback-ld
19182 clean-stagefeedback-ld:
19183 @if [ $(current_stage) = stagefeedback ]; then \
19184 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19185 else \
19186 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19187 $(MAKE) stagefeedback-start; \
19188 fi; \
19189 cd $(HOST_SUBDIR)/ld && \
19190 $(MAKE) $(EXTRA_HOST_FLAGS) \
19191 $(POSTSTAGE1_FLAGS_TO_PASS) \
19192 clean
19193 @endif ld-bootstrap
19199 .PHONY: check-ld maybe-check-ld
19200 maybe-check-ld:
19201 @if ld
19202 maybe-check-ld: check-ld
19204 check-ld:
19205 @: $(MAKE); $(unstage)
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(HOST_EXPORTS) \
19209 (cd $(HOST_SUBDIR)/ld && \
19210 $(MAKE) $(FLAGS_TO_PASS) check)
19212 @endif ld
19214 .PHONY: install-ld maybe-install-ld
19215 maybe-install-ld:
19216 @if ld
19217 maybe-install-ld: install-ld
19219 install-ld: installdirs
19220 @: $(MAKE); $(unstage)
19221 @r=`${PWD_COMMAND}`; export r; \
19222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19223 $(HOST_EXPORTS) \
19224 (cd $(HOST_SUBDIR)/ld && \
19225 $(MAKE) $(FLAGS_TO_PASS) install)
19227 @endif ld
19229 .PHONY: install-strip-ld maybe-install-strip-ld
19230 maybe-install-strip-ld:
19231 @if ld
19232 maybe-install-strip-ld: install-strip-ld
19234 install-strip-ld: installdirs
19235 @: $(MAKE); $(unstage)
19236 @r=`${PWD_COMMAND}`; export r; \
19237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19238 $(HOST_EXPORTS) \
19239 (cd $(HOST_SUBDIR)/ld && \
19240 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19242 @endif ld
19244 # Other targets (info, dvi, pdf, etc.)
19246 .PHONY: maybe-info-ld info-ld
19247 maybe-info-ld:
19248 @if ld
19249 maybe-info-ld: info-ld
19251 info-ld: \
19252 configure-ld
19253 @[ -f ./ld/Makefile ] || exit 0; \
19254 r=`${PWD_COMMAND}`; export r; \
19255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19256 $(HOST_EXPORTS) \
19257 for flag in $(EXTRA_HOST_FLAGS) ; do \
19258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19259 done; \
19260 echo "Doing info in ld" ; \
19261 (cd $(HOST_SUBDIR)/ld && \
19262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19264 "RANLIB=$${RANLIB}" \
19265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19266 info) \
19267 || exit 1
19269 @endif ld
19271 .PHONY: maybe-dvi-ld dvi-ld
19272 maybe-dvi-ld:
19273 @if ld
19274 maybe-dvi-ld: dvi-ld
19276 dvi-ld: \
19277 configure-ld
19278 @[ -f ./ld/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing dvi in ld" ; \
19286 (cd $(HOST_SUBDIR)/ld && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19291 dvi) \
19292 || exit 1
19294 @endif ld
19296 .PHONY: maybe-pdf-ld pdf-ld
19297 maybe-pdf-ld:
19298 @if ld
19299 maybe-pdf-ld: pdf-ld
19301 pdf-ld: \
19302 configure-ld
19303 @[ -f ./ld/Makefile ] || exit 0; \
19304 r=`${PWD_COMMAND}`; export r; \
19305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 $(HOST_EXPORTS) \
19307 for flag in $(EXTRA_HOST_FLAGS) ; do \
19308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19309 done; \
19310 echo "Doing pdf in ld" ; \
19311 (cd $(HOST_SUBDIR)/ld && \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19314 "RANLIB=$${RANLIB}" \
19315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19316 pdf) \
19317 || exit 1
19319 @endif ld
19321 .PHONY: maybe-html-ld html-ld
19322 maybe-html-ld:
19323 @if ld
19324 maybe-html-ld: html-ld
19326 html-ld: \
19327 configure-ld
19328 @[ -f ./ld/Makefile ] || exit 0; \
19329 r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331 $(HOST_EXPORTS) \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19334 done; \
19335 echo "Doing html in ld" ; \
19336 (cd $(HOST_SUBDIR)/ld && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19341 html) \
19342 || exit 1
19344 @endif ld
19346 .PHONY: maybe-TAGS-ld TAGS-ld
19347 maybe-TAGS-ld:
19348 @if ld
19349 maybe-TAGS-ld: TAGS-ld
19351 TAGS-ld: \
19352 configure-ld
19353 @[ -f ./ld/Makefile ] || exit 0; \
19354 r=`${PWD_COMMAND}`; export r; \
19355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19356 $(HOST_EXPORTS) \
19357 for flag in $(EXTRA_HOST_FLAGS) ; do \
19358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19359 done; \
19360 echo "Doing TAGS in ld" ; \
19361 (cd $(HOST_SUBDIR)/ld && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19364 "RANLIB=$${RANLIB}" \
19365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19366 TAGS) \
19367 || exit 1
19369 @endif ld
19371 .PHONY: maybe-install-info-ld install-info-ld
19372 maybe-install-info-ld:
19373 @if ld
19374 maybe-install-info-ld: install-info-ld
19376 install-info-ld: \
19377 configure-ld \
19378 info-ld
19379 @[ -f ./ld/Makefile ] || exit 0; \
19380 r=`${PWD_COMMAND}`; export r; \
19381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19382 $(HOST_EXPORTS) \
19383 for flag in $(EXTRA_HOST_FLAGS) ; do \
19384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19385 done; \
19386 echo "Doing install-info in ld" ; \
19387 (cd $(HOST_SUBDIR)/ld && \
19388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19390 "RANLIB=$${RANLIB}" \
19391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19392 install-info) \
19393 || exit 1
19395 @endif ld
19397 .PHONY: maybe-install-pdf-ld install-pdf-ld
19398 maybe-install-pdf-ld:
19399 @if ld
19400 maybe-install-pdf-ld: install-pdf-ld
19402 install-pdf-ld: \
19403 configure-ld \
19404 pdf-ld
19405 @[ -f ./ld/Makefile ] || exit 0; \
19406 r=`${PWD_COMMAND}`; export r; \
19407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19408 $(HOST_EXPORTS) \
19409 for flag in $(EXTRA_HOST_FLAGS) ; do \
19410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19411 done; \
19412 echo "Doing install-pdf in ld" ; \
19413 (cd $(HOST_SUBDIR)/ld && \
19414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19416 "RANLIB=$${RANLIB}" \
19417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19418 install-pdf) \
19419 || exit 1
19421 @endif ld
19423 .PHONY: maybe-install-html-ld install-html-ld
19424 maybe-install-html-ld:
19425 @if ld
19426 maybe-install-html-ld: install-html-ld
19428 install-html-ld: \
19429 configure-ld \
19430 html-ld
19431 @[ -f ./ld/Makefile ] || exit 0; \
19432 r=`${PWD_COMMAND}`; export r; \
19433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19434 $(HOST_EXPORTS) \
19435 for flag in $(EXTRA_HOST_FLAGS) ; do \
19436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19437 done; \
19438 echo "Doing install-html in ld" ; \
19439 (cd $(HOST_SUBDIR)/ld && \
19440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19442 "RANLIB=$${RANLIB}" \
19443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19444 install-html) \
19445 || exit 1
19447 @endif ld
19449 .PHONY: maybe-installcheck-ld installcheck-ld
19450 maybe-installcheck-ld:
19451 @if ld
19452 maybe-installcheck-ld: installcheck-ld
19454 installcheck-ld: \
19455 configure-ld
19456 @[ -f ./ld/Makefile ] || exit 0; \
19457 r=`${PWD_COMMAND}`; export r; \
19458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19459 $(HOST_EXPORTS) \
19460 for flag in $(EXTRA_HOST_FLAGS) ; do \
19461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19462 done; \
19463 echo "Doing installcheck in ld" ; \
19464 (cd $(HOST_SUBDIR)/ld && \
19465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19467 "RANLIB=$${RANLIB}" \
19468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19469 installcheck) \
19470 || exit 1
19472 @endif ld
19474 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19475 maybe-mostlyclean-ld:
19476 @if ld
19477 maybe-mostlyclean-ld: mostlyclean-ld
19479 mostlyclean-ld:
19480 @[ -f ./ld/Makefile ] || exit 0; \
19481 r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19483 $(HOST_EXPORTS) \
19484 for flag in $(EXTRA_HOST_FLAGS) ; do \
19485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19486 done; \
19487 echo "Doing mostlyclean in ld" ; \
19488 (cd $(HOST_SUBDIR)/ld && \
19489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19491 "RANLIB=$${RANLIB}" \
19492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19493 mostlyclean) \
19494 || exit 1
19496 @endif ld
19498 .PHONY: maybe-clean-ld clean-ld
19499 maybe-clean-ld:
19500 @if ld
19501 maybe-clean-ld: clean-ld
19503 clean-ld:
19504 @[ -f ./ld/Makefile ] || exit 0; \
19505 r=`${PWD_COMMAND}`; export r; \
19506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19507 $(HOST_EXPORTS) \
19508 for flag in $(EXTRA_HOST_FLAGS) ; do \
19509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19510 done; \
19511 echo "Doing clean in ld" ; \
19512 (cd $(HOST_SUBDIR)/ld && \
19513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19515 "RANLIB=$${RANLIB}" \
19516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19517 clean) \
19518 || exit 1
19520 @endif ld
19522 .PHONY: maybe-distclean-ld distclean-ld
19523 maybe-distclean-ld:
19524 @if ld
19525 maybe-distclean-ld: distclean-ld
19527 distclean-ld:
19528 @[ -f ./ld/Makefile ] || exit 0; \
19529 r=`${PWD_COMMAND}`; export r; \
19530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19531 $(HOST_EXPORTS) \
19532 for flag in $(EXTRA_HOST_FLAGS) ; do \
19533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19534 done; \
19535 echo "Doing distclean in ld" ; \
19536 (cd $(HOST_SUBDIR)/ld && \
19537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19539 "RANLIB=$${RANLIB}" \
19540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19541 distclean) \
19542 || exit 1
19544 @endif ld
19546 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19547 maybe-maintainer-clean-ld:
19548 @if ld
19549 maybe-maintainer-clean-ld: maintainer-clean-ld
19551 maintainer-clean-ld:
19552 @[ -f ./ld/Makefile ] || exit 0; \
19553 r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 $(HOST_EXPORTS) \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19558 done; \
19559 echo "Doing maintainer-clean in ld" ; \
19560 (cd $(HOST_SUBDIR)/ld && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19565 maintainer-clean) \
19566 || exit 1
19568 @endif ld
19572 .PHONY: configure-libcpp maybe-configure-libcpp
19573 maybe-configure-libcpp:
19574 @if gcc-bootstrap
19575 configure-libcpp: stage_current
19576 @endif gcc-bootstrap
19577 @if libcpp
19578 maybe-configure-libcpp: configure-libcpp
19579 configure-libcpp:
19580 @r=`${PWD_COMMAND}`; export r; \
19581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19582 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19584 $(HOST_EXPORTS) \
19585 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19586 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19587 case $(srcdir) in \
19588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19589 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19591 esac; \
19592 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19593 libsrcdir="$$s/libcpp"; \
19594 $(SHELL) $${libsrcdir}/configure \
19595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19596 --target=${target_alias} $${srcdiroption} \
19597 || exit 1
19598 @endif libcpp
19602 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19603 maybe-configure-stage1-libcpp:
19604 @if libcpp-bootstrap
19605 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19606 configure-stage1-libcpp:
19607 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19609 @r=`${PWD_COMMAND}`; export r; \
19610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19611 TFLAGS="$(STAGE1_TFLAGS)"; \
19612 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19613 $(HOST_EXPORTS) \
19614 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19615 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19616 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19617 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19619 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19620 case $(srcdir) in \
19621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19622 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19624 esac; \
19625 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19626 libsrcdir="$$s/libcpp"; \
19627 $(SHELL) $${libsrcdir}/configure \
19628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19629 --target=${target_alias} $${srcdiroption} \
19630 $(STAGE1_CONFIGURE_FLAGS)
19631 @endif libcpp-bootstrap
19633 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19634 maybe-configure-stage2-libcpp:
19635 @if libcpp-bootstrap
19636 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19637 configure-stage2-libcpp:
19638 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19640 @r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 TFLAGS="$(STAGE2_TFLAGS)"; \
19643 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19644 $(HOST_EXPORTS) \
19645 $(POSTSTAGE1_HOST_EXPORTS) \
19646 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19647 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19648 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19649 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19651 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19652 case $(srcdir) in \
19653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19654 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19656 esac; \
19657 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19658 libsrcdir="$$s/libcpp"; \
19659 $(SHELL) $${libsrcdir}/configure \
19660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19661 --target=${target_alias} $${srcdiroption} \
19662 --with-build-libsubdir=$(HOST_SUBDIR) \
19663 $(STAGE2_CONFIGURE_FLAGS)
19664 @endif libcpp-bootstrap
19666 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19667 maybe-configure-stage3-libcpp:
19668 @if libcpp-bootstrap
19669 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19670 configure-stage3-libcpp:
19671 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19673 @r=`${PWD_COMMAND}`; export r; \
19674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 TFLAGS="$(STAGE3_TFLAGS)"; \
19676 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19677 $(HOST_EXPORTS) \
19678 $(POSTSTAGE1_HOST_EXPORTS) \
19679 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19680 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19681 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19682 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19684 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19685 case $(srcdir) in \
19686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19687 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19689 esac; \
19690 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19691 libsrcdir="$$s/libcpp"; \
19692 $(SHELL) $${libsrcdir}/configure \
19693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19694 --target=${target_alias} $${srcdiroption} \
19695 --with-build-libsubdir=$(HOST_SUBDIR) \
19696 $(STAGE3_CONFIGURE_FLAGS)
19697 @endif libcpp-bootstrap
19699 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19700 maybe-configure-stage4-libcpp:
19701 @if libcpp-bootstrap
19702 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19703 configure-stage4-libcpp:
19704 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19706 @r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 TFLAGS="$(STAGE4_TFLAGS)"; \
19709 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19710 $(HOST_EXPORTS) \
19711 $(POSTSTAGE1_HOST_EXPORTS) \
19712 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19713 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19714 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19715 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19717 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19718 case $(srcdir) in \
19719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19720 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19722 esac; \
19723 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19724 libsrcdir="$$s/libcpp"; \
19725 $(SHELL) $${libsrcdir}/configure \
19726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19727 --target=${target_alias} $${srcdiroption} \
19728 --with-build-libsubdir=$(HOST_SUBDIR) \
19729 $(STAGE4_CONFIGURE_FLAGS)
19730 @endif libcpp-bootstrap
19732 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19733 maybe-configure-stageprofile-libcpp:
19734 @if libcpp-bootstrap
19735 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19736 configure-stageprofile-libcpp:
19737 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19739 @r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19742 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19743 $(HOST_EXPORTS) \
19744 $(POSTSTAGE1_HOST_EXPORTS) \
19745 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19746 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19747 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19748 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19750 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19751 case $(srcdir) in \
19752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19753 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19755 esac; \
19756 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19757 libsrcdir="$$s/libcpp"; \
19758 $(SHELL) $${libsrcdir}/configure \
19759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19760 --target=${target_alias} $${srcdiroption} \
19761 --with-build-libsubdir=$(HOST_SUBDIR) \
19762 $(STAGEprofile_CONFIGURE_FLAGS)
19763 @endif libcpp-bootstrap
19765 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19766 maybe-configure-stagefeedback-libcpp:
19767 @if libcpp-bootstrap
19768 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19769 configure-stagefeedback-libcpp:
19770 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19771 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19772 @r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19775 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19776 $(HOST_EXPORTS) \
19777 $(POSTSTAGE1_HOST_EXPORTS) \
19778 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19779 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19780 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19781 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19783 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19784 case $(srcdir) in \
19785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19786 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19788 esac; \
19789 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19790 libsrcdir="$$s/libcpp"; \
19791 $(SHELL) $${libsrcdir}/configure \
19792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19793 --target=${target_alias} $${srcdiroption} \
19794 --with-build-libsubdir=$(HOST_SUBDIR) \
19795 $(STAGEfeedback_CONFIGURE_FLAGS)
19796 @endif libcpp-bootstrap
19802 .PHONY: all-libcpp maybe-all-libcpp
19803 maybe-all-libcpp:
19804 @if gcc-bootstrap
19805 all-libcpp: stage_current
19806 @endif gcc-bootstrap
19807 @if libcpp
19808 TARGET-libcpp=all
19809 maybe-all-libcpp: all-libcpp
19810 all-libcpp: configure-libcpp
19811 @r=`${PWD_COMMAND}`; export r; \
19812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19813 $(HOST_EXPORTS) \
19814 (cd $(HOST_SUBDIR)/libcpp && \
19815 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19816 $(TARGET-libcpp))
19817 @endif libcpp
19821 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19822 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19823 maybe-all-stage1-libcpp:
19824 maybe-clean-stage1-libcpp:
19825 @if libcpp-bootstrap
19826 maybe-all-stage1-libcpp: all-stage1-libcpp
19827 all-stage1: all-stage1-libcpp
19828 TARGET-stage1-libcpp = $(TARGET-libcpp)
19829 all-stage1-libcpp: configure-stage1-libcpp
19830 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19831 @r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19833 TFLAGS="$(STAGE1_TFLAGS)"; \
19834 $(HOST_EXPORTS) \
19835 cd $(HOST_SUBDIR)/libcpp && \
19836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19837 CFLAGS="$(STAGE1_CFLAGS)" \
19838 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19839 LIBCFLAGS="$(LIBCFLAGS)" \
19840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19843 $(EXTRA_HOST_FLAGS) \
19844 TFLAGS="$(STAGE1_TFLAGS)" \
19845 $(TARGET-stage1-libcpp)
19847 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19848 clean-stage1: clean-stage1-libcpp
19849 clean-stage1-libcpp:
19850 @if [ $(current_stage) = stage1 ]; then \
19851 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19852 else \
19853 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19854 $(MAKE) stage1-start; \
19855 fi; \
19856 cd $(HOST_SUBDIR)/libcpp && \
19857 $(MAKE) $(EXTRA_HOST_FLAGS) \
19858 clean
19859 @endif libcpp-bootstrap
19862 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19863 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19864 maybe-all-stage2-libcpp:
19865 maybe-clean-stage2-libcpp:
19866 @if libcpp-bootstrap
19867 maybe-all-stage2-libcpp: all-stage2-libcpp
19868 all-stage2: all-stage2-libcpp
19869 TARGET-stage2-libcpp = $(TARGET-libcpp)
19870 all-stage2-libcpp: configure-stage2-libcpp
19871 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19872 @r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 TFLAGS="$(STAGE2_TFLAGS)"; \
19875 $(HOST_EXPORTS) \
19876 $(POSTSTAGE1_HOST_EXPORTS) \
19877 cd $(HOST_SUBDIR)/libcpp && \
19878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19879 CFLAGS="$(STAGE2_CFLAGS)" \
19880 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19881 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19886 TFLAGS="$(STAGE2_TFLAGS)" \
19887 $(TARGET-stage2-libcpp)
19889 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19890 clean-stage2: clean-stage2-libcpp
19891 clean-stage2-libcpp:
19892 @if [ $(current_stage) = stage2 ]; then \
19893 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19894 else \
19895 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19896 $(MAKE) stage2-start; \
19897 fi; \
19898 cd $(HOST_SUBDIR)/libcpp && \
19899 $(MAKE) $(EXTRA_HOST_FLAGS) \
19900 $(POSTSTAGE1_FLAGS_TO_PASS) \
19901 clean
19902 @endif libcpp-bootstrap
19905 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19906 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19907 maybe-all-stage3-libcpp:
19908 maybe-clean-stage3-libcpp:
19909 @if libcpp-bootstrap
19910 maybe-all-stage3-libcpp: all-stage3-libcpp
19911 all-stage3: all-stage3-libcpp
19912 TARGET-stage3-libcpp = $(TARGET-libcpp)
19913 all-stage3-libcpp: configure-stage3-libcpp
19914 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19915 @r=`${PWD_COMMAND}`; export r; \
19916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19917 TFLAGS="$(STAGE3_TFLAGS)"; \
19918 $(HOST_EXPORTS) \
19919 $(POSTSTAGE1_HOST_EXPORTS) \
19920 cd $(HOST_SUBDIR)/libcpp && \
19921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19922 CFLAGS="$(STAGE3_CFLAGS)" \
19923 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19924 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19929 TFLAGS="$(STAGE3_TFLAGS)" \
19930 $(TARGET-stage3-libcpp)
19932 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19933 clean-stage3: clean-stage3-libcpp
19934 clean-stage3-libcpp:
19935 @if [ $(current_stage) = stage3 ]; then \
19936 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19937 else \
19938 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19939 $(MAKE) stage3-start; \
19940 fi; \
19941 cd $(HOST_SUBDIR)/libcpp && \
19942 $(MAKE) $(EXTRA_HOST_FLAGS) \
19943 $(POSTSTAGE1_FLAGS_TO_PASS) \
19944 clean
19945 @endif libcpp-bootstrap
19948 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19949 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19950 maybe-all-stage4-libcpp:
19951 maybe-clean-stage4-libcpp:
19952 @if libcpp-bootstrap
19953 maybe-all-stage4-libcpp: all-stage4-libcpp
19954 all-stage4: all-stage4-libcpp
19955 TARGET-stage4-libcpp = $(TARGET-libcpp)
19956 all-stage4-libcpp: configure-stage4-libcpp
19957 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19958 @r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 TFLAGS="$(STAGE4_TFLAGS)"; \
19961 $(HOST_EXPORTS) \
19962 $(POSTSTAGE1_HOST_EXPORTS) \
19963 cd $(HOST_SUBDIR)/libcpp && \
19964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19965 CFLAGS="$(STAGE4_CFLAGS)" \
19966 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19967 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19972 TFLAGS="$(STAGE4_TFLAGS)" \
19973 $(TARGET-stage4-libcpp)
19975 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19976 clean-stage4: clean-stage4-libcpp
19977 clean-stage4-libcpp:
19978 @if [ $(current_stage) = stage4 ]; then \
19979 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19980 else \
19981 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19982 $(MAKE) stage4-start; \
19983 fi; \
19984 cd $(HOST_SUBDIR)/libcpp && \
19985 $(MAKE) $(EXTRA_HOST_FLAGS) \
19986 $(POSTSTAGE1_FLAGS_TO_PASS) \
19987 clean
19988 @endif libcpp-bootstrap
19991 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19992 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19993 maybe-all-stageprofile-libcpp:
19994 maybe-clean-stageprofile-libcpp:
19995 @if libcpp-bootstrap
19996 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19997 all-stageprofile: all-stageprofile-libcpp
19998 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19999 all-stageprofile-libcpp: configure-stageprofile-libcpp
20000 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20001 @r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20003 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20004 $(HOST_EXPORTS) \
20005 $(POSTSTAGE1_HOST_EXPORTS) \
20006 cd $(HOST_SUBDIR)/libcpp && \
20007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20008 CFLAGS="$(STAGEprofile_CFLAGS)" \
20009 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20010 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20015 TFLAGS="$(STAGEprofile_TFLAGS)" \
20016 $(TARGET-stageprofile-libcpp)
20018 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20019 clean-stageprofile: clean-stageprofile-libcpp
20020 clean-stageprofile-libcpp:
20021 @if [ $(current_stage) = stageprofile ]; then \
20022 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20023 else \
20024 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20025 $(MAKE) stageprofile-start; \
20026 fi; \
20027 cd $(HOST_SUBDIR)/libcpp && \
20028 $(MAKE) $(EXTRA_HOST_FLAGS) \
20029 $(POSTSTAGE1_FLAGS_TO_PASS) \
20030 clean
20031 @endif libcpp-bootstrap
20034 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20035 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20036 maybe-all-stagefeedback-libcpp:
20037 maybe-clean-stagefeedback-libcpp:
20038 @if libcpp-bootstrap
20039 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20040 all-stagefeedback: all-stagefeedback-libcpp
20041 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20042 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20043 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20044 @r=`${PWD_COMMAND}`; export r; \
20045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20046 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20047 $(HOST_EXPORTS) \
20048 $(POSTSTAGE1_HOST_EXPORTS) \
20049 cd $(HOST_SUBDIR)/libcpp && \
20050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20051 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20052 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20053 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20058 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20059 $(TARGET-stagefeedback-libcpp)
20061 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20062 clean-stagefeedback: clean-stagefeedback-libcpp
20063 clean-stagefeedback-libcpp:
20064 @if [ $(current_stage) = stagefeedback ]; then \
20065 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20066 else \
20067 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20068 $(MAKE) stagefeedback-start; \
20069 fi; \
20070 cd $(HOST_SUBDIR)/libcpp && \
20071 $(MAKE) $(EXTRA_HOST_FLAGS) \
20072 $(POSTSTAGE1_FLAGS_TO_PASS) \
20073 clean
20074 @endif libcpp-bootstrap
20080 .PHONY: check-libcpp maybe-check-libcpp
20081 maybe-check-libcpp:
20082 @if libcpp
20083 maybe-check-libcpp: check-libcpp
20085 check-libcpp:
20086 @: $(MAKE); $(unstage)
20087 @r=`${PWD_COMMAND}`; export r; \
20088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20089 $(HOST_EXPORTS) \
20090 (cd $(HOST_SUBDIR)/libcpp && \
20091 $(MAKE) $(FLAGS_TO_PASS) check)
20093 @endif libcpp
20095 .PHONY: install-libcpp maybe-install-libcpp
20096 maybe-install-libcpp:
20097 @if libcpp
20098 maybe-install-libcpp: install-libcpp
20100 install-libcpp: installdirs
20101 @: $(MAKE); $(unstage)
20102 @r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(HOST_EXPORTS) \
20105 (cd $(HOST_SUBDIR)/libcpp && \
20106 $(MAKE) $(FLAGS_TO_PASS) install)
20108 @endif libcpp
20110 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20111 maybe-install-strip-libcpp:
20112 @if libcpp
20113 maybe-install-strip-libcpp: install-strip-libcpp
20115 install-strip-libcpp: installdirs
20116 @: $(MAKE); $(unstage)
20117 @r=`${PWD_COMMAND}`; export r; \
20118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20119 $(HOST_EXPORTS) \
20120 (cd $(HOST_SUBDIR)/libcpp && \
20121 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20123 @endif libcpp
20125 # Other targets (info, dvi, pdf, etc.)
20127 .PHONY: maybe-info-libcpp info-libcpp
20128 maybe-info-libcpp:
20129 @if libcpp
20130 maybe-info-libcpp: info-libcpp
20132 info-libcpp: \
20133 configure-libcpp
20134 @[ -f ./libcpp/Makefile ] || exit 0; \
20135 r=`${PWD_COMMAND}`; export r; \
20136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 $(HOST_EXPORTS) \
20138 for flag in $(EXTRA_HOST_FLAGS) ; do \
20139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20140 done; \
20141 echo "Doing info in libcpp" ; \
20142 (cd $(HOST_SUBDIR)/libcpp && \
20143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20145 "RANLIB=$${RANLIB}" \
20146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20147 info) \
20148 || exit 1
20150 @endif libcpp
20152 .PHONY: maybe-dvi-libcpp dvi-libcpp
20153 maybe-dvi-libcpp:
20154 @if libcpp
20155 maybe-dvi-libcpp: dvi-libcpp
20157 dvi-libcpp: \
20158 configure-libcpp
20159 @[ -f ./libcpp/Makefile ] || exit 0; \
20160 r=`${PWD_COMMAND}`; export r; \
20161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20162 $(HOST_EXPORTS) \
20163 for flag in $(EXTRA_HOST_FLAGS) ; do \
20164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20165 done; \
20166 echo "Doing dvi in libcpp" ; \
20167 (cd $(HOST_SUBDIR)/libcpp && \
20168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20170 "RANLIB=$${RANLIB}" \
20171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20172 dvi) \
20173 || exit 1
20175 @endif libcpp
20177 .PHONY: maybe-pdf-libcpp pdf-libcpp
20178 maybe-pdf-libcpp:
20179 @if libcpp
20180 maybe-pdf-libcpp: pdf-libcpp
20182 pdf-libcpp: \
20183 configure-libcpp
20184 @[ -f ./libcpp/Makefile ] || exit 0; \
20185 r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 $(HOST_EXPORTS) \
20188 for flag in $(EXTRA_HOST_FLAGS) ; do \
20189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 done; \
20191 echo "Doing pdf in libcpp" ; \
20192 (cd $(HOST_SUBDIR)/libcpp && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20195 "RANLIB=$${RANLIB}" \
20196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20197 pdf) \
20198 || exit 1
20200 @endif libcpp
20202 .PHONY: maybe-html-libcpp html-libcpp
20203 maybe-html-libcpp:
20204 @if libcpp
20205 maybe-html-libcpp: html-libcpp
20207 html-libcpp: \
20208 configure-libcpp
20209 @[ -f ./libcpp/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing html in libcpp" ; \
20217 (cd $(HOST_SUBDIR)/libcpp && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20222 html) \
20223 || exit 1
20225 @endif libcpp
20227 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20228 maybe-TAGS-libcpp:
20229 @if libcpp
20230 maybe-TAGS-libcpp: TAGS-libcpp
20232 TAGS-libcpp: \
20233 configure-libcpp
20234 @[ -f ./libcpp/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(HOST_EXPORTS) \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 done; \
20241 echo "Doing TAGS in libcpp" ; \
20242 (cd $(HOST_SUBDIR)/libcpp && \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20247 TAGS) \
20248 || exit 1
20250 @endif libcpp
20252 .PHONY: maybe-install-info-libcpp install-info-libcpp
20253 maybe-install-info-libcpp:
20254 @if libcpp
20255 maybe-install-info-libcpp: install-info-libcpp
20257 install-info-libcpp: \
20258 configure-libcpp \
20259 info-libcpp
20260 @[ -f ./libcpp/Makefile ] || exit 0; \
20261 r=`${PWD_COMMAND}`; export r; \
20262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20263 $(HOST_EXPORTS) \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20266 done; \
20267 echo "Doing install-info in libcpp" ; \
20268 (cd $(HOST_SUBDIR)/libcpp && \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20273 install-info) \
20274 || exit 1
20276 @endif libcpp
20278 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20279 maybe-install-pdf-libcpp:
20280 @if libcpp
20281 maybe-install-pdf-libcpp: install-pdf-libcpp
20283 install-pdf-libcpp: \
20284 configure-libcpp \
20285 pdf-libcpp
20286 @[ -f ./libcpp/Makefile ] || exit 0; \
20287 r=`${PWD_COMMAND}`; export r; \
20288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20289 $(HOST_EXPORTS) \
20290 for flag in $(EXTRA_HOST_FLAGS) ; do \
20291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20292 done; \
20293 echo "Doing install-pdf in libcpp" ; \
20294 (cd $(HOST_SUBDIR)/libcpp && \
20295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20297 "RANLIB=$${RANLIB}" \
20298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20299 install-pdf) \
20300 || exit 1
20302 @endif libcpp
20304 .PHONY: maybe-install-html-libcpp install-html-libcpp
20305 maybe-install-html-libcpp:
20306 @if libcpp
20307 maybe-install-html-libcpp: install-html-libcpp
20309 install-html-libcpp: \
20310 configure-libcpp \
20311 html-libcpp
20312 @[ -f ./libcpp/Makefile ] || exit 0; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 for flag in $(EXTRA_HOST_FLAGS) ; do \
20317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20318 done; \
20319 echo "Doing install-html in libcpp" ; \
20320 (cd $(HOST_SUBDIR)/libcpp && \
20321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20323 "RANLIB=$${RANLIB}" \
20324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20325 install-html) \
20326 || exit 1
20328 @endif libcpp
20330 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20331 maybe-installcheck-libcpp:
20332 @if libcpp
20333 maybe-installcheck-libcpp: installcheck-libcpp
20335 installcheck-libcpp: \
20336 configure-libcpp
20337 @[ -f ./libcpp/Makefile ] || exit 0; \
20338 r=`${PWD_COMMAND}`; export r; \
20339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20340 $(HOST_EXPORTS) \
20341 for flag in $(EXTRA_HOST_FLAGS) ; do \
20342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20343 done; \
20344 echo "Doing installcheck in libcpp" ; \
20345 (cd $(HOST_SUBDIR)/libcpp && \
20346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20348 "RANLIB=$${RANLIB}" \
20349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20350 installcheck) \
20351 || exit 1
20353 @endif libcpp
20355 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20356 maybe-mostlyclean-libcpp:
20357 @if libcpp
20358 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20360 mostlyclean-libcpp:
20361 @[ -f ./libcpp/Makefile ] || exit 0; \
20362 r=`${PWD_COMMAND}`; export r; \
20363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20364 $(HOST_EXPORTS) \
20365 for flag in $(EXTRA_HOST_FLAGS) ; do \
20366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20367 done; \
20368 echo "Doing mostlyclean in libcpp" ; \
20369 (cd $(HOST_SUBDIR)/libcpp && \
20370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20372 "RANLIB=$${RANLIB}" \
20373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20374 mostlyclean) \
20375 || exit 1
20377 @endif libcpp
20379 .PHONY: maybe-clean-libcpp clean-libcpp
20380 maybe-clean-libcpp:
20381 @if libcpp
20382 maybe-clean-libcpp: clean-libcpp
20384 clean-libcpp:
20385 @[ -f ./libcpp/Makefile ] || exit 0; \
20386 r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(HOST_EXPORTS) \
20389 for flag in $(EXTRA_HOST_FLAGS) ; do \
20390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 done; \
20392 echo "Doing clean in libcpp" ; \
20393 (cd $(HOST_SUBDIR)/libcpp && \
20394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20396 "RANLIB=$${RANLIB}" \
20397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20398 clean) \
20399 || exit 1
20401 @endif libcpp
20403 .PHONY: maybe-distclean-libcpp distclean-libcpp
20404 maybe-distclean-libcpp:
20405 @if libcpp
20406 maybe-distclean-libcpp: distclean-libcpp
20408 distclean-libcpp:
20409 @[ -f ./libcpp/Makefile ] || exit 0; \
20410 r=`${PWD_COMMAND}`; export r; \
20411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20412 $(HOST_EXPORTS) \
20413 for flag in $(EXTRA_HOST_FLAGS) ; do \
20414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20415 done; \
20416 echo "Doing distclean in libcpp" ; \
20417 (cd $(HOST_SUBDIR)/libcpp && \
20418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20420 "RANLIB=$${RANLIB}" \
20421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20422 distclean) \
20423 || exit 1
20425 @endif libcpp
20427 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20428 maybe-maintainer-clean-libcpp:
20429 @if libcpp
20430 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20432 maintainer-clean-libcpp:
20433 @[ -f ./libcpp/Makefile ] || exit 0; \
20434 r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20436 $(HOST_EXPORTS) \
20437 for flag in $(EXTRA_HOST_FLAGS) ; do \
20438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20439 done; \
20440 echo "Doing maintainer-clean in libcpp" ; \
20441 (cd $(HOST_SUBDIR)/libcpp && \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20444 "RANLIB=$${RANLIB}" \
20445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20446 maintainer-clean) \
20447 || exit 1
20449 @endif libcpp
20453 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20454 maybe-configure-libdecnumber:
20455 @if gcc-bootstrap
20456 configure-libdecnumber: stage_current
20457 @endif gcc-bootstrap
20458 @if libdecnumber
20459 maybe-configure-libdecnumber: configure-libdecnumber
20460 configure-libdecnumber:
20461 @r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20465 $(HOST_EXPORTS) \
20466 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20467 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20468 case $(srcdir) in \
20469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20470 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20472 esac; \
20473 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20474 libsrcdir="$$s/libdecnumber"; \
20475 $(SHELL) $${libsrcdir}/configure \
20476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20477 --target=${target_alias} $${srcdiroption} \
20478 || exit 1
20479 @endif libdecnumber
20483 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20484 maybe-configure-stage1-libdecnumber:
20485 @if libdecnumber-bootstrap
20486 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20487 configure-stage1-libdecnumber:
20488 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20490 @r=`${PWD_COMMAND}`; export r; \
20491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20492 TFLAGS="$(STAGE1_TFLAGS)"; \
20493 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20494 $(HOST_EXPORTS) \
20495 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20496 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20497 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20498 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20500 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20501 case $(srcdir) in \
20502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20503 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20505 esac; \
20506 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20507 libsrcdir="$$s/libdecnumber"; \
20508 $(SHELL) $${libsrcdir}/configure \
20509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20510 --target=${target_alias} $${srcdiroption} \
20511 $(STAGE1_CONFIGURE_FLAGS)
20512 @endif libdecnumber-bootstrap
20514 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20515 maybe-configure-stage2-libdecnumber:
20516 @if libdecnumber-bootstrap
20517 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20518 configure-stage2-libdecnumber:
20519 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20521 @r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 TFLAGS="$(STAGE2_TFLAGS)"; \
20524 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20525 $(HOST_EXPORTS) \
20526 $(POSTSTAGE1_HOST_EXPORTS) \
20527 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20528 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20529 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20530 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20532 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20533 case $(srcdir) in \
20534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20535 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20537 esac; \
20538 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20539 libsrcdir="$$s/libdecnumber"; \
20540 $(SHELL) $${libsrcdir}/configure \
20541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20542 --target=${target_alias} $${srcdiroption} \
20543 --with-build-libsubdir=$(HOST_SUBDIR) \
20544 $(STAGE2_CONFIGURE_FLAGS)
20545 @endif libdecnumber-bootstrap
20547 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20548 maybe-configure-stage3-libdecnumber:
20549 @if libdecnumber-bootstrap
20550 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20551 configure-stage3-libdecnumber:
20552 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20554 @r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20556 TFLAGS="$(STAGE3_TFLAGS)"; \
20557 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20558 $(HOST_EXPORTS) \
20559 $(POSTSTAGE1_HOST_EXPORTS) \
20560 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20561 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20562 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20563 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20565 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20566 case $(srcdir) in \
20567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20568 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20570 esac; \
20571 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20572 libsrcdir="$$s/libdecnumber"; \
20573 $(SHELL) $${libsrcdir}/configure \
20574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20575 --target=${target_alias} $${srcdiroption} \
20576 --with-build-libsubdir=$(HOST_SUBDIR) \
20577 $(STAGE3_CONFIGURE_FLAGS)
20578 @endif libdecnumber-bootstrap
20580 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20581 maybe-configure-stage4-libdecnumber:
20582 @if libdecnumber-bootstrap
20583 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20584 configure-stage4-libdecnumber:
20585 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20587 @r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 TFLAGS="$(STAGE4_TFLAGS)"; \
20590 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20591 $(HOST_EXPORTS) \
20592 $(POSTSTAGE1_HOST_EXPORTS) \
20593 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20594 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20595 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20596 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20598 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20599 case $(srcdir) in \
20600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20601 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20603 esac; \
20604 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20605 libsrcdir="$$s/libdecnumber"; \
20606 $(SHELL) $${libsrcdir}/configure \
20607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20608 --target=${target_alias} $${srcdiroption} \
20609 --with-build-libsubdir=$(HOST_SUBDIR) \
20610 $(STAGE4_CONFIGURE_FLAGS)
20611 @endif libdecnumber-bootstrap
20613 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20614 maybe-configure-stageprofile-libdecnumber:
20615 @if libdecnumber-bootstrap
20616 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20617 configure-stageprofile-libdecnumber:
20618 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20620 @r=`${PWD_COMMAND}`; export r; \
20621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20622 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20623 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20624 $(HOST_EXPORTS) \
20625 $(POSTSTAGE1_HOST_EXPORTS) \
20626 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20627 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20628 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20629 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20631 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20632 case $(srcdir) in \
20633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20634 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20636 esac; \
20637 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20638 libsrcdir="$$s/libdecnumber"; \
20639 $(SHELL) $${libsrcdir}/configure \
20640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20641 --target=${target_alias} $${srcdiroption} \
20642 --with-build-libsubdir=$(HOST_SUBDIR) \
20643 $(STAGEprofile_CONFIGURE_FLAGS)
20644 @endif libdecnumber-bootstrap
20646 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20647 maybe-configure-stagefeedback-libdecnumber:
20648 @if libdecnumber-bootstrap
20649 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20650 configure-stagefeedback-libdecnumber:
20651 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20653 @r=`${PWD_COMMAND}`; export r; \
20654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20655 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20656 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20657 $(HOST_EXPORTS) \
20658 $(POSTSTAGE1_HOST_EXPORTS) \
20659 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20660 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20661 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20662 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20664 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20665 case $(srcdir) in \
20666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20667 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20669 esac; \
20670 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20671 libsrcdir="$$s/libdecnumber"; \
20672 $(SHELL) $${libsrcdir}/configure \
20673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20674 --target=${target_alias} $${srcdiroption} \
20675 --with-build-libsubdir=$(HOST_SUBDIR) \
20676 $(STAGEfeedback_CONFIGURE_FLAGS)
20677 @endif libdecnumber-bootstrap
20683 .PHONY: all-libdecnumber maybe-all-libdecnumber
20684 maybe-all-libdecnumber:
20685 @if gcc-bootstrap
20686 all-libdecnumber: stage_current
20687 @endif gcc-bootstrap
20688 @if libdecnumber
20689 TARGET-libdecnumber=all
20690 maybe-all-libdecnumber: all-libdecnumber
20691 all-libdecnumber: configure-libdecnumber
20692 @r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 $(HOST_EXPORTS) \
20695 (cd $(HOST_SUBDIR)/libdecnumber && \
20696 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20697 $(TARGET-libdecnumber))
20698 @endif libdecnumber
20702 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20703 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20704 maybe-all-stage1-libdecnumber:
20705 maybe-clean-stage1-libdecnumber:
20706 @if libdecnumber-bootstrap
20707 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20708 all-stage1: all-stage1-libdecnumber
20709 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20710 all-stage1-libdecnumber: configure-stage1-libdecnumber
20711 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20712 @r=`${PWD_COMMAND}`; export r; \
20713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20714 TFLAGS="$(STAGE1_TFLAGS)"; \
20715 $(HOST_EXPORTS) \
20716 cd $(HOST_SUBDIR)/libdecnumber && \
20717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20718 CFLAGS="$(STAGE1_CFLAGS)" \
20719 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20720 LIBCFLAGS="$(LIBCFLAGS)" \
20721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20724 $(EXTRA_HOST_FLAGS) \
20725 TFLAGS="$(STAGE1_TFLAGS)" \
20726 $(TARGET-stage1-libdecnumber)
20728 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20729 clean-stage1: clean-stage1-libdecnumber
20730 clean-stage1-libdecnumber:
20731 @if [ $(current_stage) = stage1 ]; then \
20732 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20733 else \
20734 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20735 $(MAKE) stage1-start; \
20736 fi; \
20737 cd $(HOST_SUBDIR)/libdecnumber && \
20738 $(MAKE) $(EXTRA_HOST_FLAGS) \
20739 clean
20740 @endif libdecnumber-bootstrap
20743 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20744 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20745 maybe-all-stage2-libdecnumber:
20746 maybe-clean-stage2-libdecnumber:
20747 @if libdecnumber-bootstrap
20748 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20749 all-stage2: all-stage2-libdecnumber
20750 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20751 all-stage2-libdecnumber: configure-stage2-libdecnumber
20752 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20753 @r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 TFLAGS="$(STAGE2_TFLAGS)"; \
20756 $(HOST_EXPORTS) \
20757 $(POSTSTAGE1_HOST_EXPORTS) \
20758 cd $(HOST_SUBDIR)/libdecnumber && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20760 CFLAGS="$(STAGE2_CFLAGS)" \
20761 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20762 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20767 TFLAGS="$(STAGE2_TFLAGS)" \
20768 $(TARGET-stage2-libdecnumber)
20770 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20771 clean-stage2: clean-stage2-libdecnumber
20772 clean-stage2-libdecnumber:
20773 @if [ $(current_stage) = stage2 ]; then \
20774 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20775 else \
20776 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20777 $(MAKE) stage2-start; \
20778 fi; \
20779 cd $(HOST_SUBDIR)/libdecnumber && \
20780 $(MAKE) $(EXTRA_HOST_FLAGS) \
20781 $(POSTSTAGE1_FLAGS_TO_PASS) \
20782 clean
20783 @endif libdecnumber-bootstrap
20786 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20787 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20788 maybe-all-stage3-libdecnumber:
20789 maybe-clean-stage3-libdecnumber:
20790 @if libdecnumber-bootstrap
20791 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20792 all-stage3: all-stage3-libdecnumber
20793 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20794 all-stage3-libdecnumber: configure-stage3-libdecnumber
20795 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20796 @r=`${PWD_COMMAND}`; export r; \
20797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20798 TFLAGS="$(STAGE3_TFLAGS)"; \
20799 $(HOST_EXPORTS) \
20800 $(POSTSTAGE1_HOST_EXPORTS) \
20801 cd $(HOST_SUBDIR)/libdecnumber && \
20802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20803 CFLAGS="$(STAGE3_CFLAGS)" \
20804 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20805 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20810 TFLAGS="$(STAGE3_TFLAGS)" \
20811 $(TARGET-stage3-libdecnumber)
20813 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20814 clean-stage3: clean-stage3-libdecnumber
20815 clean-stage3-libdecnumber:
20816 @if [ $(current_stage) = stage3 ]; then \
20817 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20818 else \
20819 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20820 $(MAKE) stage3-start; \
20821 fi; \
20822 cd $(HOST_SUBDIR)/libdecnumber && \
20823 $(MAKE) $(EXTRA_HOST_FLAGS) \
20824 $(POSTSTAGE1_FLAGS_TO_PASS) \
20825 clean
20826 @endif libdecnumber-bootstrap
20829 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20830 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20831 maybe-all-stage4-libdecnumber:
20832 maybe-clean-stage4-libdecnumber:
20833 @if libdecnumber-bootstrap
20834 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20835 all-stage4: all-stage4-libdecnumber
20836 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20837 all-stage4-libdecnumber: configure-stage4-libdecnumber
20838 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20839 @r=`${PWD_COMMAND}`; export r; \
20840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20841 TFLAGS="$(STAGE4_TFLAGS)"; \
20842 $(HOST_EXPORTS) \
20843 $(POSTSTAGE1_HOST_EXPORTS) \
20844 cd $(HOST_SUBDIR)/libdecnumber && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20846 CFLAGS="$(STAGE4_CFLAGS)" \
20847 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20848 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20853 TFLAGS="$(STAGE4_TFLAGS)" \
20854 $(TARGET-stage4-libdecnumber)
20856 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20857 clean-stage4: clean-stage4-libdecnumber
20858 clean-stage4-libdecnumber:
20859 @if [ $(current_stage) = stage4 ]; then \
20860 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20861 else \
20862 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20863 $(MAKE) stage4-start; \
20864 fi; \
20865 cd $(HOST_SUBDIR)/libdecnumber && \
20866 $(MAKE) $(EXTRA_HOST_FLAGS) \
20867 $(POSTSTAGE1_FLAGS_TO_PASS) \
20868 clean
20869 @endif libdecnumber-bootstrap
20872 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20873 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20874 maybe-all-stageprofile-libdecnumber:
20875 maybe-clean-stageprofile-libdecnumber:
20876 @if libdecnumber-bootstrap
20877 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20878 all-stageprofile: all-stageprofile-libdecnumber
20879 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20880 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20881 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20882 @r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20885 $(HOST_EXPORTS) \
20886 $(POSTSTAGE1_HOST_EXPORTS) \
20887 cd $(HOST_SUBDIR)/libdecnumber && \
20888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20889 CFLAGS="$(STAGEprofile_CFLAGS)" \
20890 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20891 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20896 TFLAGS="$(STAGEprofile_TFLAGS)" \
20897 $(TARGET-stageprofile-libdecnumber)
20899 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20900 clean-stageprofile: clean-stageprofile-libdecnumber
20901 clean-stageprofile-libdecnumber:
20902 @if [ $(current_stage) = stageprofile ]; then \
20903 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20904 else \
20905 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20906 $(MAKE) stageprofile-start; \
20907 fi; \
20908 cd $(HOST_SUBDIR)/libdecnumber && \
20909 $(MAKE) $(EXTRA_HOST_FLAGS) \
20910 $(POSTSTAGE1_FLAGS_TO_PASS) \
20911 clean
20912 @endif libdecnumber-bootstrap
20915 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20916 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20917 maybe-all-stagefeedback-libdecnumber:
20918 maybe-clean-stagefeedback-libdecnumber:
20919 @if libdecnumber-bootstrap
20920 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20921 all-stagefeedback: all-stagefeedback-libdecnumber
20922 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20923 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20925 @r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20928 $(HOST_EXPORTS) \
20929 $(POSTSTAGE1_HOST_EXPORTS) \
20930 cd $(HOST_SUBDIR)/libdecnumber && \
20931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20932 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20933 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20934 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20939 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20940 $(TARGET-stagefeedback-libdecnumber)
20942 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20943 clean-stagefeedback: clean-stagefeedback-libdecnumber
20944 clean-stagefeedback-libdecnumber:
20945 @if [ $(current_stage) = stagefeedback ]; then \
20946 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20947 else \
20948 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20949 $(MAKE) stagefeedback-start; \
20950 fi; \
20951 cd $(HOST_SUBDIR)/libdecnumber && \
20952 $(MAKE) $(EXTRA_HOST_FLAGS) \
20953 $(POSTSTAGE1_FLAGS_TO_PASS) \
20954 clean
20955 @endif libdecnumber-bootstrap
20961 .PHONY: check-libdecnumber maybe-check-libdecnumber
20962 maybe-check-libdecnumber:
20963 @if libdecnumber
20964 maybe-check-libdecnumber: check-libdecnumber
20966 check-libdecnumber:
20967 @: $(MAKE); $(unstage)
20968 @r=`${PWD_COMMAND}`; export r; \
20969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20970 $(HOST_EXPORTS) \
20971 (cd $(HOST_SUBDIR)/libdecnumber && \
20972 $(MAKE) $(FLAGS_TO_PASS) check)
20974 @endif libdecnumber
20976 .PHONY: install-libdecnumber maybe-install-libdecnumber
20977 maybe-install-libdecnumber:
20978 @if libdecnumber
20979 maybe-install-libdecnumber: install-libdecnumber
20981 install-libdecnumber: installdirs
20982 @: $(MAKE); $(unstage)
20983 @r=`${PWD_COMMAND}`; export r; \
20984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20985 $(HOST_EXPORTS) \
20986 (cd $(HOST_SUBDIR)/libdecnumber && \
20987 $(MAKE) $(FLAGS_TO_PASS) install)
20989 @endif libdecnumber
20991 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20992 maybe-install-strip-libdecnumber:
20993 @if libdecnumber
20994 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20996 install-strip-libdecnumber: installdirs
20997 @: $(MAKE); $(unstage)
20998 @r=`${PWD_COMMAND}`; export r; \
20999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 $(HOST_EXPORTS) \
21001 (cd $(HOST_SUBDIR)/libdecnumber && \
21002 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21004 @endif libdecnumber
21006 # Other targets (info, dvi, pdf, etc.)
21008 .PHONY: maybe-info-libdecnumber info-libdecnumber
21009 maybe-info-libdecnumber:
21010 @if libdecnumber
21011 maybe-info-libdecnumber: info-libdecnumber
21013 info-libdecnumber: \
21014 configure-libdecnumber
21015 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21016 r=`${PWD_COMMAND}`; export r; \
21017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21018 $(HOST_EXPORTS) \
21019 for flag in $(EXTRA_HOST_FLAGS) ; do \
21020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21021 done; \
21022 echo "Doing info in libdecnumber" ; \
21023 (cd $(HOST_SUBDIR)/libdecnumber && \
21024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21026 "RANLIB=$${RANLIB}" \
21027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21028 info) \
21029 || exit 1
21031 @endif libdecnumber
21033 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21034 maybe-dvi-libdecnumber:
21035 @if libdecnumber
21036 maybe-dvi-libdecnumber: dvi-libdecnumber
21038 dvi-libdecnumber: \
21039 configure-libdecnumber
21040 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21041 r=`${PWD_COMMAND}`; export r; \
21042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21043 $(HOST_EXPORTS) \
21044 for flag in $(EXTRA_HOST_FLAGS) ; do \
21045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21046 done; \
21047 echo "Doing dvi in libdecnumber" ; \
21048 (cd $(HOST_SUBDIR)/libdecnumber && \
21049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21051 "RANLIB=$${RANLIB}" \
21052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21053 dvi) \
21054 || exit 1
21056 @endif libdecnumber
21058 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21059 maybe-pdf-libdecnumber:
21060 @if libdecnumber
21061 maybe-pdf-libdecnumber: pdf-libdecnumber
21063 pdf-libdecnumber: \
21064 configure-libdecnumber
21065 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21066 r=`${PWD_COMMAND}`; export r; \
21067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21068 $(HOST_EXPORTS) \
21069 for flag in $(EXTRA_HOST_FLAGS) ; do \
21070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21071 done; \
21072 echo "Doing pdf in libdecnumber" ; \
21073 (cd $(HOST_SUBDIR)/libdecnumber && \
21074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21076 "RANLIB=$${RANLIB}" \
21077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21078 pdf) \
21079 || exit 1
21081 @endif libdecnumber
21083 .PHONY: maybe-html-libdecnumber html-libdecnumber
21084 maybe-html-libdecnumber:
21085 @if libdecnumber
21086 maybe-html-libdecnumber: html-libdecnumber
21088 html-libdecnumber: \
21089 configure-libdecnumber
21090 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21091 r=`${PWD_COMMAND}`; export r; \
21092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 $(HOST_EXPORTS) \
21094 for flag in $(EXTRA_HOST_FLAGS) ; do \
21095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21096 done; \
21097 echo "Doing html in libdecnumber" ; \
21098 (cd $(HOST_SUBDIR)/libdecnumber && \
21099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21101 "RANLIB=$${RANLIB}" \
21102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21103 html) \
21104 || exit 1
21106 @endif libdecnumber
21108 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21109 maybe-TAGS-libdecnumber:
21110 @if libdecnumber
21111 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21113 TAGS-libdecnumber: \
21114 configure-libdecnumber
21115 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21116 r=`${PWD_COMMAND}`; export r; \
21117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21118 $(HOST_EXPORTS) \
21119 for flag in $(EXTRA_HOST_FLAGS) ; do \
21120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21121 done; \
21122 echo "Doing TAGS in libdecnumber" ; \
21123 (cd $(HOST_SUBDIR)/libdecnumber && \
21124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21126 "RANLIB=$${RANLIB}" \
21127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21128 TAGS) \
21129 || exit 1
21131 @endif libdecnumber
21133 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21134 maybe-install-info-libdecnumber:
21135 @if libdecnumber
21136 maybe-install-info-libdecnumber: install-info-libdecnumber
21138 install-info-libdecnumber: \
21139 configure-libdecnumber \
21140 info-libdecnumber
21141 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21142 r=`${PWD_COMMAND}`; export r; \
21143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 $(HOST_EXPORTS) \
21145 for flag in $(EXTRA_HOST_FLAGS) ; do \
21146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147 done; \
21148 echo "Doing install-info in libdecnumber" ; \
21149 (cd $(HOST_SUBDIR)/libdecnumber && \
21150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21152 "RANLIB=$${RANLIB}" \
21153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21154 install-info) \
21155 || exit 1
21157 @endif libdecnumber
21159 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21160 maybe-install-pdf-libdecnumber:
21161 @if libdecnumber
21162 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21164 install-pdf-libdecnumber: \
21165 configure-libdecnumber \
21166 pdf-libdecnumber
21167 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21168 r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 $(HOST_EXPORTS) \
21171 for flag in $(EXTRA_HOST_FLAGS) ; do \
21172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21173 done; \
21174 echo "Doing install-pdf in libdecnumber" ; \
21175 (cd $(HOST_SUBDIR)/libdecnumber && \
21176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21178 "RANLIB=$${RANLIB}" \
21179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21180 install-pdf) \
21181 || exit 1
21183 @endif libdecnumber
21185 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21186 maybe-install-html-libdecnumber:
21187 @if libdecnumber
21188 maybe-install-html-libdecnumber: install-html-libdecnumber
21190 install-html-libdecnumber: \
21191 configure-libdecnumber \
21192 html-libdecnumber
21193 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21194 r=`${PWD_COMMAND}`; export r; \
21195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21196 $(HOST_EXPORTS) \
21197 for flag in $(EXTRA_HOST_FLAGS) ; do \
21198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21199 done; \
21200 echo "Doing install-html in libdecnumber" ; \
21201 (cd $(HOST_SUBDIR)/libdecnumber && \
21202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21204 "RANLIB=$${RANLIB}" \
21205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21206 install-html) \
21207 || exit 1
21209 @endif libdecnumber
21211 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21212 maybe-installcheck-libdecnumber:
21213 @if libdecnumber
21214 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21216 installcheck-libdecnumber: \
21217 configure-libdecnumber
21218 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21219 r=`${PWD_COMMAND}`; export r; \
21220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21221 $(HOST_EXPORTS) \
21222 for flag in $(EXTRA_HOST_FLAGS) ; do \
21223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21224 done; \
21225 echo "Doing installcheck in libdecnumber" ; \
21226 (cd $(HOST_SUBDIR)/libdecnumber && \
21227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21229 "RANLIB=$${RANLIB}" \
21230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21231 installcheck) \
21232 || exit 1
21234 @endif libdecnumber
21236 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21237 maybe-mostlyclean-libdecnumber:
21238 @if libdecnumber
21239 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21241 mostlyclean-libdecnumber:
21242 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21243 r=`${PWD_COMMAND}`; export r; \
21244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21245 $(HOST_EXPORTS) \
21246 for flag in $(EXTRA_HOST_FLAGS) ; do \
21247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21248 done; \
21249 echo "Doing mostlyclean in libdecnumber" ; \
21250 (cd $(HOST_SUBDIR)/libdecnumber && \
21251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21253 "RANLIB=$${RANLIB}" \
21254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21255 mostlyclean) \
21256 || exit 1
21258 @endif libdecnumber
21260 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21261 maybe-clean-libdecnumber:
21262 @if libdecnumber
21263 maybe-clean-libdecnumber: clean-libdecnumber
21265 clean-libdecnumber:
21266 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21267 r=`${PWD_COMMAND}`; export r; \
21268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21269 $(HOST_EXPORTS) \
21270 for flag in $(EXTRA_HOST_FLAGS) ; do \
21271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21272 done; \
21273 echo "Doing clean in libdecnumber" ; \
21274 (cd $(HOST_SUBDIR)/libdecnumber && \
21275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21277 "RANLIB=$${RANLIB}" \
21278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21279 clean) \
21280 || exit 1
21282 @endif libdecnumber
21284 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21285 maybe-distclean-libdecnumber:
21286 @if libdecnumber
21287 maybe-distclean-libdecnumber: distclean-libdecnumber
21289 distclean-libdecnumber:
21290 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21291 r=`${PWD_COMMAND}`; export r; \
21292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21293 $(HOST_EXPORTS) \
21294 for flag in $(EXTRA_HOST_FLAGS) ; do \
21295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21296 done; \
21297 echo "Doing distclean in libdecnumber" ; \
21298 (cd $(HOST_SUBDIR)/libdecnumber && \
21299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21301 "RANLIB=$${RANLIB}" \
21302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21303 distclean) \
21304 || exit 1
21306 @endif libdecnumber
21308 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21309 maybe-maintainer-clean-libdecnumber:
21310 @if libdecnumber
21311 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21313 maintainer-clean-libdecnumber:
21314 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(HOST_EXPORTS) \
21318 for flag in $(EXTRA_HOST_FLAGS) ; do \
21319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21320 done; \
21321 echo "Doing maintainer-clean in libdecnumber" ; \
21322 (cd $(HOST_SUBDIR)/libdecnumber && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21325 "RANLIB=$${RANLIB}" \
21326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21327 maintainer-clean) \
21328 || exit 1
21330 @endif libdecnumber
21334 .PHONY: configure-libgui maybe-configure-libgui
21335 maybe-configure-libgui:
21336 @if gcc-bootstrap
21337 configure-libgui: stage_current
21338 @endif gcc-bootstrap
21339 @if libgui
21340 maybe-configure-libgui: configure-libgui
21341 configure-libgui:
21342 @: $(MAKE); $(unstage)
21343 @r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21345 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21347 $(HOST_EXPORTS) \
21348 echo Configuring in $(HOST_SUBDIR)/libgui; \
21349 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21350 case $(srcdir) in \
21351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21352 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21354 esac; \
21355 srcdiroption="--srcdir=$${topdir}/libgui"; \
21356 libsrcdir="$$s/libgui"; \
21357 $(SHELL) $${libsrcdir}/configure \
21358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21359 --target=${target_alias} $${srcdiroption} \
21360 || exit 1
21361 @endif libgui
21367 .PHONY: all-libgui maybe-all-libgui
21368 maybe-all-libgui:
21369 @if gcc-bootstrap
21370 all-libgui: stage_current
21371 @endif gcc-bootstrap
21372 @if libgui
21373 TARGET-libgui=all
21374 maybe-all-libgui: all-libgui
21375 all-libgui: configure-libgui
21376 @: $(MAKE); $(unstage)
21377 @r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(HOST_EXPORTS) \
21380 (cd $(HOST_SUBDIR)/libgui && \
21381 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21382 $(TARGET-libgui))
21383 @endif libgui
21388 .PHONY: check-libgui maybe-check-libgui
21389 maybe-check-libgui:
21390 @if libgui
21391 maybe-check-libgui: check-libgui
21393 check-libgui:
21394 @: $(MAKE); $(unstage)
21395 @r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21397 $(HOST_EXPORTS) \
21398 (cd $(HOST_SUBDIR)/libgui && \
21399 $(MAKE) $(FLAGS_TO_PASS) check)
21401 @endif libgui
21403 .PHONY: install-libgui maybe-install-libgui
21404 maybe-install-libgui:
21405 @if libgui
21406 maybe-install-libgui: install-libgui
21408 install-libgui: installdirs
21409 @: $(MAKE); $(unstage)
21410 @r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412 $(HOST_EXPORTS) \
21413 (cd $(HOST_SUBDIR)/libgui && \
21414 $(MAKE) $(FLAGS_TO_PASS) install)
21416 @endif libgui
21418 .PHONY: install-strip-libgui maybe-install-strip-libgui
21419 maybe-install-strip-libgui:
21420 @if libgui
21421 maybe-install-strip-libgui: install-strip-libgui
21423 install-strip-libgui: installdirs
21424 @: $(MAKE); $(unstage)
21425 @r=`${PWD_COMMAND}`; export r; \
21426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21427 $(HOST_EXPORTS) \
21428 (cd $(HOST_SUBDIR)/libgui && \
21429 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21431 @endif libgui
21433 # Other targets (info, dvi, pdf, etc.)
21435 .PHONY: maybe-info-libgui info-libgui
21436 maybe-info-libgui:
21437 @if libgui
21438 maybe-info-libgui: info-libgui
21440 info-libgui: \
21441 configure-libgui
21442 @: $(MAKE); $(unstage)
21443 @[ -f ./libgui/Makefile ] || exit 0; \
21444 r=`${PWD_COMMAND}`; export r; \
21445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21446 $(HOST_EXPORTS) \
21447 for flag in $(EXTRA_HOST_FLAGS) ; do \
21448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21449 done; \
21450 echo "Doing info in libgui" ; \
21451 (cd $(HOST_SUBDIR)/libgui && \
21452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21454 "RANLIB=$${RANLIB}" \
21455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21456 info) \
21457 || exit 1
21459 @endif libgui
21461 .PHONY: maybe-dvi-libgui dvi-libgui
21462 maybe-dvi-libgui:
21463 @if libgui
21464 maybe-dvi-libgui: dvi-libgui
21466 dvi-libgui: \
21467 configure-libgui
21468 @: $(MAKE); $(unstage)
21469 @[ -f ./libgui/Makefile ] || exit 0; \
21470 r=`${PWD_COMMAND}`; export r; \
21471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21472 $(HOST_EXPORTS) \
21473 for flag in $(EXTRA_HOST_FLAGS) ; do \
21474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21475 done; \
21476 echo "Doing dvi in libgui" ; \
21477 (cd $(HOST_SUBDIR)/libgui && \
21478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21480 "RANLIB=$${RANLIB}" \
21481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21482 dvi) \
21483 || exit 1
21485 @endif libgui
21487 .PHONY: maybe-pdf-libgui pdf-libgui
21488 maybe-pdf-libgui:
21489 @if libgui
21490 maybe-pdf-libgui: pdf-libgui
21492 pdf-libgui: \
21493 configure-libgui
21494 @: $(MAKE); $(unstage)
21495 @[ -f ./libgui/Makefile ] || exit 0; \
21496 r=`${PWD_COMMAND}`; export r; \
21497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21498 $(HOST_EXPORTS) \
21499 for flag in $(EXTRA_HOST_FLAGS) ; do \
21500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21501 done; \
21502 echo "Doing pdf in libgui" ; \
21503 (cd $(HOST_SUBDIR)/libgui && \
21504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21506 "RANLIB=$${RANLIB}" \
21507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21508 pdf) \
21509 || exit 1
21511 @endif libgui
21513 .PHONY: maybe-html-libgui html-libgui
21514 maybe-html-libgui:
21515 @if libgui
21516 maybe-html-libgui: html-libgui
21518 html-libgui: \
21519 configure-libgui
21520 @: $(MAKE); $(unstage)
21521 @[ -f ./libgui/Makefile ] || exit 0; \
21522 r=`${PWD_COMMAND}`; export r; \
21523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21524 $(HOST_EXPORTS) \
21525 for flag in $(EXTRA_HOST_FLAGS) ; do \
21526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21527 done; \
21528 echo "Doing html in libgui" ; \
21529 (cd $(HOST_SUBDIR)/libgui && \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21532 "RANLIB=$${RANLIB}" \
21533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21534 html) \
21535 || exit 1
21537 @endif libgui
21539 .PHONY: maybe-TAGS-libgui TAGS-libgui
21540 maybe-TAGS-libgui:
21541 @if libgui
21542 maybe-TAGS-libgui: TAGS-libgui
21544 TAGS-libgui: \
21545 configure-libgui
21546 @: $(MAKE); $(unstage)
21547 @[ -f ./libgui/Makefile ] || exit 0; \
21548 r=`${PWD_COMMAND}`; export r; \
21549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21550 $(HOST_EXPORTS) \
21551 for flag in $(EXTRA_HOST_FLAGS) ; do \
21552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21553 done; \
21554 echo "Doing TAGS in libgui" ; \
21555 (cd $(HOST_SUBDIR)/libgui && \
21556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558 "RANLIB=$${RANLIB}" \
21559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21560 TAGS) \
21561 || exit 1
21563 @endif libgui
21565 .PHONY: maybe-install-info-libgui install-info-libgui
21566 maybe-install-info-libgui:
21567 @if libgui
21568 maybe-install-info-libgui: install-info-libgui
21570 install-info-libgui: \
21571 configure-libgui \
21572 info-libgui
21573 @: $(MAKE); $(unstage)
21574 @[ -f ./libgui/Makefile ] || exit 0; \
21575 r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(HOST_EXPORTS) \
21578 for flag in $(EXTRA_HOST_FLAGS) ; do \
21579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21580 done; \
21581 echo "Doing install-info in libgui" ; \
21582 (cd $(HOST_SUBDIR)/libgui && \
21583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21585 "RANLIB=$${RANLIB}" \
21586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21587 install-info) \
21588 || exit 1
21590 @endif libgui
21592 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21593 maybe-install-pdf-libgui:
21594 @if libgui
21595 maybe-install-pdf-libgui: install-pdf-libgui
21597 install-pdf-libgui: \
21598 configure-libgui \
21599 pdf-libgui
21600 @: $(MAKE); $(unstage)
21601 @[ -f ./libgui/Makefile ] || exit 0; \
21602 r=`${PWD_COMMAND}`; export r; \
21603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604 $(HOST_EXPORTS) \
21605 for flag in $(EXTRA_HOST_FLAGS) ; do \
21606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21607 done; \
21608 echo "Doing install-pdf in libgui" ; \
21609 (cd $(HOST_SUBDIR)/libgui && \
21610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21612 "RANLIB=$${RANLIB}" \
21613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21614 install-pdf) \
21615 || exit 1
21617 @endif libgui
21619 .PHONY: maybe-install-html-libgui install-html-libgui
21620 maybe-install-html-libgui:
21621 @if libgui
21622 maybe-install-html-libgui: install-html-libgui
21624 install-html-libgui: \
21625 configure-libgui \
21626 html-libgui
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./libgui/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing install-html in libgui" ; \
21636 (cd $(HOST_SUBDIR)/libgui && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21641 install-html) \
21642 || exit 1
21644 @endif libgui
21646 .PHONY: maybe-installcheck-libgui installcheck-libgui
21647 maybe-installcheck-libgui:
21648 @if libgui
21649 maybe-installcheck-libgui: installcheck-libgui
21651 installcheck-libgui: \
21652 configure-libgui
21653 @: $(MAKE); $(unstage)
21654 @[ -f ./libgui/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing installcheck in libgui" ; \
21662 (cd $(HOST_SUBDIR)/libgui && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21667 installcheck) \
21668 || exit 1
21670 @endif libgui
21672 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21673 maybe-mostlyclean-libgui:
21674 @if libgui
21675 maybe-mostlyclean-libgui: mostlyclean-libgui
21677 mostlyclean-libgui:
21678 @: $(MAKE); $(unstage)
21679 @[ -f ./libgui/Makefile ] || exit 0; \
21680 r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS) ; do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing mostlyclean in libgui" ; \
21687 (cd $(HOST_SUBDIR)/libgui && \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21692 mostlyclean) \
21693 || exit 1
21695 @endif libgui
21697 .PHONY: maybe-clean-libgui clean-libgui
21698 maybe-clean-libgui:
21699 @if libgui
21700 maybe-clean-libgui: clean-libgui
21702 clean-libgui:
21703 @: $(MAKE); $(unstage)
21704 @[ -f ./libgui/Makefile ] || exit 0; \
21705 r=`${PWD_COMMAND}`; export r; \
21706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21707 $(HOST_EXPORTS) \
21708 for flag in $(EXTRA_HOST_FLAGS) ; do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21710 done; \
21711 echo "Doing clean in libgui" ; \
21712 (cd $(HOST_SUBDIR)/libgui && \
21713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21715 "RANLIB=$${RANLIB}" \
21716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21717 clean) \
21718 || exit 1
21720 @endif libgui
21722 .PHONY: maybe-distclean-libgui distclean-libgui
21723 maybe-distclean-libgui:
21724 @if libgui
21725 maybe-distclean-libgui: distclean-libgui
21727 distclean-libgui:
21728 @: $(MAKE); $(unstage)
21729 @[ -f ./libgui/Makefile ] || exit 0; \
21730 r=`${PWD_COMMAND}`; export r; \
21731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21732 $(HOST_EXPORTS) \
21733 for flag in $(EXTRA_HOST_FLAGS) ; do \
21734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21735 done; \
21736 echo "Doing distclean in libgui" ; \
21737 (cd $(HOST_SUBDIR)/libgui && \
21738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21740 "RANLIB=$${RANLIB}" \
21741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21742 distclean) \
21743 || exit 1
21745 @endif libgui
21747 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21748 maybe-maintainer-clean-libgui:
21749 @if libgui
21750 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21752 maintainer-clean-libgui:
21753 @: $(MAKE); $(unstage)
21754 @[ -f ./libgui/Makefile ] || exit 0; \
21755 r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 $(HOST_EXPORTS) \
21758 for flag in $(EXTRA_HOST_FLAGS) ; do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 done; \
21761 echo "Doing maintainer-clean in libgui" ; \
21762 (cd $(HOST_SUBDIR)/libgui && \
21763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21765 "RANLIB=$${RANLIB}" \
21766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21767 maintainer-clean) \
21768 || exit 1
21770 @endif libgui
21774 .PHONY: configure-libiberty maybe-configure-libiberty
21775 maybe-configure-libiberty:
21776 @if gcc-bootstrap
21777 configure-libiberty: stage_current
21778 @endif gcc-bootstrap
21779 @if libiberty
21780 maybe-configure-libiberty: configure-libiberty
21781 configure-libiberty:
21782 @r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21786 $(HOST_EXPORTS) \
21787 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21788 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21789 case $(srcdir) in \
21790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21791 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21793 esac; \
21794 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21795 libsrcdir="$$s/libiberty"; \
21796 $(SHELL) $${libsrcdir}/configure \
21797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21798 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21799 || exit 1
21800 @endif libiberty
21804 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21805 maybe-configure-stage1-libiberty:
21806 @if libiberty-bootstrap
21807 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21808 configure-stage1-libiberty:
21809 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21811 @r=`${PWD_COMMAND}`; export r; \
21812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21813 TFLAGS="$(STAGE1_TFLAGS)"; \
21814 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21815 $(HOST_EXPORTS) \
21816 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21817 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21818 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21819 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21821 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21822 case $(srcdir) in \
21823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21824 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21826 esac; \
21827 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21828 libsrcdir="$$s/libiberty"; \
21829 $(SHELL) $${libsrcdir}/configure \
21830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21831 --target=${target_alias} $${srcdiroption} \
21832 $(STAGE1_CONFIGURE_FLAGS) \
21833 @extra_host_libiberty_configure_flags@
21834 @endif libiberty-bootstrap
21836 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21837 maybe-configure-stage2-libiberty:
21838 @if libiberty-bootstrap
21839 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21840 configure-stage2-libiberty:
21841 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21843 @r=`${PWD_COMMAND}`; export r; \
21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21845 TFLAGS="$(STAGE2_TFLAGS)"; \
21846 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21847 $(HOST_EXPORTS) \
21848 $(POSTSTAGE1_HOST_EXPORTS) \
21849 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21850 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21851 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21852 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21854 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21855 case $(srcdir) in \
21856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21857 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21859 esac; \
21860 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21861 libsrcdir="$$s/libiberty"; \
21862 $(SHELL) $${libsrcdir}/configure \
21863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21864 --target=${target_alias} $${srcdiroption} \
21865 --with-build-libsubdir=$(HOST_SUBDIR) \
21866 $(STAGE2_CONFIGURE_FLAGS) \
21867 @extra_host_libiberty_configure_flags@
21868 @endif libiberty-bootstrap
21870 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21871 maybe-configure-stage3-libiberty:
21872 @if libiberty-bootstrap
21873 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21874 configure-stage3-libiberty:
21875 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21876 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21877 @r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 TFLAGS="$(STAGE3_TFLAGS)"; \
21880 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21881 $(HOST_EXPORTS) \
21882 $(POSTSTAGE1_HOST_EXPORTS) \
21883 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21884 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21885 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21886 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21888 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21889 case $(srcdir) in \
21890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21891 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21893 esac; \
21894 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21895 libsrcdir="$$s/libiberty"; \
21896 $(SHELL) $${libsrcdir}/configure \
21897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21898 --target=${target_alias} $${srcdiroption} \
21899 --with-build-libsubdir=$(HOST_SUBDIR) \
21900 $(STAGE3_CONFIGURE_FLAGS) \
21901 @extra_host_libiberty_configure_flags@
21902 @endif libiberty-bootstrap
21904 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21905 maybe-configure-stage4-libiberty:
21906 @if libiberty-bootstrap
21907 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21908 configure-stage4-libiberty:
21909 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21911 @r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 TFLAGS="$(STAGE4_TFLAGS)"; \
21914 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21915 $(HOST_EXPORTS) \
21916 $(POSTSTAGE1_HOST_EXPORTS) \
21917 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21918 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21919 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21920 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21922 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21923 case $(srcdir) in \
21924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21925 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21927 esac; \
21928 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21929 libsrcdir="$$s/libiberty"; \
21930 $(SHELL) $${libsrcdir}/configure \
21931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21932 --target=${target_alias} $${srcdiroption} \
21933 --with-build-libsubdir=$(HOST_SUBDIR) \
21934 $(STAGE4_CONFIGURE_FLAGS) \
21935 @extra_host_libiberty_configure_flags@
21936 @endif libiberty-bootstrap
21938 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21939 maybe-configure-stageprofile-libiberty:
21940 @if libiberty-bootstrap
21941 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21942 configure-stageprofile-libiberty:
21943 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21945 @r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21948 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21949 $(HOST_EXPORTS) \
21950 $(POSTSTAGE1_HOST_EXPORTS) \
21951 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21952 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21953 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21954 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21956 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21957 case $(srcdir) in \
21958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21959 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21961 esac; \
21962 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21963 libsrcdir="$$s/libiberty"; \
21964 $(SHELL) $${libsrcdir}/configure \
21965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21966 --target=${target_alias} $${srcdiroption} \
21967 --with-build-libsubdir=$(HOST_SUBDIR) \
21968 $(STAGEprofile_CONFIGURE_FLAGS) \
21969 @extra_host_libiberty_configure_flags@
21970 @endif libiberty-bootstrap
21972 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21973 maybe-configure-stagefeedback-libiberty:
21974 @if libiberty-bootstrap
21975 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21976 configure-stagefeedback-libiberty:
21977 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21979 @r=`${PWD_COMMAND}`; export r; \
21980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21981 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21982 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21983 $(HOST_EXPORTS) \
21984 $(POSTSTAGE1_HOST_EXPORTS) \
21985 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21986 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21987 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21988 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21990 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21991 case $(srcdir) in \
21992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21993 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21995 esac; \
21996 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21997 libsrcdir="$$s/libiberty"; \
21998 $(SHELL) $${libsrcdir}/configure \
21999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22000 --target=${target_alias} $${srcdiroption} \
22001 --with-build-libsubdir=$(HOST_SUBDIR) \
22002 $(STAGEfeedback_CONFIGURE_FLAGS) \
22003 @extra_host_libiberty_configure_flags@
22004 @endif libiberty-bootstrap
22010 .PHONY: all-libiberty maybe-all-libiberty
22011 maybe-all-libiberty:
22012 @if gcc-bootstrap
22013 all-libiberty: stage_current
22014 @endif gcc-bootstrap
22015 @if libiberty
22016 TARGET-libiberty=all
22017 maybe-all-libiberty: all-libiberty
22018 all-libiberty: configure-libiberty
22019 @r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22021 $(HOST_EXPORTS) \
22022 (cd $(HOST_SUBDIR)/libiberty && \
22023 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22024 $(TARGET-libiberty))
22025 @endif libiberty
22029 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22030 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22031 maybe-all-stage1-libiberty:
22032 maybe-clean-stage1-libiberty:
22033 @if libiberty-bootstrap
22034 maybe-all-stage1-libiberty: all-stage1-libiberty
22035 all-stage1: all-stage1-libiberty
22036 TARGET-stage1-libiberty = $(TARGET-libiberty)
22037 all-stage1-libiberty: configure-stage1-libiberty
22038 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22039 @r=`${PWD_COMMAND}`; export r; \
22040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22041 TFLAGS="$(STAGE1_TFLAGS)"; \
22042 $(HOST_EXPORTS) \
22043 cd $(HOST_SUBDIR)/libiberty && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22045 CFLAGS="$(STAGE1_CFLAGS)" \
22046 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22047 LIBCFLAGS="$(LIBCFLAGS)" \
22048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22051 $(EXTRA_HOST_FLAGS) \
22052 TFLAGS="$(STAGE1_TFLAGS)" \
22053 $(TARGET-stage1-libiberty)
22055 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22056 clean-stage1: clean-stage1-libiberty
22057 clean-stage1-libiberty:
22058 @if [ $(current_stage) = stage1 ]; then \
22059 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22060 else \
22061 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22062 $(MAKE) stage1-start; \
22063 fi; \
22064 cd $(HOST_SUBDIR)/libiberty && \
22065 $(MAKE) $(EXTRA_HOST_FLAGS) \
22066 clean
22067 @endif libiberty-bootstrap
22070 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22071 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22072 maybe-all-stage2-libiberty:
22073 maybe-clean-stage2-libiberty:
22074 @if libiberty-bootstrap
22075 maybe-all-stage2-libiberty: all-stage2-libiberty
22076 all-stage2: all-stage2-libiberty
22077 TARGET-stage2-libiberty = $(TARGET-libiberty)
22078 all-stage2-libiberty: configure-stage2-libiberty
22079 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22080 @r=`${PWD_COMMAND}`; export r; \
22081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22082 TFLAGS="$(STAGE2_TFLAGS)"; \
22083 $(HOST_EXPORTS) \
22084 $(POSTSTAGE1_HOST_EXPORTS) \
22085 cd $(HOST_SUBDIR)/libiberty && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22087 CFLAGS="$(STAGE2_CFLAGS)" \
22088 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22089 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22094 TFLAGS="$(STAGE2_TFLAGS)" \
22095 $(TARGET-stage2-libiberty)
22097 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22098 clean-stage2: clean-stage2-libiberty
22099 clean-stage2-libiberty:
22100 @if [ $(current_stage) = stage2 ]; then \
22101 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22102 else \
22103 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22104 $(MAKE) stage2-start; \
22105 fi; \
22106 cd $(HOST_SUBDIR)/libiberty && \
22107 $(MAKE) $(EXTRA_HOST_FLAGS) \
22108 $(POSTSTAGE1_FLAGS_TO_PASS) \
22109 clean
22110 @endif libiberty-bootstrap
22113 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22114 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22115 maybe-all-stage3-libiberty:
22116 maybe-clean-stage3-libiberty:
22117 @if libiberty-bootstrap
22118 maybe-all-stage3-libiberty: all-stage3-libiberty
22119 all-stage3: all-stage3-libiberty
22120 TARGET-stage3-libiberty = $(TARGET-libiberty)
22121 all-stage3-libiberty: configure-stage3-libiberty
22122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22123 @r=`${PWD_COMMAND}`; export r; \
22124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 TFLAGS="$(STAGE3_TFLAGS)"; \
22126 $(HOST_EXPORTS) \
22127 $(POSTSTAGE1_HOST_EXPORTS) \
22128 cd $(HOST_SUBDIR)/libiberty && \
22129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22130 CFLAGS="$(STAGE3_CFLAGS)" \
22131 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22132 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22137 TFLAGS="$(STAGE3_TFLAGS)" \
22138 $(TARGET-stage3-libiberty)
22140 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22141 clean-stage3: clean-stage3-libiberty
22142 clean-stage3-libiberty:
22143 @if [ $(current_stage) = stage3 ]; then \
22144 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22145 else \
22146 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22147 $(MAKE) stage3-start; \
22148 fi; \
22149 cd $(HOST_SUBDIR)/libiberty && \
22150 $(MAKE) $(EXTRA_HOST_FLAGS) \
22151 $(POSTSTAGE1_FLAGS_TO_PASS) \
22152 clean
22153 @endif libiberty-bootstrap
22156 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22157 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22158 maybe-all-stage4-libiberty:
22159 maybe-clean-stage4-libiberty:
22160 @if libiberty-bootstrap
22161 maybe-all-stage4-libiberty: all-stage4-libiberty
22162 all-stage4: all-stage4-libiberty
22163 TARGET-stage4-libiberty = $(TARGET-libiberty)
22164 all-stage4-libiberty: configure-stage4-libiberty
22165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22166 @r=`${PWD_COMMAND}`; export r; \
22167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22168 TFLAGS="$(STAGE4_TFLAGS)"; \
22169 $(HOST_EXPORTS) \
22170 $(POSTSTAGE1_HOST_EXPORTS) \
22171 cd $(HOST_SUBDIR)/libiberty && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22173 CFLAGS="$(STAGE4_CFLAGS)" \
22174 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22175 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22179 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22180 TFLAGS="$(STAGE4_TFLAGS)" \
22181 $(TARGET-stage4-libiberty)
22183 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22184 clean-stage4: clean-stage4-libiberty
22185 clean-stage4-libiberty:
22186 @if [ $(current_stage) = stage4 ]; then \
22187 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22188 else \
22189 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22190 $(MAKE) stage4-start; \
22191 fi; \
22192 cd $(HOST_SUBDIR)/libiberty && \
22193 $(MAKE) $(EXTRA_HOST_FLAGS) \
22194 $(POSTSTAGE1_FLAGS_TO_PASS) \
22195 clean
22196 @endif libiberty-bootstrap
22199 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22200 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22201 maybe-all-stageprofile-libiberty:
22202 maybe-clean-stageprofile-libiberty:
22203 @if libiberty-bootstrap
22204 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22205 all-stageprofile: all-stageprofile-libiberty
22206 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22207 all-stageprofile-libiberty: configure-stageprofile-libiberty
22208 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22209 @r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22212 $(HOST_EXPORTS) \
22213 $(POSTSTAGE1_HOST_EXPORTS) \
22214 cd $(HOST_SUBDIR)/libiberty && \
22215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22216 CFLAGS="$(STAGEprofile_CFLAGS)" \
22217 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22218 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22223 TFLAGS="$(STAGEprofile_TFLAGS)" \
22224 $(TARGET-stageprofile-libiberty)
22226 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22227 clean-stageprofile: clean-stageprofile-libiberty
22228 clean-stageprofile-libiberty:
22229 @if [ $(current_stage) = stageprofile ]; then \
22230 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22231 else \
22232 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22233 $(MAKE) stageprofile-start; \
22234 fi; \
22235 cd $(HOST_SUBDIR)/libiberty && \
22236 $(MAKE) $(EXTRA_HOST_FLAGS) \
22237 $(POSTSTAGE1_FLAGS_TO_PASS) \
22238 clean
22239 @endif libiberty-bootstrap
22242 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22243 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22244 maybe-all-stagefeedback-libiberty:
22245 maybe-clean-stagefeedback-libiberty:
22246 @if libiberty-bootstrap
22247 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22248 all-stagefeedback: all-stagefeedback-libiberty
22249 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22250 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22251 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22252 @r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22255 $(HOST_EXPORTS) \
22256 $(POSTSTAGE1_HOST_EXPORTS) \
22257 cd $(HOST_SUBDIR)/libiberty && \
22258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22259 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22260 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22261 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22266 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22267 $(TARGET-stagefeedback-libiberty)
22269 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22270 clean-stagefeedback: clean-stagefeedback-libiberty
22271 clean-stagefeedback-libiberty:
22272 @if [ $(current_stage) = stagefeedback ]; then \
22273 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22274 else \
22275 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22276 $(MAKE) stagefeedback-start; \
22277 fi; \
22278 cd $(HOST_SUBDIR)/libiberty && \
22279 $(MAKE) $(EXTRA_HOST_FLAGS) \
22280 $(POSTSTAGE1_FLAGS_TO_PASS) \
22281 clean
22282 @endif libiberty-bootstrap
22288 .PHONY: check-libiberty maybe-check-libiberty
22289 maybe-check-libiberty:
22290 @if libiberty
22291 maybe-check-libiberty: check-libiberty
22293 check-libiberty:
22294 @: $(MAKE); $(unstage)
22295 @r=`${PWD_COMMAND}`; export r; \
22296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22297 $(HOST_EXPORTS) \
22298 (cd $(HOST_SUBDIR)/libiberty && \
22299 $(MAKE) $(FLAGS_TO_PASS) check)
22301 @endif libiberty
22303 .PHONY: install-libiberty maybe-install-libiberty
22304 maybe-install-libiberty:
22305 @if libiberty
22306 maybe-install-libiberty: install-libiberty
22308 install-libiberty: installdirs
22309 @: $(MAKE); $(unstage)
22310 @r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22312 $(HOST_EXPORTS) \
22313 (cd $(HOST_SUBDIR)/libiberty && \
22314 $(MAKE) $(FLAGS_TO_PASS) install)
22316 @endif libiberty
22318 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22319 maybe-install-strip-libiberty:
22320 @if libiberty
22321 maybe-install-strip-libiberty: install-strip-libiberty
22323 install-strip-libiberty: installdirs
22324 @: $(MAKE); $(unstage)
22325 @r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 (cd $(HOST_SUBDIR)/libiberty && \
22329 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22331 @endif libiberty
22333 # Other targets (info, dvi, pdf, etc.)
22335 .PHONY: maybe-info-libiberty info-libiberty
22336 maybe-info-libiberty:
22337 @if libiberty
22338 maybe-info-libiberty: info-libiberty
22340 info-libiberty: \
22341 configure-libiberty
22342 @[ -f ./libiberty/Makefile ] || exit 0; \
22343 r=`${PWD_COMMAND}`; export r; \
22344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22345 $(HOST_EXPORTS) \
22346 for flag in $(EXTRA_HOST_FLAGS) ; do \
22347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22348 done; \
22349 echo "Doing info in libiberty" ; \
22350 (cd $(HOST_SUBDIR)/libiberty && \
22351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22353 "RANLIB=$${RANLIB}" \
22354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22355 info) \
22356 || exit 1
22358 @endif libiberty
22360 .PHONY: maybe-dvi-libiberty dvi-libiberty
22361 maybe-dvi-libiberty:
22362 @if libiberty
22363 maybe-dvi-libiberty: dvi-libiberty
22365 dvi-libiberty: \
22366 configure-libiberty
22367 @[ -f ./libiberty/Makefile ] || exit 0; \
22368 r=`${PWD_COMMAND}`; export r; \
22369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22370 $(HOST_EXPORTS) \
22371 for flag in $(EXTRA_HOST_FLAGS) ; do \
22372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22373 done; \
22374 echo "Doing dvi in libiberty" ; \
22375 (cd $(HOST_SUBDIR)/libiberty && \
22376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22378 "RANLIB=$${RANLIB}" \
22379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22380 dvi) \
22381 || exit 1
22383 @endif libiberty
22385 .PHONY: maybe-pdf-libiberty pdf-libiberty
22386 maybe-pdf-libiberty:
22387 @if libiberty
22388 maybe-pdf-libiberty: pdf-libiberty
22390 pdf-libiberty: \
22391 configure-libiberty
22392 @[ -f ./libiberty/Makefile ] || exit 0; \
22393 r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(HOST_EXPORTS) \
22396 for flag in $(EXTRA_HOST_FLAGS) ; do \
22397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22398 done; \
22399 echo "Doing pdf in libiberty" ; \
22400 (cd $(HOST_SUBDIR)/libiberty && \
22401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403 "RANLIB=$${RANLIB}" \
22404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22405 pdf) \
22406 || exit 1
22408 @endif libiberty
22410 .PHONY: maybe-html-libiberty html-libiberty
22411 maybe-html-libiberty:
22412 @if libiberty
22413 maybe-html-libiberty: html-libiberty
22415 html-libiberty: \
22416 configure-libiberty
22417 @[ -f ./libiberty/Makefile ] || exit 0; \
22418 r=`${PWD_COMMAND}`; export r; \
22419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 $(HOST_EXPORTS) \
22421 for flag in $(EXTRA_HOST_FLAGS) ; do \
22422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22423 done; \
22424 echo "Doing html in libiberty" ; \
22425 (cd $(HOST_SUBDIR)/libiberty && \
22426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22428 "RANLIB=$${RANLIB}" \
22429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22430 html) \
22431 || exit 1
22433 @endif libiberty
22435 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22436 maybe-TAGS-libiberty:
22437 @if libiberty
22438 maybe-TAGS-libiberty: TAGS-libiberty
22440 TAGS-libiberty: \
22441 configure-libiberty
22442 @[ -f ./libiberty/Makefile ] || exit 0; \
22443 r=`${PWD_COMMAND}`; export r; \
22444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22445 $(HOST_EXPORTS) \
22446 for flag in $(EXTRA_HOST_FLAGS) ; do \
22447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22448 done; \
22449 echo "Doing TAGS in libiberty" ; \
22450 (cd $(HOST_SUBDIR)/libiberty && \
22451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22453 "RANLIB=$${RANLIB}" \
22454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22455 TAGS) \
22456 || exit 1
22458 @endif libiberty
22460 .PHONY: maybe-install-info-libiberty install-info-libiberty
22461 maybe-install-info-libiberty:
22462 @if libiberty
22463 maybe-install-info-libiberty: install-info-libiberty
22465 install-info-libiberty: \
22466 configure-libiberty \
22467 info-libiberty
22468 @[ -f ./libiberty/Makefile ] || exit 0; \
22469 r=`${PWD_COMMAND}`; export r; \
22470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22471 $(HOST_EXPORTS) \
22472 for flag in $(EXTRA_HOST_FLAGS) ; do \
22473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22474 done; \
22475 echo "Doing install-info in libiberty" ; \
22476 (cd $(HOST_SUBDIR)/libiberty && \
22477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22479 "RANLIB=$${RANLIB}" \
22480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22481 install-info) \
22482 || exit 1
22484 @endif libiberty
22486 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22487 maybe-install-pdf-libiberty:
22488 @if libiberty
22489 maybe-install-pdf-libiberty: install-pdf-libiberty
22491 install-pdf-libiberty: \
22492 configure-libiberty \
22493 pdf-libiberty
22494 @[ -f ./libiberty/Makefile ] || exit 0; \
22495 r=`${PWD_COMMAND}`; export r; \
22496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22497 $(HOST_EXPORTS) \
22498 for flag in $(EXTRA_HOST_FLAGS) ; do \
22499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22500 done; \
22501 echo "Doing install-pdf in libiberty" ; \
22502 (cd $(HOST_SUBDIR)/libiberty && \
22503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22505 "RANLIB=$${RANLIB}" \
22506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22507 install-pdf) \
22508 || exit 1
22510 @endif libiberty
22512 .PHONY: maybe-install-html-libiberty install-html-libiberty
22513 maybe-install-html-libiberty:
22514 @if libiberty
22515 maybe-install-html-libiberty: install-html-libiberty
22517 install-html-libiberty: \
22518 configure-libiberty \
22519 html-libiberty
22520 @[ -f ./libiberty/Makefile ] || exit 0; \
22521 r=`${PWD_COMMAND}`; export r; \
22522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22523 $(HOST_EXPORTS) \
22524 for flag in $(EXTRA_HOST_FLAGS) ; do \
22525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22526 done; \
22527 echo "Doing install-html in libiberty" ; \
22528 (cd $(HOST_SUBDIR)/libiberty && \
22529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22531 "RANLIB=$${RANLIB}" \
22532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22533 install-html) \
22534 || exit 1
22536 @endif libiberty
22538 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22539 maybe-installcheck-libiberty:
22540 @if libiberty
22541 maybe-installcheck-libiberty: installcheck-libiberty
22543 installcheck-libiberty: \
22544 configure-libiberty
22545 @[ -f ./libiberty/Makefile ] || exit 0; \
22546 r=`${PWD_COMMAND}`; export r; \
22547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22548 $(HOST_EXPORTS) \
22549 for flag in $(EXTRA_HOST_FLAGS) ; do \
22550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22551 done; \
22552 echo "Doing installcheck in libiberty" ; \
22553 (cd $(HOST_SUBDIR)/libiberty && \
22554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22556 "RANLIB=$${RANLIB}" \
22557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22558 installcheck) \
22559 || exit 1
22561 @endif libiberty
22563 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22564 maybe-mostlyclean-libiberty:
22565 @if libiberty
22566 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22568 mostlyclean-libiberty:
22569 @[ -f ./libiberty/Makefile ] || exit 0; \
22570 r=`${PWD_COMMAND}`; export r; \
22571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22572 $(HOST_EXPORTS) \
22573 for flag in $(EXTRA_HOST_FLAGS) ; do \
22574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22575 done; \
22576 echo "Doing mostlyclean in libiberty" ; \
22577 (cd $(HOST_SUBDIR)/libiberty && \
22578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22580 "RANLIB=$${RANLIB}" \
22581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22582 mostlyclean) \
22583 || exit 1
22585 @endif libiberty
22587 .PHONY: maybe-clean-libiberty clean-libiberty
22588 maybe-clean-libiberty:
22589 @if libiberty
22590 maybe-clean-libiberty: clean-libiberty
22592 clean-libiberty:
22593 @[ -f ./libiberty/Makefile ] || exit 0; \
22594 r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 $(HOST_EXPORTS) \
22597 for flag in $(EXTRA_HOST_FLAGS) ; do \
22598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22599 done; \
22600 echo "Doing clean in libiberty" ; \
22601 (cd $(HOST_SUBDIR)/libiberty && \
22602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604 "RANLIB=$${RANLIB}" \
22605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22606 clean) \
22607 || exit 1
22609 @endif libiberty
22611 .PHONY: maybe-distclean-libiberty distclean-libiberty
22612 maybe-distclean-libiberty:
22613 @if libiberty
22614 maybe-distclean-libiberty: distclean-libiberty
22616 distclean-libiberty:
22617 @[ -f ./libiberty/Makefile ] || exit 0; \
22618 r=`${PWD_COMMAND}`; export r; \
22619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22620 $(HOST_EXPORTS) \
22621 for flag in $(EXTRA_HOST_FLAGS) ; do \
22622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22623 done; \
22624 echo "Doing distclean in libiberty" ; \
22625 (cd $(HOST_SUBDIR)/libiberty && \
22626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22628 "RANLIB=$${RANLIB}" \
22629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22630 distclean) \
22631 || exit 1
22633 @endif libiberty
22635 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22636 maybe-maintainer-clean-libiberty:
22637 @if libiberty
22638 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22640 maintainer-clean-libiberty:
22641 @[ -f ./libiberty/Makefile ] || exit 0; \
22642 r=`${PWD_COMMAND}`; export r; \
22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 $(HOST_EXPORTS) \
22645 for flag in $(EXTRA_HOST_FLAGS) ; do \
22646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22647 done; \
22648 echo "Doing maintainer-clean in libiberty" ; \
22649 (cd $(HOST_SUBDIR)/libiberty && \
22650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22652 "RANLIB=$${RANLIB}" \
22653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22654 maintainer-clean) \
22655 || exit 1
22657 @endif libiberty
22661 .PHONY: configure-libiconv maybe-configure-libiconv
22662 maybe-configure-libiconv:
22663 @if gcc-bootstrap
22664 configure-libiconv: stage_current
22665 @endif gcc-bootstrap
22666 @if libiconv
22667 maybe-configure-libiconv: configure-libiconv
22668 configure-libiconv:
22669 @: $(MAKE); $(unstage)
22670 @r=`${PWD_COMMAND}`; export r; \
22671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22672 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22674 $(HOST_EXPORTS) \
22675 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22676 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22677 case $(srcdir) in \
22678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22679 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22681 esac; \
22682 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22683 libsrcdir="$$s/libiconv"; \
22684 $(SHELL) $${libsrcdir}/configure \
22685 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22686 --target=${target_alias} $${srcdiroption} --disable-shared \
22687 || exit 1
22688 @endif libiconv
22694 .PHONY: all-libiconv maybe-all-libiconv
22695 maybe-all-libiconv:
22696 @if gcc-bootstrap
22697 all-libiconv: stage_current
22698 @endif gcc-bootstrap
22699 @if libiconv
22700 TARGET-libiconv=all
22701 maybe-all-libiconv: all-libiconv
22702 all-libiconv: configure-libiconv
22703 @: $(MAKE); $(unstage)
22704 @r=`${PWD_COMMAND}`; export r; \
22705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706 $(HOST_EXPORTS) \
22707 (cd $(HOST_SUBDIR)/libiconv && \
22708 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22709 $(TARGET-libiconv))
22710 @endif libiconv
22715 .PHONY: check-libiconv maybe-check-libiconv
22716 maybe-check-libiconv:
22717 @if libiconv
22718 maybe-check-libiconv: check-libiconv
22720 check-libiconv:
22721 @: $(MAKE); $(unstage)
22722 @r=`${PWD_COMMAND}`; export r; \
22723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 $(HOST_EXPORTS) \
22725 (cd $(HOST_SUBDIR)/libiconv && \
22726 $(MAKE) $(FLAGS_TO_PASS) check)
22728 @endif libiconv
22730 .PHONY: install-libiconv maybe-install-libiconv
22731 maybe-install-libiconv:
22732 @if libiconv
22733 maybe-install-libiconv: install-libiconv
22735 install-libiconv:
22737 @endif libiconv
22739 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22740 maybe-install-strip-libiconv:
22741 @if libiconv
22742 maybe-install-strip-libiconv: install-strip-libiconv
22744 install-strip-libiconv:
22746 @endif libiconv
22748 # Other targets (info, dvi, pdf, etc.)
22750 .PHONY: maybe-info-libiconv info-libiconv
22751 maybe-info-libiconv:
22752 @if libiconv
22753 maybe-info-libiconv: info-libiconv
22755 info-libiconv: \
22756 configure-libiconv
22757 @: $(MAKE); $(unstage)
22758 @[ -f ./libiconv/Makefile ] || exit 0; \
22759 r=`${PWD_COMMAND}`; export r; \
22760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22761 $(HOST_EXPORTS) \
22762 for flag in $(EXTRA_HOST_FLAGS) ; do \
22763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22764 done; \
22765 echo "Doing info in libiconv" ; \
22766 (cd $(HOST_SUBDIR)/libiconv && \
22767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22769 "RANLIB=$${RANLIB}" \
22770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22771 info) \
22772 || exit 1
22774 @endif libiconv
22776 .PHONY: maybe-dvi-libiconv dvi-libiconv
22777 maybe-dvi-libiconv:
22778 @if libiconv
22779 maybe-dvi-libiconv: dvi-libiconv
22781 dvi-libiconv: \
22782 configure-libiconv
22783 @: $(MAKE); $(unstage)
22784 @[ -f ./libiconv/Makefile ] || exit 0; \
22785 r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22787 $(HOST_EXPORTS) \
22788 for flag in $(EXTRA_HOST_FLAGS) ; do \
22789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22790 done; \
22791 echo "Doing dvi in libiconv" ; \
22792 (cd $(HOST_SUBDIR)/libiconv && \
22793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22795 "RANLIB=$${RANLIB}" \
22796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22797 dvi) \
22798 || exit 1
22800 @endif libiconv
22802 .PHONY: maybe-pdf-libiconv pdf-libiconv
22803 maybe-pdf-libiconv:
22804 @if libiconv
22805 maybe-pdf-libiconv: pdf-libiconv
22807 pdf-libiconv: \
22808 configure-libiconv
22809 @: $(MAKE); $(unstage)
22810 @[ -f ./libiconv/Makefile ] || exit 0; \
22811 r=`${PWD_COMMAND}`; export r; \
22812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813 $(HOST_EXPORTS) \
22814 for flag in $(EXTRA_HOST_FLAGS) ; do \
22815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22816 done; \
22817 echo "Doing pdf in libiconv" ; \
22818 (cd $(HOST_SUBDIR)/libiconv && \
22819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22821 "RANLIB=$${RANLIB}" \
22822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22823 pdf) \
22824 || exit 1
22826 @endif libiconv
22828 .PHONY: maybe-html-libiconv html-libiconv
22829 maybe-html-libiconv:
22830 @if libiconv
22831 maybe-html-libiconv: html-libiconv
22833 html-libiconv: \
22834 configure-libiconv
22835 @: $(MAKE); $(unstage)
22836 @[ -f ./libiconv/Makefile ] || exit 0; \
22837 r=`${PWD_COMMAND}`; export r; \
22838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22839 $(HOST_EXPORTS) \
22840 for flag in $(EXTRA_HOST_FLAGS) ; do \
22841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22842 done; \
22843 echo "Doing html in libiconv" ; \
22844 (cd $(HOST_SUBDIR)/libiconv && \
22845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22847 "RANLIB=$${RANLIB}" \
22848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22849 html) \
22850 || exit 1
22852 @endif libiconv
22854 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22855 maybe-TAGS-libiconv:
22856 @if libiconv
22857 maybe-TAGS-libiconv: TAGS-libiconv
22859 TAGS-libiconv: \
22860 configure-libiconv
22861 @: $(MAKE); $(unstage)
22862 @[ -f ./libiconv/Makefile ] || exit 0; \
22863 r=`${PWD_COMMAND}`; export r; \
22864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22865 $(HOST_EXPORTS) \
22866 for flag in $(EXTRA_HOST_FLAGS) ; do \
22867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22868 done; \
22869 echo "Doing TAGS in libiconv" ; \
22870 (cd $(HOST_SUBDIR)/libiconv && \
22871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22873 "RANLIB=$${RANLIB}" \
22874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22875 TAGS) \
22876 || exit 1
22878 @endif libiconv
22880 .PHONY: maybe-install-info-libiconv install-info-libiconv
22881 maybe-install-info-libiconv:
22882 @if libiconv
22883 maybe-install-info-libiconv: install-info-libiconv
22885 # libiconv doesn't support install-info.
22886 install-info-libiconv:
22888 @endif libiconv
22890 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22891 maybe-install-pdf-libiconv:
22892 @if libiconv
22893 maybe-install-pdf-libiconv: install-pdf-libiconv
22895 # libiconv doesn't support install-pdf.
22896 install-pdf-libiconv:
22898 @endif libiconv
22900 .PHONY: maybe-install-html-libiconv install-html-libiconv
22901 maybe-install-html-libiconv:
22902 @if libiconv
22903 maybe-install-html-libiconv: install-html-libiconv
22905 # libiconv doesn't support install-html.
22906 install-html-libiconv:
22908 @endif libiconv
22910 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22911 maybe-installcheck-libiconv:
22912 @if libiconv
22913 maybe-installcheck-libiconv: installcheck-libiconv
22915 installcheck-libiconv: \
22916 configure-libiconv
22917 @: $(MAKE); $(unstage)
22918 @[ -f ./libiconv/Makefile ] || exit 0; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921 $(HOST_EXPORTS) \
22922 for flag in $(EXTRA_HOST_FLAGS) ; do \
22923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22924 done; \
22925 echo "Doing installcheck in libiconv" ; \
22926 (cd $(HOST_SUBDIR)/libiconv && \
22927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22929 "RANLIB=$${RANLIB}" \
22930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22931 installcheck) \
22932 || exit 1
22934 @endif libiconv
22936 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22937 maybe-mostlyclean-libiconv:
22938 @if libiconv
22939 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22941 mostlyclean-libiconv:
22942 @: $(MAKE); $(unstage)
22943 @[ -f ./libiconv/Makefile ] || exit 0; \
22944 r=`${PWD_COMMAND}`; export r; \
22945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22946 $(HOST_EXPORTS) \
22947 for flag in $(EXTRA_HOST_FLAGS) ; do \
22948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22949 done; \
22950 echo "Doing mostlyclean in libiconv" ; \
22951 (cd $(HOST_SUBDIR)/libiconv && \
22952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22954 "RANLIB=$${RANLIB}" \
22955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22956 mostlyclean) \
22957 || exit 1
22959 @endif libiconv
22961 .PHONY: maybe-clean-libiconv clean-libiconv
22962 maybe-clean-libiconv:
22963 @if libiconv
22964 maybe-clean-libiconv: clean-libiconv
22966 clean-libiconv:
22967 @: $(MAKE); $(unstage)
22968 @[ -f ./libiconv/Makefile ] || exit 0; \
22969 r=`${PWD_COMMAND}`; export r; \
22970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22971 $(HOST_EXPORTS) \
22972 for flag in $(EXTRA_HOST_FLAGS) ; do \
22973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22974 done; \
22975 echo "Doing clean in libiconv" ; \
22976 (cd $(HOST_SUBDIR)/libiconv && \
22977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22979 "RANLIB=$${RANLIB}" \
22980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22981 clean) \
22982 || exit 1
22984 @endif libiconv
22986 .PHONY: maybe-distclean-libiconv distclean-libiconv
22987 maybe-distclean-libiconv:
22988 @if libiconv
22989 maybe-distclean-libiconv: distclean-libiconv
22991 distclean-libiconv:
22992 @: $(MAKE); $(unstage)
22993 @[ -f ./libiconv/Makefile ] || exit 0; \
22994 r=`${PWD_COMMAND}`; export r; \
22995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22996 $(HOST_EXPORTS) \
22997 for flag in $(EXTRA_HOST_FLAGS) ; do \
22998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22999 done; \
23000 echo "Doing distclean in libiconv" ; \
23001 (cd $(HOST_SUBDIR)/libiconv && \
23002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23004 "RANLIB=$${RANLIB}" \
23005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23006 distclean) \
23007 || exit 1
23009 @endif libiconv
23011 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23012 maybe-maintainer-clean-libiconv:
23013 @if libiconv
23014 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23016 maintainer-clean-libiconv:
23017 @: $(MAKE); $(unstage)
23018 @[ -f ./libiconv/Makefile ] || exit 0; \
23019 r=`${PWD_COMMAND}`; export r; \
23020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23021 $(HOST_EXPORTS) \
23022 for flag in $(EXTRA_HOST_FLAGS) ; do \
23023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23024 done; \
23025 echo "Doing maintainer-clean in libiconv" ; \
23026 (cd $(HOST_SUBDIR)/libiconv && \
23027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23029 "RANLIB=$${RANLIB}" \
23030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23031 maintainer-clean) \
23032 || exit 1
23034 @endif libiconv
23038 .PHONY: configure-m4 maybe-configure-m4
23039 maybe-configure-m4:
23040 @if gcc-bootstrap
23041 configure-m4: stage_current
23042 @endif gcc-bootstrap
23043 @if m4
23044 maybe-configure-m4: configure-m4
23045 configure-m4:
23046 @: $(MAKE); $(unstage)
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23051 $(HOST_EXPORTS) \
23052 echo Configuring in $(HOST_SUBDIR)/m4; \
23053 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23054 case $(srcdir) in \
23055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23056 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23058 esac; \
23059 srcdiroption="--srcdir=$${topdir}/m4"; \
23060 libsrcdir="$$s/m4"; \
23061 $(SHELL) $${libsrcdir}/configure \
23062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23063 --target=${target_alias} $${srcdiroption} \
23064 || exit 1
23065 @endif m4
23071 .PHONY: all-m4 maybe-all-m4
23072 maybe-all-m4:
23073 @if gcc-bootstrap
23074 all-m4: stage_current
23075 @endif gcc-bootstrap
23076 @if m4
23077 TARGET-m4=all
23078 maybe-all-m4: all-m4
23079 all-m4: configure-m4
23080 @: $(MAKE); $(unstage)
23081 @r=`${PWD_COMMAND}`; export r; \
23082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23083 $(HOST_EXPORTS) \
23084 (cd $(HOST_SUBDIR)/m4 && \
23085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23086 $(TARGET-m4))
23087 @endif m4
23092 .PHONY: check-m4 maybe-check-m4
23093 maybe-check-m4:
23094 @if m4
23095 maybe-check-m4: check-m4
23097 check-m4:
23098 @: $(MAKE); $(unstage)
23099 @r=`${PWD_COMMAND}`; export r; \
23100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23101 $(HOST_EXPORTS) \
23102 (cd $(HOST_SUBDIR)/m4 && \
23103 $(MAKE) $(FLAGS_TO_PASS) check)
23105 @endif m4
23107 .PHONY: install-m4 maybe-install-m4
23108 maybe-install-m4:
23109 @if m4
23110 maybe-install-m4: install-m4
23112 install-m4: installdirs
23113 @: $(MAKE); $(unstage)
23114 @r=`${PWD_COMMAND}`; export r; \
23115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23116 $(HOST_EXPORTS) \
23117 (cd $(HOST_SUBDIR)/m4 && \
23118 $(MAKE) $(FLAGS_TO_PASS) install)
23120 @endif m4
23122 .PHONY: install-strip-m4 maybe-install-strip-m4
23123 maybe-install-strip-m4:
23124 @if m4
23125 maybe-install-strip-m4: install-strip-m4
23127 install-strip-m4: installdirs
23128 @: $(MAKE); $(unstage)
23129 @r=`${PWD_COMMAND}`; export r; \
23130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23131 $(HOST_EXPORTS) \
23132 (cd $(HOST_SUBDIR)/m4 && \
23133 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23135 @endif m4
23137 # Other targets (info, dvi, pdf, etc.)
23139 .PHONY: maybe-info-m4 info-m4
23140 maybe-info-m4:
23141 @if m4
23142 maybe-info-m4: info-m4
23144 info-m4: \
23145 configure-m4
23146 @: $(MAKE); $(unstage)
23147 @[ -f ./m4/Makefile ] || exit 0; \
23148 r=`${PWD_COMMAND}`; export r; \
23149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 $(HOST_EXPORTS) \
23151 for flag in $(EXTRA_HOST_FLAGS) ; do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 done; \
23154 echo "Doing info in m4" ; \
23155 (cd $(HOST_SUBDIR)/m4 && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23160 info) \
23161 || exit 1
23163 @endif m4
23165 .PHONY: maybe-dvi-m4 dvi-m4
23166 maybe-dvi-m4:
23167 @if m4
23168 maybe-dvi-m4: dvi-m4
23170 dvi-m4: \
23171 configure-m4
23172 @: $(MAKE); $(unstage)
23173 @[ -f ./m4/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) ; do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing dvi in m4" ; \
23181 (cd $(HOST_SUBDIR)/m4 && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23186 dvi) \
23187 || exit 1
23189 @endif m4
23191 .PHONY: maybe-pdf-m4 pdf-m4
23192 maybe-pdf-m4:
23193 @if m4
23194 maybe-pdf-m4: pdf-m4
23196 pdf-m4: \
23197 configure-m4
23198 @: $(MAKE); $(unstage)
23199 @[ -f ./m4/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(HOST_EXPORTS) \
23203 for flag in $(EXTRA_HOST_FLAGS) ; do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23205 done; \
23206 echo "Doing pdf in m4" ; \
23207 (cd $(HOST_SUBDIR)/m4 && \
23208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23210 "RANLIB=$${RANLIB}" \
23211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23212 pdf) \
23213 || exit 1
23215 @endif m4
23217 .PHONY: maybe-html-m4 html-m4
23218 maybe-html-m4:
23219 @if m4
23220 maybe-html-m4: html-m4
23222 html-m4: \
23223 configure-m4
23224 @: $(MAKE); $(unstage)
23225 @[ -f ./m4/Makefile ] || exit 0; \
23226 r=`${PWD_COMMAND}`; export r; \
23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23228 $(HOST_EXPORTS) \
23229 for flag in $(EXTRA_HOST_FLAGS) ; do \
23230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23231 done; \
23232 echo "Doing html in m4" ; \
23233 (cd $(HOST_SUBDIR)/m4 && \
23234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23236 "RANLIB=$${RANLIB}" \
23237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23238 html) \
23239 || exit 1
23241 @endif m4
23243 .PHONY: maybe-TAGS-m4 TAGS-m4
23244 maybe-TAGS-m4:
23245 @if m4
23246 maybe-TAGS-m4: TAGS-m4
23248 TAGS-m4: \
23249 configure-m4
23250 @: $(MAKE); $(unstage)
23251 @[ -f ./m4/Makefile ] || exit 0; \
23252 r=`${PWD_COMMAND}`; export r; \
23253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23254 $(HOST_EXPORTS) \
23255 for flag in $(EXTRA_HOST_FLAGS) ; do \
23256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23257 done; \
23258 echo "Doing TAGS in m4" ; \
23259 (cd $(HOST_SUBDIR)/m4 && \
23260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23262 "RANLIB=$${RANLIB}" \
23263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23264 TAGS) \
23265 || exit 1
23267 @endif m4
23269 .PHONY: maybe-install-info-m4 install-info-m4
23270 maybe-install-info-m4:
23271 @if m4
23272 maybe-install-info-m4: install-info-m4
23274 install-info-m4: \
23275 configure-m4 \
23276 info-m4
23277 @: $(MAKE); $(unstage)
23278 @[ -f ./m4/Makefile ] || exit 0; \
23279 r=`${PWD_COMMAND}`; export r; \
23280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23281 $(HOST_EXPORTS) \
23282 for flag in $(EXTRA_HOST_FLAGS) ; do \
23283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23284 done; \
23285 echo "Doing install-info in m4" ; \
23286 (cd $(HOST_SUBDIR)/m4 && \
23287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23289 "RANLIB=$${RANLIB}" \
23290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23291 install-info) \
23292 || exit 1
23294 @endif m4
23296 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23297 maybe-install-pdf-m4:
23298 @if m4
23299 maybe-install-pdf-m4: install-pdf-m4
23301 install-pdf-m4: \
23302 configure-m4 \
23303 pdf-m4
23304 @: $(MAKE); $(unstage)
23305 @[ -f ./m4/Makefile ] || exit 0; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 for flag in $(EXTRA_HOST_FLAGS) ; do \
23310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 done; \
23312 echo "Doing install-pdf in m4" ; \
23313 (cd $(HOST_SUBDIR)/m4 && \
23314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23316 "RANLIB=$${RANLIB}" \
23317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23318 install-pdf) \
23319 || exit 1
23321 @endif m4
23323 .PHONY: maybe-install-html-m4 install-html-m4
23324 maybe-install-html-m4:
23325 @if m4
23326 maybe-install-html-m4: install-html-m4
23328 install-html-m4: \
23329 configure-m4 \
23330 html-m4
23331 @: $(MAKE); $(unstage)
23332 @[ -f ./m4/Makefile ] || exit 0; \
23333 r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(HOST_EXPORTS) \
23336 for flag in $(EXTRA_HOST_FLAGS) ; do \
23337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23338 done; \
23339 echo "Doing install-html in m4" ; \
23340 (cd $(HOST_SUBDIR)/m4 && \
23341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23343 "RANLIB=$${RANLIB}" \
23344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23345 install-html) \
23346 || exit 1
23348 @endif m4
23350 .PHONY: maybe-installcheck-m4 installcheck-m4
23351 maybe-installcheck-m4:
23352 @if m4
23353 maybe-installcheck-m4: installcheck-m4
23355 installcheck-m4: \
23356 configure-m4
23357 @: $(MAKE); $(unstage)
23358 @[ -f ./m4/Makefile ] || exit 0; \
23359 r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 for flag in $(EXTRA_HOST_FLAGS) ; do \
23363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23364 done; \
23365 echo "Doing installcheck in m4" ; \
23366 (cd $(HOST_SUBDIR)/m4 && \
23367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23369 "RANLIB=$${RANLIB}" \
23370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23371 installcheck) \
23372 || exit 1
23374 @endif m4
23376 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23377 maybe-mostlyclean-m4:
23378 @if m4
23379 maybe-mostlyclean-m4: mostlyclean-m4
23381 mostlyclean-m4:
23382 @: $(MAKE); $(unstage)
23383 @[ -f ./m4/Makefile ] || exit 0; \
23384 r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(HOST_EXPORTS) \
23387 for flag in $(EXTRA_HOST_FLAGS) ; do \
23388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23389 done; \
23390 echo "Doing mostlyclean in m4" ; \
23391 (cd $(HOST_SUBDIR)/m4 && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23396 mostlyclean) \
23397 || exit 1
23399 @endif m4
23401 .PHONY: maybe-clean-m4 clean-m4
23402 maybe-clean-m4:
23403 @if m4
23404 maybe-clean-m4: clean-m4
23406 clean-m4:
23407 @: $(MAKE); $(unstage)
23408 @[ -f ./m4/Makefile ] || exit 0; \
23409 r=`${PWD_COMMAND}`; export r; \
23410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23411 $(HOST_EXPORTS) \
23412 for flag in $(EXTRA_HOST_FLAGS) ; do \
23413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23414 done; \
23415 echo "Doing clean in m4" ; \
23416 (cd $(HOST_SUBDIR)/m4 && \
23417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23419 "RANLIB=$${RANLIB}" \
23420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23421 clean) \
23422 || exit 1
23424 @endif m4
23426 .PHONY: maybe-distclean-m4 distclean-m4
23427 maybe-distclean-m4:
23428 @if m4
23429 maybe-distclean-m4: distclean-m4
23431 distclean-m4:
23432 @: $(MAKE); $(unstage)
23433 @[ -f ./m4/Makefile ] || exit 0; \
23434 r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 for flag in $(EXTRA_HOST_FLAGS) ; do \
23438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23439 done; \
23440 echo "Doing distclean in m4" ; \
23441 (cd $(HOST_SUBDIR)/m4 && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23446 distclean) \
23447 || exit 1
23449 @endif m4
23451 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23452 maybe-maintainer-clean-m4:
23453 @if m4
23454 maybe-maintainer-clean-m4: maintainer-clean-m4
23456 maintainer-clean-m4:
23457 @: $(MAKE); $(unstage)
23458 @[ -f ./m4/Makefile ] || exit 0; \
23459 r=`${PWD_COMMAND}`; export r; \
23460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23461 $(HOST_EXPORTS) \
23462 for flag in $(EXTRA_HOST_FLAGS) ; do \
23463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23464 done; \
23465 echo "Doing maintainer-clean in m4" ; \
23466 (cd $(HOST_SUBDIR)/m4 && \
23467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23469 "RANLIB=$${RANLIB}" \
23470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23471 maintainer-clean) \
23472 || exit 1
23474 @endif m4
23478 .PHONY: configure-readline maybe-configure-readline
23479 maybe-configure-readline:
23480 @if gcc-bootstrap
23481 configure-readline: stage_current
23482 @endif gcc-bootstrap
23483 @if readline
23484 maybe-configure-readline: configure-readline
23485 configure-readline:
23486 @: $(MAKE); $(unstage)
23487 @r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23491 $(HOST_EXPORTS) \
23492 echo Configuring in $(HOST_SUBDIR)/readline; \
23493 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23494 case $(srcdir) in \
23495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23496 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23498 esac; \
23499 srcdiroption="--srcdir=$${topdir}/readline"; \
23500 libsrcdir="$$s/readline"; \
23501 $(SHELL) $${libsrcdir}/configure \
23502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23503 --target=${target_alias} $${srcdiroption} \
23504 || exit 1
23505 @endif readline
23511 .PHONY: all-readline maybe-all-readline
23512 maybe-all-readline:
23513 @if gcc-bootstrap
23514 all-readline: stage_current
23515 @endif gcc-bootstrap
23516 @if readline
23517 TARGET-readline=all
23518 maybe-all-readline: all-readline
23519 all-readline: configure-readline
23520 @: $(MAKE); $(unstage)
23521 @r=`${PWD_COMMAND}`; export r; \
23522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23523 $(HOST_EXPORTS) \
23524 (cd $(HOST_SUBDIR)/readline && \
23525 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23526 $(TARGET-readline))
23527 @endif readline
23532 .PHONY: check-readline maybe-check-readline
23533 maybe-check-readline:
23534 @if readline
23535 maybe-check-readline: check-readline
23537 check-readline:
23538 @: $(MAKE); $(unstage)
23539 @r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 $(HOST_EXPORTS) \
23542 (cd $(HOST_SUBDIR)/readline && \
23543 $(MAKE) $(FLAGS_TO_PASS) check)
23545 @endif readline
23547 .PHONY: install-readline maybe-install-readline
23548 maybe-install-readline:
23549 @if readline
23550 maybe-install-readline: install-readline
23552 install-readline: installdirs
23553 @: $(MAKE); $(unstage)
23554 @r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(HOST_EXPORTS) \
23557 (cd $(HOST_SUBDIR)/readline && \
23558 $(MAKE) $(FLAGS_TO_PASS) install)
23560 @endif readline
23562 .PHONY: install-strip-readline maybe-install-strip-readline
23563 maybe-install-strip-readline:
23564 @if readline
23565 maybe-install-strip-readline: install-strip-readline
23567 install-strip-readline: installdirs
23568 @: $(MAKE); $(unstage)
23569 @r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 $(HOST_EXPORTS) \
23572 (cd $(HOST_SUBDIR)/readline && \
23573 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23575 @endif readline
23577 # Other targets (info, dvi, pdf, etc.)
23579 .PHONY: maybe-info-readline info-readline
23580 maybe-info-readline:
23581 @if readline
23582 maybe-info-readline: info-readline
23584 info-readline: \
23585 configure-readline
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./readline/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing info in readline" ; \
23595 (cd $(HOST_SUBDIR)/readline && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23600 info) \
23601 || exit 1
23603 @endif readline
23605 .PHONY: maybe-dvi-readline dvi-readline
23606 maybe-dvi-readline:
23607 @if readline
23608 maybe-dvi-readline: dvi-readline
23610 dvi-readline: \
23611 configure-readline
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./readline/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23619 done; \
23620 echo "Doing dvi in readline" ; \
23621 (cd $(HOST_SUBDIR)/readline && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23626 dvi) \
23627 || exit 1
23629 @endif readline
23631 .PHONY: maybe-pdf-readline pdf-readline
23632 maybe-pdf-readline:
23633 @if readline
23634 maybe-pdf-readline: pdf-readline
23636 pdf-readline: \
23637 configure-readline
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./readline/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing pdf in readline" ; \
23647 (cd $(HOST_SUBDIR)/readline && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23652 pdf) \
23653 || exit 1
23655 @endif readline
23657 .PHONY: maybe-html-readline html-readline
23658 maybe-html-readline:
23659 @if readline
23660 maybe-html-readline: html-readline
23662 html-readline: \
23663 configure-readline
23664 @: $(MAKE); $(unstage)
23665 @[ -f ./readline/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing html in readline" ; \
23673 (cd $(HOST_SUBDIR)/readline && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23678 html) \
23679 || exit 1
23681 @endif readline
23683 .PHONY: maybe-TAGS-readline TAGS-readline
23684 maybe-TAGS-readline:
23685 @if readline
23686 maybe-TAGS-readline: TAGS-readline
23688 TAGS-readline: \
23689 configure-readline
23690 @: $(MAKE); $(unstage)
23691 @[ -f ./readline/Makefile ] || exit 0; \
23692 r=`${PWD_COMMAND}`; export r; \
23693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23694 $(HOST_EXPORTS) \
23695 for flag in $(EXTRA_HOST_FLAGS) ; do \
23696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23697 done; \
23698 echo "Doing TAGS in readline" ; \
23699 (cd $(HOST_SUBDIR)/readline && \
23700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23702 "RANLIB=$${RANLIB}" \
23703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23704 TAGS) \
23705 || exit 1
23707 @endif readline
23709 .PHONY: maybe-install-info-readline install-info-readline
23710 maybe-install-info-readline:
23711 @if readline
23712 maybe-install-info-readline: install-info-readline
23714 install-info-readline: \
23715 configure-readline \
23716 info-readline
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./readline/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing install-info in readline" ; \
23726 (cd $(HOST_SUBDIR)/readline && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23731 install-info) \
23732 || exit 1
23734 @endif readline
23736 .PHONY: maybe-install-pdf-readline install-pdf-readline
23737 maybe-install-pdf-readline:
23738 @if readline
23739 maybe-install-pdf-readline: install-pdf-readline
23741 install-pdf-readline: \
23742 configure-readline \
23743 pdf-readline
23744 @: $(MAKE); $(unstage)
23745 @[ -f ./readline/Makefile ] || exit 0; \
23746 r=`${PWD_COMMAND}`; export r; \
23747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23748 $(HOST_EXPORTS) \
23749 for flag in $(EXTRA_HOST_FLAGS) ; do \
23750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23751 done; \
23752 echo "Doing install-pdf in readline" ; \
23753 (cd $(HOST_SUBDIR)/readline && \
23754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23756 "RANLIB=$${RANLIB}" \
23757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23758 install-pdf) \
23759 || exit 1
23761 @endif readline
23763 .PHONY: maybe-install-html-readline install-html-readline
23764 maybe-install-html-readline:
23765 @if readline
23766 maybe-install-html-readline: install-html-readline
23768 install-html-readline: \
23769 configure-readline \
23770 html-readline
23771 @: $(MAKE); $(unstage)
23772 @[ -f ./readline/Makefile ] || exit 0; \
23773 r=`${PWD_COMMAND}`; export r; \
23774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23775 $(HOST_EXPORTS) \
23776 for flag in $(EXTRA_HOST_FLAGS) ; do \
23777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23778 done; \
23779 echo "Doing install-html in readline" ; \
23780 (cd $(HOST_SUBDIR)/readline && \
23781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23783 "RANLIB=$${RANLIB}" \
23784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23785 install-html) \
23786 || exit 1
23788 @endif readline
23790 .PHONY: maybe-installcheck-readline installcheck-readline
23791 maybe-installcheck-readline:
23792 @if readline
23793 maybe-installcheck-readline: installcheck-readline
23795 installcheck-readline: \
23796 configure-readline
23797 @: $(MAKE); $(unstage)
23798 @[ -f ./readline/Makefile ] || exit 0; \
23799 r=`${PWD_COMMAND}`; export r; \
23800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23801 $(HOST_EXPORTS) \
23802 for flag in $(EXTRA_HOST_FLAGS) ; do \
23803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23804 done; \
23805 echo "Doing installcheck in readline" ; \
23806 (cd $(HOST_SUBDIR)/readline && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23811 installcheck) \
23812 || exit 1
23814 @endif readline
23816 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23817 maybe-mostlyclean-readline:
23818 @if readline
23819 maybe-mostlyclean-readline: mostlyclean-readline
23821 mostlyclean-readline:
23822 @: $(MAKE); $(unstage)
23823 @[ -f ./readline/Makefile ] || exit 0; \
23824 r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 $(HOST_EXPORTS) \
23827 for flag in $(EXTRA_HOST_FLAGS) ; do \
23828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23829 done; \
23830 echo "Doing mostlyclean in readline" ; \
23831 (cd $(HOST_SUBDIR)/readline && \
23832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23834 "RANLIB=$${RANLIB}" \
23835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23836 mostlyclean) \
23837 || exit 1
23839 @endif readline
23841 .PHONY: maybe-clean-readline clean-readline
23842 maybe-clean-readline:
23843 @if readline
23844 maybe-clean-readline: clean-readline
23846 clean-readline:
23847 @: $(MAKE); $(unstage)
23848 @[ -f ./readline/Makefile ] || exit 0; \
23849 r=`${PWD_COMMAND}`; export r; \
23850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23851 $(HOST_EXPORTS) \
23852 for flag in $(EXTRA_HOST_FLAGS) ; do \
23853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23854 done; \
23855 echo "Doing clean in readline" ; \
23856 (cd $(HOST_SUBDIR)/readline && \
23857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23859 "RANLIB=$${RANLIB}" \
23860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23861 clean) \
23862 || exit 1
23864 @endif readline
23866 .PHONY: maybe-distclean-readline distclean-readline
23867 maybe-distclean-readline:
23868 @if readline
23869 maybe-distclean-readline: distclean-readline
23871 distclean-readline:
23872 @: $(MAKE); $(unstage)
23873 @[ -f ./readline/Makefile ] || exit 0; \
23874 r=`${PWD_COMMAND}`; export r; \
23875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 $(HOST_EXPORTS) \
23877 for flag in $(EXTRA_HOST_FLAGS) ; do \
23878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23879 done; \
23880 echo "Doing distclean in readline" ; \
23881 (cd $(HOST_SUBDIR)/readline && \
23882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23884 "RANLIB=$${RANLIB}" \
23885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23886 distclean) \
23887 || exit 1
23889 @endif readline
23891 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23892 maybe-maintainer-clean-readline:
23893 @if readline
23894 maybe-maintainer-clean-readline: maintainer-clean-readline
23896 maintainer-clean-readline:
23897 @: $(MAKE); $(unstage)
23898 @[ -f ./readline/Makefile ] || exit 0; \
23899 r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(HOST_EXPORTS) \
23902 for flag in $(EXTRA_HOST_FLAGS) ; do \
23903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23904 done; \
23905 echo "Doing maintainer-clean in readline" ; \
23906 (cd $(HOST_SUBDIR)/readline && \
23907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23909 "RANLIB=$${RANLIB}" \
23910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23911 maintainer-clean) \
23912 || exit 1
23914 @endif readline
23918 .PHONY: configure-sid maybe-configure-sid
23919 maybe-configure-sid:
23920 @if gcc-bootstrap
23921 configure-sid: stage_current
23922 @endif gcc-bootstrap
23923 @if sid
23924 maybe-configure-sid: configure-sid
23925 configure-sid:
23926 @: $(MAKE); $(unstage)
23927 @r=`${PWD_COMMAND}`; export r; \
23928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23929 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23931 $(HOST_EXPORTS) \
23932 echo Configuring in $(HOST_SUBDIR)/sid; \
23933 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23934 case $(srcdir) in \
23935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23936 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23938 esac; \
23939 srcdiroption="--srcdir=$${topdir}/sid"; \
23940 libsrcdir="$$s/sid"; \
23941 $(SHELL) $${libsrcdir}/configure \
23942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23943 --target=${target_alias} $${srcdiroption} \
23944 || exit 1
23945 @endif sid
23951 .PHONY: all-sid maybe-all-sid
23952 maybe-all-sid:
23953 @if gcc-bootstrap
23954 all-sid: stage_current
23955 @endif gcc-bootstrap
23956 @if sid
23957 TARGET-sid=all
23958 maybe-all-sid: all-sid
23959 all-sid: configure-sid
23960 @: $(MAKE); $(unstage)
23961 @r=`${PWD_COMMAND}`; export r; \
23962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23963 $(HOST_EXPORTS) \
23964 (cd $(HOST_SUBDIR)/sid && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23966 $(TARGET-sid))
23967 @endif sid
23972 .PHONY: check-sid maybe-check-sid
23973 maybe-check-sid:
23974 @if sid
23975 maybe-check-sid: check-sid
23977 check-sid:
23978 @: $(MAKE); $(unstage)
23979 @r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 $(HOST_EXPORTS) \
23982 (cd $(HOST_SUBDIR)/sid && \
23983 $(MAKE) $(FLAGS_TO_PASS) check)
23985 @endif sid
23987 .PHONY: install-sid maybe-install-sid
23988 maybe-install-sid:
23989 @if sid
23990 maybe-install-sid: install-sid
23992 install-sid: installdirs
23993 @: $(MAKE); $(unstage)
23994 @r=`${PWD_COMMAND}`; export r; \
23995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23996 $(HOST_EXPORTS) \
23997 (cd $(HOST_SUBDIR)/sid && \
23998 $(MAKE) $(FLAGS_TO_PASS) install)
24000 @endif sid
24002 .PHONY: install-strip-sid maybe-install-strip-sid
24003 maybe-install-strip-sid:
24004 @if sid
24005 maybe-install-strip-sid: install-strip-sid
24007 install-strip-sid: installdirs
24008 @: $(MAKE); $(unstage)
24009 @r=`${PWD_COMMAND}`; export r; \
24010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24011 $(HOST_EXPORTS) \
24012 (cd $(HOST_SUBDIR)/sid && \
24013 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24015 @endif sid
24017 # Other targets (info, dvi, pdf, etc.)
24019 .PHONY: maybe-info-sid info-sid
24020 maybe-info-sid:
24021 @if sid
24022 maybe-info-sid: info-sid
24024 info-sid: \
24025 configure-sid
24026 @: $(MAKE); $(unstage)
24027 @[ -f ./sid/Makefile ] || exit 0; \
24028 r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 $(HOST_EXPORTS) \
24031 for flag in $(EXTRA_HOST_FLAGS) ; do \
24032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24033 done; \
24034 echo "Doing info in sid" ; \
24035 (cd $(HOST_SUBDIR)/sid && \
24036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24038 "RANLIB=$${RANLIB}" \
24039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24040 info) \
24041 || exit 1
24043 @endif sid
24045 .PHONY: maybe-dvi-sid dvi-sid
24046 maybe-dvi-sid:
24047 @if sid
24048 maybe-dvi-sid: dvi-sid
24050 dvi-sid: \
24051 configure-sid
24052 @: $(MAKE); $(unstage)
24053 @[ -f ./sid/Makefile ] || exit 0; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(HOST_EXPORTS) \
24057 for flag in $(EXTRA_HOST_FLAGS) ; do \
24058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24059 done; \
24060 echo "Doing dvi in sid" ; \
24061 (cd $(HOST_SUBDIR)/sid && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24066 dvi) \
24067 || exit 1
24069 @endif sid
24071 .PHONY: maybe-pdf-sid pdf-sid
24072 maybe-pdf-sid:
24073 @if sid
24074 maybe-pdf-sid: pdf-sid
24076 pdf-sid: \
24077 configure-sid
24078 @: $(MAKE); $(unstage)
24079 @[ -f ./sid/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing pdf in sid" ; \
24087 (cd $(HOST_SUBDIR)/sid && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24092 pdf) \
24093 || exit 1
24095 @endif sid
24097 .PHONY: maybe-html-sid html-sid
24098 maybe-html-sid:
24099 @if sid
24100 maybe-html-sid: html-sid
24102 html-sid: \
24103 configure-sid
24104 @: $(MAKE); $(unstage)
24105 @[ -f ./sid/Makefile ] || exit 0; \
24106 r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108 $(HOST_EXPORTS) \
24109 for flag in $(EXTRA_HOST_FLAGS) ; do \
24110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24111 done; \
24112 echo "Doing html in sid" ; \
24113 (cd $(HOST_SUBDIR)/sid && \
24114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24116 "RANLIB=$${RANLIB}" \
24117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24118 html) \
24119 || exit 1
24121 @endif sid
24123 .PHONY: maybe-TAGS-sid TAGS-sid
24124 maybe-TAGS-sid:
24125 @if sid
24126 maybe-TAGS-sid: TAGS-sid
24128 TAGS-sid: \
24129 configure-sid
24130 @: $(MAKE); $(unstage)
24131 @[ -f ./sid/Makefile ] || exit 0; \
24132 r=`${PWD_COMMAND}`; export r; \
24133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24134 $(HOST_EXPORTS) \
24135 for flag in $(EXTRA_HOST_FLAGS) ; do \
24136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24137 done; \
24138 echo "Doing TAGS in sid" ; \
24139 (cd $(HOST_SUBDIR)/sid && \
24140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24142 "RANLIB=$${RANLIB}" \
24143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24144 TAGS) \
24145 || exit 1
24147 @endif sid
24149 .PHONY: maybe-install-info-sid install-info-sid
24150 maybe-install-info-sid:
24151 @if sid
24152 maybe-install-info-sid: install-info-sid
24154 install-info-sid: \
24155 configure-sid \
24156 info-sid
24157 @: $(MAKE); $(unstage)
24158 @[ -f ./sid/Makefile ] || exit 0; \
24159 r=`${PWD_COMMAND}`; export r; \
24160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24161 $(HOST_EXPORTS) \
24162 for flag in $(EXTRA_HOST_FLAGS) ; do \
24163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24164 done; \
24165 echo "Doing install-info in sid" ; \
24166 (cd $(HOST_SUBDIR)/sid && \
24167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24169 "RANLIB=$${RANLIB}" \
24170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24171 install-info) \
24172 || exit 1
24174 @endif sid
24176 .PHONY: maybe-install-pdf-sid install-pdf-sid
24177 maybe-install-pdf-sid:
24178 @if sid
24179 maybe-install-pdf-sid: install-pdf-sid
24181 install-pdf-sid: \
24182 configure-sid \
24183 pdf-sid
24184 @: $(MAKE); $(unstage)
24185 @[ -f ./sid/Makefile ] || exit 0; \
24186 r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24188 $(HOST_EXPORTS) \
24189 for flag in $(EXTRA_HOST_FLAGS) ; do \
24190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24191 done; \
24192 echo "Doing install-pdf in sid" ; \
24193 (cd $(HOST_SUBDIR)/sid && \
24194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24196 "RANLIB=$${RANLIB}" \
24197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24198 install-pdf) \
24199 || exit 1
24201 @endif sid
24203 .PHONY: maybe-install-html-sid install-html-sid
24204 maybe-install-html-sid:
24205 @if sid
24206 maybe-install-html-sid: install-html-sid
24208 install-html-sid: \
24209 configure-sid \
24210 html-sid
24211 @: $(MAKE); $(unstage)
24212 @[ -f ./sid/Makefile ] || exit 0; \
24213 r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 $(HOST_EXPORTS) \
24216 for flag in $(EXTRA_HOST_FLAGS) ; do \
24217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24218 done; \
24219 echo "Doing install-html in sid" ; \
24220 (cd $(HOST_SUBDIR)/sid && \
24221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24223 "RANLIB=$${RANLIB}" \
24224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24225 install-html) \
24226 || exit 1
24228 @endif sid
24230 .PHONY: maybe-installcheck-sid installcheck-sid
24231 maybe-installcheck-sid:
24232 @if sid
24233 maybe-installcheck-sid: installcheck-sid
24235 installcheck-sid: \
24236 configure-sid
24237 @: $(MAKE); $(unstage)
24238 @[ -f ./sid/Makefile ] || exit 0; \
24239 r=`${PWD_COMMAND}`; export r; \
24240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24241 $(HOST_EXPORTS) \
24242 for flag in $(EXTRA_HOST_FLAGS) ; do \
24243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24244 done; \
24245 echo "Doing installcheck in sid" ; \
24246 (cd $(HOST_SUBDIR)/sid && \
24247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24249 "RANLIB=$${RANLIB}" \
24250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24251 installcheck) \
24252 || exit 1
24254 @endif sid
24256 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24257 maybe-mostlyclean-sid:
24258 @if sid
24259 maybe-mostlyclean-sid: mostlyclean-sid
24261 mostlyclean-sid:
24262 @: $(MAKE); $(unstage)
24263 @[ -f ./sid/Makefile ] || exit 0; \
24264 r=`${PWD_COMMAND}`; export r; \
24265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 $(HOST_EXPORTS) \
24267 for flag in $(EXTRA_HOST_FLAGS) ; do \
24268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24269 done; \
24270 echo "Doing mostlyclean in sid" ; \
24271 (cd $(HOST_SUBDIR)/sid && \
24272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24274 "RANLIB=$${RANLIB}" \
24275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24276 mostlyclean) \
24277 || exit 1
24279 @endif sid
24281 .PHONY: maybe-clean-sid clean-sid
24282 maybe-clean-sid:
24283 @if sid
24284 maybe-clean-sid: clean-sid
24286 clean-sid:
24287 @: $(MAKE); $(unstage)
24288 @[ -f ./sid/Makefile ] || exit 0; \
24289 r=`${PWD_COMMAND}`; export r; \
24290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24291 $(HOST_EXPORTS) \
24292 for flag in $(EXTRA_HOST_FLAGS) ; do \
24293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24294 done; \
24295 echo "Doing clean in sid" ; \
24296 (cd $(HOST_SUBDIR)/sid && \
24297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24299 "RANLIB=$${RANLIB}" \
24300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24301 clean) \
24302 || exit 1
24304 @endif sid
24306 .PHONY: maybe-distclean-sid distclean-sid
24307 maybe-distclean-sid:
24308 @if sid
24309 maybe-distclean-sid: distclean-sid
24311 distclean-sid:
24312 @: $(MAKE); $(unstage)
24313 @[ -f ./sid/Makefile ] || exit 0; \
24314 r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 for flag in $(EXTRA_HOST_FLAGS) ; do \
24318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24319 done; \
24320 echo "Doing distclean in sid" ; \
24321 (cd $(HOST_SUBDIR)/sid && \
24322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24324 "RANLIB=$${RANLIB}" \
24325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24326 distclean) \
24327 || exit 1
24329 @endif sid
24331 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24332 maybe-maintainer-clean-sid:
24333 @if sid
24334 maybe-maintainer-clean-sid: maintainer-clean-sid
24336 maintainer-clean-sid:
24337 @: $(MAKE); $(unstage)
24338 @[ -f ./sid/Makefile ] || exit 0; \
24339 r=`${PWD_COMMAND}`; export r; \
24340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24341 $(HOST_EXPORTS) \
24342 for flag in $(EXTRA_HOST_FLAGS) ; do \
24343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24344 done; \
24345 echo "Doing maintainer-clean in sid" ; \
24346 (cd $(HOST_SUBDIR)/sid && \
24347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24349 "RANLIB=$${RANLIB}" \
24350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24351 maintainer-clean) \
24352 || exit 1
24354 @endif sid
24358 .PHONY: configure-sim maybe-configure-sim
24359 maybe-configure-sim:
24360 @if gcc-bootstrap
24361 configure-sim: stage_current
24362 @endif gcc-bootstrap
24363 @if sim
24364 maybe-configure-sim: configure-sim
24365 configure-sim:
24366 @: $(MAKE); $(unstage)
24367 @r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24371 $(HOST_EXPORTS) \
24372 echo Configuring in $(HOST_SUBDIR)/sim; \
24373 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24374 case $(srcdir) in \
24375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24376 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24378 esac; \
24379 srcdiroption="--srcdir=$${topdir}/sim"; \
24380 libsrcdir="$$s/sim"; \
24381 $(SHELL) $${libsrcdir}/configure \
24382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24383 --target=${target_alias} $${srcdiroption} \
24384 || exit 1
24385 @endif sim
24391 .PHONY: all-sim maybe-all-sim
24392 maybe-all-sim:
24393 @if gcc-bootstrap
24394 all-sim: stage_current
24395 @endif gcc-bootstrap
24396 @if sim
24397 TARGET-sim=all
24398 maybe-all-sim: all-sim
24399 all-sim: configure-sim
24400 @: $(MAKE); $(unstage)
24401 @r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(HOST_EXPORTS) \
24404 (cd $(HOST_SUBDIR)/sim && \
24405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24406 $(TARGET-sim))
24407 @endif sim
24412 .PHONY: check-sim maybe-check-sim
24413 maybe-check-sim:
24414 @if sim
24415 maybe-check-sim: check-sim
24417 check-sim:
24418 @: $(MAKE); $(unstage)
24419 @r=`${PWD_COMMAND}`; export r; \
24420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24421 $(HOST_EXPORTS) \
24422 (cd $(HOST_SUBDIR)/sim && \
24423 $(MAKE) $(FLAGS_TO_PASS) check)
24425 @endif sim
24427 .PHONY: install-sim maybe-install-sim
24428 maybe-install-sim:
24429 @if sim
24430 maybe-install-sim: install-sim
24432 install-sim: installdirs
24433 @: $(MAKE); $(unstage)
24434 @r=`${PWD_COMMAND}`; export r; \
24435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24436 $(HOST_EXPORTS) \
24437 (cd $(HOST_SUBDIR)/sim && \
24438 $(MAKE) $(FLAGS_TO_PASS) install)
24440 @endif sim
24442 .PHONY: install-strip-sim maybe-install-strip-sim
24443 maybe-install-strip-sim:
24444 @if sim
24445 maybe-install-strip-sim: install-strip-sim
24447 install-strip-sim: installdirs
24448 @: $(MAKE); $(unstage)
24449 @r=`${PWD_COMMAND}`; export r; \
24450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24451 $(HOST_EXPORTS) \
24452 (cd $(HOST_SUBDIR)/sim && \
24453 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24455 @endif sim
24457 # Other targets (info, dvi, pdf, etc.)
24459 .PHONY: maybe-info-sim info-sim
24460 maybe-info-sim:
24461 @if sim
24462 maybe-info-sim: info-sim
24464 info-sim: \
24465 configure-sim
24466 @: $(MAKE); $(unstage)
24467 @[ -f ./sim/Makefile ] || exit 0; \
24468 r=`${PWD_COMMAND}`; export r; \
24469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(HOST_EXPORTS) \
24471 for flag in $(EXTRA_HOST_FLAGS) ; do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24473 done; \
24474 echo "Doing info in sim" ; \
24475 (cd $(HOST_SUBDIR)/sim && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24480 info) \
24481 || exit 1
24483 @endif sim
24485 .PHONY: maybe-dvi-sim dvi-sim
24486 maybe-dvi-sim:
24487 @if sim
24488 maybe-dvi-sim: dvi-sim
24490 dvi-sim: \
24491 configure-sim
24492 @: $(MAKE); $(unstage)
24493 @[ -f ./sim/Makefile ] || exit 0; \
24494 r=`${PWD_COMMAND}`; export r; \
24495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24496 $(HOST_EXPORTS) \
24497 for flag in $(EXTRA_HOST_FLAGS) ; do \
24498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24499 done; \
24500 echo "Doing dvi in sim" ; \
24501 (cd $(HOST_SUBDIR)/sim && \
24502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24504 "RANLIB=$${RANLIB}" \
24505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24506 dvi) \
24507 || exit 1
24509 @endif sim
24511 .PHONY: maybe-pdf-sim pdf-sim
24512 maybe-pdf-sim:
24513 @if sim
24514 maybe-pdf-sim: pdf-sim
24516 pdf-sim: \
24517 configure-sim
24518 @: $(MAKE); $(unstage)
24519 @[ -f ./sim/Makefile ] || exit 0; \
24520 r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 for flag in $(EXTRA_HOST_FLAGS) ; do \
24524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24525 done; \
24526 echo "Doing pdf in sim" ; \
24527 (cd $(HOST_SUBDIR)/sim && \
24528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24530 "RANLIB=$${RANLIB}" \
24531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24532 pdf) \
24533 || exit 1
24535 @endif sim
24537 .PHONY: maybe-html-sim html-sim
24538 maybe-html-sim:
24539 @if sim
24540 maybe-html-sim: html-sim
24542 html-sim: \
24543 configure-sim
24544 @: $(MAKE); $(unstage)
24545 @[ -f ./sim/Makefile ] || exit 0; \
24546 r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 $(HOST_EXPORTS) \
24549 for flag in $(EXTRA_HOST_FLAGS) ; do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 echo "Doing html in sim" ; \
24553 (cd $(HOST_SUBDIR)/sim && \
24554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24556 "RANLIB=$${RANLIB}" \
24557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24558 html) \
24559 || exit 1
24561 @endif sim
24563 .PHONY: maybe-TAGS-sim TAGS-sim
24564 maybe-TAGS-sim:
24565 @if sim
24566 maybe-TAGS-sim: TAGS-sim
24568 TAGS-sim: \
24569 configure-sim
24570 @: $(MAKE); $(unstage)
24571 @[ -f ./sim/Makefile ] || exit 0; \
24572 r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 for flag in $(EXTRA_HOST_FLAGS) ; do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 echo "Doing TAGS in sim" ; \
24579 (cd $(HOST_SUBDIR)/sim && \
24580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24582 "RANLIB=$${RANLIB}" \
24583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24584 TAGS) \
24585 || exit 1
24587 @endif sim
24589 .PHONY: maybe-install-info-sim install-info-sim
24590 maybe-install-info-sim:
24591 @if sim
24592 maybe-install-info-sim: install-info-sim
24594 install-info-sim: \
24595 configure-sim \
24596 info-sim
24597 @: $(MAKE); $(unstage)
24598 @[ -f ./sim/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(HOST_EXPORTS) \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24604 done; \
24605 echo "Doing install-info in sim" ; \
24606 (cd $(HOST_SUBDIR)/sim && \
24607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24609 "RANLIB=$${RANLIB}" \
24610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24611 install-info) \
24612 || exit 1
24614 @endif sim
24616 .PHONY: maybe-install-pdf-sim install-pdf-sim
24617 maybe-install-pdf-sim:
24618 @if sim
24619 maybe-install-pdf-sim: install-pdf-sim
24621 install-pdf-sim: \
24622 configure-sim \
24623 pdf-sim
24624 @: $(MAKE); $(unstage)
24625 @[ -f ./sim/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24628 $(HOST_EXPORTS) \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24631 done; \
24632 echo "Doing install-pdf in sim" ; \
24633 (cd $(HOST_SUBDIR)/sim && \
24634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636 "RANLIB=$${RANLIB}" \
24637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24638 install-pdf) \
24639 || exit 1
24641 @endif sim
24643 .PHONY: maybe-install-html-sim install-html-sim
24644 maybe-install-html-sim:
24645 @if sim
24646 maybe-install-html-sim: install-html-sim
24648 install-html-sim: \
24649 configure-sim \
24650 html-sim
24651 @: $(MAKE); $(unstage)
24652 @[ -f ./sim/Makefile ] || exit 0; \
24653 r=`${PWD_COMMAND}`; export r; \
24654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 $(HOST_EXPORTS) \
24656 for flag in $(EXTRA_HOST_FLAGS) ; do \
24657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 done; \
24659 echo "Doing install-html in sim" ; \
24660 (cd $(HOST_SUBDIR)/sim && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24665 install-html) \
24666 || exit 1
24668 @endif sim
24670 .PHONY: maybe-installcheck-sim installcheck-sim
24671 maybe-installcheck-sim:
24672 @if sim
24673 maybe-installcheck-sim: installcheck-sim
24675 installcheck-sim: \
24676 configure-sim
24677 @: $(MAKE); $(unstage)
24678 @[ -f ./sim/Makefile ] || exit 0; \
24679 r=`${PWD_COMMAND}`; export r; \
24680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24681 $(HOST_EXPORTS) \
24682 for flag in $(EXTRA_HOST_FLAGS) ; do \
24683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24684 done; \
24685 echo "Doing installcheck in sim" ; \
24686 (cd $(HOST_SUBDIR)/sim && \
24687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24689 "RANLIB=$${RANLIB}" \
24690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24691 installcheck) \
24692 || exit 1
24694 @endif sim
24696 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24697 maybe-mostlyclean-sim:
24698 @if sim
24699 maybe-mostlyclean-sim: mostlyclean-sim
24701 mostlyclean-sim:
24702 @: $(MAKE); $(unstage)
24703 @[ -f ./sim/Makefile ] || exit 0; \
24704 r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 $(HOST_EXPORTS) \
24707 for flag in $(EXTRA_HOST_FLAGS) ; do \
24708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 done; \
24710 echo "Doing mostlyclean in sim" ; \
24711 (cd $(HOST_SUBDIR)/sim && \
24712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24714 "RANLIB=$${RANLIB}" \
24715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24716 mostlyclean) \
24717 || exit 1
24719 @endif sim
24721 .PHONY: maybe-clean-sim clean-sim
24722 maybe-clean-sim:
24723 @if sim
24724 maybe-clean-sim: clean-sim
24726 clean-sim:
24727 @: $(MAKE); $(unstage)
24728 @[ -f ./sim/Makefile ] || exit 0; \
24729 r=`${PWD_COMMAND}`; export r; \
24730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24731 $(HOST_EXPORTS) \
24732 for flag in $(EXTRA_HOST_FLAGS) ; do \
24733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24734 done; \
24735 echo "Doing clean in sim" ; \
24736 (cd $(HOST_SUBDIR)/sim && \
24737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24739 "RANLIB=$${RANLIB}" \
24740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24741 clean) \
24742 || exit 1
24744 @endif sim
24746 .PHONY: maybe-distclean-sim distclean-sim
24747 maybe-distclean-sim:
24748 @if sim
24749 maybe-distclean-sim: distclean-sim
24751 distclean-sim:
24752 @: $(MAKE); $(unstage)
24753 @[ -f ./sim/Makefile ] || exit 0; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 for flag in $(EXTRA_HOST_FLAGS) ; do \
24758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24759 done; \
24760 echo "Doing distclean in sim" ; \
24761 (cd $(HOST_SUBDIR)/sim && \
24762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24764 "RANLIB=$${RANLIB}" \
24765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24766 distclean) \
24767 || exit 1
24769 @endif sim
24771 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24772 maybe-maintainer-clean-sim:
24773 @if sim
24774 maybe-maintainer-clean-sim: maintainer-clean-sim
24776 maintainer-clean-sim:
24777 @: $(MAKE); $(unstage)
24778 @[ -f ./sim/Makefile ] || exit 0; \
24779 r=`${PWD_COMMAND}`; export r; \
24780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781 $(HOST_EXPORTS) \
24782 for flag in $(EXTRA_HOST_FLAGS) ; do \
24783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24784 done; \
24785 echo "Doing maintainer-clean in sim" ; \
24786 (cd $(HOST_SUBDIR)/sim && \
24787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24789 "RANLIB=$${RANLIB}" \
24790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24791 maintainer-clean) \
24792 || exit 1
24794 @endif sim
24798 .PHONY: configure-texinfo maybe-configure-texinfo
24799 maybe-configure-texinfo:
24800 @if gcc-bootstrap
24801 configure-texinfo: stage_current
24802 @endif gcc-bootstrap
24803 @if texinfo
24804 maybe-configure-texinfo: configure-texinfo
24805 configure-texinfo:
24806 @: $(MAKE); $(unstage)
24807 @r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24811 $(HOST_EXPORTS) \
24812 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24813 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24814 case $(srcdir) in \
24815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24816 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24818 esac; \
24819 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24820 libsrcdir="$$s/texinfo"; \
24821 $(SHELL) $${libsrcdir}/configure \
24822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24823 --target=${target_alias} $${srcdiroption} \
24824 || exit 1
24825 @endif texinfo
24831 .PHONY: all-texinfo maybe-all-texinfo
24832 maybe-all-texinfo:
24833 @if gcc-bootstrap
24834 all-texinfo: stage_current
24835 @endif gcc-bootstrap
24836 @if texinfo
24837 TARGET-texinfo=all
24838 maybe-all-texinfo: all-texinfo
24839 all-texinfo: configure-texinfo
24840 @: $(MAKE); $(unstage)
24841 @r=`${PWD_COMMAND}`; export r; \
24842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24843 $(HOST_EXPORTS) \
24844 (cd $(HOST_SUBDIR)/texinfo && \
24845 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24846 $(TARGET-texinfo))
24847 @endif texinfo
24852 .PHONY: check-texinfo maybe-check-texinfo
24853 maybe-check-texinfo:
24854 @if texinfo
24855 maybe-check-texinfo: check-texinfo
24857 check-texinfo:
24858 @: $(MAKE); $(unstage)
24859 @r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 $(HOST_EXPORTS) \
24862 (cd $(HOST_SUBDIR)/texinfo && \
24863 $(MAKE) $(FLAGS_TO_PASS) check)
24865 @endif texinfo
24867 .PHONY: install-texinfo maybe-install-texinfo
24868 maybe-install-texinfo:
24869 @if texinfo
24870 maybe-install-texinfo: install-texinfo
24872 install-texinfo:
24874 @endif texinfo
24876 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24877 maybe-install-strip-texinfo:
24878 @if texinfo
24879 maybe-install-strip-texinfo: install-strip-texinfo
24881 install-strip-texinfo:
24883 @endif texinfo
24885 # Other targets (info, dvi, pdf, etc.)
24887 .PHONY: maybe-info-texinfo info-texinfo
24888 maybe-info-texinfo:
24889 @if texinfo
24890 maybe-info-texinfo: info-texinfo
24892 info-texinfo: \
24893 configure-texinfo
24894 @: $(MAKE); $(unstage)
24895 @[ -f ./texinfo/Makefile ] || exit 0; \
24896 r=`${PWD_COMMAND}`; export r; \
24897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24898 $(HOST_EXPORTS) \
24899 for flag in $(EXTRA_HOST_FLAGS) ; do \
24900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24901 done; \
24902 echo "Doing info in texinfo" ; \
24903 (cd $(HOST_SUBDIR)/texinfo && \
24904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24906 "RANLIB=$${RANLIB}" \
24907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24908 info) \
24909 || exit 1
24911 @endif texinfo
24913 .PHONY: maybe-dvi-texinfo dvi-texinfo
24914 maybe-dvi-texinfo:
24915 @if texinfo
24916 maybe-dvi-texinfo: dvi-texinfo
24918 dvi-texinfo: \
24919 configure-texinfo
24920 @: $(MAKE); $(unstage)
24921 @[ -f ./texinfo/Makefile ] || exit 0; \
24922 r=`${PWD_COMMAND}`; export r; \
24923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24924 $(HOST_EXPORTS) \
24925 for flag in $(EXTRA_HOST_FLAGS) ; do \
24926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24927 done; \
24928 echo "Doing dvi in texinfo" ; \
24929 (cd $(HOST_SUBDIR)/texinfo && \
24930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24932 "RANLIB=$${RANLIB}" \
24933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24934 dvi) \
24935 || exit 1
24937 @endif texinfo
24939 .PHONY: maybe-pdf-texinfo pdf-texinfo
24940 maybe-pdf-texinfo:
24941 @if texinfo
24942 maybe-pdf-texinfo: pdf-texinfo
24944 pdf-texinfo: \
24945 configure-texinfo
24946 @: $(MAKE); $(unstage)
24947 @[ -f ./texinfo/Makefile ] || exit 0; \
24948 r=`${PWD_COMMAND}`; export r; \
24949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24950 $(HOST_EXPORTS) \
24951 for flag in $(EXTRA_HOST_FLAGS) ; do \
24952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24953 done; \
24954 echo "Doing pdf in texinfo" ; \
24955 (cd $(HOST_SUBDIR)/texinfo && \
24956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24958 "RANLIB=$${RANLIB}" \
24959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24960 pdf) \
24961 || exit 1
24963 @endif texinfo
24965 .PHONY: maybe-html-texinfo html-texinfo
24966 maybe-html-texinfo:
24967 @if texinfo
24968 maybe-html-texinfo: html-texinfo
24970 html-texinfo: \
24971 configure-texinfo
24972 @: $(MAKE); $(unstage)
24973 @[ -f ./texinfo/Makefile ] || exit 0; \
24974 r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24976 $(HOST_EXPORTS) \
24977 for flag in $(EXTRA_HOST_FLAGS) ; do \
24978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24979 done; \
24980 echo "Doing html in texinfo" ; \
24981 (cd $(HOST_SUBDIR)/texinfo && \
24982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24984 "RANLIB=$${RANLIB}" \
24985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24986 html) \
24987 || exit 1
24989 @endif texinfo
24991 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24992 maybe-TAGS-texinfo:
24993 @if texinfo
24994 maybe-TAGS-texinfo: TAGS-texinfo
24996 TAGS-texinfo: \
24997 configure-texinfo
24998 @: $(MAKE); $(unstage)
24999 @[ -f ./texinfo/Makefile ] || exit 0; \
25000 r=`${PWD_COMMAND}`; export r; \
25001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25002 $(HOST_EXPORTS) \
25003 for flag in $(EXTRA_HOST_FLAGS) ; do \
25004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25005 done; \
25006 echo "Doing TAGS in texinfo" ; \
25007 (cd $(HOST_SUBDIR)/texinfo && \
25008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25010 "RANLIB=$${RANLIB}" \
25011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25012 TAGS) \
25013 || exit 1
25015 @endif texinfo
25017 .PHONY: maybe-install-info-texinfo install-info-texinfo
25018 maybe-install-info-texinfo:
25019 @if texinfo
25020 maybe-install-info-texinfo: install-info-texinfo
25022 install-info-texinfo: \
25023 configure-texinfo \
25024 info-texinfo
25025 @: $(MAKE); $(unstage)
25026 @[ -f ./texinfo/Makefile ] || exit 0; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(HOST_EXPORTS) \
25030 for flag in $(EXTRA_HOST_FLAGS) ; do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032 done; \
25033 echo "Doing install-info in texinfo" ; \
25034 (cd $(HOST_SUBDIR)/texinfo && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25039 install-info) \
25040 || exit 1
25042 @endif texinfo
25044 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25045 maybe-install-pdf-texinfo:
25046 @if texinfo
25047 maybe-install-pdf-texinfo: install-pdf-texinfo
25049 install-pdf-texinfo: \
25050 configure-texinfo \
25051 pdf-texinfo
25052 @: $(MAKE); $(unstage)
25053 @[ -f ./texinfo/Makefile ] || exit 0; \
25054 r=`${PWD_COMMAND}`; export r; \
25055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25056 $(HOST_EXPORTS) \
25057 for flag in $(EXTRA_HOST_FLAGS) ; do \
25058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25059 done; \
25060 echo "Doing install-pdf in texinfo" ; \
25061 (cd $(HOST_SUBDIR)/texinfo && \
25062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25064 "RANLIB=$${RANLIB}" \
25065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25066 install-pdf) \
25067 || exit 1
25069 @endif texinfo
25071 .PHONY: maybe-install-html-texinfo install-html-texinfo
25072 maybe-install-html-texinfo:
25073 @if texinfo
25074 maybe-install-html-texinfo: install-html-texinfo
25076 install-html-texinfo: \
25077 configure-texinfo \
25078 html-texinfo
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./texinfo/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing install-html in texinfo" ; \
25088 (cd $(HOST_SUBDIR)/texinfo && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25093 install-html) \
25094 || exit 1
25096 @endif texinfo
25098 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25099 maybe-installcheck-texinfo:
25100 @if texinfo
25101 maybe-installcheck-texinfo: installcheck-texinfo
25103 installcheck-texinfo: \
25104 configure-texinfo
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./texinfo/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing installcheck in texinfo" ; \
25114 (cd $(HOST_SUBDIR)/texinfo && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25119 installcheck) \
25120 || exit 1
25122 @endif texinfo
25124 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25125 maybe-mostlyclean-texinfo:
25126 @if texinfo
25127 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25129 mostlyclean-texinfo:
25130 @: $(MAKE); $(unstage)
25131 @[ -f ./texinfo/Makefile ] || exit 0; \
25132 r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 for flag in $(EXTRA_HOST_FLAGS) ; do \
25136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25137 done; \
25138 echo "Doing mostlyclean in texinfo" ; \
25139 (cd $(HOST_SUBDIR)/texinfo && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25144 mostlyclean) \
25145 || exit 1
25147 @endif texinfo
25149 .PHONY: maybe-clean-texinfo clean-texinfo
25150 maybe-clean-texinfo:
25151 @if texinfo
25152 maybe-clean-texinfo: clean-texinfo
25154 clean-texinfo:
25155 @: $(MAKE); $(unstage)
25156 @[ -f ./texinfo/Makefile ] || exit 0; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25159 $(HOST_EXPORTS) \
25160 for flag in $(EXTRA_HOST_FLAGS) ; do \
25161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25162 done; \
25163 echo "Doing clean in texinfo" ; \
25164 (cd $(HOST_SUBDIR)/texinfo && \
25165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25167 "RANLIB=$${RANLIB}" \
25168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25169 clean) \
25170 || exit 1
25172 @endif texinfo
25174 .PHONY: maybe-distclean-texinfo distclean-texinfo
25175 maybe-distclean-texinfo:
25176 @if texinfo
25177 maybe-distclean-texinfo: distclean-texinfo
25179 distclean-texinfo:
25180 @: $(MAKE); $(unstage)
25181 @[ -f ./texinfo/Makefile ] || exit 0; \
25182 r=`${PWD_COMMAND}`; export r; \
25183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25184 $(HOST_EXPORTS) \
25185 for flag in $(EXTRA_HOST_FLAGS) ; do \
25186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25187 done; \
25188 echo "Doing distclean in texinfo" ; \
25189 (cd $(HOST_SUBDIR)/texinfo && \
25190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25192 "RANLIB=$${RANLIB}" \
25193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25194 distclean) \
25195 || exit 1
25197 @endif texinfo
25199 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25200 maybe-maintainer-clean-texinfo:
25201 @if texinfo
25202 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25204 maintainer-clean-texinfo:
25205 @: $(MAKE); $(unstage)
25206 @[ -f ./texinfo/Makefile ] || exit 0; \
25207 r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25209 $(HOST_EXPORTS) \
25210 for flag in $(EXTRA_HOST_FLAGS) ; do \
25211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25212 done; \
25213 echo "Doing maintainer-clean in texinfo" ; \
25214 (cd $(HOST_SUBDIR)/texinfo && \
25215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25217 "RANLIB=$${RANLIB}" \
25218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25219 maintainer-clean) \
25220 || exit 1
25222 @endif texinfo
25226 .PHONY: configure-zlib maybe-configure-zlib
25227 maybe-configure-zlib:
25228 @if gcc-bootstrap
25229 configure-zlib: stage_current
25230 @endif gcc-bootstrap
25231 @if zlib
25232 maybe-configure-zlib: configure-zlib
25233 configure-zlib:
25234 @r=`${PWD_COMMAND}`; export r; \
25235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25236 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25238 $(HOST_EXPORTS) \
25239 echo Configuring in $(HOST_SUBDIR)/zlib; \
25240 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25241 case $(srcdir) in \
25242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25243 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25245 esac; \
25246 srcdiroption="--srcdir=$${topdir}/zlib"; \
25247 libsrcdir="$$s/zlib"; \
25248 $(SHELL) $${libsrcdir}/configure \
25249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25250 --target=${target_alias} $${srcdiroption} \
25251 || exit 1
25252 @endif zlib
25256 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25257 maybe-configure-stage1-zlib:
25258 @if zlib-bootstrap
25259 maybe-configure-stage1-zlib: configure-stage1-zlib
25260 configure-stage1-zlib:
25261 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25263 @r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 TFLAGS="$(STAGE1_TFLAGS)"; \
25266 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25267 $(HOST_EXPORTS) \
25268 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25269 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25270 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25271 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25273 cd $(HOST_SUBDIR)/zlib || exit 1; \
25274 case $(srcdir) in \
25275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25276 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25278 esac; \
25279 srcdiroption="--srcdir=$${topdir}/zlib"; \
25280 libsrcdir="$$s/zlib"; \
25281 $(SHELL) $${libsrcdir}/configure \
25282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25283 --target=${target_alias} $${srcdiroption} \
25284 $(STAGE1_CONFIGURE_FLAGS)
25285 @endif zlib-bootstrap
25287 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25288 maybe-configure-stage2-zlib:
25289 @if zlib-bootstrap
25290 maybe-configure-stage2-zlib: configure-stage2-zlib
25291 configure-stage2-zlib:
25292 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25294 @r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 TFLAGS="$(STAGE2_TFLAGS)"; \
25297 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25298 $(HOST_EXPORTS) \
25299 $(POSTSTAGE1_HOST_EXPORTS) \
25300 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25301 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25302 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25303 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25305 cd $(HOST_SUBDIR)/zlib || exit 1; \
25306 case $(srcdir) in \
25307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25308 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25310 esac; \
25311 srcdiroption="--srcdir=$${topdir}/zlib"; \
25312 libsrcdir="$$s/zlib"; \
25313 $(SHELL) $${libsrcdir}/configure \
25314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25315 --target=${target_alias} $${srcdiroption} \
25316 --with-build-libsubdir=$(HOST_SUBDIR) \
25317 $(STAGE2_CONFIGURE_FLAGS)
25318 @endif zlib-bootstrap
25320 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25321 maybe-configure-stage3-zlib:
25322 @if zlib-bootstrap
25323 maybe-configure-stage3-zlib: configure-stage3-zlib
25324 configure-stage3-zlib:
25325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25327 @r=`${PWD_COMMAND}`; export r; \
25328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25329 TFLAGS="$(STAGE3_TFLAGS)"; \
25330 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25331 $(HOST_EXPORTS) \
25332 $(POSTSTAGE1_HOST_EXPORTS) \
25333 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25334 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25335 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25336 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25338 cd $(HOST_SUBDIR)/zlib || exit 1; \
25339 case $(srcdir) in \
25340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25341 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25343 esac; \
25344 srcdiroption="--srcdir=$${topdir}/zlib"; \
25345 libsrcdir="$$s/zlib"; \
25346 $(SHELL) $${libsrcdir}/configure \
25347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25348 --target=${target_alias} $${srcdiroption} \
25349 --with-build-libsubdir=$(HOST_SUBDIR) \
25350 $(STAGE3_CONFIGURE_FLAGS)
25351 @endif zlib-bootstrap
25353 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25354 maybe-configure-stage4-zlib:
25355 @if zlib-bootstrap
25356 maybe-configure-stage4-zlib: configure-stage4-zlib
25357 configure-stage4-zlib:
25358 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25360 @r=`${PWD_COMMAND}`; export r; \
25361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25362 TFLAGS="$(STAGE4_TFLAGS)"; \
25363 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25364 $(HOST_EXPORTS) \
25365 $(POSTSTAGE1_HOST_EXPORTS) \
25366 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25367 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25368 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25369 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25371 cd $(HOST_SUBDIR)/zlib || exit 1; \
25372 case $(srcdir) in \
25373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25374 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25376 esac; \
25377 srcdiroption="--srcdir=$${topdir}/zlib"; \
25378 libsrcdir="$$s/zlib"; \
25379 $(SHELL) $${libsrcdir}/configure \
25380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25381 --target=${target_alias} $${srcdiroption} \
25382 --with-build-libsubdir=$(HOST_SUBDIR) \
25383 $(STAGE4_CONFIGURE_FLAGS)
25384 @endif zlib-bootstrap
25386 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25387 maybe-configure-stageprofile-zlib:
25388 @if zlib-bootstrap
25389 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25390 configure-stageprofile-zlib:
25391 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25393 @r=`${PWD_COMMAND}`; export r; \
25394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25395 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25396 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25397 $(HOST_EXPORTS) \
25398 $(POSTSTAGE1_HOST_EXPORTS) \
25399 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25400 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25401 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25402 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25404 cd $(HOST_SUBDIR)/zlib || exit 1; \
25405 case $(srcdir) in \
25406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25407 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25409 esac; \
25410 srcdiroption="--srcdir=$${topdir}/zlib"; \
25411 libsrcdir="$$s/zlib"; \
25412 $(SHELL) $${libsrcdir}/configure \
25413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25414 --target=${target_alias} $${srcdiroption} \
25415 --with-build-libsubdir=$(HOST_SUBDIR) \
25416 $(STAGEprofile_CONFIGURE_FLAGS)
25417 @endif zlib-bootstrap
25419 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25420 maybe-configure-stagefeedback-zlib:
25421 @if zlib-bootstrap
25422 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25423 configure-stagefeedback-zlib:
25424 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25426 @r=`${PWD_COMMAND}`; export r; \
25427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25428 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25429 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25430 $(HOST_EXPORTS) \
25431 $(POSTSTAGE1_HOST_EXPORTS) \
25432 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25433 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25434 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25435 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25437 cd $(HOST_SUBDIR)/zlib || exit 1; \
25438 case $(srcdir) in \
25439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25440 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25442 esac; \
25443 srcdiroption="--srcdir=$${topdir}/zlib"; \
25444 libsrcdir="$$s/zlib"; \
25445 $(SHELL) $${libsrcdir}/configure \
25446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25447 --target=${target_alias} $${srcdiroption} \
25448 --with-build-libsubdir=$(HOST_SUBDIR) \
25449 $(STAGEfeedback_CONFIGURE_FLAGS)
25450 @endif zlib-bootstrap
25456 .PHONY: all-zlib maybe-all-zlib
25457 maybe-all-zlib:
25458 @if gcc-bootstrap
25459 all-zlib: stage_current
25460 @endif gcc-bootstrap
25461 @if zlib
25462 TARGET-zlib=all
25463 maybe-all-zlib: all-zlib
25464 all-zlib: configure-zlib
25465 @r=`${PWD_COMMAND}`; export r; \
25466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25467 $(HOST_EXPORTS) \
25468 (cd $(HOST_SUBDIR)/zlib && \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25470 $(TARGET-zlib))
25471 @endif zlib
25475 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25476 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25477 maybe-all-stage1-zlib:
25478 maybe-clean-stage1-zlib:
25479 @if zlib-bootstrap
25480 maybe-all-stage1-zlib: all-stage1-zlib
25481 all-stage1: all-stage1-zlib
25482 TARGET-stage1-zlib = $(TARGET-zlib)
25483 all-stage1-zlib: configure-stage1-zlib
25484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25485 @r=`${PWD_COMMAND}`; export r; \
25486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25487 TFLAGS="$(STAGE1_TFLAGS)"; \
25488 $(HOST_EXPORTS) \
25489 cd $(HOST_SUBDIR)/zlib && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25491 CFLAGS="$(STAGE1_CFLAGS)" \
25492 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25493 LIBCFLAGS="$(LIBCFLAGS)" \
25494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25497 $(EXTRA_HOST_FLAGS) \
25498 TFLAGS="$(STAGE1_TFLAGS)" \
25499 $(TARGET-stage1-zlib)
25501 maybe-clean-stage1-zlib: clean-stage1-zlib
25502 clean-stage1: clean-stage1-zlib
25503 clean-stage1-zlib:
25504 @if [ $(current_stage) = stage1 ]; then \
25505 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25506 else \
25507 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25508 $(MAKE) stage1-start; \
25509 fi; \
25510 cd $(HOST_SUBDIR)/zlib && \
25511 $(MAKE) $(EXTRA_HOST_FLAGS) \
25512 clean
25513 @endif zlib-bootstrap
25516 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25517 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25518 maybe-all-stage2-zlib:
25519 maybe-clean-stage2-zlib:
25520 @if zlib-bootstrap
25521 maybe-all-stage2-zlib: all-stage2-zlib
25522 all-stage2: all-stage2-zlib
25523 TARGET-stage2-zlib = $(TARGET-zlib)
25524 all-stage2-zlib: configure-stage2-zlib
25525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25526 @r=`${PWD_COMMAND}`; export r; \
25527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25528 TFLAGS="$(STAGE2_TFLAGS)"; \
25529 $(HOST_EXPORTS) \
25530 $(POSTSTAGE1_HOST_EXPORTS) \
25531 cd $(HOST_SUBDIR)/zlib && \
25532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25533 CFLAGS="$(STAGE2_CFLAGS)" \
25534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25535 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25540 TFLAGS="$(STAGE2_TFLAGS)" \
25541 $(TARGET-stage2-zlib)
25543 maybe-clean-stage2-zlib: clean-stage2-zlib
25544 clean-stage2: clean-stage2-zlib
25545 clean-stage2-zlib:
25546 @if [ $(current_stage) = stage2 ]; then \
25547 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25548 else \
25549 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25550 $(MAKE) stage2-start; \
25551 fi; \
25552 cd $(HOST_SUBDIR)/zlib && \
25553 $(MAKE) $(EXTRA_HOST_FLAGS) \
25554 $(POSTSTAGE1_FLAGS_TO_PASS) \
25555 clean
25556 @endif zlib-bootstrap
25559 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25560 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25561 maybe-all-stage3-zlib:
25562 maybe-clean-stage3-zlib:
25563 @if zlib-bootstrap
25564 maybe-all-stage3-zlib: all-stage3-zlib
25565 all-stage3: all-stage3-zlib
25566 TARGET-stage3-zlib = $(TARGET-zlib)
25567 all-stage3-zlib: configure-stage3-zlib
25568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25569 @r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 TFLAGS="$(STAGE3_TFLAGS)"; \
25572 $(HOST_EXPORTS) \
25573 $(POSTSTAGE1_HOST_EXPORTS) \
25574 cd $(HOST_SUBDIR)/zlib && \
25575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25576 CFLAGS="$(STAGE3_CFLAGS)" \
25577 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25578 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25583 TFLAGS="$(STAGE3_TFLAGS)" \
25584 $(TARGET-stage3-zlib)
25586 maybe-clean-stage3-zlib: clean-stage3-zlib
25587 clean-stage3: clean-stage3-zlib
25588 clean-stage3-zlib:
25589 @if [ $(current_stage) = stage3 ]; then \
25590 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25591 else \
25592 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25593 $(MAKE) stage3-start; \
25594 fi; \
25595 cd $(HOST_SUBDIR)/zlib && \
25596 $(MAKE) $(EXTRA_HOST_FLAGS) \
25597 $(POSTSTAGE1_FLAGS_TO_PASS) \
25598 clean
25599 @endif zlib-bootstrap
25602 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25603 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25604 maybe-all-stage4-zlib:
25605 maybe-clean-stage4-zlib:
25606 @if zlib-bootstrap
25607 maybe-all-stage4-zlib: all-stage4-zlib
25608 all-stage4: all-stage4-zlib
25609 TARGET-stage4-zlib = $(TARGET-zlib)
25610 all-stage4-zlib: configure-stage4-zlib
25611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25612 @r=`${PWD_COMMAND}`; export r; \
25613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25614 TFLAGS="$(STAGE4_TFLAGS)"; \
25615 $(HOST_EXPORTS) \
25616 $(POSTSTAGE1_HOST_EXPORTS) \
25617 cd $(HOST_SUBDIR)/zlib && \
25618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25619 CFLAGS="$(STAGE4_CFLAGS)" \
25620 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25621 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25625 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25626 TFLAGS="$(STAGE4_TFLAGS)" \
25627 $(TARGET-stage4-zlib)
25629 maybe-clean-stage4-zlib: clean-stage4-zlib
25630 clean-stage4: clean-stage4-zlib
25631 clean-stage4-zlib:
25632 @if [ $(current_stage) = stage4 ]; then \
25633 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25634 else \
25635 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25636 $(MAKE) stage4-start; \
25637 fi; \
25638 cd $(HOST_SUBDIR)/zlib && \
25639 $(MAKE) $(EXTRA_HOST_FLAGS) \
25640 $(POSTSTAGE1_FLAGS_TO_PASS) \
25641 clean
25642 @endif zlib-bootstrap
25645 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25646 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25647 maybe-all-stageprofile-zlib:
25648 maybe-clean-stageprofile-zlib:
25649 @if zlib-bootstrap
25650 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25651 all-stageprofile: all-stageprofile-zlib
25652 TARGET-stageprofile-zlib = $(TARGET-zlib)
25653 all-stageprofile-zlib: configure-stageprofile-zlib
25654 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25655 @r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25658 $(HOST_EXPORTS) \
25659 $(POSTSTAGE1_HOST_EXPORTS) \
25660 cd $(HOST_SUBDIR)/zlib && \
25661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25662 CFLAGS="$(STAGEprofile_CFLAGS)" \
25663 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25664 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25668 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25669 TFLAGS="$(STAGEprofile_TFLAGS)" \
25670 $(TARGET-stageprofile-zlib)
25672 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25673 clean-stageprofile: clean-stageprofile-zlib
25674 clean-stageprofile-zlib:
25675 @if [ $(current_stage) = stageprofile ]; then \
25676 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25677 else \
25678 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25679 $(MAKE) stageprofile-start; \
25680 fi; \
25681 cd $(HOST_SUBDIR)/zlib && \
25682 $(MAKE) $(EXTRA_HOST_FLAGS) \
25683 $(POSTSTAGE1_FLAGS_TO_PASS) \
25684 clean
25685 @endif zlib-bootstrap
25688 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25689 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25690 maybe-all-stagefeedback-zlib:
25691 maybe-clean-stagefeedback-zlib:
25692 @if zlib-bootstrap
25693 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25694 all-stagefeedback: all-stagefeedback-zlib
25695 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25696 all-stagefeedback-zlib: configure-stagefeedback-zlib
25697 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25698 @r=`${PWD_COMMAND}`; export r; \
25699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25700 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25701 $(HOST_EXPORTS) \
25702 $(POSTSTAGE1_HOST_EXPORTS) \
25703 cd $(HOST_SUBDIR)/zlib && \
25704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25705 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25706 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25707 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25712 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25713 $(TARGET-stagefeedback-zlib)
25715 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25716 clean-stagefeedback: clean-stagefeedback-zlib
25717 clean-stagefeedback-zlib:
25718 @if [ $(current_stage) = stagefeedback ]; then \
25719 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25720 else \
25721 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25722 $(MAKE) stagefeedback-start; \
25723 fi; \
25724 cd $(HOST_SUBDIR)/zlib && \
25725 $(MAKE) $(EXTRA_HOST_FLAGS) \
25726 $(POSTSTAGE1_FLAGS_TO_PASS) \
25727 clean
25728 @endif zlib-bootstrap
25734 .PHONY: check-zlib maybe-check-zlib
25735 maybe-check-zlib:
25736 @if zlib
25737 maybe-check-zlib: check-zlib
25739 check-zlib:
25741 @endif zlib
25743 .PHONY: install-zlib maybe-install-zlib
25744 maybe-install-zlib:
25745 @if zlib
25746 maybe-install-zlib: install-zlib
25748 install-zlib:
25750 @endif zlib
25752 .PHONY: install-strip-zlib maybe-install-strip-zlib
25753 maybe-install-strip-zlib:
25754 @if zlib
25755 maybe-install-strip-zlib: install-strip-zlib
25757 install-strip-zlib:
25759 @endif zlib
25761 # Other targets (info, dvi, pdf, etc.)
25763 .PHONY: maybe-info-zlib info-zlib
25764 maybe-info-zlib:
25765 @if zlib
25766 maybe-info-zlib: info-zlib
25768 info-zlib: \
25769 configure-zlib
25770 @[ -f ./zlib/Makefile ] || exit 0; \
25771 r=`${PWD_COMMAND}`; export r; \
25772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25773 $(HOST_EXPORTS) \
25774 for flag in $(EXTRA_HOST_FLAGS) ; do \
25775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25776 done; \
25777 echo "Doing info in zlib" ; \
25778 (cd $(HOST_SUBDIR)/zlib && \
25779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25781 "RANLIB=$${RANLIB}" \
25782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25783 info) \
25784 || exit 1
25786 @endif zlib
25788 .PHONY: maybe-dvi-zlib dvi-zlib
25789 maybe-dvi-zlib:
25790 @if zlib
25791 maybe-dvi-zlib: dvi-zlib
25793 dvi-zlib: \
25794 configure-zlib
25795 @[ -f ./zlib/Makefile ] || exit 0; \
25796 r=`${PWD_COMMAND}`; export r; \
25797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25798 $(HOST_EXPORTS) \
25799 for flag in $(EXTRA_HOST_FLAGS) ; do \
25800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25801 done; \
25802 echo "Doing dvi in zlib" ; \
25803 (cd $(HOST_SUBDIR)/zlib && \
25804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25806 "RANLIB=$${RANLIB}" \
25807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25808 dvi) \
25809 || exit 1
25811 @endif zlib
25813 .PHONY: maybe-pdf-zlib pdf-zlib
25814 maybe-pdf-zlib:
25815 @if zlib
25816 maybe-pdf-zlib: pdf-zlib
25818 pdf-zlib: \
25819 configure-zlib
25820 @[ -f ./zlib/Makefile ] || exit 0; \
25821 r=`${PWD_COMMAND}`; export r; \
25822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25823 $(HOST_EXPORTS) \
25824 for flag in $(EXTRA_HOST_FLAGS) ; do \
25825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25826 done; \
25827 echo "Doing pdf in zlib" ; \
25828 (cd $(HOST_SUBDIR)/zlib && \
25829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25831 "RANLIB=$${RANLIB}" \
25832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25833 pdf) \
25834 || exit 1
25836 @endif zlib
25838 .PHONY: maybe-html-zlib html-zlib
25839 maybe-html-zlib:
25840 @if zlib
25841 maybe-html-zlib: html-zlib
25843 html-zlib: \
25844 configure-zlib
25845 @[ -f ./zlib/Makefile ] || exit 0; \
25846 r=`${PWD_COMMAND}`; export r; \
25847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25848 $(HOST_EXPORTS) \
25849 for flag in $(EXTRA_HOST_FLAGS) ; do \
25850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25851 done; \
25852 echo "Doing html in zlib" ; \
25853 (cd $(HOST_SUBDIR)/zlib && \
25854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25856 "RANLIB=$${RANLIB}" \
25857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25858 html) \
25859 || exit 1
25861 @endif zlib
25863 .PHONY: maybe-TAGS-zlib TAGS-zlib
25864 maybe-TAGS-zlib:
25865 @if zlib
25866 maybe-TAGS-zlib: TAGS-zlib
25868 TAGS-zlib: \
25869 configure-zlib
25870 @[ -f ./zlib/Makefile ] || exit 0; \
25871 r=`${PWD_COMMAND}`; export r; \
25872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25873 $(HOST_EXPORTS) \
25874 for flag in $(EXTRA_HOST_FLAGS) ; do \
25875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25876 done; \
25877 echo "Doing TAGS in zlib" ; \
25878 (cd $(HOST_SUBDIR)/zlib && \
25879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25881 "RANLIB=$${RANLIB}" \
25882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25883 TAGS) \
25884 || exit 1
25886 @endif zlib
25888 .PHONY: maybe-install-info-zlib install-info-zlib
25889 maybe-install-info-zlib:
25890 @if zlib
25891 maybe-install-info-zlib: install-info-zlib
25893 install-info-zlib: \
25894 configure-zlib \
25895 info-zlib
25896 @[ -f ./zlib/Makefile ] || exit 0; \
25897 r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(HOST_EXPORTS) \
25900 for flag in $(EXTRA_HOST_FLAGS) ; do \
25901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25902 done; \
25903 echo "Doing install-info in zlib" ; \
25904 (cd $(HOST_SUBDIR)/zlib && \
25905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25907 "RANLIB=$${RANLIB}" \
25908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25909 install-info) \
25910 || exit 1
25912 @endif zlib
25914 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25915 maybe-install-pdf-zlib:
25916 @if zlib
25917 maybe-install-pdf-zlib: install-pdf-zlib
25919 install-pdf-zlib: \
25920 configure-zlib \
25921 pdf-zlib
25922 @[ -f ./zlib/Makefile ] || exit 0; \
25923 r=`${PWD_COMMAND}`; export r; \
25924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25925 $(HOST_EXPORTS) \
25926 for flag in $(EXTRA_HOST_FLAGS) ; do \
25927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25928 done; \
25929 echo "Doing install-pdf in zlib" ; \
25930 (cd $(HOST_SUBDIR)/zlib && \
25931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25933 "RANLIB=$${RANLIB}" \
25934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25935 install-pdf) \
25936 || exit 1
25938 @endif zlib
25940 .PHONY: maybe-install-html-zlib install-html-zlib
25941 maybe-install-html-zlib:
25942 @if zlib
25943 maybe-install-html-zlib: install-html-zlib
25945 install-html-zlib: \
25946 configure-zlib \
25947 html-zlib
25948 @[ -f ./zlib/Makefile ] || exit 0; \
25949 r=`${PWD_COMMAND}`; export r; \
25950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25951 $(HOST_EXPORTS) \
25952 for flag in $(EXTRA_HOST_FLAGS) ; do \
25953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25954 done; \
25955 echo "Doing install-html in zlib" ; \
25956 (cd $(HOST_SUBDIR)/zlib && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25959 "RANLIB=$${RANLIB}" \
25960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25961 install-html) \
25962 || exit 1
25964 @endif zlib
25966 .PHONY: maybe-installcheck-zlib installcheck-zlib
25967 maybe-installcheck-zlib:
25968 @if zlib
25969 maybe-installcheck-zlib: installcheck-zlib
25971 installcheck-zlib: \
25972 configure-zlib
25973 @[ -f ./zlib/Makefile ] || exit 0; \
25974 r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(HOST_EXPORTS) \
25977 for flag in $(EXTRA_HOST_FLAGS) ; do \
25978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25979 done; \
25980 echo "Doing installcheck in zlib" ; \
25981 (cd $(HOST_SUBDIR)/zlib && \
25982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25984 "RANLIB=$${RANLIB}" \
25985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25986 installcheck) \
25987 || exit 1
25989 @endif zlib
25991 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25992 maybe-mostlyclean-zlib:
25993 @if zlib
25994 maybe-mostlyclean-zlib: mostlyclean-zlib
25996 mostlyclean-zlib:
25997 @[ -f ./zlib/Makefile ] || exit 0; \
25998 r=`${PWD_COMMAND}`; export r; \
25999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26000 $(HOST_EXPORTS) \
26001 for flag in $(EXTRA_HOST_FLAGS) ; do \
26002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26003 done; \
26004 echo "Doing mostlyclean in zlib" ; \
26005 (cd $(HOST_SUBDIR)/zlib && \
26006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26008 "RANLIB=$${RANLIB}" \
26009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26010 mostlyclean) \
26011 || exit 1
26013 @endif zlib
26015 .PHONY: maybe-clean-zlib clean-zlib
26016 maybe-clean-zlib:
26017 @if zlib
26018 maybe-clean-zlib: clean-zlib
26020 clean-zlib:
26021 @[ -f ./zlib/Makefile ] || exit 0; \
26022 r=`${PWD_COMMAND}`; export r; \
26023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(HOST_EXPORTS) \
26025 for flag in $(EXTRA_HOST_FLAGS) ; do \
26026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26027 done; \
26028 echo "Doing clean in zlib" ; \
26029 (cd $(HOST_SUBDIR)/zlib && \
26030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26032 "RANLIB=$${RANLIB}" \
26033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26034 clean) \
26035 || exit 1
26037 @endif zlib
26039 .PHONY: maybe-distclean-zlib distclean-zlib
26040 maybe-distclean-zlib:
26041 @if zlib
26042 maybe-distclean-zlib: distclean-zlib
26044 distclean-zlib:
26045 @[ -f ./zlib/Makefile ] || exit 0; \
26046 r=`${PWD_COMMAND}`; export r; \
26047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26048 $(HOST_EXPORTS) \
26049 for flag in $(EXTRA_HOST_FLAGS) ; do \
26050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26051 done; \
26052 echo "Doing distclean in zlib" ; \
26053 (cd $(HOST_SUBDIR)/zlib && \
26054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26056 "RANLIB=$${RANLIB}" \
26057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26058 distclean) \
26059 || exit 1
26061 @endif zlib
26063 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26064 maybe-maintainer-clean-zlib:
26065 @if zlib
26066 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26068 maintainer-clean-zlib:
26069 @[ -f ./zlib/Makefile ] || exit 0; \
26070 r=`${PWD_COMMAND}`; export r; \
26071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26072 $(HOST_EXPORTS) \
26073 for flag in $(EXTRA_HOST_FLAGS) ; do \
26074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26075 done; \
26076 echo "Doing maintainer-clean in zlib" ; \
26077 (cd $(HOST_SUBDIR)/zlib && \
26078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26080 "RANLIB=$${RANLIB}" \
26081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26082 maintainer-clean) \
26083 || exit 1
26085 @endif zlib
26089 .PHONY: configure-gdb maybe-configure-gdb
26090 maybe-configure-gdb:
26091 @if gcc-bootstrap
26092 configure-gdb: stage_current
26093 @endif gcc-bootstrap
26094 @if gdb
26095 maybe-configure-gdb: configure-gdb
26096 configure-gdb:
26097 @: $(MAKE); $(unstage)
26098 @r=`${PWD_COMMAND}`; export r; \
26099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26100 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26102 $(HOST_EXPORTS) \
26103 echo Configuring in $(HOST_SUBDIR)/gdb; \
26104 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26105 case $(srcdir) in \
26106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26107 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26109 esac; \
26110 srcdiroption="--srcdir=$${topdir}/gdb"; \
26111 libsrcdir="$$s/gdb"; \
26112 $(SHELL) $${libsrcdir}/configure \
26113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26114 --target=${target_alias} $${srcdiroption} \
26115 || exit 1
26116 @endif gdb
26122 .PHONY: all-gdb maybe-all-gdb
26123 maybe-all-gdb:
26124 @if gcc-bootstrap
26125 all-gdb: stage_current
26126 @endif gcc-bootstrap
26127 @if gdb
26128 TARGET-gdb=all
26129 maybe-all-gdb: all-gdb
26130 all-gdb: configure-gdb
26131 @: $(MAKE); $(unstage)
26132 @r=`${PWD_COMMAND}`; export r; \
26133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26134 $(HOST_EXPORTS) \
26135 (cd $(HOST_SUBDIR)/gdb && \
26136 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26137 $(TARGET-gdb))
26138 @endif gdb
26143 .PHONY: check-gdb maybe-check-gdb
26144 maybe-check-gdb:
26145 @if gdb
26146 maybe-check-gdb: check-gdb
26148 check-gdb:
26149 @: $(MAKE); $(unstage)
26150 @r=`${PWD_COMMAND}`; export r; \
26151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26152 $(HOST_EXPORTS) \
26153 (cd $(HOST_SUBDIR)/gdb && \
26154 $(MAKE) $(FLAGS_TO_PASS) check)
26156 @endif gdb
26158 .PHONY: install-gdb maybe-install-gdb
26159 maybe-install-gdb:
26160 @if gdb
26161 maybe-install-gdb: install-gdb
26163 install-gdb: installdirs
26164 @: $(MAKE); $(unstage)
26165 @r=`${PWD_COMMAND}`; export r; \
26166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26167 $(HOST_EXPORTS) \
26168 (cd $(HOST_SUBDIR)/gdb && \
26169 $(MAKE) $(FLAGS_TO_PASS) install)
26171 @endif gdb
26173 .PHONY: install-strip-gdb maybe-install-strip-gdb
26174 maybe-install-strip-gdb:
26175 @if gdb
26176 maybe-install-strip-gdb: install-strip-gdb
26178 install-strip-gdb: installdirs
26179 @: $(MAKE); $(unstage)
26180 @r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(HOST_EXPORTS) \
26183 (cd $(HOST_SUBDIR)/gdb && \
26184 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26186 @endif gdb
26188 # Other targets (info, dvi, pdf, etc.)
26190 .PHONY: maybe-info-gdb info-gdb
26191 maybe-info-gdb:
26192 @if gdb
26193 maybe-info-gdb: info-gdb
26195 info-gdb: \
26196 configure-gdb
26197 @: $(MAKE); $(unstage)
26198 @[ -f ./gdb/Makefile ] || exit 0; \
26199 r=`${PWD_COMMAND}`; export r; \
26200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26201 $(HOST_EXPORTS) \
26202 for flag in $(EXTRA_HOST_FLAGS) ; do \
26203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26204 done; \
26205 echo "Doing info in gdb" ; \
26206 (cd $(HOST_SUBDIR)/gdb && \
26207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26209 "RANLIB=$${RANLIB}" \
26210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26211 info) \
26212 || exit 1
26214 @endif gdb
26216 .PHONY: maybe-dvi-gdb dvi-gdb
26217 maybe-dvi-gdb:
26218 @if gdb
26219 maybe-dvi-gdb: dvi-gdb
26221 dvi-gdb: \
26222 configure-gdb
26223 @: $(MAKE); $(unstage)
26224 @[ -f ./gdb/Makefile ] || exit 0; \
26225 r=`${PWD_COMMAND}`; export r; \
26226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26227 $(HOST_EXPORTS) \
26228 for flag in $(EXTRA_HOST_FLAGS) ; do \
26229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26230 done; \
26231 echo "Doing dvi in gdb" ; \
26232 (cd $(HOST_SUBDIR)/gdb && \
26233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26235 "RANLIB=$${RANLIB}" \
26236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26237 dvi) \
26238 || exit 1
26240 @endif gdb
26242 .PHONY: maybe-pdf-gdb pdf-gdb
26243 maybe-pdf-gdb:
26244 @if gdb
26245 maybe-pdf-gdb: pdf-gdb
26247 pdf-gdb: \
26248 configure-gdb
26249 @: $(MAKE); $(unstage)
26250 @[ -f ./gdb/Makefile ] || exit 0; \
26251 r=`${PWD_COMMAND}`; export r; \
26252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26253 $(HOST_EXPORTS) \
26254 for flag in $(EXTRA_HOST_FLAGS) ; do \
26255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26256 done; \
26257 echo "Doing pdf in gdb" ; \
26258 (cd $(HOST_SUBDIR)/gdb && \
26259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26261 "RANLIB=$${RANLIB}" \
26262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26263 pdf) \
26264 || exit 1
26266 @endif gdb
26268 .PHONY: maybe-html-gdb html-gdb
26269 maybe-html-gdb:
26270 @if gdb
26271 maybe-html-gdb: html-gdb
26273 html-gdb: \
26274 configure-gdb
26275 @: $(MAKE); $(unstage)
26276 @[ -f ./gdb/Makefile ] || exit 0; \
26277 r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279 $(HOST_EXPORTS) \
26280 for flag in $(EXTRA_HOST_FLAGS) ; do \
26281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26282 done; \
26283 echo "Doing html in gdb" ; \
26284 (cd $(HOST_SUBDIR)/gdb && \
26285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26287 "RANLIB=$${RANLIB}" \
26288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26289 html) \
26290 || exit 1
26292 @endif gdb
26294 .PHONY: maybe-TAGS-gdb TAGS-gdb
26295 maybe-TAGS-gdb:
26296 @if gdb
26297 maybe-TAGS-gdb: TAGS-gdb
26299 TAGS-gdb: \
26300 configure-gdb
26301 @: $(MAKE); $(unstage)
26302 @[ -f ./gdb/Makefile ] || exit 0; \
26303 r=`${PWD_COMMAND}`; export r; \
26304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26305 $(HOST_EXPORTS) \
26306 for flag in $(EXTRA_HOST_FLAGS) ; do \
26307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26308 done; \
26309 echo "Doing TAGS in gdb" ; \
26310 (cd $(HOST_SUBDIR)/gdb && \
26311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26313 "RANLIB=$${RANLIB}" \
26314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26315 TAGS) \
26316 || exit 1
26318 @endif gdb
26320 .PHONY: maybe-install-info-gdb install-info-gdb
26321 maybe-install-info-gdb:
26322 @if gdb
26323 maybe-install-info-gdb: install-info-gdb
26325 install-info-gdb: \
26326 configure-gdb \
26327 info-gdb
26328 @: $(MAKE); $(unstage)
26329 @[ -f ./gdb/Makefile ] || exit 0; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(HOST_EXPORTS) \
26333 for flag in $(EXTRA_HOST_FLAGS) ; do \
26334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26335 done; \
26336 echo "Doing install-info in gdb" ; \
26337 (cd $(HOST_SUBDIR)/gdb && \
26338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26340 "RANLIB=$${RANLIB}" \
26341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26342 install-info) \
26343 || exit 1
26345 @endif gdb
26347 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26348 maybe-install-pdf-gdb:
26349 @if gdb
26350 maybe-install-pdf-gdb: install-pdf-gdb
26352 install-pdf-gdb: \
26353 configure-gdb \
26354 pdf-gdb
26355 @: $(MAKE); $(unstage)
26356 @[ -f ./gdb/Makefile ] || exit 0; \
26357 r=`${PWD_COMMAND}`; export r; \
26358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26359 $(HOST_EXPORTS) \
26360 for flag in $(EXTRA_HOST_FLAGS) ; do \
26361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26362 done; \
26363 echo "Doing install-pdf in gdb" ; \
26364 (cd $(HOST_SUBDIR)/gdb && \
26365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26367 "RANLIB=$${RANLIB}" \
26368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26369 install-pdf) \
26370 || exit 1
26372 @endif gdb
26374 .PHONY: maybe-install-html-gdb install-html-gdb
26375 maybe-install-html-gdb:
26376 @if gdb
26377 maybe-install-html-gdb: install-html-gdb
26379 install-html-gdb: \
26380 configure-gdb \
26381 html-gdb
26382 @: $(MAKE); $(unstage)
26383 @[ -f ./gdb/Makefile ] || exit 0; \
26384 r=`${PWD_COMMAND}`; export r; \
26385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26386 $(HOST_EXPORTS) \
26387 for flag in $(EXTRA_HOST_FLAGS) ; do \
26388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26389 done; \
26390 echo "Doing install-html in gdb" ; \
26391 (cd $(HOST_SUBDIR)/gdb && \
26392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26394 "RANLIB=$${RANLIB}" \
26395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26396 install-html) \
26397 || exit 1
26399 @endif gdb
26401 .PHONY: maybe-installcheck-gdb installcheck-gdb
26402 maybe-installcheck-gdb:
26403 @if gdb
26404 maybe-installcheck-gdb: installcheck-gdb
26406 installcheck-gdb: \
26407 configure-gdb
26408 @: $(MAKE); $(unstage)
26409 @[ -f ./gdb/Makefile ] || exit 0; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 $(HOST_EXPORTS) \
26413 for flag in $(EXTRA_HOST_FLAGS) ; do \
26414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26415 done; \
26416 echo "Doing installcheck in gdb" ; \
26417 (cd $(HOST_SUBDIR)/gdb && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420 "RANLIB=$${RANLIB}" \
26421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26422 installcheck) \
26423 || exit 1
26425 @endif gdb
26427 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26428 maybe-mostlyclean-gdb:
26429 @if gdb
26430 maybe-mostlyclean-gdb: mostlyclean-gdb
26432 mostlyclean-gdb:
26433 @: $(MAKE); $(unstage)
26434 @[ -f ./gdb/Makefile ] || exit 0; \
26435 r=`${PWD_COMMAND}`; export r; \
26436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26437 $(HOST_EXPORTS) \
26438 for flag in $(EXTRA_HOST_FLAGS) ; do \
26439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26440 done; \
26441 echo "Doing mostlyclean in gdb" ; \
26442 (cd $(HOST_SUBDIR)/gdb && \
26443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26445 "RANLIB=$${RANLIB}" \
26446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26447 mostlyclean) \
26448 || exit 1
26450 @endif gdb
26452 .PHONY: maybe-clean-gdb clean-gdb
26453 maybe-clean-gdb:
26454 @if gdb
26455 maybe-clean-gdb: clean-gdb
26457 clean-gdb:
26458 @: $(MAKE); $(unstage)
26459 @[ -f ./gdb/Makefile ] || exit 0; \
26460 r=`${PWD_COMMAND}`; export r; \
26461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26462 $(HOST_EXPORTS) \
26463 for flag in $(EXTRA_HOST_FLAGS) ; do \
26464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26465 done; \
26466 echo "Doing clean in gdb" ; \
26467 (cd $(HOST_SUBDIR)/gdb && \
26468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26470 "RANLIB=$${RANLIB}" \
26471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26472 clean) \
26473 || exit 1
26475 @endif gdb
26477 .PHONY: maybe-distclean-gdb distclean-gdb
26478 maybe-distclean-gdb:
26479 @if gdb
26480 maybe-distclean-gdb: distclean-gdb
26482 distclean-gdb:
26483 @: $(MAKE); $(unstage)
26484 @[ -f ./gdb/Makefile ] || exit 0; \
26485 r=`${PWD_COMMAND}`; export r; \
26486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26487 $(HOST_EXPORTS) \
26488 for flag in $(EXTRA_HOST_FLAGS) ; do \
26489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26490 done; \
26491 echo "Doing distclean in gdb" ; \
26492 (cd $(HOST_SUBDIR)/gdb && \
26493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26495 "RANLIB=$${RANLIB}" \
26496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26497 distclean) \
26498 || exit 1
26500 @endif gdb
26502 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26503 maybe-maintainer-clean-gdb:
26504 @if gdb
26505 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26507 maintainer-clean-gdb:
26508 @: $(MAKE); $(unstage)
26509 @[ -f ./gdb/Makefile ] || exit 0; \
26510 r=`${PWD_COMMAND}`; export r; \
26511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512 $(HOST_EXPORTS) \
26513 for flag in $(EXTRA_HOST_FLAGS) ; do \
26514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26515 done; \
26516 echo "Doing maintainer-clean in gdb" ; \
26517 (cd $(HOST_SUBDIR)/gdb && \
26518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26520 "RANLIB=$${RANLIB}" \
26521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26522 maintainer-clean) \
26523 || exit 1
26525 @endif gdb
26529 .PHONY: configure-expect maybe-configure-expect
26530 maybe-configure-expect:
26531 @if gcc-bootstrap
26532 configure-expect: stage_current
26533 @endif gcc-bootstrap
26534 @if expect
26535 maybe-configure-expect: configure-expect
26536 configure-expect:
26537 @: $(MAKE); $(unstage)
26538 @r=`${PWD_COMMAND}`; export r; \
26539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26540 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26542 $(HOST_EXPORTS) \
26543 echo Configuring in $(HOST_SUBDIR)/expect; \
26544 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26545 case $(srcdir) in \
26546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26547 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26549 esac; \
26550 srcdiroption="--srcdir=$${topdir}/expect"; \
26551 libsrcdir="$$s/expect"; \
26552 $(SHELL) $${libsrcdir}/configure \
26553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26554 --target=${target_alias} $${srcdiroption} \
26555 || exit 1
26556 @endif expect
26562 .PHONY: all-expect maybe-all-expect
26563 maybe-all-expect:
26564 @if gcc-bootstrap
26565 all-expect: stage_current
26566 @endif gcc-bootstrap
26567 @if expect
26568 TARGET-expect=all
26569 maybe-all-expect: all-expect
26570 all-expect: configure-expect
26571 @: $(MAKE); $(unstage)
26572 @r=`${PWD_COMMAND}`; export r; \
26573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26574 $(HOST_EXPORTS) \
26575 (cd $(HOST_SUBDIR)/expect && \
26576 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26577 $(TARGET-expect))
26578 @endif expect
26583 .PHONY: check-expect maybe-check-expect
26584 maybe-check-expect:
26585 @if expect
26586 maybe-check-expect: check-expect
26588 check-expect:
26589 @: $(MAKE); $(unstage)
26590 @r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 $(HOST_EXPORTS) \
26593 (cd $(HOST_SUBDIR)/expect && \
26594 $(MAKE) $(FLAGS_TO_PASS) check)
26596 @endif expect
26598 .PHONY: install-expect maybe-install-expect
26599 maybe-install-expect:
26600 @if expect
26601 maybe-install-expect: install-expect
26603 install-expect: installdirs
26604 @: $(MAKE); $(unstage)
26605 @r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(HOST_EXPORTS) \
26608 (cd $(HOST_SUBDIR)/expect && \
26609 $(MAKE) $(FLAGS_TO_PASS) install)
26611 @endif expect
26613 .PHONY: install-strip-expect maybe-install-strip-expect
26614 maybe-install-strip-expect:
26615 @if expect
26616 maybe-install-strip-expect: install-strip-expect
26618 install-strip-expect: installdirs
26619 @: $(MAKE); $(unstage)
26620 @r=`${PWD_COMMAND}`; export r; \
26621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26622 $(HOST_EXPORTS) \
26623 (cd $(HOST_SUBDIR)/expect && \
26624 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26626 @endif expect
26628 # Other targets (info, dvi, pdf, etc.)
26630 .PHONY: maybe-info-expect info-expect
26631 maybe-info-expect:
26632 @if expect
26633 maybe-info-expect: info-expect
26635 info-expect: \
26636 configure-expect
26637 @: $(MAKE); $(unstage)
26638 @[ -f ./expect/Makefile ] || exit 0; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(HOST_EXPORTS) \
26642 for flag in $(EXTRA_HOST_FLAGS) ; do \
26643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26644 done; \
26645 echo "Doing info in expect" ; \
26646 (cd $(HOST_SUBDIR)/expect && \
26647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26649 "RANLIB=$${RANLIB}" \
26650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26651 info) \
26652 || exit 1
26654 @endif expect
26656 .PHONY: maybe-dvi-expect dvi-expect
26657 maybe-dvi-expect:
26658 @if expect
26659 maybe-dvi-expect: dvi-expect
26661 dvi-expect: \
26662 configure-expect
26663 @: $(MAKE); $(unstage)
26664 @[ -f ./expect/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(HOST_EXPORTS) \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26670 done; \
26671 echo "Doing dvi in expect" ; \
26672 (cd $(HOST_SUBDIR)/expect && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26677 dvi) \
26678 || exit 1
26680 @endif expect
26682 .PHONY: maybe-pdf-expect pdf-expect
26683 maybe-pdf-expect:
26684 @if expect
26685 maybe-pdf-expect: pdf-expect
26687 pdf-expect: \
26688 configure-expect
26689 @: $(MAKE); $(unstage)
26690 @[ -f ./expect/Makefile ] || exit 0; \
26691 r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26693 $(HOST_EXPORTS) \
26694 for flag in $(EXTRA_HOST_FLAGS) ; do \
26695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26696 done; \
26697 echo "Doing pdf in expect" ; \
26698 (cd $(HOST_SUBDIR)/expect && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26703 pdf) \
26704 || exit 1
26706 @endif expect
26708 .PHONY: maybe-html-expect html-expect
26709 maybe-html-expect:
26710 @if expect
26711 maybe-html-expect: html-expect
26713 html-expect: \
26714 configure-expect
26715 @: $(MAKE); $(unstage)
26716 @[ -f ./expect/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26719 $(HOST_EXPORTS) \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26722 done; \
26723 echo "Doing html in expect" ; \
26724 (cd $(HOST_SUBDIR)/expect && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26729 html) \
26730 || exit 1
26732 @endif expect
26734 .PHONY: maybe-TAGS-expect TAGS-expect
26735 maybe-TAGS-expect:
26736 @if expect
26737 maybe-TAGS-expect: TAGS-expect
26739 TAGS-expect: \
26740 configure-expect
26741 @: $(MAKE); $(unstage)
26742 @[ -f ./expect/Makefile ] || exit 0; \
26743 r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 $(HOST_EXPORTS) \
26746 for flag in $(EXTRA_HOST_FLAGS) ; do \
26747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26748 done; \
26749 echo "Doing TAGS in expect" ; \
26750 (cd $(HOST_SUBDIR)/expect && \
26751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26753 "RANLIB=$${RANLIB}" \
26754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26755 TAGS) \
26756 || exit 1
26758 @endif expect
26760 .PHONY: maybe-install-info-expect install-info-expect
26761 maybe-install-info-expect:
26762 @if expect
26763 maybe-install-info-expect: install-info-expect
26765 install-info-expect: \
26766 configure-expect \
26767 info-expect
26768 @: $(MAKE); $(unstage)
26769 @[ -f ./expect/Makefile ] || exit 0; \
26770 r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 for flag in $(EXTRA_HOST_FLAGS) ; do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 echo "Doing install-info in expect" ; \
26777 (cd $(HOST_SUBDIR)/expect && \
26778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26780 "RANLIB=$${RANLIB}" \
26781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26782 install-info) \
26783 || exit 1
26785 @endif expect
26787 .PHONY: maybe-install-pdf-expect install-pdf-expect
26788 maybe-install-pdf-expect:
26789 @if expect
26790 maybe-install-pdf-expect: install-pdf-expect
26792 install-pdf-expect: \
26793 configure-expect \
26794 pdf-expect
26795 @: $(MAKE); $(unstage)
26796 @[ -f ./expect/Makefile ] || exit 0; \
26797 r=`${PWD_COMMAND}`; export r; \
26798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26799 $(HOST_EXPORTS) \
26800 for flag in $(EXTRA_HOST_FLAGS) ; do \
26801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26802 done; \
26803 echo "Doing install-pdf in expect" ; \
26804 (cd $(HOST_SUBDIR)/expect && \
26805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26807 "RANLIB=$${RANLIB}" \
26808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26809 install-pdf) \
26810 || exit 1
26812 @endif expect
26814 .PHONY: maybe-install-html-expect install-html-expect
26815 maybe-install-html-expect:
26816 @if expect
26817 maybe-install-html-expect: install-html-expect
26819 install-html-expect: \
26820 configure-expect \
26821 html-expect
26822 @: $(MAKE); $(unstage)
26823 @[ -f ./expect/Makefile ] || exit 0; \
26824 r=`${PWD_COMMAND}`; export r; \
26825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(HOST_EXPORTS) \
26827 for flag in $(EXTRA_HOST_FLAGS) ; do \
26828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26829 done; \
26830 echo "Doing install-html in expect" ; \
26831 (cd $(HOST_SUBDIR)/expect && \
26832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26834 "RANLIB=$${RANLIB}" \
26835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26836 install-html) \
26837 || exit 1
26839 @endif expect
26841 .PHONY: maybe-installcheck-expect installcheck-expect
26842 maybe-installcheck-expect:
26843 @if expect
26844 maybe-installcheck-expect: installcheck-expect
26846 installcheck-expect: \
26847 configure-expect
26848 @: $(MAKE); $(unstage)
26849 @[ -f ./expect/Makefile ] || exit 0; \
26850 r=`${PWD_COMMAND}`; export r; \
26851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852 $(HOST_EXPORTS) \
26853 for flag in $(EXTRA_HOST_FLAGS) ; do \
26854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26855 done; \
26856 echo "Doing installcheck in expect" ; \
26857 (cd $(HOST_SUBDIR)/expect && \
26858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26860 "RANLIB=$${RANLIB}" \
26861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26862 installcheck) \
26863 || exit 1
26865 @endif expect
26867 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26868 maybe-mostlyclean-expect:
26869 @if expect
26870 maybe-mostlyclean-expect: mostlyclean-expect
26872 mostlyclean-expect:
26873 @: $(MAKE); $(unstage)
26874 @[ -f ./expect/Makefile ] || exit 0; \
26875 r=`${PWD_COMMAND}`; export r; \
26876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26877 $(HOST_EXPORTS) \
26878 for flag in $(EXTRA_HOST_FLAGS) ; do \
26879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26880 done; \
26881 echo "Doing mostlyclean in expect" ; \
26882 (cd $(HOST_SUBDIR)/expect && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885 "RANLIB=$${RANLIB}" \
26886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26887 mostlyclean) \
26888 || exit 1
26890 @endif expect
26892 .PHONY: maybe-clean-expect clean-expect
26893 maybe-clean-expect:
26894 @if expect
26895 maybe-clean-expect: clean-expect
26897 clean-expect:
26898 @: $(MAKE); $(unstage)
26899 @[ -f ./expect/Makefile ] || exit 0; \
26900 r=`${PWD_COMMAND}`; export r; \
26901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26902 $(HOST_EXPORTS) \
26903 for flag in $(EXTRA_HOST_FLAGS) ; do \
26904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26905 done; \
26906 echo "Doing clean in expect" ; \
26907 (cd $(HOST_SUBDIR)/expect && \
26908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26910 "RANLIB=$${RANLIB}" \
26911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26912 clean) \
26913 || exit 1
26915 @endif expect
26917 .PHONY: maybe-distclean-expect distclean-expect
26918 maybe-distclean-expect:
26919 @if expect
26920 maybe-distclean-expect: distclean-expect
26922 distclean-expect:
26923 @: $(MAKE); $(unstage)
26924 @[ -f ./expect/Makefile ] || exit 0; \
26925 r=`${PWD_COMMAND}`; export r; \
26926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26927 $(HOST_EXPORTS) \
26928 for flag in $(EXTRA_HOST_FLAGS) ; do \
26929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26930 done; \
26931 echo "Doing distclean in expect" ; \
26932 (cd $(HOST_SUBDIR)/expect && \
26933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26935 "RANLIB=$${RANLIB}" \
26936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26937 distclean) \
26938 || exit 1
26940 @endif expect
26942 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26943 maybe-maintainer-clean-expect:
26944 @if expect
26945 maybe-maintainer-clean-expect: maintainer-clean-expect
26947 maintainer-clean-expect:
26948 @: $(MAKE); $(unstage)
26949 @[ -f ./expect/Makefile ] || exit 0; \
26950 r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26952 $(HOST_EXPORTS) \
26953 for flag in $(EXTRA_HOST_FLAGS) ; do \
26954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26955 done; \
26956 echo "Doing maintainer-clean in expect" ; \
26957 (cd $(HOST_SUBDIR)/expect && \
26958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26960 "RANLIB=$${RANLIB}" \
26961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26962 maintainer-clean) \
26963 || exit 1
26965 @endif expect
26969 .PHONY: configure-guile maybe-configure-guile
26970 maybe-configure-guile:
26971 @if gcc-bootstrap
26972 configure-guile: stage_current
26973 @endif gcc-bootstrap
26974 @if guile
26975 maybe-configure-guile: configure-guile
26976 configure-guile:
26977 @: $(MAKE); $(unstage)
26978 @r=`${PWD_COMMAND}`; export r; \
26979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26980 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26982 $(HOST_EXPORTS) \
26983 echo Configuring in $(HOST_SUBDIR)/guile; \
26984 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26985 case $(srcdir) in \
26986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26987 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26989 esac; \
26990 srcdiroption="--srcdir=$${topdir}/guile"; \
26991 libsrcdir="$$s/guile"; \
26992 $(SHELL) $${libsrcdir}/configure \
26993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26994 --target=${target_alias} $${srcdiroption} \
26995 || exit 1
26996 @endif guile
27002 .PHONY: all-guile maybe-all-guile
27003 maybe-all-guile:
27004 @if gcc-bootstrap
27005 all-guile: stage_current
27006 @endif gcc-bootstrap
27007 @if guile
27008 TARGET-guile=all
27009 maybe-all-guile: all-guile
27010 all-guile: configure-guile
27011 @: $(MAKE); $(unstage)
27012 @r=`${PWD_COMMAND}`; export r; \
27013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27014 $(HOST_EXPORTS) \
27015 (cd $(HOST_SUBDIR)/guile && \
27016 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27017 $(TARGET-guile))
27018 @endif guile
27023 .PHONY: check-guile maybe-check-guile
27024 maybe-check-guile:
27025 @if guile
27026 maybe-check-guile: check-guile
27028 check-guile:
27029 @: $(MAKE); $(unstage)
27030 @r=`${PWD_COMMAND}`; export r; \
27031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27032 $(HOST_EXPORTS) \
27033 (cd $(HOST_SUBDIR)/guile && \
27034 $(MAKE) $(FLAGS_TO_PASS) check)
27036 @endif guile
27038 .PHONY: install-guile maybe-install-guile
27039 maybe-install-guile:
27040 @if guile
27041 maybe-install-guile: install-guile
27043 install-guile: installdirs
27044 @: $(MAKE); $(unstage)
27045 @r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(HOST_EXPORTS) \
27048 (cd $(HOST_SUBDIR)/guile && \
27049 $(MAKE) $(FLAGS_TO_PASS) install)
27051 @endif guile
27053 .PHONY: install-strip-guile maybe-install-strip-guile
27054 maybe-install-strip-guile:
27055 @if guile
27056 maybe-install-strip-guile: install-strip-guile
27058 install-strip-guile: installdirs
27059 @: $(MAKE); $(unstage)
27060 @r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(HOST_EXPORTS) \
27063 (cd $(HOST_SUBDIR)/guile && \
27064 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27066 @endif guile
27068 # Other targets (info, dvi, pdf, etc.)
27070 .PHONY: maybe-info-guile info-guile
27071 maybe-info-guile:
27072 @if guile
27073 maybe-info-guile: info-guile
27075 info-guile: \
27076 configure-guile
27077 @: $(MAKE); $(unstage)
27078 @[ -f ./guile/Makefile ] || exit 0; \
27079 r=`${PWD_COMMAND}`; export r; \
27080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27081 $(HOST_EXPORTS) \
27082 for flag in $(EXTRA_HOST_FLAGS) ; do \
27083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27084 done; \
27085 echo "Doing info in guile" ; \
27086 (cd $(HOST_SUBDIR)/guile && \
27087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27089 "RANLIB=$${RANLIB}" \
27090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27091 info) \
27092 || exit 1
27094 @endif guile
27096 .PHONY: maybe-dvi-guile dvi-guile
27097 maybe-dvi-guile:
27098 @if guile
27099 maybe-dvi-guile: dvi-guile
27101 dvi-guile: \
27102 configure-guile
27103 @: $(MAKE); $(unstage)
27104 @[ -f ./guile/Makefile ] || exit 0; \
27105 r=`${PWD_COMMAND}`; export r; \
27106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27107 $(HOST_EXPORTS) \
27108 for flag in $(EXTRA_HOST_FLAGS) ; do \
27109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27110 done; \
27111 echo "Doing dvi in guile" ; \
27112 (cd $(HOST_SUBDIR)/guile && \
27113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27115 "RANLIB=$${RANLIB}" \
27116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27117 dvi) \
27118 || exit 1
27120 @endif guile
27122 .PHONY: maybe-pdf-guile pdf-guile
27123 maybe-pdf-guile:
27124 @if guile
27125 maybe-pdf-guile: pdf-guile
27127 pdf-guile: \
27128 configure-guile
27129 @: $(MAKE); $(unstage)
27130 @[ -f ./guile/Makefile ] || exit 0; \
27131 r=`${PWD_COMMAND}`; export r; \
27132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27133 $(HOST_EXPORTS) \
27134 for flag in $(EXTRA_HOST_FLAGS) ; do \
27135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27136 done; \
27137 echo "Doing pdf in guile" ; \
27138 (cd $(HOST_SUBDIR)/guile && \
27139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27141 "RANLIB=$${RANLIB}" \
27142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27143 pdf) \
27144 || exit 1
27146 @endif guile
27148 .PHONY: maybe-html-guile html-guile
27149 maybe-html-guile:
27150 @if guile
27151 maybe-html-guile: html-guile
27153 html-guile: \
27154 configure-guile
27155 @: $(MAKE); $(unstage)
27156 @[ -f ./guile/Makefile ] || exit 0; \
27157 r=`${PWD_COMMAND}`; export r; \
27158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27159 $(HOST_EXPORTS) \
27160 for flag in $(EXTRA_HOST_FLAGS) ; do \
27161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27162 done; \
27163 echo "Doing html in guile" ; \
27164 (cd $(HOST_SUBDIR)/guile && \
27165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27167 "RANLIB=$${RANLIB}" \
27168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27169 html) \
27170 || exit 1
27172 @endif guile
27174 .PHONY: maybe-TAGS-guile TAGS-guile
27175 maybe-TAGS-guile:
27176 @if guile
27177 maybe-TAGS-guile: TAGS-guile
27179 TAGS-guile: \
27180 configure-guile
27181 @: $(MAKE); $(unstage)
27182 @[ -f ./guile/Makefile ] || exit 0; \
27183 r=`${PWD_COMMAND}`; export r; \
27184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27185 $(HOST_EXPORTS) \
27186 for flag in $(EXTRA_HOST_FLAGS) ; do \
27187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27188 done; \
27189 echo "Doing TAGS in guile" ; \
27190 (cd $(HOST_SUBDIR)/guile && \
27191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27193 "RANLIB=$${RANLIB}" \
27194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27195 TAGS) \
27196 || exit 1
27198 @endif guile
27200 .PHONY: maybe-install-info-guile install-info-guile
27201 maybe-install-info-guile:
27202 @if guile
27203 maybe-install-info-guile: install-info-guile
27205 install-info-guile: \
27206 configure-guile \
27207 info-guile
27208 @: $(MAKE); $(unstage)
27209 @[ -f ./guile/Makefile ] || exit 0; \
27210 r=`${PWD_COMMAND}`; export r; \
27211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27212 $(HOST_EXPORTS) \
27213 for flag in $(EXTRA_HOST_FLAGS) ; do \
27214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27215 done; \
27216 echo "Doing install-info in guile" ; \
27217 (cd $(HOST_SUBDIR)/guile && \
27218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27220 "RANLIB=$${RANLIB}" \
27221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27222 install-info) \
27223 || exit 1
27225 @endif guile
27227 .PHONY: maybe-install-pdf-guile install-pdf-guile
27228 maybe-install-pdf-guile:
27229 @if guile
27230 maybe-install-pdf-guile: install-pdf-guile
27232 install-pdf-guile: \
27233 configure-guile \
27234 pdf-guile
27235 @: $(MAKE); $(unstage)
27236 @[ -f ./guile/Makefile ] || exit 0; \
27237 r=`${PWD_COMMAND}`; export r; \
27238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27239 $(HOST_EXPORTS) \
27240 for flag in $(EXTRA_HOST_FLAGS) ; do \
27241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27242 done; \
27243 echo "Doing install-pdf in guile" ; \
27244 (cd $(HOST_SUBDIR)/guile && \
27245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27247 "RANLIB=$${RANLIB}" \
27248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27249 install-pdf) \
27250 || exit 1
27252 @endif guile
27254 .PHONY: maybe-install-html-guile install-html-guile
27255 maybe-install-html-guile:
27256 @if guile
27257 maybe-install-html-guile: install-html-guile
27259 install-html-guile: \
27260 configure-guile \
27261 html-guile
27262 @: $(MAKE); $(unstage)
27263 @[ -f ./guile/Makefile ] || exit 0; \
27264 r=`${PWD_COMMAND}`; export r; \
27265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27266 $(HOST_EXPORTS) \
27267 for flag in $(EXTRA_HOST_FLAGS) ; do \
27268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27269 done; \
27270 echo "Doing install-html in guile" ; \
27271 (cd $(HOST_SUBDIR)/guile && \
27272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27274 "RANLIB=$${RANLIB}" \
27275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27276 install-html) \
27277 || exit 1
27279 @endif guile
27281 .PHONY: maybe-installcheck-guile installcheck-guile
27282 maybe-installcheck-guile:
27283 @if guile
27284 maybe-installcheck-guile: installcheck-guile
27286 installcheck-guile: \
27287 configure-guile
27288 @: $(MAKE); $(unstage)
27289 @[ -f ./guile/Makefile ] || exit 0; \
27290 r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27292 $(HOST_EXPORTS) \
27293 for flag in $(EXTRA_HOST_FLAGS) ; do \
27294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27295 done; \
27296 echo "Doing installcheck in guile" ; \
27297 (cd $(HOST_SUBDIR)/guile && \
27298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27300 "RANLIB=$${RANLIB}" \
27301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27302 installcheck) \
27303 || exit 1
27305 @endif guile
27307 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27308 maybe-mostlyclean-guile:
27309 @if guile
27310 maybe-mostlyclean-guile: mostlyclean-guile
27312 mostlyclean-guile:
27313 @: $(MAKE); $(unstage)
27314 @[ -f ./guile/Makefile ] || exit 0; \
27315 r=`${PWD_COMMAND}`; export r; \
27316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27317 $(HOST_EXPORTS) \
27318 for flag in $(EXTRA_HOST_FLAGS) ; do \
27319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27320 done; \
27321 echo "Doing mostlyclean in guile" ; \
27322 (cd $(HOST_SUBDIR)/guile && \
27323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27325 "RANLIB=$${RANLIB}" \
27326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27327 mostlyclean) \
27328 || exit 1
27330 @endif guile
27332 .PHONY: maybe-clean-guile clean-guile
27333 maybe-clean-guile:
27334 @if guile
27335 maybe-clean-guile: clean-guile
27337 clean-guile:
27338 @: $(MAKE); $(unstage)
27339 @[ -f ./guile/Makefile ] || exit 0; \
27340 r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 $(HOST_EXPORTS) \
27343 for flag in $(EXTRA_HOST_FLAGS) ; do \
27344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27345 done; \
27346 echo "Doing clean in guile" ; \
27347 (cd $(HOST_SUBDIR)/guile && \
27348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27350 "RANLIB=$${RANLIB}" \
27351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27352 clean) \
27353 || exit 1
27355 @endif guile
27357 .PHONY: maybe-distclean-guile distclean-guile
27358 maybe-distclean-guile:
27359 @if guile
27360 maybe-distclean-guile: distclean-guile
27362 distclean-guile:
27363 @: $(MAKE); $(unstage)
27364 @[ -f ./guile/Makefile ] || exit 0; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(HOST_EXPORTS) \
27368 for flag in $(EXTRA_HOST_FLAGS) ; do \
27369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27370 done; \
27371 echo "Doing distclean in guile" ; \
27372 (cd $(HOST_SUBDIR)/guile && \
27373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27375 "RANLIB=$${RANLIB}" \
27376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27377 distclean) \
27378 || exit 1
27380 @endif guile
27382 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27383 maybe-maintainer-clean-guile:
27384 @if guile
27385 maybe-maintainer-clean-guile: maintainer-clean-guile
27387 maintainer-clean-guile:
27388 @: $(MAKE); $(unstage)
27389 @[ -f ./guile/Makefile ] || exit 0; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(HOST_EXPORTS) \
27393 for flag in $(EXTRA_HOST_FLAGS) ; do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27395 done; \
27396 echo "Doing maintainer-clean in guile" ; \
27397 (cd $(HOST_SUBDIR)/guile && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27402 maintainer-clean) \
27403 || exit 1
27405 @endif guile
27409 .PHONY: configure-tk maybe-configure-tk
27410 maybe-configure-tk:
27411 @if gcc-bootstrap
27412 configure-tk: stage_current
27413 @endif gcc-bootstrap
27414 @if tk
27415 maybe-configure-tk: configure-tk
27416 configure-tk:
27417 @: $(MAKE); $(unstage)
27418 @r=`${PWD_COMMAND}`; export r; \
27419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27420 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27422 $(HOST_EXPORTS) \
27423 echo Configuring in $(HOST_SUBDIR)/tk; \
27424 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27425 case $(srcdir) in \
27426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27427 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27429 esac; \
27430 srcdiroption="--srcdir=$${topdir}/tk"; \
27431 libsrcdir="$$s/tk"; \
27432 $(SHELL) $${libsrcdir}/configure \
27433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27434 --target=${target_alias} $${srcdiroption} \
27435 || exit 1
27436 @endif tk
27442 .PHONY: all-tk maybe-all-tk
27443 maybe-all-tk:
27444 @if gcc-bootstrap
27445 all-tk: stage_current
27446 @endif gcc-bootstrap
27447 @if tk
27448 TARGET-tk=all
27449 maybe-all-tk: all-tk
27450 all-tk: configure-tk
27451 @: $(MAKE); $(unstage)
27452 @r=`${PWD_COMMAND}`; export r; \
27453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27454 $(HOST_EXPORTS) \
27455 (cd $(HOST_SUBDIR)/tk && \
27456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27457 $(TARGET-tk))
27458 @endif tk
27463 .PHONY: check-tk maybe-check-tk
27464 maybe-check-tk:
27465 @if tk
27466 maybe-check-tk: check-tk
27468 check-tk:
27469 @: $(MAKE); $(unstage)
27470 @r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27472 $(HOST_EXPORTS) \
27473 (cd $(HOST_SUBDIR)/tk && \
27474 $(MAKE) $(FLAGS_TO_PASS) check)
27476 @endif tk
27478 .PHONY: install-tk maybe-install-tk
27479 maybe-install-tk:
27480 @if tk
27481 maybe-install-tk: install-tk
27483 install-tk: installdirs
27484 @: $(MAKE); $(unstage)
27485 @r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 (cd $(HOST_SUBDIR)/tk && \
27489 $(MAKE) $(FLAGS_TO_PASS) install)
27491 @endif tk
27493 .PHONY: install-strip-tk maybe-install-strip-tk
27494 maybe-install-strip-tk:
27495 @if tk
27496 maybe-install-strip-tk: install-strip-tk
27498 install-strip-tk: installdirs
27499 @: $(MAKE); $(unstage)
27500 @r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 (cd $(HOST_SUBDIR)/tk && \
27504 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27506 @endif tk
27508 # Other targets (info, dvi, pdf, etc.)
27510 .PHONY: maybe-info-tk info-tk
27511 maybe-info-tk:
27512 @if tk
27513 maybe-info-tk: info-tk
27515 info-tk: \
27516 configure-tk
27517 @: $(MAKE); $(unstage)
27518 @[ -f ./tk/Makefile ] || exit 0; \
27519 r=`${PWD_COMMAND}`; export r; \
27520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27521 $(HOST_EXPORTS) \
27522 for flag in $(EXTRA_HOST_FLAGS) ; do \
27523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27524 done; \
27525 echo "Doing info in tk" ; \
27526 (cd $(HOST_SUBDIR)/tk && \
27527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27529 "RANLIB=$${RANLIB}" \
27530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27531 info) \
27532 || exit 1
27534 @endif tk
27536 .PHONY: maybe-dvi-tk dvi-tk
27537 maybe-dvi-tk:
27538 @if tk
27539 maybe-dvi-tk: dvi-tk
27541 dvi-tk: \
27542 configure-tk
27543 @: $(MAKE); $(unstage)
27544 @[ -f ./tk/Makefile ] || exit 0; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 $(HOST_EXPORTS) \
27548 for flag in $(EXTRA_HOST_FLAGS) ; do \
27549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27550 done; \
27551 echo "Doing dvi in tk" ; \
27552 (cd $(HOST_SUBDIR)/tk && \
27553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27555 "RANLIB=$${RANLIB}" \
27556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27557 dvi) \
27558 || exit 1
27560 @endif tk
27562 .PHONY: maybe-pdf-tk pdf-tk
27563 maybe-pdf-tk:
27564 @if tk
27565 maybe-pdf-tk: pdf-tk
27567 pdf-tk: \
27568 configure-tk
27569 @: $(MAKE); $(unstage)
27570 @[ -f ./tk/Makefile ] || exit 0; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(HOST_EXPORTS) \
27574 for flag in $(EXTRA_HOST_FLAGS) ; do \
27575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27576 done; \
27577 echo "Doing pdf in tk" ; \
27578 (cd $(HOST_SUBDIR)/tk && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27583 pdf) \
27584 || exit 1
27586 @endif tk
27588 .PHONY: maybe-html-tk html-tk
27589 maybe-html-tk:
27590 @if tk
27591 maybe-html-tk: html-tk
27593 html-tk: \
27594 configure-tk
27595 @: $(MAKE); $(unstage)
27596 @[ -f ./tk/Makefile ] || exit 0; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(HOST_EXPORTS) \
27600 for flag in $(EXTRA_HOST_FLAGS) ; do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 echo "Doing html in tk" ; \
27604 (cd $(HOST_SUBDIR)/tk && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27609 html) \
27610 || exit 1
27612 @endif tk
27614 .PHONY: maybe-TAGS-tk TAGS-tk
27615 maybe-TAGS-tk:
27616 @if tk
27617 maybe-TAGS-tk: TAGS-tk
27619 TAGS-tk: \
27620 configure-tk
27621 @: $(MAKE); $(unstage)
27622 @[ -f ./tk/Makefile ] || exit 0; \
27623 r=`${PWD_COMMAND}`; export r; \
27624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27625 $(HOST_EXPORTS) \
27626 for flag in $(EXTRA_HOST_FLAGS) ; do \
27627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27628 done; \
27629 echo "Doing TAGS in tk" ; \
27630 (cd $(HOST_SUBDIR)/tk && \
27631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27633 "RANLIB=$${RANLIB}" \
27634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27635 TAGS) \
27636 || exit 1
27638 @endif tk
27640 .PHONY: maybe-install-info-tk install-info-tk
27641 maybe-install-info-tk:
27642 @if tk
27643 maybe-install-info-tk: install-info-tk
27645 install-info-tk: \
27646 configure-tk \
27647 info-tk
27648 @: $(MAKE); $(unstage)
27649 @[ -f ./tk/Makefile ] || exit 0; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(HOST_EXPORTS) \
27653 for flag in $(EXTRA_HOST_FLAGS) ; do \
27654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27655 done; \
27656 echo "Doing install-info in tk" ; \
27657 (cd $(HOST_SUBDIR)/tk && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27662 install-info) \
27663 || exit 1
27665 @endif tk
27667 .PHONY: maybe-install-pdf-tk install-pdf-tk
27668 maybe-install-pdf-tk:
27669 @if tk
27670 maybe-install-pdf-tk: install-pdf-tk
27672 install-pdf-tk: \
27673 configure-tk \
27674 pdf-tk
27675 @: $(MAKE); $(unstage)
27676 @[ -f ./tk/Makefile ] || exit 0; \
27677 r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(HOST_EXPORTS) \
27680 for flag in $(EXTRA_HOST_FLAGS) ; do \
27681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27682 done; \
27683 echo "Doing install-pdf in tk" ; \
27684 (cd $(HOST_SUBDIR)/tk && \
27685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27687 "RANLIB=$${RANLIB}" \
27688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27689 install-pdf) \
27690 || exit 1
27692 @endif tk
27694 .PHONY: maybe-install-html-tk install-html-tk
27695 maybe-install-html-tk:
27696 @if tk
27697 maybe-install-html-tk: install-html-tk
27699 install-html-tk: \
27700 configure-tk \
27701 html-tk
27702 @: $(MAKE); $(unstage)
27703 @[ -f ./tk/Makefile ] || exit 0; \
27704 r=`${PWD_COMMAND}`; export r; \
27705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27706 $(HOST_EXPORTS) \
27707 for flag in $(EXTRA_HOST_FLAGS) ; do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709 done; \
27710 echo "Doing install-html in tk" ; \
27711 (cd $(HOST_SUBDIR)/tk && \
27712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27714 "RANLIB=$${RANLIB}" \
27715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27716 install-html) \
27717 || exit 1
27719 @endif tk
27721 .PHONY: maybe-installcheck-tk installcheck-tk
27722 maybe-installcheck-tk:
27723 @if tk
27724 maybe-installcheck-tk: installcheck-tk
27726 installcheck-tk: \
27727 configure-tk
27728 @: $(MAKE); $(unstage)
27729 @[ -f ./tk/Makefile ] || exit 0; \
27730 r=`${PWD_COMMAND}`; export r; \
27731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27732 $(HOST_EXPORTS) \
27733 for flag in $(EXTRA_HOST_FLAGS) ; do \
27734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27735 done; \
27736 echo "Doing installcheck in tk" ; \
27737 (cd $(HOST_SUBDIR)/tk && \
27738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27740 "RANLIB=$${RANLIB}" \
27741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27742 installcheck) \
27743 || exit 1
27745 @endif tk
27747 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27748 maybe-mostlyclean-tk:
27749 @if tk
27750 maybe-mostlyclean-tk: mostlyclean-tk
27752 mostlyclean-tk:
27753 @: $(MAKE); $(unstage)
27754 @[ -f ./tk/Makefile ] || exit 0; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27757 $(HOST_EXPORTS) \
27758 for flag in $(EXTRA_HOST_FLAGS) ; do \
27759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27760 done; \
27761 echo "Doing mostlyclean in tk" ; \
27762 (cd $(HOST_SUBDIR)/tk && \
27763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27765 "RANLIB=$${RANLIB}" \
27766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27767 mostlyclean) \
27768 || exit 1
27770 @endif tk
27772 .PHONY: maybe-clean-tk clean-tk
27773 maybe-clean-tk:
27774 @if tk
27775 maybe-clean-tk: clean-tk
27777 clean-tk:
27778 @: $(MAKE); $(unstage)
27779 @[ -f ./tk/Makefile ] || exit 0; \
27780 r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(HOST_EXPORTS) \
27783 for flag in $(EXTRA_HOST_FLAGS) ; do \
27784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27785 done; \
27786 echo "Doing clean in tk" ; \
27787 (cd $(HOST_SUBDIR)/tk && \
27788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27790 "RANLIB=$${RANLIB}" \
27791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27792 clean) \
27793 || exit 1
27795 @endif tk
27797 .PHONY: maybe-distclean-tk distclean-tk
27798 maybe-distclean-tk:
27799 @if tk
27800 maybe-distclean-tk: distclean-tk
27802 distclean-tk:
27803 @: $(MAKE); $(unstage)
27804 @[ -f ./tk/Makefile ] || exit 0; \
27805 r=`${PWD_COMMAND}`; export r; \
27806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27807 $(HOST_EXPORTS) \
27808 for flag in $(EXTRA_HOST_FLAGS) ; do \
27809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27810 done; \
27811 echo "Doing distclean in tk" ; \
27812 (cd $(HOST_SUBDIR)/tk && \
27813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27815 "RANLIB=$${RANLIB}" \
27816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27817 distclean) \
27818 || exit 1
27820 @endif tk
27822 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27823 maybe-maintainer-clean-tk:
27824 @if tk
27825 maybe-maintainer-clean-tk: maintainer-clean-tk
27827 maintainer-clean-tk:
27828 @: $(MAKE); $(unstage)
27829 @[ -f ./tk/Makefile ] || exit 0; \
27830 r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(HOST_EXPORTS) \
27833 for flag in $(EXTRA_HOST_FLAGS) ; do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27835 done; \
27836 echo "Doing maintainer-clean in tk" ; \
27837 (cd $(HOST_SUBDIR)/tk && \
27838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27840 "RANLIB=$${RANLIB}" \
27841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27842 maintainer-clean) \
27843 || exit 1
27845 @endif tk
27849 .PHONY: configure-libtermcap maybe-configure-libtermcap
27850 maybe-configure-libtermcap:
27851 @if gcc-bootstrap
27852 configure-libtermcap: stage_current
27853 @endif gcc-bootstrap
27854 @if libtermcap
27855 maybe-configure-libtermcap: configure-libtermcap
27856 configure-libtermcap:
27857 @: $(MAKE); $(unstage)
27858 @r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27862 $(HOST_EXPORTS) \
27863 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27864 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27865 case $(srcdir) in \
27866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27867 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27869 esac; \
27870 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27871 libsrcdir="$$s/libtermcap"; \
27872 $(SHELL) $${libsrcdir}/configure \
27873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27874 --target=${target_alias} $${srcdiroption} \
27875 || exit 1
27876 @endif libtermcap
27882 .PHONY: all-libtermcap maybe-all-libtermcap
27883 maybe-all-libtermcap:
27884 @if gcc-bootstrap
27885 all-libtermcap: stage_current
27886 @endif gcc-bootstrap
27887 @if libtermcap
27888 TARGET-libtermcap=all
27889 maybe-all-libtermcap: all-libtermcap
27890 all-libtermcap: configure-libtermcap
27891 @: $(MAKE); $(unstage)
27892 @r=`${PWD_COMMAND}`; export r; \
27893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27894 $(HOST_EXPORTS) \
27895 (cd $(HOST_SUBDIR)/libtermcap && \
27896 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27897 $(TARGET-libtermcap))
27898 @endif libtermcap
27903 .PHONY: check-libtermcap maybe-check-libtermcap
27904 maybe-check-libtermcap:
27905 @if libtermcap
27906 maybe-check-libtermcap: check-libtermcap
27908 check-libtermcap:
27910 @endif libtermcap
27912 .PHONY: install-libtermcap maybe-install-libtermcap
27913 maybe-install-libtermcap:
27914 @if libtermcap
27915 maybe-install-libtermcap: install-libtermcap
27917 install-libtermcap: installdirs
27918 @: $(MAKE); $(unstage)
27919 @r=`${PWD_COMMAND}`; export r; \
27920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27921 $(HOST_EXPORTS) \
27922 (cd $(HOST_SUBDIR)/libtermcap && \
27923 $(MAKE) $(FLAGS_TO_PASS) install)
27925 @endif libtermcap
27927 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27928 maybe-install-strip-libtermcap:
27929 @if libtermcap
27930 maybe-install-strip-libtermcap: install-strip-libtermcap
27932 install-strip-libtermcap: installdirs
27933 @: $(MAKE); $(unstage)
27934 @r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 $(HOST_EXPORTS) \
27937 (cd $(HOST_SUBDIR)/libtermcap && \
27938 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27940 @endif libtermcap
27942 # Other targets (info, dvi, pdf, etc.)
27944 .PHONY: maybe-info-libtermcap info-libtermcap
27945 maybe-info-libtermcap:
27946 @if libtermcap
27947 maybe-info-libtermcap: info-libtermcap
27949 info-libtermcap: \
27950 configure-libtermcap
27951 @: $(MAKE); $(unstage)
27952 @[ -f ./libtermcap/Makefile ] || exit 0; \
27953 r=`${PWD_COMMAND}`; export r; \
27954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27955 $(HOST_EXPORTS) \
27956 for flag in $(EXTRA_HOST_FLAGS) ; do \
27957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27958 done; \
27959 echo "Doing info in libtermcap" ; \
27960 (cd $(HOST_SUBDIR)/libtermcap && \
27961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27963 "RANLIB=$${RANLIB}" \
27964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27965 info) \
27966 || exit 1
27968 @endif libtermcap
27970 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27971 maybe-dvi-libtermcap:
27972 @if libtermcap
27973 maybe-dvi-libtermcap: dvi-libtermcap
27975 dvi-libtermcap: \
27976 configure-libtermcap
27977 @: $(MAKE); $(unstage)
27978 @[ -f ./libtermcap/Makefile ] || exit 0; \
27979 r=`${PWD_COMMAND}`; export r; \
27980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 $(HOST_EXPORTS) \
27982 for flag in $(EXTRA_HOST_FLAGS) ; do \
27983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27984 done; \
27985 echo "Doing dvi in libtermcap" ; \
27986 (cd $(HOST_SUBDIR)/libtermcap && \
27987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27989 "RANLIB=$${RANLIB}" \
27990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27991 dvi) \
27992 || exit 1
27994 @endif libtermcap
27996 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27997 maybe-pdf-libtermcap:
27998 @if libtermcap
27999 maybe-pdf-libtermcap: pdf-libtermcap
28001 pdf-libtermcap: \
28002 configure-libtermcap
28003 @: $(MAKE); $(unstage)
28004 @[ -f ./libtermcap/Makefile ] || exit 0; \
28005 r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28007 $(HOST_EXPORTS) \
28008 for flag in $(EXTRA_HOST_FLAGS) ; do \
28009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28010 done; \
28011 echo "Doing pdf in libtermcap" ; \
28012 (cd $(HOST_SUBDIR)/libtermcap && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28015 "RANLIB=$${RANLIB}" \
28016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28017 pdf) \
28018 || exit 1
28020 @endif libtermcap
28022 .PHONY: maybe-html-libtermcap html-libtermcap
28023 maybe-html-libtermcap:
28024 @if libtermcap
28025 maybe-html-libtermcap: html-libtermcap
28027 html-libtermcap: \
28028 configure-libtermcap
28029 @: $(MAKE); $(unstage)
28030 @[ -f ./libtermcap/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(HOST_EXPORTS) \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28036 done; \
28037 echo "Doing html in libtermcap" ; \
28038 (cd $(HOST_SUBDIR)/libtermcap && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28043 html) \
28044 || exit 1
28046 @endif libtermcap
28048 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28049 maybe-TAGS-libtermcap:
28050 @if libtermcap
28051 maybe-TAGS-libtermcap: TAGS-libtermcap
28053 TAGS-libtermcap: \
28054 configure-libtermcap
28055 @: $(MAKE); $(unstage)
28056 @[ -f ./libtermcap/Makefile ] || exit 0; \
28057 r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(HOST_EXPORTS) \
28060 for flag in $(EXTRA_HOST_FLAGS) ; do \
28061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28062 done; \
28063 echo "Doing TAGS in libtermcap" ; \
28064 (cd $(HOST_SUBDIR)/libtermcap && \
28065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28067 "RANLIB=$${RANLIB}" \
28068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28069 TAGS) \
28070 || exit 1
28072 @endif libtermcap
28074 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28075 maybe-install-info-libtermcap:
28076 @if libtermcap
28077 maybe-install-info-libtermcap: install-info-libtermcap
28079 install-info-libtermcap: \
28080 configure-libtermcap \
28081 info-libtermcap
28082 @: $(MAKE); $(unstage)
28083 @[ -f ./libtermcap/Makefile ] || exit 0; \
28084 r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 for flag in $(EXTRA_HOST_FLAGS) ; do \
28088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28089 done; \
28090 echo "Doing install-info in libtermcap" ; \
28091 (cd $(HOST_SUBDIR)/libtermcap && \
28092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28094 "RANLIB=$${RANLIB}" \
28095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28096 install-info) \
28097 || exit 1
28099 @endif libtermcap
28101 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28102 maybe-install-pdf-libtermcap:
28103 @if libtermcap
28104 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28106 install-pdf-libtermcap: \
28107 configure-libtermcap \
28108 pdf-libtermcap
28109 @: $(MAKE); $(unstage)
28110 @[ -f ./libtermcap/Makefile ] || exit 0; \
28111 r=`${PWD_COMMAND}`; export r; \
28112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28113 $(HOST_EXPORTS) \
28114 for flag in $(EXTRA_HOST_FLAGS) ; do \
28115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28116 done; \
28117 echo "Doing install-pdf in libtermcap" ; \
28118 (cd $(HOST_SUBDIR)/libtermcap && \
28119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28121 "RANLIB=$${RANLIB}" \
28122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28123 install-pdf) \
28124 || exit 1
28126 @endif libtermcap
28128 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28129 maybe-install-html-libtermcap:
28130 @if libtermcap
28131 maybe-install-html-libtermcap: install-html-libtermcap
28133 install-html-libtermcap: \
28134 configure-libtermcap \
28135 html-libtermcap
28136 @: $(MAKE); $(unstage)
28137 @[ -f ./libtermcap/Makefile ] || exit 0; \
28138 r=`${PWD_COMMAND}`; export r; \
28139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28140 $(HOST_EXPORTS) \
28141 for flag in $(EXTRA_HOST_FLAGS) ; do \
28142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28143 done; \
28144 echo "Doing install-html in libtermcap" ; \
28145 (cd $(HOST_SUBDIR)/libtermcap && \
28146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28148 "RANLIB=$${RANLIB}" \
28149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28150 install-html) \
28151 || exit 1
28153 @endif libtermcap
28155 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28156 maybe-installcheck-libtermcap:
28157 @if libtermcap
28158 maybe-installcheck-libtermcap: installcheck-libtermcap
28160 installcheck-libtermcap: \
28161 configure-libtermcap
28162 @: $(MAKE); $(unstage)
28163 @[ -f ./libtermcap/Makefile ] || exit 0; \
28164 r=`${PWD_COMMAND}`; export r; \
28165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28166 $(HOST_EXPORTS) \
28167 for flag in $(EXTRA_HOST_FLAGS) ; do \
28168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28169 done; \
28170 echo "Doing installcheck in libtermcap" ; \
28171 (cd $(HOST_SUBDIR)/libtermcap && \
28172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28174 "RANLIB=$${RANLIB}" \
28175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28176 installcheck) \
28177 || exit 1
28179 @endif libtermcap
28181 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28182 maybe-mostlyclean-libtermcap:
28183 @if libtermcap
28184 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28186 # libtermcap doesn't support mostlyclean.
28187 mostlyclean-libtermcap:
28189 @endif libtermcap
28191 .PHONY: maybe-clean-libtermcap clean-libtermcap
28192 maybe-clean-libtermcap:
28193 @if libtermcap
28194 maybe-clean-libtermcap: clean-libtermcap
28196 # libtermcap doesn't support clean.
28197 clean-libtermcap:
28199 @endif libtermcap
28201 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28202 maybe-distclean-libtermcap:
28203 @if libtermcap
28204 maybe-distclean-libtermcap: distclean-libtermcap
28206 # libtermcap doesn't support distclean.
28207 distclean-libtermcap:
28209 @endif libtermcap
28211 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28212 maybe-maintainer-clean-libtermcap:
28213 @if libtermcap
28214 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28216 # libtermcap doesn't support maintainer-clean.
28217 maintainer-clean-libtermcap:
28219 @endif libtermcap
28223 .PHONY: configure-utils maybe-configure-utils
28224 maybe-configure-utils:
28225 @if gcc-bootstrap
28226 configure-utils: stage_current
28227 @endif gcc-bootstrap
28228 @if utils
28229 maybe-configure-utils: configure-utils
28230 configure-utils:
28231 @: $(MAKE); $(unstage)
28232 @r=`${PWD_COMMAND}`; export r; \
28233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28234 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28236 $(HOST_EXPORTS) \
28237 echo Configuring in $(HOST_SUBDIR)/utils; \
28238 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28239 case $(srcdir) in \
28240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28241 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28243 esac; \
28244 srcdiroption="--srcdir=$${topdir}/utils"; \
28245 libsrcdir="$$s/utils"; \
28246 $(SHELL) $${libsrcdir}/configure \
28247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28248 --target=${target_alias} $${srcdiroption} \
28249 || exit 1
28250 @endif utils
28256 .PHONY: all-utils maybe-all-utils
28257 maybe-all-utils:
28258 @if gcc-bootstrap
28259 all-utils: stage_current
28260 @endif gcc-bootstrap
28261 @if utils
28262 TARGET-utils=all
28263 maybe-all-utils: all-utils
28264 all-utils: configure-utils
28265 @: $(MAKE); $(unstage)
28266 @r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(HOST_EXPORTS) \
28269 (cd $(HOST_SUBDIR)/utils && \
28270 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28271 $(TARGET-utils))
28272 @endif utils
28277 .PHONY: check-utils maybe-check-utils
28278 maybe-check-utils:
28279 @if utils
28280 maybe-check-utils: check-utils
28282 check-utils:
28284 @endif utils
28286 .PHONY: install-utils maybe-install-utils
28287 maybe-install-utils:
28288 @if utils
28289 maybe-install-utils: install-utils
28291 install-utils: installdirs
28292 @: $(MAKE); $(unstage)
28293 @r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 $(HOST_EXPORTS) \
28296 (cd $(HOST_SUBDIR)/utils && \
28297 $(MAKE) $(FLAGS_TO_PASS) install)
28299 @endif utils
28301 .PHONY: install-strip-utils maybe-install-strip-utils
28302 maybe-install-strip-utils:
28303 @if utils
28304 maybe-install-strip-utils: install-strip-utils
28306 install-strip-utils: installdirs
28307 @: $(MAKE); $(unstage)
28308 @r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(HOST_EXPORTS) \
28311 (cd $(HOST_SUBDIR)/utils && \
28312 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28314 @endif utils
28316 # Other targets (info, dvi, pdf, etc.)
28318 .PHONY: maybe-info-utils info-utils
28319 maybe-info-utils:
28320 @if utils
28321 maybe-info-utils: info-utils
28323 info-utils: \
28324 configure-utils
28325 @: $(MAKE); $(unstage)
28326 @[ -f ./utils/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing info in utils" ; \
28334 (cd $(HOST_SUBDIR)/utils && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28339 info) \
28340 || exit 1
28342 @endif utils
28344 .PHONY: maybe-dvi-utils dvi-utils
28345 maybe-dvi-utils:
28346 @if utils
28347 maybe-dvi-utils: dvi-utils
28349 dvi-utils: \
28350 configure-utils
28351 @: $(MAKE); $(unstage)
28352 @[ -f ./utils/Makefile ] || exit 0; \
28353 r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 for flag in $(EXTRA_HOST_FLAGS) ; do \
28357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28358 done; \
28359 echo "Doing dvi in utils" ; \
28360 (cd $(HOST_SUBDIR)/utils && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28365 dvi) \
28366 || exit 1
28368 @endif utils
28370 .PHONY: maybe-pdf-utils pdf-utils
28371 maybe-pdf-utils:
28372 @if utils
28373 maybe-pdf-utils: pdf-utils
28375 pdf-utils: \
28376 configure-utils
28377 @: $(MAKE); $(unstage)
28378 @[ -f ./utils/Makefile ] || exit 0; \
28379 r=`${PWD_COMMAND}`; export r; \
28380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28381 $(HOST_EXPORTS) \
28382 for flag in $(EXTRA_HOST_FLAGS) ; do \
28383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28384 done; \
28385 echo "Doing pdf in utils" ; \
28386 (cd $(HOST_SUBDIR)/utils && \
28387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28389 "RANLIB=$${RANLIB}" \
28390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28391 pdf) \
28392 || exit 1
28394 @endif utils
28396 .PHONY: maybe-html-utils html-utils
28397 maybe-html-utils:
28398 @if utils
28399 maybe-html-utils: html-utils
28401 html-utils: \
28402 configure-utils
28403 @: $(MAKE); $(unstage)
28404 @[ -f ./utils/Makefile ] || exit 0; \
28405 r=`${PWD_COMMAND}`; export r; \
28406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28407 $(HOST_EXPORTS) \
28408 for flag in $(EXTRA_HOST_FLAGS) ; do \
28409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28410 done; \
28411 echo "Doing html in utils" ; \
28412 (cd $(HOST_SUBDIR)/utils && \
28413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28415 "RANLIB=$${RANLIB}" \
28416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28417 html) \
28418 || exit 1
28420 @endif utils
28422 .PHONY: maybe-TAGS-utils TAGS-utils
28423 maybe-TAGS-utils:
28424 @if utils
28425 maybe-TAGS-utils: TAGS-utils
28427 TAGS-utils: \
28428 configure-utils
28429 @: $(MAKE); $(unstage)
28430 @[ -f ./utils/Makefile ] || exit 0; \
28431 r=`${PWD_COMMAND}`; export r; \
28432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28433 $(HOST_EXPORTS) \
28434 for flag in $(EXTRA_HOST_FLAGS) ; do \
28435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28436 done; \
28437 echo "Doing TAGS in utils" ; \
28438 (cd $(HOST_SUBDIR)/utils && \
28439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28441 "RANLIB=$${RANLIB}" \
28442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28443 TAGS) \
28444 || exit 1
28446 @endif utils
28448 .PHONY: maybe-install-info-utils install-info-utils
28449 maybe-install-info-utils:
28450 @if utils
28451 maybe-install-info-utils: install-info-utils
28453 install-info-utils: \
28454 configure-utils \
28455 info-utils
28456 @: $(MAKE); $(unstage)
28457 @[ -f ./utils/Makefile ] || exit 0; \
28458 r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(HOST_EXPORTS) \
28461 for flag in $(EXTRA_HOST_FLAGS) ; do \
28462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28463 done; \
28464 echo "Doing install-info in utils" ; \
28465 (cd $(HOST_SUBDIR)/utils && \
28466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28468 "RANLIB=$${RANLIB}" \
28469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28470 install-info) \
28471 || exit 1
28473 @endif utils
28475 .PHONY: maybe-install-pdf-utils install-pdf-utils
28476 maybe-install-pdf-utils:
28477 @if utils
28478 maybe-install-pdf-utils: install-pdf-utils
28480 install-pdf-utils: \
28481 configure-utils \
28482 pdf-utils
28483 @: $(MAKE); $(unstage)
28484 @[ -f ./utils/Makefile ] || exit 0; \
28485 r=`${PWD_COMMAND}`; export r; \
28486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28487 $(HOST_EXPORTS) \
28488 for flag in $(EXTRA_HOST_FLAGS) ; do \
28489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28490 done; \
28491 echo "Doing install-pdf in utils" ; \
28492 (cd $(HOST_SUBDIR)/utils && \
28493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28495 "RANLIB=$${RANLIB}" \
28496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28497 install-pdf) \
28498 || exit 1
28500 @endif utils
28502 .PHONY: maybe-install-html-utils install-html-utils
28503 maybe-install-html-utils:
28504 @if utils
28505 maybe-install-html-utils: install-html-utils
28507 install-html-utils: \
28508 configure-utils \
28509 html-utils
28510 @: $(MAKE); $(unstage)
28511 @[ -f ./utils/Makefile ] || exit 0; \
28512 r=`${PWD_COMMAND}`; export r; \
28513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28514 $(HOST_EXPORTS) \
28515 for flag in $(EXTRA_HOST_FLAGS) ; do \
28516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28517 done; \
28518 echo "Doing install-html in utils" ; \
28519 (cd $(HOST_SUBDIR)/utils && \
28520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28522 "RANLIB=$${RANLIB}" \
28523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28524 install-html) \
28525 || exit 1
28527 @endif utils
28529 .PHONY: maybe-installcheck-utils installcheck-utils
28530 maybe-installcheck-utils:
28531 @if utils
28532 maybe-installcheck-utils: installcheck-utils
28534 installcheck-utils: \
28535 configure-utils
28536 @: $(MAKE); $(unstage)
28537 @[ -f ./utils/Makefile ] || exit 0; \
28538 r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(HOST_EXPORTS) \
28541 for flag in $(EXTRA_HOST_FLAGS) ; do \
28542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28543 done; \
28544 echo "Doing installcheck in utils" ; \
28545 (cd $(HOST_SUBDIR)/utils && \
28546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28548 "RANLIB=$${RANLIB}" \
28549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28550 installcheck) \
28551 || exit 1
28553 @endif utils
28555 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28556 maybe-mostlyclean-utils:
28557 @if utils
28558 maybe-mostlyclean-utils: mostlyclean-utils
28560 mostlyclean-utils:
28561 @: $(MAKE); $(unstage)
28562 @[ -f ./utils/Makefile ] || exit 0; \
28563 r=`${PWD_COMMAND}`; export r; \
28564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28565 $(HOST_EXPORTS) \
28566 for flag in $(EXTRA_HOST_FLAGS) ; do \
28567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28568 done; \
28569 echo "Doing mostlyclean in utils" ; \
28570 (cd $(HOST_SUBDIR)/utils && \
28571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28573 "RANLIB=$${RANLIB}" \
28574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28575 mostlyclean) \
28576 || exit 1
28578 @endif utils
28580 .PHONY: maybe-clean-utils clean-utils
28581 maybe-clean-utils:
28582 @if utils
28583 maybe-clean-utils: clean-utils
28585 clean-utils:
28586 @: $(MAKE); $(unstage)
28587 @[ -f ./utils/Makefile ] || exit 0; \
28588 r=`${PWD_COMMAND}`; export r; \
28589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590 $(HOST_EXPORTS) \
28591 for flag in $(EXTRA_HOST_FLAGS) ; do \
28592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28593 done; \
28594 echo "Doing clean in utils" ; \
28595 (cd $(HOST_SUBDIR)/utils && \
28596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28598 "RANLIB=$${RANLIB}" \
28599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28600 clean) \
28601 || exit 1
28603 @endif utils
28605 .PHONY: maybe-distclean-utils distclean-utils
28606 maybe-distclean-utils:
28607 @if utils
28608 maybe-distclean-utils: distclean-utils
28610 distclean-utils:
28611 @: $(MAKE); $(unstage)
28612 @[ -f ./utils/Makefile ] || exit 0; \
28613 r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(HOST_EXPORTS) \
28616 for flag in $(EXTRA_HOST_FLAGS) ; do \
28617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28618 done; \
28619 echo "Doing distclean in utils" ; \
28620 (cd $(HOST_SUBDIR)/utils && \
28621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28623 "RANLIB=$${RANLIB}" \
28624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28625 distclean) \
28626 || exit 1
28628 @endif utils
28630 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28631 maybe-maintainer-clean-utils:
28632 @if utils
28633 maybe-maintainer-clean-utils: maintainer-clean-utils
28635 maintainer-clean-utils:
28636 @: $(MAKE); $(unstage)
28637 @[ -f ./utils/Makefile ] || exit 0; \
28638 r=`${PWD_COMMAND}`; export r; \
28639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28640 $(HOST_EXPORTS) \
28641 for flag in $(EXTRA_HOST_FLAGS) ; do \
28642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28643 done; \
28644 echo "Doing maintainer-clean in utils" ; \
28645 (cd $(HOST_SUBDIR)/utils && \
28646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28648 "RANLIB=$${RANLIB}" \
28649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28650 maintainer-clean) \
28651 || exit 1
28653 @endif utils
28657 .PHONY: configure-gnattools maybe-configure-gnattools
28658 maybe-configure-gnattools:
28659 @if gcc-bootstrap
28660 configure-gnattools: stage_current
28661 @endif gcc-bootstrap
28662 @if gnattools
28663 maybe-configure-gnattools: configure-gnattools
28664 configure-gnattools:
28665 @: $(MAKE); $(unstage)
28666 @r=`${PWD_COMMAND}`; export r; \
28667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28668 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28670 $(HOST_EXPORTS) \
28671 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28672 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28673 case $(srcdir) in \
28674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28675 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28677 esac; \
28678 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28679 libsrcdir="$$s/gnattools"; \
28680 $(SHELL) $${libsrcdir}/configure \
28681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28682 --target=${target_alias} $${srcdiroption} \
28683 || exit 1
28684 @endif gnattools
28690 .PHONY: all-gnattools maybe-all-gnattools
28691 maybe-all-gnattools:
28692 @if gcc-bootstrap
28693 all-gnattools: stage_current
28694 @endif gcc-bootstrap
28695 @if gnattools
28696 TARGET-gnattools=all
28697 maybe-all-gnattools: all-gnattools
28698 all-gnattools: configure-gnattools
28699 @: $(MAKE); $(unstage)
28700 @r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 $(HOST_EXPORTS) \
28703 (cd $(HOST_SUBDIR)/gnattools && \
28704 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28705 $(TARGET-gnattools))
28706 @endif gnattools
28711 .PHONY: check-gnattools maybe-check-gnattools
28712 maybe-check-gnattools:
28713 @if gnattools
28714 maybe-check-gnattools: check-gnattools
28716 check-gnattools:
28717 @: $(MAKE); $(unstage)
28718 @r=`${PWD_COMMAND}`; export r; \
28719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28720 $(HOST_EXPORTS) \
28721 (cd $(HOST_SUBDIR)/gnattools && \
28722 $(MAKE) $(FLAGS_TO_PASS) check)
28724 @endif gnattools
28726 .PHONY: install-gnattools maybe-install-gnattools
28727 maybe-install-gnattools:
28728 @if gnattools
28729 maybe-install-gnattools: install-gnattools
28731 install-gnattools: installdirs
28732 @: $(MAKE); $(unstage)
28733 @r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(HOST_EXPORTS) \
28736 (cd $(HOST_SUBDIR)/gnattools && \
28737 $(MAKE) $(FLAGS_TO_PASS) install)
28739 @endif gnattools
28741 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28742 maybe-install-strip-gnattools:
28743 @if gnattools
28744 maybe-install-strip-gnattools: install-strip-gnattools
28746 install-strip-gnattools: installdirs
28747 @: $(MAKE); $(unstage)
28748 @r=`${PWD_COMMAND}`; export r; \
28749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28750 $(HOST_EXPORTS) \
28751 (cd $(HOST_SUBDIR)/gnattools && \
28752 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28754 @endif gnattools
28756 # Other targets (info, dvi, pdf, etc.)
28758 .PHONY: maybe-info-gnattools info-gnattools
28759 maybe-info-gnattools:
28760 @if gnattools
28761 maybe-info-gnattools: info-gnattools
28763 info-gnattools: \
28764 configure-gnattools
28765 @: $(MAKE); $(unstage)
28766 @[ -f ./gnattools/Makefile ] || exit 0; \
28767 r=`${PWD_COMMAND}`; export r; \
28768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28769 $(HOST_EXPORTS) \
28770 for flag in $(EXTRA_HOST_FLAGS) ; do \
28771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28772 done; \
28773 echo "Doing info in gnattools" ; \
28774 (cd $(HOST_SUBDIR)/gnattools && \
28775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28777 "RANLIB=$${RANLIB}" \
28778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28779 info) \
28780 || exit 1
28782 @endif gnattools
28784 .PHONY: maybe-dvi-gnattools dvi-gnattools
28785 maybe-dvi-gnattools:
28786 @if gnattools
28787 maybe-dvi-gnattools: dvi-gnattools
28789 dvi-gnattools: \
28790 configure-gnattools
28791 @: $(MAKE); $(unstage)
28792 @[ -f ./gnattools/Makefile ] || exit 0; \
28793 r=`${PWD_COMMAND}`; export r; \
28794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28795 $(HOST_EXPORTS) \
28796 for flag in $(EXTRA_HOST_FLAGS) ; do \
28797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28798 done; \
28799 echo "Doing dvi in gnattools" ; \
28800 (cd $(HOST_SUBDIR)/gnattools && \
28801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28803 "RANLIB=$${RANLIB}" \
28804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28805 dvi) \
28806 || exit 1
28808 @endif gnattools
28810 .PHONY: maybe-pdf-gnattools pdf-gnattools
28811 maybe-pdf-gnattools:
28812 @if gnattools
28813 maybe-pdf-gnattools: pdf-gnattools
28815 pdf-gnattools: \
28816 configure-gnattools
28817 @: $(MAKE); $(unstage)
28818 @[ -f ./gnattools/Makefile ] || exit 0; \
28819 r=`${PWD_COMMAND}`; export r; \
28820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28821 $(HOST_EXPORTS) \
28822 for flag in $(EXTRA_HOST_FLAGS) ; do \
28823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28824 done; \
28825 echo "Doing pdf in gnattools" ; \
28826 (cd $(HOST_SUBDIR)/gnattools && \
28827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28829 "RANLIB=$${RANLIB}" \
28830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28831 pdf) \
28832 || exit 1
28834 @endif gnattools
28836 .PHONY: maybe-html-gnattools html-gnattools
28837 maybe-html-gnattools:
28838 @if gnattools
28839 maybe-html-gnattools: html-gnattools
28841 html-gnattools: \
28842 configure-gnattools
28843 @: $(MAKE); $(unstage)
28844 @[ -f ./gnattools/Makefile ] || exit 0; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28847 $(HOST_EXPORTS) \
28848 for flag in $(EXTRA_HOST_FLAGS) ; do \
28849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28850 done; \
28851 echo "Doing html in gnattools" ; \
28852 (cd $(HOST_SUBDIR)/gnattools && \
28853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28855 "RANLIB=$${RANLIB}" \
28856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28857 html) \
28858 || exit 1
28860 @endif gnattools
28862 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28863 maybe-TAGS-gnattools:
28864 @if gnattools
28865 maybe-TAGS-gnattools: TAGS-gnattools
28867 TAGS-gnattools: \
28868 configure-gnattools
28869 @: $(MAKE); $(unstage)
28870 @[ -f ./gnattools/Makefile ] || exit 0; \
28871 r=`${PWD_COMMAND}`; export r; \
28872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28873 $(HOST_EXPORTS) \
28874 for flag in $(EXTRA_HOST_FLAGS) ; do \
28875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28876 done; \
28877 echo "Doing TAGS in gnattools" ; \
28878 (cd $(HOST_SUBDIR)/gnattools && \
28879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28881 "RANLIB=$${RANLIB}" \
28882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28883 TAGS) \
28884 || exit 1
28886 @endif gnattools
28888 .PHONY: maybe-install-info-gnattools install-info-gnattools
28889 maybe-install-info-gnattools:
28890 @if gnattools
28891 maybe-install-info-gnattools: install-info-gnattools
28893 install-info-gnattools: \
28894 configure-gnattools \
28895 info-gnattools
28896 @: $(MAKE); $(unstage)
28897 @[ -f ./gnattools/Makefile ] || exit 0; \
28898 r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 $(HOST_EXPORTS) \
28901 for flag in $(EXTRA_HOST_FLAGS) ; do \
28902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28903 done; \
28904 echo "Doing install-info in gnattools" ; \
28905 (cd $(HOST_SUBDIR)/gnattools && \
28906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28908 "RANLIB=$${RANLIB}" \
28909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28910 install-info) \
28911 || exit 1
28913 @endif gnattools
28915 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28916 maybe-install-pdf-gnattools:
28917 @if gnattools
28918 maybe-install-pdf-gnattools: install-pdf-gnattools
28920 install-pdf-gnattools: \
28921 configure-gnattools \
28922 pdf-gnattools
28923 @: $(MAKE); $(unstage)
28924 @[ -f ./gnattools/Makefile ] || exit 0; \
28925 r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 $(HOST_EXPORTS) \
28928 for flag in $(EXTRA_HOST_FLAGS) ; do \
28929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28930 done; \
28931 echo "Doing install-pdf in gnattools" ; \
28932 (cd $(HOST_SUBDIR)/gnattools && \
28933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28935 "RANLIB=$${RANLIB}" \
28936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28937 install-pdf) \
28938 || exit 1
28940 @endif gnattools
28942 .PHONY: maybe-install-html-gnattools install-html-gnattools
28943 maybe-install-html-gnattools:
28944 @if gnattools
28945 maybe-install-html-gnattools: install-html-gnattools
28947 install-html-gnattools: \
28948 configure-gnattools \
28949 html-gnattools
28950 @: $(MAKE); $(unstage)
28951 @[ -f ./gnattools/Makefile ] || exit 0; \
28952 r=`${PWD_COMMAND}`; export r; \
28953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28954 $(HOST_EXPORTS) \
28955 for flag in $(EXTRA_HOST_FLAGS) ; do \
28956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28957 done; \
28958 echo "Doing install-html in gnattools" ; \
28959 (cd $(HOST_SUBDIR)/gnattools && \
28960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28962 "RANLIB=$${RANLIB}" \
28963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28964 install-html) \
28965 || exit 1
28967 @endif gnattools
28969 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28970 maybe-installcheck-gnattools:
28971 @if gnattools
28972 maybe-installcheck-gnattools: installcheck-gnattools
28974 installcheck-gnattools: \
28975 configure-gnattools
28976 @: $(MAKE); $(unstage)
28977 @[ -f ./gnattools/Makefile ] || exit 0; \
28978 r=`${PWD_COMMAND}`; export r; \
28979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28980 $(HOST_EXPORTS) \
28981 for flag in $(EXTRA_HOST_FLAGS) ; do \
28982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28983 done; \
28984 echo "Doing installcheck in gnattools" ; \
28985 (cd $(HOST_SUBDIR)/gnattools && \
28986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28988 "RANLIB=$${RANLIB}" \
28989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28990 installcheck) \
28991 || exit 1
28993 @endif gnattools
28995 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28996 maybe-mostlyclean-gnattools:
28997 @if gnattools
28998 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29000 mostlyclean-gnattools:
29001 @: $(MAKE); $(unstage)
29002 @[ -f ./gnattools/Makefile ] || exit 0; \
29003 r=`${PWD_COMMAND}`; export r; \
29004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29005 $(HOST_EXPORTS) \
29006 for flag in $(EXTRA_HOST_FLAGS) ; do \
29007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29008 done; \
29009 echo "Doing mostlyclean in gnattools" ; \
29010 (cd $(HOST_SUBDIR)/gnattools && \
29011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29013 "RANLIB=$${RANLIB}" \
29014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29015 mostlyclean) \
29016 || exit 1
29018 @endif gnattools
29020 .PHONY: maybe-clean-gnattools clean-gnattools
29021 maybe-clean-gnattools:
29022 @if gnattools
29023 maybe-clean-gnattools: clean-gnattools
29025 clean-gnattools:
29026 @: $(MAKE); $(unstage)
29027 @[ -f ./gnattools/Makefile ] || exit 0; \
29028 r=`${PWD_COMMAND}`; export r; \
29029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29030 $(HOST_EXPORTS) \
29031 for flag in $(EXTRA_HOST_FLAGS) ; do \
29032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29033 done; \
29034 echo "Doing clean in gnattools" ; \
29035 (cd $(HOST_SUBDIR)/gnattools && \
29036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29038 "RANLIB=$${RANLIB}" \
29039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29040 clean) \
29041 || exit 1
29043 @endif gnattools
29045 .PHONY: maybe-distclean-gnattools distclean-gnattools
29046 maybe-distclean-gnattools:
29047 @if gnattools
29048 maybe-distclean-gnattools: distclean-gnattools
29050 distclean-gnattools:
29051 @: $(MAKE); $(unstage)
29052 @[ -f ./gnattools/Makefile ] || exit 0; \
29053 r=`${PWD_COMMAND}`; export r; \
29054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29055 $(HOST_EXPORTS) \
29056 for flag in $(EXTRA_HOST_FLAGS) ; do \
29057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29058 done; \
29059 echo "Doing distclean in gnattools" ; \
29060 (cd $(HOST_SUBDIR)/gnattools && \
29061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29063 "RANLIB=$${RANLIB}" \
29064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29065 distclean) \
29066 || exit 1
29068 @endif gnattools
29070 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29071 maybe-maintainer-clean-gnattools:
29072 @if gnattools
29073 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29075 maintainer-clean-gnattools:
29076 @: $(MAKE); $(unstage)
29077 @[ -f ./gnattools/Makefile ] || exit 0; \
29078 r=`${PWD_COMMAND}`; export r; \
29079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29080 $(HOST_EXPORTS) \
29081 for flag in $(EXTRA_HOST_FLAGS) ; do \
29082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29083 done; \
29084 echo "Doing maintainer-clean in gnattools" ; \
29085 (cd $(HOST_SUBDIR)/gnattools && \
29086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29088 "RANLIB=$${RANLIB}" \
29089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29090 maintainer-clean) \
29091 || exit 1
29093 @endif gnattools
29097 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29098 maybe-configure-lto-plugin:
29099 @if gcc-bootstrap
29100 configure-lto-plugin: stage_current
29101 @endif gcc-bootstrap
29102 @if lto-plugin
29103 maybe-configure-lto-plugin: configure-lto-plugin
29104 configure-lto-plugin:
29105 @r=`${PWD_COMMAND}`; export r; \
29106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29107 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29109 $(HOST_EXPORTS) \
29110 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29111 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29112 case $(srcdir) in \
29113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29114 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29116 esac; \
29117 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29118 libsrcdir="$$s/lto-plugin"; \
29119 $(SHELL) $${libsrcdir}/configure \
29120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29121 --target=${target_alias} $${srcdiroption} --enable-shared \
29122 || exit 1
29123 @endif lto-plugin
29127 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29128 maybe-configure-stage1-lto-plugin:
29129 @if lto-plugin-bootstrap
29130 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29131 configure-stage1-lto-plugin:
29132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29134 @r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 TFLAGS="$(STAGE1_TFLAGS)"; \
29137 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29138 $(HOST_EXPORTS) \
29139 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29140 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29141 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29142 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29144 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29145 case $(srcdir) in \
29146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29147 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29149 esac; \
29150 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29151 libsrcdir="$$s/lto-plugin"; \
29152 $(SHELL) $${libsrcdir}/configure \
29153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29154 --target=${target_alias} $${srcdiroption} \
29155 $(STAGE1_CONFIGURE_FLAGS) \
29156 --enable-shared
29157 @endif lto-plugin-bootstrap
29159 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29160 maybe-configure-stage2-lto-plugin:
29161 @if lto-plugin-bootstrap
29162 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29163 configure-stage2-lto-plugin:
29164 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29166 @r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 TFLAGS="$(STAGE2_TFLAGS)"; \
29169 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29170 $(HOST_EXPORTS) \
29171 $(POSTSTAGE1_HOST_EXPORTS) \
29172 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29173 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29174 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29175 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29177 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29178 case $(srcdir) in \
29179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29180 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29182 esac; \
29183 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29184 libsrcdir="$$s/lto-plugin"; \
29185 $(SHELL) $${libsrcdir}/configure \
29186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29187 --target=${target_alias} $${srcdiroption} \
29188 --with-build-libsubdir=$(HOST_SUBDIR) \
29189 $(STAGE2_CONFIGURE_FLAGS) \
29190 --enable-shared
29191 @endif lto-plugin-bootstrap
29193 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29194 maybe-configure-stage3-lto-plugin:
29195 @if lto-plugin-bootstrap
29196 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29197 configure-stage3-lto-plugin:
29198 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29200 @r=`${PWD_COMMAND}`; export r; \
29201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29202 TFLAGS="$(STAGE3_TFLAGS)"; \
29203 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29204 $(HOST_EXPORTS) \
29205 $(POSTSTAGE1_HOST_EXPORTS) \
29206 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29207 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29208 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29209 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29211 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29212 case $(srcdir) in \
29213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29214 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29216 esac; \
29217 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29218 libsrcdir="$$s/lto-plugin"; \
29219 $(SHELL) $${libsrcdir}/configure \
29220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29221 --target=${target_alias} $${srcdiroption} \
29222 --with-build-libsubdir=$(HOST_SUBDIR) \
29223 $(STAGE3_CONFIGURE_FLAGS) \
29224 --enable-shared
29225 @endif lto-plugin-bootstrap
29227 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29228 maybe-configure-stage4-lto-plugin:
29229 @if lto-plugin-bootstrap
29230 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29231 configure-stage4-lto-plugin:
29232 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29234 @r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 TFLAGS="$(STAGE4_TFLAGS)"; \
29237 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29238 $(HOST_EXPORTS) \
29239 $(POSTSTAGE1_HOST_EXPORTS) \
29240 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29241 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29242 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29243 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29245 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29246 case $(srcdir) in \
29247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29248 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29250 esac; \
29251 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29252 libsrcdir="$$s/lto-plugin"; \
29253 $(SHELL) $${libsrcdir}/configure \
29254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29255 --target=${target_alias} $${srcdiroption} \
29256 --with-build-libsubdir=$(HOST_SUBDIR) \
29257 $(STAGE4_CONFIGURE_FLAGS) \
29258 --enable-shared
29259 @endif lto-plugin-bootstrap
29261 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29262 maybe-configure-stageprofile-lto-plugin:
29263 @if lto-plugin-bootstrap
29264 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29265 configure-stageprofile-lto-plugin:
29266 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29268 @r=`${PWD_COMMAND}`; export r; \
29269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29270 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29271 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29272 $(HOST_EXPORTS) \
29273 $(POSTSTAGE1_HOST_EXPORTS) \
29274 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29275 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29276 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29277 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29279 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29280 case $(srcdir) in \
29281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29282 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29284 esac; \
29285 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29286 libsrcdir="$$s/lto-plugin"; \
29287 $(SHELL) $${libsrcdir}/configure \
29288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29289 --target=${target_alias} $${srcdiroption} \
29290 --with-build-libsubdir=$(HOST_SUBDIR) \
29291 $(STAGEprofile_CONFIGURE_FLAGS) \
29292 --enable-shared
29293 @endif lto-plugin-bootstrap
29295 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29296 maybe-configure-stagefeedback-lto-plugin:
29297 @if lto-plugin-bootstrap
29298 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29299 configure-stagefeedback-lto-plugin:
29300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29302 @r=`${PWD_COMMAND}`; export r; \
29303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29304 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29305 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29306 $(HOST_EXPORTS) \
29307 $(POSTSTAGE1_HOST_EXPORTS) \
29308 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29309 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29310 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29311 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29313 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29314 case $(srcdir) in \
29315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29316 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29318 esac; \
29319 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29320 libsrcdir="$$s/lto-plugin"; \
29321 $(SHELL) $${libsrcdir}/configure \
29322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29323 --target=${target_alias} $${srcdiroption} \
29324 --with-build-libsubdir=$(HOST_SUBDIR) \
29325 $(STAGEfeedback_CONFIGURE_FLAGS) \
29326 --enable-shared
29327 @endif lto-plugin-bootstrap
29333 .PHONY: all-lto-plugin maybe-all-lto-plugin
29334 maybe-all-lto-plugin:
29335 @if gcc-bootstrap
29336 all-lto-plugin: stage_current
29337 @endif gcc-bootstrap
29338 @if lto-plugin
29339 TARGET-lto-plugin=all
29340 maybe-all-lto-plugin: all-lto-plugin
29341 all-lto-plugin: configure-lto-plugin
29342 @r=`${PWD_COMMAND}`; export r; \
29343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29344 $(HOST_EXPORTS) \
29345 (cd $(HOST_SUBDIR)/lto-plugin && \
29346 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29347 $(TARGET-lto-plugin))
29348 @endif lto-plugin
29352 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29353 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29354 maybe-all-stage1-lto-plugin:
29355 maybe-clean-stage1-lto-plugin:
29356 @if lto-plugin-bootstrap
29357 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29358 all-stage1: all-stage1-lto-plugin
29359 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29360 all-stage1-lto-plugin: configure-stage1-lto-plugin
29361 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29362 @r=`${PWD_COMMAND}`; export r; \
29363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29364 TFLAGS="$(STAGE1_TFLAGS)"; \
29365 $(HOST_EXPORTS) \
29366 cd $(HOST_SUBDIR)/lto-plugin && \
29367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29368 CFLAGS="$(STAGE1_CFLAGS)" \
29369 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29370 LIBCFLAGS="$(LIBCFLAGS)" \
29371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29374 $(EXTRA_HOST_FLAGS) \
29375 TFLAGS="$(STAGE1_TFLAGS)" \
29376 $(TARGET-stage1-lto-plugin)
29378 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29379 clean-stage1: clean-stage1-lto-plugin
29380 clean-stage1-lto-plugin:
29381 @if [ $(current_stage) = stage1 ]; then \
29382 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29383 else \
29384 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29385 $(MAKE) stage1-start; \
29386 fi; \
29387 cd $(HOST_SUBDIR)/lto-plugin && \
29388 $(MAKE) $(EXTRA_HOST_FLAGS) \
29389 clean
29390 @endif lto-plugin-bootstrap
29393 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29394 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29395 maybe-all-stage2-lto-plugin:
29396 maybe-clean-stage2-lto-plugin:
29397 @if lto-plugin-bootstrap
29398 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29399 all-stage2: all-stage2-lto-plugin
29400 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29401 all-stage2-lto-plugin: configure-stage2-lto-plugin
29402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29403 @r=`${PWD_COMMAND}`; export r; \
29404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29405 TFLAGS="$(STAGE2_TFLAGS)"; \
29406 $(HOST_EXPORTS) \
29407 $(POSTSTAGE1_HOST_EXPORTS) \
29408 cd $(HOST_SUBDIR)/lto-plugin && \
29409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29410 CFLAGS="$(STAGE2_CFLAGS)" \
29411 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29412 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29417 TFLAGS="$(STAGE2_TFLAGS)" \
29418 $(TARGET-stage2-lto-plugin)
29420 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29421 clean-stage2: clean-stage2-lto-plugin
29422 clean-stage2-lto-plugin:
29423 @if [ $(current_stage) = stage2 ]; then \
29424 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29425 else \
29426 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29427 $(MAKE) stage2-start; \
29428 fi; \
29429 cd $(HOST_SUBDIR)/lto-plugin && \
29430 $(MAKE) $(EXTRA_HOST_FLAGS) \
29431 $(POSTSTAGE1_FLAGS_TO_PASS) \
29432 clean
29433 @endif lto-plugin-bootstrap
29436 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29437 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29438 maybe-all-stage3-lto-plugin:
29439 maybe-clean-stage3-lto-plugin:
29440 @if lto-plugin-bootstrap
29441 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29442 all-stage3: all-stage3-lto-plugin
29443 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29444 all-stage3-lto-plugin: configure-stage3-lto-plugin
29445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29446 @r=`${PWD_COMMAND}`; export r; \
29447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29448 TFLAGS="$(STAGE3_TFLAGS)"; \
29449 $(HOST_EXPORTS) \
29450 $(POSTSTAGE1_HOST_EXPORTS) \
29451 cd $(HOST_SUBDIR)/lto-plugin && \
29452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29453 CFLAGS="$(STAGE3_CFLAGS)" \
29454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29460 TFLAGS="$(STAGE3_TFLAGS)" \
29461 $(TARGET-stage3-lto-plugin)
29463 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29464 clean-stage3: clean-stage3-lto-plugin
29465 clean-stage3-lto-plugin:
29466 @if [ $(current_stage) = stage3 ]; then \
29467 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29468 else \
29469 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29470 $(MAKE) stage3-start; \
29471 fi; \
29472 cd $(HOST_SUBDIR)/lto-plugin && \
29473 $(MAKE) $(EXTRA_HOST_FLAGS) \
29474 $(POSTSTAGE1_FLAGS_TO_PASS) \
29475 clean
29476 @endif lto-plugin-bootstrap
29479 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29480 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29481 maybe-all-stage4-lto-plugin:
29482 maybe-clean-stage4-lto-plugin:
29483 @if lto-plugin-bootstrap
29484 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29485 all-stage4: all-stage4-lto-plugin
29486 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29487 all-stage4-lto-plugin: configure-stage4-lto-plugin
29488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29489 @r=`${PWD_COMMAND}`; export r; \
29490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29491 TFLAGS="$(STAGE4_TFLAGS)"; \
29492 $(HOST_EXPORTS) \
29493 $(POSTSTAGE1_HOST_EXPORTS) \
29494 cd $(HOST_SUBDIR)/lto-plugin && \
29495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29496 CFLAGS="$(STAGE4_CFLAGS)" \
29497 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29498 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29503 TFLAGS="$(STAGE4_TFLAGS)" \
29504 $(TARGET-stage4-lto-plugin)
29506 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29507 clean-stage4: clean-stage4-lto-plugin
29508 clean-stage4-lto-plugin:
29509 @if [ $(current_stage) = stage4 ]; then \
29510 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29511 else \
29512 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29513 $(MAKE) stage4-start; \
29514 fi; \
29515 cd $(HOST_SUBDIR)/lto-plugin && \
29516 $(MAKE) $(EXTRA_HOST_FLAGS) \
29517 $(POSTSTAGE1_FLAGS_TO_PASS) \
29518 clean
29519 @endif lto-plugin-bootstrap
29522 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29523 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29524 maybe-all-stageprofile-lto-plugin:
29525 maybe-clean-stageprofile-lto-plugin:
29526 @if lto-plugin-bootstrap
29527 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29528 all-stageprofile: all-stageprofile-lto-plugin
29529 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29530 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29532 @r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29534 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29535 $(HOST_EXPORTS) \
29536 $(POSTSTAGE1_HOST_EXPORTS) \
29537 cd $(HOST_SUBDIR)/lto-plugin && \
29538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29539 CFLAGS="$(STAGEprofile_CFLAGS)" \
29540 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29541 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29546 TFLAGS="$(STAGEprofile_TFLAGS)" \
29547 $(TARGET-stageprofile-lto-plugin)
29549 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29550 clean-stageprofile: clean-stageprofile-lto-plugin
29551 clean-stageprofile-lto-plugin:
29552 @if [ $(current_stage) = stageprofile ]; then \
29553 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29554 else \
29555 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29556 $(MAKE) stageprofile-start; \
29557 fi; \
29558 cd $(HOST_SUBDIR)/lto-plugin && \
29559 $(MAKE) $(EXTRA_HOST_FLAGS) \
29560 $(POSTSTAGE1_FLAGS_TO_PASS) \
29561 clean
29562 @endif lto-plugin-bootstrap
29565 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29566 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29567 maybe-all-stagefeedback-lto-plugin:
29568 maybe-clean-stagefeedback-lto-plugin:
29569 @if lto-plugin-bootstrap
29570 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29571 all-stagefeedback: all-stagefeedback-lto-plugin
29572 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29573 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29575 @r=`${PWD_COMMAND}`; export r; \
29576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29577 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29578 $(HOST_EXPORTS) \
29579 $(POSTSTAGE1_HOST_EXPORTS) \
29580 cd $(HOST_SUBDIR)/lto-plugin && \
29581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29582 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29589 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29590 $(TARGET-stagefeedback-lto-plugin)
29592 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29593 clean-stagefeedback: clean-stagefeedback-lto-plugin
29594 clean-stagefeedback-lto-plugin:
29595 @if [ $(current_stage) = stagefeedback ]; then \
29596 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29597 else \
29598 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29599 $(MAKE) stagefeedback-start; \
29600 fi; \
29601 cd $(HOST_SUBDIR)/lto-plugin && \
29602 $(MAKE) $(EXTRA_HOST_FLAGS) \
29603 $(POSTSTAGE1_FLAGS_TO_PASS) \
29604 clean
29605 @endif lto-plugin-bootstrap
29611 .PHONY: check-lto-plugin maybe-check-lto-plugin
29612 maybe-check-lto-plugin:
29613 @if lto-plugin
29614 maybe-check-lto-plugin: check-lto-plugin
29616 check-lto-plugin:
29617 @: $(MAKE); $(unstage)
29618 @r=`${PWD_COMMAND}`; export r; \
29619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29620 $(HOST_EXPORTS) \
29621 (cd $(HOST_SUBDIR)/lto-plugin && \
29622 $(MAKE) $(FLAGS_TO_PASS) check)
29624 @endif lto-plugin
29626 .PHONY: install-lto-plugin maybe-install-lto-plugin
29627 maybe-install-lto-plugin:
29628 @if lto-plugin
29629 maybe-install-lto-plugin: install-lto-plugin
29631 install-lto-plugin: installdirs
29632 @: $(MAKE); $(unstage)
29633 @r=`${PWD_COMMAND}`; export r; \
29634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29635 $(HOST_EXPORTS) \
29636 (cd $(HOST_SUBDIR)/lto-plugin && \
29637 $(MAKE) $(FLAGS_TO_PASS) install)
29639 @endif lto-plugin
29641 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29642 maybe-install-strip-lto-plugin:
29643 @if lto-plugin
29644 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29646 install-strip-lto-plugin: installdirs
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(HOST_EXPORTS) \
29651 (cd $(HOST_SUBDIR)/lto-plugin && \
29652 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29654 @endif lto-plugin
29656 # Other targets (info, dvi, pdf, etc.)
29658 .PHONY: maybe-info-lto-plugin info-lto-plugin
29659 maybe-info-lto-plugin:
29660 @if lto-plugin
29661 maybe-info-lto-plugin: info-lto-plugin
29663 info-lto-plugin: \
29664 configure-lto-plugin
29665 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29666 r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(HOST_EXPORTS) \
29669 for flag in $(EXTRA_HOST_FLAGS) ; do \
29670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29671 done; \
29672 echo "Doing info in lto-plugin" ; \
29673 (cd $(HOST_SUBDIR)/lto-plugin && \
29674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29676 "RANLIB=$${RANLIB}" \
29677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29678 info) \
29679 || exit 1
29681 @endif lto-plugin
29683 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29684 maybe-dvi-lto-plugin:
29685 @if lto-plugin
29686 maybe-dvi-lto-plugin: dvi-lto-plugin
29688 dvi-lto-plugin: \
29689 configure-lto-plugin
29690 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29691 r=`${PWD_COMMAND}`; export r; \
29692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29693 $(HOST_EXPORTS) \
29694 for flag in $(EXTRA_HOST_FLAGS) ; do \
29695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29696 done; \
29697 echo "Doing dvi in lto-plugin" ; \
29698 (cd $(HOST_SUBDIR)/lto-plugin && \
29699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29701 "RANLIB=$${RANLIB}" \
29702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29703 dvi) \
29704 || exit 1
29706 @endif lto-plugin
29708 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29709 maybe-pdf-lto-plugin:
29710 @if lto-plugin
29711 maybe-pdf-lto-plugin: pdf-lto-plugin
29713 pdf-lto-plugin: \
29714 configure-lto-plugin
29715 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29716 r=`${PWD_COMMAND}`; export r; \
29717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29718 $(HOST_EXPORTS) \
29719 for flag in $(EXTRA_HOST_FLAGS) ; do \
29720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29721 done; \
29722 echo "Doing pdf in lto-plugin" ; \
29723 (cd $(HOST_SUBDIR)/lto-plugin && \
29724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29726 "RANLIB=$${RANLIB}" \
29727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29728 pdf) \
29729 || exit 1
29731 @endif lto-plugin
29733 .PHONY: maybe-html-lto-plugin html-lto-plugin
29734 maybe-html-lto-plugin:
29735 @if lto-plugin
29736 maybe-html-lto-plugin: html-lto-plugin
29738 html-lto-plugin: \
29739 configure-lto-plugin
29740 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29741 r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(HOST_EXPORTS) \
29744 for flag in $(EXTRA_HOST_FLAGS) ; do \
29745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29746 done; \
29747 echo "Doing html in lto-plugin" ; \
29748 (cd $(HOST_SUBDIR)/lto-plugin && \
29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29751 "RANLIB=$${RANLIB}" \
29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29753 html) \
29754 || exit 1
29756 @endif lto-plugin
29758 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29759 maybe-TAGS-lto-plugin:
29760 @if lto-plugin
29761 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29763 TAGS-lto-plugin: \
29764 configure-lto-plugin
29765 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(HOST_EXPORTS) \
29769 for flag in $(EXTRA_HOST_FLAGS) ; do \
29770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29771 done; \
29772 echo "Doing TAGS in lto-plugin" ; \
29773 (cd $(HOST_SUBDIR)/lto-plugin && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29778 TAGS) \
29779 || exit 1
29781 @endif lto-plugin
29783 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29784 maybe-install-info-lto-plugin:
29785 @if lto-plugin
29786 maybe-install-info-lto-plugin: install-info-lto-plugin
29788 install-info-lto-plugin: \
29789 configure-lto-plugin \
29790 info-lto-plugin
29791 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29792 r=`${PWD_COMMAND}`; export r; \
29793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29794 $(HOST_EXPORTS) \
29795 for flag in $(EXTRA_HOST_FLAGS) ; do \
29796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29797 done; \
29798 echo "Doing install-info in lto-plugin" ; \
29799 (cd $(HOST_SUBDIR)/lto-plugin && \
29800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29802 "RANLIB=$${RANLIB}" \
29803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29804 install-info) \
29805 || exit 1
29807 @endif lto-plugin
29809 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29810 maybe-install-pdf-lto-plugin:
29811 @if lto-plugin
29812 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29814 install-pdf-lto-plugin: \
29815 configure-lto-plugin \
29816 pdf-lto-plugin
29817 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29818 r=`${PWD_COMMAND}`; export r; \
29819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29820 $(HOST_EXPORTS) \
29821 for flag in $(EXTRA_HOST_FLAGS) ; do \
29822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29823 done; \
29824 echo "Doing install-pdf in lto-plugin" ; \
29825 (cd $(HOST_SUBDIR)/lto-plugin && \
29826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29828 "RANLIB=$${RANLIB}" \
29829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29830 install-pdf) \
29831 || exit 1
29833 @endif lto-plugin
29835 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29836 maybe-install-html-lto-plugin:
29837 @if lto-plugin
29838 maybe-install-html-lto-plugin: install-html-lto-plugin
29840 install-html-lto-plugin: \
29841 configure-lto-plugin \
29842 html-lto-plugin
29843 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29844 r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 for flag in $(EXTRA_HOST_FLAGS) ; do \
29848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29849 done; \
29850 echo "Doing install-html in lto-plugin" ; \
29851 (cd $(HOST_SUBDIR)/lto-plugin && \
29852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29854 "RANLIB=$${RANLIB}" \
29855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29856 install-html) \
29857 || exit 1
29859 @endif lto-plugin
29861 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29862 maybe-installcheck-lto-plugin:
29863 @if lto-plugin
29864 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29866 installcheck-lto-plugin: \
29867 configure-lto-plugin
29868 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29869 r=`${PWD_COMMAND}`; export r; \
29870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29871 $(HOST_EXPORTS) \
29872 for flag in $(EXTRA_HOST_FLAGS) ; do \
29873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29874 done; \
29875 echo "Doing installcheck in lto-plugin" ; \
29876 (cd $(HOST_SUBDIR)/lto-plugin && \
29877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29879 "RANLIB=$${RANLIB}" \
29880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29881 installcheck) \
29882 || exit 1
29884 @endif lto-plugin
29886 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29887 maybe-mostlyclean-lto-plugin:
29888 @if lto-plugin
29889 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29891 mostlyclean-lto-plugin:
29892 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29893 r=`${PWD_COMMAND}`; export r; \
29894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29895 $(HOST_EXPORTS) \
29896 for flag in $(EXTRA_HOST_FLAGS) ; do \
29897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29898 done; \
29899 echo "Doing mostlyclean in lto-plugin" ; \
29900 (cd $(HOST_SUBDIR)/lto-plugin && \
29901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29903 "RANLIB=$${RANLIB}" \
29904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29905 mostlyclean) \
29906 || exit 1
29908 @endif lto-plugin
29910 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29911 maybe-clean-lto-plugin:
29912 @if lto-plugin
29913 maybe-clean-lto-plugin: clean-lto-plugin
29915 clean-lto-plugin:
29916 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29917 r=`${PWD_COMMAND}`; export r; \
29918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29919 $(HOST_EXPORTS) \
29920 for flag in $(EXTRA_HOST_FLAGS) ; do \
29921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29922 done; \
29923 echo "Doing clean in lto-plugin" ; \
29924 (cd $(HOST_SUBDIR)/lto-plugin && \
29925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29927 "RANLIB=$${RANLIB}" \
29928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29929 clean) \
29930 || exit 1
29932 @endif lto-plugin
29934 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29935 maybe-distclean-lto-plugin:
29936 @if lto-plugin
29937 maybe-distclean-lto-plugin: distclean-lto-plugin
29939 distclean-lto-plugin:
29940 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29941 r=`${PWD_COMMAND}`; export r; \
29942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29943 $(HOST_EXPORTS) \
29944 for flag in $(EXTRA_HOST_FLAGS) ; do \
29945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29946 done; \
29947 echo "Doing distclean in lto-plugin" ; \
29948 (cd $(HOST_SUBDIR)/lto-plugin && \
29949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29951 "RANLIB=$${RANLIB}" \
29952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29953 distclean) \
29954 || exit 1
29956 @endif lto-plugin
29958 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29959 maybe-maintainer-clean-lto-plugin:
29960 @if lto-plugin
29961 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29963 maintainer-clean-lto-plugin:
29964 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29965 r=`${PWD_COMMAND}`; export r; \
29966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29967 $(HOST_EXPORTS) \
29968 for flag in $(EXTRA_HOST_FLAGS) ; do \
29969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29970 done; \
29971 echo "Doing maintainer-clean in lto-plugin" ; \
29972 (cd $(HOST_SUBDIR)/lto-plugin && \
29973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29975 "RANLIB=$${RANLIB}" \
29976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29977 maintainer-clean) \
29978 || exit 1
29980 @endif lto-plugin
29984 # ---------------------------------------
29985 # Modules which run on the target machine
29986 # ---------------------------------------
29991 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29992 maybe-configure-target-libstdc++-v3:
29993 @if gcc-bootstrap
29994 configure-target-libstdc++-v3: stage_current
29995 @endif gcc-bootstrap
29996 @if target-libstdc++-v3
29997 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29998 configure-target-libstdc++-v3:
29999 @r=`${PWD_COMMAND}`; export r; \
30000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30001 echo "Checking multilib configuration for libstdc++-v3..."; \
30002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30004 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30005 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30006 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30007 else \
30008 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30009 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30010 fi; \
30011 else \
30012 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30013 fi; \
30014 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30016 $(RAW_CXX_TARGET_EXPORTS) \
30017 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30018 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30019 case $(srcdir) in \
30020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30021 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30023 esac; \
30024 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30025 libsrcdir="$$s/libstdc++-v3"; \
30026 rm -f no-such-file || : ; \
30027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30028 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30029 --target=${target_alias} $${srcdiroption} \
30030 || exit 1
30031 @endif target-libstdc++-v3
30035 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30036 maybe-configure-stage1-target-libstdc++-v3:
30037 @if target-libstdc++-v3-bootstrap
30038 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30039 configure-stage1-target-libstdc++-v3:
30040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30041 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30042 @r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 TFLAGS="$(STAGE1_TFLAGS)"; \
30045 echo "Checking multilib configuration for libstdc++-v3..."; \
30046 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30047 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30048 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30049 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30050 else \
30051 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30052 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30053 fi; \
30054 else \
30055 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30056 fi; \
30057 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30058 $(RAW_CXX_TARGET_EXPORTS) \
30059 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30060 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30061 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30062 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30064 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30065 case $(srcdir) in \
30066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30067 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30069 esac; \
30070 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30071 libsrcdir="$$s/libstdc++-v3"; \
30072 $(SHELL) $${libsrcdir}/configure \
30073 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30074 --target=${target_alias} $${srcdiroption} \
30075 $(STAGE1_CONFIGURE_FLAGS)
30076 @endif target-libstdc++-v3-bootstrap
30078 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30079 maybe-configure-stage2-target-libstdc++-v3:
30080 @if target-libstdc++-v3-bootstrap
30081 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30082 configure-stage2-target-libstdc++-v3:
30083 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30084 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30085 @r=`${PWD_COMMAND}`; export r; \
30086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30087 TFLAGS="$(STAGE2_TFLAGS)"; \
30088 echo "Checking multilib configuration for libstdc++-v3..."; \
30089 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30090 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30091 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30092 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30093 else \
30094 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30095 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30096 fi; \
30097 else \
30098 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30099 fi; \
30100 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30101 $(RAW_CXX_TARGET_EXPORTS) \
30103 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30104 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30105 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30106 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30107 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30108 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30109 case $(srcdir) in \
30110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30111 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30113 esac; \
30114 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30115 libsrcdir="$$s/libstdc++-v3"; \
30116 $(SHELL) $${libsrcdir}/configure \
30117 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30118 --target=${target_alias} $${srcdiroption} \
30119 --with-build-libsubdir=$(HOST_SUBDIR) \
30120 $(STAGE2_CONFIGURE_FLAGS)
30121 @endif target-libstdc++-v3-bootstrap
30123 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30124 maybe-configure-stage3-target-libstdc++-v3:
30125 @if target-libstdc++-v3-bootstrap
30126 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30127 configure-stage3-target-libstdc++-v3:
30128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30129 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30130 @r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 TFLAGS="$(STAGE3_TFLAGS)"; \
30133 echo "Checking multilib configuration for libstdc++-v3..."; \
30134 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30135 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30136 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30137 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30138 else \
30139 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30140 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30141 fi; \
30142 else \
30143 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30144 fi; \
30145 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30146 $(RAW_CXX_TARGET_EXPORTS) \
30148 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30151 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30153 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30154 case $(srcdir) in \
30155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30156 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30158 esac; \
30159 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30160 libsrcdir="$$s/libstdc++-v3"; \
30161 $(SHELL) $${libsrcdir}/configure \
30162 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30163 --target=${target_alias} $${srcdiroption} \
30164 --with-build-libsubdir=$(HOST_SUBDIR) \
30165 $(STAGE3_CONFIGURE_FLAGS)
30166 @endif target-libstdc++-v3-bootstrap
30168 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30169 maybe-configure-stage4-target-libstdc++-v3:
30170 @if target-libstdc++-v3-bootstrap
30171 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30172 configure-stage4-target-libstdc++-v3:
30173 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30174 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30175 @r=`${PWD_COMMAND}`; export r; \
30176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30177 TFLAGS="$(STAGE4_TFLAGS)"; \
30178 echo "Checking multilib configuration for libstdc++-v3..."; \
30179 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30180 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30181 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30182 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30183 else \
30184 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30185 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30186 fi; \
30187 else \
30188 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30189 fi; \
30190 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30191 $(RAW_CXX_TARGET_EXPORTS) \
30193 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30194 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30195 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30196 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30198 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30199 case $(srcdir) in \
30200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30201 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30203 esac; \
30204 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30205 libsrcdir="$$s/libstdc++-v3"; \
30206 $(SHELL) $${libsrcdir}/configure \
30207 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30208 --target=${target_alias} $${srcdiroption} \
30209 --with-build-libsubdir=$(HOST_SUBDIR) \
30210 $(STAGE4_CONFIGURE_FLAGS)
30211 @endif target-libstdc++-v3-bootstrap
30213 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30214 maybe-configure-stageprofile-target-libstdc++-v3:
30215 @if target-libstdc++-v3-bootstrap
30216 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30217 configure-stageprofile-target-libstdc++-v3:
30218 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30219 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30220 @r=`${PWD_COMMAND}`; export r; \
30221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30222 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30223 echo "Checking multilib configuration for libstdc++-v3..."; \
30224 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30225 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30226 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30227 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30228 else \
30229 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30230 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30231 fi; \
30232 else \
30233 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30234 fi; \
30235 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30236 $(RAW_CXX_TARGET_EXPORTS) \
30238 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30239 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30240 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30241 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30243 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30244 case $(srcdir) in \
30245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30246 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30248 esac; \
30249 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30250 libsrcdir="$$s/libstdc++-v3"; \
30251 $(SHELL) $${libsrcdir}/configure \
30252 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30253 --target=${target_alias} $${srcdiroption} \
30254 --with-build-libsubdir=$(HOST_SUBDIR) \
30255 $(STAGEprofile_CONFIGURE_FLAGS)
30256 @endif target-libstdc++-v3-bootstrap
30258 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30259 maybe-configure-stagefeedback-target-libstdc++-v3:
30260 @if target-libstdc++-v3-bootstrap
30261 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30262 configure-stagefeedback-target-libstdc++-v3:
30263 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30264 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30265 @r=`${PWD_COMMAND}`; export r; \
30266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30267 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30268 echo "Checking multilib configuration for libstdc++-v3..."; \
30269 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30270 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30271 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30272 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30273 else \
30274 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30275 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30276 fi; \
30277 else \
30278 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30279 fi; \
30280 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30281 $(RAW_CXX_TARGET_EXPORTS) \
30283 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30284 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30285 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30286 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30288 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30289 case $(srcdir) in \
30290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30291 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30293 esac; \
30294 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30295 libsrcdir="$$s/libstdc++-v3"; \
30296 $(SHELL) $${libsrcdir}/configure \
30297 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30298 --target=${target_alias} $${srcdiroption} \
30299 --with-build-libsubdir=$(HOST_SUBDIR) \
30300 $(STAGEfeedback_CONFIGURE_FLAGS)
30301 @endif target-libstdc++-v3-bootstrap
30307 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30308 maybe-all-target-libstdc++-v3:
30309 @if gcc-bootstrap
30310 all-target-libstdc++-v3: stage_current
30311 @endif gcc-bootstrap
30312 @if target-libstdc++-v3
30313 TARGET-target-libstdc++-v3=all
30314 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30315 all-target-libstdc++-v3: configure-target-libstdc++-v3
30316 @r=`${PWD_COMMAND}`; export r; \
30317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30318 $(RAW_CXX_TARGET_EXPORTS) \
30319 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30320 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30321 $(TARGET-target-libstdc++-v3))
30322 @endif target-libstdc++-v3
30326 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30327 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30328 maybe-all-stage1-target-libstdc++-v3:
30329 maybe-clean-stage1-target-libstdc++-v3:
30330 @if target-libstdc++-v3-bootstrap
30331 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30332 all-stage1: all-stage1-target-libstdc++-v3
30333 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30334 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30335 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30336 @r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 TFLAGS="$(STAGE1_TFLAGS)"; \
30339 $(RAW_CXX_TARGET_EXPORTS) \
30340 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30342 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30348 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30349 TFLAGS="$(STAGE1_TFLAGS)" \
30350 $(TARGET-stage1-target-libstdc++-v3)
30352 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30353 clean-stage1: clean-stage1-target-libstdc++-v3
30354 clean-stage1-target-libstdc++-v3:
30355 @if [ $(current_stage) = stage1 ]; then \
30356 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30357 else \
30358 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30359 $(MAKE) stage1-start; \
30360 fi; \
30361 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30362 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30363 clean
30364 @endif target-libstdc++-v3-bootstrap
30367 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30368 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30369 maybe-all-stage2-target-libstdc++-v3:
30370 maybe-clean-stage2-target-libstdc++-v3:
30371 @if target-libstdc++-v3-bootstrap
30372 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30373 all-stage2: all-stage2-target-libstdc++-v3
30374 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30375 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30376 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 TFLAGS="$(STAGE2_TFLAGS)"; \
30380 $(RAW_CXX_TARGET_EXPORTS) \
30382 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30384 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30385 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30386 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30390 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30391 TFLAGS="$(STAGE2_TFLAGS)" \
30392 $(TARGET-stage2-target-libstdc++-v3)
30394 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30395 clean-stage2: clean-stage2-target-libstdc++-v3
30396 clean-stage2-target-libstdc++-v3:
30397 @if [ $(current_stage) = stage2 ]; then \
30398 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30399 else \
30400 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30401 $(MAKE) stage2-start; \
30402 fi; \
30403 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30404 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30406 clean
30407 @endif target-libstdc++-v3-bootstrap
30410 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30411 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30412 maybe-all-stage3-target-libstdc++-v3:
30413 maybe-clean-stage3-target-libstdc++-v3:
30414 @if target-libstdc++-v3-bootstrap
30415 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30416 all-stage3: all-stage3-target-libstdc++-v3
30417 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30418 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30419 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30420 @r=`${PWD_COMMAND}`; export r; \
30421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30422 TFLAGS="$(STAGE3_TFLAGS)"; \
30423 $(RAW_CXX_TARGET_EXPORTS) \
30425 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30427 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30429 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30433 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30434 TFLAGS="$(STAGE3_TFLAGS)" \
30435 $(TARGET-stage3-target-libstdc++-v3)
30437 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30438 clean-stage3: clean-stage3-target-libstdc++-v3
30439 clean-stage3-target-libstdc++-v3:
30440 @if [ $(current_stage) = stage3 ]; then \
30441 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30442 else \
30443 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30444 $(MAKE) stage3-start; \
30445 fi; \
30446 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30447 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30449 clean
30450 @endif target-libstdc++-v3-bootstrap
30453 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30454 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30455 maybe-all-stage4-target-libstdc++-v3:
30456 maybe-clean-stage4-target-libstdc++-v3:
30457 @if target-libstdc++-v3-bootstrap
30458 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30459 all-stage4: all-stage4-target-libstdc++-v3
30460 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30461 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30462 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30463 @r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 TFLAGS="$(STAGE4_TFLAGS)"; \
30466 $(RAW_CXX_TARGET_EXPORTS) \
30468 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30470 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30471 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30472 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30473 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30474 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30475 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30476 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30477 TFLAGS="$(STAGE4_TFLAGS)" \
30478 $(TARGET-stage4-target-libstdc++-v3)
30480 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30481 clean-stage4: clean-stage4-target-libstdc++-v3
30482 clean-stage4-target-libstdc++-v3:
30483 @if [ $(current_stage) = stage4 ]; then \
30484 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30485 else \
30486 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30487 $(MAKE) stage4-start; \
30488 fi; \
30489 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30490 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30492 clean
30493 @endif target-libstdc++-v3-bootstrap
30496 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30497 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30498 maybe-all-stageprofile-target-libstdc++-v3:
30499 maybe-clean-stageprofile-target-libstdc++-v3:
30500 @if target-libstdc++-v3-bootstrap
30501 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30502 all-stageprofile: all-stageprofile-target-libstdc++-v3
30503 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30504 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30505 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30506 @r=`${PWD_COMMAND}`; export r; \
30507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30508 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30509 $(RAW_CXX_TARGET_EXPORTS) \
30511 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30513 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30519 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30520 TFLAGS="$(STAGEprofile_TFLAGS)" \
30521 $(TARGET-stageprofile-target-libstdc++-v3)
30523 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30524 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30525 clean-stageprofile-target-libstdc++-v3:
30526 @if [ $(current_stage) = stageprofile ]; then \
30527 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30528 else \
30529 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30530 $(MAKE) stageprofile-start; \
30531 fi; \
30532 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30533 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30535 clean
30536 @endif target-libstdc++-v3-bootstrap
30539 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30540 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30541 maybe-all-stagefeedback-target-libstdc++-v3:
30542 maybe-clean-stagefeedback-target-libstdc++-v3:
30543 @if target-libstdc++-v3-bootstrap
30544 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30545 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30546 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30547 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30548 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30549 @r=`${PWD_COMMAND}`; export r; \
30550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30551 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30552 $(RAW_CXX_TARGET_EXPORTS) \
30554 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30556 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30562 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30563 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30564 $(TARGET-stagefeedback-target-libstdc++-v3)
30566 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30567 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30568 clean-stagefeedback-target-libstdc++-v3:
30569 @if [ $(current_stage) = stagefeedback ]; then \
30570 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30571 else \
30572 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30573 $(MAKE) stagefeedback-start; \
30574 fi; \
30575 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30576 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30578 clean
30579 @endif target-libstdc++-v3-bootstrap
30586 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30587 maybe-check-target-libstdc++-v3:
30588 @if target-libstdc++-v3
30589 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30591 check-target-libstdc++-v3:
30592 @: $(MAKE); $(unstage)
30593 @r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(RAW_CXX_TARGET_EXPORTS) \
30596 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30597 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30599 @endif target-libstdc++-v3
30601 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30602 maybe-install-target-libstdc++-v3:
30603 @if target-libstdc++-v3
30604 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30606 install-target-libstdc++-v3: installdirs
30607 @: $(MAKE); $(unstage)
30608 @r=`${PWD_COMMAND}`; export r; \
30609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30610 $(RAW_CXX_TARGET_EXPORTS) \
30611 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30612 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30614 @endif target-libstdc++-v3
30616 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30617 maybe-install-strip-target-libstdc++-v3:
30618 @if target-libstdc++-v3
30619 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30621 install-strip-target-libstdc++-v3: installdirs
30622 @: $(MAKE); $(unstage)
30623 @r=`${PWD_COMMAND}`; export r; \
30624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30625 $(RAW_CXX_TARGET_EXPORTS) \
30626 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30627 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30629 @endif target-libstdc++-v3
30631 # Other targets (info, dvi, pdf, etc.)
30633 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30634 maybe-info-target-libstdc++-v3:
30635 @if target-libstdc++-v3
30636 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30638 info-target-libstdc++-v3: \
30639 configure-target-libstdc++-v3
30640 @: $(MAKE); $(unstage)
30641 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30642 r=`${PWD_COMMAND}`; export r; \
30643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30644 $(RAW_CXX_TARGET_EXPORTS) \
30645 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30646 for flag in $(EXTRA_TARGET_FLAGS); do \
30647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30648 done; \
30649 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30652 "RANLIB=$${RANLIB}" \
30653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30654 info) \
30655 || exit 1
30657 @endif target-libstdc++-v3
30659 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30660 maybe-dvi-target-libstdc++-v3:
30661 @if target-libstdc++-v3
30662 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30664 dvi-target-libstdc++-v3: \
30665 configure-target-libstdc++-v3
30666 @: $(MAKE); $(unstage)
30667 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30668 r=`${PWD_COMMAND}`; export r; \
30669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30670 $(RAW_CXX_TARGET_EXPORTS) \
30671 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30672 for flag in $(EXTRA_TARGET_FLAGS); do \
30673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30674 done; \
30675 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30678 "RANLIB=$${RANLIB}" \
30679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30680 dvi) \
30681 || exit 1
30683 @endif target-libstdc++-v3
30685 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30686 maybe-pdf-target-libstdc++-v3:
30687 @if target-libstdc++-v3
30688 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30690 pdf-target-libstdc++-v3: \
30691 configure-target-libstdc++-v3
30692 @: $(MAKE); $(unstage)
30693 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30694 r=`${PWD_COMMAND}`; export r; \
30695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30696 $(RAW_CXX_TARGET_EXPORTS) \
30697 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30698 for flag in $(EXTRA_TARGET_FLAGS); do \
30699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30700 done; \
30701 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30704 "RANLIB=$${RANLIB}" \
30705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30706 pdf) \
30707 || exit 1
30709 @endif target-libstdc++-v3
30711 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30712 maybe-html-target-libstdc++-v3:
30713 @if target-libstdc++-v3
30714 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30716 html-target-libstdc++-v3: \
30717 configure-target-libstdc++-v3
30718 @: $(MAKE); $(unstage)
30719 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30720 r=`${PWD_COMMAND}`; export r; \
30721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30722 $(RAW_CXX_TARGET_EXPORTS) \
30723 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30724 for flag in $(EXTRA_TARGET_FLAGS); do \
30725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30726 done; \
30727 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30730 "RANLIB=$${RANLIB}" \
30731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30732 html) \
30733 || exit 1
30735 @endif target-libstdc++-v3
30737 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30738 maybe-TAGS-target-libstdc++-v3:
30739 @if target-libstdc++-v3
30740 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30742 TAGS-target-libstdc++-v3: \
30743 configure-target-libstdc++-v3
30744 @: $(MAKE); $(unstage)
30745 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30746 r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(RAW_CXX_TARGET_EXPORTS) \
30749 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30750 for flag in $(EXTRA_TARGET_FLAGS); do \
30751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30752 done; \
30753 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30756 "RANLIB=$${RANLIB}" \
30757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30758 TAGS) \
30759 || exit 1
30761 @endif target-libstdc++-v3
30763 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30764 maybe-install-info-target-libstdc++-v3:
30765 @if target-libstdc++-v3
30766 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30768 install-info-target-libstdc++-v3: \
30769 configure-target-libstdc++-v3 \
30770 info-target-libstdc++-v3
30771 @: $(MAKE); $(unstage)
30772 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30773 r=`${PWD_COMMAND}`; export r; \
30774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 $(RAW_CXX_TARGET_EXPORTS) \
30776 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30777 for flag in $(EXTRA_TARGET_FLAGS); do \
30778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30779 done; \
30780 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30783 "RANLIB=$${RANLIB}" \
30784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30785 install-info) \
30786 || exit 1
30788 @endif target-libstdc++-v3
30790 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30791 maybe-install-pdf-target-libstdc++-v3:
30792 @if target-libstdc++-v3
30793 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30795 install-pdf-target-libstdc++-v3: \
30796 configure-target-libstdc++-v3 \
30797 pdf-target-libstdc++-v3
30798 @: $(MAKE); $(unstage)
30799 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30800 r=`${PWD_COMMAND}`; export r; \
30801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30802 $(RAW_CXX_TARGET_EXPORTS) \
30803 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30804 for flag in $(EXTRA_TARGET_FLAGS); do \
30805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30806 done; \
30807 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30810 "RANLIB=$${RANLIB}" \
30811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30812 install-pdf) \
30813 || exit 1
30815 @endif target-libstdc++-v3
30817 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30818 maybe-install-html-target-libstdc++-v3:
30819 @if target-libstdc++-v3
30820 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30822 install-html-target-libstdc++-v3: \
30823 configure-target-libstdc++-v3 \
30824 html-target-libstdc++-v3
30825 @: $(MAKE); $(unstage)
30826 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30827 r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 $(RAW_CXX_TARGET_EXPORTS) \
30830 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30831 for flag in $(EXTRA_TARGET_FLAGS); do \
30832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30833 done; \
30834 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30837 "RANLIB=$${RANLIB}" \
30838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30839 install-html) \
30840 || exit 1
30842 @endif target-libstdc++-v3
30844 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30845 maybe-installcheck-target-libstdc++-v3:
30846 @if target-libstdc++-v3
30847 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30849 installcheck-target-libstdc++-v3: \
30850 configure-target-libstdc++-v3
30851 @: $(MAKE); $(unstage)
30852 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30853 r=`${PWD_COMMAND}`; export r; \
30854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30855 $(RAW_CXX_TARGET_EXPORTS) \
30856 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30857 for flag in $(EXTRA_TARGET_FLAGS); do \
30858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30859 done; \
30860 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30863 "RANLIB=$${RANLIB}" \
30864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30865 installcheck) \
30866 || exit 1
30868 @endif target-libstdc++-v3
30870 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30871 maybe-mostlyclean-target-libstdc++-v3:
30872 @if target-libstdc++-v3
30873 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30875 mostlyclean-target-libstdc++-v3:
30876 @: $(MAKE); $(unstage)
30877 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30878 r=`${PWD_COMMAND}`; export r; \
30879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30880 $(RAW_CXX_TARGET_EXPORTS) \
30881 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30882 for flag in $(EXTRA_TARGET_FLAGS); do \
30883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30884 done; \
30885 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30888 "RANLIB=$${RANLIB}" \
30889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30890 mostlyclean) \
30891 || exit 1
30893 @endif target-libstdc++-v3
30895 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30896 maybe-clean-target-libstdc++-v3:
30897 @if target-libstdc++-v3
30898 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30900 clean-target-libstdc++-v3:
30901 @: $(MAKE); $(unstage)
30902 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30903 r=`${PWD_COMMAND}`; export r; \
30904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30905 $(RAW_CXX_TARGET_EXPORTS) \
30906 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30907 for flag in $(EXTRA_TARGET_FLAGS); do \
30908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30909 done; \
30910 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30913 "RANLIB=$${RANLIB}" \
30914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30915 clean) \
30916 || exit 1
30918 @endif target-libstdc++-v3
30920 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30921 maybe-distclean-target-libstdc++-v3:
30922 @if target-libstdc++-v3
30923 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30925 distclean-target-libstdc++-v3:
30926 @: $(MAKE); $(unstage)
30927 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30928 r=`${PWD_COMMAND}`; export r; \
30929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30930 $(RAW_CXX_TARGET_EXPORTS) \
30931 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30932 for flag in $(EXTRA_TARGET_FLAGS); do \
30933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30934 done; \
30935 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30938 "RANLIB=$${RANLIB}" \
30939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30940 distclean) \
30941 || exit 1
30943 @endif target-libstdc++-v3
30945 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30946 maybe-maintainer-clean-target-libstdc++-v3:
30947 @if target-libstdc++-v3
30948 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30950 maintainer-clean-target-libstdc++-v3:
30951 @: $(MAKE); $(unstage)
30952 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30953 r=`${PWD_COMMAND}`; export r; \
30954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30955 $(RAW_CXX_TARGET_EXPORTS) \
30956 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30957 for flag in $(EXTRA_TARGET_FLAGS); do \
30958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30959 done; \
30960 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30963 "RANLIB=$${RANLIB}" \
30964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30965 maintainer-clean) \
30966 || exit 1
30968 @endif target-libstdc++-v3
30974 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30975 maybe-configure-target-libmudflap:
30976 @if gcc-bootstrap
30977 configure-target-libmudflap: stage_current
30978 @endif gcc-bootstrap
30979 @if target-libmudflap
30980 maybe-configure-target-libmudflap: configure-target-libmudflap
30981 configure-target-libmudflap:
30982 @: $(MAKE); $(unstage)
30983 @r=`${PWD_COMMAND}`; export r; \
30984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30985 echo "Checking multilib configuration for libmudflap..."; \
30986 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30987 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30988 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30989 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30990 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30991 else \
30992 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30993 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30994 fi; \
30995 else \
30996 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30997 fi; \
30998 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31000 $(NORMAL_TARGET_EXPORTS) \
31001 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31002 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31003 case $(srcdir) in \
31004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31005 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31007 esac; \
31008 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31009 libsrcdir="$$s/libmudflap"; \
31010 rm -f no-such-file || : ; \
31011 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31012 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31013 --target=${target_alias} $${srcdiroption} \
31014 || exit 1
31015 @endif target-libmudflap
31021 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31022 maybe-all-target-libmudflap:
31023 @if gcc-bootstrap
31024 all-target-libmudflap: stage_current
31025 @endif gcc-bootstrap
31026 @if target-libmudflap
31027 TARGET-target-libmudflap=all
31028 maybe-all-target-libmudflap: all-target-libmudflap
31029 all-target-libmudflap: configure-target-libmudflap
31030 @: $(MAKE); $(unstage)
31031 @r=`${PWD_COMMAND}`; export r; \
31032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31033 $(NORMAL_TARGET_EXPORTS) \
31034 (cd $(TARGET_SUBDIR)/libmudflap && \
31035 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31036 $(TARGET-target-libmudflap))
31037 @endif target-libmudflap
31043 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31044 maybe-check-target-libmudflap:
31045 @if target-libmudflap
31046 maybe-check-target-libmudflap: check-target-libmudflap
31048 check-target-libmudflap:
31049 @: $(MAKE); $(unstage)
31050 @r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(NORMAL_TARGET_EXPORTS) \
31053 (cd $(TARGET_SUBDIR)/libmudflap && \
31054 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31056 @endif target-libmudflap
31058 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31059 maybe-install-target-libmudflap:
31060 @if target-libmudflap
31061 maybe-install-target-libmudflap: install-target-libmudflap
31063 install-target-libmudflap: installdirs
31064 @: $(MAKE); $(unstage)
31065 @r=`${PWD_COMMAND}`; export r; \
31066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31067 $(NORMAL_TARGET_EXPORTS) \
31068 (cd $(TARGET_SUBDIR)/libmudflap && \
31069 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31071 @endif target-libmudflap
31073 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31074 maybe-install-strip-target-libmudflap:
31075 @if target-libmudflap
31076 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31078 install-strip-target-libmudflap: installdirs
31079 @: $(MAKE); $(unstage)
31080 @r=`${PWD_COMMAND}`; export r; \
31081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31082 $(NORMAL_TARGET_EXPORTS) \
31083 (cd $(TARGET_SUBDIR)/libmudflap && \
31084 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31086 @endif target-libmudflap
31088 # Other targets (info, dvi, pdf, etc.)
31090 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31091 maybe-info-target-libmudflap:
31092 @if target-libmudflap
31093 maybe-info-target-libmudflap: info-target-libmudflap
31095 info-target-libmudflap: \
31096 configure-target-libmudflap
31097 @: $(MAKE); $(unstage)
31098 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31099 r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(NORMAL_TARGET_EXPORTS) \
31102 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31103 for flag in $(EXTRA_TARGET_FLAGS); do \
31104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31105 done; \
31106 (cd $(TARGET_SUBDIR)/libmudflap && \
31107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31109 "RANLIB=$${RANLIB}" \
31110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31111 info) \
31112 || exit 1
31114 @endif target-libmudflap
31116 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31117 maybe-dvi-target-libmudflap:
31118 @if target-libmudflap
31119 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31121 dvi-target-libmudflap: \
31122 configure-target-libmudflap
31123 @: $(MAKE); $(unstage)
31124 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31125 r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(NORMAL_TARGET_EXPORTS) \
31128 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31129 for flag in $(EXTRA_TARGET_FLAGS); do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 (cd $(TARGET_SUBDIR)/libmudflap && \
31133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31135 "RANLIB=$${RANLIB}" \
31136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31137 dvi) \
31138 || exit 1
31140 @endif target-libmudflap
31142 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31143 maybe-pdf-target-libmudflap:
31144 @if target-libmudflap
31145 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31147 pdf-target-libmudflap: \
31148 configure-target-libmudflap
31149 @: $(MAKE); $(unstage)
31150 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(NORMAL_TARGET_EXPORTS) \
31154 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31155 for flag in $(EXTRA_TARGET_FLAGS); do \
31156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31157 done; \
31158 (cd $(TARGET_SUBDIR)/libmudflap && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31161 "RANLIB=$${RANLIB}" \
31162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31163 pdf) \
31164 || exit 1
31166 @endif target-libmudflap
31168 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31169 maybe-html-target-libmudflap:
31170 @if target-libmudflap
31171 maybe-html-target-libmudflap: html-target-libmudflap
31173 html-target-libmudflap: \
31174 configure-target-libmudflap
31175 @: $(MAKE); $(unstage)
31176 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(NORMAL_TARGET_EXPORTS) \
31180 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31181 for flag in $(EXTRA_TARGET_FLAGS); do \
31182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31183 done; \
31184 (cd $(TARGET_SUBDIR)/libmudflap && \
31185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31187 "RANLIB=$${RANLIB}" \
31188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31189 html) \
31190 || exit 1
31192 @endif target-libmudflap
31194 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31195 maybe-TAGS-target-libmudflap:
31196 @if target-libmudflap
31197 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31199 TAGS-target-libmudflap: \
31200 configure-target-libmudflap
31201 @: $(MAKE); $(unstage)
31202 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(NORMAL_TARGET_EXPORTS) \
31206 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31207 for flag in $(EXTRA_TARGET_FLAGS); do \
31208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31209 done; \
31210 (cd $(TARGET_SUBDIR)/libmudflap && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31215 TAGS) \
31216 || exit 1
31218 @endif target-libmudflap
31220 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31221 maybe-install-info-target-libmudflap:
31222 @if target-libmudflap
31223 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31225 install-info-target-libmudflap: \
31226 configure-target-libmudflap \
31227 info-target-libmudflap
31228 @: $(MAKE); $(unstage)
31229 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31230 r=`${PWD_COMMAND}`; export r; \
31231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31232 $(NORMAL_TARGET_EXPORTS) \
31233 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31234 for flag in $(EXTRA_TARGET_FLAGS); do \
31235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31236 done; \
31237 (cd $(TARGET_SUBDIR)/libmudflap && \
31238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31240 "RANLIB=$${RANLIB}" \
31241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31242 install-info) \
31243 || exit 1
31245 @endif target-libmudflap
31247 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31248 maybe-install-pdf-target-libmudflap:
31249 @if target-libmudflap
31250 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31252 install-pdf-target-libmudflap: \
31253 configure-target-libmudflap \
31254 pdf-target-libmudflap
31255 @: $(MAKE); $(unstage)
31256 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31257 r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(NORMAL_TARGET_EXPORTS) \
31260 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31261 for flag in $(EXTRA_TARGET_FLAGS); do \
31262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31263 done; \
31264 (cd $(TARGET_SUBDIR)/libmudflap && \
31265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31267 "RANLIB=$${RANLIB}" \
31268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31269 install-pdf) \
31270 || exit 1
31272 @endif target-libmudflap
31274 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31275 maybe-install-html-target-libmudflap:
31276 @if target-libmudflap
31277 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31279 install-html-target-libmudflap: \
31280 configure-target-libmudflap \
31281 html-target-libmudflap
31282 @: $(MAKE); $(unstage)
31283 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31284 r=`${PWD_COMMAND}`; export r; \
31285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31286 $(NORMAL_TARGET_EXPORTS) \
31287 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31288 for flag in $(EXTRA_TARGET_FLAGS); do \
31289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31290 done; \
31291 (cd $(TARGET_SUBDIR)/libmudflap && \
31292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31294 "RANLIB=$${RANLIB}" \
31295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31296 install-html) \
31297 || exit 1
31299 @endif target-libmudflap
31301 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31302 maybe-installcheck-target-libmudflap:
31303 @if target-libmudflap
31304 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31306 installcheck-target-libmudflap: \
31307 configure-target-libmudflap
31308 @: $(MAKE); $(unstage)
31309 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31310 r=`${PWD_COMMAND}`; export r; \
31311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31312 $(NORMAL_TARGET_EXPORTS) \
31313 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31314 for flag in $(EXTRA_TARGET_FLAGS); do \
31315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31316 done; \
31317 (cd $(TARGET_SUBDIR)/libmudflap && \
31318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31320 "RANLIB=$${RANLIB}" \
31321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31322 installcheck) \
31323 || exit 1
31325 @endif target-libmudflap
31327 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31328 maybe-mostlyclean-target-libmudflap:
31329 @if target-libmudflap
31330 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31332 mostlyclean-target-libmudflap:
31333 @: $(MAKE); $(unstage)
31334 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31335 r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(NORMAL_TARGET_EXPORTS) \
31338 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31339 for flag in $(EXTRA_TARGET_FLAGS); do \
31340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31341 done; \
31342 (cd $(TARGET_SUBDIR)/libmudflap && \
31343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31345 "RANLIB=$${RANLIB}" \
31346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31347 mostlyclean) \
31348 || exit 1
31350 @endif target-libmudflap
31352 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31353 maybe-clean-target-libmudflap:
31354 @if target-libmudflap
31355 maybe-clean-target-libmudflap: clean-target-libmudflap
31357 clean-target-libmudflap:
31358 @: $(MAKE); $(unstage)
31359 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31360 r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 $(NORMAL_TARGET_EXPORTS) \
31363 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31364 for flag in $(EXTRA_TARGET_FLAGS); do \
31365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31366 done; \
31367 (cd $(TARGET_SUBDIR)/libmudflap && \
31368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31370 "RANLIB=$${RANLIB}" \
31371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31372 clean) \
31373 || exit 1
31375 @endif target-libmudflap
31377 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31378 maybe-distclean-target-libmudflap:
31379 @if target-libmudflap
31380 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31382 distclean-target-libmudflap:
31383 @: $(MAKE); $(unstage)
31384 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31385 r=`${PWD_COMMAND}`; export r; \
31386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31387 $(NORMAL_TARGET_EXPORTS) \
31388 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31389 for flag in $(EXTRA_TARGET_FLAGS); do \
31390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31391 done; \
31392 (cd $(TARGET_SUBDIR)/libmudflap && \
31393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31395 "RANLIB=$${RANLIB}" \
31396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31397 distclean) \
31398 || exit 1
31400 @endif target-libmudflap
31402 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31403 maybe-maintainer-clean-target-libmudflap:
31404 @if target-libmudflap
31405 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31407 maintainer-clean-target-libmudflap:
31408 @: $(MAKE); $(unstage)
31409 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31410 r=`${PWD_COMMAND}`; export r; \
31411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31412 $(NORMAL_TARGET_EXPORTS) \
31413 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31414 for flag in $(EXTRA_TARGET_FLAGS); do \
31415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31416 done; \
31417 (cd $(TARGET_SUBDIR)/libmudflap && \
31418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31420 "RANLIB=$${RANLIB}" \
31421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31422 maintainer-clean) \
31423 || exit 1
31425 @endif target-libmudflap
31431 .PHONY: configure-target-libssp maybe-configure-target-libssp
31432 maybe-configure-target-libssp:
31433 @if gcc-bootstrap
31434 configure-target-libssp: stage_current
31435 @endif gcc-bootstrap
31436 @if target-libssp
31437 maybe-configure-target-libssp: configure-target-libssp
31438 configure-target-libssp:
31439 @: $(MAKE); $(unstage)
31440 @r=`${PWD_COMMAND}`; export r; \
31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31442 echo "Checking multilib configuration for libssp..."; \
31443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31444 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31445 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31446 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31447 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31448 else \
31449 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31450 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31451 fi; \
31452 else \
31453 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31454 fi; \
31455 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31457 $(NORMAL_TARGET_EXPORTS) \
31458 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31459 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31460 case $(srcdir) in \
31461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31462 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31464 esac; \
31465 srcdiroption="--srcdir=$${topdir}/libssp"; \
31466 libsrcdir="$$s/libssp"; \
31467 rm -f no-such-file || : ; \
31468 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31469 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31470 --target=${target_alias} $${srcdiroption} \
31471 || exit 1
31472 @endif target-libssp
31478 .PHONY: all-target-libssp maybe-all-target-libssp
31479 maybe-all-target-libssp:
31480 @if gcc-bootstrap
31481 all-target-libssp: stage_current
31482 @endif gcc-bootstrap
31483 @if target-libssp
31484 TARGET-target-libssp=all
31485 maybe-all-target-libssp: all-target-libssp
31486 all-target-libssp: configure-target-libssp
31487 @: $(MAKE); $(unstage)
31488 @r=`${PWD_COMMAND}`; export r; \
31489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31490 $(NORMAL_TARGET_EXPORTS) \
31491 (cd $(TARGET_SUBDIR)/libssp && \
31492 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31493 $(TARGET-target-libssp))
31494 @endif target-libssp
31500 .PHONY: check-target-libssp maybe-check-target-libssp
31501 maybe-check-target-libssp:
31502 @if target-libssp
31503 maybe-check-target-libssp: check-target-libssp
31505 check-target-libssp:
31506 @: $(MAKE); $(unstage)
31507 @r=`${PWD_COMMAND}`; export r; \
31508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31509 $(NORMAL_TARGET_EXPORTS) \
31510 (cd $(TARGET_SUBDIR)/libssp && \
31511 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31513 @endif target-libssp
31515 .PHONY: install-target-libssp maybe-install-target-libssp
31516 maybe-install-target-libssp:
31517 @if target-libssp
31518 maybe-install-target-libssp: install-target-libssp
31520 install-target-libssp: installdirs
31521 @: $(MAKE); $(unstage)
31522 @r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(NORMAL_TARGET_EXPORTS) \
31525 (cd $(TARGET_SUBDIR)/libssp && \
31526 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31528 @endif target-libssp
31530 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31531 maybe-install-strip-target-libssp:
31532 @if target-libssp
31533 maybe-install-strip-target-libssp: install-strip-target-libssp
31535 install-strip-target-libssp: installdirs
31536 @: $(MAKE); $(unstage)
31537 @r=`${PWD_COMMAND}`; export r; \
31538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31539 $(NORMAL_TARGET_EXPORTS) \
31540 (cd $(TARGET_SUBDIR)/libssp && \
31541 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31543 @endif target-libssp
31545 # Other targets (info, dvi, pdf, etc.)
31547 .PHONY: maybe-info-target-libssp info-target-libssp
31548 maybe-info-target-libssp:
31549 @if target-libssp
31550 maybe-info-target-libssp: info-target-libssp
31552 info-target-libssp: \
31553 configure-target-libssp
31554 @: $(MAKE); $(unstage)
31555 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31556 r=`${PWD_COMMAND}`; export r; \
31557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31558 $(NORMAL_TARGET_EXPORTS) \
31559 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31560 for flag in $(EXTRA_TARGET_FLAGS); do \
31561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31562 done; \
31563 (cd $(TARGET_SUBDIR)/libssp && \
31564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31566 "RANLIB=$${RANLIB}" \
31567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31568 info) \
31569 || exit 1
31571 @endif target-libssp
31573 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31574 maybe-dvi-target-libssp:
31575 @if target-libssp
31576 maybe-dvi-target-libssp: dvi-target-libssp
31578 dvi-target-libssp: \
31579 configure-target-libssp
31580 @: $(MAKE); $(unstage)
31581 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31582 r=`${PWD_COMMAND}`; export r; \
31583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31584 $(NORMAL_TARGET_EXPORTS) \
31585 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31586 for flag in $(EXTRA_TARGET_FLAGS); do \
31587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31588 done; \
31589 (cd $(TARGET_SUBDIR)/libssp && \
31590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31592 "RANLIB=$${RANLIB}" \
31593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31594 dvi) \
31595 || exit 1
31597 @endif target-libssp
31599 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31600 maybe-pdf-target-libssp:
31601 @if target-libssp
31602 maybe-pdf-target-libssp: pdf-target-libssp
31604 pdf-target-libssp: \
31605 configure-target-libssp
31606 @: $(MAKE); $(unstage)
31607 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31608 r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(NORMAL_TARGET_EXPORTS) \
31611 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31612 for flag in $(EXTRA_TARGET_FLAGS); do \
31613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31614 done; \
31615 (cd $(TARGET_SUBDIR)/libssp && \
31616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31618 "RANLIB=$${RANLIB}" \
31619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31620 pdf) \
31621 || exit 1
31623 @endif target-libssp
31625 .PHONY: maybe-html-target-libssp html-target-libssp
31626 maybe-html-target-libssp:
31627 @if target-libssp
31628 maybe-html-target-libssp: html-target-libssp
31630 html-target-libssp: \
31631 configure-target-libssp
31632 @: $(MAKE); $(unstage)
31633 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31634 r=`${PWD_COMMAND}`; export r; \
31635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31636 $(NORMAL_TARGET_EXPORTS) \
31637 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31638 for flag in $(EXTRA_TARGET_FLAGS); do \
31639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31640 done; \
31641 (cd $(TARGET_SUBDIR)/libssp && \
31642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31644 "RANLIB=$${RANLIB}" \
31645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31646 html) \
31647 || exit 1
31649 @endif target-libssp
31651 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31652 maybe-TAGS-target-libssp:
31653 @if target-libssp
31654 maybe-TAGS-target-libssp: TAGS-target-libssp
31656 TAGS-target-libssp: \
31657 configure-target-libssp
31658 @: $(MAKE); $(unstage)
31659 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31660 r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 $(NORMAL_TARGET_EXPORTS) \
31663 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31664 for flag in $(EXTRA_TARGET_FLAGS); do \
31665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31666 done; \
31667 (cd $(TARGET_SUBDIR)/libssp && \
31668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31670 "RANLIB=$${RANLIB}" \
31671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31672 TAGS) \
31673 || exit 1
31675 @endif target-libssp
31677 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31678 maybe-install-info-target-libssp:
31679 @if target-libssp
31680 maybe-install-info-target-libssp: install-info-target-libssp
31682 install-info-target-libssp: \
31683 configure-target-libssp \
31684 info-target-libssp
31685 @: $(MAKE); $(unstage)
31686 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31687 r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(NORMAL_TARGET_EXPORTS) \
31690 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31691 for flag in $(EXTRA_TARGET_FLAGS); do \
31692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31693 done; \
31694 (cd $(TARGET_SUBDIR)/libssp && \
31695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31697 "RANLIB=$${RANLIB}" \
31698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31699 install-info) \
31700 || exit 1
31702 @endif target-libssp
31704 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31705 maybe-install-pdf-target-libssp:
31706 @if target-libssp
31707 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31709 install-pdf-target-libssp: \
31710 configure-target-libssp \
31711 pdf-target-libssp
31712 @: $(MAKE); $(unstage)
31713 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31714 r=`${PWD_COMMAND}`; export r; \
31715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31716 $(NORMAL_TARGET_EXPORTS) \
31717 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31718 for flag in $(EXTRA_TARGET_FLAGS); do \
31719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31720 done; \
31721 (cd $(TARGET_SUBDIR)/libssp && \
31722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31724 "RANLIB=$${RANLIB}" \
31725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31726 install-pdf) \
31727 || exit 1
31729 @endif target-libssp
31731 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31732 maybe-install-html-target-libssp:
31733 @if target-libssp
31734 maybe-install-html-target-libssp: install-html-target-libssp
31736 install-html-target-libssp: \
31737 configure-target-libssp \
31738 html-target-libssp
31739 @: $(MAKE); $(unstage)
31740 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(NORMAL_TARGET_EXPORTS) \
31744 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31745 for flag in $(EXTRA_TARGET_FLAGS); do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 (cd $(TARGET_SUBDIR)/libssp && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31753 install-html) \
31754 || exit 1
31756 @endif target-libssp
31758 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31759 maybe-installcheck-target-libssp:
31760 @if target-libssp
31761 maybe-installcheck-target-libssp: installcheck-target-libssp
31763 installcheck-target-libssp: \
31764 configure-target-libssp
31765 @: $(MAKE); $(unstage)
31766 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31767 r=`${PWD_COMMAND}`; export r; \
31768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31769 $(NORMAL_TARGET_EXPORTS) \
31770 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31771 for flag in $(EXTRA_TARGET_FLAGS); do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 (cd $(TARGET_SUBDIR)/libssp && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31777 "RANLIB=$${RANLIB}" \
31778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31779 installcheck) \
31780 || exit 1
31782 @endif target-libssp
31784 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31785 maybe-mostlyclean-target-libssp:
31786 @if target-libssp
31787 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31789 mostlyclean-target-libssp:
31790 @: $(MAKE); $(unstage)
31791 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31792 r=`${PWD_COMMAND}`; export r; \
31793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31794 $(NORMAL_TARGET_EXPORTS) \
31795 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31796 for flag in $(EXTRA_TARGET_FLAGS); do \
31797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31798 done; \
31799 (cd $(TARGET_SUBDIR)/libssp && \
31800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31802 "RANLIB=$${RANLIB}" \
31803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31804 mostlyclean) \
31805 || exit 1
31807 @endif target-libssp
31809 .PHONY: maybe-clean-target-libssp clean-target-libssp
31810 maybe-clean-target-libssp:
31811 @if target-libssp
31812 maybe-clean-target-libssp: clean-target-libssp
31814 clean-target-libssp:
31815 @: $(MAKE); $(unstage)
31816 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31817 r=`${PWD_COMMAND}`; export r; \
31818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31819 $(NORMAL_TARGET_EXPORTS) \
31820 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31821 for flag in $(EXTRA_TARGET_FLAGS); do \
31822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31823 done; \
31824 (cd $(TARGET_SUBDIR)/libssp && \
31825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31827 "RANLIB=$${RANLIB}" \
31828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31829 clean) \
31830 || exit 1
31832 @endif target-libssp
31834 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31835 maybe-distclean-target-libssp:
31836 @if target-libssp
31837 maybe-distclean-target-libssp: distclean-target-libssp
31839 distclean-target-libssp:
31840 @: $(MAKE); $(unstage)
31841 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31842 r=`${PWD_COMMAND}`; export r; \
31843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31844 $(NORMAL_TARGET_EXPORTS) \
31845 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31846 for flag in $(EXTRA_TARGET_FLAGS); do \
31847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31848 done; \
31849 (cd $(TARGET_SUBDIR)/libssp && \
31850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31852 "RANLIB=$${RANLIB}" \
31853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31854 distclean) \
31855 || exit 1
31857 @endif target-libssp
31859 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31860 maybe-maintainer-clean-target-libssp:
31861 @if target-libssp
31862 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31864 maintainer-clean-target-libssp:
31865 @: $(MAKE); $(unstage)
31866 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31867 r=`${PWD_COMMAND}`; export r; \
31868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31869 $(NORMAL_TARGET_EXPORTS) \
31870 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31871 for flag in $(EXTRA_TARGET_FLAGS); do \
31872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31873 done; \
31874 (cd $(TARGET_SUBDIR)/libssp && \
31875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31877 "RANLIB=$${RANLIB}" \
31878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31879 maintainer-clean) \
31880 || exit 1
31882 @endif target-libssp
31888 .PHONY: configure-target-newlib maybe-configure-target-newlib
31889 maybe-configure-target-newlib:
31890 @if gcc-bootstrap
31891 configure-target-newlib: stage_current
31892 @endif gcc-bootstrap
31893 @if target-newlib
31894 maybe-configure-target-newlib: configure-target-newlib
31895 configure-target-newlib:
31896 @: $(MAKE); $(unstage)
31897 @r=`${PWD_COMMAND}`; export r; \
31898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31899 echo "Checking multilib configuration for newlib..."; \
31900 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31901 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31902 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31903 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31904 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31905 else \
31906 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31907 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31908 fi; \
31909 else \
31910 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31911 fi; \
31912 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31914 $(NORMAL_TARGET_EXPORTS) \
31915 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31916 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31917 case $(srcdir) in \
31918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31919 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31921 esac; \
31922 srcdiroption="--srcdir=$${topdir}/newlib"; \
31923 libsrcdir="$$s/newlib"; \
31924 rm -f no-such-file || : ; \
31925 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31926 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31927 --target=${target_alias} $${srcdiroption} \
31928 || exit 1
31929 @endif target-newlib
31935 .PHONY: all-target-newlib maybe-all-target-newlib
31936 maybe-all-target-newlib:
31937 @if gcc-bootstrap
31938 all-target-newlib: stage_current
31939 @endif gcc-bootstrap
31940 @if target-newlib
31941 TARGET-target-newlib=all
31942 maybe-all-target-newlib: all-target-newlib
31943 all-target-newlib: configure-target-newlib
31944 @: $(MAKE); $(unstage)
31945 @r=`${PWD_COMMAND}`; export r; \
31946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31947 $(NORMAL_TARGET_EXPORTS) \
31948 (cd $(TARGET_SUBDIR)/newlib && \
31949 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31950 $(TARGET-target-newlib))
31951 @endif target-newlib
31957 .PHONY: check-target-newlib maybe-check-target-newlib
31958 maybe-check-target-newlib:
31959 @if target-newlib
31960 maybe-check-target-newlib: check-target-newlib
31962 check-target-newlib:
31963 @: $(MAKE); $(unstage)
31964 @r=`${PWD_COMMAND}`; export r; \
31965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31966 $(NORMAL_TARGET_EXPORTS) \
31967 (cd $(TARGET_SUBDIR)/newlib && \
31968 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31970 @endif target-newlib
31972 .PHONY: install-target-newlib maybe-install-target-newlib
31973 maybe-install-target-newlib:
31974 @if target-newlib
31975 maybe-install-target-newlib: install-target-newlib
31977 install-target-newlib: installdirs
31978 @: $(MAKE); $(unstage)
31979 @r=`${PWD_COMMAND}`; export r; \
31980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31981 $(NORMAL_TARGET_EXPORTS) \
31982 (cd $(TARGET_SUBDIR)/newlib && \
31983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31985 @endif target-newlib
31987 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31988 maybe-install-strip-target-newlib:
31989 @if target-newlib
31990 maybe-install-strip-target-newlib: install-strip-target-newlib
31992 install-strip-target-newlib: installdirs
31993 @: $(MAKE); $(unstage)
31994 @r=`${PWD_COMMAND}`; export r; \
31995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31996 $(NORMAL_TARGET_EXPORTS) \
31997 (cd $(TARGET_SUBDIR)/newlib && \
31998 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32000 @endif target-newlib
32002 # Other targets (info, dvi, pdf, etc.)
32004 .PHONY: maybe-info-target-newlib info-target-newlib
32005 maybe-info-target-newlib:
32006 @if target-newlib
32007 maybe-info-target-newlib: info-target-newlib
32009 info-target-newlib: \
32010 configure-target-newlib
32011 @: $(MAKE); $(unstage)
32012 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32013 r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(NORMAL_TARGET_EXPORTS) \
32016 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32017 for flag in $(EXTRA_TARGET_FLAGS); do \
32018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32019 done; \
32020 (cd $(TARGET_SUBDIR)/newlib && \
32021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32023 "RANLIB=$${RANLIB}" \
32024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32025 info) \
32026 || exit 1
32028 @endif target-newlib
32030 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32031 maybe-dvi-target-newlib:
32032 @if target-newlib
32033 maybe-dvi-target-newlib: dvi-target-newlib
32035 dvi-target-newlib: \
32036 configure-target-newlib
32037 @: $(MAKE); $(unstage)
32038 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32039 r=`${PWD_COMMAND}`; export r; \
32040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32041 $(NORMAL_TARGET_EXPORTS) \
32042 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32043 for flag in $(EXTRA_TARGET_FLAGS); do \
32044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32045 done; \
32046 (cd $(TARGET_SUBDIR)/newlib && \
32047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32049 "RANLIB=$${RANLIB}" \
32050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32051 dvi) \
32052 || exit 1
32054 @endif target-newlib
32056 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32057 maybe-pdf-target-newlib:
32058 @if target-newlib
32059 maybe-pdf-target-newlib: pdf-target-newlib
32061 pdf-target-newlib: \
32062 configure-target-newlib
32063 @: $(MAKE); $(unstage)
32064 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32065 r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(NORMAL_TARGET_EXPORTS) \
32068 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32069 for flag in $(EXTRA_TARGET_FLAGS); do \
32070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32071 done; \
32072 (cd $(TARGET_SUBDIR)/newlib && \
32073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32075 "RANLIB=$${RANLIB}" \
32076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32077 pdf) \
32078 || exit 1
32080 @endif target-newlib
32082 .PHONY: maybe-html-target-newlib html-target-newlib
32083 maybe-html-target-newlib:
32084 @if target-newlib
32085 maybe-html-target-newlib: html-target-newlib
32087 html-target-newlib: \
32088 configure-target-newlib
32089 @: $(MAKE); $(unstage)
32090 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32091 r=`${PWD_COMMAND}`; export r; \
32092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32093 $(NORMAL_TARGET_EXPORTS) \
32094 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32095 for flag in $(EXTRA_TARGET_FLAGS); do \
32096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32097 done; \
32098 (cd $(TARGET_SUBDIR)/newlib && \
32099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32101 "RANLIB=$${RANLIB}" \
32102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32103 html) \
32104 || exit 1
32106 @endif target-newlib
32108 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32109 maybe-TAGS-target-newlib:
32110 @if target-newlib
32111 maybe-TAGS-target-newlib: TAGS-target-newlib
32113 TAGS-target-newlib: \
32114 configure-target-newlib
32115 @: $(MAKE); $(unstage)
32116 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32117 r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(NORMAL_TARGET_EXPORTS) \
32120 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32121 for flag in $(EXTRA_TARGET_FLAGS); do \
32122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32123 done; \
32124 (cd $(TARGET_SUBDIR)/newlib && \
32125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32127 "RANLIB=$${RANLIB}" \
32128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32129 TAGS) \
32130 || exit 1
32132 @endif target-newlib
32134 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32135 maybe-install-info-target-newlib:
32136 @if target-newlib
32137 maybe-install-info-target-newlib: install-info-target-newlib
32139 install-info-target-newlib: \
32140 configure-target-newlib \
32141 info-target-newlib
32142 @: $(MAKE); $(unstage)
32143 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(NORMAL_TARGET_EXPORTS) \
32147 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32148 for flag in $(EXTRA_TARGET_FLAGS); do \
32149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32150 done; \
32151 (cd $(TARGET_SUBDIR)/newlib && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32156 install-info) \
32157 || exit 1
32159 @endif target-newlib
32161 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32162 maybe-install-pdf-target-newlib:
32163 @if target-newlib
32164 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32166 install-pdf-target-newlib: \
32167 configure-target-newlib \
32168 pdf-target-newlib
32169 @: $(MAKE); $(unstage)
32170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32171 r=`${PWD_COMMAND}`; export r; \
32172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32173 $(NORMAL_TARGET_EXPORTS) \
32174 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32175 for flag in $(EXTRA_TARGET_FLAGS); do \
32176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32177 done; \
32178 (cd $(TARGET_SUBDIR)/newlib && \
32179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32181 "RANLIB=$${RANLIB}" \
32182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32183 install-pdf) \
32184 || exit 1
32186 @endif target-newlib
32188 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32189 maybe-install-html-target-newlib:
32190 @if target-newlib
32191 maybe-install-html-target-newlib: install-html-target-newlib
32193 install-html-target-newlib: \
32194 configure-target-newlib \
32195 html-target-newlib
32196 @: $(MAKE); $(unstage)
32197 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32198 r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 $(NORMAL_TARGET_EXPORTS) \
32201 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32202 for flag in $(EXTRA_TARGET_FLAGS); do \
32203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32204 done; \
32205 (cd $(TARGET_SUBDIR)/newlib && \
32206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32208 "RANLIB=$${RANLIB}" \
32209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32210 install-html) \
32211 || exit 1
32213 @endif target-newlib
32215 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32216 maybe-installcheck-target-newlib:
32217 @if target-newlib
32218 maybe-installcheck-target-newlib: installcheck-target-newlib
32220 installcheck-target-newlib: \
32221 configure-target-newlib
32222 @: $(MAKE); $(unstage)
32223 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32224 r=`${PWD_COMMAND}`; export r; \
32225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32226 $(NORMAL_TARGET_EXPORTS) \
32227 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32228 for flag in $(EXTRA_TARGET_FLAGS); do \
32229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32230 done; \
32231 (cd $(TARGET_SUBDIR)/newlib && \
32232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32234 "RANLIB=$${RANLIB}" \
32235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32236 installcheck) \
32237 || exit 1
32239 @endif target-newlib
32241 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32242 maybe-mostlyclean-target-newlib:
32243 @if target-newlib
32244 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32246 mostlyclean-target-newlib:
32247 @: $(MAKE); $(unstage)
32248 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32249 r=`${PWD_COMMAND}`; export r; \
32250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32251 $(NORMAL_TARGET_EXPORTS) \
32252 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32253 for flag in $(EXTRA_TARGET_FLAGS); do \
32254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32255 done; \
32256 (cd $(TARGET_SUBDIR)/newlib && \
32257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32259 "RANLIB=$${RANLIB}" \
32260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32261 mostlyclean) \
32262 || exit 1
32264 @endif target-newlib
32266 .PHONY: maybe-clean-target-newlib clean-target-newlib
32267 maybe-clean-target-newlib:
32268 @if target-newlib
32269 maybe-clean-target-newlib: clean-target-newlib
32271 clean-target-newlib:
32272 @: $(MAKE); $(unstage)
32273 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32274 r=`${PWD_COMMAND}`; export r; \
32275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32276 $(NORMAL_TARGET_EXPORTS) \
32277 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32278 for flag in $(EXTRA_TARGET_FLAGS); do \
32279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32280 done; \
32281 (cd $(TARGET_SUBDIR)/newlib && \
32282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32284 "RANLIB=$${RANLIB}" \
32285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32286 clean) \
32287 || exit 1
32289 @endif target-newlib
32291 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32292 maybe-distclean-target-newlib:
32293 @if target-newlib
32294 maybe-distclean-target-newlib: distclean-target-newlib
32296 distclean-target-newlib:
32297 @: $(MAKE); $(unstage)
32298 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32299 r=`${PWD_COMMAND}`; export r; \
32300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32301 $(NORMAL_TARGET_EXPORTS) \
32302 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32303 for flag in $(EXTRA_TARGET_FLAGS); do \
32304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32305 done; \
32306 (cd $(TARGET_SUBDIR)/newlib && \
32307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32309 "RANLIB=$${RANLIB}" \
32310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32311 distclean) \
32312 || exit 1
32314 @endif target-newlib
32316 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32317 maybe-maintainer-clean-target-newlib:
32318 @if target-newlib
32319 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32321 maintainer-clean-target-newlib:
32322 @: $(MAKE); $(unstage)
32323 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32324 r=`${PWD_COMMAND}`; export r; \
32325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32326 $(NORMAL_TARGET_EXPORTS) \
32327 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32328 for flag in $(EXTRA_TARGET_FLAGS); do \
32329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32330 done; \
32331 (cd $(TARGET_SUBDIR)/newlib && \
32332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32334 "RANLIB=$${RANLIB}" \
32335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32336 maintainer-clean) \
32337 || exit 1
32339 @endif target-newlib
32345 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32346 maybe-configure-target-libgcc:
32347 @if gcc-bootstrap
32348 configure-target-libgcc: stage_current
32349 @endif gcc-bootstrap
32350 @if target-libgcc
32351 maybe-configure-target-libgcc: configure-target-libgcc
32352 configure-target-libgcc:
32353 @r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 echo "Checking multilib configuration for libgcc..."; \
32356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32357 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32358 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32359 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32360 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32361 else \
32362 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32363 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32364 fi; \
32365 else \
32366 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32367 fi; \
32368 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32370 $(NORMAL_TARGET_EXPORTS) \
32371 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32372 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32373 case $(srcdir) in \
32374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32375 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32377 esac; \
32378 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32379 libsrcdir="$$s/libgcc"; \
32380 rm -f no-such-file || : ; \
32381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32383 --target=${target_alias} $${srcdiroption} \
32384 || exit 1
32385 @endif target-libgcc
32389 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32390 maybe-configure-stage1-target-libgcc:
32391 @if target-libgcc-bootstrap
32392 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32393 configure-stage1-target-libgcc:
32394 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32395 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32396 @r=`${PWD_COMMAND}`; export r; \
32397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32398 TFLAGS="$(STAGE1_TFLAGS)"; \
32399 echo "Checking multilib configuration for libgcc..."; \
32400 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32401 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32402 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32403 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32404 else \
32405 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32406 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32407 fi; \
32408 else \
32409 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32410 fi; \
32411 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32412 $(NORMAL_TARGET_EXPORTS) \
32413 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32414 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32415 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32416 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32417 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32418 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32419 case $(srcdir) in \
32420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32421 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32423 esac; \
32424 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32425 libsrcdir="$$s/libgcc"; \
32426 $(SHELL) $${libsrcdir}/configure \
32427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32428 --target=${target_alias} $${srcdiroption} \
32429 $(STAGE1_CONFIGURE_FLAGS)
32430 @endif target-libgcc-bootstrap
32432 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32433 maybe-configure-stage2-target-libgcc:
32434 @if target-libgcc-bootstrap
32435 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32436 configure-stage2-target-libgcc:
32437 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32438 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32439 @r=`${PWD_COMMAND}`; export r; \
32440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32441 TFLAGS="$(STAGE2_TFLAGS)"; \
32442 echo "Checking multilib configuration for libgcc..."; \
32443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32444 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32445 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32446 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32447 else \
32448 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32449 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32450 fi; \
32451 else \
32452 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32453 fi; \
32454 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32455 $(NORMAL_TARGET_EXPORTS) \
32457 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32460 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32462 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32463 case $(srcdir) in \
32464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32465 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32467 esac; \
32468 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32469 libsrcdir="$$s/libgcc"; \
32470 $(SHELL) $${libsrcdir}/configure \
32471 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32472 --target=${target_alias} $${srcdiroption} \
32473 --with-build-libsubdir=$(HOST_SUBDIR) \
32474 $(STAGE2_CONFIGURE_FLAGS)
32475 @endif target-libgcc-bootstrap
32477 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32478 maybe-configure-stage3-target-libgcc:
32479 @if target-libgcc-bootstrap
32480 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32481 configure-stage3-target-libgcc:
32482 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32483 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32484 @r=`${PWD_COMMAND}`; export r; \
32485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32486 TFLAGS="$(STAGE3_TFLAGS)"; \
32487 echo "Checking multilib configuration for libgcc..."; \
32488 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32489 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32490 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32491 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32492 else \
32493 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32494 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32495 fi; \
32496 else \
32497 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32498 fi; \
32499 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32500 $(NORMAL_TARGET_EXPORTS) \
32502 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32505 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32507 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32508 case $(srcdir) in \
32509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32510 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32512 esac; \
32513 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32514 libsrcdir="$$s/libgcc"; \
32515 $(SHELL) $${libsrcdir}/configure \
32516 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32517 --target=${target_alias} $${srcdiroption} \
32518 --with-build-libsubdir=$(HOST_SUBDIR) \
32519 $(STAGE3_CONFIGURE_FLAGS)
32520 @endif target-libgcc-bootstrap
32522 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32523 maybe-configure-stage4-target-libgcc:
32524 @if target-libgcc-bootstrap
32525 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32526 configure-stage4-target-libgcc:
32527 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32528 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32529 @r=`${PWD_COMMAND}`; export r; \
32530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32531 TFLAGS="$(STAGE4_TFLAGS)"; \
32532 echo "Checking multilib configuration for libgcc..."; \
32533 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32534 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32535 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32536 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32537 else \
32538 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32539 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32540 fi; \
32541 else \
32542 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32543 fi; \
32544 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32545 $(NORMAL_TARGET_EXPORTS) \
32547 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32548 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32549 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32550 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32552 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32553 case $(srcdir) in \
32554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32555 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32557 esac; \
32558 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32559 libsrcdir="$$s/libgcc"; \
32560 $(SHELL) $${libsrcdir}/configure \
32561 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32562 --target=${target_alias} $${srcdiroption} \
32563 --with-build-libsubdir=$(HOST_SUBDIR) \
32564 $(STAGE4_CONFIGURE_FLAGS)
32565 @endif target-libgcc-bootstrap
32567 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32568 maybe-configure-stageprofile-target-libgcc:
32569 @if target-libgcc-bootstrap
32570 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32571 configure-stageprofile-target-libgcc:
32572 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32573 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32574 @r=`${PWD_COMMAND}`; export r; \
32575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32576 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32577 echo "Checking multilib configuration for libgcc..."; \
32578 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32579 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32580 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32581 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32582 else \
32583 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32584 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32585 fi; \
32586 else \
32587 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32588 fi; \
32589 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32590 $(NORMAL_TARGET_EXPORTS) \
32592 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32593 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32594 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32595 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32597 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32598 case $(srcdir) in \
32599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32600 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32602 esac; \
32603 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32604 libsrcdir="$$s/libgcc"; \
32605 $(SHELL) $${libsrcdir}/configure \
32606 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32607 --target=${target_alias} $${srcdiroption} \
32608 --with-build-libsubdir=$(HOST_SUBDIR) \
32609 $(STAGEprofile_CONFIGURE_FLAGS)
32610 @endif target-libgcc-bootstrap
32612 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32613 maybe-configure-stagefeedback-target-libgcc:
32614 @if target-libgcc-bootstrap
32615 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32616 configure-stagefeedback-target-libgcc:
32617 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32618 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32619 @r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32622 echo "Checking multilib configuration for libgcc..."; \
32623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32624 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32625 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32626 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32627 else \
32628 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32629 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32630 fi; \
32631 else \
32632 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32633 fi; \
32634 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32635 $(NORMAL_TARGET_EXPORTS) \
32637 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32640 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32642 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32643 case $(srcdir) in \
32644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32645 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32647 esac; \
32648 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32649 libsrcdir="$$s/libgcc"; \
32650 $(SHELL) $${libsrcdir}/configure \
32651 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32652 --target=${target_alias} $${srcdiroption} \
32653 --with-build-libsubdir=$(HOST_SUBDIR) \
32654 $(STAGEfeedback_CONFIGURE_FLAGS)
32655 @endif target-libgcc-bootstrap
32661 .PHONY: all-target-libgcc maybe-all-target-libgcc
32662 maybe-all-target-libgcc:
32663 @if gcc-bootstrap
32664 all-target-libgcc: stage_current
32665 @endif gcc-bootstrap
32666 @if target-libgcc
32667 TARGET-target-libgcc=all
32668 maybe-all-target-libgcc: all-target-libgcc
32669 all-target-libgcc: configure-target-libgcc
32670 @r=`${PWD_COMMAND}`; export r; \
32671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32672 $(NORMAL_TARGET_EXPORTS) \
32673 (cd $(TARGET_SUBDIR)/libgcc && \
32674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32675 $(TARGET-target-libgcc))
32676 @endif target-libgcc
32680 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32681 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32682 maybe-all-stage1-target-libgcc:
32683 maybe-clean-stage1-target-libgcc:
32684 @if target-libgcc-bootstrap
32685 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32686 all-stage1: all-stage1-target-libgcc
32687 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32688 all-stage1-target-libgcc: configure-stage1-target-libgcc
32689 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32690 @r=`${PWD_COMMAND}`; export r; \
32691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32692 TFLAGS="$(STAGE1_TFLAGS)"; \
32693 $(NORMAL_TARGET_EXPORTS) \
32694 cd $(TARGET_SUBDIR)/libgcc && \
32695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32696 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32698 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32702 $(EXTRA_TARGET_FLAGS) \
32703 TFLAGS="$(STAGE1_TFLAGS)" \
32704 $(TARGET-stage1-target-libgcc)
32706 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32707 clean-stage1: clean-stage1-target-libgcc
32708 clean-stage1-target-libgcc:
32709 @if [ $(current_stage) = stage1 ]; then \
32710 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32711 else \
32712 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32713 $(MAKE) stage1-start; \
32714 fi; \
32715 cd $(TARGET_SUBDIR)/libgcc && \
32716 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32717 clean
32718 @endif target-libgcc-bootstrap
32721 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32722 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32723 maybe-all-stage2-target-libgcc:
32724 maybe-clean-stage2-target-libgcc:
32725 @if target-libgcc-bootstrap
32726 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32727 all-stage2: all-stage2-target-libgcc
32728 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32729 all-stage2-target-libgcc: configure-stage2-target-libgcc
32730 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32731 @r=`${PWD_COMMAND}`; export r; \
32732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32733 TFLAGS="$(STAGE2_TFLAGS)"; \
32734 $(NORMAL_TARGET_EXPORTS) \
32736 cd $(TARGET_SUBDIR)/libgcc && \
32737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32738 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32741 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32742 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32743 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32744 $(EXTRA_TARGET_FLAGS) \
32745 TFLAGS="$(STAGE2_TFLAGS)" \
32746 $(TARGET-stage2-target-libgcc)
32748 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32749 clean-stage2: clean-stage2-target-libgcc
32750 clean-stage2-target-libgcc:
32751 @if [ $(current_stage) = stage2 ]; then \
32752 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32753 else \
32754 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32755 $(MAKE) stage2-start; \
32756 fi; \
32757 cd $(TARGET_SUBDIR)/libgcc && \
32758 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32760 clean
32761 @endif target-libgcc-bootstrap
32764 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32765 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32766 maybe-all-stage3-target-libgcc:
32767 maybe-clean-stage3-target-libgcc:
32768 @if target-libgcc-bootstrap
32769 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32770 all-stage3: all-stage3-target-libgcc
32771 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32772 all-stage3-target-libgcc: configure-stage3-target-libgcc
32773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32774 @r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 TFLAGS="$(STAGE3_TFLAGS)"; \
32777 $(NORMAL_TARGET_EXPORTS) \
32779 cd $(TARGET_SUBDIR)/libgcc && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32781 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32782 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32783 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32787 $(EXTRA_TARGET_FLAGS) \
32788 TFLAGS="$(STAGE3_TFLAGS)" \
32789 $(TARGET-stage3-target-libgcc)
32791 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32792 clean-stage3: clean-stage3-target-libgcc
32793 clean-stage3-target-libgcc:
32794 @if [ $(current_stage) = stage3 ]; then \
32795 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32796 else \
32797 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32798 $(MAKE) stage3-start; \
32799 fi; \
32800 cd $(TARGET_SUBDIR)/libgcc && \
32801 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32803 clean
32804 @endif target-libgcc-bootstrap
32807 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32808 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32809 maybe-all-stage4-target-libgcc:
32810 maybe-clean-stage4-target-libgcc:
32811 @if target-libgcc-bootstrap
32812 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32813 all-stage4: all-stage4-target-libgcc
32814 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32815 all-stage4-target-libgcc: configure-stage4-target-libgcc
32816 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32817 @r=`${PWD_COMMAND}`; export r; \
32818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32819 TFLAGS="$(STAGE4_TFLAGS)"; \
32820 $(NORMAL_TARGET_EXPORTS) \
32822 cd $(TARGET_SUBDIR)/libgcc && \
32823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32824 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32825 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32826 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32830 $(EXTRA_TARGET_FLAGS) \
32831 TFLAGS="$(STAGE4_TFLAGS)" \
32832 $(TARGET-stage4-target-libgcc)
32834 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32835 clean-stage4: clean-stage4-target-libgcc
32836 clean-stage4-target-libgcc:
32837 @if [ $(current_stage) = stage4 ]; then \
32838 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32839 else \
32840 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32841 $(MAKE) stage4-start; \
32842 fi; \
32843 cd $(TARGET_SUBDIR)/libgcc && \
32844 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32846 clean
32847 @endif target-libgcc-bootstrap
32850 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32851 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32852 maybe-all-stageprofile-target-libgcc:
32853 maybe-clean-stageprofile-target-libgcc:
32854 @if target-libgcc-bootstrap
32855 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32856 all-stageprofile: all-stageprofile-target-libgcc
32857 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32858 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32859 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32860 @r=`${PWD_COMMAND}`; export r; \
32861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32862 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32863 $(NORMAL_TARGET_EXPORTS) \
32865 cd $(TARGET_SUBDIR)/libgcc && \
32866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32867 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32868 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32869 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32873 $(EXTRA_TARGET_FLAGS) \
32874 TFLAGS="$(STAGEprofile_TFLAGS)" \
32875 $(TARGET-stageprofile-target-libgcc)
32877 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32878 clean-stageprofile: clean-stageprofile-target-libgcc
32879 clean-stageprofile-target-libgcc:
32880 @if [ $(current_stage) = stageprofile ]; then \
32881 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32882 else \
32883 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32884 $(MAKE) stageprofile-start; \
32885 fi; \
32886 cd $(TARGET_SUBDIR)/libgcc && \
32887 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32889 clean
32890 @endif target-libgcc-bootstrap
32893 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32894 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32895 maybe-all-stagefeedback-target-libgcc:
32896 maybe-clean-stagefeedback-target-libgcc:
32897 @if target-libgcc-bootstrap
32898 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32899 all-stagefeedback: all-stagefeedback-target-libgcc
32900 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32901 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32902 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32903 @r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32906 $(NORMAL_TARGET_EXPORTS) \
32908 cd $(TARGET_SUBDIR)/libgcc && \
32909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32910 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32911 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32912 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32916 $(EXTRA_TARGET_FLAGS) \
32917 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32918 $(TARGET-stagefeedback-target-libgcc)
32920 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32921 clean-stagefeedback: clean-stagefeedback-target-libgcc
32922 clean-stagefeedback-target-libgcc:
32923 @if [ $(current_stage) = stagefeedback ]; then \
32924 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32925 else \
32926 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32927 $(MAKE) stagefeedback-start; \
32928 fi; \
32929 cd $(TARGET_SUBDIR)/libgcc && \
32930 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32932 clean
32933 @endif target-libgcc-bootstrap
32940 .PHONY: check-target-libgcc maybe-check-target-libgcc
32941 maybe-check-target-libgcc:
32942 @if target-libgcc
32943 maybe-check-target-libgcc: check-target-libgcc
32945 # Dummy target for uncheckable module.
32946 check-target-libgcc:
32948 @endif target-libgcc
32950 .PHONY: install-target-libgcc maybe-install-target-libgcc
32951 maybe-install-target-libgcc:
32952 @if target-libgcc
32953 maybe-install-target-libgcc: install-target-libgcc
32955 install-target-libgcc: installdirs
32956 @: $(MAKE); $(unstage)
32957 @r=`${PWD_COMMAND}`; export r; \
32958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32959 $(NORMAL_TARGET_EXPORTS) \
32960 (cd $(TARGET_SUBDIR)/libgcc && \
32961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32963 @endif target-libgcc
32965 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32966 maybe-install-strip-target-libgcc:
32967 @if target-libgcc
32968 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32970 install-strip-target-libgcc: installdirs
32971 @: $(MAKE); $(unstage)
32972 @r=`${PWD_COMMAND}`; export r; \
32973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32974 $(NORMAL_TARGET_EXPORTS) \
32975 (cd $(TARGET_SUBDIR)/libgcc && \
32976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32978 @endif target-libgcc
32980 # Other targets (info, dvi, pdf, etc.)
32982 .PHONY: maybe-info-target-libgcc info-target-libgcc
32983 maybe-info-target-libgcc:
32984 @if target-libgcc
32985 maybe-info-target-libgcc: info-target-libgcc
32987 info-target-libgcc: \
32988 configure-target-libgcc
32989 @: $(MAKE); $(unstage)
32990 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32991 r=`${PWD_COMMAND}`; export r; \
32992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32993 $(NORMAL_TARGET_EXPORTS) \
32994 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32995 for flag in $(EXTRA_TARGET_FLAGS); do \
32996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32997 done; \
32998 (cd $(TARGET_SUBDIR)/libgcc && \
32999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33001 "RANLIB=$${RANLIB}" \
33002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33003 info) \
33004 || exit 1
33006 @endif target-libgcc
33008 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33009 maybe-dvi-target-libgcc:
33010 @if target-libgcc
33011 maybe-dvi-target-libgcc: dvi-target-libgcc
33013 dvi-target-libgcc: \
33014 configure-target-libgcc
33015 @: $(MAKE); $(unstage)
33016 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33017 r=`${PWD_COMMAND}`; export r; \
33018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33019 $(NORMAL_TARGET_EXPORTS) \
33020 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33021 for flag in $(EXTRA_TARGET_FLAGS); do \
33022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33023 done; \
33024 (cd $(TARGET_SUBDIR)/libgcc && \
33025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33027 "RANLIB=$${RANLIB}" \
33028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33029 dvi) \
33030 || exit 1
33032 @endif target-libgcc
33034 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33035 maybe-pdf-target-libgcc:
33036 @if target-libgcc
33037 maybe-pdf-target-libgcc: pdf-target-libgcc
33039 pdf-target-libgcc: \
33040 configure-target-libgcc
33041 @: $(MAKE); $(unstage)
33042 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33043 r=`${PWD_COMMAND}`; export r; \
33044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33045 $(NORMAL_TARGET_EXPORTS) \
33046 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33047 for flag in $(EXTRA_TARGET_FLAGS); do \
33048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33049 done; \
33050 (cd $(TARGET_SUBDIR)/libgcc && \
33051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33053 "RANLIB=$${RANLIB}" \
33054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33055 pdf) \
33056 || exit 1
33058 @endif target-libgcc
33060 .PHONY: maybe-html-target-libgcc html-target-libgcc
33061 maybe-html-target-libgcc:
33062 @if target-libgcc
33063 maybe-html-target-libgcc: html-target-libgcc
33065 html-target-libgcc: \
33066 configure-target-libgcc
33067 @: $(MAKE); $(unstage)
33068 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33069 r=`${PWD_COMMAND}`; export r; \
33070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33071 $(NORMAL_TARGET_EXPORTS) \
33072 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33073 for flag in $(EXTRA_TARGET_FLAGS); do \
33074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33075 done; \
33076 (cd $(TARGET_SUBDIR)/libgcc && \
33077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33079 "RANLIB=$${RANLIB}" \
33080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33081 html) \
33082 || exit 1
33084 @endif target-libgcc
33086 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33087 maybe-TAGS-target-libgcc:
33088 @if target-libgcc
33089 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33091 TAGS-target-libgcc: \
33092 configure-target-libgcc
33093 @: $(MAKE); $(unstage)
33094 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33095 r=`${PWD_COMMAND}`; export r; \
33096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33097 $(NORMAL_TARGET_EXPORTS) \
33098 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33099 for flag in $(EXTRA_TARGET_FLAGS); do \
33100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33101 done; \
33102 (cd $(TARGET_SUBDIR)/libgcc && \
33103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33105 "RANLIB=$${RANLIB}" \
33106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33107 TAGS) \
33108 || exit 1
33110 @endif target-libgcc
33112 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33113 maybe-install-info-target-libgcc:
33114 @if target-libgcc
33115 maybe-install-info-target-libgcc: install-info-target-libgcc
33117 install-info-target-libgcc: \
33118 configure-target-libgcc \
33119 info-target-libgcc
33120 @: $(MAKE); $(unstage)
33121 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33122 r=`${PWD_COMMAND}`; export r; \
33123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33124 $(NORMAL_TARGET_EXPORTS) \
33125 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33126 for flag in $(EXTRA_TARGET_FLAGS); do \
33127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33128 done; \
33129 (cd $(TARGET_SUBDIR)/libgcc && \
33130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33132 "RANLIB=$${RANLIB}" \
33133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33134 install-info) \
33135 || exit 1
33137 @endif target-libgcc
33139 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33140 maybe-install-pdf-target-libgcc:
33141 @if target-libgcc
33142 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33144 install-pdf-target-libgcc: \
33145 configure-target-libgcc \
33146 pdf-target-libgcc
33147 @: $(MAKE); $(unstage)
33148 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33149 r=`${PWD_COMMAND}`; export r; \
33150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33151 $(NORMAL_TARGET_EXPORTS) \
33152 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33153 for flag in $(EXTRA_TARGET_FLAGS); do \
33154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33155 done; \
33156 (cd $(TARGET_SUBDIR)/libgcc && \
33157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33159 "RANLIB=$${RANLIB}" \
33160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33161 install-pdf) \
33162 || exit 1
33164 @endif target-libgcc
33166 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33167 maybe-install-html-target-libgcc:
33168 @if target-libgcc
33169 maybe-install-html-target-libgcc: install-html-target-libgcc
33171 install-html-target-libgcc: \
33172 configure-target-libgcc \
33173 html-target-libgcc
33174 @: $(MAKE); $(unstage)
33175 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33176 r=`${PWD_COMMAND}`; export r; \
33177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33178 $(NORMAL_TARGET_EXPORTS) \
33179 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33180 for flag in $(EXTRA_TARGET_FLAGS); do \
33181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33182 done; \
33183 (cd $(TARGET_SUBDIR)/libgcc && \
33184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33186 "RANLIB=$${RANLIB}" \
33187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33188 install-html) \
33189 || exit 1
33191 @endif target-libgcc
33193 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33194 maybe-installcheck-target-libgcc:
33195 @if target-libgcc
33196 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33198 installcheck-target-libgcc: \
33199 configure-target-libgcc
33200 @: $(MAKE); $(unstage)
33201 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(NORMAL_TARGET_EXPORTS) \
33205 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33206 for flag in $(EXTRA_TARGET_FLAGS); do \
33207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33208 done; \
33209 (cd $(TARGET_SUBDIR)/libgcc && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33212 "RANLIB=$${RANLIB}" \
33213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33214 installcheck) \
33215 || exit 1
33217 @endif target-libgcc
33219 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33220 maybe-mostlyclean-target-libgcc:
33221 @if target-libgcc
33222 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33224 mostlyclean-target-libgcc:
33225 @: $(MAKE); $(unstage)
33226 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(NORMAL_TARGET_EXPORTS) \
33230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33231 for flag in $(EXTRA_TARGET_FLAGS); do \
33232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33233 done; \
33234 (cd $(TARGET_SUBDIR)/libgcc && \
33235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33237 "RANLIB=$${RANLIB}" \
33238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33239 mostlyclean) \
33240 || exit 1
33242 @endif target-libgcc
33244 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33245 maybe-clean-target-libgcc:
33246 @if target-libgcc
33247 maybe-clean-target-libgcc: clean-target-libgcc
33249 clean-target-libgcc:
33250 @: $(MAKE); $(unstage)
33251 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33252 r=`${PWD_COMMAND}`; export r; \
33253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33254 $(NORMAL_TARGET_EXPORTS) \
33255 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33256 for flag in $(EXTRA_TARGET_FLAGS); do \
33257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33258 done; \
33259 (cd $(TARGET_SUBDIR)/libgcc && \
33260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33262 "RANLIB=$${RANLIB}" \
33263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33264 clean) \
33265 || exit 1
33267 @endif target-libgcc
33269 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33270 maybe-distclean-target-libgcc:
33271 @if target-libgcc
33272 maybe-distclean-target-libgcc: distclean-target-libgcc
33274 distclean-target-libgcc:
33275 @: $(MAKE); $(unstage)
33276 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33277 r=`${PWD_COMMAND}`; export r; \
33278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33279 $(NORMAL_TARGET_EXPORTS) \
33280 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33281 for flag in $(EXTRA_TARGET_FLAGS); do \
33282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33283 done; \
33284 (cd $(TARGET_SUBDIR)/libgcc && \
33285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33287 "RANLIB=$${RANLIB}" \
33288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33289 distclean) \
33290 || exit 1
33292 @endif target-libgcc
33294 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33295 maybe-maintainer-clean-target-libgcc:
33296 @if target-libgcc
33297 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33299 maintainer-clean-target-libgcc:
33300 @: $(MAKE); $(unstage)
33301 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33302 r=`${PWD_COMMAND}`; export r; \
33303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33304 $(NORMAL_TARGET_EXPORTS) \
33305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33306 for flag in $(EXTRA_TARGET_FLAGS); do \
33307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33308 done; \
33309 (cd $(TARGET_SUBDIR)/libgcc && \
33310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33312 "RANLIB=$${RANLIB}" \
33313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33314 maintainer-clean) \
33315 || exit 1
33317 @endif target-libgcc
33323 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33324 maybe-configure-target-libquadmath:
33325 @if gcc-bootstrap
33326 configure-target-libquadmath: stage_current
33327 @endif gcc-bootstrap
33328 @if target-libquadmath
33329 maybe-configure-target-libquadmath: configure-target-libquadmath
33330 configure-target-libquadmath:
33331 @: $(MAKE); $(unstage)
33332 @r=`${PWD_COMMAND}`; export r; \
33333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33334 echo "Checking multilib configuration for libquadmath..."; \
33335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33337 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33338 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33339 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33340 else \
33341 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33342 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33343 fi; \
33344 else \
33345 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33346 fi; \
33347 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33349 $(NORMAL_TARGET_EXPORTS) \
33350 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33351 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33352 case $(srcdir) in \
33353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33354 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33356 esac; \
33357 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33358 libsrcdir="$$s/libquadmath"; \
33359 rm -f no-such-file || : ; \
33360 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33361 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33362 --target=${target_alias} $${srcdiroption} \
33363 || exit 1
33364 @endif target-libquadmath
33370 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33371 maybe-all-target-libquadmath:
33372 @if gcc-bootstrap
33373 all-target-libquadmath: stage_current
33374 @endif gcc-bootstrap
33375 @if target-libquadmath
33376 TARGET-target-libquadmath=all
33377 maybe-all-target-libquadmath: all-target-libquadmath
33378 all-target-libquadmath: configure-target-libquadmath
33379 @: $(MAKE); $(unstage)
33380 @r=`${PWD_COMMAND}`; export r; \
33381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33382 $(NORMAL_TARGET_EXPORTS) \
33383 (cd $(TARGET_SUBDIR)/libquadmath && \
33384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33385 $(TARGET-target-libquadmath))
33386 @endif target-libquadmath
33392 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33393 maybe-check-target-libquadmath:
33394 @if target-libquadmath
33395 maybe-check-target-libquadmath: check-target-libquadmath
33397 check-target-libquadmath:
33398 @: $(MAKE); $(unstage)
33399 @r=`${PWD_COMMAND}`; export r; \
33400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33401 $(NORMAL_TARGET_EXPORTS) \
33402 (cd $(TARGET_SUBDIR)/libquadmath && \
33403 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33405 @endif target-libquadmath
33407 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33408 maybe-install-target-libquadmath:
33409 @if target-libquadmath
33410 maybe-install-target-libquadmath: install-target-libquadmath
33412 install-target-libquadmath: installdirs
33413 @: $(MAKE); $(unstage)
33414 @r=`${PWD_COMMAND}`; export r; \
33415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33416 $(NORMAL_TARGET_EXPORTS) \
33417 (cd $(TARGET_SUBDIR)/libquadmath && \
33418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33420 @endif target-libquadmath
33422 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33423 maybe-install-strip-target-libquadmath:
33424 @if target-libquadmath
33425 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33427 install-strip-target-libquadmath: installdirs
33428 @: $(MAKE); $(unstage)
33429 @r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(NORMAL_TARGET_EXPORTS) \
33432 (cd $(TARGET_SUBDIR)/libquadmath && \
33433 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33435 @endif target-libquadmath
33437 # Other targets (info, dvi, pdf, etc.)
33439 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33440 maybe-info-target-libquadmath:
33441 @if target-libquadmath
33442 maybe-info-target-libquadmath: info-target-libquadmath
33444 info-target-libquadmath: \
33445 configure-target-libquadmath
33446 @: $(MAKE); $(unstage)
33447 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33448 r=`${PWD_COMMAND}`; export r; \
33449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33450 $(NORMAL_TARGET_EXPORTS) \
33451 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33452 for flag in $(EXTRA_TARGET_FLAGS); do \
33453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33454 done; \
33455 (cd $(TARGET_SUBDIR)/libquadmath && \
33456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33458 "RANLIB=$${RANLIB}" \
33459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33460 info) \
33461 || exit 1
33463 @endif target-libquadmath
33465 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33466 maybe-dvi-target-libquadmath:
33467 @if target-libquadmath
33468 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33470 dvi-target-libquadmath: \
33471 configure-target-libquadmath
33472 @: $(MAKE); $(unstage)
33473 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33474 r=`${PWD_COMMAND}`; export r; \
33475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33476 $(NORMAL_TARGET_EXPORTS) \
33477 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33478 for flag in $(EXTRA_TARGET_FLAGS); do \
33479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33480 done; \
33481 (cd $(TARGET_SUBDIR)/libquadmath && \
33482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33484 "RANLIB=$${RANLIB}" \
33485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33486 dvi) \
33487 || exit 1
33489 @endif target-libquadmath
33491 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33492 maybe-pdf-target-libquadmath:
33493 @if target-libquadmath
33494 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33496 pdf-target-libquadmath: \
33497 configure-target-libquadmath
33498 @: $(MAKE); $(unstage)
33499 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33500 r=`${PWD_COMMAND}`; export r; \
33501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33502 $(NORMAL_TARGET_EXPORTS) \
33503 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33504 for flag in $(EXTRA_TARGET_FLAGS); do \
33505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33506 done; \
33507 (cd $(TARGET_SUBDIR)/libquadmath && \
33508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33510 "RANLIB=$${RANLIB}" \
33511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33512 pdf) \
33513 || exit 1
33515 @endif target-libquadmath
33517 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33518 maybe-html-target-libquadmath:
33519 @if target-libquadmath
33520 maybe-html-target-libquadmath: html-target-libquadmath
33522 html-target-libquadmath: \
33523 configure-target-libquadmath
33524 @: $(MAKE); $(unstage)
33525 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33526 r=`${PWD_COMMAND}`; export r; \
33527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33528 $(NORMAL_TARGET_EXPORTS) \
33529 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33530 for flag in $(EXTRA_TARGET_FLAGS); do \
33531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33532 done; \
33533 (cd $(TARGET_SUBDIR)/libquadmath && \
33534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33536 "RANLIB=$${RANLIB}" \
33537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33538 html) \
33539 || exit 1
33541 @endif target-libquadmath
33543 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33544 maybe-TAGS-target-libquadmath:
33545 @if target-libquadmath
33546 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33548 TAGS-target-libquadmath: \
33549 configure-target-libquadmath
33550 @: $(MAKE); $(unstage)
33551 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33552 r=`${PWD_COMMAND}`; export r; \
33553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33554 $(NORMAL_TARGET_EXPORTS) \
33555 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33556 for flag in $(EXTRA_TARGET_FLAGS); do \
33557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33558 done; \
33559 (cd $(TARGET_SUBDIR)/libquadmath && \
33560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33562 "RANLIB=$${RANLIB}" \
33563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33564 TAGS) \
33565 || exit 1
33567 @endif target-libquadmath
33569 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33570 maybe-install-info-target-libquadmath:
33571 @if target-libquadmath
33572 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33574 install-info-target-libquadmath: \
33575 configure-target-libquadmath \
33576 info-target-libquadmath
33577 @: $(MAKE); $(unstage)
33578 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33579 r=`${PWD_COMMAND}`; export r; \
33580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33581 $(NORMAL_TARGET_EXPORTS) \
33582 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33583 for flag in $(EXTRA_TARGET_FLAGS); do \
33584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33585 done; \
33586 (cd $(TARGET_SUBDIR)/libquadmath && \
33587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33589 "RANLIB=$${RANLIB}" \
33590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33591 install-info) \
33592 || exit 1
33594 @endif target-libquadmath
33596 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33597 maybe-install-pdf-target-libquadmath:
33598 @if target-libquadmath
33599 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33601 install-pdf-target-libquadmath: \
33602 configure-target-libquadmath \
33603 pdf-target-libquadmath
33604 @: $(MAKE); $(unstage)
33605 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33606 r=`${PWD_COMMAND}`; export r; \
33607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33608 $(NORMAL_TARGET_EXPORTS) \
33609 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33610 for flag in $(EXTRA_TARGET_FLAGS); do \
33611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33612 done; \
33613 (cd $(TARGET_SUBDIR)/libquadmath && \
33614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33616 "RANLIB=$${RANLIB}" \
33617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33618 install-pdf) \
33619 || exit 1
33621 @endif target-libquadmath
33623 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33624 maybe-install-html-target-libquadmath:
33625 @if target-libquadmath
33626 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33628 install-html-target-libquadmath: \
33629 configure-target-libquadmath \
33630 html-target-libquadmath
33631 @: $(MAKE); $(unstage)
33632 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33633 r=`${PWD_COMMAND}`; export r; \
33634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33635 $(NORMAL_TARGET_EXPORTS) \
33636 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33637 for flag in $(EXTRA_TARGET_FLAGS); do \
33638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33639 done; \
33640 (cd $(TARGET_SUBDIR)/libquadmath && \
33641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33643 "RANLIB=$${RANLIB}" \
33644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33645 install-html) \
33646 || exit 1
33648 @endif target-libquadmath
33650 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33651 maybe-installcheck-target-libquadmath:
33652 @if target-libquadmath
33653 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33655 installcheck-target-libquadmath: \
33656 configure-target-libquadmath
33657 @: $(MAKE); $(unstage)
33658 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33659 r=`${PWD_COMMAND}`; export r; \
33660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33661 $(NORMAL_TARGET_EXPORTS) \
33662 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33663 for flag in $(EXTRA_TARGET_FLAGS); do \
33664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33665 done; \
33666 (cd $(TARGET_SUBDIR)/libquadmath && \
33667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33669 "RANLIB=$${RANLIB}" \
33670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33671 installcheck) \
33672 || exit 1
33674 @endif target-libquadmath
33676 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33677 maybe-mostlyclean-target-libquadmath:
33678 @if target-libquadmath
33679 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33681 mostlyclean-target-libquadmath:
33682 @: $(MAKE); $(unstage)
33683 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33684 r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(NORMAL_TARGET_EXPORTS) \
33687 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33688 for flag in $(EXTRA_TARGET_FLAGS); do \
33689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33690 done; \
33691 (cd $(TARGET_SUBDIR)/libquadmath && \
33692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33694 "RANLIB=$${RANLIB}" \
33695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33696 mostlyclean) \
33697 || exit 1
33699 @endif target-libquadmath
33701 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33702 maybe-clean-target-libquadmath:
33703 @if target-libquadmath
33704 maybe-clean-target-libquadmath: clean-target-libquadmath
33706 clean-target-libquadmath:
33707 @: $(MAKE); $(unstage)
33708 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33709 r=`${PWD_COMMAND}`; export r; \
33710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33711 $(NORMAL_TARGET_EXPORTS) \
33712 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33713 for flag in $(EXTRA_TARGET_FLAGS); do \
33714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33715 done; \
33716 (cd $(TARGET_SUBDIR)/libquadmath && \
33717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33719 "RANLIB=$${RANLIB}" \
33720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33721 clean) \
33722 || exit 1
33724 @endif target-libquadmath
33726 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33727 maybe-distclean-target-libquadmath:
33728 @if target-libquadmath
33729 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33731 distclean-target-libquadmath:
33732 @: $(MAKE); $(unstage)
33733 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33734 r=`${PWD_COMMAND}`; export r; \
33735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33736 $(NORMAL_TARGET_EXPORTS) \
33737 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33738 for flag in $(EXTRA_TARGET_FLAGS); do \
33739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33740 done; \
33741 (cd $(TARGET_SUBDIR)/libquadmath && \
33742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33744 "RANLIB=$${RANLIB}" \
33745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33746 distclean) \
33747 || exit 1
33749 @endif target-libquadmath
33751 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33752 maybe-maintainer-clean-target-libquadmath:
33753 @if target-libquadmath
33754 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33756 maintainer-clean-target-libquadmath:
33757 @: $(MAKE); $(unstage)
33758 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33759 r=`${PWD_COMMAND}`; export r; \
33760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33761 $(NORMAL_TARGET_EXPORTS) \
33762 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33763 for flag in $(EXTRA_TARGET_FLAGS); do \
33764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33765 done; \
33766 (cd $(TARGET_SUBDIR)/libquadmath && \
33767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33769 "RANLIB=$${RANLIB}" \
33770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33771 maintainer-clean) \
33772 || exit 1
33774 @endif target-libquadmath
33780 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33781 maybe-configure-target-libgfortran:
33782 @if gcc-bootstrap
33783 configure-target-libgfortran: stage_current
33784 @endif gcc-bootstrap
33785 @if target-libgfortran
33786 maybe-configure-target-libgfortran: configure-target-libgfortran
33787 configure-target-libgfortran:
33788 @: $(MAKE); $(unstage)
33789 @r=`${PWD_COMMAND}`; export r; \
33790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33791 echo "Checking multilib configuration for libgfortran..."; \
33792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33793 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33794 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33795 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33796 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33797 else \
33798 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33799 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33800 fi; \
33801 else \
33802 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33803 fi; \
33804 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33806 $(NORMAL_TARGET_EXPORTS) \
33807 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33808 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33809 case $(srcdir) in \
33810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33811 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33813 esac; \
33814 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33815 libsrcdir="$$s/libgfortran"; \
33816 rm -f no-such-file || : ; \
33817 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33818 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33819 --target=${target_alias} $${srcdiroption} \
33820 || exit 1
33821 @endif target-libgfortran
33827 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33828 maybe-all-target-libgfortran:
33829 @if gcc-bootstrap
33830 all-target-libgfortran: stage_current
33831 @endif gcc-bootstrap
33832 @if target-libgfortran
33833 TARGET-target-libgfortran=all
33834 maybe-all-target-libgfortran: all-target-libgfortran
33835 all-target-libgfortran: configure-target-libgfortran
33836 @: $(MAKE); $(unstage)
33837 @r=`${PWD_COMMAND}`; export r; \
33838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33839 $(NORMAL_TARGET_EXPORTS) \
33840 (cd $(TARGET_SUBDIR)/libgfortran && \
33841 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33842 $(TARGET-target-libgfortran))
33843 @endif target-libgfortran
33849 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33850 maybe-check-target-libgfortran:
33851 @if target-libgfortran
33852 maybe-check-target-libgfortran: check-target-libgfortran
33854 check-target-libgfortran:
33855 @: $(MAKE); $(unstage)
33856 @r=`${PWD_COMMAND}`; export r; \
33857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33858 $(NORMAL_TARGET_EXPORTS) \
33859 (cd $(TARGET_SUBDIR)/libgfortran && \
33860 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33862 @endif target-libgfortran
33864 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33865 maybe-install-target-libgfortran:
33866 @if target-libgfortran
33867 maybe-install-target-libgfortran: install-target-libgfortran
33869 install-target-libgfortran: installdirs
33870 @: $(MAKE); $(unstage)
33871 @r=`${PWD_COMMAND}`; export r; \
33872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33873 $(NORMAL_TARGET_EXPORTS) \
33874 (cd $(TARGET_SUBDIR)/libgfortran && \
33875 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33877 @endif target-libgfortran
33879 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33880 maybe-install-strip-target-libgfortran:
33881 @if target-libgfortran
33882 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33884 install-strip-target-libgfortran: installdirs
33885 @: $(MAKE); $(unstage)
33886 @r=`${PWD_COMMAND}`; export r; \
33887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33888 $(NORMAL_TARGET_EXPORTS) \
33889 (cd $(TARGET_SUBDIR)/libgfortran && \
33890 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33892 @endif target-libgfortran
33894 # Other targets (info, dvi, pdf, etc.)
33896 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33897 maybe-info-target-libgfortran:
33898 @if target-libgfortran
33899 maybe-info-target-libgfortran: info-target-libgfortran
33901 info-target-libgfortran: \
33902 configure-target-libgfortran
33903 @: $(MAKE); $(unstage)
33904 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33905 r=`${PWD_COMMAND}`; export r; \
33906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33907 $(NORMAL_TARGET_EXPORTS) \
33908 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33909 for flag in $(EXTRA_TARGET_FLAGS); do \
33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33911 done; \
33912 (cd $(TARGET_SUBDIR)/libgfortran && \
33913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33915 "RANLIB=$${RANLIB}" \
33916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33917 info) \
33918 || exit 1
33920 @endif target-libgfortran
33922 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33923 maybe-dvi-target-libgfortran:
33924 @if target-libgfortran
33925 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33927 dvi-target-libgfortran: \
33928 configure-target-libgfortran
33929 @: $(MAKE); $(unstage)
33930 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33931 r=`${PWD_COMMAND}`; export r; \
33932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33933 $(NORMAL_TARGET_EXPORTS) \
33934 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33935 for flag in $(EXTRA_TARGET_FLAGS); do \
33936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33937 done; \
33938 (cd $(TARGET_SUBDIR)/libgfortran && \
33939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33941 "RANLIB=$${RANLIB}" \
33942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33943 dvi) \
33944 || exit 1
33946 @endif target-libgfortran
33948 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33949 maybe-pdf-target-libgfortran:
33950 @if target-libgfortran
33951 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33953 pdf-target-libgfortran: \
33954 configure-target-libgfortran
33955 @: $(MAKE); $(unstage)
33956 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33957 r=`${PWD_COMMAND}`; export r; \
33958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33959 $(NORMAL_TARGET_EXPORTS) \
33960 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33961 for flag in $(EXTRA_TARGET_FLAGS); do \
33962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33963 done; \
33964 (cd $(TARGET_SUBDIR)/libgfortran && \
33965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33967 "RANLIB=$${RANLIB}" \
33968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33969 pdf) \
33970 || exit 1
33972 @endif target-libgfortran
33974 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33975 maybe-html-target-libgfortran:
33976 @if target-libgfortran
33977 maybe-html-target-libgfortran: html-target-libgfortran
33979 html-target-libgfortran: \
33980 configure-target-libgfortran
33981 @: $(MAKE); $(unstage)
33982 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33983 r=`${PWD_COMMAND}`; export r; \
33984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33985 $(NORMAL_TARGET_EXPORTS) \
33986 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33987 for flag in $(EXTRA_TARGET_FLAGS); do \
33988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33989 done; \
33990 (cd $(TARGET_SUBDIR)/libgfortran && \
33991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33993 "RANLIB=$${RANLIB}" \
33994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33995 html) \
33996 || exit 1
33998 @endif target-libgfortran
34000 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
34001 maybe-TAGS-target-libgfortran:
34002 @if target-libgfortran
34003 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
34005 TAGS-target-libgfortran: \
34006 configure-target-libgfortran
34007 @: $(MAKE); $(unstage)
34008 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34009 r=`${PWD_COMMAND}`; export r; \
34010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34011 $(NORMAL_TARGET_EXPORTS) \
34012 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34013 for flag in $(EXTRA_TARGET_FLAGS); do \
34014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34015 done; \
34016 (cd $(TARGET_SUBDIR)/libgfortran && \
34017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34019 "RANLIB=$${RANLIB}" \
34020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34021 TAGS) \
34022 || exit 1
34024 @endif target-libgfortran
34026 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34027 maybe-install-info-target-libgfortran:
34028 @if target-libgfortran
34029 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34031 install-info-target-libgfortran: \
34032 configure-target-libgfortran \
34033 info-target-libgfortran
34034 @: $(MAKE); $(unstage)
34035 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34036 r=`${PWD_COMMAND}`; export r; \
34037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34038 $(NORMAL_TARGET_EXPORTS) \
34039 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34040 for flag in $(EXTRA_TARGET_FLAGS); do \
34041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34042 done; \
34043 (cd $(TARGET_SUBDIR)/libgfortran && \
34044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34046 "RANLIB=$${RANLIB}" \
34047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34048 install-info) \
34049 || exit 1
34051 @endif target-libgfortran
34053 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34054 maybe-install-pdf-target-libgfortran:
34055 @if target-libgfortran
34056 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34058 install-pdf-target-libgfortran: \
34059 configure-target-libgfortran \
34060 pdf-target-libgfortran
34061 @: $(MAKE); $(unstage)
34062 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34063 r=`${PWD_COMMAND}`; export r; \
34064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34065 $(NORMAL_TARGET_EXPORTS) \
34066 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34067 for flag in $(EXTRA_TARGET_FLAGS); do \
34068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34069 done; \
34070 (cd $(TARGET_SUBDIR)/libgfortran && \
34071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34073 "RANLIB=$${RANLIB}" \
34074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34075 install-pdf) \
34076 || exit 1
34078 @endif target-libgfortran
34080 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34081 maybe-install-html-target-libgfortran:
34082 @if target-libgfortran
34083 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34085 install-html-target-libgfortran: \
34086 configure-target-libgfortran \
34087 html-target-libgfortran
34088 @: $(MAKE); $(unstage)
34089 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34090 r=`${PWD_COMMAND}`; export r; \
34091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34092 $(NORMAL_TARGET_EXPORTS) \
34093 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34094 for flag in $(EXTRA_TARGET_FLAGS); do \
34095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34096 done; \
34097 (cd $(TARGET_SUBDIR)/libgfortran && \
34098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34100 "RANLIB=$${RANLIB}" \
34101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34102 install-html) \
34103 || exit 1
34105 @endif target-libgfortran
34107 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34108 maybe-installcheck-target-libgfortran:
34109 @if target-libgfortran
34110 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34112 installcheck-target-libgfortran: \
34113 configure-target-libgfortran
34114 @: $(MAKE); $(unstage)
34115 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34116 r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(NORMAL_TARGET_EXPORTS) \
34119 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34120 for flag in $(EXTRA_TARGET_FLAGS); do \
34121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34122 done; \
34123 (cd $(TARGET_SUBDIR)/libgfortran && \
34124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34126 "RANLIB=$${RANLIB}" \
34127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34128 installcheck) \
34129 || exit 1
34131 @endif target-libgfortran
34133 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34134 maybe-mostlyclean-target-libgfortran:
34135 @if target-libgfortran
34136 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34138 mostlyclean-target-libgfortran:
34139 @: $(MAKE); $(unstage)
34140 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34141 r=`${PWD_COMMAND}`; export r; \
34142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34143 $(NORMAL_TARGET_EXPORTS) \
34144 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34145 for flag in $(EXTRA_TARGET_FLAGS); do \
34146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34147 done; \
34148 (cd $(TARGET_SUBDIR)/libgfortran && \
34149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34151 "RANLIB=$${RANLIB}" \
34152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34153 mostlyclean) \
34154 || exit 1
34156 @endif target-libgfortran
34158 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34159 maybe-clean-target-libgfortran:
34160 @if target-libgfortran
34161 maybe-clean-target-libgfortran: clean-target-libgfortran
34163 clean-target-libgfortran:
34164 @: $(MAKE); $(unstage)
34165 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34166 r=`${PWD_COMMAND}`; export r; \
34167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34168 $(NORMAL_TARGET_EXPORTS) \
34169 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34170 for flag in $(EXTRA_TARGET_FLAGS); do \
34171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34172 done; \
34173 (cd $(TARGET_SUBDIR)/libgfortran && \
34174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34176 "RANLIB=$${RANLIB}" \
34177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34178 clean) \
34179 || exit 1
34181 @endif target-libgfortran
34183 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34184 maybe-distclean-target-libgfortran:
34185 @if target-libgfortran
34186 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34188 distclean-target-libgfortran:
34189 @: $(MAKE); $(unstage)
34190 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34191 r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 $(NORMAL_TARGET_EXPORTS) \
34194 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34195 for flag in $(EXTRA_TARGET_FLAGS); do \
34196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34197 done; \
34198 (cd $(TARGET_SUBDIR)/libgfortran && \
34199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34201 "RANLIB=$${RANLIB}" \
34202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34203 distclean) \
34204 || exit 1
34206 @endif target-libgfortran
34208 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34209 maybe-maintainer-clean-target-libgfortran:
34210 @if target-libgfortran
34211 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34213 maintainer-clean-target-libgfortran:
34214 @: $(MAKE); $(unstage)
34215 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34216 r=`${PWD_COMMAND}`; export r; \
34217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34218 $(NORMAL_TARGET_EXPORTS) \
34219 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34220 for flag in $(EXTRA_TARGET_FLAGS); do \
34221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34222 done; \
34223 (cd $(TARGET_SUBDIR)/libgfortran && \
34224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34226 "RANLIB=$${RANLIB}" \
34227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34228 maintainer-clean) \
34229 || exit 1
34231 @endif target-libgfortran
34237 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34238 maybe-configure-target-libobjc:
34239 @if gcc-bootstrap
34240 configure-target-libobjc: stage_current
34241 @endif gcc-bootstrap
34242 @if target-libobjc
34243 maybe-configure-target-libobjc: configure-target-libobjc
34244 configure-target-libobjc:
34245 @: $(MAKE); $(unstage)
34246 @r=`${PWD_COMMAND}`; export r; \
34247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34248 echo "Checking multilib configuration for libobjc..."; \
34249 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34250 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34251 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34252 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34253 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34254 else \
34255 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34256 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34257 fi; \
34258 else \
34259 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34260 fi; \
34261 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34263 $(NORMAL_TARGET_EXPORTS) \
34264 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34265 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34266 case $(srcdir) in \
34267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34268 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34270 esac; \
34271 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34272 libsrcdir="$$s/libobjc"; \
34273 rm -f no-such-file || : ; \
34274 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34276 --target=${target_alias} $${srcdiroption} \
34277 || exit 1
34278 @endif target-libobjc
34284 .PHONY: all-target-libobjc maybe-all-target-libobjc
34285 maybe-all-target-libobjc:
34286 @if gcc-bootstrap
34287 all-target-libobjc: stage_current
34288 @endif gcc-bootstrap
34289 @if target-libobjc
34290 TARGET-target-libobjc=all
34291 maybe-all-target-libobjc: all-target-libobjc
34292 all-target-libobjc: configure-target-libobjc
34293 @: $(MAKE); $(unstage)
34294 @r=`${PWD_COMMAND}`; export r; \
34295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34296 $(NORMAL_TARGET_EXPORTS) \
34297 (cd $(TARGET_SUBDIR)/libobjc && \
34298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34299 $(TARGET-target-libobjc))
34300 @endif target-libobjc
34306 .PHONY: check-target-libobjc maybe-check-target-libobjc
34307 maybe-check-target-libobjc:
34308 @if target-libobjc
34309 maybe-check-target-libobjc: check-target-libobjc
34311 check-target-libobjc:
34312 @: $(MAKE); $(unstage)
34313 @r=`${PWD_COMMAND}`; export r; \
34314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34315 $(NORMAL_TARGET_EXPORTS) \
34316 (cd $(TARGET_SUBDIR)/libobjc && \
34317 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34319 @endif target-libobjc
34321 .PHONY: install-target-libobjc maybe-install-target-libobjc
34322 maybe-install-target-libobjc:
34323 @if target-libobjc
34324 maybe-install-target-libobjc: install-target-libobjc
34326 install-target-libobjc: installdirs
34327 @: $(MAKE); $(unstage)
34328 @r=`${PWD_COMMAND}`; export r; \
34329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34330 $(NORMAL_TARGET_EXPORTS) \
34331 (cd $(TARGET_SUBDIR)/libobjc && \
34332 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34334 @endif target-libobjc
34336 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34337 maybe-install-strip-target-libobjc:
34338 @if target-libobjc
34339 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34341 install-strip-target-libobjc: installdirs
34342 @: $(MAKE); $(unstage)
34343 @r=`${PWD_COMMAND}`; export r; \
34344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34345 $(NORMAL_TARGET_EXPORTS) \
34346 (cd $(TARGET_SUBDIR)/libobjc && \
34347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34349 @endif target-libobjc
34351 # Other targets (info, dvi, pdf, etc.)
34353 .PHONY: maybe-info-target-libobjc info-target-libobjc
34354 maybe-info-target-libobjc:
34355 @if target-libobjc
34356 maybe-info-target-libobjc: info-target-libobjc
34358 info-target-libobjc: \
34359 configure-target-libobjc
34360 @: $(MAKE); $(unstage)
34361 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34362 r=`${PWD_COMMAND}`; export r; \
34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34364 $(NORMAL_TARGET_EXPORTS) \
34365 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34366 for flag in $(EXTRA_TARGET_FLAGS); do \
34367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34368 done; \
34369 (cd $(TARGET_SUBDIR)/libobjc && \
34370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34372 "RANLIB=$${RANLIB}" \
34373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34374 info) \
34375 || exit 1
34377 @endif target-libobjc
34379 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34380 maybe-dvi-target-libobjc:
34381 @if target-libobjc
34382 maybe-dvi-target-libobjc: dvi-target-libobjc
34384 dvi-target-libobjc: \
34385 configure-target-libobjc
34386 @: $(MAKE); $(unstage)
34387 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34388 r=`${PWD_COMMAND}`; export r; \
34389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34390 $(NORMAL_TARGET_EXPORTS) \
34391 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34392 for flag in $(EXTRA_TARGET_FLAGS); do \
34393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34394 done; \
34395 (cd $(TARGET_SUBDIR)/libobjc && \
34396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34398 "RANLIB=$${RANLIB}" \
34399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34400 dvi) \
34401 || exit 1
34403 @endif target-libobjc
34405 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34406 maybe-pdf-target-libobjc:
34407 @if target-libobjc
34408 maybe-pdf-target-libobjc: pdf-target-libobjc
34410 pdf-target-libobjc: \
34411 configure-target-libobjc
34412 @: $(MAKE); $(unstage)
34413 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34414 r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 $(NORMAL_TARGET_EXPORTS) \
34417 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34418 for flag in $(EXTRA_TARGET_FLAGS); do \
34419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34420 done; \
34421 (cd $(TARGET_SUBDIR)/libobjc && \
34422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34424 "RANLIB=$${RANLIB}" \
34425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34426 pdf) \
34427 || exit 1
34429 @endif target-libobjc
34431 .PHONY: maybe-html-target-libobjc html-target-libobjc
34432 maybe-html-target-libobjc:
34433 @if target-libobjc
34434 maybe-html-target-libobjc: html-target-libobjc
34436 html-target-libobjc: \
34437 configure-target-libobjc
34438 @: $(MAKE); $(unstage)
34439 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34440 r=`${PWD_COMMAND}`; export r; \
34441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34442 $(NORMAL_TARGET_EXPORTS) \
34443 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34444 for flag in $(EXTRA_TARGET_FLAGS); do \
34445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34446 done; \
34447 (cd $(TARGET_SUBDIR)/libobjc && \
34448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34450 "RANLIB=$${RANLIB}" \
34451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34452 html) \
34453 || exit 1
34455 @endif target-libobjc
34457 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34458 maybe-TAGS-target-libobjc:
34459 @if target-libobjc
34460 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34462 TAGS-target-libobjc: \
34463 configure-target-libobjc
34464 @: $(MAKE); $(unstage)
34465 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34466 r=`${PWD_COMMAND}`; export r; \
34467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34468 $(NORMAL_TARGET_EXPORTS) \
34469 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34470 for flag in $(EXTRA_TARGET_FLAGS); do \
34471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34472 done; \
34473 (cd $(TARGET_SUBDIR)/libobjc && \
34474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34476 "RANLIB=$${RANLIB}" \
34477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34478 TAGS) \
34479 || exit 1
34481 @endif target-libobjc
34483 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34484 maybe-install-info-target-libobjc:
34485 @if target-libobjc
34486 maybe-install-info-target-libobjc: install-info-target-libobjc
34488 install-info-target-libobjc: \
34489 configure-target-libobjc \
34490 info-target-libobjc
34491 @: $(MAKE); $(unstage)
34492 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34493 r=`${PWD_COMMAND}`; export r; \
34494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34495 $(NORMAL_TARGET_EXPORTS) \
34496 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34497 for flag in $(EXTRA_TARGET_FLAGS); do \
34498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34499 done; \
34500 (cd $(TARGET_SUBDIR)/libobjc && \
34501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34503 "RANLIB=$${RANLIB}" \
34504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34505 install-info) \
34506 || exit 1
34508 @endif target-libobjc
34510 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34511 maybe-install-pdf-target-libobjc:
34512 @if target-libobjc
34513 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34515 install-pdf-target-libobjc: \
34516 configure-target-libobjc \
34517 pdf-target-libobjc
34518 @: $(MAKE); $(unstage)
34519 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34520 r=`${PWD_COMMAND}`; export r; \
34521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34522 $(NORMAL_TARGET_EXPORTS) \
34523 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34524 for flag in $(EXTRA_TARGET_FLAGS); do \
34525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34526 done; \
34527 (cd $(TARGET_SUBDIR)/libobjc && \
34528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34530 "RANLIB=$${RANLIB}" \
34531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34532 install-pdf) \
34533 || exit 1
34535 @endif target-libobjc
34537 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34538 maybe-install-html-target-libobjc:
34539 @if target-libobjc
34540 maybe-install-html-target-libobjc: install-html-target-libobjc
34542 install-html-target-libobjc: \
34543 configure-target-libobjc \
34544 html-target-libobjc
34545 @: $(MAKE); $(unstage)
34546 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34547 r=`${PWD_COMMAND}`; export r; \
34548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34549 $(NORMAL_TARGET_EXPORTS) \
34550 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34551 for flag in $(EXTRA_TARGET_FLAGS); do \
34552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34553 done; \
34554 (cd $(TARGET_SUBDIR)/libobjc && \
34555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34557 "RANLIB=$${RANLIB}" \
34558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34559 install-html) \
34560 || exit 1
34562 @endif target-libobjc
34564 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34565 maybe-installcheck-target-libobjc:
34566 @if target-libobjc
34567 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34569 installcheck-target-libobjc: \
34570 configure-target-libobjc
34571 @: $(MAKE); $(unstage)
34572 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34573 r=`${PWD_COMMAND}`; export r; \
34574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34575 $(NORMAL_TARGET_EXPORTS) \
34576 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34577 for flag in $(EXTRA_TARGET_FLAGS); do \
34578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34579 done; \
34580 (cd $(TARGET_SUBDIR)/libobjc && \
34581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34583 "RANLIB=$${RANLIB}" \
34584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34585 installcheck) \
34586 || exit 1
34588 @endif target-libobjc
34590 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34591 maybe-mostlyclean-target-libobjc:
34592 @if target-libobjc
34593 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34595 mostlyclean-target-libobjc:
34596 @: $(MAKE); $(unstage)
34597 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34598 r=`${PWD_COMMAND}`; export r; \
34599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34600 $(NORMAL_TARGET_EXPORTS) \
34601 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34602 for flag in $(EXTRA_TARGET_FLAGS); do \
34603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34604 done; \
34605 (cd $(TARGET_SUBDIR)/libobjc && \
34606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34608 "RANLIB=$${RANLIB}" \
34609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34610 mostlyclean) \
34611 || exit 1
34613 @endif target-libobjc
34615 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34616 maybe-clean-target-libobjc:
34617 @if target-libobjc
34618 maybe-clean-target-libobjc: clean-target-libobjc
34620 clean-target-libobjc:
34621 @: $(MAKE); $(unstage)
34622 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34623 r=`${PWD_COMMAND}`; export r; \
34624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34625 $(NORMAL_TARGET_EXPORTS) \
34626 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34627 for flag in $(EXTRA_TARGET_FLAGS); do \
34628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34629 done; \
34630 (cd $(TARGET_SUBDIR)/libobjc && \
34631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34633 "RANLIB=$${RANLIB}" \
34634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34635 clean) \
34636 || exit 1
34638 @endif target-libobjc
34640 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34641 maybe-distclean-target-libobjc:
34642 @if target-libobjc
34643 maybe-distclean-target-libobjc: distclean-target-libobjc
34645 distclean-target-libobjc:
34646 @: $(MAKE); $(unstage)
34647 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34648 r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(NORMAL_TARGET_EXPORTS) \
34651 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34652 for flag in $(EXTRA_TARGET_FLAGS); do \
34653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34654 done; \
34655 (cd $(TARGET_SUBDIR)/libobjc && \
34656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34658 "RANLIB=$${RANLIB}" \
34659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34660 distclean) \
34661 || exit 1
34663 @endif target-libobjc
34665 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34666 maybe-maintainer-clean-target-libobjc:
34667 @if target-libobjc
34668 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34670 maintainer-clean-target-libobjc:
34671 @: $(MAKE); $(unstage)
34672 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34673 r=`${PWD_COMMAND}`; export r; \
34674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34675 $(NORMAL_TARGET_EXPORTS) \
34676 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34677 for flag in $(EXTRA_TARGET_FLAGS); do \
34678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34679 done; \
34680 (cd $(TARGET_SUBDIR)/libobjc && \
34681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34683 "RANLIB=$${RANLIB}" \
34684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34685 maintainer-clean) \
34686 || exit 1
34688 @endif target-libobjc
34694 .PHONY: configure-target-libgo maybe-configure-target-libgo
34695 maybe-configure-target-libgo:
34696 @if gcc-bootstrap
34697 configure-target-libgo: stage_current
34698 @endif gcc-bootstrap
34699 @if target-libgo
34700 maybe-configure-target-libgo: configure-target-libgo
34701 configure-target-libgo:
34702 @: $(MAKE); $(unstage)
34703 @r=`${PWD_COMMAND}`; export r; \
34704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34705 echo "Checking multilib configuration for libgo..."; \
34706 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34707 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34708 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34709 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34710 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34711 else \
34712 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34713 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34714 fi; \
34715 else \
34716 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34717 fi; \
34718 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34719 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34720 $(NORMAL_TARGET_EXPORTS) \
34721 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34722 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34723 case $(srcdir) in \
34724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34725 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34727 esac; \
34728 srcdiroption="--srcdir=$${topdir}/libgo"; \
34729 libsrcdir="$$s/libgo"; \
34730 rm -f no-such-file || : ; \
34731 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34732 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34733 --target=${target_alias} $${srcdiroption} \
34734 || exit 1
34735 @endif target-libgo
34741 .PHONY: all-target-libgo maybe-all-target-libgo
34742 maybe-all-target-libgo:
34743 @if gcc-bootstrap
34744 all-target-libgo: stage_current
34745 @endif gcc-bootstrap
34746 @if target-libgo
34747 TARGET-target-libgo=all
34748 maybe-all-target-libgo: all-target-libgo
34749 all-target-libgo: configure-target-libgo
34750 @: $(MAKE); $(unstage)
34751 @r=`${PWD_COMMAND}`; export r; \
34752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34753 $(NORMAL_TARGET_EXPORTS) \
34754 (cd $(TARGET_SUBDIR)/libgo && \
34755 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34756 $(TARGET-target-libgo))
34757 @endif target-libgo
34763 .PHONY: check-target-libgo maybe-check-target-libgo
34764 maybe-check-target-libgo:
34765 @if target-libgo
34766 maybe-check-target-libgo: check-target-libgo
34768 check-target-libgo:
34769 @: $(MAKE); $(unstage)
34770 @r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 $(NORMAL_TARGET_EXPORTS) \
34773 (cd $(TARGET_SUBDIR)/libgo && \
34774 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34776 @endif target-libgo
34778 .PHONY: install-target-libgo maybe-install-target-libgo
34779 maybe-install-target-libgo:
34780 @if target-libgo
34781 maybe-install-target-libgo: install-target-libgo
34783 install-target-libgo: installdirs
34784 @: $(MAKE); $(unstage)
34785 @r=`${PWD_COMMAND}`; export r; \
34786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34787 $(NORMAL_TARGET_EXPORTS) \
34788 (cd $(TARGET_SUBDIR)/libgo && \
34789 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34791 @endif target-libgo
34793 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34794 maybe-install-strip-target-libgo:
34795 @if target-libgo
34796 maybe-install-strip-target-libgo: install-strip-target-libgo
34798 install-strip-target-libgo: installdirs
34799 @: $(MAKE); $(unstage)
34800 @r=`${PWD_COMMAND}`; export r; \
34801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34802 $(NORMAL_TARGET_EXPORTS) \
34803 (cd $(TARGET_SUBDIR)/libgo && \
34804 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34806 @endif target-libgo
34808 # Other targets (info, dvi, pdf, etc.)
34810 .PHONY: maybe-info-target-libgo info-target-libgo
34811 maybe-info-target-libgo:
34812 @if target-libgo
34813 maybe-info-target-libgo: info-target-libgo
34815 info-target-libgo: \
34816 configure-target-libgo
34817 @: $(MAKE); $(unstage)
34818 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34819 r=`${PWD_COMMAND}`; export r; \
34820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34821 $(NORMAL_TARGET_EXPORTS) \
34822 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34823 for flag in $(EXTRA_TARGET_FLAGS); do \
34824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34825 done; \
34826 (cd $(TARGET_SUBDIR)/libgo && \
34827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34829 "RANLIB=$${RANLIB}" \
34830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34831 info) \
34832 || exit 1
34834 @endif target-libgo
34836 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34837 maybe-dvi-target-libgo:
34838 @if target-libgo
34839 maybe-dvi-target-libgo: dvi-target-libgo
34841 dvi-target-libgo: \
34842 configure-target-libgo
34843 @: $(MAKE); $(unstage)
34844 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34845 r=`${PWD_COMMAND}`; export r; \
34846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34847 $(NORMAL_TARGET_EXPORTS) \
34848 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34849 for flag in $(EXTRA_TARGET_FLAGS); do \
34850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34851 done; \
34852 (cd $(TARGET_SUBDIR)/libgo && \
34853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34855 "RANLIB=$${RANLIB}" \
34856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34857 dvi) \
34858 || exit 1
34860 @endif target-libgo
34862 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34863 maybe-pdf-target-libgo:
34864 @if target-libgo
34865 maybe-pdf-target-libgo: pdf-target-libgo
34867 pdf-target-libgo: \
34868 configure-target-libgo
34869 @: $(MAKE); $(unstage)
34870 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34871 r=`${PWD_COMMAND}`; export r; \
34872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34873 $(NORMAL_TARGET_EXPORTS) \
34874 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34875 for flag in $(EXTRA_TARGET_FLAGS); do \
34876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34877 done; \
34878 (cd $(TARGET_SUBDIR)/libgo && \
34879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34881 "RANLIB=$${RANLIB}" \
34882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34883 pdf) \
34884 || exit 1
34886 @endif target-libgo
34888 .PHONY: maybe-html-target-libgo html-target-libgo
34889 maybe-html-target-libgo:
34890 @if target-libgo
34891 maybe-html-target-libgo: html-target-libgo
34893 html-target-libgo: \
34894 configure-target-libgo
34895 @: $(MAKE); $(unstage)
34896 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34897 r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 $(NORMAL_TARGET_EXPORTS) \
34900 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34901 for flag in $(EXTRA_TARGET_FLAGS); do \
34902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34903 done; \
34904 (cd $(TARGET_SUBDIR)/libgo && \
34905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34907 "RANLIB=$${RANLIB}" \
34908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34909 html) \
34910 || exit 1
34912 @endif target-libgo
34914 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34915 maybe-TAGS-target-libgo:
34916 @if target-libgo
34917 maybe-TAGS-target-libgo: TAGS-target-libgo
34919 TAGS-target-libgo: \
34920 configure-target-libgo
34921 @: $(MAKE); $(unstage)
34922 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34923 r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(NORMAL_TARGET_EXPORTS) \
34926 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34927 for flag in $(EXTRA_TARGET_FLAGS); do \
34928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34929 done; \
34930 (cd $(TARGET_SUBDIR)/libgo && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34933 "RANLIB=$${RANLIB}" \
34934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34935 TAGS) \
34936 || exit 1
34938 @endif target-libgo
34940 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34941 maybe-install-info-target-libgo:
34942 @if target-libgo
34943 maybe-install-info-target-libgo: install-info-target-libgo
34945 install-info-target-libgo: \
34946 configure-target-libgo \
34947 info-target-libgo
34948 @: $(MAKE); $(unstage)
34949 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34950 r=`${PWD_COMMAND}`; export r; \
34951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34952 $(NORMAL_TARGET_EXPORTS) \
34953 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34954 for flag in $(EXTRA_TARGET_FLAGS); do \
34955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34956 done; \
34957 (cd $(TARGET_SUBDIR)/libgo && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34960 "RANLIB=$${RANLIB}" \
34961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34962 install-info) \
34963 || exit 1
34965 @endif target-libgo
34967 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34968 maybe-install-pdf-target-libgo:
34969 @if target-libgo
34970 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34972 install-pdf-target-libgo: \
34973 configure-target-libgo \
34974 pdf-target-libgo
34975 @: $(MAKE); $(unstage)
34976 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34977 r=`${PWD_COMMAND}`; export r; \
34978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34979 $(NORMAL_TARGET_EXPORTS) \
34980 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34981 for flag in $(EXTRA_TARGET_FLAGS); do \
34982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34983 done; \
34984 (cd $(TARGET_SUBDIR)/libgo && \
34985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34987 "RANLIB=$${RANLIB}" \
34988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34989 install-pdf) \
34990 || exit 1
34992 @endif target-libgo
34994 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34995 maybe-install-html-target-libgo:
34996 @if target-libgo
34997 maybe-install-html-target-libgo: install-html-target-libgo
34999 install-html-target-libgo: \
35000 configure-target-libgo \
35001 html-target-libgo
35002 @: $(MAKE); $(unstage)
35003 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35004 r=`${PWD_COMMAND}`; export r; \
35005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35006 $(NORMAL_TARGET_EXPORTS) \
35007 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
35008 for flag in $(EXTRA_TARGET_FLAGS); do \
35009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35010 done; \
35011 (cd $(TARGET_SUBDIR)/libgo && \
35012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35014 "RANLIB=$${RANLIB}" \
35015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35016 install-html) \
35017 || exit 1
35019 @endif target-libgo
35021 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35022 maybe-installcheck-target-libgo:
35023 @if target-libgo
35024 maybe-installcheck-target-libgo: installcheck-target-libgo
35026 installcheck-target-libgo: \
35027 configure-target-libgo
35028 @: $(MAKE); $(unstage)
35029 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35030 r=`${PWD_COMMAND}`; export r; \
35031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35032 $(NORMAL_TARGET_EXPORTS) \
35033 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35034 for flag in $(EXTRA_TARGET_FLAGS); do \
35035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35036 done; \
35037 (cd $(TARGET_SUBDIR)/libgo && \
35038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35040 "RANLIB=$${RANLIB}" \
35041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35042 installcheck) \
35043 || exit 1
35045 @endif target-libgo
35047 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35048 maybe-mostlyclean-target-libgo:
35049 @if target-libgo
35050 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35052 mostlyclean-target-libgo:
35053 @: $(MAKE); $(unstage)
35054 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35055 r=`${PWD_COMMAND}`; export r; \
35056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35057 $(NORMAL_TARGET_EXPORTS) \
35058 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35059 for flag in $(EXTRA_TARGET_FLAGS); do \
35060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35061 done; \
35062 (cd $(TARGET_SUBDIR)/libgo && \
35063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35065 "RANLIB=$${RANLIB}" \
35066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35067 mostlyclean) \
35068 || exit 1
35070 @endif target-libgo
35072 .PHONY: maybe-clean-target-libgo clean-target-libgo
35073 maybe-clean-target-libgo:
35074 @if target-libgo
35075 maybe-clean-target-libgo: clean-target-libgo
35077 clean-target-libgo:
35078 @: $(MAKE); $(unstage)
35079 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35080 r=`${PWD_COMMAND}`; export r; \
35081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35082 $(NORMAL_TARGET_EXPORTS) \
35083 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35084 for flag in $(EXTRA_TARGET_FLAGS); do \
35085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35086 done; \
35087 (cd $(TARGET_SUBDIR)/libgo && \
35088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35090 "RANLIB=$${RANLIB}" \
35091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35092 clean) \
35093 || exit 1
35095 @endif target-libgo
35097 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35098 maybe-distclean-target-libgo:
35099 @if target-libgo
35100 maybe-distclean-target-libgo: distclean-target-libgo
35102 distclean-target-libgo:
35103 @: $(MAKE); $(unstage)
35104 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35105 r=`${PWD_COMMAND}`; export r; \
35106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35107 $(NORMAL_TARGET_EXPORTS) \
35108 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35109 for flag in $(EXTRA_TARGET_FLAGS); do \
35110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35111 done; \
35112 (cd $(TARGET_SUBDIR)/libgo && \
35113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35115 "RANLIB=$${RANLIB}" \
35116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35117 distclean) \
35118 || exit 1
35120 @endif target-libgo
35122 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35123 maybe-maintainer-clean-target-libgo:
35124 @if target-libgo
35125 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35127 maintainer-clean-target-libgo:
35128 @: $(MAKE); $(unstage)
35129 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35130 r=`${PWD_COMMAND}`; export r; \
35131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35132 $(NORMAL_TARGET_EXPORTS) \
35133 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35134 for flag in $(EXTRA_TARGET_FLAGS); do \
35135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35136 done; \
35137 (cd $(TARGET_SUBDIR)/libgo && \
35138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35140 "RANLIB=$${RANLIB}" \
35141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35142 maintainer-clean) \
35143 || exit 1
35145 @endif target-libgo
35151 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35152 maybe-configure-target-libtermcap:
35153 @if gcc-bootstrap
35154 configure-target-libtermcap: stage_current
35155 @endif gcc-bootstrap
35156 @if target-libtermcap
35157 maybe-configure-target-libtermcap: configure-target-libtermcap
35158 configure-target-libtermcap:
35159 @: $(MAKE); $(unstage)
35160 @r=`${PWD_COMMAND}`; export r; \
35161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35162 echo "Checking multilib configuration for libtermcap..."; \
35163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35164 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35165 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35166 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35167 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35168 else \
35169 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35170 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35171 fi; \
35172 else \
35173 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35174 fi; \
35175 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35177 $(NORMAL_TARGET_EXPORTS) \
35178 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35179 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35180 case $(srcdir) in \
35181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35182 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35184 esac; \
35185 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35186 libsrcdir="$$s/libtermcap"; \
35187 rm -f no-such-file || : ; \
35188 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35189 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35190 --target=${target_alias} $${srcdiroption} \
35191 || exit 1
35192 @endif target-libtermcap
35198 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35199 maybe-all-target-libtermcap:
35200 @if gcc-bootstrap
35201 all-target-libtermcap: stage_current
35202 @endif gcc-bootstrap
35203 @if target-libtermcap
35204 TARGET-target-libtermcap=all
35205 maybe-all-target-libtermcap: all-target-libtermcap
35206 all-target-libtermcap: configure-target-libtermcap
35207 @: $(MAKE); $(unstage)
35208 @r=`${PWD_COMMAND}`; export r; \
35209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35210 $(NORMAL_TARGET_EXPORTS) \
35211 (cd $(TARGET_SUBDIR)/libtermcap && \
35212 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35213 $(TARGET-target-libtermcap))
35214 @endif target-libtermcap
35220 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35221 maybe-check-target-libtermcap:
35222 @if target-libtermcap
35223 maybe-check-target-libtermcap: check-target-libtermcap
35225 # Dummy target for uncheckable module.
35226 check-target-libtermcap:
35228 @endif target-libtermcap
35230 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35231 maybe-install-target-libtermcap:
35232 @if target-libtermcap
35233 maybe-install-target-libtermcap: install-target-libtermcap
35235 install-target-libtermcap: installdirs
35236 @: $(MAKE); $(unstage)
35237 @r=`${PWD_COMMAND}`; export r; \
35238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35239 $(NORMAL_TARGET_EXPORTS) \
35240 (cd $(TARGET_SUBDIR)/libtermcap && \
35241 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35243 @endif target-libtermcap
35245 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35246 maybe-install-strip-target-libtermcap:
35247 @if target-libtermcap
35248 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35250 install-strip-target-libtermcap: installdirs
35251 @: $(MAKE); $(unstage)
35252 @r=`${PWD_COMMAND}`; export r; \
35253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35254 $(NORMAL_TARGET_EXPORTS) \
35255 (cd $(TARGET_SUBDIR)/libtermcap && \
35256 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35258 @endif target-libtermcap
35260 # Other targets (info, dvi, pdf, etc.)
35262 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35263 maybe-info-target-libtermcap:
35264 @if target-libtermcap
35265 maybe-info-target-libtermcap: info-target-libtermcap
35267 info-target-libtermcap: \
35268 configure-target-libtermcap
35269 @: $(MAKE); $(unstage)
35270 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35271 r=`${PWD_COMMAND}`; export r; \
35272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35273 $(NORMAL_TARGET_EXPORTS) \
35274 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35275 for flag in $(EXTRA_TARGET_FLAGS); do \
35276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35277 done; \
35278 (cd $(TARGET_SUBDIR)/libtermcap && \
35279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35281 "RANLIB=$${RANLIB}" \
35282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35283 info) \
35284 || exit 1
35286 @endif target-libtermcap
35288 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35289 maybe-dvi-target-libtermcap:
35290 @if target-libtermcap
35291 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35293 dvi-target-libtermcap: \
35294 configure-target-libtermcap
35295 @: $(MAKE); $(unstage)
35296 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35297 r=`${PWD_COMMAND}`; export r; \
35298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35299 $(NORMAL_TARGET_EXPORTS) \
35300 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35301 for flag in $(EXTRA_TARGET_FLAGS); do \
35302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35303 done; \
35304 (cd $(TARGET_SUBDIR)/libtermcap && \
35305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35307 "RANLIB=$${RANLIB}" \
35308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35309 dvi) \
35310 || exit 1
35312 @endif target-libtermcap
35314 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35315 maybe-pdf-target-libtermcap:
35316 @if target-libtermcap
35317 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35319 pdf-target-libtermcap: \
35320 configure-target-libtermcap
35321 @: $(MAKE); $(unstage)
35322 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35323 r=`${PWD_COMMAND}`; export r; \
35324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35325 $(NORMAL_TARGET_EXPORTS) \
35326 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35327 for flag in $(EXTRA_TARGET_FLAGS); do \
35328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35329 done; \
35330 (cd $(TARGET_SUBDIR)/libtermcap && \
35331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35333 "RANLIB=$${RANLIB}" \
35334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35335 pdf) \
35336 || exit 1
35338 @endif target-libtermcap
35340 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35341 maybe-html-target-libtermcap:
35342 @if target-libtermcap
35343 maybe-html-target-libtermcap: html-target-libtermcap
35345 html-target-libtermcap: \
35346 configure-target-libtermcap
35347 @: $(MAKE); $(unstage)
35348 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35349 r=`${PWD_COMMAND}`; export r; \
35350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35351 $(NORMAL_TARGET_EXPORTS) \
35352 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35353 for flag in $(EXTRA_TARGET_FLAGS); do \
35354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35355 done; \
35356 (cd $(TARGET_SUBDIR)/libtermcap && \
35357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35359 "RANLIB=$${RANLIB}" \
35360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35361 html) \
35362 || exit 1
35364 @endif target-libtermcap
35366 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35367 maybe-TAGS-target-libtermcap:
35368 @if target-libtermcap
35369 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35371 TAGS-target-libtermcap: \
35372 configure-target-libtermcap
35373 @: $(MAKE); $(unstage)
35374 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35375 r=`${PWD_COMMAND}`; export r; \
35376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35377 $(NORMAL_TARGET_EXPORTS) \
35378 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35379 for flag in $(EXTRA_TARGET_FLAGS); do \
35380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35381 done; \
35382 (cd $(TARGET_SUBDIR)/libtermcap && \
35383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35385 "RANLIB=$${RANLIB}" \
35386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35387 TAGS) \
35388 || exit 1
35390 @endif target-libtermcap
35392 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35393 maybe-install-info-target-libtermcap:
35394 @if target-libtermcap
35395 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35397 install-info-target-libtermcap: \
35398 configure-target-libtermcap \
35399 info-target-libtermcap
35400 @: $(MAKE); $(unstage)
35401 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35402 r=`${PWD_COMMAND}`; export r; \
35403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35404 $(NORMAL_TARGET_EXPORTS) \
35405 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35406 for flag in $(EXTRA_TARGET_FLAGS); do \
35407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35408 done; \
35409 (cd $(TARGET_SUBDIR)/libtermcap && \
35410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35412 "RANLIB=$${RANLIB}" \
35413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35414 install-info) \
35415 || exit 1
35417 @endif target-libtermcap
35419 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35420 maybe-install-pdf-target-libtermcap:
35421 @if target-libtermcap
35422 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35424 install-pdf-target-libtermcap: \
35425 configure-target-libtermcap \
35426 pdf-target-libtermcap
35427 @: $(MAKE); $(unstage)
35428 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35429 r=`${PWD_COMMAND}`; export r; \
35430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35431 $(NORMAL_TARGET_EXPORTS) \
35432 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35433 for flag in $(EXTRA_TARGET_FLAGS); do \
35434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35435 done; \
35436 (cd $(TARGET_SUBDIR)/libtermcap && \
35437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35439 "RANLIB=$${RANLIB}" \
35440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35441 install-pdf) \
35442 || exit 1
35444 @endif target-libtermcap
35446 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35447 maybe-install-html-target-libtermcap:
35448 @if target-libtermcap
35449 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35451 install-html-target-libtermcap: \
35452 configure-target-libtermcap \
35453 html-target-libtermcap
35454 @: $(MAKE); $(unstage)
35455 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35456 r=`${PWD_COMMAND}`; export r; \
35457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35458 $(NORMAL_TARGET_EXPORTS) \
35459 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35460 for flag in $(EXTRA_TARGET_FLAGS); do \
35461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35462 done; \
35463 (cd $(TARGET_SUBDIR)/libtermcap && \
35464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35466 "RANLIB=$${RANLIB}" \
35467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35468 install-html) \
35469 || exit 1
35471 @endif target-libtermcap
35473 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35474 maybe-installcheck-target-libtermcap:
35475 @if target-libtermcap
35476 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35478 installcheck-target-libtermcap: \
35479 configure-target-libtermcap
35480 @: $(MAKE); $(unstage)
35481 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35482 r=`${PWD_COMMAND}`; export r; \
35483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35484 $(NORMAL_TARGET_EXPORTS) \
35485 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35486 for flag in $(EXTRA_TARGET_FLAGS); do \
35487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35488 done; \
35489 (cd $(TARGET_SUBDIR)/libtermcap && \
35490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35492 "RANLIB=$${RANLIB}" \
35493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35494 installcheck) \
35495 || exit 1
35497 @endif target-libtermcap
35499 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35500 maybe-mostlyclean-target-libtermcap:
35501 @if target-libtermcap
35502 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35504 # libtermcap doesn't support mostlyclean.
35505 mostlyclean-target-libtermcap:
35507 @endif target-libtermcap
35509 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35510 maybe-clean-target-libtermcap:
35511 @if target-libtermcap
35512 maybe-clean-target-libtermcap: clean-target-libtermcap
35514 # libtermcap doesn't support clean.
35515 clean-target-libtermcap:
35517 @endif target-libtermcap
35519 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35520 maybe-distclean-target-libtermcap:
35521 @if target-libtermcap
35522 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35524 # libtermcap doesn't support distclean.
35525 distclean-target-libtermcap:
35527 @endif target-libtermcap
35529 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35530 maybe-maintainer-clean-target-libtermcap:
35531 @if target-libtermcap
35532 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35534 # libtermcap doesn't support maintainer-clean.
35535 maintainer-clean-target-libtermcap:
35537 @endif target-libtermcap
35543 .PHONY: configure-target-winsup maybe-configure-target-winsup
35544 maybe-configure-target-winsup:
35545 @if gcc-bootstrap
35546 configure-target-winsup: stage_current
35547 @endif gcc-bootstrap
35548 @if target-winsup
35549 maybe-configure-target-winsup: configure-target-winsup
35550 configure-target-winsup:
35551 @: $(MAKE); $(unstage)
35552 @r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 echo "Checking multilib configuration for winsup..."; \
35555 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35556 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35557 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35558 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35559 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35560 else \
35561 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35562 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35563 fi; \
35564 else \
35565 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35566 fi; \
35567 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35568 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35569 $(NORMAL_TARGET_EXPORTS) \
35570 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35571 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35572 case $(srcdir) in \
35573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35574 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35576 esac; \
35577 srcdiroption="--srcdir=$${topdir}/winsup"; \
35578 libsrcdir="$$s/winsup"; \
35579 rm -f no-such-file || : ; \
35580 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35581 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35582 --target=${target_alias} $${srcdiroption} \
35583 || exit 1
35584 @endif target-winsup
35590 .PHONY: all-target-winsup maybe-all-target-winsup
35591 maybe-all-target-winsup:
35592 @if gcc-bootstrap
35593 all-target-winsup: stage_current
35594 @endif gcc-bootstrap
35595 @if target-winsup
35596 TARGET-target-winsup=all
35597 maybe-all-target-winsup: all-target-winsup
35598 all-target-winsup: configure-target-winsup
35599 @: $(MAKE); $(unstage)
35600 @r=`${PWD_COMMAND}`; export r; \
35601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35602 $(NORMAL_TARGET_EXPORTS) \
35603 (cd $(TARGET_SUBDIR)/winsup && \
35604 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35605 $(TARGET-target-winsup))
35606 @endif target-winsup
35612 .PHONY: check-target-winsup maybe-check-target-winsup
35613 maybe-check-target-winsup:
35614 @if target-winsup
35615 maybe-check-target-winsup: check-target-winsup
35617 check-target-winsup:
35618 @: $(MAKE); $(unstage)
35619 @r=`${PWD_COMMAND}`; export r; \
35620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35621 $(NORMAL_TARGET_EXPORTS) \
35622 (cd $(TARGET_SUBDIR)/winsup && \
35623 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35625 @endif target-winsup
35627 .PHONY: install-target-winsup maybe-install-target-winsup
35628 maybe-install-target-winsup:
35629 @if target-winsup
35630 maybe-install-target-winsup: install-target-winsup
35632 install-target-winsup: installdirs
35633 @: $(MAKE); $(unstage)
35634 @r=`${PWD_COMMAND}`; export r; \
35635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35636 $(NORMAL_TARGET_EXPORTS) \
35637 (cd $(TARGET_SUBDIR)/winsup && \
35638 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35640 @endif target-winsup
35642 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35643 maybe-install-strip-target-winsup:
35644 @if target-winsup
35645 maybe-install-strip-target-winsup: install-strip-target-winsup
35647 install-strip-target-winsup: installdirs
35648 @: $(MAKE); $(unstage)
35649 @r=`${PWD_COMMAND}`; export r; \
35650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35651 $(NORMAL_TARGET_EXPORTS) \
35652 (cd $(TARGET_SUBDIR)/winsup && \
35653 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35655 @endif target-winsup
35657 # Other targets (info, dvi, pdf, etc.)
35659 .PHONY: maybe-info-target-winsup info-target-winsup
35660 maybe-info-target-winsup:
35661 @if target-winsup
35662 maybe-info-target-winsup: info-target-winsup
35664 info-target-winsup: \
35665 configure-target-winsup
35666 @: $(MAKE); $(unstage)
35667 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35668 r=`${PWD_COMMAND}`; export r; \
35669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35670 $(NORMAL_TARGET_EXPORTS) \
35671 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35672 for flag in $(EXTRA_TARGET_FLAGS); do \
35673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35674 done; \
35675 (cd $(TARGET_SUBDIR)/winsup && \
35676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35678 "RANLIB=$${RANLIB}" \
35679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35680 info) \
35681 || exit 1
35683 @endif target-winsup
35685 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35686 maybe-dvi-target-winsup:
35687 @if target-winsup
35688 maybe-dvi-target-winsup: dvi-target-winsup
35690 dvi-target-winsup: \
35691 configure-target-winsup
35692 @: $(MAKE); $(unstage)
35693 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35694 r=`${PWD_COMMAND}`; export r; \
35695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35696 $(NORMAL_TARGET_EXPORTS) \
35697 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35698 for flag in $(EXTRA_TARGET_FLAGS); do \
35699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35700 done; \
35701 (cd $(TARGET_SUBDIR)/winsup && \
35702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35704 "RANLIB=$${RANLIB}" \
35705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35706 dvi) \
35707 || exit 1
35709 @endif target-winsup
35711 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35712 maybe-pdf-target-winsup:
35713 @if target-winsup
35714 maybe-pdf-target-winsup: pdf-target-winsup
35716 pdf-target-winsup: \
35717 configure-target-winsup
35718 @: $(MAKE); $(unstage)
35719 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35720 r=`${PWD_COMMAND}`; export r; \
35721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35722 $(NORMAL_TARGET_EXPORTS) \
35723 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35724 for flag in $(EXTRA_TARGET_FLAGS); do \
35725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35726 done; \
35727 (cd $(TARGET_SUBDIR)/winsup && \
35728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35730 "RANLIB=$${RANLIB}" \
35731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35732 pdf) \
35733 || exit 1
35735 @endif target-winsup
35737 .PHONY: maybe-html-target-winsup html-target-winsup
35738 maybe-html-target-winsup:
35739 @if target-winsup
35740 maybe-html-target-winsup: html-target-winsup
35742 html-target-winsup: \
35743 configure-target-winsup
35744 @: $(MAKE); $(unstage)
35745 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35746 r=`${PWD_COMMAND}`; export r; \
35747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35748 $(NORMAL_TARGET_EXPORTS) \
35749 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35750 for flag in $(EXTRA_TARGET_FLAGS); do \
35751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35752 done; \
35753 (cd $(TARGET_SUBDIR)/winsup && \
35754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35756 "RANLIB=$${RANLIB}" \
35757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35758 html) \
35759 || exit 1
35761 @endif target-winsup
35763 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35764 maybe-TAGS-target-winsup:
35765 @if target-winsup
35766 maybe-TAGS-target-winsup: TAGS-target-winsup
35768 TAGS-target-winsup: \
35769 configure-target-winsup
35770 @: $(MAKE); $(unstage)
35771 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35772 r=`${PWD_COMMAND}`; export r; \
35773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35774 $(NORMAL_TARGET_EXPORTS) \
35775 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35776 for flag in $(EXTRA_TARGET_FLAGS); do \
35777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35778 done; \
35779 (cd $(TARGET_SUBDIR)/winsup && \
35780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35782 "RANLIB=$${RANLIB}" \
35783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35784 TAGS) \
35785 || exit 1
35787 @endif target-winsup
35789 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35790 maybe-install-info-target-winsup:
35791 @if target-winsup
35792 maybe-install-info-target-winsup: install-info-target-winsup
35794 install-info-target-winsup: \
35795 configure-target-winsup \
35796 info-target-winsup
35797 @: $(MAKE); $(unstage)
35798 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35799 r=`${PWD_COMMAND}`; export r; \
35800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35801 $(NORMAL_TARGET_EXPORTS) \
35802 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35803 for flag in $(EXTRA_TARGET_FLAGS); do \
35804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35805 done; \
35806 (cd $(TARGET_SUBDIR)/winsup && \
35807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35809 "RANLIB=$${RANLIB}" \
35810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35811 install-info) \
35812 || exit 1
35814 @endif target-winsup
35816 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35817 maybe-install-pdf-target-winsup:
35818 @if target-winsup
35819 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35821 install-pdf-target-winsup: \
35822 configure-target-winsup \
35823 pdf-target-winsup
35824 @: $(MAKE); $(unstage)
35825 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35826 r=`${PWD_COMMAND}`; export r; \
35827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35828 $(NORMAL_TARGET_EXPORTS) \
35829 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35830 for flag in $(EXTRA_TARGET_FLAGS); do \
35831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35832 done; \
35833 (cd $(TARGET_SUBDIR)/winsup && \
35834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35836 "RANLIB=$${RANLIB}" \
35837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35838 install-pdf) \
35839 || exit 1
35841 @endif target-winsup
35843 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35844 maybe-install-html-target-winsup:
35845 @if target-winsup
35846 maybe-install-html-target-winsup: install-html-target-winsup
35848 install-html-target-winsup: \
35849 configure-target-winsup \
35850 html-target-winsup
35851 @: $(MAKE); $(unstage)
35852 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35853 r=`${PWD_COMMAND}`; export r; \
35854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35855 $(NORMAL_TARGET_EXPORTS) \
35856 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35857 for flag in $(EXTRA_TARGET_FLAGS); do \
35858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35859 done; \
35860 (cd $(TARGET_SUBDIR)/winsup && \
35861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35863 "RANLIB=$${RANLIB}" \
35864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35865 install-html) \
35866 || exit 1
35868 @endif target-winsup
35870 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35871 maybe-installcheck-target-winsup:
35872 @if target-winsup
35873 maybe-installcheck-target-winsup: installcheck-target-winsup
35875 installcheck-target-winsup: \
35876 configure-target-winsup
35877 @: $(MAKE); $(unstage)
35878 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35879 r=`${PWD_COMMAND}`; export r; \
35880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35881 $(NORMAL_TARGET_EXPORTS) \
35882 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35883 for flag in $(EXTRA_TARGET_FLAGS); do \
35884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35885 done; \
35886 (cd $(TARGET_SUBDIR)/winsup && \
35887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35889 "RANLIB=$${RANLIB}" \
35890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35891 installcheck) \
35892 || exit 1
35894 @endif target-winsup
35896 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35897 maybe-mostlyclean-target-winsup:
35898 @if target-winsup
35899 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35901 mostlyclean-target-winsup:
35902 @: $(MAKE); $(unstage)
35903 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35904 r=`${PWD_COMMAND}`; export r; \
35905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35906 $(NORMAL_TARGET_EXPORTS) \
35907 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35908 for flag in $(EXTRA_TARGET_FLAGS); do \
35909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35910 done; \
35911 (cd $(TARGET_SUBDIR)/winsup && \
35912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35914 "RANLIB=$${RANLIB}" \
35915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35916 mostlyclean) \
35917 || exit 1
35919 @endif target-winsup
35921 .PHONY: maybe-clean-target-winsup clean-target-winsup
35922 maybe-clean-target-winsup:
35923 @if target-winsup
35924 maybe-clean-target-winsup: clean-target-winsup
35926 clean-target-winsup:
35927 @: $(MAKE); $(unstage)
35928 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35929 r=`${PWD_COMMAND}`; export r; \
35930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35931 $(NORMAL_TARGET_EXPORTS) \
35932 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35933 for flag in $(EXTRA_TARGET_FLAGS); do \
35934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35935 done; \
35936 (cd $(TARGET_SUBDIR)/winsup && \
35937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35939 "RANLIB=$${RANLIB}" \
35940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35941 clean) \
35942 || exit 1
35944 @endif target-winsup
35946 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35947 maybe-distclean-target-winsup:
35948 @if target-winsup
35949 maybe-distclean-target-winsup: distclean-target-winsup
35951 distclean-target-winsup:
35952 @: $(MAKE); $(unstage)
35953 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35954 r=`${PWD_COMMAND}`; export r; \
35955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35956 $(NORMAL_TARGET_EXPORTS) \
35957 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35958 for flag in $(EXTRA_TARGET_FLAGS); do \
35959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35960 done; \
35961 (cd $(TARGET_SUBDIR)/winsup && \
35962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35964 "RANLIB=$${RANLIB}" \
35965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35966 distclean) \
35967 || exit 1
35969 @endif target-winsup
35971 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35972 maybe-maintainer-clean-target-winsup:
35973 @if target-winsup
35974 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35976 maintainer-clean-target-winsup:
35977 @: $(MAKE); $(unstage)
35978 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35979 r=`${PWD_COMMAND}`; export r; \
35980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35981 $(NORMAL_TARGET_EXPORTS) \
35982 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35983 for flag in $(EXTRA_TARGET_FLAGS); do \
35984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35985 done; \
35986 (cd $(TARGET_SUBDIR)/winsup && \
35987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35989 "RANLIB=$${RANLIB}" \
35990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35991 maintainer-clean) \
35992 || exit 1
35994 @endif target-winsup
36000 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36001 maybe-configure-target-libgloss:
36002 @if gcc-bootstrap
36003 configure-target-libgloss: stage_current
36004 @endif gcc-bootstrap
36005 @if target-libgloss
36006 maybe-configure-target-libgloss: configure-target-libgloss
36007 configure-target-libgloss:
36008 @: $(MAKE); $(unstage)
36009 @r=`${PWD_COMMAND}`; export r; \
36010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36011 echo "Checking multilib configuration for libgloss..."; \
36012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36013 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36014 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36015 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36016 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36017 else \
36018 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36019 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36020 fi; \
36021 else \
36022 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36023 fi; \
36024 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36026 $(NORMAL_TARGET_EXPORTS) \
36027 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36028 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36029 case $(srcdir) in \
36030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36031 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36033 esac; \
36034 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36035 libsrcdir="$$s/libgloss"; \
36036 rm -f no-such-file || : ; \
36037 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36038 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36039 --target=${target_alias} $${srcdiroption} \
36040 || exit 1
36041 @endif target-libgloss
36047 .PHONY: all-target-libgloss maybe-all-target-libgloss
36048 maybe-all-target-libgloss:
36049 @if gcc-bootstrap
36050 all-target-libgloss: stage_current
36051 @endif gcc-bootstrap
36052 @if target-libgloss
36053 TARGET-target-libgloss=all
36054 maybe-all-target-libgloss: all-target-libgloss
36055 all-target-libgloss: configure-target-libgloss
36056 @: $(MAKE); $(unstage)
36057 @r=`${PWD_COMMAND}`; export r; \
36058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36059 $(NORMAL_TARGET_EXPORTS) \
36060 (cd $(TARGET_SUBDIR)/libgloss && \
36061 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36062 $(TARGET-target-libgloss))
36063 @endif target-libgloss
36069 .PHONY: check-target-libgloss maybe-check-target-libgloss
36070 maybe-check-target-libgloss:
36071 @if target-libgloss
36072 maybe-check-target-libgloss: check-target-libgloss
36074 # Dummy target for uncheckable module.
36075 check-target-libgloss:
36077 @endif target-libgloss
36079 .PHONY: install-target-libgloss maybe-install-target-libgloss
36080 maybe-install-target-libgloss:
36081 @if target-libgloss
36082 maybe-install-target-libgloss: install-target-libgloss
36084 install-target-libgloss: installdirs
36085 @: $(MAKE); $(unstage)
36086 @r=`${PWD_COMMAND}`; export r; \
36087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36088 $(NORMAL_TARGET_EXPORTS) \
36089 (cd $(TARGET_SUBDIR)/libgloss && \
36090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36092 @endif target-libgloss
36094 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36095 maybe-install-strip-target-libgloss:
36096 @if target-libgloss
36097 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36099 install-strip-target-libgloss: installdirs
36100 @: $(MAKE); $(unstage)
36101 @r=`${PWD_COMMAND}`; export r; \
36102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36103 $(NORMAL_TARGET_EXPORTS) \
36104 (cd $(TARGET_SUBDIR)/libgloss && \
36105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36107 @endif target-libgloss
36109 # Other targets (info, dvi, pdf, etc.)
36111 .PHONY: maybe-info-target-libgloss info-target-libgloss
36112 maybe-info-target-libgloss:
36113 @if target-libgloss
36114 maybe-info-target-libgloss: info-target-libgloss
36116 info-target-libgloss: \
36117 configure-target-libgloss
36118 @: $(MAKE); $(unstage)
36119 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36120 r=`${PWD_COMMAND}`; export r; \
36121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36122 $(NORMAL_TARGET_EXPORTS) \
36123 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36124 for flag in $(EXTRA_TARGET_FLAGS); do \
36125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36126 done; \
36127 (cd $(TARGET_SUBDIR)/libgloss && \
36128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36130 "RANLIB=$${RANLIB}" \
36131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36132 info) \
36133 || exit 1
36135 @endif target-libgloss
36137 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36138 maybe-dvi-target-libgloss:
36139 @if target-libgloss
36140 maybe-dvi-target-libgloss: dvi-target-libgloss
36142 dvi-target-libgloss: \
36143 configure-target-libgloss
36144 @: $(MAKE); $(unstage)
36145 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36146 r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 $(NORMAL_TARGET_EXPORTS) \
36149 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36150 for flag in $(EXTRA_TARGET_FLAGS); do \
36151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36152 done; \
36153 (cd $(TARGET_SUBDIR)/libgloss && \
36154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36156 "RANLIB=$${RANLIB}" \
36157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36158 dvi) \
36159 || exit 1
36161 @endif target-libgloss
36163 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36164 maybe-pdf-target-libgloss:
36165 @if target-libgloss
36166 maybe-pdf-target-libgloss: pdf-target-libgloss
36168 pdf-target-libgloss: \
36169 configure-target-libgloss
36170 @: $(MAKE); $(unstage)
36171 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36172 r=`${PWD_COMMAND}`; export r; \
36173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36174 $(NORMAL_TARGET_EXPORTS) \
36175 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36176 for flag in $(EXTRA_TARGET_FLAGS); do \
36177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36178 done; \
36179 (cd $(TARGET_SUBDIR)/libgloss && \
36180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36182 "RANLIB=$${RANLIB}" \
36183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36184 pdf) \
36185 || exit 1
36187 @endif target-libgloss
36189 .PHONY: maybe-html-target-libgloss html-target-libgloss
36190 maybe-html-target-libgloss:
36191 @if target-libgloss
36192 maybe-html-target-libgloss: html-target-libgloss
36194 html-target-libgloss: \
36195 configure-target-libgloss
36196 @: $(MAKE); $(unstage)
36197 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36198 r=`${PWD_COMMAND}`; export r; \
36199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36200 $(NORMAL_TARGET_EXPORTS) \
36201 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36202 for flag in $(EXTRA_TARGET_FLAGS); do \
36203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36204 done; \
36205 (cd $(TARGET_SUBDIR)/libgloss && \
36206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36208 "RANLIB=$${RANLIB}" \
36209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36210 html) \
36211 || exit 1
36213 @endif target-libgloss
36215 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36216 maybe-TAGS-target-libgloss:
36217 @if target-libgloss
36218 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36220 TAGS-target-libgloss: \
36221 configure-target-libgloss
36222 @: $(MAKE); $(unstage)
36223 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36224 r=`${PWD_COMMAND}`; export r; \
36225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36226 $(NORMAL_TARGET_EXPORTS) \
36227 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36228 for flag in $(EXTRA_TARGET_FLAGS); do \
36229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36230 done; \
36231 (cd $(TARGET_SUBDIR)/libgloss && \
36232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36234 "RANLIB=$${RANLIB}" \
36235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36236 TAGS) \
36237 || exit 1
36239 @endif target-libgloss
36241 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36242 maybe-install-info-target-libgloss:
36243 @if target-libgloss
36244 maybe-install-info-target-libgloss: install-info-target-libgloss
36246 install-info-target-libgloss: \
36247 configure-target-libgloss \
36248 info-target-libgloss
36249 @: $(MAKE); $(unstage)
36250 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36251 r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(NORMAL_TARGET_EXPORTS) \
36254 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36255 for flag in $(EXTRA_TARGET_FLAGS); do \
36256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36257 done; \
36258 (cd $(TARGET_SUBDIR)/libgloss && \
36259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36261 "RANLIB=$${RANLIB}" \
36262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36263 install-info) \
36264 || exit 1
36266 @endif target-libgloss
36268 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36269 maybe-install-pdf-target-libgloss:
36270 @if target-libgloss
36271 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36273 install-pdf-target-libgloss: \
36274 configure-target-libgloss \
36275 pdf-target-libgloss
36276 @: $(MAKE); $(unstage)
36277 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36278 r=`${PWD_COMMAND}`; export r; \
36279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36280 $(NORMAL_TARGET_EXPORTS) \
36281 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36282 for flag in $(EXTRA_TARGET_FLAGS); do \
36283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36284 done; \
36285 (cd $(TARGET_SUBDIR)/libgloss && \
36286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36288 "RANLIB=$${RANLIB}" \
36289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36290 install-pdf) \
36291 || exit 1
36293 @endif target-libgloss
36295 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36296 maybe-install-html-target-libgloss:
36297 @if target-libgloss
36298 maybe-install-html-target-libgloss: install-html-target-libgloss
36300 install-html-target-libgloss: \
36301 configure-target-libgloss \
36302 html-target-libgloss
36303 @: $(MAKE); $(unstage)
36304 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36305 r=`${PWD_COMMAND}`; export r; \
36306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36307 $(NORMAL_TARGET_EXPORTS) \
36308 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36309 for flag in $(EXTRA_TARGET_FLAGS); do \
36310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36311 done; \
36312 (cd $(TARGET_SUBDIR)/libgloss && \
36313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36315 "RANLIB=$${RANLIB}" \
36316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36317 install-html) \
36318 || exit 1
36320 @endif target-libgloss
36322 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36323 maybe-installcheck-target-libgloss:
36324 @if target-libgloss
36325 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36327 installcheck-target-libgloss: \
36328 configure-target-libgloss
36329 @: $(MAKE); $(unstage)
36330 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36331 r=`${PWD_COMMAND}`; export r; \
36332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36333 $(NORMAL_TARGET_EXPORTS) \
36334 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36335 for flag in $(EXTRA_TARGET_FLAGS); do \
36336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36337 done; \
36338 (cd $(TARGET_SUBDIR)/libgloss && \
36339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36341 "RANLIB=$${RANLIB}" \
36342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36343 installcheck) \
36344 || exit 1
36346 @endif target-libgloss
36348 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36349 maybe-mostlyclean-target-libgloss:
36350 @if target-libgloss
36351 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36353 mostlyclean-target-libgloss:
36354 @: $(MAKE); $(unstage)
36355 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36356 r=`${PWD_COMMAND}`; export r; \
36357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36358 $(NORMAL_TARGET_EXPORTS) \
36359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36360 for flag in $(EXTRA_TARGET_FLAGS); do \
36361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36362 done; \
36363 (cd $(TARGET_SUBDIR)/libgloss && \
36364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36366 "RANLIB=$${RANLIB}" \
36367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36368 mostlyclean) \
36369 || exit 1
36371 @endif target-libgloss
36373 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36374 maybe-clean-target-libgloss:
36375 @if target-libgloss
36376 maybe-clean-target-libgloss: clean-target-libgloss
36378 clean-target-libgloss:
36379 @: $(MAKE); $(unstage)
36380 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36381 r=`${PWD_COMMAND}`; export r; \
36382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36383 $(NORMAL_TARGET_EXPORTS) \
36384 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36385 for flag in $(EXTRA_TARGET_FLAGS); do \
36386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36387 done; \
36388 (cd $(TARGET_SUBDIR)/libgloss && \
36389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36391 "RANLIB=$${RANLIB}" \
36392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36393 clean) \
36394 || exit 1
36396 @endif target-libgloss
36398 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36399 maybe-distclean-target-libgloss:
36400 @if target-libgloss
36401 maybe-distclean-target-libgloss: distclean-target-libgloss
36403 distclean-target-libgloss:
36404 @: $(MAKE); $(unstage)
36405 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36406 r=`${PWD_COMMAND}`; export r; \
36407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36408 $(NORMAL_TARGET_EXPORTS) \
36409 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36410 for flag in $(EXTRA_TARGET_FLAGS); do \
36411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36412 done; \
36413 (cd $(TARGET_SUBDIR)/libgloss && \
36414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36416 "RANLIB=$${RANLIB}" \
36417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36418 distclean) \
36419 || exit 1
36421 @endif target-libgloss
36423 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36424 maybe-maintainer-clean-target-libgloss:
36425 @if target-libgloss
36426 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36428 maintainer-clean-target-libgloss:
36429 @: $(MAKE); $(unstage)
36430 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36431 r=`${PWD_COMMAND}`; export r; \
36432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36433 $(NORMAL_TARGET_EXPORTS) \
36434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36435 for flag in $(EXTRA_TARGET_FLAGS); do \
36436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36437 done; \
36438 (cd $(TARGET_SUBDIR)/libgloss && \
36439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36441 "RANLIB=$${RANLIB}" \
36442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36443 maintainer-clean) \
36444 || exit 1
36446 @endif target-libgloss
36452 .PHONY: configure-target-libffi maybe-configure-target-libffi
36453 maybe-configure-target-libffi:
36454 @if gcc-bootstrap
36455 configure-target-libffi: stage_current
36456 @endif gcc-bootstrap
36457 @if target-libffi
36458 maybe-configure-target-libffi: configure-target-libffi
36459 configure-target-libffi:
36460 @: $(MAKE); $(unstage)
36461 @r=`${PWD_COMMAND}`; export r; \
36462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36463 echo "Checking multilib configuration for libffi..."; \
36464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36466 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36467 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36468 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36469 else \
36470 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36471 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36472 fi; \
36473 else \
36474 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36475 fi; \
36476 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36478 $(NORMAL_TARGET_EXPORTS) \
36479 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36480 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36481 case $(srcdir) in \
36482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36483 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36485 esac; \
36486 srcdiroption="--srcdir=$${topdir}/libffi"; \
36487 libsrcdir="$$s/libffi"; \
36488 rm -f no-such-file || : ; \
36489 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36490 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36491 --target=${target_alias} $${srcdiroption} \
36492 || exit 1
36493 @endif target-libffi
36499 .PHONY: all-target-libffi maybe-all-target-libffi
36500 maybe-all-target-libffi:
36501 @if gcc-bootstrap
36502 all-target-libffi: stage_current
36503 @endif gcc-bootstrap
36504 @if target-libffi
36505 TARGET-target-libffi=all
36506 maybe-all-target-libffi: all-target-libffi
36507 all-target-libffi: configure-target-libffi
36508 @: $(MAKE); $(unstage)
36509 @r=`${PWD_COMMAND}`; export r; \
36510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36511 $(NORMAL_TARGET_EXPORTS) \
36512 (cd $(TARGET_SUBDIR)/libffi && \
36513 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36514 $(TARGET-target-libffi))
36515 @endif target-libffi
36521 .PHONY: check-target-libffi maybe-check-target-libffi
36522 maybe-check-target-libffi:
36523 @if target-libffi
36524 maybe-check-target-libffi: check-target-libffi
36526 check-target-libffi:
36527 @: $(MAKE); $(unstage)
36528 @r=`${PWD_COMMAND}`; export r; \
36529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36530 $(NORMAL_TARGET_EXPORTS) \
36531 (cd $(TARGET_SUBDIR)/libffi && \
36532 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36534 @endif target-libffi
36536 .PHONY: install-target-libffi maybe-install-target-libffi
36537 maybe-install-target-libffi:
36538 @if target-libffi
36539 maybe-install-target-libffi: install-target-libffi
36541 install-target-libffi: installdirs
36542 @: $(MAKE); $(unstage)
36543 @r=`${PWD_COMMAND}`; export r; \
36544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36545 $(NORMAL_TARGET_EXPORTS) \
36546 (cd $(TARGET_SUBDIR)/libffi && \
36547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36549 @endif target-libffi
36551 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36552 maybe-install-strip-target-libffi:
36553 @if target-libffi
36554 maybe-install-strip-target-libffi: install-strip-target-libffi
36556 install-strip-target-libffi: installdirs
36557 @: $(MAKE); $(unstage)
36558 @r=`${PWD_COMMAND}`; export r; \
36559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36560 $(NORMAL_TARGET_EXPORTS) \
36561 (cd $(TARGET_SUBDIR)/libffi && \
36562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36564 @endif target-libffi
36566 # Other targets (info, dvi, pdf, etc.)
36568 .PHONY: maybe-info-target-libffi info-target-libffi
36569 maybe-info-target-libffi:
36570 @if target-libffi
36571 maybe-info-target-libffi: info-target-libffi
36573 info-target-libffi: \
36574 configure-target-libffi
36575 @: $(MAKE); $(unstage)
36576 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36577 r=`${PWD_COMMAND}`; export r; \
36578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36579 $(NORMAL_TARGET_EXPORTS) \
36580 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36581 for flag in $(EXTRA_TARGET_FLAGS); do \
36582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 done; \
36584 (cd $(TARGET_SUBDIR)/libffi && \
36585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36587 "RANLIB=$${RANLIB}" \
36588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36589 info) \
36590 || exit 1
36592 @endif target-libffi
36594 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36595 maybe-dvi-target-libffi:
36596 @if target-libffi
36597 maybe-dvi-target-libffi: dvi-target-libffi
36599 dvi-target-libffi: \
36600 configure-target-libffi
36601 @: $(MAKE); $(unstage)
36602 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(NORMAL_TARGET_EXPORTS) \
36606 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36607 for flag in $(EXTRA_TARGET_FLAGS); do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36609 done; \
36610 (cd $(TARGET_SUBDIR)/libffi && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36615 dvi) \
36616 || exit 1
36618 @endif target-libffi
36620 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36621 maybe-pdf-target-libffi:
36622 @if target-libffi
36623 maybe-pdf-target-libffi: pdf-target-libffi
36625 pdf-target-libffi: \
36626 configure-target-libffi
36627 @: $(MAKE); $(unstage)
36628 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36629 r=`${PWD_COMMAND}`; export r; \
36630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36631 $(NORMAL_TARGET_EXPORTS) \
36632 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36633 for flag in $(EXTRA_TARGET_FLAGS); do \
36634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36635 done; \
36636 (cd $(TARGET_SUBDIR)/libffi && \
36637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36639 "RANLIB=$${RANLIB}" \
36640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36641 pdf) \
36642 || exit 1
36644 @endif target-libffi
36646 .PHONY: maybe-html-target-libffi html-target-libffi
36647 maybe-html-target-libffi:
36648 @if target-libffi
36649 maybe-html-target-libffi: html-target-libffi
36651 html-target-libffi: \
36652 configure-target-libffi
36653 @: $(MAKE); $(unstage)
36654 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36655 r=`${PWD_COMMAND}`; export r; \
36656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36657 $(NORMAL_TARGET_EXPORTS) \
36658 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36659 for flag in $(EXTRA_TARGET_FLAGS); do \
36660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36661 done; \
36662 (cd $(TARGET_SUBDIR)/libffi && \
36663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36665 "RANLIB=$${RANLIB}" \
36666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36667 html) \
36668 || exit 1
36670 @endif target-libffi
36672 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36673 maybe-TAGS-target-libffi:
36674 @if target-libffi
36675 maybe-TAGS-target-libffi: TAGS-target-libffi
36677 TAGS-target-libffi: \
36678 configure-target-libffi
36679 @: $(MAKE); $(unstage)
36680 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36681 r=`${PWD_COMMAND}`; export r; \
36682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36683 $(NORMAL_TARGET_EXPORTS) \
36684 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36685 for flag in $(EXTRA_TARGET_FLAGS); do \
36686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36687 done; \
36688 (cd $(TARGET_SUBDIR)/libffi && \
36689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36691 "RANLIB=$${RANLIB}" \
36692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36693 TAGS) \
36694 || exit 1
36696 @endif target-libffi
36698 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36699 maybe-install-info-target-libffi:
36700 @if target-libffi
36701 maybe-install-info-target-libffi: install-info-target-libffi
36703 install-info-target-libffi: \
36704 configure-target-libffi \
36705 info-target-libffi
36706 @: $(MAKE); $(unstage)
36707 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36708 r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(NORMAL_TARGET_EXPORTS) \
36711 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36712 for flag in $(EXTRA_TARGET_FLAGS); do \
36713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36714 done; \
36715 (cd $(TARGET_SUBDIR)/libffi && \
36716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36718 "RANLIB=$${RANLIB}" \
36719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36720 install-info) \
36721 || exit 1
36723 @endif target-libffi
36725 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36726 maybe-install-pdf-target-libffi:
36727 @if target-libffi
36728 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36730 install-pdf-target-libffi: \
36731 configure-target-libffi \
36732 pdf-target-libffi
36733 @: $(MAKE); $(unstage)
36734 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36735 r=`${PWD_COMMAND}`; export r; \
36736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36737 $(NORMAL_TARGET_EXPORTS) \
36738 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36739 for flag in $(EXTRA_TARGET_FLAGS); do \
36740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36741 done; \
36742 (cd $(TARGET_SUBDIR)/libffi && \
36743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36745 "RANLIB=$${RANLIB}" \
36746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36747 install-pdf) \
36748 || exit 1
36750 @endif target-libffi
36752 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36753 maybe-install-html-target-libffi:
36754 @if target-libffi
36755 maybe-install-html-target-libffi: install-html-target-libffi
36757 install-html-target-libffi: \
36758 configure-target-libffi \
36759 html-target-libffi
36760 @: $(MAKE); $(unstage)
36761 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36762 r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(NORMAL_TARGET_EXPORTS) \
36765 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36766 for flag in $(EXTRA_TARGET_FLAGS); do \
36767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36768 done; \
36769 (cd $(TARGET_SUBDIR)/libffi && \
36770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36772 "RANLIB=$${RANLIB}" \
36773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36774 install-html) \
36775 || exit 1
36777 @endif target-libffi
36779 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36780 maybe-installcheck-target-libffi:
36781 @if target-libffi
36782 maybe-installcheck-target-libffi: installcheck-target-libffi
36784 installcheck-target-libffi: \
36785 configure-target-libffi
36786 @: $(MAKE); $(unstage)
36787 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36788 r=`${PWD_COMMAND}`; export r; \
36789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36790 $(NORMAL_TARGET_EXPORTS) \
36791 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36792 for flag in $(EXTRA_TARGET_FLAGS); do \
36793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36794 done; \
36795 (cd $(TARGET_SUBDIR)/libffi && \
36796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36798 "RANLIB=$${RANLIB}" \
36799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36800 installcheck) \
36801 || exit 1
36803 @endif target-libffi
36805 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36806 maybe-mostlyclean-target-libffi:
36807 @if target-libffi
36808 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36810 mostlyclean-target-libffi:
36811 @: $(MAKE); $(unstage)
36812 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36813 r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 $(NORMAL_TARGET_EXPORTS) \
36816 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36817 for flag in $(EXTRA_TARGET_FLAGS); do \
36818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36819 done; \
36820 (cd $(TARGET_SUBDIR)/libffi && \
36821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36823 "RANLIB=$${RANLIB}" \
36824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36825 mostlyclean) \
36826 || exit 1
36828 @endif target-libffi
36830 .PHONY: maybe-clean-target-libffi clean-target-libffi
36831 maybe-clean-target-libffi:
36832 @if target-libffi
36833 maybe-clean-target-libffi: clean-target-libffi
36835 clean-target-libffi:
36836 @: $(MAKE); $(unstage)
36837 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36838 r=`${PWD_COMMAND}`; export r; \
36839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36840 $(NORMAL_TARGET_EXPORTS) \
36841 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36842 for flag in $(EXTRA_TARGET_FLAGS); do \
36843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36844 done; \
36845 (cd $(TARGET_SUBDIR)/libffi && \
36846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36848 "RANLIB=$${RANLIB}" \
36849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36850 clean) \
36851 || exit 1
36853 @endif target-libffi
36855 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36856 maybe-distclean-target-libffi:
36857 @if target-libffi
36858 maybe-distclean-target-libffi: distclean-target-libffi
36860 distclean-target-libffi:
36861 @: $(MAKE); $(unstage)
36862 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36863 r=`${PWD_COMMAND}`; export r; \
36864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36865 $(NORMAL_TARGET_EXPORTS) \
36866 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36867 for flag in $(EXTRA_TARGET_FLAGS); do \
36868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36869 done; \
36870 (cd $(TARGET_SUBDIR)/libffi && \
36871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36873 "RANLIB=$${RANLIB}" \
36874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36875 distclean) \
36876 || exit 1
36878 @endif target-libffi
36880 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36881 maybe-maintainer-clean-target-libffi:
36882 @if target-libffi
36883 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36885 maintainer-clean-target-libffi:
36886 @: $(MAKE); $(unstage)
36887 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36888 r=`${PWD_COMMAND}`; export r; \
36889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36890 $(NORMAL_TARGET_EXPORTS) \
36891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36892 for flag in $(EXTRA_TARGET_FLAGS); do \
36893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36894 done; \
36895 (cd $(TARGET_SUBDIR)/libffi && \
36896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36898 "RANLIB=$${RANLIB}" \
36899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36900 maintainer-clean) \
36901 || exit 1
36903 @endif target-libffi
36909 .PHONY: configure-target-libjava maybe-configure-target-libjava
36910 maybe-configure-target-libjava:
36911 @if gcc-bootstrap
36912 configure-target-libjava: stage_current
36913 @endif gcc-bootstrap
36914 @if target-libjava
36915 maybe-configure-target-libjava: configure-target-libjava
36916 configure-target-libjava:
36917 @: $(MAKE); $(unstage)
36918 @r=`${PWD_COMMAND}`; export r; \
36919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36920 echo "Checking multilib configuration for libjava..."; \
36921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36923 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36924 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36925 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36926 else \
36927 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36928 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36929 fi; \
36930 else \
36931 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36932 fi; \
36933 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36935 $(RAW_CXX_TARGET_EXPORTS) \
36936 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36937 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36938 case $(srcdir) in \
36939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36940 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36942 esac; \
36943 srcdiroption="--srcdir=$${topdir}/libjava"; \
36944 libsrcdir="$$s/libjava"; \
36945 rm -f no-such-file || : ; \
36946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36948 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36949 || exit 1
36950 @endif target-libjava
36956 .PHONY: all-target-libjava maybe-all-target-libjava
36957 maybe-all-target-libjava:
36958 @if gcc-bootstrap
36959 all-target-libjava: stage_current
36960 @endif gcc-bootstrap
36961 @if target-libjava
36962 TARGET-target-libjava=all
36963 maybe-all-target-libjava: all-target-libjava
36964 all-target-libjava: configure-target-libjava
36965 @: $(MAKE); $(unstage)
36966 @r=`${PWD_COMMAND}`; export r; \
36967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36968 $(RAW_CXX_TARGET_EXPORTS) \
36969 (cd $(TARGET_SUBDIR)/libjava && \
36970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36971 $(TARGET-target-libjava))
36972 @endif target-libjava
36978 .PHONY: check-target-libjava maybe-check-target-libjava
36979 maybe-check-target-libjava:
36980 @if target-libjava
36981 maybe-check-target-libjava: check-target-libjava
36983 check-target-libjava:
36984 @: $(MAKE); $(unstage)
36985 @r=`${PWD_COMMAND}`; export r; \
36986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36987 $(RAW_CXX_TARGET_EXPORTS) \
36988 (cd $(TARGET_SUBDIR)/libjava && \
36989 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36991 @endif target-libjava
36993 .PHONY: install-target-libjava maybe-install-target-libjava
36994 maybe-install-target-libjava:
36995 @if target-libjava
36996 maybe-install-target-libjava: install-target-libjava
36998 install-target-libjava: installdirs
36999 @: $(MAKE); $(unstage)
37000 @r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 $(RAW_CXX_TARGET_EXPORTS) \
37003 (cd $(TARGET_SUBDIR)/libjava && \
37004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37006 @endif target-libjava
37008 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37009 maybe-install-strip-target-libjava:
37010 @if target-libjava
37011 maybe-install-strip-target-libjava: install-strip-target-libjava
37013 install-strip-target-libjava: installdirs
37014 @: $(MAKE); $(unstage)
37015 @r=`${PWD_COMMAND}`; export r; \
37016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37017 $(RAW_CXX_TARGET_EXPORTS) \
37018 (cd $(TARGET_SUBDIR)/libjava && \
37019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37021 @endif target-libjava
37023 # Other targets (info, dvi, pdf, etc.)
37025 .PHONY: maybe-info-target-libjava info-target-libjava
37026 maybe-info-target-libjava:
37027 @if target-libjava
37028 maybe-info-target-libjava: info-target-libjava
37030 info-target-libjava: \
37031 configure-target-libjava
37032 @: $(MAKE); $(unstage)
37033 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37034 r=`${PWD_COMMAND}`; export r; \
37035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37036 $(RAW_CXX_TARGET_EXPORTS) \
37037 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37038 for flag in $(EXTRA_TARGET_FLAGS); do \
37039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37040 done; \
37041 (cd $(TARGET_SUBDIR)/libjava && \
37042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37044 "RANLIB=$${RANLIB}" \
37045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37046 info) \
37047 || exit 1
37049 @endif target-libjava
37051 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37052 maybe-dvi-target-libjava:
37053 @if target-libjava
37054 maybe-dvi-target-libjava: dvi-target-libjava
37056 dvi-target-libjava: \
37057 configure-target-libjava
37058 @: $(MAKE); $(unstage)
37059 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37060 r=`${PWD_COMMAND}`; export r; \
37061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37062 $(RAW_CXX_TARGET_EXPORTS) \
37063 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37064 for flag in $(EXTRA_TARGET_FLAGS); do \
37065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37066 done; \
37067 (cd $(TARGET_SUBDIR)/libjava && \
37068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37070 "RANLIB=$${RANLIB}" \
37071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37072 dvi) \
37073 || exit 1
37075 @endif target-libjava
37077 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37078 maybe-pdf-target-libjava:
37079 @if target-libjava
37080 maybe-pdf-target-libjava: pdf-target-libjava
37082 pdf-target-libjava: \
37083 configure-target-libjava
37084 @: $(MAKE); $(unstage)
37085 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37086 r=`${PWD_COMMAND}`; export r; \
37087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37088 $(RAW_CXX_TARGET_EXPORTS) \
37089 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37090 for flag in $(EXTRA_TARGET_FLAGS); do \
37091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37092 done; \
37093 (cd $(TARGET_SUBDIR)/libjava && \
37094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37096 "RANLIB=$${RANLIB}" \
37097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37098 pdf) \
37099 || exit 1
37101 @endif target-libjava
37103 .PHONY: maybe-html-target-libjava html-target-libjava
37104 maybe-html-target-libjava:
37105 @if target-libjava
37106 maybe-html-target-libjava: html-target-libjava
37108 html-target-libjava: \
37109 configure-target-libjava
37110 @: $(MAKE); $(unstage)
37111 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37112 r=`${PWD_COMMAND}`; export r; \
37113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37114 $(RAW_CXX_TARGET_EXPORTS) \
37115 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37116 for flag in $(EXTRA_TARGET_FLAGS); do \
37117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37118 done; \
37119 (cd $(TARGET_SUBDIR)/libjava && \
37120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37122 "RANLIB=$${RANLIB}" \
37123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37124 html) \
37125 || exit 1
37127 @endif target-libjava
37129 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37130 maybe-TAGS-target-libjava:
37131 @if target-libjava
37132 maybe-TAGS-target-libjava: TAGS-target-libjava
37134 TAGS-target-libjava: \
37135 configure-target-libjava
37136 @: $(MAKE); $(unstage)
37137 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37138 r=`${PWD_COMMAND}`; export r; \
37139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37140 $(RAW_CXX_TARGET_EXPORTS) \
37141 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37142 for flag in $(EXTRA_TARGET_FLAGS); do \
37143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37144 done; \
37145 (cd $(TARGET_SUBDIR)/libjava && \
37146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37148 "RANLIB=$${RANLIB}" \
37149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37150 TAGS) \
37151 || exit 1
37153 @endif target-libjava
37155 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37156 maybe-install-info-target-libjava:
37157 @if target-libjava
37158 maybe-install-info-target-libjava: install-info-target-libjava
37160 install-info-target-libjava: \
37161 configure-target-libjava \
37162 info-target-libjava
37163 @: $(MAKE); $(unstage)
37164 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37165 r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 $(RAW_CXX_TARGET_EXPORTS) \
37168 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37169 for flag in $(EXTRA_TARGET_FLAGS); do \
37170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37171 done; \
37172 (cd $(TARGET_SUBDIR)/libjava && \
37173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37175 "RANLIB=$${RANLIB}" \
37176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37177 install-info) \
37178 || exit 1
37180 @endif target-libjava
37182 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37183 maybe-install-pdf-target-libjava:
37184 @if target-libjava
37185 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37187 install-pdf-target-libjava: \
37188 configure-target-libjava \
37189 pdf-target-libjava
37190 @: $(MAKE); $(unstage)
37191 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37192 r=`${PWD_COMMAND}`; export r; \
37193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37194 $(RAW_CXX_TARGET_EXPORTS) \
37195 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37196 for flag in $(EXTRA_TARGET_FLAGS); do \
37197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37198 done; \
37199 (cd $(TARGET_SUBDIR)/libjava && \
37200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37202 "RANLIB=$${RANLIB}" \
37203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37204 install-pdf) \
37205 || exit 1
37207 @endif target-libjava
37209 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37210 maybe-install-html-target-libjava:
37211 @if target-libjava
37212 maybe-install-html-target-libjava: install-html-target-libjava
37214 install-html-target-libjava: \
37215 configure-target-libjava \
37216 html-target-libjava
37217 @: $(MAKE); $(unstage)
37218 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37219 r=`${PWD_COMMAND}`; export r; \
37220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37221 $(RAW_CXX_TARGET_EXPORTS) \
37222 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37223 for flag in $(EXTRA_TARGET_FLAGS); do \
37224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37225 done; \
37226 (cd $(TARGET_SUBDIR)/libjava && \
37227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37229 "RANLIB=$${RANLIB}" \
37230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37231 install-html) \
37232 || exit 1
37234 @endif target-libjava
37236 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37237 maybe-installcheck-target-libjava:
37238 @if target-libjava
37239 maybe-installcheck-target-libjava: installcheck-target-libjava
37241 installcheck-target-libjava: \
37242 configure-target-libjava
37243 @: $(MAKE); $(unstage)
37244 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37245 r=`${PWD_COMMAND}`; export r; \
37246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37247 $(RAW_CXX_TARGET_EXPORTS) \
37248 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37249 for flag in $(EXTRA_TARGET_FLAGS); do \
37250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37251 done; \
37252 (cd $(TARGET_SUBDIR)/libjava && \
37253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37255 "RANLIB=$${RANLIB}" \
37256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37257 installcheck) \
37258 || exit 1
37260 @endif target-libjava
37262 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37263 maybe-mostlyclean-target-libjava:
37264 @if target-libjava
37265 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37267 mostlyclean-target-libjava:
37268 @: $(MAKE); $(unstage)
37269 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37270 r=`${PWD_COMMAND}`; export r; \
37271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37272 $(RAW_CXX_TARGET_EXPORTS) \
37273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37274 for flag in $(EXTRA_TARGET_FLAGS); do \
37275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37276 done; \
37277 (cd $(TARGET_SUBDIR)/libjava && \
37278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37280 "RANLIB=$${RANLIB}" \
37281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37282 mostlyclean) \
37283 || exit 1
37285 @endif target-libjava
37287 .PHONY: maybe-clean-target-libjava clean-target-libjava
37288 maybe-clean-target-libjava:
37289 @if target-libjava
37290 maybe-clean-target-libjava: clean-target-libjava
37292 clean-target-libjava:
37293 @: $(MAKE); $(unstage)
37294 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37295 r=`${PWD_COMMAND}`; export r; \
37296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37297 $(RAW_CXX_TARGET_EXPORTS) \
37298 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37299 for flag in $(EXTRA_TARGET_FLAGS); do \
37300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37301 done; \
37302 (cd $(TARGET_SUBDIR)/libjava && \
37303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37305 "RANLIB=$${RANLIB}" \
37306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37307 clean) \
37308 || exit 1
37310 @endif target-libjava
37312 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37313 maybe-distclean-target-libjava:
37314 @if target-libjava
37315 maybe-distclean-target-libjava: distclean-target-libjava
37317 distclean-target-libjava:
37318 @: $(MAKE); $(unstage)
37319 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37320 r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(RAW_CXX_TARGET_EXPORTS) \
37323 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37324 for flag in $(EXTRA_TARGET_FLAGS); do \
37325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37326 done; \
37327 (cd $(TARGET_SUBDIR)/libjava && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37330 "RANLIB=$${RANLIB}" \
37331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37332 distclean) \
37333 || exit 1
37335 @endif target-libjava
37337 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37338 maybe-maintainer-clean-target-libjava:
37339 @if target-libjava
37340 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37342 maintainer-clean-target-libjava:
37343 @: $(MAKE); $(unstage)
37344 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37345 r=`${PWD_COMMAND}`; export r; \
37346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37347 $(RAW_CXX_TARGET_EXPORTS) \
37348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37349 for flag in $(EXTRA_TARGET_FLAGS); do \
37350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37351 done; \
37352 (cd $(TARGET_SUBDIR)/libjava && \
37353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37355 "RANLIB=$${RANLIB}" \
37356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37357 maintainer-clean) \
37358 || exit 1
37360 @endif target-libjava
37366 .PHONY: configure-target-zlib maybe-configure-target-zlib
37367 maybe-configure-target-zlib:
37368 @if gcc-bootstrap
37369 configure-target-zlib: stage_current
37370 @endif gcc-bootstrap
37371 @if target-zlib
37372 maybe-configure-target-zlib: configure-target-zlib
37373 configure-target-zlib:
37374 @: $(MAKE); $(unstage)
37375 @r=`${PWD_COMMAND}`; export r; \
37376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37377 echo "Checking multilib configuration for zlib..."; \
37378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37379 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37380 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37381 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37382 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37383 else \
37384 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37385 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37386 fi; \
37387 else \
37388 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37389 fi; \
37390 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37392 $(NORMAL_TARGET_EXPORTS) \
37393 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37394 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37395 case $(srcdir) in \
37396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37397 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37399 esac; \
37400 srcdiroption="--srcdir=$${topdir}/zlib"; \
37401 libsrcdir="$$s/zlib"; \
37402 rm -f no-such-file || : ; \
37403 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37404 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37405 --target=${target_alias} $${srcdiroption} \
37406 || exit 1
37407 @endif target-zlib
37413 .PHONY: all-target-zlib maybe-all-target-zlib
37414 maybe-all-target-zlib:
37415 @if gcc-bootstrap
37416 all-target-zlib: stage_current
37417 @endif gcc-bootstrap
37418 @if target-zlib
37419 TARGET-target-zlib=all
37420 maybe-all-target-zlib: all-target-zlib
37421 all-target-zlib: configure-target-zlib
37422 @: $(MAKE); $(unstage)
37423 @r=`${PWD_COMMAND}`; export r; \
37424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37425 $(NORMAL_TARGET_EXPORTS) \
37426 (cd $(TARGET_SUBDIR)/zlib && \
37427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37428 $(TARGET-target-zlib))
37429 @endif target-zlib
37435 .PHONY: check-target-zlib maybe-check-target-zlib
37436 maybe-check-target-zlib:
37437 @if target-zlib
37438 maybe-check-target-zlib: check-target-zlib
37440 check-target-zlib:
37441 @: $(MAKE); $(unstage)
37442 @r=`${PWD_COMMAND}`; export r; \
37443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37444 $(NORMAL_TARGET_EXPORTS) \
37445 (cd $(TARGET_SUBDIR)/zlib && \
37446 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37448 @endif target-zlib
37450 .PHONY: install-target-zlib maybe-install-target-zlib
37451 maybe-install-target-zlib:
37452 @if target-zlib
37453 maybe-install-target-zlib: install-target-zlib
37455 install-target-zlib: installdirs
37456 @: $(MAKE); $(unstage)
37457 @r=`${PWD_COMMAND}`; export r; \
37458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37459 $(NORMAL_TARGET_EXPORTS) \
37460 (cd $(TARGET_SUBDIR)/zlib && \
37461 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37463 @endif target-zlib
37465 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37466 maybe-install-strip-target-zlib:
37467 @if target-zlib
37468 maybe-install-strip-target-zlib: install-strip-target-zlib
37470 install-strip-target-zlib: installdirs
37471 @: $(MAKE); $(unstage)
37472 @r=`${PWD_COMMAND}`; export r; \
37473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37474 $(NORMAL_TARGET_EXPORTS) \
37475 (cd $(TARGET_SUBDIR)/zlib && \
37476 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37478 @endif target-zlib
37480 # Other targets (info, dvi, pdf, etc.)
37482 .PHONY: maybe-info-target-zlib info-target-zlib
37483 maybe-info-target-zlib:
37484 @if target-zlib
37485 maybe-info-target-zlib: info-target-zlib
37487 info-target-zlib: \
37488 configure-target-zlib
37489 @: $(MAKE); $(unstage)
37490 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37491 r=`${PWD_COMMAND}`; export r; \
37492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37493 $(NORMAL_TARGET_EXPORTS) \
37494 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37495 for flag in $(EXTRA_TARGET_FLAGS); do \
37496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37497 done; \
37498 (cd $(TARGET_SUBDIR)/zlib && \
37499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37501 "RANLIB=$${RANLIB}" \
37502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37503 info) \
37504 || exit 1
37506 @endif target-zlib
37508 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37509 maybe-dvi-target-zlib:
37510 @if target-zlib
37511 maybe-dvi-target-zlib: dvi-target-zlib
37513 dvi-target-zlib: \
37514 configure-target-zlib
37515 @: $(MAKE); $(unstage)
37516 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37517 r=`${PWD_COMMAND}`; export r; \
37518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37519 $(NORMAL_TARGET_EXPORTS) \
37520 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37521 for flag in $(EXTRA_TARGET_FLAGS); do \
37522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37523 done; \
37524 (cd $(TARGET_SUBDIR)/zlib && \
37525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37527 "RANLIB=$${RANLIB}" \
37528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37529 dvi) \
37530 || exit 1
37532 @endif target-zlib
37534 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37535 maybe-pdf-target-zlib:
37536 @if target-zlib
37537 maybe-pdf-target-zlib: pdf-target-zlib
37539 pdf-target-zlib: \
37540 configure-target-zlib
37541 @: $(MAKE); $(unstage)
37542 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37543 r=`${PWD_COMMAND}`; export r; \
37544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37545 $(NORMAL_TARGET_EXPORTS) \
37546 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37547 for flag in $(EXTRA_TARGET_FLAGS); do \
37548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37549 done; \
37550 (cd $(TARGET_SUBDIR)/zlib && \
37551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37553 "RANLIB=$${RANLIB}" \
37554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37555 pdf) \
37556 || exit 1
37558 @endif target-zlib
37560 .PHONY: maybe-html-target-zlib html-target-zlib
37561 maybe-html-target-zlib:
37562 @if target-zlib
37563 maybe-html-target-zlib: html-target-zlib
37565 html-target-zlib: \
37566 configure-target-zlib
37567 @: $(MAKE); $(unstage)
37568 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37569 r=`${PWD_COMMAND}`; export r; \
37570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37571 $(NORMAL_TARGET_EXPORTS) \
37572 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37573 for flag in $(EXTRA_TARGET_FLAGS); do \
37574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37575 done; \
37576 (cd $(TARGET_SUBDIR)/zlib && \
37577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37579 "RANLIB=$${RANLIB}" \
37580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37581 html) \
37582 || exit 1
37584 @endif target-zlib
37586 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37587 maybe-TAGS-target-zlib:
37588 @if target-zlib
37589 maybe-TAGS-target-zlib: TAGS-target-zlib
37591 TAGS-target-zlib: \
37592 configure-target-zlib
37593 @: $(MAKE); $(unstage)
37594 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37595 r=`${PWD_COMMAND}`; export r; \
37596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37597 $(NORMAL_TARGET_EXPORTS) \
37598 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37599 for flag in $(EXTRA_TARGET_FLAGS); do \
37600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37601 done; \
37602 (cd $(TARGET_SUBDIR)/zlib && \
37603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37605 "RANLIB=$${RANLIB}" \
37606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37607 TAGS) \
37608 || exit 1
37610 @endif target-zlib
37612 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37613 maybe-install-info-target-zlib:
37614 @if target-zlib
37615 maybe-install-info-target-zlib: install-info-target-zlib
37617 install-info-target-zlib: \
37618 configure-target-zlib \
37619 info-target-zlib
37620 @: $(MAKE); $(unstage)
37621 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37622 r=`${PWD_COMMAND}`; export r; \
37623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37624 $(NORMAL_TARGET_EXPORTS) \
37625 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37626 for flag in $(EXTRA_TARGET_FLAGS); do \
37627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37628 done; \
37629 (cd $(TARGET_SUBDIR)/zlib && \
37630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37632 "RANLIB=$${RANLIB}" \
37633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37634 install-info) \
37635 || exit 1
37637 @endif target-zlib
37639 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37640 maybe-install-pdf-target-zlib:
37641 @if target-zlib
37642 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37644 install-pdf-target-zlib: \
37645 configure-target-zlib \
37646 pdf-target-zlib
37647 @: $(MAKE); $(unstage)
37648 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37649 r=`${PWD_COMMAND}`; export r; \
37650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37651 $(NORMAL_TARGET_EXPORTS) \
37652 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37653 for flag in $(EXTRA_TARGET_FLAGS); do \
37654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37655 done; \
37656 (cd $(TARGET_SUBDIR)/zlib && \
37657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37659 "RANLIB=$${RANLIB}" \
37660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37661 install-pdf) \
37662 || exit 1
37664 @endif target-zlib
37666 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37667 maybe-install-html-target-zlib:
37668 @if target-zlib
37669 maybe-install-html-target-zlib: install-html-target-zlib
37671 install-html-target-zlib: \
37672 configure-target-zlib \
37673 html-target-zlib
37674 @: $(MAKE); $(unstage)
37675 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37676 r=`${PWD_COMMAND}`; export r; \
37677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37678 $(NORMAL_TARGET_EXPORTS) \
37679 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37680 for flag in $(EXTRA_TARGET_FLAGS); do \
37681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37682 done; \
37683 (cd $(TARGET_SUBDIR)/zlib && \
37684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37686 "RANLIB=$${RANLIB}" \
37687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37688 install-html) \
37689 || exit 1
37691 @endif target-zlib
37693 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37694 maybe-installcheck-target-zlib:
37695 @if target-zlib
37696 maybe-installcheck-target-zlib: installcheck-target-zlib
37698 installcheck-target-zlib: \
37699 configure-target-zlib
37700 @: $(MAKE); $(unstage)
37701 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37702 r=`${PWD_COMMAND}`; export r; \
37703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37704 $(NORMAL_TARGET_EXPORTS) \
37705 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37706 for flag in $(EXTRA_TARGET_FLAGS); do \
37707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37708 done; \
37709 (cd $(TARGET_SUBDIR)/zlib && \
37710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37712 "RANLIB=$${RANLIB}" \
37713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37714 installcheck) \
37715 || exit 1
37717 @endif target-zlib
37719 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37720 maybe-mostlyclean-target-zlib:
37721 @if target-zlib
37722 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37724 mostlyclean-target-zlib:
37725 @: $(MAKE); $(unstage)
37726 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37727 r=`${PWD_COMMAND}`; export r; \
37728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37729 $(NORMAL_TARGET_EXPORTS) \
37730 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37731 for flag in $(EXTRA_TARGET_FLAGS); do \
37732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37733 done; \
37734 (cd $(TARGET_SUBDIR)/zlib && \
37735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37737 "RANLIB=$${RANLIB}" \
37738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37739 mostlyclean) \
37740 || exit 1
37742 @endif target-zlib
37744 .PHONY: maybe-clean-target-zlib clean-target-zlib
37745 maybe-clean-target-zlib:
37746 @if target-zlib
37747 maybe-clean-target-zlib: clean-target-zlib
37749 clean-target-zlib:
37750 @: $(MAKE); $(unstage)
37751 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37752 r=`${PWD_COMMAND}`; export r; \
37753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37754 $(NORMAL_TARGET_EXPORTS) \
37755 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37756 for flag in $(EXTRA_TARGET_FLAGS); do \
37757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 done; \
37759 (cd $(TARGET_SUBDIR)/zlib && \
37760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37762 "RANLIB=$${RANLIB}" \
37763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37764 clean) \
37765 || exit 1
37767 @endif target-zlib
37769 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37770 maybe-distclean-target-zlib:
37771 @if target-zlib
37772 maybe-distclean-target-zlib: distclean-target-zlib
37774 distclean-target-zlib:
37775 @: $(MAKE); $(unstage)
37776 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37777 r=`${PWD_COMMAND}`; export r; \
37778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37779 $(NORMAL_TARGET_EXPORTS) \
37780 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37781 for flag in $(EXTRA_TARGET_FLAGS); do \
37782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37783 done; \
37784 (cd $(TARGET_SUBDIR)/zlib && \
37785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37787 "RANLIB=$${RANLIB}" \
37788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37789 distclean) \
37790 || exit 1
37792 @endif target-zlib
37794 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37795 maybe-maintainer-clean-target-zlib:
37796 @if target-zlib
37797 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37799 maintainer-clean-target-zlib:
37800 @: $(MAKE); $(unstage)
37801 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37802 r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 $(NORMAL_TARGET_EXPORTS) \
37805 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37806 for flag in $(EXTRA_TARGET_FLAGS); do \
37807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37808 done; \
37809 (cd $(TARGET_SUBDIR)/zlib && \
37810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37812 "RANLIB=$${RANLIB}" \
37813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37814 maintainer-clean) \
37815 || exit 1
37817 @endif target-zlib
37823 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37824 maybe-configure-target-boehm-gc:
37825 @if gcc-bootstrap
37826 configure-target-boehm-gc: stage_current
37827 @endif gcc-bootstrap
37828 @if target-boehm-gc
37829 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37830 configure-target-boehm-gc:
37831 @: $(MAKE); $(unstage)
37832 @r=`${PWD_COMMAND}`; export r; \
37833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37834 echo "Checking multilib configuration for boehm-gc..."; \
37835 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37836 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37837 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37838 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37839 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37840 else \
37841 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37842 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37843 fi; \
37844 else \
37845 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37846 fi; \
37847 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37849 $(NORMAL_TARGET_EXPORTS) \
37850 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37851 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37852 case $(srcdir) in \
37853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37854 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37856 esac; \
37857 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37858 libsrcdir="$$s/boehm-gc"; \
37859 rm -f no-such-file || : ; \
37860 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37861 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37862 --target=${target_alias} $${srcdiroption} \
37863 || exit 1
37864 @endif target-boehm-gc
37870 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37871 maybe-all-target-boehm-gc:
37872 @if gcc-bootstrap
37873 all-target-boehm-gc: stage_current
37874 @endif gcc-bootstrap
37875 @if target-boehm-gc
37876 TARGET-target-boehm-gc=all
37877 maybe-all-target-boehm-gc: all-target-boehm-gc
37878 all-target-boehm-gc: configure-target-boehm-gc
37879 @: $(MAKE); $(unstage)
37880 @r=`${PWD_COMMAND}`; export r; \
37881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37882 $(NORMAL_TARGET_EXPORTS) \
37883 (cd $(TARGET_SUBDIR)/boehm-gc && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37885 $(TARGET-target-boehm-gc))
37886 @endif target-boehm-gc
37892 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37893 maybe-check-target-boehm-gc:
37894 @if target-boehm-gc
37895 maybe-check-target-boehm-gc: check-target-boehm-gc
37897 check-target-boehm-gc:
37898 @: $(MAKE); $(unstage)
37899 @r=`${PWD_COMMAND}`; export r; \
37900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37901 $(NORMAL_TARGET_EXPORTS) \
37902 (cd $(TARGET_SUBDIR)/boehm-gc && \
37903 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37905 @endif target-boehm-gc
37907 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37908 maybe-install-target-boehm-gc:
37909 @if target-boehm-gc
37910 maybe-install-target-boehm-gc: install-target-boehm-gc
37912 install-target-boehm-gc: installdirs
37913 @: $(MAKE); $(unstage)
37914 @r=`${PWD_COMMAND}`; export r; \
37915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37916 $(NORMAL_TARGET_EXPORTS) \
37917 (cd $(TARGET_SUBDIR)/boehm-gc && \
37918 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37920 @endif target-boehm-gc
37922 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37923 maybe-install-strip-target-boehm-gc:
37924 @if target-boehm-gc
37925 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37927 install-strip-target-boehm-gc: installdirs
37928 @: $(MAKE); $(unstage)
37929 @r=`${PWD_COMMAND}`; export r; \
37930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37931 $(NORMAL_TARGET_EXPORTS) \
37932 (cd $(TARGET_SUBDIR)/boehm-gc && \
37933 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37935 @endif target-boehm-gc
37937 # Other targets (info, dvi, pdf, etc.)
37939 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37940 maybe-info-target-boehm-gc:
37941 @if target-boehm-gc
37942 maybe-info-target-boehm-gc: info-target-boehm-gc
37944 info-target-boehm-gc: \
37945 configure-target-boehm-gc
37946 @: $(MAKE); $(unstage)
37947 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37948 r=`${PWD_COMMAND}`; export r; \
37949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37950 $(NORMAL_TARGET_EXPORTS) \
37951 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37952 for flag in $(EXTRA_TARGET_FLAGS); do \
37953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37954 done; \
37955 (cd $(TARGET_SUBDIR)/boehm-gc && \
37956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37958 "RANLIB=$${RANLIB}" \
37959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37960 info) \
37961 || exit 1
37963 @endif target-boehm-gc
37965 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37966 maybe-dvi-target-boehm-gc:
37967 @if target-boehm-gc
37968 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37970 dvi-target-boehm-gc: \
37971 configure-target-boehm-gc
37972 @: $(MAKE); $(unstage)
37973 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37974 r=`${PWD_COMMAND}`; export r; \
37975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37976 $(NORMAL_TARGET_EXPORTS) \
37977 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37978 for flag in $(EXTRA_TARGET_FLAGS); do \
37979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37980 done; \
37981 (cd $(TARGET_SUBDIR)/boehm-gc && \
37982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37984 "RANLIB=$${RANLIB}" \
37985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37986 dvi) \
37987 || exit 1
37989 @endif target-boehm-gc
37991 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37992 maybe-pdf-target-boehm-gc:
37993 @if target-boehm-gc
37994 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37996 pdf-target-boehm-gc: \
37997 configure-target-boehm-gc
37998 @: $(MAKE); $(unstage)
37999 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38000 r=`${PWD_COMMAND}`; export r; \
38001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38002 $(NORMAL_TARGET_EXPORTS) \
38003 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38004 for flag in $(EXTRA_TARGET_FLAGS); do \
38005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38006 done; \
38007 (cd $(TARGET_SUBDIR)/boehm-gc && \
38008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38010 "RANLIB=$${RANLIB}" \
38011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38012 pdf) \
38013 || exit 1
38015 @endif target-boehm-gc
38017 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38018 maybe-html-target-boehm-gc:
38019 @if target-boehm-gc
38020 maybe-html-target-boehm-gc: html-target-boehm-gc
38022 html-target-boehm-gc: \
38023 configure-target-boehm-gc
38024 @: $(MAKE); $(unstage)
38025 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38026 r=`${PWD_COMMAND}`; export r; \
38027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38028 $(NORMAL_TARGET_EXPORTS) \
38029 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38030 for flag in $(EXTRA_TARGET_FLAGS); do \
38031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38032 done; \
38033 (cd $(TARGET_SUBDIR)/boehm-gc && \
38034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38036 "RANLIB=$${RANLIB}" \
38037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38038 html) \
38039 || exit 1
38041 @endif target-boehm-gc
38043 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38044 maybe-TAGS-target-boehm-gc:
38045 @if target-boehm-gc
38046 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38048 TAGS-target-boehm-gc: \
38049 configure-target-boehm-gc
38050 @: $(MAKE); $(unstage)
38051 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38052 r=`${PWD_COMMAND}`; export r; \
38053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38054 $(NORMAL_TARGET_EXPORTS) \
38055 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38056 for flag in $(EXTRA_TARGET_FLAGS); do \
38057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38058 done; \
38059 (cd $(TARGET_SUBDIR)/boehm-gc && \
38060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38062 "RANLIB=$${RANLIB}" \
38063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38064 TAGS) \
38065 || exit 1
38067 @endif target-boehm-gc
38069 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38070 maybe-install-info-target-boehm-gc:
38071 @if target-boehm-gc
38072 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38074 install-info-target-boehm-gc: \
38075 configure-target-boehm-gc \
38076 info-target-boehm-gc
38077 @: $(MAKE); $(unstage)
38078 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38079 r=`${PWD_COMMAND}`; export r; \
38080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38081 $(NORMAL_TARGET_EXPORTS) \
38082 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38083 for flag in $(EXTRA_TARGET_FLAGS); do \
38084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38085 done; \
38086 (cd $(TARGET_SUBDIR)/boehm-gc && \
38087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38089 "RANLIB=$${RANLIB}" \
38090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38091 install-info) \
38092 || exit 1
38094 @endif target-boehm-gc
38096 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38097 maybe-install-pdf-target-boehm-gc:
38098 @if target-boehm-gc
38099 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38101 install-pdf-target-boehm-gc: \
38102 configure-target-boehm-gc \
38103 pdf-target-boehm-gc
38104 @: $(MAKE); $(unstage)
38105 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38106 r=`${PWD_COMMAND}`; export r; \
38107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38108 $(NORMAL_TARGET_EXPORTS) \
38109 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38110 for flag in $(EXTRA_TARGET_FLAGS); do \
38111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38112 done; \
38113 (cd $(TARGET_SUBDIR)/boehm-gc && \
38114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38116 "RANLIB=$${RANLIB}" \
38117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38118 install-pdf) \
38119 || exit 1
38121 @endif target-boehm-gc
38123 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38124 maybe-install-html-target-boehm-gc:
38125 @if target-boehm-gc
38126 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38128 install-html-target-boehm-gc: \
38129 configure-target-boehm-gc \
38130 html-target-boehm-gc
38131 @: $(MAKE); $(unstage)
38132 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38133 r=`${PWD_COMMAND}`; export r; \
38134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38135 $(NORMAL_TARGET_EXPORTS) \
38136 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38137 for flag in $(EXTRA_TARGET_FLAGS); do \
38138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38139 done; \
38140 (cd $(TARGET_SUBDIR)/boehm-gc && \
38141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38143 "RANLIB=$${RANLIB}" \
38144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38145 install-html) \
38146 || exit 1
38148 @endif target-boehm-gc
38150 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38151 maybe-installcheck-target-boehm-gc:
38152 @if target-boehm-gc
38153 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38155 installcheck-target-boehm-gc: \
38156 configure-target-boehm-gc
38157 @: $(MAKE); $(unstage)
38158 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38159 r=`${PWD_COMMAND}`; export r; \
38160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38161 $(NORMAL_TARGET_EXPORTS) \
38162 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38163 for flag in $(EXTRA_TARGET_FLAGS); do \
38164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38165 done; \
38166 (cd $(TARGET_SUBDIR)/boehm-gc && \
38167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38169 "RANLIB=$${RANLIB}" \
38170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38171 installcheck) \
38172 || exit 1
38174 @endif target-boehm-gc
38176 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38177 maybe-mostlyclean-target-boehm-gc:
38178 @if target-boehm-gc
38179 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38181 mostlyclean-target-boehm-gc:
38182 @: $(MAKE); $(unstage)
38183 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38184 r=`${PWD_COMMAND}`; export r; \
38185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38186 $(NORMAL_TARGET_EXPORTS) \
38187 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38188 for flag in $(EXTRA_TARGET_FLAGS); do \
38189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38190 done; \
38191 (cd $(TARGET_SUBDIR)/boehm-gc && \
38192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38194 "RANLIB=$${RANLIB}" \
38195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38196 mostlyclean) \
38197 || exit 1
38199 @endif target-boehm-gc
38201 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38202 maybe-clean-target-boehm-gc:
38203 @if target-boehm-gc
38204 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38206 clean-target-boehm-gc:
38207 @: $(MAKE); $(unstage)
38208 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38209 r=`${PWD_COMMAND}`; export r; \
38210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38211 $(NORMAL_TARGET_EXPORTS) \
38212 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38213 for flag in $(EXTRA_TARGET_FLAGS); do \
38214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38215 done; \
38216 (cd $(TARGET_SUBDIR)/boehm-gc && \
38217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38219 "RANLIB=$${RANLIB}" \
38220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38221 clean) \
38222 || exit 1
38224 @endif target-boehm-gc
38226 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38227 maybe-distclean-target-boehm-gc:
38228 @if target-boehm-gc
38229 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38231 distclean-target-boehm-gc:
38232 @: $(MAKE); $(unstage)
38233 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38234 r=`${PWD_COMMAND}`; export r; \
38235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38236 $(NORMAL_TARGET_EXPORTS) \
38237 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38238 for flag in $(EXTRA_TARGET_FLAGS); do \
38239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38240 done; \
38241 (cd $(TARGET_SUBDIR)/boehm-gc && \
38242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38244 "RANLIB=$${RANLIB}" \
38245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38246 distclean) \
38247 || exit 1
38249 @endif target-boehm-gc
38251 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38252 maybe-maintainer-clean-target-boehm-gc:
38253 @if target-boehm-gc
38254 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38256 maintainer-clean-target-boehm-gc:
38257 @: $(MAKE); $(unstage)
38258 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38259 r=`${PWD_COMMAND}`; export r; \
38260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38261 $(NORMAL_TARGET_EXPORTS) \
38262 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38263 for flag in $(EXTRA_TARGET_FLAGS); do \
38264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38265 done; \
38266 (cd $(TARGET_SUBDIR)/boehm-gc && \
38267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38269 "RANLIB=$${RANLIB}" \
38270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38271 maintainer-clean) \
38272 || exit 1
38274 @endif target-boehm-gc
38280 .PHONY: configure-target-rda maybe-configure-target-rda
38281 maybe-configure-target-rda:
38282 @if gcc-bootstrap
38283 configure-target-rda: stage_current
38284 @endif gcc-bootstrap
38285 @if target-rda
38286 maybe-configure-target-rda: configure-target-rda
38287 configure-target-rda:
38288 @: $(MAKE); $(unstage)
38289 @r=`${PWD_COMMAND}`; export r; \
38290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38291 echo "Checking multilib configuration for rda..."; \
38292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38293 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38294 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38295 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38296 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38297 else \
38298 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38299 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38300 fi; \
38301 else \
38302 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38303 fi; \
38304 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38306 $(NORMAL_TARGET_EXPORTS) \
38307 echo Configuring in $(TARGET_SUBDIR)/rda; \
38308 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38309 case $(srcdir) in \
38310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38311 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38313 esac; \
38314 srcdiroption="--srcdir=$${topdir}/rda"; \
38315 libsrcdir="$$s/rda"; \
38316 rm -f no-such-file || : ; \
38317 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38318 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38319 --target=${target_alias} $${srcdiroption} \
38320 || exit 1
38321 @endif target-rda
38327 .PHONY: all-target-rda maybe-all-target-rda
38328 maybe-all-target-rda:
38329 @if gcc-bootstrap
38330 all-target-rda: stage_current
38331 @endif gcc-bootstrap
38332 @if target-rda
38333 TARGET-target-rda=all
38334 maybe-all-target-rda: all-target-rda
38335 all-target-rda: configure-target-rda
38336 @: $(MAKE); $(unstage)
38337 @r=`${PWD_COMMAND}`; export r; \
38338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38339 $(NORMAL_TARGET_EXPORTS) \
38340 (cd $(TARGET_SUBDIR)/rda && \
38341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38342 $(TARGET-target-rda))
38343 @endif target-rda
38349 .PHONY: check-target-rda maybe-check-target-rda
38350 maybe-check-target-rda:
38351 @if target-rda
38352 maybe-check-target-rda: check-target-rda
38354 check-target-rda:
38355 @: $(MAKE); $(unstage)
38356 @r=`${PWD_COMMAND}`; export r; \
38357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38358 $(NORMAL_TARGET_EXPORTS) \
38359 (cd $(TARGET_SUBDIR)/rda && \
38360 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38362 @endif target-rda
38364 .PHONY: install-target-rda maybe-install-target-rda
38365 maybe-install-target-rda:
38366 @if target-rda
38367 maybe-install-target-rda: install-target-rda
38369 install-target-rda: installdirs
38370 @: $(MAKE); $(unstage)
38371 @r=`${PWD_COMMAND}`; export r; \
38372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38373 $(NORMAL_TARGET_EXPORTS) \
38374 (cd $(TARGET_SUBDIR)/rda && \
38375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38377 @endif target-rda
38379 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38380 maybe-install-strip-target-rda:
38381 @if target-rda
38382 maybe-install-strip-target-rda: install-strip-target-rda
38384 install-strip-target-rda: installdirs
38385 @: $(MAKE); $(unstage)
38386 @r=`${PWD_COMMAND}`; export r; \
38387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38388 $(NORMAL_TARGET_EXPORTS) \
38389 (cd $(TARGET_SUBDIR)/rda && \
38390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38392 @endif target-rda
38394 # Other targets (info, dvi, pdf, etc.)
38396 .PHONY: maybe-info-target-rda info-target-rda
38397 maybe-info-target-rda:
38398 @if target-rda
38399 maybe-info-target-rda: info-target-rda
38401 info-target-rda: \
38402 configure-target-rda
38403 @: $(MAKE); $(unstage)
38404 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38405 r=`${PWD_COMMAND}`; export r; \
38406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38407 $(NORMAL_TARGET_EXPORTS) \
38408 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38409 for flag in $(EXTRA_TARGET_FLAGS); do \
38410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38411 done; \
38412 (cd $(TARGET_SUBDIR)/rda && \
38413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38415 "RANLIB=$${RANLIB}" \
38416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38417 info) \
38418 || exit 1
38420 @endif target-rda
38422 .PHONY: maybe-dvi-target-rda dvi-target-rda
38423 maybe-dvi-target-rda:
38424 @if target-rda
38425 maybe-dvi-target-rda: dvi-target-rda
38427 dvi-target-rda: \
38428 configure-target-rda
38429 @: $(MAKE); $(unstage)
38430 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38431 r=`${PWD_COMMAND}`; export r; \
38432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38433 $(NORMAL_TARGET_EXPORTS) \
38434 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38435 for flag in $(EXTRA_TARGET_FLAGS); do \
38436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38437 done; \
38438 (cd $(TARGET_SUBDIR)/rda && \
38439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38441 "RANLIB=$${RANLIB}" \
38442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38443 dvi) \
38444 || exit 1
38446 @endif target-rda
38448 .PHONY: maybe-pdf-target-rda pdf-target-rda
38449 maybe-pdf-target-rda:
38450 @if target-rda
38451 maybe-pdf-target-rda: pdf-target-rda
38453 pdf-target-rda: \
38454 configure-target-rda
38455 @: $(MAKE); $(unstage)
38456 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38457 r=`${PWD_COMMAND}`; export r; \
38458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38459 $(NORMAL_TARGET_EXPORTS) \
38460 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38461 for flag in $(EXTRA_TARGET_FLAGS); do \
38462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38463 done; \
38464 (cd $(TARGET_SUBDIR)/rda && \
38465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38467 "RANLIB=$${RANLIB}" \
38468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38469 pdf) \
38470 || exit 1
38472 @endif target-rda
38474 .PHONY: maybe-html-target-rda html-target-rda
38475 maybe-html-target-rda:
38476 @if target-rda
38477 maybe-html-target-rda: html-target-rda
38479 html-target-rda: \
38480 configure-target-rda
38481 @: $(MAKE); $(unstage)
38482 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38483 r=`${PWD_COMMAND}`; export r; \
38484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38485 $(NORMAL_TARGET_EXPORTS) \
38486 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38487 for flag in $(EXTRA_TARGET_FLAGS); do \
38488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38489 done; \
38490 (cd $(TARGET_SUBDIR)/rda && \
38491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38493 "RANLIB=$${RANLIB}" \
38494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38495 html) \
38496 || exit 1
38498 @endif target-rda
38500 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38501 maybe-TAGS-target-rda:
38502 @if target-rda
38503 maybe-TAGS-target-rda: TAGS-target-rda
38505 TAGS-target-rda: \
38506 configure-target-rda
38507 @: $(MAKE); $(unstage)
38508 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38509 r=`${PWD_COMMAND}`; export r; \
38510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38511 $(NORMAL_TARGET_EXPORTS) \
38512 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38513 for flag in $(EXTRA_TARGET_FLAGS); do \
38514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38515 done; \
38516 (cd $(TARGET_SUBDIR)/rda && \
38517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38519 "RANLIB=$${RANLIB}" \
38520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38521 TAGS) \
38522 || exit 1
38524 @endif target-rda
38526 .PHONY: maybe-install-info-target-rda install-info-target-rda
38527 maybe-install-info-target-rda:
38528 @if target-rda
38529 maybe-install-info-target-rda: install-info-target-rda
38531 install-info-target-rda: \
38532 configure-target-rda \
38533 info-target-rda
38534 @: $(MAKE); $(unstage)
38535 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38536 r=`${PWD_COMMAND}`; export r; \
38537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38538 $(NORMAL_TARGET_EXPORTS) \
38539 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38540 for flag in $(EXTRA_TARGET_FLAGS); do \
38541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38542 done; \
38543 (cd $(TARGET_SUBDIR)/rda && \
38544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38546 "RANLIB=$${RANLIB}" \
38547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38548 install-info) \
38549 || exit 1
38551 @endif target-rda
38553 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38554 maybe-install-pdf-target-rda:
38555 @if target-rda
38556 maybe-install-pdf-target-rda: install-pdf-target-rda
38558 install-pdf-target-rda: \
38559 configure-target-rda \
38560 pdf-target-rda
38561 @: $(MAKE); $(unstage)
38562 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38563 r=`${PWD_COMMAND}`; export r; \
38564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38565 $(NORMAL_TARGET_EXPORTS) \
38566 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38567 for flag in $(EXTRA_TARGET_FLAGS); do \
38568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38569 done; \
38570 (cd $(TARGET_SUBDIR)/rda && \
38571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38573 "RANLIB=$${RANLIB}" \
38574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38575 install-pdf) \
38576 || exit 1
38578 @endif target-rda
38580 .PHONY: maybe-install-html-target-rda install-html-target-rda
38581 maybe-install-html-target-rda:
38582 @if target-rda
38583 maybe-install-html-target-rda: install-html-target-rda
38585 install-html-target-rda: \
38586 configure-target-rda \
38587 html-target-rda
38588 @: $(MAKE); $(unstage)
38589 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38590 r=`${PWD_COMMAND}`; export r; \
38591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38592 $(NORMAL_TARGET_EXPORTS) \
38593 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38594 for flag in $(EXTRA_TARGET_FLAGS); do \
38595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38596 done; \
38597 (cd $(TARGET_SUBDIR)/rda && \
38598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38600 "RANLIB=$${RANLIB}" \
38601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38602 install-html) \
38603 || exit 1
38605 @endif target-rda
38607 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38608 maybe-installcheck-target-rda:
38609 @if target-rda
38610 maybe-installcheck-target-rda: installcheck-target-rda
38612 installcheck-target-rda: \
38613 configure-target-rda
38614 @: $(MAKE); $(unstage)
38615 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38616 r=`${PWD_COMMAND}`; export r; \
38617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38618 $(NORMAL_TARGET_EXPORTS) \
38619 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38620 for flag in $(EXTRA_TARGET_FLAGS); do \
38621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38622 done; \
38623 (cd $(TARGET_SUBDIR)/rda && \
38624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38626 "RANLIB=$${RANLIB}" \
38627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38628 installcheck) \
38629 || exit 1
38631 @endif target-rda
38633 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38634 maybe-mostlyclean-target-rda:
38635 @if target-rda
38636 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38638 mostlyclean-target-rda:
38639 @: $(MAKE); $(unstage)
38640 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38641 r=`${PWD_COMMAND}`; export r; \
38642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38643 $(NORMAL_TARGET_EXPORTS) \
38644 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38645 for flag in $(EXTRA_TARGET_FLAGS); do \
38646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38647 done; \
38648 (cd $(TARGET_SUBDIR)/rda && \
38649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38651 "RANLIB=$${RANLIB}" \
38652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38653 mostlyclean) \
38654 || exit 1
38656 @endif target-rda
38658 .PHONY: maybe-clean-target-rda clean-target-rda
38659 maybe-clean-target-rda:
38660 @if target-rda
38661 maybe-clean-target-rda: clean-target-rda
38663 clean-target-rda:
38664 @: $(MAKE); $(unstage)
38665 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38666 r=`${PWD_COMMAND}`; export r; \
38667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38668 $(NORMAL_TARGET_EXPORTS) \
38669 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38670 for flag in $(EXTRA_TARGET_FLAGS); do \
38671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38672 done; \
38673 (cd $(TARGET_SUBDIR)/rda && \
38674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38676 "RANLIB=$${RANLIB}" \
38677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38678 clean) \
38679 || exit 1
38681 @endif target-rda
38683 .PHONY: maybe-distclean-target-rda distclean-target-rda
38684 maybe-distclean-target-rda:
38685 @if target-rda
38686 maybe-distclean-target-rda: distclean-target-rda
38688 distclean-target-rda:
38689 @: $(MAKE); $(unstage)
38690 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38691 r=`${PWD_COMMAND}`; export r; \
38692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38693 $(NORMAL_TARGET_EXPORTS) \
38694 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38695 for flag in $(EXTRA_TARGET_FLAGS); do \
38696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38697 done; \
38698 (cd $(TARGET_SUBDIR)/rda && \
38699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38701 "RANLIB=$${RANLIB}" \
38702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38703 distclean) \
38704 || exit 1
38706 @endif target-rda
38708 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38709 maybe-maintainer-clean-target-rda:
38710 @if target-rda
38711 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38713 maintainer-clean-target-rda:
38714 @: $(MAKE); $(unstage)
38715 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38716 r=`${PWD_COMMAND}`; export r; \
38717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38718 $(NORMAL_TARGET_EXPORTS) \
38719 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38720 for flag in $(EXTRA_TARGET_FLAGS); do \
38721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38722 done; \
38723 (cd $(TARGET_SUBDIR)/rda && \
38724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38726 "RANLIB=$${RANLIB}" \
38727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38728 maintainer-clean) \
38729 || exit 1
38731 @endif target-rda
38737 .PHONY: configure-target-libada maybe-configure-target-libada
38738 maybe-configure-target-libada:
38739 @if gcc-bootstrap
38740 configure-target-libada: stage_current
38741 @endif gcc-bootstrap
38742 @if target-libada
38743 maybe-configure-target-libada: configure-target-libada
38744 configure-target-libada:
38745 @: $(MAKE); $(unstage)
38746 @r=`${PWD_COMMAND}`; export r; \
38747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38748 echo "Checking multilib configuration for libada..."; \
38749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38750 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38751 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38752 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38753 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38754 else \
38755 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38756 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38757 fi; \
38758 else \
38759 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38760 fi; \
38761 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38762 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38763 $(NORMAL_TARGET_EXPORTS) \
38764 echo Configuring in $(TARGET_SUBDIR)/libada; \
38765 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38766 case $(srcdir) in \
38767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38768 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38770 esac; \
38771 srcdiroption="--srcdir=$${topdir}/libada"; \
38772 libsrcdir="$$s/libada"; \
38773 rm -f no-such-file || : ; \
38774 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38775 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38776 --target=${target_alias} $${srcdiroption} \
38777 || exit 1
38778 @endif target-libada
38784 .PHONY: all-target-libada maybe-all-target-libada
38785 maybe-all-target-libada:
38786 @if gcc-bootstrap
38787 all-target-libada: stage_current
38788 @endif gcc-bootstrap
38789 @if target-libada
38790 TARGET-target-libada=all
38791 maybe-all-target-libada: all-target-libada
38792 all-target-libada: configure-target-libada
38793 @: $(MAKE); $(unstage)
38794 @r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 $(NORMAL_TARGET_EXPORTS) \
38797 (cd $(TARGET_SUBDIR)/libada && \
38798 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38799 $(TARGET-target-libada))
38800 @endif target-libada
38806 .PHONY: check-target-libada maybe-check-target-libada
38807 maybe-check-target-libada:
38808 @if target-libada
38809 maybe-check-target-libada: check-target-libada
38811 check-target-libada:
38812 @: $(MAKE); $(unstage)
38813 @r=`${PWD_COMMAND}`; export r; \
38814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38815 $(NORMAL_TARGET_EXPORTS) \
38816 (cd $(TARGET_SUBDIR)/libada && \
38817 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38819 @endif target-libada
38821 .PHONY: install-target-libada maybe-install-target-libada
38822 maybe-install-target-libada:
38823 @if target-libada
38824 maybe-install-target-libada: install-target-libada
38826 install-target-libada: installdirs
38827 @: $(MAKE); $(unstage)
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 $(NORMAL_TARGET_EXPORTS) \
38831 (cd $(TARGET_SUBDIR)/libada && \
38832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38834 @endif target-libada
38836 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38837 maybe-install-strip-target-libada:
38838 @if target-libada
38839 maybe-install-strip-target-libada: install-strip-target-libada
38841 install-strip-target-libada: installdirs
38842 @: $(MAKE); $(unstage)
38843 @r=`${PWD_COMMAND}`; export r; \
38844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38845 $(NORMAL_TARGET_EXPORTS) \
38846 (cd $(TARGET_SUBDIR)/libada && \
38847 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38849 @endif target-libada
38851 # Other targets (info, dvi, pdf, etc.)
38853 .PHONY: maybe-info-target-libada info-target-libada
38854 maybe-info-target-libada:
38855 @if target-libada
38856 maybe-info-target-libada: info-target-libada
38858 info-target-libada: \
38859 configure-target-libada
38860 @: $(MAKE); $(unstage)
38861 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38862 r=`${PWD_COMMAND}`; export r; \
38863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38864 $(NORMAL_TARGET_EXPORTS) \
38865 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38866 for flag in $(EXTRA_TARGET_FLAGS); do \
38867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38868 done; \
38869 (cd $(TARGET_SUBDIR)/libada && \
38870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38872 "RANLIB=$${RANLIB}" \
38873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38874 info) \
38875 || exit 1
38877 @endif target-libada
38879 .PHONY: maybe-dvi-target-libada dvi-target-libada
38880 maybe-dvi-target-libada:
38881 @if target-libada
38882 maybe-dvi-target-libada: dvi-target-libada
38884 dvi-target-libada: \
38885 configure-target-libada
38886 @: $(MAKE); $(unstage)
38887 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38888 r=`${PWD_COMMAND}`; export r; \
38889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38890 $(NORMAL_TARGET_EXPORTS) \
38891 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38892 for flag in $(EXTRA_TARGET_FLAGS); do \
38893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38894 done; \
38895 (cd $(TARGET_SUBDIR)/libada && \
38896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38898 "RANLIB=$${RANLIB}" \
38899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38900 dvi) \
38901 || exit 1
38903 @endif target-libada
38905 .PHONY: maybe-pdf-target-libada pdf-target-libada
38906 maybe-pdf-target-libada:
38907 @if target-libada
38908 maybe-pdf-target-libada: pdf-target-libada
38910 pdf-target-libada: \
38911 configure-target-libada
38912 @: $(MAKE); $(unstage)
38913 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38914 r=`${PWD_COMMAND}`; export r; \
38915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38916 $(NORMAL_TARGET_EXPORTS) \
38917 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38918 for flag in $(EXTRA_TARGET_FLAGS); do \
38919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38920 done; \
38921 (cd $(TARGET_SUBDIR)/libada && \
38922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38924 "RANLIB=$${RANLIB}" \
38925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38926 pdf) \
38927 || exit 1
38929 @endif target-libada
38931 .PHONY: maybe-html-target-libada html-target-libada
38932 maybe-html-target-libada:
38933 @if target-libada
38934 maybe-html-target-libada: html-target-libada
38936 html-target-libada: \
38937 configure-target-libada
38938 @: $(MAKE); $(unstage)
38939 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38940 r=`${PWD_COMMAND}`; export r; \
38941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38942 $(NORMAL_TARGET_EXPORTS) \
38943 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38944 for flag in $(EXTRA_TARGET_FLAGS); do \
38945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38946 done; \
38947 (cd $(TARGET_SUBDIR)/libada && \
38948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38950 "RANLIB=$${RANLIB}" \
38951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38952 html) \
38953 || exit 1
38955 @endif target-libada
38957 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38958 maybe-TAGS-target-libada:
38959 @if target-libada
38960 maybe-TAGS-target-libada: TAGS-target-libada
38962 TAGS-target-libada: \
38963 configure-target-libada
38964 @: $(MAKE); $(unstage)
38965 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38966 r=`${PWD_COMMAND}`; export r; \
38967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38968 $(NORMAL_TARGET_EXPORTS) \
38969 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38970 for flag in $(EXTRA_TARGET_FLAGS); do \
38971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38972 done; \
38973 (cd $(TARGET_SUBDIR)/libada && \
38974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38976 "RANLIB=$${RANLIB}" \
38977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38978 TAGS) \
38979 || exit 1
38981 @endif target-libada
38983 .PHONY: maybe-install-info-target-libada install-info-target-libada
38984 maybe-install-info-target-libada:
38985 @if target-libada
38986 maybe-install-info-target-libada: install-info-target-libada
38988 install-info-target-libada: \
38989 configure-target-libada \
38990 info-target-libada
38991 @: $(MAKE); $(unstage)
38992 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38993 r=`${PWD_COMMAND}`; export r; \
38994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38995 $(NORMAL_TARGET_EXPORTS) \
38996 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38997 for flag in $(EXTRA_TARGET_FLAGS); do \
38998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38999 done; \
39000 (cd $(TARGET_SUBDIR)/libada && \
39001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39003 "RANLIB=$${RANLIB}" \
39004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39005 install-info) \
39006 || exit 1
39008 @endif target-libada
39010 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39011 maybe-install-pdf-target-libada:
39012 @if target-libada
39013 maybe-install-pdf-target-libada: install-pdf-target-libada
39015 install-pdf-target-libada: \
39016 configure-target-libada \
39017 pdf-target-libada
39018 @: $(MAKE); $(unstage)
39019 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39020 r=`${PWD_COMMAND}`; export r; \
39021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39022 $(NORMAL_TARGET_EXPORTS) \
39023 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39024 for flag in $(EXTRA_TARGET_FLAGS); do \
39025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39026 done; \
39027 (cd $(TARGET_SUBDIR)/libada && \
39028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39030 "RANLIB=$${RANLIB}" \
39031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39032 install-pdf) \
39033 || exit 1
39035 @endif target-libada
39037 .PHONY: maybe-install-html-target-libada install-html-target-libada
39038 maybe-install-html-target-libada:
39039 @if target-libada
39040 maybe-install-html-target-libada: install-html-target-libada
39042 install-html-target-libada: \
39043 configure-target-libada \
39044 html-target-libada
39045 @: $(MAKE); $(unstage)
39046 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39047 r=`${PWD_COMMAND}`; export r; \
39048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39049 $(NORMAL_TARGET_EXPORTS) \
39050 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39051 for flag in $(EXTRA_TARGET_FLAGS); do \
39052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39053 done; \
39054 (cd $(TARGET_SUBDIR)/libada && \
39055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39057 "RANLIB=$${RANLIB}" \
39058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39059 install-html) \
39060 || exit 1
39062 @endif target-libada
39064 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39065 maybe-installcheck-target-libada:
39066 @if target-libada
39067 maybe-installcheck-target-libada: installcheck-target-libada
39069 installcheck-target-libada: \
39070 configure-target-libada
39071 @: $(MAKE); $(unstage)
39072 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39073 r=`${PWD_COMMAND}`; export r; \
39074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39075 $(NORMAL_TARGET_EXPORTS) \
39076 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39077 for flag in $(EXTRA_TARGET_FLAGS); do \
39078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39079 done; \
39080 (cd $(TARGET_SUBDIR)/libada && \
39081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39083 "RANLIB=$${RANLIB}" \
39084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39085 installcheck) \
39086 || exit 1
39088 @endif target-libada
39090 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39091 maybe-mostlyclean-target-libada:
39092 @if target-libada
39093 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39095 mostlyclean-target-libada:
39096 @: $(MAKE); $(unstage)
39097 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39098 r=`${PWD_COMMAND}`; export r; \
39099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39100 $(NORMAL_TARGET_EXPORTS) \
39101 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39102 for flag in $(EXTRA_TARGET_FLAGS); do \
39103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39104 done; \
39105 (cd $(TARGET_SUBDIR)/libada && \
39106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39108 "RANLIB=$${RANLIB}" \
39109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39110 mostlyclean) \
39111 || exit 1
39113 @endif target-libada
39115 .PHONY: maybe-clean-target-libada clean-target-libada
39116 maybe-clean-target-libada:
39117 @if target-libada
39118 maybe-clean-target-libada: clean-target-libada
39120 clean-target-libada:
39121 @: $(MAKE); $(unstage)
39122 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39123 r=`${PWD_COMMAND}`; export r; \
39124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39125 $(NORMAL_TARGET_EXPORTS) \
39126 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39127 for flag in $(EXTRA_TARGET_FLAGS); do \
39128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39129 done; \
39130 (cd $(TARGET_SUBDIR)/libada && \
39131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39133 "RANLIB=$${RANLIB}" \
39134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39135 clean) \
39136 || exit 1
39138 @endif target-libada
39140 .PHONY: maybe-distclean-target-libada distclean-target-libada
39141 maybe-distclean-target-libada:
39142 @if target-libada
39143 maybe-distclean-target-libada: distclean-target-libada
39145 distclean-target-libada:
39146 @: $(MAKE); $(unstage)
39147 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39148 r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 $(NORMAL_TARGET_EXPORTS) \
39151 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39152 for flag in $(EXTRA_TARGET_FLAGS); do \
39153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39154 done; \
39155 (cd $(TARGET_SUBDIR)/libada && \
39156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39158 "RANLIB=$${RANLIB}" \
39159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39160 distclean) \
39161 || exit 1
39163 @endif target-libada
39165 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39166 maybe-maintainer-clean-target-libada:
39167 @if target-libada
39168 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39170 maintainer-clean-target-libada:
39171 @: $(MAKE); $(unstage)
39172 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39173 r=`${PWD_COMMAND}`; export r; \
39174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39175 $(NORMAL_TARGET_EXPORTS) \
39176 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39177 for flag in $(EXTRA_TARGET_FLAGS); do \
39178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39179 done; \
39180 (cd $(TARGET_SUBDIR)/libada && \
39181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39183 "RANLIB=$${RANLIB}" \
39184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39185 maintainer-clean) \
39186 || exit 1
39188 @endif target-libada
39194 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39195 maybe-configure-target-libgomp:
39196 @if gcc-bootstrap
39197 configure-target-libgomp: stage_current
39198 @endif gcc-bootstrap
39199 @if target-libgomp
39200 maybe-configure-target-libgomp: configure-target-libgomp
39201 configure-target-libgomp:
39202 @r=`${PWD_COMMAND}`; export r; \
39203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39204 echo "Checking multilib configuration for libgomp..."; \
39205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39206 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39207 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39208 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39209 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39210 else \
39211 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39212 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39213 fi; \
39214 else \
39215 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39216 fi; \
39217 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39218 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39219 $(NORMAL_TARGET_EXPORTS) \
39220 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39221 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39222 case $(srcdir) in \
39223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39224 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39226 esac; \
39227 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39228 libsrcdir="$$s/libgomp"; \
39229 rm -f no-such-file || : ; \
39230 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39231 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39232 --target=${target_alias} $${srcdiroption} \
39233 || exit 1
39234 @endif target-libgomp
39238 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39239 maybe-configure-stage1-target-libgomp:
39240 @if target-libgomp-bootstrap
39241 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39242 configure-stage1-target-libgomp:
39243 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39244 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39245 @r=`${PWD_COMMAND}`; export r; \
39246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39247 TFLAGS="$(STAGE1_TFLAGS)"; \
39248 echo "Checking multilib configuration for libgomp..."; \
39249 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39250 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39251 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39252 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39253 else \
39254 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39255 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39256 fi; \
39257 else \
39258 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39259 fi; \
39260 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39261 $(NORMAL_TARGET_EXPORTS) \
39262 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39263 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39264 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39265 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39267 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39268 case $(srcdir) in \
39269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39270 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39272 esac; \
39273 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39274 libsrcdir="$$s/libgomp"; \
39275 $(SHELL) $${libsrcdir}/configure \
39276 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39277 --target=${target_alias} $${srcdiroption} \
39278 $(STAGE1_CONFIGURE_FLAGS)
39279 @endif target-libgomp-bootstrap
39281 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39282 maybe-configure-stage2-target-libgomp:
39283 @if target-libgomp-bootstrap
39284 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39285 configure-stage2-target-libgomp:
39286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39287 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39288 @r=`${PWD_COMMAND}`; export r; \
39289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39290 TFLAGS="$(STAGE2_TFLAGS)"; \
39291 echo "Checking multilib configuration for libgomp..."; \
39292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39293 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39294 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39295 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39296 else \
39297 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39298 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39299 fi; \
39300 else \
39301 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39302 fi; \
39303 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39304 $(NORMAL_TARGET_EXPORTS) \
39306 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39309 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39311 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39312 case $(srcdir) in \
39313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39314 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39316 esac; \
39317 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39318 libsrcdir="$$s/libgomp"; \
39319 $(SHELL) $${libsrcdir}/configure \
39320 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39321 --target=${target_alias} $${srcdiroption} \
39322 --with-build-libsubdir=$(HOST_SUBDIR) \
39323 $(STAGE2_CONFIGURE_FLAGS)
39324 @endif target-libgomp-bootstrap
39326 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39327 maybe-configure-stage3-target-libgomp:
39328 @if target-libgomp-bootstrap
39329 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39330 configure-stage3-target-libgomp:
39331 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39332 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39333 @r=`${PWD_COMMAND}`; export r; \
39334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39335 TFLAGS="$(STAGE3_TFLAGS)"; \
39336 echo "Checking multilib configuration for libgomp..."; \
39337 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39338 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39339 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39340 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39341 else \
39342 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39343 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39344 fi; \
39345 else \
39346 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39347 fi; \
39348 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39349 $(NORMAL_TARGET_EXPORTS) \
39351 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39352 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39353 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39354 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39356 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39357 case $(srcdir) in \
39358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39359 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39361 esac; \
39362 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39363 libsrcdir="$$s/libgomp"; \
39364 $(SHELL) $${libsrcdir}/configure \
39365 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39366 --target=${target_alias} $${srcdiroption} \
39367 --with-build-libsubdir=$(HOST_SUBDIR) \
39368 $(STAGE3_CONFIGURE_FLAGS)
39369 @endif target-libgomp-bootstrap
39371 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39372 maybe-configure-stage4-target-libgomp:
39373 @if target-libgomp-bootstrap
39374 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39375 configure-stage4-target-libgomp:
39376 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39377 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39378 @r=`${PWD_COMMAND}`; export r; \
39379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39380 TFLAGS="$(STAGE4_TFLAGS)"; \
39381 echo "Checking multilib configuration for libgomp..."; \
39382 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39383 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39384 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39385 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39386 else \
39387 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39388 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39389 fi; \
39390 else \
39391 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39392 fi; \
39393 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39394 $(NORMAL_TARGET_EXPORTS) \
39396 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39397 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39398 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39399 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39400 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39401 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39402 case $(srcdir) in \
39403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39404 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39406 esac; \
39407 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39408 libsrcdir="$$s/libgomp"; \
39409 $(SHELL) $${libsrcdir}/configure \
39410 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39411 --target=${target_alias} $${srcdiroption} \
39412 --with-build-libsubdir=$(HOST_SUBDIR) \
39413 $(STAGE4_CONFIGURE_FLAGS)
39414 @endif target-libgomp-bootstrap
39416 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39417 maybe-configure-stageprofile-target-libgomp:
39418 @if target-libgomp-bootstrap
39419 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39420 configure-stageprofile-target-libgomp:
39421 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39422 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39423 @r=`${PWD_COMMAND}`; export r; \
39424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39425 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39426 echo "Checking multilib configuration for libgomp..."; \
39427 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39428 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39429 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39430 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39431 else \
39432 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39433 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39434 fi; \
39435 else \
39436 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39437 fi; \
39438 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39439 $(NORMAL_TARGET_EXPORTS) \
39441 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39442 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39443 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39444 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39446 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39447 case $(srcdir) in \
39448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39449 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39451 esac; \
39452 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39453 libsrcdir="$$s/libgomp"; \
39454 $(SHELL) $${libsrcdir}/configure \
39455 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39456 --target=${target_alias} $${srcdiroption} \
39457 --with-build-libsubdir=$(HOST_SUBDIR) \
39458 $(STAGEprofile_CONFIGURE_FLAGS)
39459 @endif target-libgomp-bootstrap
39461 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39462 maybe-configure-stagefeedback-target-libgomp:
39463 @if target-libgomp-bootstrap
39464 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39465 configure-stagefeedback-target-libgomp:
39466 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39467 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39468 @r=`${PWD_COMMAND}`; export r; \
39469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39470 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39471 echo "Checking multilib configuration for libgomp..."; \
39472 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39473 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39474 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39475 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39476 else \
39477 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39478 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39479 fi; \
39480 else \
39481 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39482 fi; \
39483 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39484 $(NORMAL_TARGET_EXPORTS) \
39486 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39487 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39488 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39489 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39490 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39491 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39492 case $(srcdir) in \
39493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39494 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39496 esac; \
39497 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39498 libsrcdir="$$s/libgomp"; \
39499 $(SHELL) $${libsrcdir}/configure \
39500 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39501 --target=${target_alias} $${srcdiroption} \
39502 --with-build-libsubdir=$(HOST_SUBDIR) \
39503 $(STAGEfeedback_CONFIGURE_FLAGS)
39504 @endif target-libgomp-bootstrap
39510 .PHONY: all-target-libgomp maybe-all-target-libgomp
39511 maybe-all-target-libgomp:
39512 @if gcc-bootstrap
39513 all-target-libgomp: stage_current
39514 @endif gcc-bootstrap
39515 @if target-libgomp
39516 TARGET-target-libgomp=all
39517 maybe-all-target-libgomp: all-target-libgomp
39518 all-target-libgomp: configure-target-libgomp
39519 @r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(NORMAL_TARGET_EXPORTS) \
39522 (cd $(TARGET_SUBDIR)/libgomp && \
39523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39524 $(TARGET-target-libgomp))
39525 @endif target-libgomp
39529 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39530 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39531 maybe-all-stage1-target-libgomp:
39532 maybe-clean-stage1-target-libgomp:
39533 @if target-libgomp-bootstrap
39534 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39535 all-stage1: all-stage1-target-libgomp
39536 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39537 all-stage1-target-libgomp: configure-stage1-target-libgomp
39538 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39539 @r=`${PWD_COMMAND}`; export r; \
39540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39541 TFLAGS="$(STAGE1_TFLAGS)"; \
39542 $(NORMAL_TARGET_EXPORTS) \
39543 cd $(TARGET_SUBDIR)/libgomp && \
39544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39551 $(EXTRA_TARGET_FLAGS) \
39552 TFLAGS="$(STAGE1_TFLAGS)" \
39553 $(TARGET-stage1-target-libgomp)
39555 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39556 clean-stage1: clean-stage1-target-libgomp
39557 clean-stage1-target-libgomp:
39558 @if [ $(current_stage) = stage1 ]; then \
39559 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39560 else \
39561 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39562 $(MAKE) stage1-start; \
39563 fi; \
39564 cd $(TARGET_SUBDIR)/libgomp && \
39565 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39566 clean
39567 @endif target-libgomp-bootstrap
39570 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39571 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39572 maybe-all-stage2-target-libgomp:
39573 maybe-clean-stage2-target-libgomp:
39574 @if target-libgomp-bootstrap
39575 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39576 all-stage2: all-stage2-target-libgomp
39577 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39578 all-stage2-target-libgomp: configure-stage2-target-libgomp
39579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39580 @r=`${PWD_COMMAND}`; export r; \
39581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39582 TFLAGS="$(STAGE2_TFLAGS)"; \
39583 $(NORMAL_TARGET_EXPORTS) \
39585 cd $(TARGET_SUBDIR)/libgomp && \
39586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39587 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39593 $(EXTRA_TARGET_FLAGS) \
39594 TFLAGS="$(STAGE2_TFLAGS)" \
39595 $(TARGET-stage2-target-libgomp)
39597 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39598 clean-stage2: clean-stage2-target-libgomp
39599 clean-stage2-target-libgomp:
39600 @if [ $(current_stage) = stage2 ]; then \
39601 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39602 else \
39603 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39604 $(MAKE) stage2-start; \
39605 fi; \
39606 cd $(TARGET_SUBDIR)/libgomp && \
39607 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39609 clean
39610 @endif target-libgomp-bootstrap
39613 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39614 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39615 maybe-all-stage3-target-libgomp:
39616 maybe-clean-stage3-target-libgomp:
39617 @if target-libgomp-bootstrap
39618 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39619 all-stage3: all-stage3-target-libgomp
39620 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39621 all-stage3-target-libgomp: configure-stage3-target-libgomp
39622 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39623 @r=`${PWD_COMMAND}`; export r; \
39624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39625 TFLAGS="$(STAGE3_TFLAGS)"; \
39626 $(NORMAL_TARGET_EXPORTS) \
39628 cd $(TARGET_SUBDIR)/libgomp && \
39629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39630 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39631 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39632 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39636 $(EXTRA_TARGET_FLAGS) \
39637 TFLAGS="$(STAGE3_TFLAGS)" \
39638 $(TARGET-stage3-target-libgomp)
39640 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39641 clean-stage3: clean-stage3-target-libgomp
39642 clean-stage3-target-libgomp:
39643 @if [ $(current_stage) = stage3 ]; then \
39644 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39645 else \
39646 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39647 $(MAKE) stage3-start; \
39648 fi; \
39649 cd $(TARGET_SUBDIR)/libgomp && \
39650 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39652 clean
39653 @endif target-libgomp-bootstrap
39656 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39657 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39658 maybe-all-stage4-target-libgomp:
39659 maybe-clean-stage4-target-libgomp:
39660 @if target-libgomp-bootstrap
39661 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39662 all-stage4: all-stage4-target-libgomp
39663 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39664 all-stage4-target-libgomp: configure-stage4-target-libgomp
39665 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39666 @r=`${PWD_COMMAND}`; export r; \
39667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39668 TFLAGS="$(STAGE4_TFLAGS)"; \
39669 $(NORMAL_TARGET_EXPORTS) \
39671 cd $(TARGET_SUBDIR)/libgomp && \
39672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39673 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39674 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39675 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39679 $(EXTRA_TARGET_FLAGS) \
39680 TFLAGS="$(STAGE4_TFLAGS)" \
39681 $(TARGET-stage4-target-libgomp)
39683 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39684 clean-stage4: clean-stage4-target-libgomp
39685 clean-stage4-target-libgomp:
39686 @if [ $(current_stage) = stage4 ]; then \
39687 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39688 else \
39689 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39690 $(MAKE) stage4-start; \
39691 fi; \
39692 cd $(TARGET_SUBDIR)/libgomp && \
39693 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39695 clean
39696 @endif target-libgomp-bootstrap
39699 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39700 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39701 maybe-all-stageprofile-target-libgomp:
39702 maybe-clean-stageprofile-target-libgomp:
39703 @if target-libgomp-bootstrap
39704 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39705 all-stageprofile: all-stageprofile-target-libgomp
39706 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39707 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39708 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39709 @r=`${PWD_COMMAND}`; export r; \
39710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39711 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39712 $(NORMAL_TARGET_EXPORTS) \
39714 cd $(TARGET_SUBDIR)/libgomp && \
39715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39716 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39717 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39718 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39722 $(EXTRA_TARGET_FLAGS) \
39723 TFLAGS="$(STAGEprofile_TFLAGS)" \
39724 $(TARGET-stageprofile-target-libgomp)
39726 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39727 clean-stageprofile: clean-stageprofile-target-libgomp
39728 clean-stageprofile-target-libgomp:
39729 @if [ $(current_stage) = stageprofile ]; then \
39730 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39731 else \
39732 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39733 $(MAKE) stageprofile-start; \
39734 fi; \
39735 cd $(TARGET_SUBDIR)/libgomp && \
39736 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39738 clean
39739 @endif target-libgomp-bootstrap
39742 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39743 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39744 maybe-all-stagefeedback-target-libgomp:
39745 maybe-clean-stagefeedback-target-libgomp:
39746 @if target-libgomp-bootstrap
39747 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39748 all-stagefeedback: all-stagefeedback-target-libgomp
39749 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39750 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39751 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39752 @r=`${PWD_COMMAND}`; export r; \
39753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39754 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39755 $(NORMAL_TARGET_EXPORTS) \
39757 cd $(TARGET_SUBDIR)/libgomp && \
39758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39759 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39760 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39761 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39765 $(EXTRA_TARGET_FLAGS) \
39766 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39767 $(TARGET-stagefeedback-target-libgomp)
39769 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39770 clean-stagefeedback: clean-stagefeedback-target-libgomp
39771 clean-stagefeedback-target-libgomp:
39772 @if [ $(current_stage) = stagefeedback ]; then \
39773 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39774 else \
39775 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39776 $(MAKE) stagefeedback-start; \
39777 fi; \
39778 cd $(TARGET_SUBDIR)/libgomp && \
39779 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39781 clean
39782 @endif target-libgomp-bootstrap
39789 .PHONY: check-target-libgomp maybe-check-target-libgomp
39790 maybe-check-target-libgomp:
39791 @if target-libgomp
39792 maybe-check-target-libgomp: check-target-libgomp
39794 check-target-libgomp:
39795 @: $(MAKE); $(unstage)
39796 @r=`${PWD_COMMAND}`; export r; \
39797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39798 $(NORMAL_TARGET_EXPORTS) \
39799 (cd $(TARGET_SUBDIR)/libgomp && \
39800 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39802 @endif target-libgomp
39804 .PHONY: install-target-libgomp maybe-install-target-libgomp
39805 maybe-install-target-libgomp:
39806 @if target-libgomp
39807 maybe-install-target-libgomp: install-target-libgomp
39809 install-target-libgomp: installdirs
39810 @: $(MAKE); $(unstage)
39811 @r=`${PWD_COMMAND}`; export r; \
39812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39813 $(NORMAL_TARGET_EXPORTS) \
39814 (cd $(TARGET_SUBDIR)/libgomp && \
39815 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39817 @endif target-libgomp
39819 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39820 maybe-install-strip-target-libgomp:
39821 @if target-libgomp
39822 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39824 install-strip-target-libgomp: installdirs
39825 @: $(MAKE); $(unstage)
39826 @r=`${PWD_COMMAND}`; export r; \
39827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39828 $(NORMAL_TARGET_EXPORTS) \
39829 (cd $(TARGET_SUBDIR)/libgomp && \
39830 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39832 @endif target-libgomp
39834 # Other targets (info, dvi, pdf, etc.)
39836 .PHONY: maybe-info-target-libgomp info-target-libgomp
39837 maybe-info-target-libgomp:
39838 @if target-libgomp
39839 maybe-info-target-libgomp: info-target-libgomp
39841 info-target-libgomp: \
39842 configure-target-libgomp
39843 @: $(MAKE); $(unstage)
39844 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39845 r=`${PWD_COMMAND}`; export r; \
39846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39847 $(NORMAL_TARGET_EXPORTS) \
39848 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39849 for flag in $(EXTRA_TARGET_FLAGS); do \
39850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39851 done; \
39852 (cd $(TARGET_SUBDIR)/libgomp && \
39853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39855 "RANLIB=$${RANLIB}" \
39856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39857 info) \
39858 || exit 1
39860 @endif target-libgomp
39862 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39863 maybe-dvi-target-libgomp:
39864 @if target-libgomp
39865 maybe-dvi-target-libgomp: dvi-target-libgomp
39867 dvi-target-libgomp: \
39868 configure-target-libgomp
39869 @: $(MAKE); $(unstage)
39870 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39871 r=`${PWD_COMMAND}`; export r; \
39872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39873 $(NORMAL_TARGET_EXPORTS) \
39874 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39875 for flag in $(EXTRA_TARGET_FLAGS); do \
39876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39877 done; \
39878 (cd $(TARGET_SUBDIR)/libgomp && \
39879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39881 "RANLIB=$${RANLIB}" \
39882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39883 dvi) \
39884 || exit 1
39886 @endif target-libgomp
39888 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39889 maybe-pdf-target-libgomp:
39890 @if target-libgomp
39891 maybe-pdf-target-libgomp: pdf-target-libgomp
39893 pdf-target-libgomp: \
39894 configure-target-libgomp
39895 @: $(MAKE); $(unstage)
39896 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39897 r=`${PWD_COMMAND}`; export r; \
39898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39899 $(NORMAL_TARGET_EXPORTS) \
39900 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39901 for flag in $(EXTRA_TARGET_FLAGS); do \
39902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39903 done; \
39904 (cd $(TARGET_SUBDIR)/libgomp && \
39905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39907 "RANLIB=$${RANLIB}" \
39908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39909 pdf) \
39910 || exit 1
39912 @endif target-libgomp
39914 .PHONY: maybe-html-target-libgomp html-target-libgomp
39915 maybe-html-target-libgomp:
39916 @if target-libgomp
39917 maybe-html-target-libgomp: html-target-libgomp
39919 html-target-libgomp: \
39920 configure-target-libgomp
39921 @: $(MAKE); $(unstage)
39922 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39923 r=`${PWD_COMMAND}`; export r; \
39924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39925 $(NORMAL_TARGET_EXPORTS) \
39926 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39927 for flag in $(EXTRA_TARGET_FLAGS); do \
39928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39929 done; \
39930 (cd $(TARGET_SUBDIR)/libgomp && \
39931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39933 "RANLIB=$${RANLIB}" \
39934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39935 html) \
39936 || exit 1
39938 @endif target-libgomp
39940 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39941 maybe-TAGS-target-libgomp:
39942 @if target-libgomp
39943 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39945 TAGS-target-libgomp: \
39946 configure-target-libgomp
39947 @: $(MAKE); $(unstage)
39948 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39949 r=`${PWD_COMMAND}`; export r; \
39950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39951 $(NORMAL_TARGET_EXPORTS) \
39952 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39953 for flag in $(EXTRA_TARGET_FLAGS); do \
39954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39955 done; \
39956 (cd $(TARGET_SUBDIR)/libgomp && \
39957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39959 "RANLIB=$${RANLIB}" \
39960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39961 TAGS) \
39962 || exit 1
39964 @endif target-libgomp
39966 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39967 maybe-install-info-target-libgomp:
39968 @if target-libgomp
39969 maybe-install-info-target-libgomp: install-info-target-libgomp
39971 install-info-target-libgomp: \
39972 configure-target-libgomp \
39973 info-target-libgomp
39974 @: $(MAKE); $(unstage)
39975 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39976 r=`${PWD_COMMAND}`; export r; \
39977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39978 $(NORMAL_TARGET_EXPORTS) \
39979 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
39980 for flag in $(EXTRA_TARGET_FLAGS); do \
39981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39982 done; \
39983 (cd $(TARGET_SUBDIR)/libgomp && \
39984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39986 "RANLIB=$${RANLIB}" \
39987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39988 install-info) \
39989 || exit 1
39991 @endif target-libgomp
39993 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39994 maybe-install-pdf-target-libgomp:
39995 @if target-libgomp
39996 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39998 install-pdf-target-libgomp: \
39999 configure-target-libgomp \
40000 pdf-target-libgomp
40001 @: $(MAKE); $(unstage)
40002 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40003 r=`${PWD_COMMAND}`; export r; \
40004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40005 $(NORMAL_TARGET_EXPORTS) \
40006 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
40007 for flag in $(EXTRA_TARGET_FLAGS); do \
40008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40009 done; \
40010 (cd $(TARGET_SUBDIR)/libgomp && \
40011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40013 "RANLIB=$${RANLIB}" \
40014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40015 install-pdf) \
40016 || exit 1
40018 @endif target-libgomp
40020 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40021 maybe-install-html-target-libgomp:
40022 @if target-libgomp
40023 maybe-install-html-target-libgomp: install-html-target-libgomp
40025 install-html-target-libgomp: \
40026 configure-target-libgomp \
40027 html-target-libgomp
40028 @: $(MAKE); $(unstage)
40029 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40030 r=`${PWD_COMMAND}`; export r; \
40031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40032 $(NORMAL_TARGET_EXPORTS) \
40033 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40034 for flag in $(EXTRA_TARGET_FLAGS); do \
40035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40036 done; \
40037 (cd $(TARGET_SUBDIR)/libgomp && \
40038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40040 "RANLIB=$${RANLIB}" \
40041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40042 install-html) \
40043 || exit 1
40045 @endif target-libgomp
40047 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40048 maybe-installcheck-target-libgomp:
40049 @if target-libgomp
40050 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40052 installcheck-target-libgomp: \
40053 configure-target-libgomp
40054 @: $(MAKE); $(unstage)
40055 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40056 r=`${PWD_COMMAND}`; export r; \
40057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40058 $(NORMAL_TARGET_EXPORTS) \
40059 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40060 for flag in $(EXTRA_TARGET_FLAGS); do \
40061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40062 done; \
40063 (cd $(TARGET_SUBDIR)/libgomp && \
40064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40066 "RANLIB=$${RANLIB}" \
40067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40068 installcheck) \
40069 || exit 1
40071 @endif target-libgomp
40073 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40074 maybe-mostlyclean-target-libgomp:
40075 @if target-libgomp
40076 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40078 mostlyclean-target-libgomp:
40079 @: $(MAKE); $(unstage)
40080 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40081 r=`${PWD_COMMAND}`; export r; \
40082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40083 $(NORMAL_TARGET_EXPORTS) \
40084 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40085 for flag in $(EXTRA_TARGET_FLAGS); do \
40086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40087 done; \
40088 (cd $(TARGET_SUBDIR)/libgomp && \
40089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40091 "RANLIB=$${RANLIB}" \
40092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40093 mostlyclean) \
40094 || exit 1
40096 @endif target-libgomp
40098 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40099 maybe-clean-target-libgomp:
40100 @if target-libgomp
40101 maybe-clean-target-libgomp: clean-target-libgomp
40103 clean-target-libgomp:
40104 @: $(MAKE); $(unstage)
40105 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40106 r=`${PWD_COMMAND}`; export r; \
40107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40108 $(NORMAL_TARGET_EXPORTS) \
40109 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40110 for flag in $(EXTRA_TARGET_FLAGS); do \
40111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40112 done; \
40113 (cd $(TARGET_SUBDIR)/libgomp && \
40114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40116 "RANLIB=$${RANLIB}" \
40117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40118 clean) \
40119 || exit 1
40121 @endif target-libgomp
40123 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40124 maybe-distclean-target-libgomp:
40125 @if target-libgomp
40126 maybe-distclean-target-libgomp: distclean-target-libgomp
40128 distclean-target-libgomp:
40129 @: $(MAKE); $(unstage)
40130 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40131 r=`${PWD_COMMAND}`; export r; \
40132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40133 $(NORMAL_TARGET_EXPORTS) \
40134 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40135 for flag in $(EXTRA_TARGET_FLAGS); do \
40136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40137 done; \
40138 (cd $(TARGET_SUBDIR)/libgomp && \
40139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40141 "RANLIB=$${RANLIB}" \
40142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40143 distclean) \
40144 || exit 1
40146 @endif target-libgomp
40148 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40149 maybe-maintainer-clean-target-libgomp:
40150 @if target-libgomp
40151 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40153 maintainer-clean-target-libgomp:
40154 @: $(MAKE); $(unstage)
40155 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40156 r=`${PWD_COMMAND}`; export r; \
40157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40158 $(NORMAL_TARGET_EXPORTS) \
40159 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40160 for flag in $(EXTRA_TARGET_FLAGS); do \
40161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40162 done; \
40163 (cd $(TARGET_SUBDIR)/libgomp && \
40164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40166 "RANLIB=$${RANLIB}" \
40167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40168 maintainer-clean) \
40169 || exit 1
40171 @endif target-libgomp
40177 .PHONY: configure-target-libitm maybe-configure-target-libitm
40178 maybe-configure-target-libitm:
40179 @if gcc-bootstrap
40180 configure-target-libitm: stage_current
40181 @endif gcc-bootstrap
40182 @if target-libitm
40183 maybe-configure-target-libitm: configure-target-libitm
40184 configure-target-libitm:
40185 @: $(MAKE); $(unstage)
40186 @r=`${PWD_COMMAND}`; export r; \
40187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40188 echo "Checking multilib configuration for libitm..."; \
40189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40190 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
40191 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
40192 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
40193 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
40194 else \
40195 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
40196 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40197 fi; \
40198 else \
40199 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40200 fi; \
40201 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
40202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40203 $(NORMAL_TARGET_EXPORTS) \
40204 echo Configuring in $(TARGET_SUBDIR)/libitm; \
40205 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
40206 case $(srcdir) in \
40207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40208 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
40209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40210 esac; \
40211 srcdiroption="--srcdir=$${topdir}/libitm"; \
40212 libsrcdir="$$s/libitm"; \
40213 rm -f no-such-file || : ; \
40214 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40215 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40216 --target=${target_alias} $${srcdiroption} \
40217 || exit 1
40218 @endif target-libitm
40224 .PHONY: all-target-libitm maybe-all-target-libitm
40225 maybe-all-target-libitm:
40226 @if gcc-bootstrap
40227 all-target-libitm: stage_current
40228 @endif gcc-bootstrap
40229 @if target-libitm
40230 TARGET-target-libitm=all
40231 maybe-all-target-libitm: all-target-libitm
40232 all-target-libitm: configure-target-libitm
40233 @: $(MAKE); $(unstage)
40234 @r=`${PWD_COMMAND}`; export r; \
40235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40236 $(NORMAL_TARGET_EXPORTS) \
40237 (cd $(TARGET_SUBDIR)/libitm && \
40238 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40239 $(TARGET-target-libitm))
40240 @endif target-libitm
40246 .PHONY: check-target-libitm maybe-check-target-libitm
40247 maybe-check-target-libitm:
40248 @if target-libitm
40249 maybe-check-target-libitm: check-target-libitm
40251 check-target-libitm:
40252 @: $(MAKE); $(unstage)
40253 @r=`${PWD_COMMAND}`; export r; \
40254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40255 $(NORMAL_TARGET_EXPORTS) \
40256 (cd $(TARGET_SUBDIR)/libitm && \
40257 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40259 @endif target-libitm
40261 .PHONY: install-target-libitm maybe-install-target-libitm
40262 maybe-install-target-libitm:
40263 @if target-libitm
40264 maybe-install-target-libitm: install-target-libitm
40266 install-target-libitm: installdirs
40267 @: $(MAKE); $(unstage)
40268 @r=`${PWD_COMMAND}`; export r; \
40269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40270 $(NORMAL_TARGET_EXPORTS) \
40271 (cd $(TARGET_SUBDIR)/libitm && \
40272 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40274 @endif target-libitm
40276 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
40277 maybe-install-strip-target-libitm:
40278 @if target-libitm
40279 maybe-install-strip-target-libitm: install-strip-target-libitm
40281 install-strip-target-libitm: installdirs
40282 @: $(MAKE); $(unstage)
40283 @r=`${PWD_COMMAND}`; export r; \
40284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40285 $(NORMAL_TARGET_EXPORTS) \
40286 (cd $(TARGET_SUBDIR)/libitm && \
40287 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40289 @endif target-libitm
40291 # Other targets (info, dvi, pdf, etc.)
40293 .PHONY: maybe-info-target-libitm info-target-libitm
40294 maybe-info-target-libitm:
40295 @if target-libitm
40296 maybe-info-target-libitm: info-target-libitm
40298 info-target-libitm: \
40299 configure-target-libitm
40300 @: $(MAKE); $(unstage)
40301 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40302 r=`${PWD_COMMAND}`; export r; \
40303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40304 $(NORMAL_TARGET_EXPORTS) \
40305 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
40306 for flag in $(EXTRA_TARGET_FLAGS); do \
40307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40308 done; \
40309 (cd $(TARGET_SUBDIR)/libitm && \
40310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40312 "RANLIB=$${RANLIB}" \
40313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40314 info) \
40315 || exit 1
40317 @endif target-libitm
40319 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
40320 maybe-dvi-target-libitm:
40321 @if target-libitm
40322 maybe-dvi-target-libitm: dvi-target-libitm
40324 dvi-target-libitm: \
40325 configure-target-libitm
40326 @: $(MAKE); $(unstage)
40327 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40328 r=`${PWD_COMMAND}`; export r; \
40329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40330 $(NORMAL_TARGET_EXPORTS) \
40331 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
40332 for flag in $(EXTRA_TARGET_FLAGS); do \
40333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40334 done; \
40335 (cd $(TARGET_SUBDIR)/libitm && \
40336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40338 "RANLIB=$${RANLIB}" \
40339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40340 dvi) \
40341 || exit 1
40343 @endif target-libitm
40345 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
40346 maybe-pdf-target-libitm:
40347 @if target-libitm
40348 maybe-pdf-target-libitm: pdf-target-libitm
40350 pdf-target-libitm: \
40351 configure-target-libitm
40352 @: $(MAKE); $(unstage)
40353 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40354 r=`${PWD_COMMAND}`; export r; \
40355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40356 $(NORMAL_TARGET_EXPORTS) \
40357 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
40358 for flag in $(EXTRA_TARGET_FLAGS); do \
40359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40360 done; \
40361 (cd $(TARGET_SUBDIR)/libitm && \
40362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40364 "RANLIB=$${RANLIB}" \
40365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40366 pdf) \
40367 || exit 1
40369 @endif target-libitm
40371 .PHONY: maybe-html-target-libitm html-target-libitm
40372 maybe-html-target-libitm:
40373 @if target-libitm
40374 maybe-html-target-libitm: html-target-libitm
40376 html-target-libitm: \
40377 configure-target-libitm
40378 @: $(MAKE); $(unstage)
40379 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40380 r=`${PWD_COMMAND}`; export r; \
40381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40382 $(NORMAL_TARGET_EXPORTS) \
40383 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
40384 for flag in $(EXTRA_TARGET_FLAGS); do \
40385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40386 done; \
40387 (cd $(TARGET_SUBDIR)/libitm && \
40388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40390 "RANLIB=$${RANLIB}" \
40391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40392 html) \
40393 || exit 1
40395 @endif target-libitm
40397 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
40398 maybe-TAGS-target-libitm:
40399 @if target-libitm
40400 maybe-TAGS-target-libitm: TAGS-target-libitm
40402 TAGS-target-libitm: \
40403 configure-target-libitm
40404 @: $(MAKE); $(unstage)
40405 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40406 r=`${PWD_COMMAND}`; export r; \
40407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40408 $(NORMAL_TARGET_EXPORTS) \
40409 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
40410 for flag in $(EXTRA_TARGET_FLAGS); do \
40411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40412 done; \
40413 (cd $(TARGET_SUBDIR)/libitm && \
40414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40416 "RANLIB=$${RANLIB}" \
40417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40418 TAGS) \
40419 || exit 1
40421 @endif target-libitm
40423 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
40424 maybe-install-info-target-libitm:
40425 @if target-libitm
40426 maybe-install-info-target-libitm: install-info-target-libitm
40428 install-info-target-libitm: \
40429 configure-target-libitm \
40430 info-target-libitm
40431 @: $(MAKE); $(unstage)
40432 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40433 r=`${PWD_COMMAND}`; export r; \
40434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40435 $(NORMAL_TARGET_EXPORTS) \
40436 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
40437 for flag in $(EXTRA_TARGET_FLAGS); do \
40438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40439 done; \
40440 (cd $(TARGET_SUBDIR)/libitm && \
40441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40443 "RANLIB=$${RANLIB}" \
40444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40445 install-info) \
40446 || exit 1
40448 @endif target-libitm
40450 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
40451 maybe-install-pdf-target-libitm:
40452 @if target-libitm
40453 maybe-install-pdf-target-libitm: install-pdf-target-libitm
40455 install-pdf-target-libitm: \
40456 configure-target-libitm \
40457 pdf-target-libitm
40458 @: $(MAKE); $(unstage)
40459 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40460 r=`${PWD_COMMAND}`; export r; \
40461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40462 $(NORMAL_TARGET_EXPORTS) \
40463 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
40464 for flag in $(EXTRA_TARGET_FLAGS); do \
40465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40466 done; \
40467 (cd $(TARGET_SUBDIR)/libitm && \
40468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40470 "RANLIB=$${RANLIB}" \
40471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40472 install-pdf) \
40473 || exit 1
40475 @endif target-libitm
40477 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
40478 maybe-install-html-target-libitm:
40479 @if target-libitm
40480 maybe-install-html-target-libitm: install-html-target-libitm
40482 install-html-target-libitm: \
40483 configure-target-libitm \
40484 html-target-libitm
40485 @: $(MAKE); $(unstage)
40486 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40487 r=`${PWD_COMMAND}`; export r; \
40488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40489 $(NORMAL_TARGET_EXPORTS) \
40490 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
40491 for flag in $(EXTRA_TARGET_FLAGS); do \
40492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40493 done; \
40494 (cd $(TARGET_SUBDIR)/libitm && \
40495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40497 "RANLIB=$${RANLIB}" \
40498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40499 install-html) \
40500 || exit 1
40502 @endif target-libitm
40504 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
40505 maybe-installcheck-target-libitm:
40506 @if target-libitm
40507 maybe-installcheck-target-libitm: installcheck-target-libitm
40509 installcheck-target-libitm: \
40510 configure-target-libitm
40511 @: $(MAKE); $(unstage)
40512 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40513 r=`${PWD_COMMAND}`; export r; \
40514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40515 $(NORMAL_TARGET_EXPORTS) \
40516 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
40517 for flag in $(EXTRA_TARGET_FLAGS); do \
40518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40519 done; \
40520 (cd $(TARGET_SUBDIR)/libitm && \
40521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40523 "RANLIB=$${RANLIB}" \
40524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40525 installcheck) \
40526 || exit 1
40528 @endif target-libitm
40530 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
40531 maybe-mostlyclean-target-libitm:
40532 @if target-libitm
40533 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
40535 mostlyclean-target-libitm:
40536 @: $(MAKE); $(unstage)
40537 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40538 r=`${PWD_COMMAND}`; export r; \
40539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40540 $(NORMAL_TARGET_EXPORTS) \
40541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
40542 for flag in $(EXTRA_TARGET_FLAGS); do \
40543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40544 done; \
40545 (cd $(TARGET_SUBDIR)/libitm && \
40546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40548 "RANLIB=$${RANLIB}" \
40549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40550 mostlyclean) \
40551 || exit 1
40553 @endif target-libitm
40555 .PHONY: maybe-clean-target-libitm clean-target-libitm
40556 maybe-clean-target-libitm:
40557 @if target-libitm
40558 maybe-clean-target-libitm: clean-target-libitm
40560 clean-target-libitm:
40561 @: $(MAKE); $(unstage)
40562 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40563 r=`${PWD_COMMAND}`; export r; \
40564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40565 $(NORMAL_TARGET_EXPORTS) \
40566 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
40567 for flag in $(EXTRA_TARGET_FLAGS); do \
40568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40569 done; \
40570 (cd $(TARGET_SUBDIR)/libitm && \
40571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40573 "RANLIB=$${RANLIB}" \
40574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40575 clean) \
40576 || exit 1
40578 @endif target-libitm
40580 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
40581 maybe-distclean-target-libitm:
40582 @if target-libitm
40583 maybe-distclean-target-libitm: distclean-target-libitm
40585 distclean-target-libitm:
40586 @: $(MAKE); $(unstage)
40587 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40588 r=`${PWD_COMMAND}`; export r; \
40589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40590 $(NORMAL_TARGET_EXPORTS) \
40591 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
40592 for flag in $(EXTRA_TARGET_FLAGS); do \
40593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40594 done; \
40595 (cd $(TARGET_SUBDIR)/libitm && \
40596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40598 "RANLIB=$${RANLIB}" \
40599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40600 distclean) \
40601 || exit 1
40603 @endif target-libitm
40605 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
40606 maybe-maintainer-clean-target-libitm:
40607 @if target-libitm
40608 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
40610 maintainer-clean-target-libitm:
40611 @: $(MAKE); $(unstage)
40612 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40613 r=`${PWD_COMMAND}`; export r; \
40614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40615 $(NORMAL_TARGET_EXPORTS) \
40616 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
40617 for flag in $(EXTRA_TARGET_FLAGS); do \
40618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40619 done; \
40620 (cd $(TARGET_SUBDIR)/libitm && \
40621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40623 "RANLIB=$${RANLIB}" \
40624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40625 maintainer-clean) \
40626 || exit 1
40628 @endif target-libitm
40632 @if target-libmudflap
40633 .PHONY: check-target-libmudflap-c++
40634 check-target-libmudflap-c++:
40635 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
40637 @endif target-libmudflap
40639 # ----------
40640 # GCC module
40641 # ----------
40643 @if gcc-no-bootstrap
40644 .PHONY: cross
40645 cross: all-build all-gas all-ld
40646 @r=`${PWD_COMMAND}`; export r; \
40647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40648 $(HOST_EXPORTS) \
40649 echo "Building the C and C++ compiler"; \
40650 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
40651 @r=`${PWD_COMMAND}`; export r; \
40652 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40653 echo "Building runtime libraries"; \
40654 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
40655 @endif gcc-no-bootstrap
40657 @if gcc
40659 .PHONY: check-gcc-c check-c
40660 check-gcc-c:
40661 r=`${PWD_COMMAND}`; export r; \
40662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40663 $(HOST_EXPORTS) \
40664 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
40665 check-c: check-gcc-c
40667 .PHONY: check-gcc-c++ check-c++
40668 check-gcc-c++:
40669 r=`${PWD_COMMAND}`; export r; \
40670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40671 $(HOST_EXPORTS) \
40672 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
40673 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
40675 .PHONY: check-gcc-fortran check-fortran
40676 check-gcc-fortran:
40677 r=`${PWD_COMMAND}`; export r; \
40678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40679 $(HOST_EXPORTS) \
40680 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
40681 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
40683 .PHONY: check-gcc-java check-java
40684 check-gcc-java:
40685 r=`${PWD_COMMAND}`; export r; \
40686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40687 $(HOST_EXPORTS) \
40688 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
40689 check-java: check-gcc-java check-target-libjava
40691 .PHONY: check-gcc-ada check-ada
40692 check-gcc-ada:
40693 r=`${PWD_COMMAND}`; export r; \
40694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40695 $(HOST_EXPORTS) \
40696 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
40697 check-ada: check-gcc-ada check-target-libada
40699 .PHONY: check-gcc-objc check-objc
40700 check-gcc-objc:
40701 r=`${PWD_COMMAND}`; export r; \
40702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40703 $(HOST_EXPORTS) \
40704 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
40705 check-objc: check-gcc-objc check-target-libobjc
40707 .PHONY: check-gcc-obj-c++ check-obj-c++
40708 check-gcc-obj-c++:
40709 r=`${PWD_COMMAND}`; export r; \
40710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40711 $(HOST_EXPORTS) \
40712 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
40713 check-obj-c++: check-gcc-obj-c++
40715 .PHONY: check-gcc-go check-go
40716 check-gcc-go:
40717 r=`${PWD_COMMAND}`; export r; \
40718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40719 $(HOST_EXPORTS) \
40720 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
40721 check-go: check-gcc-go check-target-libgo
40724 # Install the gcc headers files, but not the fixed include files,
40725 # which Cygnus is not allowed to distribute. This rule is very
40726 # dependent on the workings of the gcc Makefile.in.
40727 .PHONY: gcc-no-fixedincludes
40728 gcc-no-fixedincludes:
40729 @if [ -f ./gcc/Makefile ]; then \
40730 rm -rf gcc/tmp-include; \
40731 mv gcc/include gcc/tmp-include 2>/dev/null; \
40732 mkdir gcc/include; \
40733 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
40734 touch gcc/stmp-fixinc gcc/include/fixed; \
40735 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
40736 r=`${PWD_COMMAND}`; export r; \
40737 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40738 $(HOST_EXPORTS) \
40739 (cd ./gcc && \
40740 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
40741 rm -rf gcc/include; \
40742 mv gcc/tmp-include gcc/include 2>/dev/null; \
40743 else true; fi
40744 @endif gcc
40746 # ---------------------
40747 # GCC bootstrap support
40748 # ---------------------
40750 # We track the current stage (the one in 'gcc') in the stage_current file.
40751 # stage_last instead tracks the stage that was built last. These targets
40752 # are dummy when toplevel bootstrap is not active.
40754 # While making host and target tools, symlinks to the final stage must be
40755 # there, so $(unstage) should be run at various points. To avoid excessive
40756 # recursive invocations of make, we "inline" them using a variable. These
40757 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
40758 # to avoid warnings from the GNU Make job server.
40760 unstage = :
40761 stage = :
40762 current_stage = ""
40764 @if gcc-bootstrap
40765 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
40766 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
40767 current_stage = "`cat stage_current 2> /dev/null`"
40768 @endif gcc-bootstrap
40770 .PHONY: unstage stage
40771 unstage:
40772 @: $(MAKE); $(unstage)
40773 stage:
40774 @: $(MAKE); $(stage)
40776 # Disable commands for lean bootstrap.
40777 LEAN = false
40779 # We name the build directories for the various stages "stage1-gcc",
40780 # "stage2-gcc","stage3-gcc", etc.
40782 # Since the 'compare' process will fail (on debugging information) if any
40783 # directory names are different, we need to link the gcc directory for
40784 # the previous stage to a constant name ('prev-gcc'), and to make the name of
40785 # the build directories constant as well. For the latter, we use naked names
40786 # like 'gcc', because the scripts in that directory assume it. We use
40787 # mv on platforms where symlinks to directories do not work or are not
40788 # reliable.
40790 # 'touch' doesn't work right on some platforms.
40791 STAMP = echo timestamp >
40793 # We only want to compare .o files, so set this!
40794 objext = .o
40797 .PHONY: stage1-start stage1-end
40799 stage1-start::
40800 @: $(MAKE); $(stage); \
40801 echo stage1 > stage_current ; \
40802 echo stage1 > stage_last; \
40803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40804 @if bfd
40805 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
40806 mkdir stage1-bfd; \
40807 mv stage1-bfd bfd
40808 @endif bfd
40809 @if opcodes
40810 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
40811 mkdir stage1-opcodes; \
40812 mv stage1-opcodes opcodes
40813 @endif opcodes
40814 @if binutils
40815 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
40816 mkdir stage1-binutils; \
40817 mv stage1-binutils binutils
40818 @endif binutils
40819 @if gas
40820 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
40821 mkdir stage1-gas; \
40822 mv stage1-gas gas
40823 @endif gas
40824 @if gcc
40825 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
40826 mkdir stage1-gcc; \
40827 mv stage1-gcc gcc
40828 @endif gcc
40829 @if gmp
40830 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
40831 mkdir stage1-gmp; \
40832 mv stage1-gmp gmp
40833 @endif gmp
40834 @if mpfr
40835 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
40836 mkdir stage1-mpfr; \
40837 mv stage1-mpfr mpfr
40838 @endif mpfr
40839 @if mpc
40840 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
40841 mkdir stage1-mpc; \
40842 mv stage1-mpc mpc
40843 @endif mpc
40844 @if ppl
40845 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
40846 mkdir stage1-ppl; \
40847 mv stage1-ppl ppl
40848 @endif ppl
40849 @if cloog
40850 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
40851 mkdir stage1-cloog; \
40852 mv stage1-cloog cloog
40853 @endif cloog
40854 @if libelf
40855 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
40856 mkdir stage1-libelf; \
40857 mv stage1-libelf libelf
40858 @endif libelf
40859 @if gold
40860 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
40861 mkdir stage1-gold; \
40862 mv stage1-gold gold
40863 @endif gold
40864 @if intl
40865 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
40866 mkdir stage1-intl; \
40867 mv stage1-intl intl
40868 @endif intl
40869 @if ld
40870 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
40871 mkdir stage1-ld; \
40872 mv stage1-ld ld
40873 @endif ld
40874 @if libcpp
40875 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
40876 mkdir stage1-libcpp; \
40877 mv stage1-libcpp libcpp
40878 @endif libcpp
40879 @if libdecnumber
40880 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
40881 mkdir stage1-libdecnumber; \
40882 mv stage1-libdecnumber libdecnumber
40883 @endif libdecnumber
40884 @if libiberty
40885 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
40886 mkdir stage1-libiberty; \
40887 mv stage1-libiberty libiberty
40888 @endif libiberty
40889 @if zlib
40890 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
40891 mkdir stage1-zlib; \
40892 mv stage1-zlib zlib
40893 @endif zlib
40894 @if lto-plugin
40895 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
40896 mkdir stage1-lto-plugin; \
40897 mv stage1-lto-plugin lto-plugin
40898 @endif lto-plugin
40899 @[ -d stage1-$(TARGET_SUBDIR) ] || \
40900 mkdir stage1-$(TARGET_SUBDIR); \
40901 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
40903 stage1-end::
40904 @if bfd
40905 @if test -d $(HOST_SUBDIR)/bfd ; then \
40906 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
40908 @endif bfd
40909 @if opcodes
40910 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40911 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
40913 @endif opcodes
40914 @if binutils
40915 @if test -d $(HOST_SUBDIR)/binutils ; then \
40916 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
40918 @endif binutils
40919 @if gas
40920 @if test -d $(HOST_SUBDIR)/gas ; then \
40921 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
40923 @endif gas
40924 @if gcc
40925 @if test -d $(HOST_SUBDIR)/gcc ; then \
40926 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
40928 @endif gcc
40929 @if gmp
40930 @if test -d $(HOST_SUBDIR)/gmp ; then \
40931 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
40933 @endif gmp
40934 @if mpfr
40935 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40936 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
40938 @endif mpfr
40939 @if mpc
40940 @if test -d $(HOST_SUBDIR)/mpc ; then \
40941 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
40943 @endif mpc
40944 @if ppl
40945 @if test -d $(HOST_SUBDIR)/ppl ; then \
40946 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
40948 @endif ppl
40949 @if cloog
40950 @if test -d $(HOST_SUBDIR)/cloog ; then \
40951 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
40953 @endif cloog
40954 @if libelf
40955 @if test -d $(HOST_SUBDIR)/libelf ; then \
40956 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
40958 @endif libelf
40959 @if gold
40960 @if test -d $(HOST_SUBDIR)/gold ; then \
40961 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
40963 @endif gold
40964 @if intl
40965 @if test -d $(HOST_SUBDIR)/intl ; then \
40966 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
40968 @endif intl
40969 @if ld
40970 @if test -d $(HOST_SUBDIR)/ld ; then \
40971 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
40973 @endif ld
40974 @if libcpp
40975 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40976 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
40978 @endif libcpp
40979 @if libdecnumber
40980 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40981 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
40983 @endif libdecnumber
40984 @if libiberty
40985 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40986 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
40988 @endif libiberty
40989 @if zlib
40990 @if test -d $(HOST_SUBDIR)/zlib ; then \
40991 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
40993 @endif zlib
40994 @if lto-plugin
40995 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40996 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
40998 @endif lto-plugin
40999 @if test -d $(TARGET_SUBDIR) ; then \
41000 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41002 rm -f stage_current
41004 # Bubble a bug fix through all the stages up to stage 1. They are
41005 # remade, but not reconfigured. The next stage (if any) will not be
41006 # reconfigured either.
41007 .PHONY: stage1-bubble
41008 stage1-bubble::
41009 @r=`${PWD_COMMAND}`; export r; \
41010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41011 if test -f stage1-lean ; then \
41012 echo Skipping rebuild of stage1 ; \
41013 else \
41014 $(MAKE) stage1-start; \
41015 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41018 .PHONY: all-stage1 clean-stage1
41019 do-clean: clean-stage1
41021 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41022 # only possibility, but now it conflicts with no-bootstrap rules
41023 @if gcc-bootstrap
41028 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41030 .PHONY: distclean-stage1
41031 distclean-stage1::
41032 @: $(MAKE); $(stage)
41033 @test "`cat stage_last`" != stage1 || rm -f stage_last
41034 rm -rf stage1-*
41037 @endif gcc-bootstrap
41040 .PHONY: stage2-start stage2-end
41042 stage2-start::
41043 @: $(MAKE); $(stage); \
41044 echo stage2 > stage_current ; \
41045 echo stage2 > stage_last; \
41046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41047 @if bfd
41048 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41049 mkdir stage2-bfd; \
41050 mv stage2-bfd bfd ; \
41051 mv stage1-bfd prev-bfd || test -f stage1-lean
41052 @endif bfd
41053 @if opcodes
41054 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41055 mkdir stage2-opcodes; \
41056 mv stage2-opcodes opcodes ; \
41057 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41058 @endif opcodes
41059 @if binutils
41060 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41061 mkdir stage2-binutils; \
41062 mv stage2-binutils binutils ; \
41063 mv stage1-binutils prev-binutils || test -f stage1-lean
41064 @endif binutils
41065 @if gas
41066 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41067 mkdir stage2-gas; \
41068 mv stage2-gas gas ; \
41069 mv stage1-gas prev-gas || test -f stage1-lean
41070 @endif gas
41071 @if gcc
41072 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41073 mkdir stage2-gcc; \
41074 mv stage2-gcc gcc ; \
41075 mv stage1-gcc prev-gcc || test -f stage1-lean
41076 @endif gcc
41077 @if gmp
41078 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41079 mkdir stage2-gmp; \
41080 mv stage2-gmp gmp ; \
41081 mv stage1-gmp prev-gmp || test -f stage1-lean
41082 @endif gmp
41083 @if mpfr
41084 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41085 mkdir stage2-mpfr; \
41086 mv stage2-mpfr mpfr ; \
41087 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41088 @endif mpfr
41089 @if mpc
41090 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41091 mkdir stage2-mpc; \
41092 mv stage2-mpc mpc ; \
41093 mv stage1-mpc prev-mpc || test -f stage1-lean
41094 @endif mpc
41095 @if ppl
41096 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
41097 mkdir stage2-ppl; \
41098 mv stage2-ppl ppl ; \
41099 mv stage1-ppl prev-ppl || test -f stage1-lean
41100 @endif ppl
41101 @if cloog
41102 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41103 mkdir stage2-cloog; \
41104 mv stage2-cloog cloog ; \
41105 mv stage1-cloog prev-cloog || test -f stage1-lean
41106 @endif cloog
41107 @if libelf
41108 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41109 mkdir stage2-libelf; \
41110 mv stage2-libelf libelf ; \
41111 mv stage1-libelf prev-libelf || test -f stage1-lean
41112 @endif libelf
41113 @if gold
41114 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41115 mkdir stage2-gold; \
41116 mv stage2-gold gold ; \
41117 mv stage1-gold prev-gold || test -f stage1-lean
41118 @endif gold
41119 @if intl
41120 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41121 mkdir stage2-intl; \
41122 mv stage2-intl intl ; \
41123 mv stage1-intl prev-intl || test -f stage1-lean
41124 @endif intl
41125 @if ld
41126 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41127 mkdir stage2-ld; \
41128 mv stage2-ld ld ; \
41129 mv stage1-ld prev-ld || test -f stage1-lean
41130 @endif ld
41131 @if libcpp
41132 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41133 mkdir stage2-libcpp; \
41134 mv stage2-libcpp libcpp ; \
41135 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41136 @endif libcpp
41137 @if libdecnumber
41138 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41139 mkdir stage2-libdecnumber; \
41140 mv stage2-libdecnumber libdecnumber ; \
41141 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41142 @endif libdecnumber
41143 @if libiberty
41144 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41145 mkdir stage2-libiberty; \
41146 mv stage2-libiberty libiberty ; \
41147 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41148 @endif libiberty
41149 @if zlib
41150 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41151 mkdir stage2-zlib; \
41152 mv stage2-zlib zlib ; \
41153 mv stage1-zlib prev-zlib || test -f stage1-lean
41154 @endif zlib
41155 @if lto-plugin
41156 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41157 mkdir stage2-lto-plugin; \
41158 mv stage2-lto-plugin lto-plugin ; \
41159 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41160 @endif lto-plugin
41161 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41162 mkdir stage2-$(TARGET_SUBDIR); \
41163 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41164 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41166 stage2-end::
41167 @if bfd
41168 @if test -d $(HOST_SUBDIR)/bfd ; then \
41169 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41170 mv prev-bfd stage1-bfd ; : ; \
41172 @endif bfd
41173 @if opcodes
41174 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41175 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41176 mv prev-opcodes stage1-opcodes ; : ; \
41178 @endif opcodes
41179 @if binutils
41180 @if test -d $(HOST_SUBDIR)/binutils ; then \
41181 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41182 mv prev-binutils stage1-binutils ; : ; \
41184 @endif binutils
41185 @if gas
41186 @if test -d $(HOST_SUBDIR)/gas ; then \
41187 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41188 mv prev-gas stage1-gas ; : ; \
41190 @endif gas
41191 @if gcc
41192 @if test -d $(HOST_SUBDIR)/gcc ; then \
41193 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41194 mv prev-gcc stage1-gcc ; : ; \
41196 @endif gcc
41197 @if gmp
41198 @if test -d $(HOST_SUBDIR)/gmp ; then \
41199 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41200 mv prev-gmp stage1-gmp ; : ; \
41202 @endif gmp
41203 @if mpfr
41204 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41205 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41206 mv prev-mpfr stage1-mpfr ; : ; \
41208 @endif mpfr
41209 @if mpc
41210 @if test -d $(HOST_SUBDIR)/mpc ; then \
41211 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41212 mv prev-mpc stage1-mpc ; : ; \
41214 @endif mpc
41215 @if ppl
41216 @if test -d $(HOST_SUBDIR)/ppl ; then \
41217 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
41218 mv prev-ppl stage1-ppl ; : ; \
41220 @endif ppl
41221 @if cloog
41222 @if test -d $(HOST_SUBDIR)/cloog ; then \
41223 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41224 mv prev-cloog stage1-cloog ; : ; \
41226 @endif cloog
41227 @if libelf
41228 @if test -d $(HOST_SUBDIR)/libelf ; then \
41229 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41230 mv prev-libelf stage1-libelf ; : ; \
41232 @endif libelf
41233 @if gold
41234 @if test -d $(HOST_SUBDIR)/gold ; then \
41235 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41236 mv prev-gold stage1-gold ; : ; \
41238 @endif gold
41239 @if intl
41240 @if test -d $(HOST_SUBDIR)/intl ; then \
41241 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41242 mv prev-intl stage1-intl ; : ; \
41244 @endif intl
41245 @if ld
41246 @if test -d $(HOST_SUBDIR)/ld ; then \
41247 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41248 mv prev-ld stage1-ld ; : ; \
41250 @endif ld
41251 @if libcpp
41252 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41253 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41254 mv prev-libcpp stage1-libcpp ; : ; \
41256 @endif libcpp
41257 @if libdecnumber
41258 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41259 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41260 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41262 @endif libdecnumber
41263 @if libiberty
41264 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41265 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41266 mv prev-libiberty stage1-libiberty ; : ; \
41268 @endif libiberty
41269 @if zlib
41270 @if test -d $(HOST_SUBDIR)/zlib ; then \
41271 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41272 mv prev-zlib stage1-zlib ; : ; \
41274 @endif zlib
41275 @if lto-plugin
41276 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41277 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41278 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41280 @endif lto-plugin
41281 @if test -d $(TARGET_SUBDIR) ; then \
41282 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41283 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41285 rm -f stage_current
41287 # Bubble a bug fix through all the stages up to stage 2. They are
41288 # remade, but not reconfigured. The next stage (if any) will not be
41289 # reconfigured either.
41290 .PHONY: stage2-bubble
41291 stage2-bubble:: stage1-bubble
41292 @r=`${PWD_COMMAND}`; export r; \
41293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41294 if test -f stage2-lean || test -f stage1-lean ; then \
41295 echo Skipping rebuild of stage2 ; \
41296 else \
41297 $(MAKE) stage2-start; \
41298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41301 .PHONY: all-stage2 clean-stage2
41302 do-clean: clean-stage2
41304 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41305 # only possibility, but now it conflicts with no-bootstrap rules
41306 @if gcc-bootstrap
41310 .PHONY: bootstrap2 bootstrap2-lean
41311 bootstrap2:
41312 echo stage2 > stage_final
41313 @r=`${PWD_COMMAND}`; export r; \
41314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41315 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41316 @: $(MAKE); $(unstage)
41317 @r=`${PWD_COMMAND}`; export r; \
41318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41319 TFLAGS="$(STAGE2_TFLAGS)"; \
41320 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41322 bootstrap2-lean:
41323 echo stage2 > stage_final
41324 @r=`${PWD_COMMAND}`; export r; \
41325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41326 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41327 @: $(MAKE); $(unstage)
41328 @r=`${PWD_COMMAND}`; export r; \
41329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41330 TFLAGS="$(STAGE2_TFLAGS)"; \
41331 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41334 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41335 distclean-stage1:: distclean-stage2
41336 .PHONY: distclean-stage2
41337 distclean-stage2::
41338 @: $(MAKE); $(stage)
41339 @test "`cat stage_last`" != stage2 || rm -f stage_last
41340 rm -rf stage2-*
41343 @endif gcc-bootstrap
41346 .PHONY: stage3-start stage3-end
41348 stage3-start::
41349 @: $(MAKE); $(stage); \
41350 echo stage3 > stage_current ; \
41351 echo stage3 > stage_last; \
41352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41353 @if bfd
41354 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41355 mkdir stage3-bfd; \
41356 mv stage3-bfd bfd ; \
41357 mv stage2-bfd prev-bfd || test -f stage2-lean
41358 @endif bfd
41359 @if opcodes
41360 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41361 mkdir stage3-opcodes; \
41362 mv stage3-opcodes opcodes ; \
41363 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41364 @endif opcodes
41365 @if binutils
41366 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41367 mkdir stage3-binutils; \
41368 mv stage3-binutils binutils ; \
41369 mv stage2-binutils prev-binutils || test -f stage2-lean
41370 @endif binutils
41371 @if gas
41372 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41373 mkdir stage3-gas; \
41374 mv stage3-gas gas ; \
41375 mv stage2-gas prev-gas || test -f stage2-lean
41376 @endif gas
41377 @if gcc
41378 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41379 mkdir stage3-gcc; \
41380 mv stage3-gcc gcc ; \
41381 mv stage2-gcc prev-gcc || test -f stage2-lean
41382 @endif gcc
41383 @if gmp
41384 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41385 mkdir stage3-gmp; \
41386 mv stage3-gmp gmp ; \
41387 mv stage2-gmp prev-gmp || test -f stage2-lean
41388 @endif gmp
41389 @if mpfr
41390 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41391 mkdir stage3-mpfr; \
41392 mv stage3-mpfr mpfr ; \
41393 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41394 @endif mpfr
41395 @if mpc
41396 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41397 mkdir stage3-mpc; \
41398 mv stage3-mpc mpc ; \
41399 mv stage2-mpc prev-mpc || test -f stage2-lean
41400 @endif mpc
41401 @if ppl
41402 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
41403 mkdir stage3-ppl; \
41404 mv stage3-ppl ppl ; \
41405 mv stage2-ppl prev-ppl || test -f stage2-lean
41406 @endif ppl
41407 @if cloog
41408 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41409 mkdir stage3-cloog; \
41410 mv stage3-cloog cloog ; \
41411 mv stage2-cloog prev-cloog || test -f stage2-lean
41412 @endif cloog
41413 @if libelf
41414 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41415 mkdir stage3-libelf; \
41416 mv stage3-libelf libelf ; \
41417 mv stage2-libelf prev-libelf || test -f stage2-lean
41418 @endif libelf
41419 @if gold
41420 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41421 mkdir stage3-gold; \
41422 mv stage3-gold gold ; \
41423 mv stage2-gold prev-gold || test -f stage2-lean
41424 @endif gold
41425 @if intl
41426 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41427 mkdir stage3-intl; \
41428 mv stage3-intl intl ; \
41429 mv stage2-intl prev-intl || test -f stage2-lean
41430 @endif intl
41431 @if ld
41432 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41433 mkdir stage3-ld; \
41434 mv stage3-ld ld ; \
41435 mv stage2-ld prev-ld || test -f stage2-lean
41436 @endif ld
41437 @if libcpp
41438 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41439 mkdir stage3-libcpp; \
41440 mv stage3-libcpp libcpp ; \
41441 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41442 @endif libcpp
41443 @if libdecnumber
41444 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41445 mkdir stage3-libdecnumber; \
41446 mv stage3-libdecnumber libdecnumber ; \
41447 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41448 @endif libdecnumber
41449 @if libiberty
41450 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41451 mkdir stage3-libiberty; \
41452 mv stage3-libiberty libiberty ; \
41453 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41454 @endif libiberty
41455 @if zlib
41456 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41457 mkdir stage3-zlib; \
41458 mv stage3-zlib zlib ; \
41459 mv stage2-zlib prev-zlib || test -f stage2-lean
41460 @endif zlib
41461 @if lto-plugin
41462 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41463 mkdir stage3-lto-plugin; \
41464 mv stage3-lto-plugin lto-plugin ; \
41465 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41466 @endif lto-plugin
41467 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41468 mkdir stage3-$(TARGET_SUBDIR); \
41469 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41470 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41472 stage3-end::
41473 @if bfd
41474 @if test -d $(HOST_SUBDIR)/bfd ; then \
41475 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41476 mv prev-bfd stage2-bfd ; : ; \
41478 @endif bfd
41479 @if opcodes
41480 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41481 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41482 mv prev-opcodes stage2-opcodes ; : ; \
41484 @endif opcodes
41485 @if binutils
41486 @if test -d $(HOST_SUBDIR)/binutils ; then \
41487 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41488 mv prev-binutils stage2-binutils ; : ; \
41490 @endif binutils
41491 @if gas
41492 @if test -d $(HOST_SUBDIR)/gas ; then \
41493 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41494 mv prev-gas stage2-gas ; : ; \
41496 @endif gas
41497 @if gcc
41498 @if test -d $(HOST_SUBDIR)/gcc ; then \
41499 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41500 mv prev-gcc stage2-gcc ; : ; \
41502 @endif gcc
41503 @if gmp
41504 @if test -d $(HOST_SUBDIR)/gmp ; then \
41505 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41506 mv prev-gmp stage2-gmp ; : ; \
41508 @endif gmp
41509 @if mpfr
41510 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41511 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41512 mv prev-mpfr stage2-mpfr ; : ; \
41514 @endif mpfr
41515 @if mpc
41516 @if test -d $(HOST_SUBDIR)/mpc ; then \
41517 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41518 mv prev-mpc stage2-mpc ; : ; \
41520 @endif mpc
41521 @if ppl
41522 @if test -d $(HOST_SUBDIR)/ppl ; then \
41523 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41524 mv prev-ppl stage2-ppl ; : ; \
41526 @endif ppl
41527 @if cloog
41528 @if test -d $(HOST_SUBDIR)/cloog ; then \
41529 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41530 mv prev-cloog stage2-cloog ; : ; \
41532 @endif cloog
41533 @if libelf
41534 @if test -d $(HOST_SUBDIR)/libelf ; then \
41535 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41536 mv prev-libelf stage2-libelf ; : ; \
41538 @endif libelf
41539 @if gold
41540 @if test -d $(HOST_SUBDIR)/gold ; then \
41541 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41542 mv prev-gold stage2-gold ; : ; \
41544 @endif gold
41545 @if intl
41546 @if test -d $(HOST_SUBDIR)/intl ; then \
41547 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41548 mv prev-intl stage2-intl ; : ; \
41550 @endif intl
41551 @if ld
41552 @if test -d $(HOST_SUBDIR)/ld ; then \
41553 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
41554 mv prev-ld stage2-ld ; : ; \
41556 @endif ld
41557 @if libcpp
41558 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41559 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
41560 mv prev-libcpp stage2-libcpp ; : ; \
41562 @endif libcpp
41563 @if libdecnumber
41564 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41565 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
41566 mv prev-libdecnumber stage2-libdecnumber ; : ; \
41568 @endif libdecnumber
41569 @if libiberty
41570 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41571 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
41572 mv prev-libiberty stage2-libiberty ; : ; \
41574 @endif libiberty
41575 @if zlib
41576 @if test -d $(HOST_SUBDIR)/zlib ; then \
41577 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
41578 mv prev-zlib stage2-zlib ; : ; \
41580 @endif zlib
41581 @if lto-plugin
41582 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41583 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
41584 mv prev-lto-plugin stage2-lto-plugin ; : ; \
41586 @endif lto-plugin
41587 @if test -d $(TARGET_SUBDIR) ; then \
41588 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
41589 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
41591 rm -f stage_current
41593 # Bubble a bug fix through all the stages up to stage 3. They are
41594 # remade, but not reconfigured. The next stage (if any) will not be
41595 # reconfigured either.
41596 .PHONY: stage3-bubble
41597 stage3-bubble:: stage2-bubble
41598 @r=`${PWD_COMMAND}`; export r; \
41599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41600 if test -f stage3-lean || test -f stage2-lean ; then \
41601 echo Skipping rebuild of stage3 ; \
41602 else \
41603 $(MAKE) stage3-start; \
41604 if $(LEAN); then \
41605 rm -rf stage1-* ; \
41606 $(STAMP) stage1-lean ; \
41607 fi; \
41608 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
41610 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
41612 .PHONY: all-stage3 clean-stage3
41613 do-clean: clean-stage3
41615 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41616 # only possibility, but now it conflicts with no-bootstrap rules
41617 @if gcc-bootstrap
41619 compare:
41620 @r=`${PWD_COMMAND}`; export r; \
41621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41622 if test -f stage2-lean; then \
41623 echo Cannot compare object files as stage 2 was deleted. ; \
41624 exit 0 ; \
41625 fi; \
41626 : $(MAKE); $(stage); \
41627 rm -f .bad_compare ; \
41628 echo Comparing stages 2 and 3 ; \
41629 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
41630 files=`find stage3-* -name "*$(objext)" -print | \
41631 sed -n s,^stage$$sed-,,p` ; \
41632 for file in $${files} ; do \
41633 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
41634 if test ! -f $$f1; then continue; fi; \
41635 $(do-compare) > /dev/null 2>&1; \
41636 if test $$? -eq 1; then \
41637 case $$file in \
41638 @compare_exclusions@) \
41639 echo warning: $$file differs ;; \
41640 *) \
41641 echo $$file differs >> .bad_compare ;; \
41642 esac ; \
41643 fi ; \
41644 done ; \
41645 if [ -f .bad_compare ]; then \
41646 echo "Bootstrap comparison failure!"; \
41647 cat .bad_compare; \
41648 exit 1; \
41649 else \
41650 echo Comparison successful.; \
41651 fi ; \
41652 $(STAMP) compare
41653 if $(LEAN); then \
41654 rm -rf stage2-*; \
41655 $(STAMP) stage2-lean; \
41660 .PHONY: bootstrap bootstrap-lean
41661 bootstrap:
41662 echo stage3 > stage_final
41663 @r=`${PWD_COMMAND}`; export r; \
41664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41666 @: $(MAKE); $(unstage)
41667 @r=`${PWD_COMMAND}`; export r; \
41668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41669 TFLAGS="$(STAGE3_TFLAGS)"; \
41670 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41672 bootstrap-lean:
41673 echo stage3 > stage_final
41674 @r=`${PWD_COMMAND}`; export r; \
41675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41676 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
41677 @: $(MAKE); $(unstage)
41678 @r=`${PWD_COMMAND}`; export r; \
41679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41680 TFLAGS="$(STAGE3_TFLAGS)"; \
41681 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41684 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41685 distclean-stage2:: distclean-stage3
41686 .PHONY: distclean-stage3
41687 distclean-stage3::
41688 @: $(MAKE); $(stage)
41689 @test "`cat stage_last`" != stage3 || rm -f stage_last
41690 rm -rf stage3-* compare
41693 .PHONY: cleanstrap
41694 cleanstrap: do-distclean local-clean
41695 echo stage3 > stage_final
41696 @r=`${PWD_COMMAND}`; export r; \
41697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41698 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41699 @: $(MAKE); $(unstage)
41700 @r=`${PWD_COMMAND}`; export r; \
41701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41702 TFLAGS="$(STAGE3_TFLAGS)"; \
41703 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41705 @endif gcc-bootstrap
41708 .PHONY: stage4-start stage4-end
41710 stage4-start::
41711 @: $(MAKE); $(stage); \
41712 echo stage4 > stage_current ; \
41713 echo stage4 > stage_last; \
41714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41715 @if bfd
41716 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
41717 mkdir stage4-bfd; \
41718 mv stage4-bfd bfd ; \
41719 mv stage3-bfd prev-bfd || test -f stage3-lean
41720 @endif bfd
41721 @if opcodes
41722 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
41723 mkdir stage4-opcodes; \
41724 mv stage4-opcodes opcodes ; \
41725 mv stage3-opcodes prev-opcodes || test -f stage3-lean
41726 @endif opcodes
41727 @if binutils
41728 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
41729 mkdir stage4-binutils; \
41730 mv stage4-binutils binutils ; \
41731 mv stage3-binutils prev-binutils || test -f stage3-lean
41732 @endif binutils
41733 @if gas
41734 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
41735 mkdir stage4-gas; \
41736 mv stage4-gas gas ; \
41737 mv stage3-gas prev-gas || test -f stage3-lean
41738 @endif gas
41739 @if gcc
41740 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
41741 mkdir stage4-gcc; \
41742 mv stage4-gcc gcc ; \
41743 mv stage3-gcc prev-gcc || test -f stage3-lean
41744 @endif gcc
41745 @if gmp
41746 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
41747 mkdir stage4-gmp; \
41748 mv stage4-gmp gmp ; \
41749 mv stage3-gmp prev-gmp || test -f stage3-lean
41750 @endif gmp
41751 @if mpfr
41752 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
41753 mkdir stage4-mpfr; \
41754 mv stage4-mpfr mpfr ; \
41755 mv stage3-mpfr prev-mpfr || test -f stage3-lean
41756 @endif mpfr
41757 @if mpc
41758 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
41759 mkdir stage4-mpc; \
41760 mv stage4-mpc mpc ; \
41761 mv stage3-mpc prev-mpc || test -f stage3-lean
41762 @endif mpc
41763 @if ppl
41764 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
41765 mkdir stage4-ppl; \
41766 mv stage4-ppl ppl ; \
41767 mv stage3-ppl prev-ppl || test -f stage3-lean
41768 @endif ppl
41769 @if cloog
41770 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
41771 mkdir stage4-cloog; \
41772 mv stage4-cloog cloog ; \
41773 mv stage3-cloog prev-cloog || test -f stage3-lean
41774 @endif cloog
41775 @if libelf
41776 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
41777 mkdir stage4-libelf; \
41778 mv stage4-libelf libelf ; \
41779 mv stage3-libelf prev-libelf || test -f stage3-lean
41780 @endif libelf
41781 @if gold
41782 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
41783 mkdir stage4-gold; \
41784 mv stage4-gold gold ; \
41785 mv stage3-gold prev-gold || test -f stage3-lean
41786 @endif gold
41787 @if intl
41788 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
41789 mkdir stage4-intl; \
41790 mv stage4-intl intl ; \
41791 mv stage3-intl prev-intl || test -f stage3-lean
41792 @endif intl
41793 @if ld
41794 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
41795 mkdir stage4-ld; \
41796 mv stage4-ld ld ; \
41797 mv stage3-ld prev-ld || test -f stage3-lean
41798 @endif ld
41799 @if libcpp
41800 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
41801 mkdir stage4-libcpp; \
41802 mv stage4-libcpp libcpp ; \
41803 mv stage3-libcpp prev-libcpp || test -f stage3-lean
41804 @endif libcpp
41805 @if libdecnumber
41806 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
41807 mkdir stage4-libdecnumber; \
41808 mv stage4-libdecnumber libdecnumber ; \
41809 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
41810 @endif libdecnumber
41811 @if libiberty
41812 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
41813 mkdir stage4-libiberty; \
41814 mv stage4-libiberty libiberty ; \
41815 mv stage3-libiberty prev-libiberty || test -f stage3-lean
41816 @endif libiberty
41817 @if zlib
41818 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
41819 mkdir stage4-zlib; \
41820 mv stage4-zlib zlib ; \
41821 mv stage3-zlib prev-zlib || test -f stage3-lean
41822 @endif zlib
41823 @if lto-plugin
41824 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
41825 mkdir stage4-lto-plugin; \
41826 mv stage4-lto-plugin lto-plugin ; \
41827 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
41828 @endif lto-plugin
41829 @[ -d stage4-$(TARGET_SUBDIR) ] || \
41830 mkdir stage4-$(TARGET_SUBDIR); \
41831 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41832 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
41834 stage4-end::
41835 @if bfd
41836 @if test -d $(HOST_SUBDIR)/bfd ; then \
41837 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
41838 mv prev-bfd stage3-bfd ; : ; \
41840 @endif bfd
41841 @if opcodes
41842 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41843 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
41844 mv prev-opcodes stage3-opcodes ; : ; \
41846 @endif opcodes
41847 @if binutils
41848 @if test -d $(HOST_SUBDIR)/binutils ; then \
41849 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
41850 mv prev-binutils stage3-binutils ; : ; \
41852 @endif binutils
41853 @if gas
41854 @if test -d $(HOST_SUBDIR)/gas ; then \
41855 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
41856 mv prev-gas stage3-gas ; : ; \
41858 @endif gas
41859 @if gcc
41860 @if test -d $(HOST_SUBDIR)/gcc ; then \
41861 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
41862 mv prev-gcc stage3-gcc ; : ; \
41864 @endif gcc
41865 @if gmp
41866 @if test -d $(HOST_SUBDIR)/gmp ; then \
41867 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
41868 mv prev-gmp stage3-gmp ; : ; \
41870 @endif gmp
41871 @if mpfr
41872 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41873 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
41874 mv prev-mpfr stage3-mpfr ; : ; \
41876 @endif mpfr
41877 @if mpc
41878 @if test -d $(HOST_SUBDIR)/mpc ; then \
41879 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
41880 mv prev-mpc stage3-mpc ; : ; \
41882 @endif mpc
41883 @if ppl
41884 @if test -d $(HOST_SUBDIR)/ppl ; then \
41885 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
41886 mv prev-ppl stage3-ppl ; : ; \
41888 @endif ppl
41889 @if cloog
41890 @if test -d $(HOST_SUBDIR)/cloog ; then \
41891 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
41892 mv prev-cloog stage3-cloog ; : ; \
41894 @endif cloog
41895 @if libelf
41896 @if test -d $(HOST_SUBDIR)/libelf ; then \
41897 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
41898 mv prev-libelf stage3-libelf ; : ; \
41900 @endif libelf
41901 @if gold
41902 @if test -d $(HOST_SUBDIR)/gold ; then \
41903 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
41904 mv prev-gold stage3-gold ; : ; \
41906 @endif gold
41907 @if intl
41908 @if test -d $(HOST_SUBDIR)/intl ; then \
41909 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
41910 mv prev-intl stage3-intl ; : ; \
41912 @endif intl
41913 @if ld
41914 @if test -d $(HOST_SUBDIR)/ld ; then \
41915 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
41916 mv prev-ld stage3-ld ; : ; \
41918 @endif ld
41919 @if libcpp
41920 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41921 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
41922 mv prev-libcpp stage3-libcpp ; : ; \
41924 @endif libcpp
41925 @if libdecnumber
41926 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41927 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
41928 mv prev-libdecnumber stage3-libdecnumber ; : ; \
41930 @endif libdecnumber
41931 @if libiberty
41932 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41933 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
41934 mv prev-libiberty stage3-libiberty ; : ; \
41936 @endif libiberty
41937 @if zlib
41938 @if test -d $(HOST_SUBDIR)/zlib ; then \
41939 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
41940 mv prev-zlib stage3-zlib ; : ; \
41942 @endif zlib
41943 @if lto-plugin
41944 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41945 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
41946 mv prev-lto-plugin stage3-lto-plugin ; : ; \
41948 @endif lto-plugin
41949 @if test -d $(TARGET_SUBDIR) ; then \
41950 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
41951 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
41953 rm -f stage_current
41955 # Bubble a bug fix through all the stages up to stage 4. They are
41956 # remade, but not reconfigured. The next stage (if any) will not be
41957 # reconfigured either.
41958 .PHONY: stage4-bubble
41959 stage4-bubble:: stage3-bubble
41960 @r=`${PWD_COMMAND}`; export r; \
41961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41962 if test -f stage4-lean || test -f stage3-lean ; then \
41963 echo Skipping rebuild of stage4 ; \
41964 else \
41965 $(MAKE) stage4-start; \
41966 if $(LEAN); then \
41967 rm -rf stage2-* ; \
41968 $(STAMP) stage2-lean ; \
41969 fi; \
41970 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
41972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
41974 .PHONY: all-stage4 clean-stage4
41975 do-clean: clean-stage4
41977 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41978 # only possibility, but now it conflicts with no-bootstrap rules
41979 @if gcc-bootstrap
41981 compare3:
41982 @r=`${PWD_COMMAND}`; export r; \
41983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41984 if test -f stage3-lean; then \
41985 echo Cannot compare object files as stage 3 was deleted. ; \
41986 exit 0 ; \
41987 fi; \
41988 : $(MAKE); $(stage); \
41989 rm -f .bad_compare ; \
41990 echo Comparing stages 3 and 4 ; \
41991 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
41992 files=`find stage4-* -name "*$(objext)" -print | \
41993 sed -n s,^stage$$sed-,,p` ; \
41994 for file in $${files} ; do \
41995 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
41996 if test ! -f $$f1; then continue; fi; \
41997 $(do-compare3) > /dev/null 2>&1; \
41998 if test $$? -eq 1; then \
41999 case $$file in \
42000 @compare_exclusions@) \
42001 echo warning: $$file differs ;; \
42002 *) \
42003 echo $$file differs >> .bad_compare ;; \
42004 esac ; \
42005 fi ; \
42006 done ; \
42007 if [ -f .bad_compare ]; then \
42008 echo "Bootstrap comparison failure!"; \
42009 cat .bad_compare; \
42010 exit 1; \
42011 else \
42012 echo Comparison successful.; \
42013 fi ; \
42014 $(STAMP) compare3
42015 if $(LEAN); then \
42016 rm -rf stage3-*; \
42017 $(STAMP) stage3-lean; \
42022 .PHONY: bootstrap4 bootstrap4-lean
42023 bootstrap4:
42024 echo stage4 > stage_final
42025 @r=`${PWD_COMMAND}`; export r; \
42026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42027 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42028 @: $(MAKE); $(unstage)
42029 @r=`${PWD_COMMAND}`; export r; \
42030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42031 TFLAGS="$(STAGE4_TFLAGS)"; \
42032 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42034 bootstrap4-lean:
42035 echo stage4 > stage_final
42036 @r=`${PWD_COMMAND}`; export r; \
42037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42038 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42039 @: $(MAKE); $(unstage)
42040 @r=`${PWD_COMMAND}`; export r; \
42041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42042 TFLAGS="$(STAGE4_TFLAGS)"; \
42043 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42046 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42047 distclean-stage3:: distclean-stage4
42048 .PHONY: distclean-stage4
42049 distclean-stage4::
42050 @: $(MAKE); $(stage)
42051 @test "`cat stage_last`" != stage4 || rm -f stage_last
42052 rm -rf stage4-* compare3
42055 @endif gcc-bootstrap
42058 .PHONY: stageprofile-start stageprofile-end
42060 stageprofile-start::
42061 @: $(MAKE); $(stage); \
42062 echo stageprofile > stage_current ; \
42063 echo stageprofile > stage_last; \
42064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42065 @if bfd
42066 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42067 mkdir stageprofile-bfd; \
42068 mv stageprofile-bfd bfd ; \
42069 mv stage1-bfd prev-bfd || test -f stage1-lean
42070 @endif bfd
42071 @if opcodes
42072 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42073 mkdir stageprofile-opcodes; \
42074 mv stageprofile-opcodes opcodes ; \
42075 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42076 @endif opcodes
42077 @if binutils
42078 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42079 mkdir stageprofile-binutils; \
42080 mv stageprofile-binutils binutils ; \
42081 mv stage1-binutils prev-binutils || test -f stage1-lean
42082 @endif binutils
42083 @if gas
42084 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42085 mkdir stageprofile-gas; \
42086 mv stageprofile-gas gas ; \
42087 mv stage1-gas prev-gas || test -f stage1-lean
42088 @endif gas
42089 @if gcc
42090 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42091 mkdir stageprofile-gcc; \
42092 mv stageprofile-gcc gcc ; \
42093 mv stage1-gcc prev-gcc || test -f stage1-lean
42094 @endif gcc
42095 @if gmp
42096 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42097 mkdir stageprofile-gmp; \
42098 mv stageprofile-gmp gmp ; \
42099 mv stage1-gmp prev-gmp || test -f stage1-lean
42100 @endif gmp
42101 @if mpfr
42102 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42103 mkdir stageprofile-mpfr; \
42104 mv stageprofile-mpfr mpfr ; \
42105 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42106 @endif mpfr
42107 @if mpc
42108 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42109 mkdir stageprofile-mpc; \
42110 mv stageprofile-mpc mpc ; \
42111 mv stage1-mpc prev-mpc || test -f stage1-lean
42112 @endif mpc
42113 @if ppl
42114 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
42115 mkdir stageprofile-ppl; \
42116 mv stageprofile-ppl ppl ; \
42117 mv stage1-ppl prev-ppl || test -f stage1-lean
42118 @endif ppl
42119 @if cloog
42120 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42121 mkdir stageprofile-cloog; \
42122 mv stageprofile-cloog cloog ; \
42123 mv stage1-cloog prev-cloog || test -f stage1-lean
42124 @endif cloog
42125 @if libelf
42126 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42127 mkdir stageprofile-libelf; \
42128 mv stageprofile-libelf libelf ; \
42129 mv stage1-libelf prev-libelf || test -f stage1-lean
42130 @endif libelf
42131 @if gold
42132 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42133 mkdir stageprofile-gold; \
42134 mv stageprofile-gold gold ; \
42135 mv stage1-gold prev-gold || test -f stage1-lean
42136 @endif gold
42137 @if intl
42138 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42139 mkdir stageprofile-intl; \
42140 mv stageprofile-intl intl ; \
42141 mv stage1-intl prev-intl || test -f stage1-lean
42142 @endif intl
42143 @if ld
42144 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42145 mkdir stageprofile-ld; \
42146 mv stageprofile-ld ld ; \
42147 mv stage1-ld prev-ld || test -f stage1-lean
42148 @endif ld
42149 @if libcpp
42150 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42151 mkdir stageprofile-libcpp; \
42152 mv stageprofile-libcpp libcpp ; \
42153 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42154 @endif libcpp
42155 @if libdecnumber
42156 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42157 mkdir stageprofile-libdecnumber; \
42158 mv stageprofile-libdecnumber libdecnumber ; \
42159 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42160 @endif libdecnumber
42161 @if libiberty
42162 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42163 mkdir stageprofile-libiberty; \
42164 mv stageprofile-libiberty libiberty ; \
42165 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42166 @endif libiberty
42167 @if zlib
42168 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42169 mkdir stageprofile-zlib; \
42170 mv stageprofile-zlib zlib ; \
42171 mv stage1-zlib prev-zlib || test -f stage1-lean
42172 @endif zlib
42173 @if lto-plugin
42174 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42175 mkdir stageprofile-lto-plugin; \
42176 mv stageprofile-lto-plugin lto-plugin ; \
42177 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42178 @endif lto-plugin
42179 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42180 mkdir stageprofile-$(TARGET_SUBDIR); \
42181 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42182 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42184 stageprofile-end::
42185 @if bfd
42186 @if test -d $(HOST_SUBDIR)/bfd ; then \
42187 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42188 mv prev-bfd stage1-bfd ; : ; \
42190 @endif bfd
42191 @if opcodes
42192 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42193 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42194 mv prev-opcodes stage1-opcodes ; : ; \
42196 @endif opcodes
42197 @if binutils
42198 @if test -d $(HOST_SUBDIR)/binutils ; then \
42199 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42200 mv prev-binutils stage1-binutils ; : ; \
42202 @endif binutils
42203 @if gas
42204 @if test -d $(HOST_SUBDIR)/gas ; then \
42205 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42206 mv prev-gas stage1-gas ; : ; \
42208 @endif gas
42209 @if gcc
42210 @if test -d $(HOST_SUBDIR)/gcc ; then \
42211 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42212 mv prev-gcc stage1-gcc ; : ; \
42214 @endif gcc
42215 @if gmp
42216 @if test -d $(HOST_SUBDIR)/gmp ; then \
42217 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42218 mv prev-gmp stage1-gmp ; : ; \
42220 @endif gmp
42221 @if mpfr
42222 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42223 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42224 mv prev-mpfr stage1-mpfr ; : ; \
42226 @endif mpfr
42227 @if mpc
42228 @if test -d $(HOST_SUBDIR)/mpc ; then \
42229 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42230 mv prev-mpc stage1-mpc ; : ; \
42232 @endif mpc
42233 @if ppl
42234 @if test -d $(HOST_SUBDIR)/ppl ; then \
42235 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
42236 mv prev-ppl stage1-ppl ; : ; \
42238 @endif ppl
42239 @if cloog
42240 @if test -d $(HOST_SUBDIR)/cloog ; then \
42241 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42242 mv prev-cloog stage1-cloog ; : ; \
42244 @endif cloog
42245 @if libelf
42246 @if test -d $(HOST_SUBDIR)/libelf ; then \
42247 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42248 mv prev-libelf stage1-libelf ; : ; \
42250 @endif libelf
42251 @if gold
42252 @if test -d $(HOST_SUBDIR)/gold ; then \
42253 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42254 mv prev-gold stage1-gold ; : ; \
42256 @endif gold
42257 @if intl
42258 @if test -d $(HOST_SUBDIR)/intl ; then \
42259 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42260 mv prev-intl stage1-intl ; : ; \
42262 @endif intl
42263 @if ld
42264 @if test -d $(HOST_SUBDIR)/ld ; then \
42265 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42266 mv prev-ld stage1-ld ; : ; \
42268 @endif ld
42269 @if libcpp
42270 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42271 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42272 mv prev-libcpp stage1-libcpp ; : ; \
42274 @endif libcpp
42275 @if libdecnumber
42276 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42277 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42278 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42280 @endif libdecnumber
42281 @if libiberty
42282 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42283 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42284 mv prev-libiberty stage1-libiberty ; : ; \
42286 @endif libiberty
42287 @if zlib
42288 @if test -d $(HOST_SUBDIR)/zlib ; then \
42289 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42290 mv prev-zlib stage1-zlib ; : ; \
42292 @endif zlib
42293 @if lto-plugin
42294 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42295 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42296 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42298 @endif lto-plugin
42299 @if test -d $(TARGET_SUBDIR) ; then \
42300 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42301 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42303 rm -f stage_current
42305 # Bubble a bug fix through all the stages up to stage profile. They are
42306 # remade, but not reconfigured. The next stage (if any) will not be
42307 # reconfigured either.
42308 .PHONY: stageprofile-bubble
42309 stageprofile-bubble:: stage1-bubble
42310 @r=`${PWD_COMMAND}`; export r; \
42311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42312 if test -f stageprofile-lean || test -f stage1-lean ; then \
42313 echo Skipping rebuild of stageprofile ; \
42314 else \
42315 $(MAKE) stageprofile-start; \
42316 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42319 .PHONY: all-stageprofile clean-stageprofile
42320 do-clean: clean-stageprofile
42322 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42323 # only possibility, but now it conflicts with no-bootstrap rules
42324 @if gcc-bootstrap
42329 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42330 distclean-stage1:: distclean-stageprofile
42331 .PHONY: distclean-stageprofile
42332 distclean-stageprofile::
42333 @: $(MAKE); $(stage)
42334 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42335 rm -rf stageprofile-*
42338 @endif gcc-bootstrap
42341 .PHONY: stagefeedback-start stagefeedback-end
42343 stagefeedback-start::
42344 @: $(MAKE); $(stage); \
42345 echo stagefeedback > stage_current ; \
42346 echo stagefeedback > stage_last; \
42347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42348 @if bfd
42349 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42350 mkdir stagefeedback-bfd; \
42351 mv stagefeedback-bfd bfd ; \
42352 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42353 @endif bfd
42354 @if opcodes
42355 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42356 mkdir stagefeedback-opcodes; \
42357 mv stagefeedback-opcodes opcodes ; \
42358 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42359 @endif opcodes
42360 @if binutils
42361 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42362 mkdir stagefeedback-binutils; \
42363 mv stagefeedback-binutils binutils ; \
42364 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42365 @endif binutils
42366 @if gas
42367 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42368 mkdir stagefeedback-gas; \
42369 mv stagefeedback-gas gas ; \
42370 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42371 @endif gas
42372 @if gcc
42373 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42374 mkdir stagefeedback-gcc; \
42375 mv stagefeedback-gcc gcc ; \
42376 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42377 @endif gcc
42378 @if gmp
42379 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42380 mkdir stagefeedback-gmp; \
42381 mv stagefeedback-gmp gmp ; \
42382 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42383 @endif gmp
42384 @if mpfr
42385 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42386 mkdir stagefeedback-mpfr; \
42387 mv stagefeedback-mpfr mpfr ; \
42388 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42389 @endif mpfr
42390 @if mpc
42391 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42392 mkdir stagefeedback-mpc; \
42393 mv stagefeedback-mpc mpc ; \
42394 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42395 @endif mpc
42396 @if ppl
42397 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
42398 mkdir stagefeedback-ppl; \
42399 mv stagefeedback-ppl ppl ; \
42400 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
42401 @endif ppl
42402 @if cloog
42403 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42404 mkdir stagefeedback-cloog; \
42405 mv stagefeedback-cloog cloog ; \
42406 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42407 @endif cloog
42408 @if libelf
42409 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42410 mkdir stagefeedback-libelf; \
42411 mv stagefeedback-libelf libelf ; \
42412 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42413 @endif libelf
42414 @if gold
42415 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42416 mkdir stagefeedback-gold; \
42417 mv stagefeedback-gold gold ; \
42418 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42419 @endif gold
42420 @if intl
42421 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42422 mkdir stagefeedback-intl; \
42423 mv stagefeedback-intl intl ; \
42424 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42425 @endif intl
42426 @if ld
42427 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42428 mkdir stagefeedback-ld; \
42429 mv stagefeedback-ld ld ; \
42430 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42431 @endif ld
42432 @if libcpp
42433 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42434 mkdir stagefeedback-libcpp; \
42435 mv stagefeedback-libcpp libcpp ; \
42436 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42437 @endif libcpp
42438 @if libdecnumber
42439 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42440 mkdir stagefeedback-libdecnumber; \
42441 mv stagefeedback-libdecnumber libdecnumber ; \
42442 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42443 @endif libdecnumber
42444 @if libiberty
42445 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42446 mkdir stagefeedback-libiberty; \
42447 mv stagefeedback-libiberty libiberty ; \
42448 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42449 @endif libiberty
42450 @if zlib
42451 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42452 mkdir stagefeedback-zlib; \
42453 mv stagefeedback-zlib zlib ; \
42454 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42455 @endif zlib
42456 @if lto-plugin
42457 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42458 mkdir stagefeedback-lto-plugin; \
42459 mv stagefeedback-lto-plugin lto-plugin ; \
42460 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42461 @endif lto-plugin
42462 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42463 mkdir stagefeedback-$(TARGET_SUBDIR); \
42464 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42465 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42467 stagefeedback-end::
42468 @if bfd
42469 @if test -d $(HOST_SUBDIR)/bfd ; then \
42470 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42471 mv prev-bfd stageprofile-bfd ; : ; \
42473 @endif bfd
42474 @if opcodes
42475 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42476 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42477 mv prev-opcodes stageprofile-opcodes ; : ; \
42479 @endif opcodes
42480 @if binutils
42481 @if test -d $(HOST_SUBDIR)/binutils ; then \
42482 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42483 mv prev-binutils stageprofile-binutils ; : ; \
42485 @endif binutils
42486 @if gas
42487 @if test -d $(HOST_SUBDIR)/gas ; then \
42488 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42489 mv prev-gas stageprofile-gas ; : ; \
42491 @endif gas
42492 @if gcc
42493 @if test -d $(HOST_SUBDIR)/gcc ; then \
42494 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42495 mv prev-gcc stageprofile-gcc ; : ; \
42497 @endif gcc
42498 @if gmp
42499 @if test -d $(HOST_SUBDIR)/gmp ; then \
42500 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42501 mv prev-gmp stageprofile-gmp ; : ; \
42503 @endif gmp
42504 @if mpfr
42505 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42506 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42507 mv prev-mpfr stageprofile-mpfr ; : ; \
42509 @endif mpfr
42510 @if mpc
42511 @if test -d $(HOST_SUBDIR)/mpc ; then \
42512 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42513 mv prev-mpc stageprofile-mpc ; : ; \
42515 @endif mpc
42516 @if ppl
42517 @if test -d $(HOST_SUBDIR)/ppl ; then \
42518 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42519 mv prev-ppl stageprofile-ppl ; : ; \
42521 @endif ppl
42522 @if cloog
42523 @if test -d $(HOST_SUBDIR)/cloog ; then \
42524 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42525 mv prev-cloog stageprofile-cloog ; : ; \
42527 @endif cloog
42528 @if libelf
42529 @if test -d $(HOST_SUBDIR)/libelf ; then \
42530 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42531 mv prev-libelf stageprofile-libelf ; : ; \
42533 @endif libelf
42534 @if gold
42535 @if test -d $(HOST_SUBDIR)/gold ; then \
42536 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42537 mv prev-gold stageprofile-gold ; : ; \
42539 @endif gold
42540 @if intl
42541 @if test -d $(HOST_SUBDIR)/intl ; then \
42542 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42543 mv prev-intl stageprofile-intl ; : ; \
42545 @endif intl
42546 @if ld
42547 @if test -d $(HOST_SUBDIR)/ld ; then \
42548 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42549 mv prev-ld stageprofile-ld ; : ; \
42551 @endif ld
42552 @if libcpp
42553 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42554 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42555 mv prev-libcpp stageprofile-libcpp ; : ; \
42557 @endif libcpp
42558 @if libdecnumber
42559 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42560 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42561 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42563 @endif libdecnumber
42564 @if libiberty
42565 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42566 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42567 mv prev-libiberty stageprofile-libiberty ; : ; \
42569 @endif libiberty
42570 @if zlib
42571 @if test -d $(HOST_SUBDIR)/zlib ; then \
42572 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42573 mv prev-zlib stageprofile-zlib ; : ; \
42575 @endif zlib
42576 @if lto-plugin
42577 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42578 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
42579 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
42581 @endif lto-plugin
42582 @if test -d $(TARGET_SUBDIR) ; then \
42583 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42584 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42586 rm -f stage_current
42588 # Bubble a bug fix through all the stages up to stage feedback. They are
42589 # remade, but not reconfigured. The next stage (if any) will not be
42590 # reconfigured either.
42591 .PHONY: stagefeedback-bubble
42592 stagefeedback-bubble:: stageprofile-bubble
42593 @r=`${PWD_COMMAND}`; export r; \
42594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42595 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42596 echo Skipping rebuild of stagefeedback ; \
42597 else \
42598 $(MAKE) stagefeedback-start; \
42599 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42602 .PHONY: all-stagefeedback clean-stagefeedback
42603 do-clean: clean-stagefeedback
42605 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42606 # only possibility, but now it conflicts with no-bootstrap rules
42607 @if gcc-bootstrap
42611 .PHONY: profiledbootstrap profiledbootstrap-lean
42612 profiledbootstrap:
42613 echo stagefeedback > stage_final
42614 @r=`${PWD_COMMAND}`; export r; \
42615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42617 @: $(MAKE); $(unstage)
42618 @r=`${PWD_COMMAND}`; export r; \
42619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42621 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42623 profiledbootstrap-lean:
42624 echo stagefeedback > stage_final
42625 @r=`${PWD_COMMAND}`; export r; \
42626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42627 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42628 @: $(MAKE); $(unstage)
42629 @r=`${PWD_COMMAND}`; export r; \
42630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42631 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42632 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42635 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42636 distclean-stageprofile:: distclean-stagefeedback
42637 .PHONY: distclean-stagefeedback
42638 distclean-stagefeedback::
42639 @: $(MAKE); $(stage)
42640 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
42641 rm -rf stagefeedback-*
42644 @endif gcc-bootstrap
42648 stageprofile-end::
42649 $(MAKE) distclean-stagefeedback
42651 stagefeedback-start::
42652 @r=`${PWD_COMMAND}`; export r; \
42653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42654 for i in prev-*; do \
42655 j=`echo $$i | sed s/^prev-//` ; \
42656 cd $$r/$$i && \
42657 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42658 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42659 done
42661 @if gcc-bootstrap
42662 do-distclean: distclean-stage1
42664 # Provide a GCC build when we're building target libraries. This does
42665 # not work as a dependency, just as the minimum necessary to avoid errors.
42666 stage_last:
42667 @r=`${PWD_COMMAND}`; export r; \
42668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42669 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42671 # Same as unstage, but not phony and defaulting to stage1-start. We place
42672 # it in the dependency so that for example `make -j3 all-gcc' works.
42673 stage_current:
42674 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42676 .PHONY: restrap
42677 restrap::
42678 @: $(MAKE); $(stage)
42679 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42680 restrap:: all
42681 @endif gcc-bootstrap
42683 # --------------------------------------
42684 # Dependencies between different modules
42685 # --------------------------------------
42687 # Generic dependencies for target modules on host stuff, especially gcc
42688 @if gcc-bootstrap
42689 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
42690 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
42691 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
42692 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
42693 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
42694 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
42695 configure-target-libmudflap: stage_last
42696 configure-target-libssp: stage_last
42697 configure-target-newlib: stage_last
42698 configure-stage1-target-libgcc: maybe-all-stage1-gcc
42699 configure-stage2-target-libgcc: maybe-all-stage2-gcc
42700 configure-stage3-target-libgcc: maybe-all-stage3-gcc
42701 configure-stage4-target-libgcc: maybe-all-stage4-gcc
42702 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
42703 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
42704 configure-target-libquadmath: stage_last
42705 configure-target-libgfortran: stage_last
42706 configure-target-libobjc: stage_last
42707 configure-target-libgo: stage_last
42708 configure-target-libtermcap: stage_last
42709 configure-target-winsup: stage_last
42710 configure-target-libgloss: stage_last
42711 configure-target-libffi: stage_last
42712 configure-target-libjava: stage_last
42713 configure-target-zlib: stage_last
42714 configure-target-boehm-gc: stage_last
42715 configure-target-rda: stage_last
42716 configure-target-libada: stage_last
42717 configure-stage1-target-libgomp: maybe-all-stage1-gcc
42718 configure-stage2-target-libgomp: maybe-all-stage2-gcc
42719 configure-stage3-target-libgomp: maybe-all-stage3-gcc
42720 configure-stage4-target-libgomp: maybe-all-stage4-gcc
42721 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
42722 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
42723 configure-target-libitm: stage_last
42724 @endif gcc-bootstrap
42726 @if gcc-no-bootstrap
42727 configure-target-libstdc++-v3: maybe-all-gcc
42728 configure-target-libmudflap: maybe-all-gcc
42729 configure-target-libssp: maybe-all-gcc
42730 configure-target-newlib: maybe-all-gcc
42731 configure-target-libgcc: maybe-all-gcc
42732 configure-target-libquadmath: maybe-all-gcc
42733 configure-target-libgfortran: maybe-all-gcc
42734 configure-target-libobjc: maybe-all-gcc
42735 configure-target-libgo: maybe-all-gcc
42736 configure-target-libtermcap: maybe-all-gcc
42737 configure-target-winsup: maybe-all-gcc
42738 configure-target-libgloss: maybe-all-gcc
42739 configure-target-libffi: maybe-all-gcc
42740 configure-target-libjava: maybe-all-gcc
42741 configure-target-zlib: maybe-all-gcc
42742 configure-target-boehm-gc: maybe-all-gcc
42743 configure-target-rda: maybe-all-gcc
42744 configure-target-libada: maybe-all-gcc
42745 configure-target-libgomp: maybe-all-gcc
42746 configure-target-libitm: maybe-all-gcc
42747 @endif gcc-no-bootstrap
42750 # There are two types of dependencies here: 'hard' dependencies, where one
42751 # module simply won't build without the other; and 'soft' dependencies, where
42752 # if the depended-on module is missing, the depending module will do without
42753 # or find a substitute somewhere (perhaps installed). Soft dependencies
42754 # are made here to depend on a 'maybe-' target. If you're not sure,
42755 # it's safer to use a soft dependency.
42762 # With all the machinery above in place, it is pretty easy to generate
42763 # dependencies. Host dependencies are a bit more complex because we have
42764 # to check for bootstrap/prebootstrap dependencies. To resolve
42765 # prebootstrap dependencies, prebootstrap modules are gathered in
42766 # a hash table.
42767 all-build-bison: maybe-all-build-texinfo
42768 all-build-flex: maybe-all-build-texinfo
42769 all-build-flex: maybe-all-build-bison
42770 all-build-flex: maybe-all-build-m4
42771 all-build-libiberty: maybe-all-build-texinfo
42772 all-build-m4: maybe-all-build-texinfo
42773 all-build-fixincludes: maybe-all-build-libiberty
42774 configure-gcc: maybe-configure-intl
42776 configure-stage1-gcc: maybe-configure-stage1-intl
42777 configure-stage2-gcc: maybe-configure-stage2-intl
42778 configure-stage3-gcc: maybe-configure-stage3-intl
42779 configure-stage4-gcc: maybe-configure-stage4-intl
42780 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
42781 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
42782 configure-gcc: maybe-all-lto-plugin
42784 configure-stage1-gcc: maybe-all-stage1-lto-plugin
42785 configure-stage2-gcc: maybe-all-stage2-lto-plugin
42786 configure-stage3-gcc: maybe-all-stage3-lto-plugin
42787 configure-stage4-gcc: maybe-all-stage4-lto-plugin
42788 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42789 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42790 configure-gcc: maybe-all-binutils
42792 configure-stage1-gcc: maybe-all-stage1-binutils
42793 configure-stage2-gcc: maybe-all-stage2-binutils
42794 configure-stage3-gcc: maybe-all-stage3-binutils
42795 configure-stage4-gcc: maybe-all-stage4-binutils
42796 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
42797 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
42798 configure-gcc: maybe-all-gas
42800 configure-stage1-gcc: maybe-all-stage1-gas
42801 configure-stage2-gcc: maybe-all-stage2-gas
42802 configure-stage3-gcc: maybe-all-stage3-gas
42803 configure-stage4-gcc: maybe-all-stage4-gas
42804 configure-stageprofile-gcc: maybe-all-stageprofile-gas
42805 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
42806 configure-gcc: maybe-all-ld
42808 configure-stage1-gcc: maybe-all-stage1-ld
42809 configure-stage2-gcc: maybe-all-stage2-ld
42810 configure-stage3-gcc: maybe-all-stage3-ld
42811 configure-stage4-gcc: maybe-all-stage4-ld
42812 configure-stageprofile-gcc: maybe-all-stageprofile-ld
42813 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
42814 configure-gcc: maybe-all-gold
42816 configure-stage1-gcc: maybe-all-stage1-gold
42817 configure-stage2-gcc: maybe-all-stage2-gold
42818 configure-stage3-gcc: maybe-all-stage3-gold
42819 configure-stage4-gcc: maybe-all-stage4-gold
42820 configure-stageprofile-gcc: maybe-all-stageprofile-gold
42821 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
42822 configure-gcc: maybe-all-libelf
42824 configure-stage1-gcc: maybe-all-stage1-libelf
42825 configure-stage2-gcc: maybe-all-stage2-libelf
42826 configure-stage3-gcc: maybe-all-stage3-libelf
42827 configure-stage4-gcc: maybe-all-stage4-libelf
42828 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
42829 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
42830 all-gcc: all-libiberty
42832 all-stage1-gcc: all-stage1-libiberty
42833 all-stage2-gcc: all-stage2-libiberty
42834 all-stage3-gcc: all-stage3-libiberty
42835 all-stage4-gcc: all-stage4-libiberty
42836 all-stageprofile-gcc: all-stageprofile-libiberty
42837 all-stagefeedback-gcc: all-stagefeedback-libiberty
42838 all-gcc: maybe-all-gmp
42840 all-stage1-gcc: maybe-all-stage1-gmp
42841 all-stage2-gcc: maybe-all-stage2-gmp
42842 all-stage3-gcc: maybe-all-stage3-gmp
42843 all-stage4-gcc: maybe-all-stage4-gmp
42844 all-stageprofile-gcc: maybe-all-stageprofile-gmp
42845 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
42846 all-gcc: maybe-all-intl
42848 all-stage1-gcc: maybe-all-stage1-intl
42849 all-stage2-gcc: maybe-all-stage2-intl
42850 all-stage3-gcc: maybe-all-stage3-intl
42851 all-stage4-gcc: maybe-all-stage4-intl
42852 all-stageprofile-gcc: maybe-all-stageprofile-intl
42853 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
42854 all-gcc: maybe-all-mpfr
42856 all-stage1-gcc: maybe-all-stage1-mpfr
42857 all-stage2-gcc: maybe-all-stage2-mpfr
42858 all-stage3-gcc: maybe-all-stage3-mpfr
42859 all-stage4-gcc: maybe-all-stage4-mpfr
42860 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
42861 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
42862 all-gcc: maybe-all-mpc
42864 all-stage1-gcc: maybe-all-stage1-mpc
42865 all-stage2-gcc: maybe-all-stage2-mpc
42866 all-stage3-gcc: maybe-all-stage3-mpc
42867 all-stage4-gcc: maybe-all-stage4-mpc
42868 all-stageprofile-gcc: maybe-all-stageprofile-mpc
42869 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
42870 all-gcc: maybe-all-ppl
42872 all-stage1-gcc: maybe-all-stage1-ppl
42873 all-stage2-gcc: maybe-all-stage2-ppl
42874 all-stage3-gcc: maybe-all-stage3-ppl
42875 all-stage4-gcc: maybe-all-stage4-ppl
42876 all-stageprofile-gcc: maybe-all-stageprofile-ppl
42877 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
42878 all-gcc: maybe-all-cloog
42880 all-stage1-gcc: maybe-all-stage1-cloog
42881 all-stage2-gcc: maybe-all-stage2-cloog
42882 all-stage3-gcc: maybe-all-stage3-cloog
42883 all-stage4-gcc: maybe-all-stage4-cloog
42884 all-stageprofile-gcc: maybe-all-stageprofile-cloog
42885 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
42886 all-gcc: maybe-all-build-texinfo
42888 all-stage1-gcc: maybe-all-build-texinfo
42889 all-stage2-gcc: maybe-all-build-texinfo
42890 all-stage3-gcc: maybe-all-build-texinfo
42891 all-stage4-gcc: maybe-all-build-texinfo
42892 all-stageprofile-gcc: maybe-all-build-texinfo
42893 all-stagefeedback-gcc: maybe-all-build-texinfo
42894 all-gcc: maybe-all-build-bison
42896 all-stage1-gcc: maybe-all-build-bison
42897 all-stage2-gcc: maybe-all-build-bison
42898 all-stage3-gcc: maybe-all-build-bison
42899 all-stage4-gcc: maybe-all-build-bison
42900 all-stageprofile-gcc: maybe-all-build-bison
42901 all-stagefeedback-gcc: maybe-all-build-bison
42902 all-gcc: maybe-all-build-flex
42904 all-stage1-gcc: maybe-all-build-flex
42905 all-stage2-gcc: maybe-all-build-flex
42906 all-stage3-gcc: maybe-all-build-flex
42907 all-stage4-gcc: maybe-all-build-flex
42908 all-stageprofile-gcc: maybe-all-build-flex
42909 all-stagefeedback-gcc: maybe-all-build-flex
42910 all-gcc: maybe-all-build-libiberty
42912 all-stage1-gcc: maybe-all-build-libiberty
42913 all-stage2-gcc: maybe-all-build-libiberty
42914 all-stage3-gcc: maybe-all-build-libiberty
42915 all-stage4-gcc: maybe-all-build-libiberty
42916 all-stageprofile-gcc: maybe-all-build-libiberty
42917 all-stagefeedback-gcc: maybe-all-build-libiberty
42918 all-gcc: maybe-all-build-fixincludes
42920 all-stage1-gcc: maybe-all-build-fixincludes
42921 all-stage2-gcc: maybe-all-build-fixincludes
42922 all-stage3-gcc: maybe-all-build-fixincludes
42923 all-stage4-gcc: maybe-all-build-fixincludes
42924 all-stageprofile-gcc: maybe-all-build-fixincludes
42925 all-stagefeedback-gcc: maybe-all-build-fixincludes
42926 all-gcc: maybe-all-zlib
42928 all-stage1-gcc: maybe-all-stage1-zlib
42929 all-stage2-gcc: maybe-all-stage2-zlib
42930 all-stage3-gcc: maybe-all-stage3-zlib
42931 all-stage4-gcc: maybe-all-stage4-zlib
42932 all-stageprofile-gcc: maybe-all-stageprofile-zlib
42933 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
42934 all-gcc: all-libcpp
42936 all-stage1-gcc: all-stage1-libcpp
42937 all-stage2-gcc: all-stage2-libcpp
42938 all-stage3-gcc: all-stage3-libcpp
42939 all-stage4-gcc: all-stage4-libcpp
42940 all-stageprofile-gcc: all-stageprofile-libcpp
42941 all-stagefeedback-gcc: all-stagefeedback-libcpp
42942 all-gcc: all-libdecnumber
42944 all-stage1-gcc: all-stage1-libdecnumber
42945 all-stage2-gcc: all-stage2-libdecnumber
42946 all-stage3-gcc: all-stage3-libdecnumber
42947 all-stage4-gcc: all-stage4-libdecnumber
42948 all-stageprofile-gcc: all-stageprofile-libdecnumber
42949 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
42950 all-gcc: maybe-all-libiberty
42952 all-stage1-gcc: maybe-all-stage1-libiberty
42953 all-stage2-gcc: maybe-all-stage2-libiberty
42954 all-stage3-gcc: maybe-all-stage3-libiberty
42955 all-stage4-gcc: maybe-all-stage4-libiberty
42956 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
42957 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
42958 all-gcc: maybe-all-fixincludes
42959 all-gcc: maybe-all-lto-plugin
42961 all-stage1-gcc: maybe-all-stage1-lto-plugin
42962 all-stage2-gcc: maybe-all-stage2-lto-plugin
42963 all-stage3-gcc: maybe-all-stage3-lto-plugin
42964 all-stage4-gcc: maybe-all-stage4-lto-plugin
42965 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42966 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42967 info-gcc: maybe-all-build-libiberty
42969 info-stage1-gcc: maybe-all-build-libiberty
42970 info-stage2-gcc: maybe-all-build-libiberty
42971 info-stage3-gcc: maybe-all-build-libiberty
42972 info-stage4-gcc: maybe-all-build-libiberty
42973 info-stageprofile-gcc: maybe-all-build-libiberty
42974 info-stagefeedback-gcc: maybe-all-build-libiberty
42975 dvi-gcc: maybe-all-build-libiberty
42977 dvi-stage1-gcc: maybe-all-build-libiberty
42978 dvi-stage2-gcc: maybe-all-build-libiberty
42979 dvi-stage3-gcc: maybe-all-build-libiberty
42980 dvi-stage4-gcc: maybe-all-build-libiberty
42981 dvi-stageprofile-gcc: maybe-all-build-libiberty
42982 dvi-stagefeedback-gcc: maybe-all-build-libiberty
42983 pdf-gcc: maybe-all-build-libiberty
42985 pdf-stage1-gcc: maybe-all-build-libiberty
42986 pdf-stage2-gcc: maybe-all-build-libiberty
42987 pdf-stage3-gcc: maybe-all-build-libiberty
42988 pdf-stage4-gcc: maybe-all-build-libiberty
42989 pdf-stageprofile-gcc: maybe-all-build-libiberty
42990 pdf-stagefeedback-gcc: maybe-all-build-libiberty
42991 html-gcc: maybe-all-build-libiberty
42993 html-stage1-gcc: maybe-all-build-libiberty
42994 html-stage2-gcc: maybe-all-build-libiberty
42995 html-stage3-gcc: maybe-all-build-libiberty
42996 html-stage4-gcc: maybe-all-build-libiberty
42997 html-stageprofile-gcc: maybe-all-build-libiberty
42998 html-stagefeedback-gcc: maybe-all-build-libiberty
42999 install-gcc: maybe-install-fixincludes
43000 install-gcc: maybe-install-lto-plugin
43001 install-strip-gcc: maybe-install-strip-fixincludes
43002 configure-libcpp: configure-libiberty
43004 configure-stage1-libcpp: configure-stage1-libiberty
43005 configure-stage2-libcpp: configure-stage2-libiberty
43006 configure-stage3-libcpp: configure-stage3-libiberty
43007 configure-stage4-libcpp: configure-stage4-libiberty
43008 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43009 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43010 configure-libcpp: maybe-configure-intl
43012 configure-stage1-libcpp: maybe-configure-stage1-intl
43013 configure-stage2-libcpp: maybe-configure-stage2-intl
43014 configure-stage3-libcpp: maybe-configure-stage3-intl
43015 configure-stage4-libcpp: maybe-configure-stage4-intl
43016 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43017 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43018 all-libcpp: all-libiberty
43020 all-stage1-libcpp: all-stage1-libiberty
43021 all-stage2-libcpp: all-stage2-libiberty
43022 all-stage3-libcpp: all-stage3-libiberty
43023 all-stage4-libcpp: all-stage4-libiberty
43024 all-stageprofile-libcpp: all-stageprofile-libiberty
43025 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43026 all-libcpp: maybe-all-intl
43028 all-stage1-libcpp: maybe-all-stage1-intl
43029 all-stage2-libcpp: maybe-all-stage2-intl
43030 all-stage3-libcpp: maybe-all-stage3-intl
43031 all-stage4-libcpp: maybe-all-stage4-intl
43032 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43033 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43034 all-fixincludes: maybe-all-libiberty
43035 all-gnattools: maybe-all-target-libada
43036 all-lto-plugin: maybe-all-libiberty
43038 all-stage1-lto-plugin: maybe-all-stage1-libiberty
43039 all-stage2-lto-plugin: maybe-all-stage2-libiberty
43040 all-stage3-lto-plugin: maybe-all-stage3-libiberty
43041 all-stage4-lto-plugin: maybe-all-stage4-libiberty
43042 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43043 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43044 all-utils: maybe-all-libiberty
43045 configure-mpfr: maybe-all-gmp
43047 configure-stage1-mpfr: maybe-all-stage1-gmp
43048 configure-stage2-mpfr: maybe-all-stage2-gmp
43049 configure-stage3-mpfr: maybe-all-stage3-gmp
43050 configure-stage4-mpfr: maybe-all-stage4-gmp
43051 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43052 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43053 configure-mpc: maybe-all-mpfr
43055 configure-stage1-mpc: maybe-all-stage1-mpfr
43056 configure-stage2-mpc: maybe-all-stage2-mpfr
43057 configure-stage3-mpc: maybe-all-stage3-mpfr
43058 configure-stage4-mpc: maybe-all-stage4-mpfr
43059 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43060 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43061 configure-ppl: maybe-all-gmp
43063 configure-stage1-ppl: maybe-all-stage1-gmp
43064 configure-stage2-ppl: maybe-all-stage2-gmp
43065 configure-stage3-ppl: maybe-all-stage3-gmp
43066 configure-stage4-ppl: maybe-all-stage4-gmp
43067 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
43068 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
43069 configure-ppl: maybe-all-mpfr
43071 configure-stage1-ppl: maybe-all-stage1-mpfr
43072 configure-stage2-ppl: maybe-all-stage2-mpfr
43073 configure-stage3-ppl: maybe-all-stage3-mpfr
43074 configure-stage4-ppl: maybe-all-stage4-mpfr
43075 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
43076 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
43077 configure-cloog: maybe-all-ppl
43079 configure-stage1-cloog: maybe-all-stage1-ppl
43080 configure-stage2-cloog: maybe-all-stage2-ppl
43081 configure-stage3-cloog: maybe-all-stage3-ppl
43082 configure-stage4-cloog: maybe-all-stage4-ppl
43083 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
43084 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
43085 configure-gdb: maybe-all-intl
43086 configure-gdb: maybe-configure-sim
43087 configure-gdb: maybe-all-bfd
43088 configure-gdb: maybe-all-libiconv
43089 all-gdb: maybe-all-libiberty
43090 all-gdb: maybe-all-libiconv
43091 all-gdb: maybe-all-opcodes
43092 all-gdb: maybe-all-readline
43093 all-gdb: maybe-all-build-bison
43094 all-gdb: maybe-all-sim
43095 all-gdb: maybe-all-libdecnumber
43096 all-gdb: maybe-all-libtermcap
43097 configure-libgui: maybe-configure-tcl
43098 configure-libgui: maybe-configure-tk
43099 all-libgui: maybe-all-tcl
43100 all-libgui: maybe-all-tk
43101 all-libgui: maybe-all-itcl
43102 configure-bfd: configure-libiberty
43104 configure-stage1-bfd: configure-stage1-libiberty
43105 configure-stage2-bfd: configure-stage2-libiberty
43106 configure-stage3-bfd: configure-stage3-libiberty
43107 configure-stage4-bfd: configure-stage4-libiberty
43108 configure-stageprofile-bfd: configure-stageprofile-libiberty
43109 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43110 configure-bfd: maybe-configure-intl
43112 configure-stage1-bfd: maybe-configure-stage1-intl
43113 configure-stage2-bfd: maybe-configure-stage2-intl
43114 configure-stage3-bfd: maybe-configure-stage3-intl
43115 configure-stage4-bfd: maybe-configure-stage4-intl
43116 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43117 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43118 all-bfd: maybe-all-libiberty
43120 all-stage1-bfd: maybe-all-stage1-libiberty
43121 all-stage2-bfd: maybe-all-stage2-libiberty
43122 all-stage3-bfd: maybe-all-stage3-libiberty
43123 all-stage4-bfd: maybe-all-stage4-libiberty
43124 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43125 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43126 all-bfd: maybe-all-intl
43128 all-stage1-bfd: maybe-all-stage1-intl
43129 all-stage2-bfd: maybe-all-stage2-intl
43130 all-stage3-bfd: maybe-all-stage3-intl
43131 all-stage4-bfd: maybe-all-stage4-intl
43132 all-stageprofile-bfd: maybe-all-stageprofile-intl
43133 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43134 configure-opcodes: configure-libiberty
43136 configure-stage1-opcodes: configure-stage1-libiberty
43137 configure-stage2-opcodes: configure-stage2-libiberty
43138 configure-stage3-opcodes: configure-stage3-libiberty
43139 configure-stage4-opcodes: configure-stage4-libiberty
43140 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43141 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43142 all-opcodes: maybe-all-libiberty
43144 all-stage1-opcodes: maybe-all-stage1-libiberty
43145 all-stage2-opcodes: maybe-all-stage2-libiberty
43146 all-stage3-opcodes: maybe-all-stage3-libiberty
43147 all-stage4-opcodes: maybe-all-stage4-libiberty
43148 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43149 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43150 configure-binutils: maybe-configure-intl
43152 configure-stage1-binutils: maybe-configure-stage1-intl
43153 configure-stage2-binutils: maybe-configure-stage2-intl
43154 configure-stage3-binutils: maybe-configure-stage3-intl
43155 configure-stage4-binutils: maybe-configure-stage4-intl
43156 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43157 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43158 all-binutils: maybe-all-libiberty
43160 all-stage1-binutils: maybe-all-stage1-libiberty
43161 all-stage2-binutils: maybe-all-stage2-libiberty
43162 all-stage3-binutils: maybe-all-stage3-libiberty
43163 all-stage4-binutils: maybe-all-stage4-libiberty
43164 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43165 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43166 all-binutils: maybe-all-opcodes
43168 all-stage1-binutils: maybe-all-stage1-opcodes
43169 all-stage2-binutils: maybe-all-stage2-opcodes
43170 all-stage3-binutils: maybe-all-stage3-opcodes
43171 all-stage4-binutils: maybe-all-stage4-opcodes
43172 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43173 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43174 all-binutils: maybe-all-bfd
43176 all-stage1-binutils: maybe-all-stage1-bfd
43177 all-stage2-binutils: maybe-all-stage2-bfd
43178 all-stage3-binutils: maybe-all-stage3-bfd
43179 all-stage4-binutils: maybe-all-stage4-bfd
43180 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43181 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43182 all-binutils: maybe-all-build-flex
43184 all-stage1-binutils: maybe-all-build-flex
43185 all-stage2-binutils: maybe-all-build-flex
43186 all-stage3-binutils: maybe-all-build-flex
43187 all-stage4-binutils: maybe-all-build-flex
43188 all-stageprofile-binutils: maybe-all-build-flex
43189 all-stagefeedback-binutils: maybe-all-build-flex
43190 all-binutils: maybe-all-build-bison
43192 all-stage1-binutils: maybe-all-build-bison
43193 all-stage2-binutils: maybe-all-build-bison
43194 all-stage3-binutils: maybe-all-build-bison
43195 all-stage4-binutils: maybe-all-build-bison
43196 all-stageprofile-binutils: maybe-all-build-bison
43197 all-stagefeedback-binutils: maybe-all-build-bison
43198 all-binutils: maybe-all-intl
43200 all-stage1-binutils: maybe-all-stage1-intl
43201 all-stage2-binutils: maybe-all-stage2-intl
43202 all-stage3-binutils: maybe-all-stage3-intl
43203 all-stage4-binutils: maybe-all-stage4-intl
43204 all-stageprofile-binutils: maybe-all-stageprofile-intl
43205 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43206 install-binutils: maybe-install-opcodes
43207 install-strip-binutils: maybe-install-strip-opcodes
43208 install-opcodes: maybe-install-bfd
43209 install-strip-opcodes: maybe-install-strip-bfd
43210 configure-gas: maybe-configure-intl
43212 configure-stage1-gas: maybe-configure-stage1-intl
43213 configure-stage2-gas: maybe-configure-stage2-intl
43214 configure-stage3-gas: maybe-configure-stage3-intl
43215 configure-stage4-gas: maybe-configure-stage4-intl
43216 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43217 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43218 all-gas: maybe-all-libiberty
43220 all-stage1-gas: maybe-all-stage1-libiberty
43221 all-stage2-gas: maybe-all-stage2-libiberty
43222 all-stage3-gas: maybe-all-stage3-libiberty
43223 all-stage4-gas: maybe-all-stage4-libiberty
43224 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43225 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43226 all-gas: maybe-all-opcodes
43228 all-stage1-gas: maybe-all-stage1-opcodes
43229 all-stage2-gas: maybe-all-stage2-opcodes
43230 all-stage3-gas: maybe-all-stage3-opcodes
43231 all-stage4-gas: maybe-all-stage4-opcodes
43232 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43233 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43234 all-gas: maybe-all-bfd
43236 all-stage1-gas: maybe-all-stage1-bfd
43237 all-stage2-gas: maybe-all-stage2-bfd
43238 all-stage3-gas: maybe-all-stage3-bfd
43239 all-stage4-gas: maybe-all-stage4-bfd
43240 all-stageprofile-gas: maybe-all-stageprofile-bfd
43241 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43242 all-gas: maybe-all-intl
43244 all-stage1-gas: maybe-all-stage1-intl
43245 all-stage2-gas: maybe-all-stage2-intl
43246 all-stage3-gas: maybe-all-stage3-intl
43247 all-stage4-gas: maybe-all-stage4-intl
43248 all-stageprofile-gas: maybe-all-stageprofile-intl
43249 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43250 configure-gprof: maybe-configure-intl
43251 all-gprof: maybe-all-libiberty
43252 all-gprof: maybe-all-bfd
43253 all-gprof: maybe-all-opcodes
43254 all-gprof: maybe-all-intl
43255 configure-ld: maybe-configure-intl
43257 configure-stage1-ld: maybe-configure-stage1-intl
43258 configure-stage2-ld: maybe-configure-stage2-intl
43259 configure-stage3-ld: maybe-configure-stage3-intl
43260 configure-stage4-ld: maybe-configure-stage4-intl
43261 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43262 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43263 all-ld: maybe-all-libiberty
43265 all-stage1-ld: maybe-all-stage1-libiberty
43266 all-stage2-ld: maybe-all-stage2-libiberty
43267 all-stage3-ld: maybe-all-stage3-libiberty
43268 all-stage4-ld: maybe-all-stage4-libiberty
43269 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43270 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43271 all-ld: maybe-all-bfd
43273 all-stage1-ld: maybe-all-stage1-bfd
43274 all-stage2-ld: maybe-all-stage2-bfd
43275 all-stage3-ld: maybe-all-stage3-bfd
43276 all-stage4-ld: maybe-all-stage4-bfd
43277 all-stageprofile-ld: maybe-all-stageprofile-bfd
43278 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43279 all-ld: maybe-all-opcodes
43281 all-stage1-ld: maybe-all-stage1-opcodes
43282 all-stage2-ld: maybe-all-stage2-opcodes
43283 all-stage3-ld: maybe-all-stage3-opcodes
43284 all-stage4-ld: maybe-all-stage4-opcodes
43285 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43286 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43287 all-ld: maybe-all-build-bison
43289 all-stage1-ld: maybe-all-build-bison
43290 all-stage2-ld: maybe-all-build-bison
43291 all-stage3-ld: maybe-all-build-bison
43292 all-stage4-ld: maybe-all-build-bison
43293 all-stageprofile-ld: maybe-all-build-bison
43294 all-stagefeedback-ld: maybe-all-build-bison
43295 all-ld: maybe-all-build-flex
43297 all-stage1-ld: maybe-all-build-flex
43298 all-stage2-ld: maybe-all-build-flex
43299 all-stage3-ld: maybe-all-build-flex
43300 all-stage4-ld: maybe-all-build-flex
43301 all-stageprofile-ld: maybe-all-build-flex
43302 all-stagefeedback-ld: maybe-all-build-flex
43303 all-ld: maybe-all-intl
43305 all-stage1-ld: maybe-all-stage1-intl
43306 all-stage2-ld: maybe-all-stage2-intl
43307 all-stage3-ld: maybe-all-stage3-intl
43308 all-stage4-ld: maybe-all-stage4-intl
43309 all-stageprofile-ld: maybe-all-stageprofile-intl
43310 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43311 install-ld: maybe-install-gold
43312 install-strip-ld: maybe-install-strip-gold
43313 configure-gold: maybe-configure-intl
43315 configure-stage1-gold: maybe-configure-stage1-intl
43316 configure-stage2-gold: maybe-configure-stage2-intl
43317 configure-stage3-gold: maybe-configure-stage3-intl
43318 configure-stage4-gold: maybe-configure-stage4-intl
43319 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43320 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43321 all-gold: maybe-all-libiberty
43323 all-stage1-gold: maybe-all-stage1-libiberty
43324 all-stage2-gold: maybe-all-stage2-libiberty
43325 all-stage3-gold: maybe-all-stage3-libiberty
43326 all-stage4-gold: maybe-all-stage4-libiberty
43327 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43328 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43329 all-gold: maybe-all-intl
43331 all-stage1-gold: maybe-all-stage1-intl
43332 all-stage2-gold: maybe-all-stage2-intl
43333 all-stage3-gold: maybe-all-stage3-intl
43334 all-stage4-gold: maybe-all-stage4-intl
43335 all-stageprofile-gold: maybe-all-stageprofile-intl
43336 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43337 all-gold: maybe-all-bfd
43339 all-stage1-gold: maybe-all-stage1-bfd
43340 all-stage2-gold: maybe-all-stage2-bfd
43341 all-stage3-gold: maybe-all-stage3-bfd
43342 all-stage4-gold: maybe-all-stage4-bfd
43343 all-stageprofile-gold: maybe-all-stageprofile-bfd
43344 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43345 all-gold: maybe-all-build-bison
43347 all-stage1-gold: maybe-all-build-bison
43348 all-stage2-gold: maybe-all-build-bison
43349 all-stage3-gold: maybe-all-build-bison
43350 all-stage4-gold: maybe-all-build-bison
43351 all-stageprofile-gold: maybe-all-build-bison
43352 all-stagefeedback-gold: maybe-all-build-bison
43353 check-gold: maybe-all-binutils
43355 check-stage1-gold: maybe-all-stage1-binutils
43356 check-stage2-gold: maybe-all-stage2-binutils
43357 check-stage3-gold: maybe-all-stage3-binutils
43358 check-stage4-gold: maybe-all-stage4-binutils
43359 check-stageprofile-gold: maybe-all-stageprofile-binutils
43360 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43361 check-gold: maybe-all-gas
43363 check-stage1-gold: maybe-all-stage1-gas
43364 check-stage2-gold: maybe-all-stage2-gas
43365 check-stage3-gold: maybe-all-stage3-gas
43366 check-stage4-gold: maybe-all-stage4-gas
43367 check-stageprofile-gold: maybe-all-stageprofile-gas
43368 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43369 configure-opcodes: maybe-configure-intl
43371 configure-stage1-opcodes: maybe-configure-stage1-intl
43372 configure-stage2-opcodes: maybe-configure-stage2-intl
43373 configure-stage3-opcodes: maybe-configure-stage3-intl
43374 configure-stage4-opcodes: maybe-configure-stage4-intl
43375 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43376 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43377 all-opcodes: maybe-all-bfd
43379 all-stage1-opcodes: maybe-all-stage1-bfd
43380 all-stage2-opcodes: maybe-all-stage2-bfd
43381 all-stage3-opcodes: maybe-all-stage3-bfd
43382 all-stage4-opcodes: maybe-all-stage4-bfd
43383 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43384 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43385 all-opcodes: maybe-all-libiberty
43387 all-stage1-opcodes: maybe-all-stage1-libiberty
43388 all-stage2-opcodes: maybe-all-stage2-libiberty
43389 all-stage3-opcodes: maybe-all-stage3-libiberty
43390 all-stage4-opcodes: maybe-all-stage4-libiberty
43391 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43392 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43393 all-opcodes: maybe-all-intl
43395 all-stage1-opcodes: maybe-all-stage1-intl
43396 all-stage2-opcodes: maybe-all-stage2-intl
43397 all-stage3-opcodes: maybe-all-stage3-intl
43398 all-stage4-opcodes: maybe-all-stage4-intl
43399 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43400 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43401 all-dejagnu: maybe-all-tcl
43402 all-dejagnu: maybe-all-expect
43403 all-dejagnu: maybe-all-tk
43404 configure-expect: maybe-configure-tcl
43405 configure-expect: maybe-configure-tk
43406 all-expect: maybe-all-tcl
43407 all-expect: maybe-all-tk
43408 configure-itcl: maybe-configure-tcl
43409 configure-itcl: maybe-configure-tk
43410 all-itcl: maybe-all-tcl
43411 all-itcl: maybe-all-tk
43412 install-itcl: maybe-install-tcl
43413 install-strip-itcl: maybe-install-strip-tcl
43414 configure-tk: maybe-configure-tcl
43415 all-tk: maybe-all-tcl
43416 all-sid: maybe-all-libiberty
43417 all-sid: maybe-all-bfd
43418 all-sid: maybe-all-opcodes
43419 all-sid: maybe-all-tcl
43420 all-sid: maybe-all-tk
43421 install-sid: maybe-install-tcl
43422 install-strip-sid: maybe-install-strip-tcl
43423 install-sid: maybe-install-tk
43424 install-strip-sid: maybe-install-strip-tk
43425 configure-sim: maybe-configure-intl
43426 all-sim: maybe-all-intl
43427 all-sim: maybe-all-libiberty
43428 all-sim: maybe-all-bfd
43429 all-sim: maybe-all-opcodes
43430 all-sim: maybe-all-readline
43431 all-sim: maybe-configure-gdb
43432 all-fastjar: maybe-all-zlib
43433 all-fastjar: maybe-all-build-texinfo
43434 all-fastjar: maybe-all-libiberty
43435 all-bison: maybe-all-intl
43436 all-bison: maybe-all-build-texinfo
43437 all-flex: maybe-all-build-bison
43438 all-flex: maybe-all-intl
43439 all-flex: maybe-all-m4
43440 all-flex: maybe-all-build-texinfo
43441 all-m4: maybe-all-intl
43442 all-m4: maybe-all-build-texinfo
43443 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43444 configure-target-fastjar: maybe-configure-target-zlib
43445 all-target-fastjar: maybe-all-target-zlib
43446 configure-target-libgo: maybe-configure-target-libffi
43447 configure-target-libgo: maybe-all-target-libstdc++-v3
43448 all-target-libgo: maybe-all-target-libffi
43449 configure-target-libjava: maybe-configure-target-zlib
43450 configure-target-libjava: maybe-configure-target-boehm-gc
43451 configure-target-libjava: maybe-configure-target-libffi
43452 all-target-libjava: maybe-all-fastjar
43453 all-target-libjava: maybe-all-target-zlib
43454 all-target-libjava: maybe-all-target-boehm-gc
43455 all-target-libjava: maybe-all-target-libffi
43456 configure-target-libobjc: maybe-configure-target-boehm-gc
43457 all-target-libobjc: maybe-all-target-boehm-gc
43458 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43460 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43461 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43462 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43463 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43464 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43465 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43466 all-target-libstdc++-v3: maybe-configure-target-libgomp
43468 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43469 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43470 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43471 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43472 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43473 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43474 all-target-libgloss: maybe-all-target-newlib
43475 all-target-winsup: maybe-all-target-libtermcap
43476 configure-target-newlib: maybe-all-binutils
43477 configure-target-newlib: maybe-all-ld
43478 configure-target-libgfortran: maybe-all-target-libquadmath
43481 # Dependencies for target modules on other target modules are
43482 # described by lang_env_dependencies; the defaults apply to anything
43483 # not mentioned there.
43486 @if gcc-bootstrap
43487 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43488 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43489 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43490 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43491 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43492 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43493 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43494 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43495 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43496 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43497 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43498 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43499 @endif gcc-bootstrap
43501 @if gcc-no-bootstrap
43502 configure-target-libstdc++-v3: maybe-all-target-libgcc
43503 configure-target-libmudflap: maybe-all-target-libgcc
43504 configure-target-libssp: maybe-all-target-libgcc
43505 configure-target-newlib: maybe-all-target-libgcc
43506 configure-target-libquadmath: maybe-all-target-libgcc
43507 configure-target-libgfortran: maybe-all-target-libgcc
43508 configure-target-libobjc: maybe-all-target-libgcc
43509 configure-target-libgo: maybe-all-target-libgcc
43510 configure-target-libtermcap: maybe-all-target-libgcc
43511 configure-target-winsup: maybe-all-target-libgcc
43512 configure-target-libgloss: maybe-all-target-libgcc
43513 configure-target-libffi: maybe-all-target-libgcc
43514 configure-target-libjava: maybe-all-target-libgcc
43515 configure-target-zlib: maybe-all-target-libgcc
43516 configure-target-boehm-gc: maybe-all-target-libgcc
43517 configure-target-rda: maybe-all-target-libgcc
43518 configure-target-libada: maybe-all-target-libgcc
43519 configure-target-libgomp: maybe-all-target-libgcc
43520 configure-target-libitm: maybe-all-target-libgcc
43521 @endif gcc-no-bootstrap
43524 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43526 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43528 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43532 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43534 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43536 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43538 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43540 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43542 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43545 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43547 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43548 configure-target-libjava: maybe-all-target-libstdc++-v3
43550 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43552 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43554 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43556 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43558 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
43560 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
43561 configure-target-libitm: maybe-all-target-libstdc++-v3
43564 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43565 GDB_TK = @GDB_TK@
43566 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43567 configure-gdb: $(CONFIGURE_GDB_TK)
43568 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43569 install-gdb: $(INSTALL_GDB_TK)
43571 # Serialization dependencies. Host configures don't work well in parallel to
43572 # each other, due to contention over config.cache. Target configures and
43573 # build configures are similar.
43574 @serialization_dependencies@
43576 # --------------------------------
43577 # Regenerating top level configury
43578 # --------------------------------
43580 # Rebuilding Makefile.in, using autogen.
43581 AUTOGEN = autogen
43582 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43583 cd $(srcdir) && $(AUTOGEN) Makefile.def
43585 # Rebuilding Makefile.
43586 Makefile: $(srcdir)/Makefile.in config.status
43587 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43589 config.status: configure
43590 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43592 # Rebuilding configure.
43593 AUTOCONF = autoconf
43594 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
43595 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
43596 cd $(srcdir) && $(AUTOCONF)
43598 # ------------------------------
43599 # Special directives to GNU Make
43600 # ------------------------------
43602 # Don't pass command-line variables to submakes.
43603 .NOEXPORT:
43604 MAKEOVERRIDES=
43606 # end of Makefile.in