* init.c (__gnat_error_handler): Cast reason to int.
[official-gcc.git] / Makefile.in
blobd1206bda6597fbdb0e5f53c0cde2aaa737525b3e
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
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 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
210 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
211 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
212 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
213 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
214 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
215 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
216 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
217 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
218 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
219 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
220 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
221 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
222 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
223 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
224 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
225 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
241 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
243 -I$$s/libstdc++-v3/libsupc++ \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
246 export CXX; \
247 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
248 @endif target-libstdc++-v3-bootstrap
250 # Similar, for later GCC stages.
251 POSTSTAGE1_HOST_EXPORTS = \
252 $(HOST_EXPORTS) \
253 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
255 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
256 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
257 $(POSTSTAGE1_CXX_EXPORT) \
258 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
259 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
260 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
262 # Target libraries are put under this directory:
263 TARGET_SUBDIR = @target_subdir@
264 # This is set by the configure script to the arguments to use when configuring
265 # directories built for the target.
266 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
267 # This is the list of variables to export in the environment when
268 # configuring subdirectories for the target system.
269 BASE_TARGET_EXPORTS = \
270 $(BASE_EXPORTS) \
271 AR="$(AR_FOR_TARGET)"; export AR; \
272 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
273 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
274 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
275 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
276 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
277 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
278 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
279 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
280 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
281 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
282 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
283 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
284 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
285 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
286 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
287 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
288 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
289 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
290 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
291 @if gcc-bootstrap
292 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
293 @endif gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
297 RAW_CXX_TARGET_EXPORTS = \
298 $(BASE_TARGET_EXPORTS) \
299 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
300 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
302 NORMAL_TARGET_EXPORTS = \
303 $(BASE_TARGET_EXPORTS) \
304 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
306 # Where to find GMP
307 HOST_GMPLIBS = @gmplibs@
308 HOST_GMPINC = @gmpinc@
310 # Where to find PPL
311 HOST_PPLLIBS = @ppllibs@
312 HOST_PPLINC = @pplinc@
314 # Where to find CLOOG
315 HOST_CLOOGLIBS = @clooglibs@
316 HOST_CLOOGINC = @clooginc@
318 # Where to find libelf
319 HOST_LIBELFLIBS = @libelflibs@
320 HOST_LIBELFINC = @libelfinc@
322 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
324 # ----------------------------------------------
325 # Programs producing files for the BUILD machine
326 # ----------------------------------------------
328 SHELL = @SHELL@
330 # pwd command to use. Allow user to override default by setting PWDCMD in
331 # the environment to account for automounters. The make variable must not
332 # be called PWDCMD, otherwise the value set here is passed to make
333 # subprocesses and overrides the setting from the user's environment.
334 # Don't use PWD since it is a common shell environment variable and we
335 # don't want to corrupt it.
336 PWD_COMMAND = $${PWDCMD-pwd}
338 # compilers to use to create programs which must be run in the build
339 # environment.
340 AR_FOR_BUILD = @AR_FOR_BUILD@
341 AS_FOR_BUILD = @AS_FOR_BUILD@
342 CC_FOR_BUILD = @CC_FOR_BUILD@
343 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
344 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
345 CXX_FOR_BUILD = @CXX_FOR_BUILD@
346 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
347 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
348 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
349 GOC_FOR_BUILD = @GOC_FOR_BUILD@
350 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
351 LD_FOR_BUILD = @LD_FOR_BUILD@
352 NM_FOR_BUILD = @NM_FOR_BUILD@
353 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
354 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
355 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
357 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BUILD_PREFIX = @BUILD_PREFIX@
360 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
362 # Flags to pass to stage2 and later makes. They are defined
363 # here so that they can be overridden by Makefile fragments.
364 BOOT_CFLAGS= -g -O2
365 BOOT_LDFLAGS=
366 BOOT_ADAFLAGS=-gnatpg -gnata
368 AWK = @AWK@
369 SED = @SED@
370 BISON = @BISON@
371 YACC = @YACC@
372 FLEX = @FLEX@
373 LEX = @LEX@
374 M4 = @M4@
375 MAKEINFO = @MAKEINFO@
376 EXPECT = @EXPECT@
377 RUNTEST = @RUNTEST@
379 # This just becomes part of the MAKEINFO definition passed down to
380 # sub-makes. It lets flags be given on the command line while still
381 # using the makeinfo from the object tree.
382 # (Default to avoid splitting info files by setting the threshold high.)
383 MAKEINFOFLAGS = --split-size=5000000
385 # ---------------------------------------------
386 # Programs producing files for the HOST machine
387 # ---------------------------------------------
389 AS = @AS@
390 AR = @AR@
391 AR_FLAGS = rc
392 CC = @CC@
393 CXX = @CXX@
394 DLLTOOL = @DLLTOOL@
395 LD = @LD@
396 LIPO = @LIPO@
397 NM = @NM@
398 OBJDUMP = @OBJDUMP@
399 RANLIB = @RANLIB@
400 STRIP = @STRIP@
401 WINDRES = @WINDRES@
402 WINDMC = @WINDMC@
404 GNATBIND = @GNATBIND@
405 GNATMAKE = @GNATMAKE@
407 CFLAGS = @CFLAGS@
408 LDFLAGS = @LDFLAGS@
409 LIBCFLAGS = $(CFLAGS)
410 CXXFLAGS = @CXXFLAGS@
411 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
412 GOCFLAGS = $(CFLAGS)
414 TFLAGS =
416 # Defaults for all stages; some are overridden below.
418 STAGE_CFLAGS = $(BOOT_CFLAGS)
419 STAGE_TFLAGS = $(TFLAGS)
420 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
421 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
424 # Defaults for stage 1; some are overridden below.
425 STAGE1_CFLAGS = $(STAGE_CFLAGS)
426 STAGE1_CXXFLAGS = $(CXXFLAGS)
427 @if target-libstdc++-v3-bootstrap
428 # Override the above if we're bootstrapping C++.
429 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
430 @endif target-libstdc++-v3-bootstrap
431 STAGE1_TFLAGS = $(STAGE_TFLAGS)
432 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
433 # POSTSTAGE1_CONFIGURE_FLAGS here.
434 STAGE1_CONFIGURE_FLAGS = \
435 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
437 # Defaults for stage 2; some are overridden below.
438 STAGE2_CFLAGS = $(STAGE_CFLAGS)
439 STAGE2_CXXFLAGS = $(CXXFLAGS)
440 @if target-libstdc++-v3-bootstrap
441 # Override the above if we're bootstrapping C++.
442 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
443 @endif target-libstdc++-v3-bootstrap
444 STAGE2_TFLAGS = $(STAGE_TFLAGS)
445 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
446 # POSTSTAGE1_CONFIGURE_FLAGS here.
447 STAGE2_CONFIGURE_FLAGS = \
448 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
450 # Defaults for stage 3; some are overridden below.
451 STAGE3_CFLAGS = $(STAGE_CFLAGS)
452 STAGE3_CXXFLAGS = $(CXXFLAGS)
453 @if target-libstdc++-v3-bootstrap
454 # Override the above if we're bootstrapping C++.
455 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
456 @endif target-libstdc++-v3-bootstrap
457 STAGE3_TFLAGS = $(STAGE_TFLAGS)
458 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
459 # POSTSTAGE1_CONFIGURE_FLAGS here.
460 STAGE3_CONFIGURE_FLAGS = \
461 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
463 # Defaults for stage 4; some are overridden below.
464 STAGE4_CFLAGS = $(STAGE_CFLAGS)
465 STAGE4_CXXFLAGS = $(CXXFLAGS)
466 @if target-libstdc++-v3-bootstrap
467 # Override the above if we're bootstrapping C++.
468 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
469 @endif target-libstdc++-v3-bootstrap
470 STAGE4_TFLAGS = $(STAGE_TFLAGS)
471 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
472 # POSTSTAGE1_CONFIGURE_FLAGS here.
473 STAGE4_CONFIGURE_FLAGS = \
474 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
476 # Defaults for stage profile; some are overridden below.
477 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
478 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
479 @if target-libstdc++-v3-bootstrap
480 # Override the above if we're bootstrapping C++.
481 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
482 @endif target-libstdc++-v3-bootstrap
483 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
484 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
485 # POSTSTAGE1_CONFIGURE_FLAGS here.
486 STAGEprofile_CONFIGURE_FLAGS = \
487 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
489 # Defaults for stage feedback; some are overridden below.
490 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
491 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
492 @if target-libstdc++-v3-bootstrap
493 # Override the above if we're bootstrapping C++.
494 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
495 @endif target-libstdc++-v3-bootstrap
496 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
497 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
498 # POSTSTAGE1_CONFIGURE_FLAGS here.
499 STAGEfeedback_CONFIGURE_FLAGS = \
500 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
503 # Only build the C compiler for stage1, because that is the only one that
504 # we can guarantee will build with the native compiler, and also it is the
505 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
506 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
507 # overrideable (for a bootstrap build stage1 also builds gcc.info).
509 STAGE1_CFLAGS = @stage1_cflags@
510 STAGE1_CHECKING = @stage1_checking@
511 STAGE1_LANGUAGES = @stage1_languages@
512 # * We force-disable intermodule optimizations, even if
513 # --enable-intermodule was passed, since the installed compiler
514 # probably can't handle them. Luckily, autoconf always respects
515 # the last argument when conflicting --enable arguments are passed.
516 # * Likewise, we force-disable coverage flags, since the installed
517 # compiler probably has never heard of them.
518 # * Don't remove this, because above we added
519 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
520 # we don't want for STAGE1_CONFIGURE_FLAGS.
521 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
522 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
524 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
525 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
527 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
528 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
530 do-compare = @do_compare@
531 do-compare3 = $(do-compare)
533 # -----------------------------------------------
534 # Programs producing files for the TARGET machine
535 # -----------------------------------------------
537 AR_FOR_TARGET=@AR_FOR_TARGET@
538 AS_FOR_TARGET=@AS_FOR_TARGET@
539 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
541 # If GCC_FOR_TARGET is not overriden on the command line, then this
542 # variable is passed down to the gcc Makefile, where it is used to
543 # build libgcc2.a. We define it here so that it can itself be
544 # overridden on the command line.
545 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
546 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
547 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
548 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
549 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
550 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
551 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
552 LD_FOR_TARGET=@LD_FOR_TARGET@
554 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
555 NM_FOR_TARGET=@NM_FOR_TARGET@
556 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
557 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
558 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
559 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
560 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
562 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
563 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
564 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
566 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
567 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
569 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
570 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
571 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
572 GOCFLAGS_FOR_TARGET = -O2 -g
574 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
575 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
576 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
578 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
580 # ------------------------------------
581 # Miscellaneous targets and flag lists
582 # ------------------------------------
584 # The first rule in the file had better be this one. Don't put any above it.
585 # This lives here to allow makefile fragments to contain dependencies.
586 all:
588 #### host and target specific makefile fragments come in here.
589 @target_makefile_frag@
590 @alphaieee_frag@
591 @ospace_frag@
592 @host_makefile_frag@
595 # This is the list of directories that may be needed in RPATH_ENVVAR
596 # so that programs built for the target machine work.
597 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
599 @if target-libstdc++-v3
600 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
601 @endif target-libstdc++-v3
603 @if target-libmudflap
604 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
605 @endif target-libmudflap
607 @if target-libssp
608 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
609 @endif target-libssp
611 @if target-libgomp
612 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
613 @endif target-libgomp
617 # This is the list of directories that may be needed in RPATH_ENVVAR
618 # so that programs built for the host machine work.
619 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)
621 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
622 @if gcc
623 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
624 @endif gcc
627 @if bfd
628 HOST_LIB_PATH_bfd = \
629 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
630 @endif bfd
632 @if opcodes
633 HOST_LIB_PATH_opcodes = \
634 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
635 @endif opcodes
637 @if gmp
638 HOST_LIB_PATH_gmp = \
639 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
640 @endif gmp
642 @if mpfr
643 HOST_LIB_PATH_mpfr = \
644 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
645 @endif mpfr
647 @if mpc
648 HOST_LIB_PATH_mpc = \
649 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
650 @endif mpc
652 @if ppl
653 HOST_LIB_PATH_ppl = \
654 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
655 @endif ppl
657 @if cloog
658 HOST_LIB_PATH_cloog = \
659 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
660 @endif cloog
662 @if libelf
663 HOST_LIB_PATH_libelf = \
664 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
665 @endif libelf
668 CXX_FOR_TARGET_FLAG_TO_PASS = \
669 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
670 @if target-libstdc++-v3
671 # CXX_FOR_TARGET is tricky to get right for target libs that require a
672 # functional C++ compiler. When we recurse, if we expand
673 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
674 # libstdc++ include flags from the script. Instead, we get an
675 # -funconfigured-* word, so that we'll get errors if this invalid C++
676 # command line is used for anything, but also so that we can use the
677 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
678 # don't pass it on, sub-make will use the default definition, that
679 # re-expands it at the time of use, so we'll get it right when we need
680 # it. One potential exception is the expansion of CXX_FOR_TARGET
681 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
682 # really work, for C++ host programs can't depend on the current-stage
683 # C++ target library.
684 CXX_FOR_TARGET_FLAG_TO_PASS = \
685 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
686 @endif target-libstdc++-v3
688 # Flags to pass down to all sub-makes.
689 BASE_FLAGS_TO_PASS = \
690 "DESTDIR=$(DESTDIR)" \
691 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
692 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
693 "bindir=$(bindir)" \
694 "datadir=$(datadir)" \
695 "exec_prefix=$(exec_prefix)" \
696 "includedir=$(includedir)" \
697 "datarootdir=$(datarootdir)" \
698 "docdir=$(docdir)" \
699 "infodir=$(infodir)" \
700 "pdfdir=$(pdfdir)" \
701 "htmldir=$(htmldir)" \
702 "libdir=$(libdir)" \
703 "libexecdir=$(libexecdir)" \
704 "lispdir=$(lispdir)" \
705 "localstatedir=$(localstatedir)" \
706 "mandir=$(mandir)" \
707 "oldincludedir=$(oldincludedir)" \
708 "prefix=$(prefix)" \
709 "sbindir=$(sbindir)" \
710 "sharedstatedir=$(sharedstatedir)" \
711 "sysconfdir=$(sysconfdir)" \
712 "tooldir=$(tooldir)" \
713 "build_tooldir=$(build_tooldir)" \
714 "target_alias=$(target_alias)" \
715 "AWK=$(AWK)" \
716 "BISON=$(BISON)" \
717 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
718 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
719 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
720 "EXPECT=$(EXPECT)" \
721 "FLEX=$(FLEX)" \
722 "INSTALL=$(INSTALL)" \
723 "INSTALL_DATA=$(INSTALL_DATA)" \
724 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
725 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
726 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
727 "LEX=$(LEX)" \
728 "M4=$(M4)" \
729 "MAKE=$(MAKE)" \
730 "RUNTEST=$(RUNTEST)" \
731 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
732 "SED=$(SED)" \
733 "SHELL=$(SHELL)" \
734 "YACC=$(YACC)" \
735 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
736 "ADA_CFLAGS=$(ADA_CFLAGS)" \
737 "AR_FLAGS=$(AR_FLAGS)" \
738 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
739 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
740 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
741 "CFLAGS=$(CFLAGS)" \
742 "CXXFLAGS=$(CXXFLAGS)" \
743 "LDFLAGS=$(LDFLAGS)" \
744 "LIBCFLAGS=$(LIBCFLAGS)" \
745 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
746 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
747 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
748 "GNATBIND=$(GNATBIND)" \
749 "GNATMAKE=$(GNATMAKE)" \
750 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
751 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
752 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
753 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
754 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
755 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
756 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
757 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
758 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
759 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
760 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
761 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
762 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
763 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
764 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
765 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
766 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
767 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
768 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
769 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
770 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
771 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
772 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
773 "BUILD_CONFIG=$(BUILD_CONFIG)" \
774 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
775 "LEAN=$(LEAN)" \
776 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
777 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
778 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
779 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
780 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
781 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
782 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
783 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
784 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
785 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
786 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
787 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
788 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
789 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
790 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
791 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
792 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
793 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
794 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
795 "TFLAGS=$(TFLAGS)" \
796 "CONFIG_SHELL=$(SHELL)" \
797 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
799 # We leave this in just in case, but it is not needed anymore.
800 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
802 # Flags to pass down to most sub-makes, in which we're building with
803 # the host environment.
804 EXTRA_HOST_FLAGS = \
805 'AR=$(AR)' \
806 'AS=$(AS)' \
807 'CC=$(CC)' \
808 'CXX=$(CXX)' \
809 'DLLTOOL=$(DLLTOOL)' \
810 'GCJ=$(GCJ)' \
811 'GFORTRAN=$(GFORTRAN)' \
812 'GOC=$(GOC)' \
813 'LD=$(LD)' \
814 'LIPO=$(LIPO)' \
815 'NM=$(NM)' \
816 'OBJDUMP=$(OBJDUMP)' \
817 'RANLIB=$(RANLIB)' \
818 'STRIP=$(STRIP)' \
819 'WINDRES=$(WINDRES)' \
820 'WINDMC=$(WINDMC)'
822 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
824 # Flags to pass to stage2 and later makes.
826 POSTSTAGE1_FLAGS_TO_PASS = \
827 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
828 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
829 GNATBIND="$${GNATBIND}" \
830 LDFLAGS="$${LDFLAGS}" \
831 HOST_LIBS="$${HOST_LIBS}" \
832 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
834 # Flags to pass down to makes which are built with the target environment.
835 # The double $ decreases the length of the command line; those variables
836 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
837 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
838 # so we expand them here.
839 EXTRA_TARGET_FLAGS = \
840 'AR=$$(AR_FOR_TARGET)' \
841 'AS=$(COMPILER_AS_FOR_TARGET)' \
842 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
843 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
844 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
846 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
847 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
848 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
849 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
850 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
851 'LD=$(COMPILER_LD_FOR_TARGET)' \
852 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
853 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
854 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
855 'NM=$(COMPILER_NM_FOR_TARGET)' \
856 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
857 'RANLIB=$$(RANLIB_FOR_TARGET)' \
858 'WINDRES=$$(WINDRES_FOR_TARGET)' \
859 'WINDMC=$$(WINDMC_FOR_TARGET)' \
860 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
861 "TFLAGS=$$TFLAGS"
863 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
865 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
866 # unfortunately needs the native compiler and the target ar and
867 # ranlib.
868 # If any variables are added here, they must be added to do-*, below.
869 # The BUILD_* variables are a special case, which are used for the gcc
870 # cross-building scheme.
871 EXTRA_GCC_FLAGS = \
872 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
873 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
874 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
875 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
876 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
877 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
879 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
881 @if gcc
882 BUILD_CONFIG = @BUILD_CONFIG@
883 ifneq ($(BUILD_CONFIG),)
884 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
885 endif
886 @endif gcc
888 .PHONY: configure-host
889 configure-host: \
890 maybe-configure-bfd \
891 maybe-configure-opcodes \
892 maybe-configure-binutils \
893 maybe-configure-bison \
894 maybe-configure-cgen \
895 maybe-configure-dejagnu \
896 maybe-configure-etc \
897 maybe-configure-fastjar \
898 maybe-configure-fixincludes \
899 maybe-configure-flex \
900 maybe-configure-gas \
901 maybe-configure-gcc \
902 maybe-configure-gmp \
903 maybe-configure-mpfr \
904 maybe-configure-mpc \
905 maybe-configure-ppl \
906 maybe-configure-cloog \
907 maybe-configure-libelf \
908 maybe-configure-gold \
909 maybe-configure-gprof \
910 maybe-configure-intl \
911 maybe-configure-tcl \
912 maybe-configure-itcl \
913 maybe-configure-ld \
914 maybe-configure-libcpp \
915 maybe-configure-libdecnumber \
916 maybe-configure-libgui \
917 maybe-configure-libiberty \
918 maybe-configure-libiconv \
919 maybe-configure-m4 \
920 maybe-configure-readline \
921 maybe-configure-sid \
922 maybe-configure-sim \
923 maybe-configure-texinfo \
924 maybe-configure-zlib \
925 maybe-configure-gdb \
926 maybe-configure-expect \
927 maybe-configure-guile \
928 maybe-configure-tk \
929 maybe-configure-libtermcap \
930 maybe-configure-utils \
931 maybe-configure-gnattools \
932 maybe-configure-lto-plugin
933 .PHONY: configure-target
934 configure-target: \
935 maybe-configure-target-libstdc++-v3 \
936 maybe-configure-target-libmudflap \
937 maybe-configure-target-libssp \
938 maybe-configure-target-newlib \
939 maybe-configure-target-libgcc \
940 maybe-configure-target-libquadmath \
941 maybe-configure-target-libgfortran \
942 maybe-configure-target-libobjc \
943 maybe-configure-target-libgo \
944 maybe-configure-target-libtermcap \
945 maybe-configure-target-winsup \
946 maybe-configure-target-libgloss \
947 maybe-configure-target-libffi \
948 maybe-configure-target-libjava \
949 maybe-configure-target-zlib \
950 maybe-configure-target-boehm-gc \
951 maybe-configure-target-rda \
952 maybe-configure-target-libada \
953 maybe-configure-target-libgomp
955 # The target built for a native non-bootstrap build.
956 .PHONY: all
957 all:
958 @if gcc-bootstrap
959 [ -f stage_final ] || echo stage3 > stage_final
960 @r=`${PWD_COMMAND}`; export r; \
961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
963 @endif gcc-bootstrap
964 @: $(MAKE); $(unstage)
965 @r=`${PWD_COMMAND}`; export r; \
966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
967 @if gcc-bootstrap
968 if [ -f stage_last ]; then \
969 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
970 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
971 else \
972 @endif gcc-bootstrap
973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
974 @if gcc-bootstrap
976 fi \
977 @endif gcc-bootstrap
978 && :
980 .PHONY: all-build
982 all-build: maybe-all-build-libiberty
983 all-build: maybe-all-build-bison
984 all-build: maybe-all-build-flex
985 all-build: maybe-all-build-m4
986 all-build: maybe-all-build-texinfo
987 all-build: maybe-all-build-fixincludes
989 .PHONY: all-host
991 @if bfd-no-bootstrap
992 all-host: maybe-all-bfd
993 @endif bfd-no-bootstrap
994 @if opcodes-no-bootstrap
995 all-host: maybe-all-opcodes
996 @endif opcodes-no-bootstrap
997 @if binutils-no-bootstrap
998 all-host: maybe-all-binutils
999 @endif binutils-no-bootstrap
1000 all-host: maybe-all-bison
1001 all-host: maybe-all-cgen
1002 all-host: maybe-all-dejagnu
1003 all-host: maybe-all-etc
1004 all-host: maybe-all-fastjar
1005 all-host: maybe-all-fixincludes
1006 all-host: maybe-all-flex
1007 @if gas-no-bootstrap
1008 all-host: maybe-all-gas
1009 @endif gas-no-bootstrap
1010 @if gcc-no-bootstrap
1011 all-host: maybe-all-gcc
1012 @endif gcc-no-bootstrap
1013 @if gmp-no-bootstrap
1014 all-host: maybe-all-gmp
1015 @endif gmp-no-bootstrap
1016 @if mpfr-no-bootstrap
1017 all-host: maybe-all-mpfr
1018 @endif mpfr-no-bootstrap
1019 @if mpc-no-bootstrap
1020 all-host: maybe-all-mpc
1021 @endif mpc-no-bootstrap
1022 @if ppl-no-bootstrap
1023 all-host: maybe-all-ppl
1024 @endif ppl-no-bootstrap
1025 @if cloog-no-bootstrap
1026 all-host: maybe-all-cloog
1027 @endif cloog-no-bootstrap
1028 @if libelf-no-bootstrap
1029 all-host: maybe-all-libelf
1030 @endif libelf-no-bootstrap
1031 @if gold-no-bootstrap
1032 all-host: maybe-all-gold
1033 @endif gold-no-bootstrap
1034 all-host: maybe-all-gprof
1035 @if intl-no-bootstrap
1036 all-host: maybe-all-intl
1037 @endif intl-no-bootstrap
1038 all-host: maybe-all-tcl
1039 all-host: maybe-all-itcl
1040 @if ld-no-bootstrap
1041 all-host: maybe-all-ld
1042 @endif ld-no-bootstrap
1043 @if libcpp-no-bootstrap
1044 all-host: maybe-all-libcpp
1045 @endif libcpp-no-bootstrap
1046 @if libdecnumber-no-bootstrap
1047 all-host: maybe-all-libdecnumber
1048 @endif libdecnumber-no-bootstrap
1049 all-host: maybe-all-libgui
1050 @if libiberty-no-bootstrap
1051 all-host: maybe-all-libiberty
1052 @endif libiberty-no-bootstrap
1053 all-host: maybe-all-libiconv
1054 all-host: maybe-all-m4
1055 all-host: maybe-all-readline
1056 all-host: maybe-all-sid
1057 all-host: maybe-all-sim
1058 all-host: maybe-all-texinfo
1059 @if zlib-no-bootstrap
1060 all-host: maybe-all-zlib
1061 @endif zlib-no-bootstrap
1062 all-host: maybe-all-gdb
1063 all-host: maybe-all-expect
1064 all-host: maybe-all-guile
1065 all-host: maybe-all-tk
1066 all-host: maybe-all-libtermcap
1067 all-host: maybe-all-utils
1068 all-host: maybe-all-gnattools
1069 @if lto-plugin-no-bootstrap
1070 all-host: maybe-all-lto-plugin
1071 @endif lto-plugin-no-bootstrap
1073 .PHONY: all-target
1075 @if target-libstdc++-v3-no-bootstrap
1076 all-target: maybe-all-target-libstdc++-v3
1077 @endif target-libstdc++-v3-no-bootstrap
1078 all-target: maybe-all-target-libmudflap
1079 all-target: maybe-all-target-libssp
1080 all-target: maybe-all-target-newlib
1081 @if target-libgcc-no-bootstrap
1082 all-target: maybe-all-target-libgcc
1083 @endif target-libgcc-no-bootstrap
1084 all-target: maybe-all-target-libquadmath
1085 all-target: maybe-all-target-libgfortran
1086 all-target: maybe-all-target-libobjc
1087 all-target: maybe-all-target-libgo
1088 all-target: maybe-all-target-libtermcap
1089 all-target: maybe-all-target-winsup
1090 all-target: maybe-all-target-libgloss
1091 all-target: maybe-all-target-libffi
1092 all-target: maybe-all-target-libjava
1093 all-target: maybe-all-target-zlib
1094 all-target: maybe-all-target-boehm-gc
1095 all-target: maybe-all-target-rda
1096 all-target: maybe-all-target-libada
1097 @if target-libgomp-no-bootstrap
1098 all-target: maybe-all-target-libgomp
1099 @endif target-libgomp-no-bootstrap
1101 # Do a target for all the subdirectories. A ``make do-X'' will do a
1102 # ``make X'' in all subdirectories (because, in general, there is a
1103 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1104 # but it may do additional work as well).
1106 .PHONY: do-info
1107 do-info:
1108 @: $(MAKE); $(unstage)
1109 @r=`${PWD_COMMAND}`; export r; \
1110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1112 info-target
1115 .PHONY: info-host
1117 info-host: maybe-info-bfd
1118 info-host: maybe-info-opcodes
1119 info-host: maybe-info-binutils
1120 info-host: maybe-info-bison
1121 info-host: maybe-info-cgen
1122 info-host: maybe-info-dejagnu
1123 info-host: maybe-info-etc
1124 info-host: maybe-info-fastjar
1125 info-host: maybe-info-fixincludes
1126 info-host: maybe-info-flex
1127 info-host: maybe-info-gas
1128 info-host: maybe-info-gcc
1129 info-host: maybe-info-gmp
1130 info-host: maybe-info-mpfr
1131 info-host: maybe-info-mpc
1132 info-host: maybe-info-ppl
1133 info-host: maybe-info-cloog
1134 info-host: maybe-info-libelf
1135 info-host: maybe-info-gold
1136 info-host: maybe-info-gprof
1137 info-host: maybe-info-intl
1138 info-host: maybe-info-tcl
1139 info-host: maybe-info-itcl
1140 info-host: maybe-info-ld
1141 info-host: maybe-info-libcpp
1142 info-host: maybe-info-libdecnumber
1143 info-host: maybe-info-libgui
1144 info-host: maybe-info-libiberty
1145 info-host: maybe-info-libiconv
1146 info-host: maybe-info-m4
1147 info-host: maybe-info-readline
1148 info-host: maybe-info-sid
1149 info-host: maybe-info-sim
1150 info-host: maybe-info-texinfo
1151 info-host: maybe-info-zlib
1152 info-host: maybe-info-gdb
1153 info-host: maybe-info-expect
1154 info-host: maybe-info-guile
1155 info-host: maybe-info-tk
1156 info-host: maybe-info-libtermcap
1157 info-host: maybe-info-utils
1158 info-host: maybe-info-gnattools
1159 info-host: maybe-info-lto-plugin
1161 .PHONY: info-target
1163 info-target: maybe-info-target-libstdc++-v3
1164 info-target: maybe-info-target-libmudflap
1165 info-target: maybe-info-target-libssp
1166 info-target: maybe-info-target-newlib
1167 info-target: maybe-info-target-libgcc
1168 info-target: maybe-info-target-libquadmath
1169 info-target: maybe-info-target-libgfortran
1170 info-target: maybe-info-target-libobjc
1171 info-target: maybe-info-target-libgo
1172 info-target: maybe-info-target-libtermcap
1173 info-target: maybe-info-target-winsup
1174 info-target: maybe-info-target-libgloss
1175 info-target: maybe-info-target-libffi
1176 info-target: maybe-info-target-libjava
1177 info-target: maybe-info-target-zlib
1178 info-target: maybe-info-target-boehm-gc
1179 info-target: maybe-info-target-rda
1180 info-target: maybe-info-target-libada
1181 info-target: maybe-info-target-libgomp
1183 .PHONY: do-dvi
1184 do-dvi:
1185 @: $(MAKE); $(unstage)
1186 @r=`${PWD_COMMAND}`; export r; \
1187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1188 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1189 dvi-target
1192 .PHONY: dvi-host
1194 dvi-host: maybe-dvi-bfd
1195 dvi-host: maybe-dvi-opcodes
1196 dvi-host: maybe-dvi-binutils
1197 dvi-host: maybe-dvi-bison
1198 dvi-host: maybe-dvi-cgen
1199 dvi-host: maybe-dvi-dejagnu
1200 dvi-host: maybe-dvi-etc
1201 dvi-host: maybe-dvi-fastjar
1202 dvi-host: maybe-dvi-fixincludes
1203 dvi-host: maybe-dvi-flex
1204 dvi-host: maybe-dvi-gas
1205 dvi-host: maybe-dvi-gcc
1206 dvi-host: maybe-dvi-gmp
1207 dvi-host: maybe-dvi-mpfr
1208 dvi-host: maybe-dvi-mpc
1209 dvi-host: maybe-dvi-ppl
1210 dvi-host: maybe-dvi-cloog
1211 dvi-host: maybe-dvi-libelf
1212 dvi-host: maybe-dvi-gold
1213 dvi-host: maybe-dvi-gprof
1214 dvi-host: maybe-dvi-intl
1215 dvi-host: maybe-dvi-tcl
1216 dvi-host: maybe-dvi-itcl
1217 dvi-host: maybe-dvi-ld
1218 dvi-host: maybe-dvi-libcpp
1219 dvi-host: maybe-dvi-libdecnumber
1220 dvi-host: maybe-dvi-libgui
1221 dvi-host: maybe-dvi-libiberty
1222 dvi-host: maybe-dvi-libiconv
1223 dvi-host: maybe-dvi-m4
1224 dvi-host: maybe-dvi-readline
1225 dvi-host: maybe-dvi-sid
1226 dvi-host: maybe-dvi-sim
1227 dvi-host: maybe-dvi-texinfo
1228 dvi-host: maybe-dvi-zlib
1229 dvi-host: maybe-dvi-gdb
1230 dvi-host: maybe-dvi-expect
1231 dvi-host: maybe-dvi-guile
1232 dvi-host: maybe-dvi-tk
1233 dvi-host: maybe-dvi-libtermcap
1234 dvi-host: maybe-dvi-utils
1235 dvi-host: maybe-dvi-gnattools
1236 dvi-host: maybe-dvi-lto-plugin
1238 .PHONY: dvi-target
1240 dvi-target: maybe-dvi-target-libstdc++-v3
1241 dvi-target: maybe-dvi-target-libmudflap
1242 dvi-target: maybe-dvi-target-libssp
1243 dvi-target: maybe-dvi-target-newlib
1244 dvi-target: maybe-dvi-target-libgcc
1245 dvi-target: maybe-dvi-target-libquadmath
1246 dvi-target: maybe-dvi-target-libgfortran
1247 dvi-target: maybe-dvi-target-libobjc
1248 dvi-target: maybe-dvi-target-libgo
1249 dvi-target: maybe-dvi-target-libtermcap
1250 dvi-target: maybe-dvi-target-winsup
1251 dvi-target: maybe-dvi-target-libgloss
1252 dvi-target: maybe-dvi-target-libffi
1253 dvi-target: maybe-dvi-target-libjava
1254 dvi-target: maybe-dvi-target-zlib
1255 dvi-target: maybe-dvi-target-boehm-gc
1256 dvi-target: maybe-dvi-target-rda
1257 dvi-target: maybe-dvi-target-libada
1258 dvi-target: maybe-dvi-target-libgomp
1260 .PHONY: do-pdf
1261 do-pdf:
1262 @: $(MAKE); $(unstage)
1263 @r=`${PWD_COMMAND}`; export r; \
1264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1265 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1266 pdf-target
1269 .PHONY: pdf-host
1271 pdf-host: maybe-pdf-bfd
1272 pdf-host: maybe-pdf-opcodes
1273 pdf-host: maybe-pdf-binutils
1274 pdf-host: maybe-pdf-bison
1275 pdf-host: maybe-pdf-cgen
1276 pdf-host: maybe-pdf-dejagnu
1277 pdf-host: maybe-pdf-etc
1278 pdf-host: maybe-pdf-fastjar
1279 pdf-host: maybe-pdf-fixincludes
1280 pdf-host: maybe-pdf-flex
1281 pdf-host: maybe-pdf-gas
1282 pdf-host: maybe-pdf-gcc
1283 pdf-host: maybe-pdf-gmp
1284 pdf-host: maybe-pdf-mpfr
1285 pdf-host: maybe-pdf-mpc
1286 pdf-host: maybe-pdf-ppl
1287 pdf-host: maybe-pdf-cloog
1288 pdf-host: maybe-pdf-libelf
1289 pdf-host: maybe-pdf-gold
1290 pdf-host: maybe-pdf-gprof
1291 pdf-host: maybe-pdf-intl
1292 pdf-host: maybe-pdf-tcl
1293 pdf-host: maybe-pdf-itcl
1294 pdf-host: maybe-pdf-ld
1295 pdf-host: maybe-pdf-libcpp
1296 pdf-host: maybe-pdf-libdecnumber
1297 pdf-host: maybe-pdf-libgui
1298 pdf-host: maybe-pdf-libiberty
1299 pdf-host: maybe-pdf-libiconv
1300 pdf-host: maybe-pdf-m4
1301 pdf-host: maybe-pdf-readline
1302 pdf-host: maybe-pdf-sid
1303 pdf-host: maybe-pdf-sim
1304 pdf-host: maybe-pdf-texinfo
1305 pdf-host: maybe-pdf-zlib
1306 pdf-host: maybe-pdf-gdb
1307 pdf-host: maybe-pdf-expect
1308 pdf-host: maybe-pdf-guile
1309 pdf-host: maybe-pdf-tk
1310 pdf-host: maybe-pdf-libtermcap
1311 pdf-host: maybe-pdf-utils
1312 pdf-host: maybe-pdf-gnattools
1313 pdf-host: maybe-pdf-lto-plugin
1315 .PHONY: pdf-target
1317 pdf-target: maybe-pdf-target-libstdc++-v3
1318 pdf-target: maybe-pdf-target-libmudflap
1319 pdf-target: maybe-pdf-target-libssp
1320 pdf-target: maybe-pdf-target-newlib
1321 pdf-target: maybe-pdf-target-libgcc
1322 pdf-target: maybe-pdf-target-libquadmath
1323 pdf-target: maybe-pdf-target-libgfortran
1324 pdf-target: maybe-pdf-target-libobjc
1325 pdf-target: maybe-pdf-target-libgo
1326 pdf-target: maybe-pdf-target-libtermcap
1327 pdf-target: maybe-pdf-target-winsup
1328 pdf-target: maybe-pdf-target-libgloss
1329 pdf-target: maybe-pdf-target-libffi
1330 pdf-target: maybe-pdf-target-libjava
1331 pdf-target: maybe-pdf-target-zlib
1332 pdf-target: maybe-pdf-target-boehm-gc
1333 pdf-target: maybe-pdf-target-rda
1334 pdf-target: maybe-pdf-target-libada
1335 pdf-target: maybe-pdf-target-libgomp
1337 .PHONY: do-html
1338 do-html:
1339 @: $(MAKE); $(unstage)
1340 @r=`${PWD_COMMAND}`; export r; \
1341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1343 html-target
1346 .PHONY: html-host
1348 html-host: maybe-html-bfd
1349 html-host: maybe-html-opcodes
1350 html-host: maybe-html-binutils
1351 html-host: maybe-html-bison
1352 html-host: maybe-html-cgen
1353 html-host: maybe-html-dejagnu
1354 html-host: maybe-html-etc
1355 html-host: maybe-html-fastjar
1356 html-host: maybe-html-fixincludes
1357 html-host: maybe-html-flex
1358 html-host: maybe-html-gas
1359 html-host: maybe-html-gcc
1360 html-host: maybe-html-gmp
1361 html-host: maybe-html-mpfr
1362 html-host: maybe-html-mpc
1363 html-host: maybe-html-ppl
1364 html-host: maybe-html-cloog
1365 html-host: maybe-html-libelf
1366 html-host: maybe-html-gold
1367 html-host: maybe-html-gprof
1368 html-host: maybe-html-intl
1369 html-host: maybe-html-tcl
1370 html-host: maybe-html-itcl
1371 html-host: maybe-html-ld
1372 html-host: maybe-html-libcpp
1373 html-host: maybe-html-libdecnumber
1374 html-host: maybe-html-libgui
1375 html-host: maybe-html-libiberty
1376 html-host: maybe-html-libiconv
1377 html-host: maybe-html-m4
1378 html-host: maybe-html-readline
1379 html-host: maybe-html-sid
1380 html-host: maybe-html-sim
1381 html-host: maybe-html-texinfo
1382 html-host: maybe-html-zlib
1383 html-host: maybe-html-gdb
1384 html-host: maybe-html-expect
1385 html-host: maybe-html-guile
1386 html-host: maybe-html-tk
1387 html-host: maybe-html-libtermcap
1388 html-host: maybe-html-utils
1389 html-host: maybe-html-gnattools
1390 html-host: maybe-html-lto-plugin
1392 .PHONY: html-target
1394 html-target: maybe-html-target-libstdc++-v3
1395 html-target: maybe-html-target-libmudflap
1396 html-target: maybe-html-target-libssp
1397 html-target: maybe-html-target-newlib
1398 html-target: maybe-html-target-libgcc
1399 html-target: maybe-html-target-libquadmath
1400 html-target: maybe-html-target-libgfortran
1401 html-target: maybe-html-target-libobjc
1402 html-target: maybe-html-target-libgo
1403 html-target: maybe-html-target-libtermcap
1404 html-target: maybe-html-target-winsup
1405 html-target: maybe-html-target-libgloss
1406 html-target: maybe-html-target-libffi
1407 html-target: maybe-html-target-libjava
1408 html-target: maybe-html-target-zlib
1409 html-target: maybe-html-target-boehm-gc
1410 html-target: maybe-html-target-rda
1411 html-target: maybe-html-target-libada
1412 html-target: maybe-html-target-libgomp
1414 .PHONY: do-TAGS
1415 do-TAGS:
1416 @: $(MAKE); $(unstage)
1417 @r=`${PWD_COMMAND}`; export r; \
1418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1419 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1420 TAGS-target
1423 .PHONY: TAGS-host
1425 TAGS-host: maybe-TAGS-bfd
1426 TAGS-host: maybe-TAGS-opcodes
1427 TAGS-host: maybe-TAGS-binutils
1428 TAGS-host: maybe-TAGS-bison
1429 TAGS-host: maybe-TAGS-cgen
1430 TAGS-host: maybe-TAGS-dejagnu
1431 TAGS-host: maybe-TAGS-etc
1432 TAGS-host: maybe-TAGS-fastjar
1433 TAGS-host: maybe-TAGS-fixincludes
1434 TAGS-host: maybe-TAGS-flex
1435 TAGS-host: maybe-TAGS-gas
1436 TAGS-host: maybe-TAGS-gcc
1437 TAGS-host: maybe-TAGS-gmp
1438 TAGS-host: maybe-TAGS-mpfr
1439 TAGS-host: maybe-TAGS-mpc
1440 TAGS-host: maybe-TAGS-ppl
1441 TAGS-host: maybe-TAGS-cloog
1442 TAGS-host: maybe-TAGS-libelf
1443 TAGS-host: maybe-TAGS-gold
1444 TAGS-host: maybe-TAGS-gprof
1445 TAGS-host: maybe-TAGS-intl
1446 TAGS-host: maybe-TAGS-tcl
1447 TAGS-host: maybe-TAGS-itcl
1448 TAGS-host: maybe-TAGS-ld
1449 TAGS-host: maybe-TAGS-libcpp
1450 TAGS-host: maybe-TAGS-libdecnumber
1451 TAGS-host: maybe-TAGS-libgui
1452 TAGS-host: maybe-TAGS-libiberty
1453 TAGS-host: maybe-TAGS-libiconv
1454 TAGS-host: maybe-TAGS-m4
1455 TAGS-host: maybe-TAGS-readline
1456 TAGS-host: maybe-TAGS-sid
1457 TAGS-host: maybe-TAGS-sim
1458 TAGS-host: maybe-TAGS-texinfo
1459 TAGS-host: maybe-TAGS-zlib
1460 TAGS-host: maybe-TAGS-gdb
1461 TAGS-host: maybe-TAGS-expect
1462 TAGS-host: maybe-TAGS-guile
1463 TAGS-host: maybe-TAGS-tk
1464 TAGS-host: maybe-TAGS-libtermcap
1465 TAGS-host: maybe-TAGS-utils
1466 TAGS-host: maybe-TAGS-gnattools
1467 TAGS-host: maybe-TAGS-lto-plugin
1469 .PHONY: TAGS-target
1471 TAGS-target: maybe-TAGS-target-libstdc++-v3
1472 TAGS-target: maybe-TAGS-target-libmudflap
1473 TAGS-target: maybe-TAGS-target-libssp
1474 TAGS-target: maybe-TAGS-target-newlib
1475 TAGS-target: maybe-TAGS-target-libgcc
1476 TAGS-target: maybe-TAGS-target-libquadmath
1477 TAGS-target: maybe-TAGS-target-libgfortran
1478 TAGS-target: maybe-TAGS-target-libobjc
1479 TAGS-target: maybe-TAGS-target-libgo
1480 TAGS-target: maybe-TAGS-target-libtermcap
1481 TAGS-target: maybe-TAGS-target-winsup
1482 TAGS-target: maybe-TAGS-target-libgloss
1483 TAGS-target: maybe-TAGS-target-libffi
1484 TAGS-target: maybe-TAGS-target-libjava
1485 TAGS-target: maybe-TAGS-target-zlib
1486 TAGS-target: maybe-TAGS-target-boehm-gc
1487 TAGS-target: maybe-TAGS-target-rda
1488 TAGS-target: maybe-TAGS-target-libada
1489 TAGS-target: maybe-TAGS-target-libgomp
1491 .PHONY: do-install-info
1492 do-install-info:
1493 @: $(MAKE); $(unstage)
1494 @r=`${PWD_COMMAND}`; export r; \
1495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1496 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1497 install-info-target
1500 .PHONY: install-info-host
1502 install-info-host: maybe-install-info-bfd
1503 install-info-host: maybe-install-info-opcodes
1504 install-info-host: maybe-install-info-binutils
1505 install-info-host: maybe-install-info-bison
1506 install-info-host: maybe-install-info-cgen
1507 install-info-host: maybe-install-info-dejagnu
1508 install-info-host: maybe-install-info-etc
1509 install-info-host: maybe-install-info-fastjar
1510 install-info-host: maybe-install-info-fixincludes
1511 install-info-host: maybe-install-info-flex
1512 install-info-host: maybe-install-info-gas
1513 install-info-host: maybe-install-info-gcc
1514 install-info-host: maybe-install-info-gmp
1515 install-info-host: maybe-install-info-mpfr
1516 install-info-host: maybe-install-info-mpc
1517 install-info-host: maybe-install-info-ppl
1518 install-info-host: maybe-install-info-cloog
1519 install-info-host: maybe-install-info-libelf
1520 install-info-host: maybe-install-info-gold
1521 install-info-host: maybe-install-info-gprof
1522 install-info-host: maybe-install-info-intl
1523 install-info-host: maybe-install-info-tcl
1524 install-info-host: maybe-install-info-itcl
1525 install-info-host: maybe-install-info-ld
1526 install-info-host: maybe-install-info-libcpp
1527 install-info-host: maybe-install-info-libdecnumber
1528 install-info-host: maybe-install-info-libgui
1529 install-info-host: maybe-install-info-libiberty
1530 install-info-host: maybe-install-info-libiconv
1531 install-info-host: maybe-install-info-m4
1532 install-info-host: maybe-install-info-readline
1533 install-info-host: maybe-install-info-sid
1534 install-info-host: maybe-install-info-sim
1535 install-info-host: maybe-install-info-texinfo
1536 install-info-host: maybe-install-info-zlib
1537 install-info-host: maybe-install-info-gdb
1538 install-info-host: maybe-install-info-expect
1539 install-info-host: maybe-install-info-guile
1540 install-info-host: maybe-install-info-tk
1541 install-info-host: maybe-install-info-libtermcap
1542 install-info-host: maybe-install-info-utils
1543 install-info-host: maybe-install-info-gnattools
1544 install-info-host: maybe-install-info-lto-plugin
1546 .PHONY: install-info-target
1548 install-info-target: maybe-install-info-target-libstdc++-v3
1549 install-info-target: maybe-install-info-target-libmudflap
1550 install-info-target: maybe-install-info-target-libssp
1551 install-info-target: maybe-install-info-target-newlib
1552 install-info-target: maybe-install-info-target-libgcc
1553 install-info-target: maybe-install-info-target-libquadmath
1554 install-info-target: maybe-install-info-target-libgfortran
1555 install-info-target: maybe-install-info-target-libobjc
1556 install-info-target: maybe-install-info-target-libgo
1557 install-info-target: maybe-install-info-target-libtermcap
1558 install-info-target: maybe-install-info-target-winsup
1559 install-info-target: maybe-install-info-target-libgloss
1560 install-info-target: maybe-install-info-target-libffi
1561 install-info-target: maybe-install-info-target-libjava
1562 install-info-target: maybe-install-info-target-zlib
1563 install-info-target: maybe-install-info-target-boehm-gc
1564 install-info-target: maybe-install-info-target-rda
1565 install-info-target: maybe-install-info-target-libada
1566 install-info-target: maybe-install-info-target-libgomp
1568 .PHONY: do-install-pdf
1569 do-install-pdf:
1570 @: $(MAKE); $(unstage)
1571 @r=`${PWD_COMMAND}`; export r; \
1572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1574 install-pdf-target
1577 .PHONY: install-pdf-host
1579 install-pdf-host: maybe-install-pdf-bfd
1580 install-pdf-host: maybe-install-pdf-opcodes
1581 install-pdf-host: maybe-install-pdf-binutils
1582 install-pdf-host: maybe-install-pdf-bison
1583 install-pdf-host: maybe-install-pdf-cgen
1584 install-pdf-host: maybe-install-pdf-dejagnu
1585 install-pdf-host: maybe-install-pdf-etc
1586 install-pdf-host: maybe-install-pdf-fastjar
1587 install-pdf-host: maybe-install-pdf-fixincludes
1588 install-pdf-host: maybe-install-pdf-flex
1589 install-pdf-host: maybe-install-pdf-gas
1590 install-pdf-host: maybe-install-pdf-gcc
1591 install-pdf-host: maybe-install-pdf-gmp
1592 install-pdf-host: maybe-install-pdf-mpfr
1593 install-pdf-host: maybe-install-pdf-mpc
1594 install-pdf-host: maybe-install-pdf-ppl
1595 install-pdf-host: maybe-install-pdf-cloog
1596 install-pdf-host: maybe-install-pdf-libelf
1597 install-pdf-host: maybe-install-pdf-gold
1598 install-pdf-host: maybe-install-pdf-gprof
1599 install-pdf-host: maybe-install-pdf-intl
1600 install-pdf-host: maybe-install-pdf-tcl
1601 install-pdf-host: maybe-install-pdf-itcl
1602 install-pdf-host: maybe-install-pdf-ld
1603 install-pdf-host: maybe-install-pdf-libcpp
1604 install-pdf-host: maybe-install-pdf-libdecnumber
1605 install-pdf-host: maybe-install-pdf-libgui
1606 install-pdf-host: maybe-install-pdf-libiberty
1607 install-pdf-host: maybe-install-pdf-libiconv
1608 install-pdf-host: maybe-install-pdf-m4
1609 install-pdf-host: maybe-install-pdf-readline
1610 install-pdf-host: maybe-install-pdf-sid
1611 install-pdf-host: maybe-install-pdf-sim
1612 install-pdf-host: maybe-install-pdf-texinfo
1613 install-pdf-host: maybe-install-pdf-zlib
1614 install-pdf-host: maybe-install-pdf-gdb
1615 install-pdf-host: maybe-install-pdf-expect
1616 install-pdf-host: maybe-install-pdf-guile
1617 install-pdf-host: maybe-install-pdf-tk
1618 install-pdf-host: maybe-install-pdf-libtermcap
1619 install-pdf-host: maybe-install-pdf-utils
1620 install-pdf-host: maybe-install-pdf-gnattools
1621 install-pdf-host: maybe-install-pdf-lto-plugin
1623 .PHONY: install-pdf-target
1625 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1626 install-pdf-target: maybe-install-pdf-target-libmudflap
1627 install-pdf-target: maybe-install-pdf-target-libssp
1628 install-pdf-target: maybe-install-pdf-target-newlib
1629 install-pdf-target: maybe-install-pdf-target-libgcc
1630 install-pdf-target: maybe-install-pdf-target-libquadmath
1631 install-pdf-target: maybe-install-pdf-target-libgfortran
1632 install-pdf-target: maybe-install-pdf-target-libobjc
1633 install-pdf-target: maybe-install-pdf-target-libgo
1634 install-pdf-target: maybe-install-pdf-target-libtermcap
1635 install-pdf-target: maybe-install-pdf-target-winsup
1636 install-pdf-target: maybe-install-pdf-target-libgloss
1637 install-pdf-target: maybe-install-pdf-target-libffi
1638 install-pdf-target: maybe-install-pdf-target-libjava
1639 install-pdf-target: maybe-install-pdf-target-zlib
1640 install-pdf-target: maybe-install-pdf-target-boehm-gc
1641 install-pdf-target: maybe-install-pdf-target-rda
1642 install-pdf-target: maybe-install-pdf-target-libada
1643 install-pdf-target: maybe-install-pdf-target-libgomp
1645 .PHONY: do-install-html
1646 do-install-html:
1647 @: $(MAKE); $(unstage)
1648 @r=`${PWD_COMMAND}`; export r; \
1649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1651 install-html-target
1654 .PHONY: install-html-host
1656 install-html-host: maybe-install-html-bfd
1657 install-html-host: maybe-install-html-opcodes
1658 install-html-host: maybe-install-html-binutils
1659 install-html-host: maybe-install-html-bison
1660 install-html-host: maybe-install-html-cgen
1661 install-html-host: maybe-install-html-dejagnu
1662 install-html-host: maybe-install-html-etc
1663 install-html-host: maybe-install-html-fastjar
1664 install-html-host: maybe-install-html-fixincludes
1665 install-html-host: maybe-install-html-flex
1666 install-html-host: maybe-install-html-gas
1667 install-html-host: maybe-install-html-gcc
1668 install-html-host: maybe-install-html-gmp
1669 install-html-host: maybe-install-html-mpfr
1670 install-html-host: maybe-install-html-mpc
1671 install-html-host: maybe-install-html-ppl
1672 install-html-host: maybe-install-html-cloog
1673 install-html-host: maybe-install-html-libelf
1674 install-html-host: maybe-install-html-gold
1675 install-html-host: maybe-install-html-gprof
1676 install-html-host: maybe-install-html-intl
1677 install-html-host: maybe-install-html-tcl
1678 install-html-host: maybe-install-html-itcl
1679 install-html-host: maybe-install-html-ld
1680 install-html-host: maybe-install-html-libcpp
1681 install-html-host: maybe-install-html-libdecnumber
1682 install-html-host: maybe-install-html-libgui
1683 install-html-host: maybe-install-html-libiberty
1684 install-html-host: maybe-install-html-libiconv
1685 install-html-host: maybe-install-html-m4
1686 install-html-host: maybe-install-html-readline
1687 install-html-host: maybe-install-html-sid
1688 install-html-host: maybe-install-html-sim
1689 install-html-host: maybe-install-html-texinfo
1690 install-html-host: maybe-install-html-zlib
1691 install-html-host: maybe-install-html-gdb
1692 install-html-host: maybe-install-html-expect
1693 install-html-host: maybe-install-html-guile
1694 install-html-host: maybe-install-html-tk
1695 install-html-host: maybe-install-html-libtermcap
1696 install-html-host: maybe-install-html-utils
1697 install-html-host: maybe-install-html-gnattools
1698 install-html-host: maybe-install-html-lto-plugin
1700 .PHONY: install-html-target
1702 install-html-target: maybe-install-html-target-libstdc++-v3
1703 install-html-target: maybe-install-html-target-libmudflap
1704 install-html-target: maybe-install-html-target-libssp
1705 install-html-target: maybe-install-html-target-newlib
1706 install-html-target: maybe-install-html-target-libgcc
1707 install-html-target: maybe-install-html-target-libquadmath
1708 install-html-target: maybe-install-html-target-libgfortran
1709 install-html-target: maybe-install-html-target-libobjc
1710 install-html-target: maybe-install-html-target-libgo
1711 install-html-target: maybe-install-html-target-libtermcap
1712 install-html-target: maybe-install-html-target-winsup
1713 install-html-target: maybe-install-html-target-libgloss
1714 install-html-target: maybe-install-html-target-libffi
1715 install-html-target: maybe-install-html-target-libjava
1716 install-html-target: maybe-install-html-target-zlib
1717 install-html-target: maybe-install-html-target-boehm-gc
1718 install-html-target: maybe-install-html-target-rda
1719 install-html-target: maybe-install-html-target-libada
1720 install-html-target: maybe-install-html-target-libgomp
1722 .PHONY: do-installcheck
1723 do-installcheck:
1724 @: $(MAKE); $(unstage)
1725 @r=`${PWD_COMMAND}`; export r; \
1726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1727 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1728 installcheck-target
1731 .PHONY: installcheck-host
1733 installcheck-host: maybe-installcheck-bfd
1734 installcheck-host: maybe-installcheck-opcodes
1735 installcheck-host: maybe-installcheck-binutils
1736 installcheck-host: maybe-installcheck-bison
1737 installcheck-host: maybe-installcheck-cgen
1738 installcheck-host: maybe-installcheck-dejagnu
1739 installcheck-host: maybe-installcheck-etc
1740 installcheck-host: maybe-installcheck-fastjar
1741 installcheck-host: maybe-installcheck-fixincludes
1742 installcheck-host: maybe-installcheck-flex
1743 installcheck-host: maybe-installcheck-gas
1744 installcheck-host: maybe-installcheck-gcc
1745 installcheck-host: maybe-installcheck-gmp
1746 installcheck-host: maybe-installcheck-mpfr
1747 installcheck-host: maybe-installcheck-mpc
1748 installcheck-host: maybe-installcheck-ppl
1749 installcheck-host: maybe-installcheck-cloog
1750 installcheck-host: maybe-installcheck-libelf
1751 installcheck-host: maybe-installcheck-gold
1752 installcheck-host: maybe-installcheck-gprof
1753 installcheck-host: maybe-installcheck-intl
1754 installcheck-host: maybe-installcheck-tcl
1755 installcheck-host: maybe-installcheck-itcl
1756 installcheck-host: maybe-installcheck-ld
1757 installcheck-host: maybe-installcheck-libcpp
1758 installcheck-host: maybe-installcheck-libdecnumber
1759 installcheck-host: maybe-installcheck-libgui
1760 installcheck-host: maybe-installcheck-libiberty
1761 installcheck-host: maybe-installcheck-libiconv
1762 installcheck-host: maybe-installcheck-m4
1763 installcheck-host: maybe-installcheck-readline
1764 installcheck-host: maybe-installcheck-sid
1765 installcheck-host: maybe-installcheck-sim
1766 installcheck-host: maybe-installcheck-texinfo
1767 installcheck-host: maybe-installcheck-zlib
1768 installcheck-host: maybe-installcheck-gdb
1769 installcheck-host: maybe-installcheck-expect
1770 installcheck-host: maybe-installcheck-guile
1771 installcheck-host: maybe-installcheck-tk
1772 installcheck-host: maybe-installcheck-libtermcap
1773 installcheck-host: maybe-installcheck-utils
1774 installcheck-host: maybe-installcheck-gnattools
1775 installcheck-host: maybe-installcheck-lto-plugin
1777 .PHONY: installcheck-target
1779 installcheck-target: maybe-installcheck-target-libstdc++-v3
1780 installcheck-target: maybe-installcheck-target-libmudflap
1781 installcheck-target: maybe-installcheck-target-libssp
1782 installcheck-target: maybe-installcheck-target-newlib
1783 installcheck-target: maybe-installcheck-target-libgcc
1784 installcheck-target: maybe-installcheck-target-libquadmath
1785 installcheck-target: maybe-installcheck-target-libgfortran
1786 installcheck-target: maybe-installcheck-target-libobjc
1787 installcheck-target: maybe-installcheck-target-libgo
1788 installcheck-target: maybe-installcheck-target-libtermcap
1789 installcheck-target: maybe-installcheck-target-winsup
1790 installcheck-target: maybe-installcheck-target-libgloss
1791 installcheck-target: maybe-installcheck-target-libffi
1792 installcheck-target: maybe-installcheck-target-libjava
1793 installcheck-target: maybe-installcheck-target-zlib
1794 installcheck-target: maybe-installcheck-target-boehm-gc
1795 installcheck-target: maybe-installcheck-target-rda
1796 installcheck-target: maybe-installcheck-target-libada
1797 installcheck-target: maybe-installcheck-target-libgomp
1799 .PHONY: do-mostlyclean
1800 do-mostlyclean:
1801 @: $(MAKE); $(unstage)
1802 @r=`${PWD_COMMAND}`; export r; \
1803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1805 mostlyclean-target
1808 .PHONY: mostlyclean-host
1810 mostlyclean-host: maybe-mostlyclean-bfd
1811 mostlyclean-host: maybe-mostlyclean-opcodes
1812 mostlyclean-host: maybe-mostlyclean-binutils
1813 mostlyclean-host: maybe-mostlyclean-bison
1814 mostlyclean-host: maybe-mostlyclean-cgen
1815 mostlyclean-host: maybe-mostlyclean-dejagnu
1816 mostlyclean-host: maybe-mostlyclean-etc
1817 mostlyclean-host: maybe-mostlyclean-fastjar
1818 mostlyclean-host: maybe-mostlyclean-fixincludes
1819 mostlyclean-host: maybe-mostlyclean-flex
1820 mostlyclean-host: maybe-mostlyclean-gas
1821 mostlyclean-host: maybe-mostlyclean-gcc
1822 mostlyclean-host: maybe-mostlyclean-gmp
1823 mostlyclean-host: maybe-mostlyclean-mpfr
1824 mostlyclean-host: maybe-mostlyclean-mpc
1825 mostlyclean-host: maybe-mostlyclean-ppl
1826 mostlyclean-host: maybe-mostlyclean-cloog
1827 mostlyclean-host: maybe-mostlyclean-libelf
1828 mostlyclean-host: maybe-mostlyclean-gold
1829 mostlyclean-host: maybe-mostlyclean-gprof
1830 mostlyclean-host: maybe-mostlyclean-intl
1831 mostlyclean-host: maybe-mostlyclean-tcl
1832 mostlyclean-host: maybe-mostlyclean-itcl
1833 mostlyclean-host: maybe-mostlyclean-ld
1834 mostlyclean-host: maybe-mostlyclean-libcpp
1835 mostlyclean-host: maybe-mostlyclean-libdecnumber
1836 mostlyclean-host: maybe-mostlyclean-libgui
1837 mostlyclean-host: maybe-mostlyclean-libiberty
1838 mostlyclean-host: maybe-mostlyclean-libiconv
1839 mostlyclean-host: maybe-mostlyclean-m4
1840 mostlyclean-host: maybe-mostlyclean-readline
1841 mostlyclean-host: maybe-mostlyclean-sid
1842 mostlyclean-host: maybe-mostlyclean-sim
1843 mostlyclean-host: maybe-mostlyclean-texinfo
1844 mostlyclean-host: maybe-mostlyclean-zlib
1845 mostlyclean-host: maybe-mostlyclean-gdb
1846 mostlyclean-host: maybe-mostlyclean-expect
1847 mostlyclean-host: maybe-mostlyclean-guile
1848 mostlyclean-host: maybe-mostlyclean-tk
1849 mostlyclean-host: maybe-mostlyclean-libtermcap
1850 mostlyclean-host: maybe-mostlyclean-utils
1851 mostlyclean-host: maybe-mostlyclean-gnattools
1852 mostlyclean-host: maybe-mostlyclean-lto-plugin
1854 .PHONY: mostlyclean-target
1856 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1857 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1858 mostlyclean-target: maybe-mostlyclean-target-libssp
1859 mostlyclean-target: maybe-mostlyclean-target-newlib
1860 mostlyclean-target: maybe-mostlyclean-target-libgcc
1861 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1862 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1863 mostlyclean-target: maybe-mostlyclean-target-libobjc
1864 mostlyclean-target: maybe-mostlyclean-target-libgo
1865 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1866 mostlyclean-target: maybe-mostlyclean-target-winsup
1867 mostlyclean-target: maybe-mostlyclean-target-libgloss
1868 mostlyclean-target: maybe-mostlyclean-target-libffi
1869 mostlyclean-target: maybe-mostlyclean-target-libjava
1870 mostlyclean-target: maybe-mostlyclean-target-zlib
1871 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1872 mostlyclean-target: maybe-mostlyclean-target-rda
1873 mostlyclean-target: maybe-mostlyclean-target-libada
1874 mostlyclean-target: maybe-mostlyclean-target-libgomp
1876 .PHONY: do-clean
1877 do-clean:
1878 @: $(MAKE); $(unstage)
1879 @r=`${PWD_COMMAND}`; export r; \
1880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1881 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1882 clean-target
1885 .PHONY: clean-host
1887 clean-host: maybe-clean-bfd
1888 clean-host: maybe-clean-opcodes
1889 clean-host: maybe-clean-binutils
1890 clean-host: maybe-clean-bison
1891 clean-host: maybe-clean-cgen
1892 clean-host: maybe-clean-dejagnu
1893 clean-host: maybe-clean-etc
1894 clean-host: maybe-clean-fastjar
1895 clean-host: maybe-clean-fixincludes
1896 clean-host: maybe-clean-flex
1897 clean-host: maybe-clean-gas
1898 clean-host: maybe-clean-gcc
1899 clean-host: maybe-clean-gmp
1900 clean-host: maybe-clean-mpfr
1901 clean-host: maybe-clean-mpc
1902 clean-host: maybe-clean-ppl
1903 clean-host: maybe-clean-cloog
1904 clean-host: maybe-clean-libelf
1905 clean-host: maybe-clean-gold
1906 clean-host: maybe-clean-gprof
1907 clean-host: maybe-clean-intl
1908 clean-host: maybe-clean-tcl
1909 clean-host: maybe-clean-itcl
1910 clean-host: maybe-clean-ld
1911 clean-host: maybe-clean-libcpp
1912 clean-host: maybe-clean-libdecnumber
1913 clean-host: maybe-clean-libgui
1914 clean-host: maybe-clean-libiberty
1915 clean-host: maybe-clean-libiconv
1916 clean-host: maybe-clean-m4
1917 clean-host: maybe-clean-readline
1918 clean-host: maybe-clean-sid
1919 clean-host: maybe-clean-sim
1920 clean-host: maybe-clean-texinfo
1921 clean-host: maybe-clean-zlib
1922 clean-host: maybe-clean-gdb
1923 clean-host: maybe-clean-expect
1924 clean-host: maybe-clean-guile
1925 clean-host: maybe-clean-tk
1926 clean-host: maybe-clean-libtermcap
1927 clean-host: maybe-clean-utils
1928 clean-host: maybe-clean-gnattools
1929 clean-host: maybe-clean-lto-plugin
1931 .PHONY: clean-target
1933 clean-target: maybe-clean-target-libstdc++-v3
1934 clean-target: maybe-clean-target-libmudflap
1935 clean-target: maybe-clean-target-libssp
1936 clean-target: maybe-clean-target-newlib
1937 clean-target: maybe-clean-target-libgcc
1938 clean-target: maybe-clean-target-libquadmath
1939 clean-target: maybe-clean-target-libgfortran
1940 clean-target: maybe-clean-target-libobjc
1941 clean-target: maybe-clean-target-libgo
1942 clean-target: maybe-clean-target-libtermcap
1943 clean-target: maybe-clean-target-winsup
1944 clean-target: maybe-clean-target-libgloss
1945 clean-target: maybe-clean-target-libffi
1946 clean-target: maybe-clean-target-libjava
1947 clean-target: maybe-clean-target-zlib
1948 clean-target: maybe-clean-target-boehm-gc
1949 clean-target: maybe-clean-target-rda
1950 clean-target: maybe-clean-target-libada
1951 clean-target: maybe-clean-target-libgomp
1953 .PHONY: do-distclean
1954 do-distclean:
1955 @: $(MAKE); $(unstage)
1956 @r=`${PWD_COMMAND}`; export r; \
1957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1959 distclean-target
1962 .PHONY: distclean-host
1964 distclean-host: maybe-distclean-bfd
1965 distclean-host: maybe-distclean-opcodes
1966 distclean-host: maybe-distclean-binutils
1967 distclean-host: maybe-distclean-bison
1968 distclean-host: maybe-distclean-cgen
1969 distclean-host: maybe-distclean-dejagnu
1970 distclean-host: maybe-distclean-etc
1971 distclean-host: maybe-distclean-fastjar
1972 distclean-host: maybe-distclean-fixincludes
1973 distclean-host: maybe-distclean-flex
1974 distclean-host: maybe-distclean-gas
1975 distclean-host: maybe-distclean-gcc
1976 distclean-host: maybe-distclean-gmp
1977 distclean-host: maybe-distclean-mpfr
1978 distclean-host: maybe-distclean-mpc
1979 distclean-host: maybe-distclean-ppl
1980 distclean-host: maybe-distclean-cloog
1981 distclean-host: maybe-distclean-libelf
1982 distclean-host: maybe-distclean-gold
1983 distclean-host: maybe-distclean-gprof
1984 distclean-host: maybe-distclean-intl
1985 distclean-host: maybe-distclean-tcl
1986 distclean-host: maybe-distclean-itcl
1987 distclean-host: maybe-distclean-ld
1988 distclean-host: maybe-distclean-libcpp
1989 distclean-host: maybe-distclean-libdecnumber
1990 distclean-host: maybe-distclean-libgui
1991 distclean-host: maybe-distclean-libiberty
1992 distclean-host: maybe-distclean-libiconv
1993 distclean-host: maybe-distclean-m4
1994 distclean-host: maybe-distclean-readline
1995 distclean-host: maybe-distclean-sid
1996 distclean-host: maybe-distclean-sim
1997 distclean-host: maybe-distclean-texinfo
1998 distclean-host: maybe-distclean-zlib
1999 distclean-host: maybe-distclean-gdb
2000 distclean-host: maybe-distclean-expect
2001 distclean-host: maybe-distclean-guile
2002 distclean-host: maybe-distclean-tk
2003 distclean-host: maybe-distclean-libtermcap
2004 distclean-host: maybe-distclean-utils
2005 distclean-host: maybe-distclean-gnattools
2006 distclean-host: maybe-distclean-lto-plugin
2008 .PHONY: distclean-target
2010 distclean-target: maybe-distclean-target-libstdc++-v3
2011 distclean-target: maybe-distclean-target-libmudflap
2012 distclean-target: maybe-distclean-target-libssp
2013 distclean-target: maybe-distclean-target-newlib
2014 distclean-target: maybe-distclean-target-libgcc
2015 distclean-target: maybe-distclean-target-libquadmath
2016 distclean-target: maybe-distclean-target-libgfortran
2017 distclean-target: maybe-distclean-target-libobjc
2018 distclean-target: maybe-distclean-target-libgo
2019 distclean-target: maybe-distclean-target-libtermcap
2020 distclean-target: maybe-distclean-target-winsup
2021 distclean-target: maybe-distclean-target-libgloss
2022 distclean-target: maybe-distclean-target-libffi
2023 distclean-target: maybe-distclean-target-libjava
2024 distclean-target: maybe-distclean-target-zlib
2025 distclean-target: maybe-distclean-target-boehm-gc
2026 distclean-target: maybe-distclean-target-rda
2027 distclean-target: maybe-distclean-target-libada
2028 distclean-target: maybe-distclean-target-libgomp
2030 .PHONY: do-maintainer-clean
2031 do-maintainer-clean:
2032 @: $(MAKE); $(unstage)
2033 @r=`${PWD_COMMAND}`; export r; \
2034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2036 maintainer-clean-target
2039 .PHONY: maintainer-clean-host
2041 maintainer-clean-host: maybe-maintainer-clean-bfd
2042 maintainer-clean-host: maybe-maintainer-clean-opcodes
2043 maintainer-clean-host: maybe-maintainer-clean-binutils
2044 maintainer-clean-host: maybe-maintainer-clean-bison
2045 maintainer-clean-host: maybe-maintainer-clean-cgen
2046 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2047 maintainer-clean-host: maybe-maintainer-clean-etc
2048 maintainer-clean-host: maybe-maintainer-clean-fastjar
2049 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2050 maintainer-clean-host: maybe-maintainer-clean-flex
2051 maintainer-clean-host: maybe-maintainer-clean-gas
2052 maintainer-clean-host: maybe-maintainer-clean-gcc
2053 maintainer-clean-host: maybe-maintainer-clean-gmp
2054 maintainer-clean-host: maybe-maintainer-clean-mpfr
2055 maintainer-clean-host: maybe-maintainer-clean-mpc
2056 maintainer-clean-host: maybe-maintainer-clean-ppl
2057 maintainer-clean-host: maybe-maintainer-clean-cloog
2058 maintainer-clean-host: maybe-maintainer-clean-libelf
2059 maintainer-clean-host: maybe-maintainer-clean-gold
2060 maintainer-clean-host: maybe-maintainer-clean-gprof
2061 maintainer-clean-host: maybe-maintainer-clean-intl
2062 maintainer-clean-host: maybe-maintainer-clean-tcl
2063 maintainer-clean-host: maybe-maintainer-clean-itcl
2064 maintainer-clean-host: maybe-maintainer-clean-ld
2065 maintainer-clean-host: maybe-maintainer-clean-libcpp
2066 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2067 maintainer-clean-host: maybe-maintainer-clean-libgui
2068 maintainer-clean-host: maybe-maintainer-clean-libiberty
2069 maintainer-clean-host: maybe-maintainer-clean-libiconv
2070 maintainer-clean-host: maybe-maintainer-clean-m4
2071 maintainer-clean-host: maybe-maintainer-clean-readline
2072 maintainer-clean-host: maybe-maintainer-clean-sid
2073 maintainer-clean-host: maybe-maintainer-clean-sim
2074 maintainer-clean-host: maybe-maintainer-clean-texinfo
2075 maintainer-clean-host: maybe-maintainer-clean-zlib
2076 maintainer-clean-host: maybe-maintainer-clean-gdb
2077 maintainer-clean-host: maybe-maintainer-clean-expect
2078 maintainer-clean-host: maybe-maintainer-clean-guile
2079 maintainer-clean-host: maybe-maintainer-clean-tk
2080 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2081 maintainer-clean-host: maybe-maintainer-clean-utils
2082 maintainer-clean-host: maybe-maintainer-clean-gnattools
2083 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2085 .PHONY: maintainer-clean-target
2087 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2088 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2089 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2090 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2091 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2092 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2093 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2094 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2095 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2096 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2097 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2098 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2099 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2100 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2101 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2102 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2103 maintainer-clean-target: maybe-maintainer-clean-target-rda
2104 maintainer-clean-target: maybe-maintainer-clean-target-libada
2105 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2108 # Here are the targets which correspond to the do-X targets.
2110 .PHONY: info installcheck dvi pdf html
2111 .PHONY: install-info install-pdf install-html
2112 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2113 .PHONY: local-clean local-distclean local-maintainer-clean
2114 info: do-info
2115 installcheck: do-installcheck
2116 dvi: do-dvi
2117 pdf: do-pdf
2118 html: do-html
2120 # Make sure makeinfo is built before we do a `make info', if we're
2121 # in fact building texinfo.
2122 do-info: maybe-all-texinfo
2124 install-info: do-install-info dir.info
2125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2126 if [ -f dir.info ] ; then \
2127 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2128 else true ; fi
2130 install-pdf: do-install-pdf
2132 install-html: do-install-html
2134 local-clean:
2135 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2137 local-distclean:
2138 -rm -f Makefile config.status config.cache mh-frag mt-frag
2139 -rm -f maybedep.tmp serdep.tmp
2140 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2141 rm -rf $(TARGET_SUBDIR); \
2142 else true; fi
2143 -rm -rf $(BUILD_SUBDIR)
2144 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2145 rm -rf $(HOST_SUBDIR); \
2146 else true; fi
2147 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2148 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2149 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2150 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2151 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2152 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2154 local-maintainer-clean:
2155 @echo "This command is intended for maintainers to use;"
2156 @echo "it deletes files that may require special tools to rebuild."
2158 clean: do-clean local-clean
2159 mostlyclean: do-mostlyclean local-clean
2160 distclean: do-distclean local-clean local-distclean
2161 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2162 maintainer-clean: local-distclean
2163 realclean: maintainer-clean
2165 # Check target.
2167 .PHONY: check do-check
2168 check: do-check
2170 # Only include modules actually being configured and built.
2171 .PHONY: check-host
2172 check-host: \
2173 maybe-check-bfd \
2174 maybe-check-opcodes \
2175 maybe-check-binutils \
2176 maybe-check-bison \
2177 maybe-check-cgen \
2178 maybe-check-dejagnu \
2179 maybe-check-etc \
2180 maybe-check-fastjar \
2181 maybe-check-fixincludes \
2182 maybe-check-flex \
2183 maybe-check-gas \
2184 maybe-check-gcc \
2185 maybe-check-gmp \
2186 maybe-check-mpfr \
2187 maybe-check-mpc \
2188 maybe-check-ppl \
2189 maybe-check-cloog \
2190 maybe-check-libelf \
2191 maybe-check-gold \
2192 maybe-check-gprof \
2193 maybe-check-intl \
2194 maybe-check-tcl \
2195 maybe-check-itcl \
2196 maybe-check-ld \
2197 maybe-check-libcpp \
2198 maybe-check-libdecnumber \
2199 maybe-check-libgui \
2200 maybe-check-libiberty \
2201 maybe-check-libiconv \
2202 maybe-check-m4 \
2203 maybe-check-readline \
2204 maybe-check-sid \
2205 maybe-check-sim \
2206 maybe-check-texinfo \
2207 maybe-check-zlib \
2208 maybe-check-gdb \
2209 maybe-check-expect \
2210 maybe-check-guile \
2211 maybe-check-tk \
2212 maybe-check-libtermcap \
2213 maybe-check-utils \
2214 maybe-check-gnattools \
2215 maybe-check-lto-plugin
2217 .PHONY: check-target
2218 check-target: \
2219 maybe-check-target-libstdc++-v3 \
2220 maybe-check-target-libmudflap \
2221 maybe-check-target-libssp \
2222 maybe-check-target-newlib \
2223 maybe-check-target-libgcc \
2224 maybe-check-target-libquadmath \
2225 maybe-check-target-libgfortran \
2226 maybe-check-target-libobjc \
2227 maybe-check-target-libgo \
2228 maybe-check-target-libtermcap \
2229 maybe-check-target-winsup \
2230 maybe-check-target-libgloss \
2231 maybe-check-target-libffi \
2232 maybe-check-target-libjava \
2233 maybe-check-target-zlib \
2234 maybe-check-target-boehm-gc \
2235 maybe-check-target-rda \
2236 maybe-check-target-libada \
2237 maybe-check-target-libgomp
2239 do-check:
2240 @: $(MAKE); $(unstage)
2241 @r=`${PWD_COMMAND}`; export r; \
2242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2243 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2245 # Automated reporting of test results.
2247 warning.log: build.log
2248 $(srcdir)/contrib/warn_summary build.log > $@
2250 mail-report.log:
2251 if test x'$(BOOT_CFLAGS)' != x''; then \
2252 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2253 fi; \
2254 $(srcdir)/contrib/test_summary -t >$@
2255 chmod +x $@
2256 echo If you really want to send e-mail, run ./$@ now
2258 mail-report-with-warnings.log: warning.log
2259 if test x'$(BOOT_CFLAGS)' != x''; then \
2260 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2261 fi; \
2262 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2263 chmod +x $@
2264 echo If you really want to send e-mail, run ./$@ now
2266 # Installation targets.
2268 .PHONY: install uninstall
2269 install:
2270 @: $(MAKE); $(unstage)
2271 @r=`${PWD_COMMAND}`; export r; \
2272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2273 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2275 .PHONY: install-host-nogcc
2276 install-host-nogcc: \
2277 maybe-install-bfd \
2278 maybe-install-opcodes \
2279 maybe-install-binutils \
2280 maybe-install-bison \
2281 maybe-install-cgen \
2282 maybe-install-dejagnu \
2283 maybe-install-etc \
2284 maybe-install-fastjar \
2285 maybe-install-fixincludes \
2286 maybe-install-flex \
2287 maybe-install-gas \
2288 maybe-install-gmp \
2289 maybe-install-mpfr \
2290 maybe-install-mpc \
2291 maybe-install-ppl \
2292 maybe-install-cloog \
2293 maybe-install-libelf \
2294 maybe-install-gold \
2295 maybe-install-gprof \
2296 maybe-install-intl \
2297 maybe-install-tcl \
2298 maybe-install-itcl \
2299 maybe-install-ld \
2300 maybe-install-libcpp \
2301 maybe-install-libdecnumber \
2302 maybe-install-libgui \
2303 maybe-install-libiberty \
2304 maybe-install-libiconv \
2305 maybe-install-m4 \
2306 maybe-install-readline \
2307 maybe-install-sid \
2308 maybe-install-sim \
2309 maybe-install-texinfo \
2310 maybe-install-zlib \
2311 maybe-install-gdb \
2312 maybe-install-expect \
2313 maybe-install-guile \
2314 maybe-install-tk \
2315 maybe-install-libtermcap \
2316 maybe-install-utils \
2317 maybe-install-gnattools \
2318 maybe-install-lto-plugin
2320 .PHONY: install-host
2321 install-host: \
2322 maybe-install-bfd \
2323 maybe-install-opcodes \
2324 maybe-install-binutils \
2325 maybe-install-bison \
2326 maybe-install-cgen \
2327 maybe-install-dejagnu \
2328 maybe-install-etc \
2329 maybe-install-fastjar \
2330 maybe-install-fixincludes \
2331 maybe-install-flex \
2332 maybe-install-gas \
2333 maybe-install-gcc \
2334 maybe-install-gmp \
2335 maybe-install-mpfr \
2336 maybe-install-mpc \
2337 maybe-install-ppl \
2338 maybe-install-cloog \
2339 maybe-install-libelf \
2340 maybe-install-gold \
2341 maybe-install-gprof \
2342 maybe-install-intl \
2343 maybe-install-tcl \
2344 maybe-install-itcl \
2345 maybe-install-ld \
2346 maybe-install-libcpp \
2347 maybe-install-libdecnumber \
2348 maybe-install-libgui \
2349 maybe-install-libiberty \
2350 maybe-install-libiconv \
2351 maybe-install-m4 \
2352 maybe-install-readline \
2353 maybe-install-sid \
2354 maybe-install-sim \
2355 maybe-install-texinfo \
2356 maybe-install-zlib \
2357 maybe-install-gdb \
2358 maybe-install-expect \
2359 maybe-install-guile \
2360 maybe-install-tk \
2361 maybe-install-libtermcap \
2362 maybe-install-utils \
2363 maybe-install-gnattools \
2364 maybe-install-lto-plugin
2366 .PHONY: install-target
2367 install-target: \
2368 maybe-install-target-libstdc++-v3 \
2369 maybe-install-target-libmudflap \
2370 maybe-install-target-libssp \
2371 maybe-install-target-newlib \
2372 maybe-install-target-libgcc \
2373 maybe-install-target-libquadmath \
2374 maybe-install-target-libgfortran \
2375 maybe-install-target-libobjc \
2376 maybe-install-target-libgo \
2377 maybe-install-target-libtermcap \
2378 maybe-install-target-winsup \
2379 maybe-install-target-libgloss \
2380 maybe-install-target-libffi \
2381 maybe-install-target-libjava \
2382 maybe-install-target-zlib \
2383 maybe-install-target-boehm-gc \
2384 maybe-install-target-rda \
2385 maybe-install-target-libada \
2386 maybe-install-target-libgomp
2388 uninstall:
2389 @echo "the uninstall target is not supported in this tree"
2391 .PHONY: install.all
2392 install.all: install-no-fixedincludes
2393 @if [ -f ./gcc/Makefile ] ; then \
2394 r=`${PWD_COMMAND}` ; export r ; \
2395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2396 $(HOST_EXPORTS) \
2397 (cd ./gcc && \
2398 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2399 else \
2400 true ; \
2403 # install-no-fixedincludes is used because Cygnus can not distribute
2404 # the fixed header files.
2405 .PHONY: install-no-fixedincludes
2406 install-no-fixedincludes: installdirs install-host-nogcc \
2407 install-target gcc-no-fixedincludes
2409 .PHONY: install-strip
2410 install-strip:
2411 @: $(MAKE); $(unstage)
2412 @r=`${PWD_COMMAND}`; export r; \
2413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2416 .PHONY: install-strip-host
2417 install-strip-host: \
2418 maybe-install-strip-bfd \
2419 maybe-install-strip-opcodes \
2420 maybe-install-strip-binutils \
2421 maybe-install-strip-bison \
2422 maybe-install-strip-cgen \
2423 maybe-install-strip-dejagnu \
2424 maybe-install-strip-etc \
2425 maybe-install-strip-fastjar \
2426 maybe-install-strip-fixincludes \
2427 maybe-install-strip-flex \
2428 maybe-install-strip-gas \
2429 maybe-install-strip-gcc \
2430 maybe-install-strip-gmp \
2431 maybe-install-strip-mpfr \
2432 maybe-install-strip-mpc \
2433 maybe-install-strip-ppl \
2434 maybe-install-strip-cloog \
2435 maybe-install-strip-libelf \
2436 maybe-install-strip-gold \
2437 maybe-install-strip-gprof \
2438 maybe-install-strip-intl \
2439 maybe-install-strip-tcl \
2440 maybe-install-strip-itcl \
2441 maybe-install-strip-ld \
2442 maybe-install-strip-libcpp \
2443 maybe-install-strip-libdecnumber \
2444 maybe-install-strip-libgui \
2445 maybe-install-strip-libiberty \
2446 maybe-install-strip-libiconv \
2447 maybe-install-strip-m4 \
2448 maybe-install-strip-readline \
2449 maybe-install-strip-sid \
2450 maybe-install-strip-sim \
2451 maybe-install-strip-texinfo \
2452 maybe-install-strip-zlib \
2453 maybe-install-strip-gdb \
2454 maybe-install-strip-expect \
2455 maybe-install-strip-guile \
2456 maybe-install-strip-tk \
2457 maybe-install-strip-libtermcap \
2458 maybe-install-strip-utils \
2459 maybe-install-strip-gnattools \
2460 maybe-install-strip-lto-plugin
2462 .PHONY: install-strip-target
2463 install-strip-target: \
2464 maybe-install-strip-target-libstdc++-v3 \
2465 maybe-install-strip-target-libmudflap \
2466 maybe-install-strip-target-libssp \
2467 maybe-install-strip-target-newlib \
2468 maybe-install-strip-target-libgcc \
2469 maybe-install-strip-target-libquadmath \
2470 maybe-install-strip-target-libgfortran \
2471 maybe-install-strip-target-libobjc \
2472 maybe-install-strip-target-libgo \
2473 maybe-install-strip-target-libtermcap \
2474 maybe-install-strip-target-winsup \
2475 maybe-install-strip-target-libgloss \
2476 maybe-install-strip-target-libffi \
2477 maybe-install-strip-target-libjava \
2478 maybe-install-strip-target-zlib \
2479 maybe-install-strip-target-boehm-gc \
2480 maybe-install-strip-target-rda \
2481 maybe-install-strip-target-libada \
2482 maybe-install-strip-target-libgomp
2485 ### other supporting targets
2487 MAKEDIRS= \
2488 $(DESTDIR)$(prefix) \
2489 $(DESTDIR)$(exec_prefix)
2490 .PHONY: installdirs
2491 installdirs: mkinstalldirs
2492 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2494 dir.info: do-install-info
2495 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2496 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2497 mv -f dir.info.new dir.info ; \
2498 else true ; \
2501 dist:
2502 @echo "Building a full distribution of this tree isn't done"
2503 @echo "via 'make dist'. Check out the etc/ subdirectory"
2505 etags tags: TAGS
2507 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2508 # ability to use several tags files at once, so there is probably no need
2509 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2510 # (if we felt like it) have this Makefile write a piece of elisp which
2511 # the user could load to tell emacs19 where all the TAGS files we just
2512 # built are.
2513 TAGS: do-TAGS
2515 # ------------------------------------
2516 # Macros for configure and all targets
2517 # ------------------------------------
2523 # --------------------------------------
2524 # Modules which run on the build machine
2525 # --------------------------------------
2528 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2529 maybe-configure-build-libiberty:
2530 @if gcc-bootstrap
2531 configure-build-libiberty: stage_current
2532 @endif gcc-bootstrap
2533 @if build-libiberty
2534 maybe-configure-build-libiberty: configure-build-libiberty
2535 configure-build-libiberty:
2536 @: $(MAKE); $(unstage)
2537 @r=`${PWD_COMMAND}`; export r; \
2538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2540 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2541 $(BUILD_EXPORTS) \
2542 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2543 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2544 case $(srcdir) in \
2545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2546 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2548 esac; \
2549 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2550 libsrcdir="$$s/libiberty"; \
2551 rm -f no-such-file || : ; \
2552 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2553 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2554 --target=${target_alias} $${srcdiroption} \
2555 || exit 1
2556 @endif build-libiberty
2562 .PHONY: all-build-libiberty maybe-all-build-libiberty
2563 maybe-all-build-libiberty:
2564 @if gcc-bootstrap
2565 all-build-libiberty: stage_current
2566 @endif gcc-bootstrap
2567 @if build-libiberty
2568 TARGET-build-libiberty=all
2569 maybe-all-build-libiberty: all-build-libiberty
2570 all-build-libiberty: configure-build-libiberty
2571 @: $(MAKE); $(unstage)
2572 @r=`${PWD_COMMAND}`; export r; \
2573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 $(BUILD_EXPORTS) \
2575 (cd $(BUILD_SUBDIR)/libiberty && \
2576 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2577 $(TARGET-build-libiberty))
2578 @endif build-libiberty
2584 .PHONY: configure-build-bison maybe-configure-build-bison
2585 maybe-configure-build-bison:
2586 @if gcc-bootstrap
2587 configure-build-bison: stage_current
2588 @endif gcc-bootstrap
2589 @if build-bison
2590 maybe-configure-build-bison: configure-build-bison
2591 configure-build-bison:
2592 @: $(MAKE); $(unstage)
2593 @r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2596 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2597 $(BUILD_EXPORTS) \
2598 echo Configuring in $(BUILD_SUBDIR)/bison; \
2599 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2600 case $(srcdir) in \
2601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2602 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2604 esac; \
2605 srcdiroption="--srcdir=$${topdir}/bison"; \
2606 libsrcdir="$$s/bison"; \
2607 rm -f no-such-file || : ; \
2608 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2609 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2610 --target=${target_alias} $${srcdiroption} \
2611 || exit 1
2612 @endif build-bison
2618 .PHONY: all-build-bison maybe-all-build-bison
2619 maybe-all-build-bison:
2620 @if gcc-bootstrap
2621 all-build-bison: stage_current
2622 @endif gcc-bootstrap
2623 @if build-bison
2624 TARGET-build-bison=all
2625 maybe-all-build-bison: all-build-bison
2626 all-build-bison: configure-build-bison
2627 @: $(MAKE); $(unstage)
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(BUILD_EXPORTS) \
2631 (cd $(BUILD_SUBDIR)/bison && \
2632 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2633 $(TARGET-build-bison))
2634 @endif build-bison
2640 .PHONY: configure-build-flex maybe-configure-build-flex
2641 maybe-configure-build-flex:
2642 @if gcc-bootstrap
2643 configure-build-flex: stage_current
2644 @endif gcc-bootstrap
2645 @if build-flex
2646 maybe-configure-build-flex: configure-build-flex
2647 configure-build-flex:
2648 @: $(MAKE); $(unstage)
2649 @r=`${PWD_COMMAND}`; export r; \
2650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2651 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2652 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2653 $(BUILD_EXPORTS) \
2654 echo Configuring in $(BUILD_SUBDIR)/flex; \
2655 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2656 case $(srcdir) in \
2657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2658 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2660 esac; \
2661 srcdiroption="--srcdir=$${topdir}/flex"; \
2662 libsrcdir="$$s/flex"; \
2663 rm -f no-such-file || : ; \
2664 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2665 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2666 --target=${target_alias} $${srcdiroption} \
2667 || exit 1
2668 @endif build-flex
2674 .PHONY: all-build-flex maybe-all-build-flex
2675 maybe-all-build-flex:
2676 @if gcc-bootstrap
2677 all-build-flex: stage_current
2678 @endif gcc-bootstrap
2679 @if build-flex
2680 TARGET-build-flex=all
2681 maybe-all-build-flex: all-build-flex
2682 all-build-flex: configure-build-flex
2683 @: $(MAKE); $(unstage)
2684 @r=`${PWD_COMMAND}`; export r; \
2685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2686 $(BUILD_EXPORTS) \
2687 (cd $(BUILD_SUBDIR)/flex && \
2688 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2689 $(TARGET-build-flex))
2690 @endif build-flex
2696 .PHONY: configure-build-m4 maybe-configure-build-m4
2697 maybe-configure-build-m4:
2698 @if gcc-bootstrap
2699 configure-build-m4: stage_current
2700 @endif gcc-bootstrap
2701 @if build-m4
2702 maybe-configure-build-m4: configure-build-m4
2703 configure-build-m4:
2704 @: $(MAKE); $(unstage)
2705 @r=`${PWD_COMMAND}`; export r; \
2706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2707 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2708 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2709 $(BUILD_EXPORTS) \
2710 echo Configuring in $(BUILD_SUBDIR)/m4; \
2711 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2712 case $(srcdir) in \
2713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2714 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2716 esac; \
2717 srcdiroption="--srcdir=$${topdir}/m4"; \
2718 libsrcdir="$$s/m4"; \
2719 rm -f no-such-file || : ; \
2720 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2721 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2722 --target=${target_alias} $${srcdiroption} \
2723 || exit 1
2724 @endif build-m4
2730 .PHONY: all-build-m4 maybe-all-build-m4
2731 maybe-all-build-m4:
2732 @if gcc-bootstrap
2733 all-build-m4: stage_current
2734 @endif gcc-bootstrap
2735 @if build-m4
2736 TARGET-build-m4=all
2737 maybe-all-build-m4: all-build-m4
2738 all-build-m4: configure-build-m4
2739 @: $(MAKE); $(unstage)
2740 @r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2742 $(BUILD_EXPORTS) \
2743 (cd $(BUILD_SUBDIR)/m4 && \
2744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2745 $(TARGET-build-m4))
2746 @endif build-m4
2752 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2753 maybe-configure-build-texinfo:
2754 @if gcc-bootstrap
2755 configure-build-texinfo: stage_current
2756 @endif gcc-bootstrap
2757 @if build-texinfo
2758 maybe-configure-build-texinfo: configure-build-texinfo
2759 configure-build-texinfo:
2760 @: $(MAKE); $(unstage)
2761 @r=`${PWD_COMMAND}`; export r; \
2762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2763 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2764 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2765 $(BUILD_EXPORTS) \
2766 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2767 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2768 case $(srcdir) in \
2769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2770 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2772 esac; \
2773 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2774 libsrcdir="$$s/texinfo"; \
2775 rm -f no-such-file || : ; \
2776 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2777 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2778 --target=${target_alias} $${srcdiroption} \
2779 || exit 1
2780 @endif build-texinfo
2786 .PHONY: all-build-texinfo maybe-all-build-texinfo
2787 maybe-all-build-texinfo:
2788 @if gcc-bootstrap
2789 all-build-texinfo: stage_current
2790 @endif gcc-bootstrap
2791 @if build-texinfo
2792 TARGET-build-texinfo=all
2793 maybe-all-build-texinfo: all-build-texinfo
2794 all-build-texinfo: configure-build-texinfo
2795 @: $(MAKE); $(unstage)
2796 @r=`${PWD_COMMAND}`; export r; \
2797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2798 $(BUILD_EXPORTS) \
2799 (cd $(BUILD_SUBDIR)/texinfo && \
2800 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2801 $(TARGET-build-texinfo))
2802 @endif build-texinfo
2808 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2809 maybe-configure-build-fixincludes:
2810 @if gcc-bootstrap
2811 configure-build-fixincludes: stage_current
2812 @endif gcc-bootstrap
2813 @if build-fixincludes
2814 maybe-configure-build-fixincludes: configure-build-fixincludes
2815 configure-build-fixincludes:
2816 @: $(MAKE); $(unstage)
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2819 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2820 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2821 $(BUILD_EXPORTS) \
2822 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2823 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2824 case $(srcdir) in \
2825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2826 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2828 esac; \
2829 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2830 libsrcdir="$$s/fixincludes"; \
2831 rm -f no-such-file || : ; \
2832 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2833 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2834 --target=${target_alias} $${srcdiroption} \
2835 || exit 1
2836 @endif build-fixincludes
2842 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2843 maybe-all-build-fixincludes:
2844 @if gcc-bootstrap
2845 all-build-fixincludes: stage_current
2846 @endif gcc-bootstrap
2847 @if build-fixincludes
2848 TARGET-build-fixincludes=all
2849 maybe-all-build-fixincludes: all-build-fixincludes
2850 all-build-fixincludes: configure-build-fixincludes
2851 @: $(MAKE); $(unstage)
2852 @r=`${PWD_COMMAND}`; export r; \
2853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2854 $(BUILD_EXPORTS) \
2855 (cd $(BUILD_SUBDIR)/fixincludes && \
2856 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2857 $(TARGET-build-fixincludes))
2858 @endif build-fixincludes
2864 # --------------------------------------
2865 # Modules which run on the host machine
2866 # --------------------------------------
2869 .PHONY: configure-bfd maybe-configure-bfd
2870 maybe-configure-bfd:
2871 @if gcc-bootstrap
2872 configure-bfd: stage_current
2873 @endif gcc-bootstrap
2874 @if bfd
2875 maybe-configure-bfd: configure-bfd
2876 configure-bfd:
2877 @r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2881 $(HOST_EXPORTS) \
2882 echo Configuring in $(HOST_SUBDIR)/bfd; \
2883 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2884 case $(srcdir) in \
2885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2886 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2888 esac; \
2889 srcdiroption="--srcdir=$${topdir}/bfd"; \
2890 libsrcdir="$$s/bfd"; \
2891 $(SHELL) $${libsrcdir}/configure \
2892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2893 --target=${target_alias} $${srcdiroption} \
2894 || exit 1
2895 @endif bfd
2899 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2900 maybe-configure-stage1-bfd:
2901 @if bfd-bootstrap
2902 maybe-configure-stage1-bfd: configure-stage1-bfd
2903 configure-stage1-bfd:
2904 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2906 @r=`${PWD_COMMAND}`; export r; \
2907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 TFLAGS="$(STAGE1_TFLAGS)"; \
2909 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2910 $(HOST_EXPORTS) \
2911 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2912 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2913 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2914 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2916 cd $(HOST_SUBDIR)/bfd || exit 1; \
2917 case $(srcdir) in \
2918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2919 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2921 esac; \
2922 srcdiroption="--srcdir=$${topdir}/bfd"; \
2923 libsrcdir="$$s/bfd"; \
2924 $(SHELL) $${libsrcdir}/configure \
2925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2926 --target=${target_alias} $${srcdiroption} \
2927 $(STAGE1_CONFIGURE_FLAGS)
2928 @endif bfd-bootstrap
2930 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2931 maybe-configure-stage2-bfd:
2932 @if bfd-bootstrap
2933 maybe-configure-stage2-bfd: configure-stage2-bfd
2934 configure-stage2-bfd:
2935 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2937 @r=`${PWD_COMMAND}`; export r; \
2938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939 TFLAGS="$(STAGE2_TFLAGS)"; \
2940 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2941 $(HOST_EXPORTS) \
2942 $(POSTSTAGE1_HOST_EXPORTS) \
2943 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2944 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2945 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2946 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2948 cd $(HOST_SUBDIR)/bfd || exit 1; \
2949 case $(srcdir) in \
2950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2951 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2953 esac; \
2954 srcdiroption="--srcdir=$${topdir}/bfd"; \
2955 libsrcdir="$$s/bfd"; \
2956 $(SHELL) $${libsrcdir}/configure \
2957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2958 --target=${target_alias} $${srcdiroption} \
2959 --with-build-libsubdir=$(HOST_SUBDIR) \
2960 $(STAGE2_CONFIGURE_FLAGS)
2961 @endif bfd-bootstrap
2963 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2964 maybe-configure-stage3-bfd:
2965 @if bfd-bootstrap
2966 maybe-configure-stage3-bfd: configure-stage3-bfd
2967 configure-stage3-bfd:
2968 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2970 @r=`${PWD_COMMAND}`; export r; \
2971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2972 TFLAGS="$(STAGE3_TFLAGS)"; \
2973 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2974 $(HOST_EXPORTS) \
2975 $(POSTSTAGE1_HOST_EXPORTS) \
2976 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
2977 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
2978 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
2979 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
2980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2981 cd $(HOST_SUBDIR)/bfd || exit 1; \
2982 case $(srcdir) in \
2983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2984 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2986 esac; \
2987 srcdiroption="--srcdir=$${topdir}/bfd"; \
2988 libsrcdir="$$s/bfd"; \
2989 $(SHELL) $${libsrcdir}/configure \
2990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2991 --target=${target_alias} $${srcdiroption} \
2992 --with-build-libsubdir=$(HOST_SUBDIR) \
2993 $(STAGE3_CONFIGURE_FLAGS)
2994 @endif bfd-bootstrap
2996 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
2997 maybe-configure-stage4-bfd:
2998 @if bfd-bootstrap
2999 maybe-configure-stage4-bfd: configure-stage4-bfd
3000 configure-stage4-bfd:
3001 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3003 @r=`${PWD_COMMAND}`; export r; \
3004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 TFLAGS="$(STAGE4_TFLAGS)"; \
3006 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3007 $(HOST_EXPORTS) \
3008 $(POSTSTAGE1_HOST_EXPORTS) \
3009 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3010 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3011 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3012 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3014 cd $(HOST_SUBDIR)/bfd || exit 1; \
3015 case $(srcdir) in \
3016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3017 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3019 esac; \
3020 srcdiroption="--srcdir=$${topdir}/bfd"; \
3021 libsrcdir="$$s/bfd"; \
3022 $(SHELL) $${libsrcdir}/configure \
3023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3024 --target=${target_alias} $${srcdiroption} \
3025 --with-build-libsubdir=$(HOST_SUBDIR) \
3026 $(STAGE4_CONFIGURE_FLAGS)
3027 @endif bfd-bootstrap
3029 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3030 maybe-configure-stageprofile-bfd:
3031 @if bfd-bootstrap
3032 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3033 configure-stageprofile-bfd:
3034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3036 @r=`${PWD_COMMAND}`; export r; \
3037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3039 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3040 $(HOST_EXPORTS) \
3041 $(POSTSTAGE1_HOST_EXPORTS) \
3042 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3043 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3044 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3045 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3047 cd $(HOST_SUBDIR)/bfd || exit 1; \
3048 case $(srcdir) in \
3049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3050 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3052 esac; \
3053 srcdiroption="--srcdir=$${topdir}/bfd"; \
3054 libsrcdir="$$s/bfd"; \
3055 $(SHELL) $${libsrcdir}/configure \
3056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3057 --target=${target_alias} $${srcdiroption} \
3058 --with-build-libsubdir=$(HOST_SUBDIR) \
3059 $(STAGEprofile_CONFIGURE_FLAGS)
3060 @endif bfd-bootstrap
3062 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3063 maybe-configure-stagefeedback-bfd:
3064 @if bfd-bootstrap
3065 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3066 configure-stagefeedback-bfd:
3067 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3069 @r=`${PWD_COMMAND}`; export r; \
3070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3071 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3072 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3073 $(HOST_EXPORTS) \
3074 $(POSTSTAGE1_HOST_EXPORTS) \
3075 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3076 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3077 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3078 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3080 cd $(HOST_SUBDIR)/bfd || exit 1; \
3081 case $(srcdir) in \
3082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3083 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3085 esac; \
3086 srcdiroption="--srcdir=$${topdir}/bfd"; \
3087 libsrcdir="$$s/bfd"; \
3088 $(SHELL) $${libsrcdir}/configure \
3089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3090 --target=${target_alias} $${srcdiroption} \
3091 --with-build-libsubdir=$(HOST_SUBDIR) \
3092 $(STAGEfeedback_CONFIGURE_FLAGS)
3093 @endif bfd-bootstrap
3099 .PHONY: all-bfd maybe-all-bfd
3100 maybe-all-bfd:
3101 @if gcc-bootstrap
3102 all-bfd: stage_current
3103 @endif gcc-bootstrap
3104 @if bfd
3105 TARGET-bfd=all
3106 maybe-all-bfd: all-bfd
3107 all-bfd: configure-bfd
3108 @r=`${PWD_COMMAND}`; export r; \
3109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3110 $(HOST_EXPORTS) \
3111 (cd $(HOST_SUBDIR)/bfd && \
3112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3113 $(TARGET-bfd))
3114 @endif bfd
3118 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3119 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3120 maybe-all-stage1-bfd:
3121 maybe-clean-stage1-bfd:
3122 @if bfd-bootstrap
3123 maybe-all-stage1-bfd: all-stage1-bfd
3124 all-stage1: all-stage1-bfd
3125 TARGET-stage1-bfd = $(TARGET-bfd)
3126 all-stage1-bfd: configure-stage1-bfd
3127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3128 @r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 TFLAGS="$(STAGE1_TFLAGS)"; \
3131 $(HOST_EXPORTS) \
3132 cd $(HOST_SUBDIR)/bfd && \
3133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3134 CFLAGS="$(STAGE1_CFLAGS)" \
3135 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3136 LIBCFLAGS="$(LIBCFLAGS)" \
3137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3140 $(EXTRA_HOST_FLAGS) \
3141 TFLAGS="$(STAGE1_TFLAGS)" \
3142 $(TARGET-stage1-bfd)
3144 maybe-clean-stage1-bfd: clean-stage1-bfd
3145 clean-stage1: clean-stage1-bfd
3146 clean-stage1-bfd:
3147 @if [ $(current_stage) = stage1 ]; then \
3148 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3149 else \
3150 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3151 $(MAKE) stage1-start; \
3152 fi; \
3153 cd $(HOST_SUBDIR)/bfd && \
3154 $(MAKE) $(EXTRA_HOST_FLAGS) \
3155 clean
3156 @endif bfd-bootstrap
3159 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3160 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3161 maybe-all-stage2-bfd:
3162 maybe-clean-stage2-bfd:
3163 @if bfd-bootstrap
3164 maybe-all-stage2-bfd: all-stage2-bfd
3165 all-stage2: all-stage2-bfd
3166 TARGET-stage2-bfd = $(TARGET-bfd)
3167 all-stage2-bfd: configure-stage2-bfd
3168 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3169 @r=`${PWD_COMMAND}`; export r; \
3170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3171 TFLAGS="$(STAGE2_TFLAGS)"; \
3172 $(HOST_EXPORTS) \
3173 $(POSTSTAGE1_HOST_EXPORTS) \
3174 cd $(HOST_SUBDIR)/bfd && \
3175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3176 CFLAGS="$(STAGE2_CFLAGS)" \
3177 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3178 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3183 TFLAGS="$(STAGE2_TFLAGS)" \
3184 $(TARGET-stage2-bfd)
3186 maybe-clean-stage2-bfd: clean-stage2-bfd
3187 clean-stage2: clean-stage2-bfd
3188 clean-stage2-bfd:
3189 @if [ $(current_stage) = stage2 ]; then \
3190 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3191 else \
3192 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3193 $(MAKE) stage2-start; \
3194 fi; \
3195 cd $(HOST_SUBDIR)/bfd && \
3196 $(MAKE) $(EXTRA_HOST_FLAGS) \
3197 $(POSTSTAGE1_FLAGS_TO_PASS) \
3198 clean
3199 @endif bfd-bootstrap
3202 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3203 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3204 maybe-all-stage3-bfd:
3205 maybe-clean-stage3-bfd:
3206 @if bfd-bootstrap
3207 maybe-all-stage3-bfd: all-stage3-bfd
3208 all-stage3: all-stage3-bfd
3209 TARGET-stage3-bfd = $(TARGET-bfd)
3210 all-stage3-bfd: configure-stage3-bfd
3211 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3212 @r=`${PWD_COMMAND}`; export r; \
3213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3214 TFLAGS="$(STAGE3_TFLAGS)"; \
3215 $(HOST_EXPORTS) \
3216 $(POSTSTAGE1_HOST_EXPORTS) \
3217 cd $(HOST_SUBDIR)/bfd && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3219 CFLAGS="$(STAGE3_CFLAGS)" \
3220 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3221 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3226 TFLAGS="$(STAGE3_TFLAGS)" \
3227 $(TARGET-stage3-bfd)
3229 maybe-clean-stage3-bfd: clean-stage3-bfd
3230 clean-stage3: clean-stage3-bfd
3231 clean-stage3-bfd:
3232 @if [ $(current_stage) = stage3 ]; then \
3233 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3234 else \
3235 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3236 $(MAKE) stage3-start; \
3237 fi; \
3238 cd $(HOST_SUBDIR)/bfd && \
3239 $(MAKE) $(EXTRA_HOST_FLAGS) \
3240 $(POSTSTAGE1_FLAGS_TO_PASS) \
3241 clean
3242 @endif bfd-bootstrap
3245 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3246 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3247 maybe-all-stage4-bfd:
3248 maybe-clean-stage4-bfd:
3249 @if bfd-bootstrap
3250 maybe-all-stage4-bfd: all-stage4-bfd
3251 all-stage4: all-stage4-bfd
3252 TARGET-stage4-bfd = $(TARGET-bfd)
3253 all-stage4-bfd: configure-stage4-bfd
3254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 TFLAGS="$(STAGE4_TFLAGS)"; \
3258 $(HOST_EXPORTS) \
3259 $(POSTSTAGE1_HOST_EXPORTS) \
3260 cd $(HOST_SUBDIR)/bfd && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3262 CFLAGS="$(STAGE4_CFLAGS)" \
3263 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3264 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3269 TFLAGS="$(STAGE4_TFLAGS)" \
3270 $(TARGET-stage4-bfd)
3272 maybe-clean-stage4-bfd: clean-stage4-bfd
3273 clean-stage4: clean-stage4-bfd
3274 clean-stage4-bfd:
3275 @if [ $(current_stage) = stage4 ]; then \
3276 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3277 else \
3278 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3279 $(MAKE) stage4-start; \
3280 fi; \
3281 cd $(HOST_SUBDIR)/bfd && \
3282 $(MAKE) $(EXTRA_HOST_FLAGS) \
3283 $(POSTSTAGE1_FLAGS_TO_PASS) \
3284 clean
3285 @endif bfd-bootstrap
3288 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3289 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3290 maybe-all-stageprofile-bfd:
3291 maybe-clean-stageprofile-bfd:
3292 @if bfd-bootstrap
3293 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3294 all-stageprofile: all-stageprofile-bfd
3295 TARGET-stageprofile-bfd = $(TARGET-bfd)
3296 all-stageprofile-bfd: configure-stageprofile-bfd
3297 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3301 $(HOST_EXPORTS) \
3302 $(POSTSTAGE1_HOST_EXPORTS) \
3303 cd $(HOST_SUBDIR)/bfd && \
3304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3305 CFLAGS="$(STAGEprofile_CFLAGS)" \
3306 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3307 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3312 TFLAGS="$(STAGEprofile_TFLAGS)" \
3313 $(TARGET-stageprofile-bfd)
3315 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3316 clean-stageprofile: clean-stageprofile-bfd
3317 clean-stageprofile-bfd:
3318 @if [ $(current_stage) = stageprofile ]; then \
3319 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3320 else \
3321 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3322 $(MAKE) stageprofile-start; \
3323 fi; \
3324 cd $(HOST_SUBDIR)/bfd && \
3325 $(MAKE) $(EXTRA_HOST_FLAGS) \
3326 $(POSTSTAGE1_FLAGS_TO_PASS) \
3327 clean
3328 @endif bfd-bootstrap
3331 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3332 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3333 maybe-all-stagefeedback-bfd:
3334 maybe-clean-stagefeedback-bfd:
3335 @if bfd-bootstrap
3336 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3337 all-stagefeedback: all-stagefeedback-bfd
3338 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3339 all-stagefeedback-bfd: configure-stagefeedback-bfd
3340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3341 @r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3344 $(HOST_EXPORTS) \
3345 $(POSTSTAGE1_HOST_EXPORTS) \
3346 cd $(HOST_SUBDIR)/bfd && \
3347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3348 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3349 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3350 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3355 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3356 $(TARGET-stagefeedback-bfd)
3358 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3359 clean-stagefeedback: clean-stagefeedback-bfd
3360 clean-stagefeedback-bfd:
3361 @if [ $(current_stage) = stagefeedback ]; then \
3362 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3363 else \
3364 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3365 $(MAKE) stagefeedback-start; \
3366 fi; \
3367 cd $(HOST_SUBDIR)/bfd && \
3368 $(MAKE) $(EXTRA_HOST_FLAGS) \
3369 $(POSTSTAGE1_FLAGS_TO_PASS) \
3370 clean
3371 @endif bfd-bootstrap
3377 .PHONY: check-bfd maybe-check-bfd
3378 maybe-check-bfd:
3379 @if bfd
3380 maybe-check-bfd: check-bfd
3382 check-bfd:
3383 @: $(MAKE); $(unstage)
3384 @r=`${PWD_COMMAND}`; export r; \
3385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3386 $(HOST_EXPORTS) \
3387 (cd $(HOST_SUBDIR)/bfd && \
3388 $(MAKE) $(FLAGS_TO_PASS) check)
3390 @endif bfd
3392 .PHONY: install-bfd maybe-install-bfd
3393 maybe-install-bfd:
3394 @if bfd
3395 maybe-install-bfd: install-bfd
3397 install-bfd: installdirs
3398 @: $(MAKE); $(unstage)
3399 @r=`${PWD_COMMAND}`; export r; \
3400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 $(HOST_EXPORTS) \
3402 (cd $(HOST_SUBDIR)/bfd && \
3403 $(MAKE) $(FLAGS_TO_PASS) install)
3405 @endif bfd
3407 .PHONY: install-strip-bfd maybe-install-strip-bfd
3408 maybe-install-strip-bfd:
3409 @if bfd
3410 maybe-install-strip-bfd: install-strip-bfd
3412 install-strip-bfd: installdirs
3413 @: $(MAKE); $(unstage)
3414 @r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(HOST_EXPORTS) \
3417 (cd $(HOST_SUBDIR)/bfd && \
3418 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3420 @endif bfd
3422 # Other targets (info, dvi, pdf, etc.)
3424 .PHONY: maybe-info-bfd info-bfd
3425 maybe-info-bfd:
3426 @if bfd
3427 maybe-info-bfd: info-bfd
3429 info-bfd: \
3430 configure-bfd
3431 @[ -f ./bfd/Makefile ] || exit 0; \
3432 r=`${PWD_COMMAND}`; export r; \
3433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 $(HOST_EXPORTS) \
3435 for flag in $(EXTRA_HOST_FLAGS) ; do \
3436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3437 done; \
3438 echo "Doing info in bfd" ; \
3439 (cd $(HOST_SUBDIR)/bfd && \
3440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3442 "RANLIB=$${RANLIB}" \
3443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3444 info) \
3445 || exit 1
3447 @endif bfd
3449 .PHONY: maybe-dvi-bfd dvi-bfd
3450 maybe-dvi-bfd:
3451 @if bfd
3452 maybe-dvi-bfd: dvi-bfd
3454 dvi-bfd: \
3455 configure-bfd
3456 @[ -f ./bfd/Makefile ] || exit 0; \
3457 r=`${PWD_COMMAND}`; export r; \
3458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459 $(HOST_EXPORTS) \
3460 for flag in $(EXTRA_HOST_FLAGS) ; do \
3461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3462 done; \
3463 echo "Doing dvi in bfd" ; \
3464 (cd $(HOST_SUBDIR)/bfd && \
3465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3467 "RANLIB=$${RANLIB}" \
3468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3469 dvi) \
3470 || exit 1
3472 @endif bfd
3474 .PHONY: maybe-pdf-bfd pdf-bfd
3475 maybe-pdf-bfd:
3476 @if bfd
3477 maybe-pdf-bfd: pdf-bfd
3479 pdf-bfd: \
3480 configure-bfd
3481 @[ -f ./bfd/Makefile ] || exit 0; \
3482 r=`${PWD_COMMAND}`; export r; \
3483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3484 $(HOST_EXPORTS) \
3485 for flag in $(EXTRA_HOST_FLAGS) ; do \
3486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3487 done; \
3488 echo "Doing pdf in bfd" ; \
3489 (cd $(HOST_SUBDIR)/bfd && \
3490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3492 "RANLIB=$${RANLIB}" \
3493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3494 pdf) \
3495 || exit 1
3497 @endif bfd
3499 .PHONY: maybe-html-bfd html-bfd
3500 maybe-html-bfd:
3501 @if bfd
3502 maybe-html-bfd: html-bfd
3504 html-bfd: \
3505 configure-bfd
3506 @[ -f ./bfd/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509 $(HOST_EXPORTS) \
3510 for flag in $(EXTRA_HOST_FLAGS) ; do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512 done; \
3513 echo "Doing html in bfd" ; \
3514 (cd $(HOST_SUBDIR)/bfd && \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3519 html) \
3520 || exit 1
3522 @endif bfd
3524 .PHONY: maybe-TAGS-bfd TAGS-bfd
3525 maybe-TAGS-bfd:
3526 @if bfd
3527 maybe-TAGS-bfd: TAGS-bfd
3529 TAGS-bfd: \
3530 configure-bfd
3531 @[ -f ./bfd/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(HOST_EXPORTS) \
3535 for flag in $(EXTRA_HOST_FLAGS) ; do \
3536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3537 done; \
3538 echo "Doing TAGS in bfd" ; \
3539 (cd $(HOST_SUBDIR)/bfd && \
3540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3542 "RANLIB=$${RANLIB}" \
3543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3544 TAGS) \
3545 || exit 1
3547 @endif bfd
3549 .PHONY: maybe-install-info-bfd install-info-bfd
3550 maybe-install-info-bfd:
3551 @if bfd
3552 maybe-install-info-bfd: install-info-bfd
3554 install-info-bfd: \
3555 configure-bfd \
3556 info-bfd
3557 @[ -f ./bfd/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(HOST_EXPORTS) \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 done; \
3564 echo "Doing install-info in bfd" ; \
3565 (cd $(HOST_SUBDIR)/bfd && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3570 install-info) \
3571 || exit 1
3573 @endif bfd
3575 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3576 maybe-install-pdf-bfd:
3577 @if bfd
3578 maybe-install-pdf-bfd: install-pdf-bfd
3580 install-pdf-bfd: \
3581 configure-bfd \
3582 pdf-bfd
3583 @[ -f ./bfd/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing install-pdf in bfd" ; \
3591 (cd $(HOST_SUBDIR)/bfd && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3596 install-pdf) \
3597 || exit 1
3599 @endif bfd
3601 .PHONY: maybe-install-html-bfd install-html-bfd
3602 maybe-install-html-bfd:
3603 @if bfd
3604 maybe-install-html-bfd: install-html-bfd
3606 install-html-bfd: \
3607 configure-bfd \
3608 html-bfd
3609 @[ -f ./bfd/Makefile ] || exit 0; \
3610 r=`${PWD_COMMAND}`; export r; \
3611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3612 $(HOST_EXPORTS) \
3613 for flag in $(EXTRA_HOST_FLAGS) ; do \
3614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3615 done; \
3616 echo "Doing install-html in bfd" ; \
3617 (cd $(HOST_SUBDIR)/bfd && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3620 "RANLIB=$${RANLIB}" \
3621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3622 install-html) \
3623 || exit 1
3625 @endif bfd
3627 .PHONY: maybe-installcheck-bfd installcheck-bfd
3628 maybe-installcheck-bfd:
3629 @if bfd
3630 maybe-installcheck-bfd: installcheck-bfd
3632 installcheck-bfd: \
3633 configure-bfd
3634 @[ -f ./bfd/Makefile ] || exit 0; \
3635 r=`${PWD_COMMAND}`; export r; \
3636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637 $(HOST_EXPORTS) \
3638 for flag in $(EXTRA_HOST_FLAGS) ; do \
3639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640 done; \
3641 echo "Doing installcheck in bfd" ; \
3642 (cd $(HOST_SUBDIR)/bfd && \
3643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3645 "RANLIB=$${RANLIB}" \
3646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3647 installcheck) \
3648 || exit 1
3650 @endif bfd
3652 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3653 maybe-mostlyclean-bfd:
3654 @if bfd
3655 maybe-mostlyclean-bfd: mostlyclean-bfd
3657 mostlyclean-bfd:
3658 @[ -f ./bfd/Makefile ] || exit 0; \
3659 r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 $(HOST_EXPORTS) \
3662 for flag in $(EXTRA_HOST_FLAGS) ; do \
3663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3664 done; \
3665 echo "Doing mostlyclean in bfd" ; \
3666 (cd $(HOST_SUBDIR)/bfd && \
3667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3669 "RANLIB=$${RANLIB}" \
3670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3671 mostlyclean) \
3672 || exit 1
3674 @endif bfd
3676 .PHONY: maybe-clean-bfd clean-bfd
3677 maybe-clean-bfd:
3678 @if bfd
3679 maybe-clean-bfd: clean-bfd
3681 clean-bfd:
3682 @[ -f ./bfd/Makefile ] || exit 0; \
3683 r=`${PWD_COMMAND}`; export r; \
3684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3685 $(HOST_EXPORTS) \
3686 for flag in $(EXTRA_HOST_FLAGS) ; do \
3687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3688 done; \
3689 echo "Doing clean in bfd" ; \
3690 (cd $(HOST_SUBDIR)/bfd && \
3691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3693 "RANLIB=$${RANLIB}" \
3694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3695 clean) \
3696 || exit 1
3698 @endif bfd
3700 .PHONY: maybe-distclean-bfd distclean-bfd
3701 maybe-distclean-bfd:
3702 @if bfd
3703 maybe-distclean-bfd: distclean-bfd
3705 distclean-bfd:
3706 @[ -f ./bfd/Makefile ] || exit 0; \
3707 r=`${PWD_COMMAND}`; export r; \
3708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3709 $(HOST_EXPORTS) \
3710 for flag in $(EXTRA_HOST_FLAGS) ; do \
3711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3712 done; \
3713 echo "Doing distclean in bfd" ; \
3714 (cd $(HOST_SUBDIR)/bfd && \
3715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3717 "RANLIB=$${RANLIB}" \
3718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3719 distclean) \
3720 || exit 1
3722 @endif bfd
3724 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3725 maybe-maintainer-clean-bfd:
3726 @if bfd
3727 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3729 maintainer-clean-bfd:
3730 @[ -f ./bfd/Makefile ] || exit 0; \
3731 r=`${PWD_COMMAND}`; export r; \
3732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3733 $(HOST_EXPORTS) \
3734 for flag in $(EXTRA_HOST_FLAGS) ; do \
3735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3736 done; \
3737 echo "Doing maintainer-clean in bfd" ; \
3738 (cd $(HOST_SUBDIR)/bfd && \
3739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3741 "RANLIB=$${RANLIB}" \
3742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3743 maintainer-clean) \
3744 || exit 1
3746 @endif bfd
3750 .PHONY: configure-opcodes maybe-configure-opcodes
3751 maybe-configure-opcodes:
3752 @if gcc-bootstrap
3753 configure-opcodes: stage_current
3754 @endif gcc-bootstrap
3755 @if opcodes
3756 maybe-configure-opcodes: configure-opcodes
3757 configure-opcodes:
3758 @r=`${PWD_COMMAND}`; export r; \
3759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3760 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3762 $(HOST_EXPORTS) \
3763 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3764 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3765 case $(srcdir) in \
3766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3767 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3769 esac; \
3770 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3771 libsrcdir="$$s/opcodes"; \
3772 $(SHELL) $${libsrcdir}/configure \
3773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3774 --target=${target_alias} $${srcdiroption} \
3775 || exit 1
3776 @endif opcodes
3780 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3781 maybe-configure-stage1-opcodes:
3782 @if opcodes-bootstrap
3783 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3784 configure-stage1-opcodes:
3785 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3787 @r=`${PWD_COMMAND}`; export r; \
3788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3789 TFLAGS="$(STAGE1_TFLAGS)"; \
3790 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3791 $(HOST_EXPORTS) \
3792 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3793 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3794 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3795 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3797 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3798 case $(srcdir) in \
3799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3800 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3802 esac; \
3803 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3804 libsrcdir="$$s/opcodes"; \
3805 $(SHELL) $${libsrcdir}/configure \
3806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3807 --target=${target_alias} $${srcdiroption} \
3808 $(STAGE1_CONFIGURE_FLAGS)
3809 @endif opcodes-bootstrap
3811 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3812 maybe-configure-stage2-opcodes:
3813 @if opcodes-bootstrap
3814 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3815 configure-stage2-opcodes:
3816 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3818 @r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3820 TFLAGS="$(STAGE2_TFLAGS)"; \
3821 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3822 $(HOST_EXPORTS) \
3823 $(POSTSTAGE1_HOST_EXPORTS) \
3824 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3825 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3826 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3827 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3829 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3830 case $(srcdir) in \
3831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3832 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3834 esac; \
3835 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3836 libsrcdir="$$s/opcodes"; \
3837 $(SHELL) $${libsrcdir}/configure \
3838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3839 --target=${target_alias} $${srcdiroption} \
3840 --with-build-libsubdir=$(HOST_SUBDIR) \
3841 $(STAGE2_CONFIGURE_FLAGS)
3842 @endif opcodes-bootstrap
3844 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3845 maybe-configure-stage3-opcodes:
3846 @if opcodes-bootstrap
3847 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3848 configure-stage3-opcodes:
3849 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3851 @r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 TFLAGS="$(STAGE3_TFLAGS)"; \
3854 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3855 $(HOST_EXPORTS) \
3856 $(POSTSTAGE1_HOST_EXPORTS) \
3857 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3858 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3859 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3860 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3862 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3863 case $(srcdir) in \
3864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3865 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3867 esac; \
3868 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3869 libsrcdir="$$s/opcodes"; \
3870 $(SHELL) $${libsrcdir}/configure \
3871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3872 --target=${target_alias} $${srcdiroption} \
3873 --with-build-libsubdir=$(HOST_SUBDIR) \
3874 $(STAGE3_CONFIGURE_FLAGS)
3875 @endif opcodes-bootstrap
3877 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3878 maybe-configure-stage4-opcodes:
3879 @if opcodes-bootstrap
3880 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3881 configure-stage4-opcodes:
3882 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3884 @r=`${PWD_COMMAND}`; export r; \
3885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886 TFLAGS="$(STAGE4_TFLAGS)"; \
3887 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3888 $(HOST_EXPORTS) \
3889 $(POSTSTAGE1_HOST_EXPORTS) \
3890 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3891 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3892 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3893 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3895 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3896 case $(srcdir) in \
3897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3898 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3900 esac; \
3901 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3902 libsrcdir="$$s/opcodes"; \
3903 $(SHELL) $${libsrcdir}/configure \
3904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3905 --target=${target_alias} $${srcdiroption} \
3906 --with-build-libsubdir=$(HOST_SUBDIR) \
3907 $(STAGE4_CONFIGURE_FLAGS)
3908 @endif opcodes-bootstrap
3910 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3911 maybe-configure-stageprofile-opcodes:
3912 @if opcodes-bootstrap
3913 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3914 configure-stageprofile-opcodes:
3915 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3917 @r=`${PWD_COMMAND}`; export r; \
3918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3919 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3920 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3921 $(HOST_EXPORTS) \
3922 $(POSTSTAGE1_HOST_EXPORTS) \
3923 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3924 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3925 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3926 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3928 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3929 case $(srcdir) in \
3930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3931 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3933 esac; \
3934 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3935 libsrcdir="$$s/opcodes"; \
3936 $(SHELL) $${libsrcdir}/configure \
3937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3938 --target=${target_alias} $${srcdiroption} \
3939 --with-build-libsubdir=$(HOST_SUBDIR) \
3940 $(STAGEprofile_CONFIGURE_FLAGS)
3941 @endif opcodes-bootstrap
3943 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3944 maybe-configure-stagefeedback-opcodes:
3945 @if opcodes-bootstrap
3946 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3947 configure-stagefeedback-opcodes:
3948 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3950 @r=`${PWD_COMMAND}`; export r; \
3951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3952 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3953 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3954 $(HOST_EXPORTS) \
3955 $(POSTSTAGE1_HOST_EXPORTS) \
3956 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3957 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3958 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3959 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3961 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3962 case $(srcdir) in \
3963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3964 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3966 esac; \
3967 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3968 libsrcdir="$$s/opcodes"; \
3969 $(SHELL) $${libsrcdir}/configure \
3970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3971 --target=${target_alias} $${srcdiroption} \
3972 --with-build-libsubdir=$(HOST_SUBDIR) \
3973 $(STAGEfeedback_CONFIGURE_FLAGS)
3974 @endif opcodes-bootstrap
3980 .PHONY: all-opcodes maybe-all-opcodes
3981 maybe-all-opcodes:
3982 @if gcc-bootstrap
3983 all-opcodes: stage_current
3984 @endif gcc-bootstrap
3985 @if opcodes
3986 TARGET-opcodes=all
3987 maybe-all-opcodes: all-opcodes
3988 all-opcodes: configure-opcodes
3989 @r=`${PWD_COMMAND}`; export r; \
3990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3991 $(HOST_EXPORTS) \
3992 (cd $(HOST_SUBDIR)/opcodes && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3994 $(TARGET-opcodes))
3995 @endif opcodes
3999 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4000 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4001 maybe-all-stage1-opcodes:
4002 maybe-clean-stage1-opcodes:
4003 @if opcodes-bootstrap
4004 maybe-all-stage1-opcodes: all-stage1-opcodes
4005 all-stage1: all-stage1-opcodes
4006 TARGET-stage1-opcodes = $(TARGET-opcodes)
4007 all-stage1-opcodes: configure-stage1-opcodes
4008 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4009 @r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 TFLAGS="$(STAGE1_TFLAGS)"; \
4012 $(HOST_EXPORTS) \
4013 cd $(HOST_SUBDIR)/opcodes && \
4014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4015 CFLAGS="$(STAGE1_CFLAGS)" \
4016 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4017 LIBCFLAGS="$(LIBCFLAGS)" \
4018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4021 $(EXTRA_HOST_FLAGS) \
4022 TFLAGS="$(STAGE1_TFLAGS)" \
4023 $(TARGET-stage1-opcodes)
4025 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4026 clean-stage1: clean-stage1-opcodes
4027 clean-stage1-opcodes:
4028 @if [ $(current_stage) = stage1 ]; then \
4029 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4030 else \
4031 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4032 $(MAKE) stage1-start; \
4033 fi; \
4034 cd $(HOST_SUBDIR)/opcodes && \
4035 $(MAKE) $(EXTRA_HOST_FLAGS) \
4036 clean
4037 @endif opcodes-bootstrap
4040 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4041 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4042 maybe-all-stage2-opcodes:
4043 maybe-clean-stage2-opcodes:
4044 @if opcodes-bootstrap
4045 maybe-all-stage2-opcodes: all-stage2-opcodes
4046 all-stage2: all-stage2-opcodes
4047 TARGET-stage2-opcodes = $(TARGET-opcodes)
4048 all-stage2-opcodes: configure-stage2-opcodes
4049 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4050 @r=`${PWD_COMMAND}`; export r; \
4051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4052 TFLAGS="$(STAGE2_TFLAGS)"; \
4053 $(HOST_EXPORTS) \
4054 $(POSTSTAGE1_HOST_EXPORTS) \
4055 cd $(HOST_SUBDIR)/opcodes && \
4056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4057 CFLAGS="$(STAGE2_CFLAGS)" \
4058 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4059 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4064 TFLAGS="$(STAGE2_TFLAGS)" \
4065 $(TARGET-stage2-opcodes)
4067 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4068 clean-stage2: clean-stage2-opcodes
4069 clean-stage2-opcodes:
4070 @if [ $(current_stage) = stage2 ]; then \
4071 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4072 else \
4073 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4074 $(MAKE) stage2-start; \
4075 fi; \
4076 cd $(HOST_SUBDIR)/opcodes && \
4077 $(MAKE) $(EXTRA_HOST_FLAGS) \
4078 $(POSTSTAGE1_FLAGS_TO_PASS) \
4079 clean
4080 @endif opcodes-bootstrap
4083 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4084 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4085 maybe-all-stage3-opcodes:
4086 maybe-clean-stage3-opcodes:
4087 @if opcodes-bootstrap
4088 maybe-all-stage3-opcodes: all-stage3-opcodes
4089 all-stage3: all-stage3-opcodes
4090 TARGET-stage3-opcodes = $(TARGET-opcodes)
4091 all-stage3-opcodes: configure-stage3-opcodes
4092 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4093 @r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 TFLAGS="$(STAGE3_TFLAGS)"; \
4096 $(HOST_EXPORTS) \
4097 $(POSTSTAGE1_HOST_EXPORTS) \
4098 cd $(HOST_SUBDIR)/opcodes && \
4099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4100 CFLAGS="$(STAGE3_CFLAGS)" \
4101 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4102 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4107 TFLAGS="$(STAGE3_TFLAGS)" \
4108 $(TARGET-stage3-opcodes)
4110 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4111 clean-stage3: clean-stage3-opcodes
4112 clean-stage3-opcodes:
4113 @if [ $(current_stage) = stage3 ]; then \
4114 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4115 else \
4116 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4117 $(MAKE) stage3-start; \
4118 fi; \
4119 cd $(HOST_SUBDIR)/opcodes && \
4120 $(MAKE) $(EXTRA_HOST_FLAGS) \
4121 $(POSTSTAGE1_FLAGS_TO_PASS) \
4122 clean
4123 @endif opcodes-bootstrap
4126 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4127 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4128 maybe-all-stage4-opcodes:
4129 maybe-clean-stage4-opcodes:
4130 @if opcodes-bootstrap
4131 maybe-all-stage4-opcodes: all-stage4-opcodes
4132 all-stage4: all-stage4-opcodes
4133 TARGET-stage4-opcodes = $(TARGET-opcodes)
4134 all-stage4-opcodes: configure-stage4-opcodes
4135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4136 @r=`${PWD_COMMAND}`; export r; \
4137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4138 TFLAGS="$(STAGE4_TFLAGS)"; \
4139 $(HOST_EXPORTS) \
4140 $(POSTSTAGE1_HOST_EXPORTS) \
4141 cd $(HOST_SUBDIR)/opcodes && \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4143 CFLAGS="$(STAGE4_CFLAGS)" \
4144 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4145 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4150 TFLAGS="$(STAGE4_TFLAGS)" \
4151 $(TARGET-stage4-opcodes)
4153 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4154 clean-stage4: clean-stage4-opcodes
4155 clean-stage4-opcodes:
4156 @if [ $(current_stage) = stage4 ]; then \
4157 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4158 else \
4159 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4160 $(MAKE) stage4-start; \
4161 fi; \
4162 cd $(HOST_SUBDIR)/opcodes && \
4163 $(MAKE) $(EXTRA_HOST_FLAGS) \
4164 $(POSTSTAGE1_FLAGS_TO_PASS) \
4165 clean
4166 @endif opcodes-bootstrap
4169 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4170 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4171 maybe-all-stageprofile-opcodes:
4172 maybe-clean-stageprofile-opcodes:
4173 @if opcodes-bootstrap
4174 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4175 all-stageprofile: all-stageprofile-opcodes
4176 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4177 all-stageprofile-opcodes: configure-stageprofile-opcodes
4178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4179 @r=`${PWD_COMMAND}`; export r; \
4180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4181 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4182 $(HOST_EXPORTS) \
4183 $(POSTSTAGE1_HOST_EXPORTS) \
4184 cd $(HOST_SUBDIR)/opcodes && \
4185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4186 CFLAGS="$(STAGEprofile_CFLAGS)" \
4187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4188 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4193 TFLAGS="$(STAGEprofile_TFLAGS)" \
4194 $(TARGET-stageprofile-opcodes)
4196 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4197 clean-stageprofile: clean-stageprofile-opcodes
4198 clean-stageprofile-opcodes:
4199 @if [ $(current_stage) = stageprofile ]; then \
4200 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4201 else \
4202 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4203 $(MAKE) stageprofile-start; \
4204 fi; \
4205 cd $(HOST_SUBDIR)/opcodes && \
4206 $(MAKE) $(EXTRA_HOST_FLAGS) \
4207 $(POSTSTAGE1_FLAGS_TO_PASS) \
4208 clean
4209 @endif opcodes-bootstrap
4212 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4213 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4214 maybe-all-stagefeedback-opcodes:
4215 maybe-clean-stagefeedback-opcodes:
4216 @if opcodes-bootstrap
4217 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4218 all-stagefeedback: all-stagefeedback-opcodes
4219 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4220 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4222 @r=`${PWD_COMMAND}`; export r; \
4223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4224 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4225 $(HOST_EXPORTS) \
4226 $(POSTSTAGE1_HOST_EXPORTS) \
4227 cd $(HOST_SUBDIR)/opcodes && \
4228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4229 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4230 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4231 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4236 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4237 $(TARGET-stagefeedback-opcodes)
4239 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4240 clean-stagefeedback: clean-stagefeedback-opcodes
4241 clean-stagefeedback-opcodes:
4242 @if [ $(current_stage) = stagefeedback ]; then \
4243 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4244 else \
4245 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4246 $(MAKE) stagefeedback-start; \
4247 fi; \
4248 cd $(HOST_SUBDIR)/opcodes && \
4249 $(MAKE) $(EXTRA_HOST_FLAGS) \
4250 $(POSTSTAGE1_FLAGS_TO_PASS) \
4251 clean
4252 @endif opcodes-bootstrap
4258 .PHONY: check-opcodes maybe-check-opcodes
4259 maybe-check-opcodes:
4260 @if opcodes
4261 maybe-check-opcodes: check-opcodes
4263 check-opcodes:
4264 @: $(MAKE); $(unstage)
4265 @r=`${PWD_COMMAND}`; export r; \
4266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 $(HOST_EXPORTS) \
4268 (cd $(HOST_SUBDIR)/opcodes && \
4269 $(MAKE) $(FLAGS_TO_PASS) check)
4271 @endif opcodes
4273 .PHONY: install-opcodes maybe-install-opcodes
4274 maybe-install-opcodes:
4275 @if opcodes
4276 maybe-install-opcodes: install-opcodes
4278 install-opcodes: installdirs
4279 @: $(MAKE); $(unstage)
4280 @r=`${PWD_COMMAND}`; export r; \
4281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 $(HOST_EXPORTS) \
4283 (cd $(HOST_SUBDIR)/opcodes && \
4284 $(MAKE) $(FLAGS_TO_PASS) install)
4286 @endif opcodes
4288 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4289 maybe-install-strip-opcodes:
4290 @if opcodes
4291 maybe-install-strip-opcodes: install-strip-opcodes
4293 install-strip-opcodes: installdirs
4294 @: $(MAKE); $(unstage)
4295 @r=`${PWD_COMMAND}`; export r; \
4296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4297 $(HOST_EXPORTS) \
4298 (cd $(HOST_SUBDIR)/opcodes && \
4299 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4301 @endif opcodes
4303 # Other targets (info, dvi, pdf, etc.)
4305 .PHONY: maybe-info-opcodes info-opcodes
4306 maybe-info-opcodes:
4307 @if opcodes
4308 maybe-info-opcodes: info-opcodes
4310 info-opcodes: \
4311 configure-opcodes
4312 @[ -f ./opcodes/Makefile ] || exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 $(HOST_EXPORTS) \
4316 for flag in $(EXTRA_HOST_FLAGS) ; do \
4317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4318 done; \
4319 echo "Doing info in opcodes" ; \
4320 (cd $(HOST_SUBDIR)/opcodes && \
4321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4323 "RANLIB=$${RANLIB}" \
4324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4325 info) \
4326 || exit 1
4328 @endif opcodes
4330 .PHONY: maybe-dvi-opcodes dvi-opcodes
4331 maybe-dvi-opcodes:
4332 @if opcodes
4333 maybe-dvi-opcodes: dvi-opcodes
4335 dvi-opcodes: \
4336 configure-opcodes
4337 @[ -f ./opcodes/Makefile ] || exit 0; \
4338 r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 $(HOST_EXPORTS) \
4341 for flag in $(EXTRA_HOST_FLAGS) ; do \
4342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4343 done; \
4344 echo "Doing dvi in opcodes" ; \
4345 (cd $(HOST_SUBDIR)/opcodes && \
4346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4348 "RANLIB=$${RANLIB}" \
4349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4350 dvi) \
4351 || exit 1
4353 @endif opcodes
4355 .PHONY: maybe-pdf-opcodes pdf-opcodes
4356 maybe-pdf-opcodes:
4357 @if opcodes
4358 maybe-pdf-opcodes: pdf-opcodes
4360 pdf-opcodes: \
4361 configure-opcodes
4362 @[ -f ./opcodes/Makefile ] || exit 0; \
4363 r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 $(HOST_EXPORTS) \
4366 for flag in $(EXTRA_HOST_FLAGS) ; do \
4367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4368 done; \
4369 echo "Doing pdf in opcodes" ; \
4370 (cd $(HOST_SUBDIR)/opcodes && \
4371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373 "RANLIB=$${RANLIB}" \
4374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4375 pdf) \
4376 || exit 1
4378 @endif opcodes
4380 .PHONY: maybe-html-opcodes html-opcodes
4381 maybe-html-opcodes:
4382 @if opcodes
4383 maybe-html-opcodes: html-opcodes
4385 html-opcodes: \
4386 configure-opcodes
4387 @[ -f ./opcodes/Makefile ] || exit 0; \
4388 r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(HOST_EXPORTS) \
4391 for flag in $(EXTRA_HOST_FLAGS) ; do \
4392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4393 done; \
4394 echo "Doing html in opcodes" ; \
4395 (cd $(HOST_SUBDIR)/opcodes && \
4396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4398 "RANLIB=$${RANLIB}" \
4399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4400 html) \
4401 || exit 1
4403 @endif opcodes
4405 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4406 maybe-TAGS-opcodes:
4407 @if opcodes
4408 maybe-TAGS-opcodes: TAGS-opcodes
4410 TAGS-opcodes: \
4411 configure-opcodes
4412 @[ -f ./opcodes/Makefile ] || exit 0; \
4413 r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(HOST_EXPORTS) \
4416 for flag in $(EXTRA_HOST_FLAGS) ; do \
4417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4418 done; \
4419 echo "Doing TAGS in opcodes" ; \
4420 (cd $(HOST_SUBDIR)/opcodes && \
4421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4423 "RANLIB=$${RANLIB}" \
4424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4425 TAGS) \
4426 || exit 1
4428 @endif opcodes
4430 .PHONY: maybe-install-info-opcodes install-info-opcodes
4431 maybe-install-info-opcodes:
4432 @if opcodes
4433 maybe-install-info-opcodes: install-info-opcodes
4435 install-info-opcodes: \
4436 configure-opcodes \
4437 info-opcodes
4438 @[ -f ./opcodes/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 $(HOST_EXPORTS) \
4442 for flag in $(EXTRA_HOST_FLAGS) ; do \
4443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4444 done; \
4445 echo "Doing install-info in opcodes" ; \
4446 (cd $(HOST_SUBDIR)/opcodes && \
4447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4449 "RANLIB=$${RANLIB}" \
4450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4451 install-info) \
4452 || exit 1
4454 @endif opcodes
4456 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4457 maybe-install-pdf-opcodes:
4458 @if opcodes
4459 maybe-install-pdf-opcodes: install-pdf-opcodes
4461 install-pdf-opcodes: \
4462 configure-opcodes \
4463 pdf-opcodes
4464 @[ -f ./opcodes/Makefile ] || exit 0; \
4465 r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(HOST_EXPORTS) \
4468 for flag in $(EXTRA_HOST_FLAGS) ; do \
4469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4470 done; \
4471 echo "Doing install-pdf in opcodes" ; \
4472 (cd $(HOST_SUBDIR)/opcodes && \
4473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4475 "RANLIB=$${RANLIB}" \
4476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4477 install-pdf) \
4478 || exit 1
4480 @endif opcodes
4482 .PHONY: maybe-install-html-opcodes install-html-opcodes
4483 maybe-install-html-opcodes:
4484 @if opcodes
4485 maybe-install-html-opcodes: install-html-opcodes
4487 install-html-opcodes: \
4488 configure-opcodes \
4489 html-opcodes
4490 @[ -f ./opcodes/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing install-html in opcodes" ; \
4498 (cd $(HOST_SUBDIR)/opcodes && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4503 install-html) \
4504 || exit 1
4506 @endif opcodes
4508 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4509 maybe-installcheck-opcodes:
4510 @if opcodes
4511 maybe-installcheck-opcodes: installcheck-opcodes
4513 installcheck-opcodes: \
4514 configure-opcodes
4515 @[ -f ./opcodes/Makefile ] || exit 0; \
4516 r=`${PWD_COMMAND}`; export r; \
4517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518 $(HOST_EXPORTS) \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521 done; \
4522 echo "Doing installcheck in opcodes" ; \
4523 (cd $(HOST_SUBDIR)/opcodes && \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4528 installcheck) \
4529 || exit 1
4531 @endif opcodes
4533 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4534 maybe-mostlyclean-opcodes:
4535 @if opcodes
4536 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4538 mostlyclean-opcodes:
4539 @[ -f ./opcodes/Makefile ] || exit 0; \
4540 r=`${PWD_COMMAND}`; export r; \
4541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4542 $(HOST_EXPORTS) \
4543 for flag in $(EXTRA_HOST_FLAGS) ; do \
4544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4545 done; \
4546 echo "Doing mostlyclean in opcodes" ; \
4547 (cd $(HOST_SUBDIR)/opcodes && \
4548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4550 "RANLIB=$${RANLIB}" \
4551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4552 mostlyclean) \
4553 || exit 1
4555 @endif opcodes
4557 .PHONY: maybe-clean-opcodes clean-opcodes
4558 maybe-clean-opcodes:
4559 @if opcodes
4560 maybe-clean-opcodes: clean-opcodes
4562 clean-opcodes:
4563 @[ -f ./opcodes/Makefile ] || exit 0; \
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 $(HOST_EXPORTS) \
4567 for flag in $(EXTRA_HOST_FLAGS) ; do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing clean in opcodes" ; \
4571 (cd $(HOST_SUBDIR)/opcodes && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4576 clean) \
4577 || exit 1
4579 @endif opcodes
4581 .PHONY: maybe-distclean-opcodes distclean-opcodes
4582 maybe-distclean-opcodes:
4583 @if opcodes
4584 maybe-distclean-opcodes: distclean-opcodes
4586 distclean-opcodes:
4587 @[ -f ./opcodes/Makefile ] || exit 0; \
4588 r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 $(HOST_EXPORTS) \
4591 for flag in $(EXTRA_HOST_FLAGS) ; do \
4592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 done; \
4594 echo "Doing distclean in opcodes" ; \
4595 (cd $(HOST_SUBDIR)/opcodes && \
4596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4598 "RANLIB=$${RANLIB}" \
4599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4600 distclean) \
4601 || exit 1
4603 @endif opcodes
4605 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4606 maybe-maintainer-clean-opcodes:
4607 @if opcodes
4608 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4610 maintainer-clean-opcodes:
4611 @[ -f ./opcodes/Makefile ] || exit 0; \
4612 r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 $(HOST_EXPORTS) \
4615 for flag in $(EXTRA_HOST_FLAGS) ; do \
4616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4617 done; \
4618 echo "Doing maintainer-clean in opcodes" ; \
4619 (cd $(HOST_SUBDIR)/opcodes && \
4620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622 "RANLIB=$${RANLIB}" \
4623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4624 maintainer-clean) \
4625 || exit 1
4627 @endif opcodes
4631 .PHONY: configure-binutils maybe-configure-binutils
4632 maybe-configure-binutils:
4633 @if gcc-bootstrap
4634 configure-binutils: stage_current
4635 @endif gcc-bootstrap
4636 @if binutils
4637 maybe-configure-binutils: configure-binutils
4638 configure-binutils:
4639 @r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4643 $(HOST_EXPORTS) \
4644 echo Configuring in $(HOST_SUBDIR)/binutils; \
4645 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4646 case $(srcdir) in \
4647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4648 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4650 esac; \
4651 srcdiroption="--srcdir=$${topdir}/binutils"; \
4652 libsrcdir="$$s/binutils"; \
4653 $(SHELL) $${libsrcdir}/configure \
4654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4655 --target=${target_alias} $${srcdiroption} \
4656 || exit 1
4657 @endif binutils
4661 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4662 maybe-configure-stage1-binutils:
4663 @if binutils-bootstrap
4664 maybe-configure-stage1-binutils: configure-stage1-binutils
4665 configure-stage1-binutils:
4666 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4668 @r=`${PWD_COMMAND}`; export r; \
4669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4670 TFLAGS="$(STAGE1_TFLAGS)"; \
4671 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4672 $(HOST_EXPORTS) \
4673 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4674 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4675 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4676 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4678 cd $(HOST_SUBDIR)/binutils || exit 1; \
4679 case $(srcdir) in \
4680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4681 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4683 esac; \
4684 srcdiroption="--srcdir=$${topdir}/binutils"; \
4685 libsrcdir="$$s/binutils"; \
4686 $(SHELL) $${libsrcdir}/configure \
4687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4688 --target=${target_alias} $${srcdiroption} \
4689 $(STAGE1_CONFIGURE_FLAGS)
4690 @endif binutils-bootstrap
4692 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4693 maybe-configure-stage2-binutils:
4694 @if binutils-bootstrap
4695 maybe-configure-stage2-binutils: configure-stage2-binutils
4696 configure-stage2-binutils:
4697 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4698 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4699 @r=`${PWD_COMMAND}`; export r; \
4700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701 TFLAGS="$(STAGE2_TFLAGS)"; \
4702 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4703 $(HOST_EXPORTS) \
4704 $(POSTSTAGE1_HOST_EXPORTS) \
4705 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4706 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4707 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4708 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4710 cd $(HOST_SUBDIR)/binutils || exit 1; \
4711 case $(srcdir) in \
4712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4713 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4715 esac; \
4716 srcdiroption="--srcdir=$${topdir}/binutils"; \
4717 libsrcdir="$$s/binutils"; \
4718 $(SHELL) $${libsrcdir}/configure \
4719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4720 --target=${target_alias} $${srcdiroption} \
4721 --with-build-libsubdir=$(HOST_SUBDIR) \
4722 $(STAGE2_CONFIGURE_FLAGS)
4723 @endif binutils-bootstrap
4725 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4726 maybe-configure-stage3-binutils:
4727 @if binutils-bootstrap
4728 maybe-configure-stage3-binutils: configure-stage3-binutils
4729 configure-stage3-binutils:
4730 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4732 @r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734 TFLAGS="$(STAGE3_TFLAGS)"; \
4735 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4736 $(HOST_EXPORTS) \
4737 $(POSTSTAGE1_HOST_EXPORTS) \
4738 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4739 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4740 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4741 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4743 cd $(HOST_SUBDIR)/binutils || exit 1; \
4744 case $(srcdir) in \
4745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4746 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4748 esac; \
4749 srcdiroption="--srcdir=$${topdir}/binutils"; \
4750 libsrcdir="$$s/binutils"; \
4751 $(SHELL) $${libsrcdir}/configure \
4752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4753 --target=${target_alias} $${srcdiroption} \
4754 --with-build-libsubdir=$(HOST_SUBDIR) \
4755 $(STAGE3_CONFIGURE_FLAGS)
4756 @endif binutils-bootstrap
4758 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4759 maybe-configure-stage4-binutils:
4760 @if binutils-bootstrap
4761 maybe-configure-stage4-binutils: configure-stage4-binutils
4762 configure-stage4-binutils:
4763 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4765 @r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 TFLAGS="$(STAGE4_TFLAGS)"; \
4768 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4769 $(HOST_EXPORTS) \
4770 $(POSTSTAGE1_HOST_EXPORTS) \
4771 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4772 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4773 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4774 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4776 cd $(HOST_SUBDIR)/binutils || exit 1; \
4777 case $(srcdir) in \
4778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4779 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4781 esac; \
4782 srcdiroption="--srcdir=$${topdir}/binutils"; \
4783 libsrcdir="$$s/binutils"; \
4784 $(SHELL) $${libsrcdir}/configure \
4785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4786 --target=${target_alias} $${srcdiroption} \
4787 --with-build-libsubdir=$(HOST_SUBDIR) \
4788 $(STAGE4_CONFIGURE_FLAGS)
4789 @endif binutils-bootstrap
4791 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4792 maybe-configure-stageprofile-binutils:
4793 @if binutils-bootstrap
4794 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4795 configure-stageprofile-binutils:
4796 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4798 @r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4801 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4802 $(HOST_EXPORTS) \
4803 $(POSTSTAGE1_HOST_EXPORTS) \
4804 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4805 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4806 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4807 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4809 cd $(HOST_SUBDIR)/binutils || exit 1; \
4810 case $(srcdir) in \
4811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4812 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4814 esac; \
4815 srcdiroption="--srcdir=$${topdir}/binutils"; \
4816 libsrcdir="$$s/binutils"; \
4817 $(SHELL) $${libsrcdir}/configure \
4818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4819 --target=${target_alias} $${srcdiroption} \
4820 --with-build-libsubdir=$(HOST_SUBDIR) \
4821 $(STAGEprofile_CONFIGURE_FLAGS)
4822 @endif binutils-bootstrap
4824 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4825 maybe-configure-stagefeedback-binutils:
4826 @if binutils-bootstrap
4827 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4828 configure-stagefeedback-binutils:
4829 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4831 @r=`${PWD_COMMAND}`; export r; \
4832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4833 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4834 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4835 $(HOST_EXPORTS) \
4836 $(POSTSTAGE1_HOST_EXPORTS) \
4837 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4838 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4839 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4840 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4842 cd $(HOST_SUBDIR)/binutils || exit 1; \
4843 case $(srcdir) in \
4844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4845 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4847 esac; \
4848 srcdiroption="--srcdir=$${topdir}/binutils"; \
4849 libsrcdir="$$s/binutils"; \
4850 $(SHELL) $${libsrcdir}/configure \
4851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4852 --target=${target_alias} $${srcdiroption} \
4853 --with-build-libsubdir=$(HOST_SUBDIR) \
4854 $(STAGEfeedback_CONFIGURE_FLAGS)
4855 @endif binutils-bootstrap
4861 .PHONY: all-binutils maybe-all-binutils
4862 maybe-all-binutils:
4863 @if gcc-bootstrap
4864 all-binutils: stage_current
4865 @endif gcc-bootstrap
4866 @if binutils
4867 TARGET-binutils=all
4868 maybe-all-binutils: all-binutils
4869 all-binutils: configure-binutils
4870 @r=`${PWD_COMMAND}`; export r; \
4871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4872 $(HOST_EXPORTS) \
4873 (cd $(HOST_SUBDIR)/binutils && \
4874 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4875 $(TARGET-binutils))
4876 @endif binutils
4880 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4881 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4882 maybe-all-stage1-binutils:
4883 maybe-clean-stage1-binutils:
4884 @if binutils-bootstrap
4885 maybe-all-stage1-binutils: all-stage1-binutils
4886 all-stage1: all-stage1-binutils
4887 TARGET-stage1-binutils = $(TARGET-binutils)
4888 all-stage1-binutils: configure-stage1-binutils
4889 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4890 @r=`${PWD_COMMAND}`; export r; \
4891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4892 TFLAGS="$(STAGE1_TFLAGS)"; \
4893 $(HOST_EXPORTS) \
4894 cd $(HOST_SUBDIR)/binutils && \
4895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4896 CFLAGS="$(STAGE1_CFLAGS)" \
4897 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4898 LIBCFLAGS="$(LIBCFLAGS)" \
4899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4902 $(EXTRA_HOST_FLAGS) \
4903 TFLAGS="$(STAGE1_TFLAGS)" \
4904 $(TARGET-stage1-binutils)
4906 maybe-clean-stage1-binutils: clean-stage1-binutils
4907 clean-stage1: clean-stage1-binutils
4908 clean-stage1-binutils:
4909 @if [ $(current_stage) = stage1 ]; then \
4910 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4911 else \
4912 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4913 $(MAKE) stage1-start; \
4914 fi; \
4915 cd $(HOST_SUBDIR)/binutils && \
4916 $(MAKE) $(EXTRA_HOST_FLAGS) \
4917 clean
4918 @endif binutils-bootstrap
4921 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4922 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4923 maybe-all-stage2-binutils:
4924 maybe-clean-stage2-binutils:
4925 @if binutils-bootstrap
4926 maybe-all-stage2-binutils: all-stage2-binutils
4927 all-stage2: all-stage2-binutils
4928 TARGET-stage2-binutils = $(TARGET-binutils)
4929 all-stage2-binutils: configure-stage2-binutils
4930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4931 @r=`${PWD_COMMAND}`; export r; \
4932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4933 TFLAGS="$(STAGE2_TFLAGS)"; \
4934 $(HOST_EXPORTS) \
4935 $(POSTSTAGE1_HOST_EXPORTS) \
4936 cd $(HOST_SUBDIR)/binutils && \
4937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4938 CFLAGS="$(STAGE2_CFLAGS)" \
4939 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4940 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4945 TFLAGS="$(STAGE2_TFLAGS)" \
4946 $(TARGET-stage2-binutils)
4948 maybe-clean-stage2-binutils: clean-stage2-binutils
4949 clean-stage2: clean-stage2-binutils
4950 clean-stage2-binutils:
4951 @if [ $(current_stage) = stage2 ]; then \
4952 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4953 else \
4954 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4955 $(MAKE) stage2-start; \
4956 fi; \
4957 cd $(HOST_SUBDIR)/binutils && \
4958 $(MAKE) $(EXTRA_HOST_FLAGS) \
4959 $(POSTSTAGE1_FLAGS_TO_PASS) \
4960 clean
4961 @endif binutils-bootstrap
4964 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4965 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4966 maybe-all-stage3-binutils:
4967 maybe-clean-stage3-binutils:
4968 @if binutils-bootstrap
4969 maybe-all-stage3-binutils: all-stage3-binutils
4970 all-stage3: all-stage3-binutils
4971 TARGET-stage3-binutils = $(TARGET-binutils)
4972 all-stage3-binutils: configure-stage3-binutils
4973 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976 TFLAGS="$(STAGE3_TFLAGS)"; \
4977 $(HOST_EXPORTS) \
4978 $(POSTSTAGE1_HOST_EXPORTS) \
4979 cd $(HOST_SUBDIR)/binutils && \
4980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4981 CFLAGS="$(STAGE3_CFLAGS)" \
4982 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4983 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4988 TFLAGS="$(STAGE3_TFLAGS)" \
4989 $(TARGET-stage3-binutils)
4991 maybe-clean-stage3-binutils: clean-stage3-binutils
4992 clean-stage3: clean-stage3-binutils
4993 clean-stage3-binutils:
4994 @if [ $(current_stage) = stage3 ]; then \
4995 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4996 else \
4997 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
4998 $(MAKE) stage3-start; \
4999 fi; \
5000 cd $(HOST_SUBDIR)/binutils && \
5001 $(MAKE) $(EXTRA_HOST_FLAGS) \
5002 $(POSTSTAGE1_FLAGS_TO_PASS) \
5003 clean
5004 @endif binutils-bootstrap
5007 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5008 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5009 maybe-all-stage4-binutils:
5010 maybe-clean-stage4-binutils:
5011 @if binutils-bootstrap
5012 maybe-all-stage4-binutils: all-stage4-binutils
5013 all-stage4: all-stage4-binutils
5014 TARGET-stage4-binutils = $(TARGET-binutils)
5015 all-stage4-binutils: configure-stage4-binutils
5016 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5017 @r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 TFLAGS="$(STAGE4_TFLAGS)"; \
5020 $(HOST_EXPORTS) \
5021 $(POSTSTAGE1_HOST_EXPORTS) \
5022 cd $(HOST_SUBDIR)/binutils && \
5023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5024 CFLAGS="$(STAGE4_CFLAGS)" \
5025 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5026 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5031 TFLAGS="$(STAGE4_TFLAGS)" \
5032 $(TARGET-stage4-binutils)
5034 maybe-clean-stage4-binutils: clean-stage4-binutils
5035 clean-stage4: clean-stage4-binutils
5036 clean-stage4-binutils:
5037 @if [ $(current_stage) = stage4 ]; then \
5038 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5039 else \
5040 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5041 $(MAKE) stage4-start; \
5042 fi; \
5043 cd $(HOST_SUBDIR)/binutils && \
5044 $(MAKE) $(EXTRA_HOST_FLAGS) \
5045 $(POSTSTAGE1_FLAGS_TO_PASS) \
5046 clean
5047 @endif binutils-bootstrap
5050 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5051 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5052 maybe-all-stageprofile-binutils:
5053 maybe-clean-stageprofile-binutils:
5054 @if binutils-bootstrap
5055 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5056 all-stageprofile: all-stageprofile-binutils
5057 TARGET-stageprofile-binutils = $(TARGET-binutils)
5058 all-stageprofile-binutils: configure-stageprofile-binutils
5059 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5060 @r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5063 $(HOST_EXPORTS) \
5064 $(POSTSTAGE1_HOST_EXPORTS) \
5065 cd $(HOST_SUBDIR)/binutils && \
5066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5067 CFLAGS="$(STAGEprofile_CFLAGS)" \
5068 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5069 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5074 TFLAGS="$(STAGEprofile_TFLAGS)" \
5075 $(TARGET-stageprofile-binutils)
5077 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5078 clean-stageprofile: clean-stageprofile-binutils
5079 clean-stageprofile-binutils:
5080 @if [ $(current_stage) = stageprofile ]; then \
5081 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5082 else \
5083 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5084 $(MAKE) stageprofile-start; \
5085 fi; \
5086 cd $(HOST_SUBDIR)/binutils && \
5087 $(MAKE) $(EXTRA_HOST_FLAGS) \
5088 $(POSTSTAGE1_FLAGS_TO_PASS) \
5089 clean
5090 @endif binutils-bootstrap
5093 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5094 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5095 maybe-all-stagefeedback-binutils:
5096 maybe-clean-stagefeedback-binutils:
5097 @if binutils-bootstrap
5098 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5099 all-stagefeedback: all-stagefeedback-binutils
5100 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5101 all-stagefeedback-binutils: configure-stagefeedback-binutils
5102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5103 @r=`${PWD_COMMAND}`; export r; \
5104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5106 $(HOST_EXPORTS) \
5107 $(POSTSTAGE1_HOST_EXPORTS) \
5108 cd $(HOST_SUBDIR)/binutils && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5110 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5111 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5112 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5117 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5118 $(TARGET-stagefeedback-binutils)
5120 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5121 clean-stagefeedback: clean-stagefeedback-binutils
5122 clean-stagefeedback-binutils:
5123 @if [ $(current_stage) = stagefeedback ]; then \
5124 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5125 else \
5126 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5127 $(MAKE) stagefeedback-start; \
5128 fi; \
5129 cd $(HOST_SUBDIR)/binutils && \
5130 $(MAKE) $(EXTRA_HOST_FLAGS) \
5131 $(POSTSTAGE1_FLAGS_TO_PASS) \
5132 clean
5133 @endif binutils-bootstrap
5139 .PHONY: check-binutils maybe-check-binutils
5140 maybe-check-binutils:
5141 @if binutils
5142 maybe-check-binutils: check-binutils
5144 check-binutils:
5145 @: $(MAKE); $(unstage)
5146 @r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 $(HOST_EXPORTS) \
5149 (cd $(HOST_SUBDIR)/binutils && \
5150 $(MAKE) $(FLAGS_TO_PASS) check)
5152 @endif binutils
5154 .PHONY: install-binutils maybe-install-binutils
5155 maybe-install-binutils:
5156 @if binutils
5157 maybe-install-binutils: install-binutils
5159 install-binutils: installdirs
5160 @: $(MAKE); $(unstage)
5161 @r=`${PWD_COMMAND}`; export r; \
5162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5163 $(HOST_EXPORTS) \
5164 (cd $(HOST_SUBDIR)/binutils && \
5165 $(MAKE) $(FLAGS_TO_PASS) install)
5167 @endif binutils
5169 .PHONY: install-strip-binutils maybe-install-strip-binutils
5170 maybe-install-strip-binutils:
5171 @if binutils
5172 maybe-install-strip-binutils: install-strip-binutils
5174 install-strip-binutils: installdirs
5175 @: $(MAKE); $(unstage)
5176 @r=`${PWD_COMMAND}`; export r; \
5177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5178 $(HOST_EXPORTS) \
5179 (cd $(HOST_SUBDIR)/binutils && \
5180 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5182 @endif binutils
5184 # Other targets (info, dvi, pdf, etc.)
5186 .PHONY: maybe-info-binutils info-binutils
5187 maybe-info-binutils:
5188 @if binutils
5189 maybe-info-binutils: info-binutils
5191 info-binutils: \
5192 configure-binutils
5193 @[ -f ./binutils/Makefile ] || exit 0; \
5194 r=`${PWD_COMMAND}`; export r; \
5195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5196 $(HOST_EXPORTS) \
5197 for flag in $(EXTRA_HOST_FLAGS) ; do \
5198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5199 done; \
5200 echo "Doing info in binutils" ; \
5201 (cd $(HOST_SUBDIR)/binutils && \
5202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5204 "RANLIB=$${RANLIB}" \
5205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5206 info) \
5207 || exit 1
5209 @endif binutils
5211 .PHONY: maybe-dvi-binutils dvi-binutils
5212 maybe-dvi-binutils:
5213 @if binutils
5214 maybe-dvi-binutils: dvi-binutils
5216 dvi-binutils: \
5217 configure-binutils
5218 @[ -f ./binutils/Makefile ] || exit 0; \
5219 r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 $(HOST_EXPORTS) \
5222 for flag in $(EXTRA_HOST_FLAGS) ; do \
5223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5224 done; \
5225 echo "Doing dvi in binutils" ; \
5226 (cd $(HOST_SUBDIR)/binutils && \
5227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5229 "RANLIB=$${RANLIB}" \
5230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5231 dvi) \
5232 || exit 1
5234 @endif binutils
5236 .PHONY: maybe-pdf-binutils pdf-binutils
5237 maybe-pdf-binutils:
5238 @if binutils
5239 maybe-pdf-binutils: pdf-binutils
5241 pdf-binutils: \
5242 configure-binutils
5243 @[ -f ./binutils/Makefile ] || exit 0; \
5244 r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246 $(HOST_EXPORTS) \
5247 for flag in $(EXTRA_HOST_FLAGS) ; do \
5248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5249 done; \
5250 echo "Doing pdf in binutils" ; \
5251 (cd $(HOST_SUBDIR)/binutils && \
5252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5254 "RANLIB=$${RANLIB}" \
5255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5256 pdf) \
5257 || exit 1
5259 @endif binutils
5261 .PHONY: maybe-html-binutils html-binutils
5262 maybe-html-binutils:
5263 @if binutils
5264 maybe-html-binutils: html-binutils
5266 html-binutils: \
5267 configure-binutils
5268 @[ -f ./binutils/Makefile ] || exit 0; \
5269 r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 $(HOST_EXPORTS) \
5272 for flag in $(EXTRA_HOST_FLAGS) ; do \
5273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5274 done; \
5275 echo "Doing html in binutils" ; \
5276 (cd $(HOST_SUBDIR)/binutils && \
5277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5279 "RANLIB=$${RANLIB}" \
5280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5281 html) \
5282 || exit 1
5284 @endif binutils
5286 .PHONY: maybe-TAGS-binutils TAGS-binutils
5287 maybe-TAGS-binutils:
5288 @if binutils
5289 maybe-TAGS-binutils: TAGS-binutils
5291 TAGS-binutils: \
5292 configure-binutils
5293 @[ -f ./binutils/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(HOST_EXPORTS) \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299 done; \
5300 echo "Doing TAGS in binutils" ; \
5301 (cd $(HOST_SUBDIR)/binutils && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5306 TAGS) \
5307 || exit 1
5309 @endif binutils
5311 .PHONY: maybe-install-info-binutils install-info-binutils
5312 maybe-install-info-binutils:
5313 @if binutils
5314 maybe-install-info-binutils: install-info-binutils
5316 install-info-binutils: \
5317 configure-binutils \
5318 info-binutils
5319 @[ -f ./binutils/Makefile ] || exit 0; \
5320 r=`${PWD_COMMAND}`; export r; \
5321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5322 $(HOST_EXPORTS) \
5323 for flag in $(EXTRA_HOST_FLAGS) ; do \
5324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 done; \
5326 echo "Doing install-info in binutils" ; \
5327 (cd $(HOST_SUBDIR)/binutils && \
5328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5330 "RANLIB=$${RANLIB}" \
5331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5332 install-info) \
5333 || exit 1
5335 @endif binutils
5337 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5338 maybe-install-pdf-binutils:
5339 @if binutils
5340 maybe-install-pdf-binutils: install-pdf-binutils
5342 install-pdf-binutils: \
5343 configure-binutils \
5344 pdf-binutils
5345 @[ -f ./binutils/Makefile ] || exit 0; \
5346 r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 $(HOST_EXPORTS) \
5349 for flag in $(EXTRA_HOST_FLAGS) ; do \
5350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 done; \
5352 echo "Doing install-pdf in binutils" ; \
5353 (cd $(HOST_SUBDIR)/binutils && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5356 "RANLIB=$${RANLIB}" \
5357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5358 install-pdf) \
5359 || exit 1
5361 @endif binutils
5363 .PHONY: maybe-install-html-binutils install-html-binutils
5364 maybe-install-html-binutils:
5365 @if binutils
5366 maybe-install-html-binutils: install-html-binutils
5368 install-html-binutils: \
5369 configure-binutils \
5370 html-binutils
5371 @[ -f ./binutils/Makefile ] || exit 0; \
5372 r=`${PWD_COMMAND}`; export r; \
5373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 $(HOST_EXPORTS) \
5375 for flag in $(EXTRA_HOST_FLAGS) ; do \
5376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5377 done; \
5378 echo "Doing install-html in binutils" ; \
5379 (cd $(HOST_SUBDIR)/binutils && \
5380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5382 "RANLIB=$${RANLIB}" \
5383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5384 install-html) \
5385 || exit 1
5387 @endif binutils
5389 .PHONY: maybe-installcheck-binutils installcheck-binutils
5390 maybe-installcheck-binutils:
5391 @if binutils
5392 maybe-installcheck-binutils: installcheck-binutils
5394 installcheck-binutils: \
5395 configure-binutils
5396 @[ -f ./binutils/Makefile ] || exit 0; \
5397 r=`${PWD_COMMAND}`; export r; \
5398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5399 $(HOST_EXPORTS) \
5400 for flag in $(EXTRA_HOST_FLAGS) ; do \
5401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5402 done; \
5403 echo "Doing installcheck in binutils" ; \
5404 (cd $(HOST_SUBDIR)/binutils && \
5405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5407 "RANLIB=$${RANLIB}" \
5408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5409 installcheck) \
5410 || exit 1
5412 @endif binutils
5414 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5415 maybe-mostlyclean-binutils:
5416 @if binutils
5417 maybe-mostlyclean-binutils: mostlyclean-binutils
5419 mostlyclean-binutils:
5420 @[ -f ./binutils/Makefile ] || exit 0; \
5421 r=`${PWD_COMMAND}`; export r; \
5422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5423 $(HOST_EXPORTS) \
5424 for flag in $(EXTRA_HOST_FLAGS) ; do \
5425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5426 done; \
5427 echo "Doing mostlyclean in binutils" ; \
5428 (cd $(HOST_SUBDIR)/binutils && \
5429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5431 "RANLIB=$${RANLIB}" \
5432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5433 mostlyclean) \
5434 || exit 1
5436 @endif binutils
5438 .PHONY: maybe-clean-binutils clean-binutils
5439 maybe-clean-binutils:
5440 @if binutils
5441 maybe-clean-binutils: clean-binutils
5443 clean-binutils:
5444 @[ -f ./binutils/Makefile ] || exit 0; \
5445 r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 $(HOST_EXPORTS) \
5448 for flag in $(EXTRA_HOST_FLAGS) ; do \
5449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5450 done; \
5451 echo "Doing clean in binutils" ; \
5452 (cd $(HOST_SUBDIR)/binutils && \
5453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5455 "RANLIB=$${RANLIB}" \
5456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5457 clean) \
5458 || exit 1
5460 @endif binutils
5462 .PHONY: maybe-distclean-binutils distclean-binutils
5463 maybe-distclean-binutils:
5464 @if binutils
5465 maybe-distclean-binutils: distclean-binutils
5467 distclean-binutils:
5468 @[ -f ./binutils/Makefile ] || exit 0; \
5469 r=`${PWD_COMMAND}`; export r; \
5470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5471 $(HOST_EXPORTS) \
5472 for flag in $(EXTRA_HOST_FLAGS) ; do \
5473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5474 done; \
5475 echo "Doing distclean in binutils" ; \
5476 (cd $(HOST_SUBDIR)/binutils && \
5477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5479 "RANLIB=$${RANLIB}" \
5480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5481 distclean) \
5482 || exit 1
5484 @endif binutils
5486 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5487 maybe-maintainer-clean-binutils:
5488 @if binutils
5489 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5491 maintainer-clean-binutils:
5492 @[ -f ./binutils/Makefile ] || exit 0; \
5493 r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 $(HOST_EXPORTS) \
5496 for flag in $(EXTRA_HOST_FLAGS) ; do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5498 done; \
5499 echo "Doing maintainer-clean in binutils" ; \
5500 (cd $(HOST_SUBDIR)/binutils && \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5505 maintainer-clean) \
5506 || exit 1
5508 @endif binutils
5512 .PHONY: configure-bison maybe-configure-bison
5513 maybe-configure-bison:
5514 @if gcc-bootstrap
5515 configure-bison: stage_current
5516 @endif gcc-bootstrap
5517 @if bison
5518 maybe-configure-bison: configure-bison
5519 configure-bison:
5520 @: $(MAKE); $(unstage)
5521 @r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5525 $(HOST_EXPORTS) \
5526 echo Configuring in $(HOST_SUBDIR)/bison; \
5527 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5528 case $(srcdir) in \
5529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5530 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5532 esac; \
5533 srcdiroption="--srcdir=$${topdir}/bison"; \
5534 libsrcdir="$$s/bison"; \
5535 $(SHELL) $${libsrcdir}/configure \
5536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5537 --target=${target_alias} $${srcdiroption} \
5538 || exit 1
5539 @endif bison
5545 .PHONY: all-bison maybe-all-bison
5546 maybe-all-bison:
5547 @if gcc-bootstrap
5548 all-bison: stage_current
5549 @endif gcc-bootstrap
5550 @if bison
5551 TARGET-bison=all
5552 maybe-all-bison: all-bison
5553 all-bison: configure-bison
5554 @: $(MAKE); $(unstage)
5555 @r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 $(HOST_EXPORTS) \
5558 (cd $(HOST_SUBDIR)/bison && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5560 $(TARGET-bison))
5561 @endif bison
5566 .PHONY: check-bison maybe-check-bison
5567 maybe-check-bison:
5568 @if bison
5569 maybe-check-bison: check-bison
5571 # This module is only tested in a native toolchain.
5572 check-bison:
5573 @: $(MAKE); $(unstage)
5574 @if [ '$(host)' = '$(target)' ] ; then \
5575 r=`${PWD_COMMAND}`; export r; \
5576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5577 $(HOST_EXPORTS) \
5578 (cd $(HOST_SUBDIR)/bison && \
5579 $(MAKE) $(FLAGS_TO_PASS) check); \
5582 @endif bison
5584 .PHONY: install-bison maybe-install-bison
5585 maybe-install-bison:
5586 @if bison
5587 maybe-install-bison: install-bison
5589 install-bison: installdirs
5590 @: $(MAKE); $(unstage)
5591 @r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 $(HOST_EXPORTS) \
5594 (cd $(HOST_SUBDIR)/bison && \
5595 $(MAKE) $(FLAGS_TO_PASS) install)
5597 @endif bison
5599 .PHONY: install-strip-bison maybe-install-strip-bison
5600 maybe-install-strip-bison:
5601 @if bison
5602 maybe-install-strip-bison: install-strip-bison
5604 install-strip-bison: installdirs
5605 @: $(MAKE); $(unstage)
5606 @r=`${PWD_COMMAND}`; export r; \
5607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5608 $(HOST_EXPORTS) \
5609 (cd $(HOST_SUBDIR)/bison && \
5610 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5612 @endif bison
5614 # Other targets (info, dvi, pdf, etc.)
5616 .PHONY: maybe-info-bison info-bison
5617 maybe-info-bison:
5618 @if bison
5619 maybe-info-bison: info-bison
5621 info-bison: \
5622 configure-bison
5623 @: $(MAKE); $(unstage)
5624 @[ -f ./bison/Makefile ] || exit 0; \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(HOST_EXPORTS) \
5628 for flag in $(EXTRA_HOST_FLAGS) ; do \
5629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5630 done; \
5631 echo "Doing info in bison" ; \
5632 (cd $(HOST_SUBDIR)/bison && \
5633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5635 "RANLIB=$${RANLIB}" \
5636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5637 info) \
5638 || exit 1
5640 @endif bison
5642 .PHONY: maybe-dvi-bison dvi-bison
5643 maybe-dvi-bison:
5644 @if bison
5645 maybe-dvi-bison: dvi-bison
5647 dvi-bison: \
5648 configure-bison
5649 @: $(MAKE); $(unstage)
5650 @[ -f ./bison/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(HOST_EXPORTS) \
5654 for flag in $(EXTRA_HOST_FLAGS) ; do \
5655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5656 done; \
5657 echo "Doing dvi in bison" ; \
5658 (cd $(HOST_SUBDIR)/bison && \
5659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5661 "RANLIB=$${RANLIB}" \
5662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5663 dvi) \
5664 || exit 1
5666 @endif bison
5668 .PHONY: maybe-pdf-bison pdf-bison
5669 maybe-pdf-bison:
5670 @if bison
5671 maybe-pdf-bison: pdf-bison
5673 pdf-bison: \
5674 configure-bison
5675 @: $(MAKE); $(unstage)
5676 @[ -f ./bison/Makefile ] || exit 0; \
5677 r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(HOST_EXPORTS) \
5680 for flag in $(EXTRA_HOST_FLAGS) ; do \
5681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5682 done; \
5683 echo "Doing pdf in bison" ; \
5684 (cd $(HOST_SUBDIR)/bison && \
5685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5687 "RANLIB=$${RANLIB}" \
5688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5689 pdf) \
5690 || exit 1
5692 @endif bison
5694 .PHONY: maybe-html-bison html-bison
5695 maybe-html-bison:
5696 @if bison
5697 maybe-html-bison: html-bison
5699 html-bison: \
5700 configure-bison
5701 @: $(MAKE); $(unstage)
5702 @[ -f ./bison/Makefile ] || exit 0; \
5703 r=`${PWD_COMMAND}`; export r; \
5704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5705 $(HOST_EXPORTS) \
5706 for flag in $(EXTRA_HOST_FLAGS) ; do \
5707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5708 done; \
5709 echo "Doing html in bison" ; \
5710 (cd $(HOST_SUBDIR)/bison && \
5711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5713 "RANLIB=$${RANLIB}" \
5714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5715 html) \
5716 || exit 1
5718 @endif bison
5720 .PHONY: maybe-TAGS-bison TAGS-bison
5721 maybe-TAGS-bison:
5722 @if bison
5723 maybe-TAGS-bison: TAGS-bison
5725 TAGS-bison: \
5726 configure-bison
5727 @: $(MAKE); $(unstage)
5728 @[ -f ./bison/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS) ; do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing TAGS in bison" ; \
5736 (cd $(HOST_SUBDIR)/bison && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5741 TAGS) \
5742 || exit 1
5744 @endif bison
5746 .PHONY: maybe-install-info-bison install-info-bison
5747 maybe-install-info-bison:
5748 @if bison
5749 maybe-install-info-bison: install-info-bison
5751 install-info-bison: \
5752 configure-bison \
5753 info-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 install-info 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 install-info) \
5769 || exit 1
5771 @endif bison
5773 .PHONY: maybe-install-pdf-bison install-pdf-bison
5774 maybe-install-pdf-bison:
5775 @if bison
5776 maybe-install-pdf-bison: install-pdf-bison
5778 install-pdf-bison: \
5779 configure-bison \
5780 pdf-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-pdf 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-pdf) \
5796 || exit 1
5798 @endif bison
5800 .PHONY: maybe-install-html-bison install-html-bison
5801 maybe-install-html-bison:
5802 @if bison
5803 maybe-install-html-bison: install-html-bison
5805 install-html-bison: \
5806 configure-bison \
5807 html-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-html 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-html) \
5823 || exit 1
5825 @endif bison
5827 .PHONY: maybe-installcheck-bison installcheck-bison
5828 maybe-installcheck-bison:
5829 @if bison
5830 maybe-installcheck-bison: installcheck-bison
5832 installcheck-bison: \
5833 configure-bison
5834 @: $(MAKE); $(unstage)
5835 @[ -f ./bison/Makefile ] || exit 0; \
5836 r=`${PWD_COMMAND}`; export r; \
5837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5838 $(HOST_EXPORTS) \
5839 for flag in $(EXTRA_HOST_FLAGS) ; do \
5840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5841 done; \
5842 echo "Doing installcheck in bison" ; \
5843 (cd $(HOST_SUBDIR)/bison && \
5844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5846 "RANLIB=$${RANLIB}" \
5847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5848 installcheck) \
5849 || exit 1
5851 @endif bison
5853 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5854 maybe-mostlyclean-bison:
5855 @if bison
5856 maybe-mostlyclean-bison: mostlyclean-bison
5858 mostlyclean-bison:
5859 @: $(MAKE); $(unstage)
5860 @[ -f ./bison/Makefile ] || exit 0; \
5861 r=`${PWD_COMMAND}`; export r; \
5862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5863 $(HOST_EXPORTS) \
5864 for flag in $(EXTRA_HOST_FLAGS) ; do \
5865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5866 done; \
5867 echo "Doing mostlyclean in bison" ; \
5868 (cd $(HOST_SUBDIR)/bison && \
5869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5871 "RANLIB=$${RANLIB}" \
5872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5873 mostlyclean) \
5874 || exit 1
5876 @endif bison
5878 .PHONY: maybe-clean-bison clean-bison
5879 maybe-clean-bison:
5880 @if bison
5881 maybe-clean-bison: clean-bison
5883 clean-bison:
5884 @: $(MAKE); $(unstage)
5885 @[ -f ./bison/Makefile ] || exit 0; \
5886 r=`${PWD_COMMAND}`; export r; \
5887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5888 $(HOST_EXPORTS) \
5889 for flag in $(EXTRA_HOST_FLAGS) ; do \
5890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5891 done; \
5892 echo "Doing clean in bison" ; \
5893 (cd $(HOST_SUBDIR)/bison && \
5894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5896 "RANLIB=$${RANLIB}" \
5897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5898 clean) \
5899 || exit 1
5901 @endif bison
5903 .PHONY: maybe-distclean-bison distclean-bison
5904 maybe-distclean-bison:
5905 @if bison
5906 maybe-distclean-bison: distclean-bison
5908 distclean-bison:
5909 @: $(MAKE); $(unstage)
5910 @[ -f ./bison/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing distclean in bison" ; \
5918 (cd $(HOST_SUBDIR)/bison && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5923 distclean) \
5924 || exit 1
5926 @endif bison
5928 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5929 maybe-maintainer-clean-bison:
5930 @if bison
5931 maybe-maintainer-clean-bison: maintainer-clean-bison
5933 maintainer-clean-bison:
5934 @: $(MAKE); $(unstage)
5935 @[ -f ./bison/Makefile ] || exit 0; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 for flag in $(EXTRA_HOST_FLAGS) ; do \
5940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5941 done; \
5942 echo "Doing maintainer-clean in bison" ; \
5943 (cd $(HOST_SUBDIR)/bison && \
5944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5946 "RANLIB=$${RANLIB}" \
5947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5948 maintainer-clean) \
5949 || exit 1
5951 @endif bison
5955 .PHONY: configure-cgen maybe-configure-cgen
5956 maybe-configure-cgen:
5957 @if gcc-bootstrap
5958 configure-cgen: stage_current
5959 @endif gcc-bootstrap
5960 @if cgen
5961 maybe-configure-cgen: configure-cgen
5962 configure-cgen:
5963 @: $(MAKE); $(unstage)
5964 @r=`${PWD_COMMAND}`; export r; \
5965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5966 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5968 $(HOST_EXPORTS) \
5969 echo Configuring in $(HOST_SUBDIR)/cgen; \
5970 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5971 case $(srcdir) in \
5972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5973 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
5974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5975 esac; \
5976 srcdiroption="--srcdir=$${topdir}/cgen"; \
5977 libsrcdir="$$s/cgen"; \
5978 $(SHELL) $${libsrcdir}/configure \
5979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5980 --target=${target_alias} $${srcdiroption} \
5981 || exit 1
5982 @endif cgen
5988 .PHONY: all-cgen maybe-all-cgen
5989 maybe-all-cgen:
5990 @if gcc-bootstrap
5991 all-cgen: stage_current
5992 @endif gcc-bootstrap
5993 @if cgen
5994 TARGET-cgen=all
5995 maybe-all-cgen: all-cgen
5996 all-cgen: configure-cgen
5997 @: $(MAKE); $(unstage)
5998 @r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6000 $(HOST_EXPORTS) \
6001 (cd $(HOST_SUBDIR)/cgen && \
6002 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6003 $(TARGET-cgen))
6004 @endif cgen
6009 .PHONY: check-cgen maybe-check-cgen
6010 maybe-check-cgen:
6011 @if cgen
6012 maybe-check-cgen: check-cgen
6014 check-cgen:
6015 @: $(MAKE); $(unstage)
6016 @r=`${PWD_COMMAND}`; export r; \
6017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6018 $(HOST_EXPORTS) \
6019 (cd $(HOST_SUBDIR)/cgen && \
6020 $(MAKE) $(FLAGS_TO_PASS) check)
6022 @endif cgen
6024 .PHONY: install-cgen maybe-install-cgen
6025 maybe-install-cgen:
6026 @if cgen
6027 maybe-install-cgen: install-cgen
6029 install-cgen: installdirs
6030 @: $(MAKE); $(unstage)
6031 @r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 $(HOST_EXPORTS) \
6034 (cd $(HOST_SUBDIR)/cgen && \
6035 $(MAKE) $(FLAGS_TO_PASS) install)
6037 @endif cgen
6039 .PHONY: install-strip-cgen maybe-install-strip-cgen
6040 maybe-install-strip-cgen:
6041 @if cgen
6042 maybe-install-strip-cgen: install-strip-cgen
6044 install-strip-cgen: installdirs
6045 @: $(MAKE); $(unstage)
6046 @r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 $(HOST_EXPORTS) \
6049 (cd $(HOST_SUBDIR)/cgen && \
6050 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6052 @endif cgen
6054 # Other targets (info, dvi, pdf, etc.)
6056 .PHONY: maybe-info-cgen info-cgen
6057 maybe-info-cgen:
6058 @if cgen
6059 maybe-info-cgen: info-cgen
6061 info-cgen: \
6062 configure-cgen
6063 @: $(MAKE); $(unstage)
6064 @[ -f ./cgen/Makefile ] || exit 0; \
6065 r=`${PWD_COMMAND}`; export r; \
6066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6067 $(HOST_EXPORTS) \
6068 for flag in $(EXTRA_HOST_FLAGS) ; do \
6069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6070 done; \
6071 echo "Doing info in cgen" ; \
6072 (cd $(HOST_SUBDIR)/cgen && \
6073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6075 "RANLIB=$${RANLIB}" \
6076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6077 info) \
6078 || exit 1
6080 @endif cgen
6082 .PHONY: maybe-dvi-cgen dvi-cgen
6083 maybe-dvi-cgen:
6084 @if cgen
6085 maybe-dvi-cgen: dvi-cgen
6087 dvi-cgen: \
6088 configure-cgen
6089 @: $(MAKE); $(unstage)
6090 @[ -f ./cgen/Makefile ] || exit 0; \
6091 r=`${PWD_COMMAND}`; export r; \
6092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6093 $(HOST_EXPORTS) \
6094 for flag in $(EXTRA_HOST_FLAGS) ; do \
6095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6096 done; \
6097 echo "Doing dvi in cgen" ; \
6098 (cd $(HOST_SUBDIR)/cgen && \
6099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6101 "RANLIB=$${RANLIB}" \
6102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6103 dvi) \
6104 || exit 1
6106 @endif cgen
6108 .PHONY: maybe-pdf-cgen pdf-cgen
6109 maybe-pdf-cgen:
6110 @if cgen
6111 maybe-pdf-cgen: pdf-cgen
6113 pdf-cgen: \
6114 configure-cgen
6115 @: $(MAKE); $(unstage)
6116 @[ -f ./cgen/Makefile ] || exit 0; \
6117 r=`${PWD_COMMAND}`; export r; \
6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119 $(HOST_EXPORTS) \
6120 for flag in $(EXTRA_HOST_FLAGS) ; do \
6121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6122 done; \
6123 echo "Doing pdf in cgen" ; \
6124 (cd $(HOST_SUBDIR)/cgen && \
6125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6127 "RANLIB=$${RANLIB}" \
6128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6129 pdf) \
6130 || exit 1
6132 @endif cgen
6134 .PHONY: maybe-html-cgen html-cgen
6135 maybe-html-cgen:
6136 @if cgen
6137 maybe-html-cgen: html-cgen
6139 html-cgen: \
6140 configure-cgen
6141 @: $(MAKE); $(unstage)
6142 @[ -f ./cgen/Makefile ] || exit 0; \
6143 r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 $(HOST_EXPORTS) \
6146 for flag in $(EXTRA_HOST_FLAGS) ; do \
6147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6148 done; \
6149 echo "Doing html in cgen" ; \
6150 (cd $(HOST_SUBDIR)/cgen && \
6151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6153 "RANLIB=$${RANLIB}" \
6154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6155 html) \
6156 || exit 1
6158 @endif cgen
6160 .PHONY: maybe-TAGS-cgen TAGS-cgen
6161 maybe-TAGS-cgen:
6162 @if cgen
6163 maybe-TAGS-cgen: TAGS-cgen
6165 TAGS-cgen: \
6166 configure-cgen
6167 @: $(MAKE); $(unstage)
6168 @[ -f ./cgen/Makefile ] || exit 0; \
6169 r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 for flag in $(EXTRA_HOST_FLAGS) ; do \
6173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6174 done; \
6175 echo "Doing TAGS in cgen" ; \
6176 (cd $(HOST_SUBDIR)/cgen && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6179 "RANLIB=$${RANLIB}" \
6180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6181 TAGS) \
6182 || exit 1
6184 @endif cgen
6186 .PHONY: maybe-install-info-cgen install-info-cgen
6187 maybe-install-info-cgen:
6188 @if cgen
6189 maybe-install-info-cgen: install-info-cgen
6191 install-info-cgen: \
6192 configure-cgen \
6193 info-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 install-info 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 install-info) \
6209 || exit 1
6211 @endif cgen
6213 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6214 maybe-install-pdf-cgen:
6215 @if cgen
6216 maybe-install-pdf-cgen: install-pdf-cgen
6218 install-pdf-cgen: \
6219 configure-cgen \
6220 pdf-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-pdf 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-pdf) \
6236 || exit 1
6238 @endif cgen
6240 .PHONY: maybe-install-html-cgen install-html-cgen
6241 maybe-install-html-cgen:
6242 @if cgen
6243 maybe-install-html-cgen: install-html-cgen
6245 install-html-cgen: \
6246 configure-cgen \
6247 html-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-html 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-html) \
6263 || exit 1
6265 @endif cgen
6267 .PHONY: maybe-installcheck-cgen installcheck-cgen
6268 maybe-installcheck-cgen:
6269 @if cgen
6270 maybe-installcheck-cgen: installcheck-cgen
6272 installcheck-cgen: \
6273 configure-cgen
6274 @: $(MAKE); $(unstage)
6275 @[ -f ./cgen/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 for flag in $(EXTRA_HOST_FLAGS) ; do \
6280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6281 done; \
6282 echo "Doing installcheck in cgen" ; \
6283 (cd $(HOST_SUBDIR)/cgen && \
6284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6286 "RANLIB=$${RANLIB}" \
6287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6288 installcheck) \
6289 || exit 1
6291 @endif cgen
6293 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6294 maybe-mostlyclean-cgen:
6295 @if cgen
6296 maybe-mostlyclean-cgen: mostlyclean-cgen
6298 mostlyclean-cgen:
6299 @: $(MAKE); $(unstage)
6300 @[ -f ./cgen/Makefile ] || exit 0; \
6301 r=`${PWD_COMMAND}`; export r; \
6302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6303 $(HOST_EXPORTS) \
6304 for flag in $(EXTRA_HOST_FLAGS) ; do \
6305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6306 done; \
6307 echo "Doing mostlyclean in cgen" ; \
6308 (cd $(HOST_SUBDIR)/cgen && \
6309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6311 "RANLIB=$${RANLIB}" \
6312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6313 mostlyclean) \
6314 || exit 1
6316 @endif cgen
6318 .PHONY: maybe-clean-cgen clean-cgen
6319 maybe-clean-cgen:
6320 @if cgen
6321 maybe-clean-cgen: clean-cgen
6323 clean-cgen:
6324 @: $(MAKE); $(unstage)
6325 @[ -f ./cgen/Makefile ] || exit 0; \
6326 r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 $(HOST_EXPORTS) \
6329 for flag in $(EXTRA_HOST_FLAGS) ; do \
6330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6331 done; \
6332 echo "Doing clean in cgen" ; \
6333 (cd $(HOST_SUBDIR)/cgen && \
6334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6336 "RANLIB=$${RANLIB}" \
6337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6338 clean) \
6339 || exit 1
6341 @endif cgen
6343 .PHONY: maybe-distclean-cgen distclean-cgen
6344 maybe-distclean-cgen:
6345 @if cgen
6346 maybe-distclean-cgen: distclean-cgen
6348 distclean-cgen:
6349 @: $(MAKE); $(unstage)
6350 @[ -f ./cgen/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing distclean in cgen" ; \
6358 (cd $(HOST_SUBDIR)/cgen && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6363 distclean) \
6364 || exit 1
6366 @endif cgen
6368 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6369 maybe-maintainer-clean-cgen:
6370 @if cgen
6371 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6373 maintainer-clean-cgen:
6374 @: $(MAKE); $(unstage)
6375 @[ -f ./cgen/Makefile ] || exit 0; \
6376 r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 $(HOST_EXPORTS) \
6379 for flag in $(EXTRA_HOST_FLAGS) ; do \
6380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6381 done; \
6382 echo "Doing maintainer-clean in cgen" ; \
6383 (cd $(HOST_SUBDIR)/cgen && \
6384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6386 "RANLIB=$${RANLIB}" \
6387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6388 maintainer-clean) \
6389 || exit 1
6391 @endif cgen
6395 .PHONY: configure-dejagnu maybe-configure-dejagnu
6396 maybe-configure-dejagnu:
6397 @if gcc-bootstrap
6398 configure-dejagnu: stage_current
6399 @endif gcc-bootstrap
6400 @if dejagnu
6401 maybe-configure-dejagnu: configure-dejagnu
6402 configure-dejagnu:
6403 @: $(MAKE); $(unstage)
6404 @r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6408 $(HOST_EXPORTS) \
6409 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6410 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6411 case $(srcdir) in \
6412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6413 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6415 esac; \
6416 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6417 libsrcdir="$$s/dejagnu"; \
6418 $(SHELL) $${libsrcdir}/configure \
6419 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6420 --target=${target_alias} $${srcdiroption} \
6421 || exit 1
6422 @endif dejagnu
6428 .PHONY: all-dejagnu maybe-all-dejagnu
6429 maybe-all-dejagnu:
6430 @if gcc-bootstrap
6431 all-dejagnu: stage_current
6432 @endif gcc-bootstrap
6433 @if dejagnu
6434 TARGET-dejagnu=all
6435 maybe-all-dejagnu: all-dejagnu
6436 all-dejagnu: configure-dejagnu
6437 @: $(MAKE); $(unstage)
6438 @r=`${PWD_COMMAND}`; export r; \
6439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6440 $(HOST_EXPORTS) \
6441 (cd $(HOST_SUBDIR)/dejagnu && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6443 $(TARGET-dejagnu))
6444 @endif dejagnu
6449 .PHONY: check-dejagnu maybe-check-dejagnu
6450 maybe-check-dejagnu:
6451 @if dejagnu
6452 maybe-check-dejagnu: check-dejagnu
6454 check-dejagnu:
6455 @: $(MAKE); $(unstage)
6456 @r=`${PWD_COMMAND}`; export r; \
6457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6458 $(HOST_EXPORTS) \
6459 (cd $(HOST_SUBDIR)/dejagnu && \
6460 $(MAKE) $(FLAGS_TO_PASS) check)
6462 @endif dejagnu
6464 .PHONY: install-dejagnu maybe-install-dejagnu
6465 maybe-install-dejagnu:
6466 @if dejagnu
6467 maybe-install-dejagnu: install-dejagnu
6469 install-dejagnu: installdirs
6470 @: $(MAKE); $(unstage)
6471 @r=`${PWD_COMMAND}`; export r; \
6472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6473 $(HOST_EXPORTS) \
6474 (cd $(HOST_SUBDIR)/dejagnu && \
6475 $(MAKE) $(FLAGS_TO_PASS) install)
6477 @endif dejagnu
6479 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6480 maybe-install-strip-dejagnu:
6481 @if dejagnu
6482 maybe-install-strip-dejagnu: install-strip-dejagnu
6484 install-strip-dejagnu: installdirs
6485 @: $(MAKE); $(unstage)
6486 @r=`${PWD_COMMAND}`; export r; \
6487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6488 $(HOST_EXPORTS) \
6489 (cd $(HOST_SUBDIR)/dejagnu && \
6490 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6492 @endif dejagnu
6494 # Other targets (info, dvi, pdf, etc.)
6496 .PHONY: maybe-info-dejagnu info-dejagnu
6497 maybe-info-dejagnu:
6498 @if dejagnu
6499 maybe-info-dejagnu: info-dejagnu
6501 info-dejagnu: \
6502 configure-dejagnu
6503 @: $(MAKE); $(unstage)
6504 @[ -f ./dejagnu/Makefile ] || exit 0; \
6505 r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 $(HOST_EXPORTS) \
6508 for flag in $(EXTRA_HOST_FLAGS) ; do \
6509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6510 done; \
6511 echo "Doing info in dejagnu" ; \
6512 (cd $(HOST_SUBDIR)/dejagnu && \
6513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6515 "RANLIB=$${RANLIB}" \
6516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6517 info) \
6518 || exit 1
6520 @endif dejagnu
6522 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6523 maybe-dvi-dejagnu:
6524 @if dejagnu
6525 maybe-dvi-dejagnu: dvi-dejagnu
6527 dvi-dejagnu: \
6528 configure-dejagnu
6529 @: $(MAKE); $(unstage)
6530 @[ -f ./dejagnu/Makefile ] || exit 0; \
6531 r=`${PWD_COMMAND}`; export r; \
6532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6533 $(HOST_EXPORTS) \
6534 for flag in $(EXTRA_HOST_FLAGS) ; do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 done; \
6537 echo "Doing dvi in dejagnu" ; \
6538 (cd $(HOST_SUBDIR)/dejagnu && \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6543 dvi) \
6544 || exit 1
6546 @endif dejagnu
6548 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6549 maybe-pdf-dejagnu:
6550 @if dejagnu
6551 maybe-pdf-dejagnu: pdf-dejagnu
6553 pdf-dejagnu: \
6554 configure-dejagnu
6555 @: $(MAKE); $(unstage)
6556 @[ -f ./dejagnu/Makefile ] || exit 0; \
6557 r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(HOST_EXPORTS) \
6560 for flag in $(EXTRA_HOST_FLAGS) ; do \
6561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6562 done; \
6563 echo "Doing pdf in dejagnu" ; \
6564 (cd $(HOST_SUBDIR)/dejagnu && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6567 "RANLIB=$${RANLIB}" \
6568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6569 pdf) \
6570 || exit 1
6572 @endif dejagnu
6574 .PHONY: maybe-html-dejagnu html-dejagnu
6575 maybe-html-dejagnu:
6576 @if dejagnu
6577 maybe-html-dejagnu: html-dejagnu
6579 html-dejagnu: \
6580 configure-dejagnu
6581 @: $(MAKE); $(unstage)
6582 @[ -f ./dejagnu/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 $(HOST_EXPORTS) \
6586 for flag in $(EXTRA_HOST_FLAGS) ; do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 done; \
6589 echo "Doing html in dejagnu" ; \
6590 (cd $(HOST_SUBDIR)/dejagnu && \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6595 html) \
6596 || exit 1
6598 @endif dejagnu
6600 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6601 maybe-TAGS-dejagnu:
6602 @if dejagnu
6603 maybe-TAGS-dejagnu: TAGS-dejagnu
6605 TAGS-dejagnu: \
6606 configure-dejagnu
6607 @: $(MAKE); $(unstage)
6608 @[ -f ./dejagnu/Makefile ] || exit 0; \
6609 r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 $(HOST_EXPORTS) \
6612 for flag in $(EXTRA_HOST_FLAGS) ; do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 done; \
6615 echo "Doing TAGS in dejagnu" ; \
6616 (cd $(HOST_SUBDIR)/dejagnu && \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6621 TAGS) \
6622 || exit 1
6624 @endif dejagnu
6626 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6627 maybe-install-info-dejagnu:
6628 @if dejagnu
6629 maybe-install-info-dejagnu: install-info-dejagnu
6631 install-info-dejagnu: \
6632 configure-dejagnu \
6633 info-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 install-info 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 install-info) \
6649 || exit 1
6651 @endif dejagnu
6653 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6654 maybe-install-pdf-dejagnu:
6655 @if dejagnu
6656 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6658 install-pdf-dejagnu: \
6659 configure-dejagnu \
6660 pdf-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-pdf 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-pdf) \
6676 || exit 1
6678 @endif dejagnu
6680 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6681 maybe-install-html-dejagnu:
6682 @if dejagnu
6683 maybe-install-html-dejagnu: install-html-dejagnu
6685 install-html-dejagnu: \
6686 configure-dejagnu \
6687 html-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-html 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-html) \
6703 || exit 1
6705 @endif dejagnu
6707 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6708 maybe-installcheck-dejagnu:
6709 @if dejagnu
6710 maybe-installcheck-dejagnu: installcheck-dejagnu
6712 installcheck-dejagnu: \
6713 configure-dejagnu
6714 @: $(MAKE); $(unstage)
6715 @[ -f ./dejagnu/Makefile ] || exit 0; \
6716 r=`${PWD_COMMAND}`; export r; \
6717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718 $(HOST_EXPORTS) \
6719 for flag in $(EXTRA_HOST_FLAGS) ; do \
6720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6721 done; \
6722 echo "Doing installcheck in dejagnu" ; \
6723 (cd $(HOST_SUBDIR)/dejagnu && \
6724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6726 "RANLIB=$${RANLIB}" \
6727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6728 installcheck) \
6729 || exit 1
6731 @endif dejagnu
6733 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6734 maybe-mostlyclean-dejagnu:
6735 @if dejagnu
6736 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6738 mostlyclean-dejagnu:
6739 @: $(MAKE); $(unstage)
6740 @[ -f ./dejagnu/Makefile ] || exit 0; \
6741 r=`${PWD_COMMAND}`; export r; \
6742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6743 $(HOST_EXPORTS) \
6744 for flag in $(EXTRA_HOST_FLAGS) ; do \
6745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6746 done; \
6747 echo "Doing mostlyclean in dejagnu" ; \
6748 (cd $(HOST_SUBDIR)/dejagnu && \
6749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6751 "RANLIB=$${RANLIB}" \
6752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6753 mostlyclean) \
6754 || exit 1
6756 @endif dejagnu
6758 .PHONY: maybe-clean-dejagnu clean-dejagnu
6759 maybe-clean-dejagnu:
6760 @if dejagnu
6761 maybe-clean-dejagnu: clean-dejagnu
6763 clean-dejagnu:
6764 @: $(MAKE); $(unstage)
6765 @[ -f ./dejagnu/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing clean in dejagnu" ; \
6773 (cd $(HOST_SUBDIR)/dejagnu && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6778 clean) \
6779 || exit 1
6781 @endif dejagnu
6783 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6784 maybe-distclean-dejagnu:
6785 @if dejagnu
6786 maybe-distclean-dejagnu: distclean-dejagnu
6788 distclean-dejagnu:
6789 @: $(MAKE); $(unstage)
6790 @[ -f ./dejagnu/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793 $(HOST_EXPORTS) \
6794 for flag in $(EXTRA_HOST_FLAGS) ; do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796 done; \
6797 echo "Doing distclean in dejagnu" ; \
6798 (cd $(HOST_SUBDIR)/dejagnu && \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6803 distclean) \
6804 || exit 1
6806 @endif dejagnu
6808 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6809 maybe-maintainer-clean-dejagnu:
6810 @if dejagnu
6811 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6813 maintainer-clean-dejagnu:
6814 @: $(MAKE); $(unstage)
6815 @[ -f ./dejagnu/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 for flag in $(EXTRA_HOST_FLAGS) ; do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821 done; \
6822 echo "Doing maintainer-clean in dejagnu" ; \
6823 (cd $(HOST_SUBDIR)/dejagnu && \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6828 maintainer-clean) \
6829 || exit 1
6831 @endif dejagnu
6835 .PHONY: configure-etc maybe-configure-etc
6836 maybe-configure-etc:
6837 @if gcc-bootstrap
6838 configure-etc: stage_current
6839 @endif gcc-bootstrap
6840 @if etc
6841 maybe-configure-etc: configure-etc
6842 configure-etc:
6843 @: $(MAKE); $(unstage)
6844 @r=`${PWD_COMMAND}`; export r; \
6845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6848 $(HOST_EXPORTS) \
6849 echo Configuring in $(HOST_SUBDIR)/etc; \
6850 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6851 case $(srcdir) in \
6852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6853 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6855 esac; \
6856 srcdiroption="--srcdir=$${topdir}/etc"; \
6857 libsrcdir="$$s/etc"; \
6858 $(SHELL) $${libsrcdir}/configure \
6859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6860 --target=${target_alias} $${srcdiroption} \
6861 || exit 1
6862 @endif etc
6868 .PHONY: all-etc maybe-all-etc
6869 maybe-all-etc:
6870 @if gcc-bootstrap
6871 all-etc: stage_current
6872 @endif gcc-bootstrap
6873 @if etc
6874 TARGET-etc=all
6875 maybe-all-etc: all-etc
6876 all-etc: configure-etc
6877 @: $(MAKE); $(unstage)
6878 @r=`${PWD_COMMAND}`; export r; \
6879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6880 $(HOST_EXPORTS) \
6881 (cd $(HOST_SUBDIR)/etc && \
6882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6883 $(TARGET-etc))
6884 @endif etc
6889 .PHONY: check-etc maybe-check-etc
6890 maybe-check-etc:
6891 @if etc
6892 maybe-check-etc: check-etc
6894 check-etc:
6895 @: $(MAKE); $(unstage)
6896 @r=`${PWD_COMMAND}`; export r; \
6897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6898 $(HOST_EXPORTS) \
6899 (cd $(HOST_SUBDIR)/etc && \
6900 $(MAKE) $(FLAGS_TO_PASS) check)
6902 @endif etc
6904 .PHONY: install-etc maybe-install-etc
6905 maybe-install-etc:
6906 @if etc
6907 maybe-install-etc: install-etc
6909 install-etc: installdirs
6910 @: $(MAKE); $(unstage)
6911 @r=`${PWD_COMMAND}`; export r; \
6912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6913 $(HOST_EXPORTS) \
6914 (cd $(HOST_SUBDIR)/etc && \
6915 $(MAKE) $(FLAGS_TO_PASS) install)
6917 @endif etc
6919 .PHONY: install-strip-etc maybe-install-strip-etc
6920 maybe-install-strip-etc:
6921 @if etc
6922 maybe-install-strip-etc: install-strip-etc
6924 install-strip-etc: installdirs
6925 @: $(MAKE); $(unstage)
6926 @r=`${PWD_COMMAND}`; export r; \
6927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6928 $(HOST_EXPORTS) \
6929 (cd $(HOST_SUBDIR)/etc && \
6930 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6932 @endif etc
6934 # Other targets (info, dvi, pdf, etc.)
6936 .PHONY: maybe-info-etc info-etc
6937 maybe-info-etc:
6938 @if etc
6939 maybe-info-etc: info-etc
6941 info-etc: \
6942 configure-etc
6943 @: $(MAKE); $(unstage)
6944 @[ -f ./etc/Makefile ] || exit 0; \
6945 r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6947 $(HOST_EXPORTS) \
6948 for flag in $(EXTRA_HOST_FLAGS) ; do \
6949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6950 done; \
6951 echo "Doing info in etc" ; \
6952 (cd $(HOST_SUBDIR)/etc && \
6953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6955 "RANLIB=$${RANLIB}" \
6956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6957 info) \
6958 || exit 1
6960 @endif etc
6962 .PHONY: maybe-dvi-etc dvi-etc
6963 maybe-dvi-etc:
6964 @if etc
6965 maybe-dvi-etc: dvi-etc
6967 dvi-etc: \
6968 configure-etc
6969 @: $(MAKE); $(unstage)
6970 @[ -f ./etc/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing dvi in etc" ; \
6978 (cd $(HOST_SUBDIR)/etc && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6983 dvi) \
6984 || exit 1
6986 @endif etc
6988 .PHONY: maybe-pdf-etc pdf-etc
6989 maybe-pdf-etc:
6990 @if etc
6991 maybe-pdf-etc: pdf-etc
6993 pdf-etc: \
6994 configure-etc
6995 @: $(MAKE); $(unstage)
6996 @[ -f ./etc/Makefile ] || exit 0; \
6997 r=`${PWD_COMMAND}`; export r; \
6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 $(HOST_EXPORTS) \
7000 for flag in $(EXTRA_HOST_FLAGS) ; do \
7001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7002 done; \
7003 echo "Doing pdf in etc" ; \
7004 (cd $(HOST_SUBDIR)/etc && \
7005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7007 "RANLIB=$${RANLIB}" \
7008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7009 pdf) \
7010 || exit 1
7012 @endif etc
7014 .PHONY: maybe-html-etc html-etc
7015 maybe-html-etc:
7016 @if etc
7017 maybe-html-etc: html-etc
7019 html-etc: \
7020 configure-etc
7021 @: $(MAKE); $(unstage)
7022 @[ -f ./etc/Makefile ] || exit 0; \
7023 r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025 $(HOST_EXPORTS) \
7026 for flag in $(EXTRA_HOST_FLAGS) ; do \
7027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7028 done; \
7029 echo "Doing html in etc" ; \
7030 (cd $(HOST_SUBDIR)/etc && \
7031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7033 "RANLIB=$${RANLIB}" \
7034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7035 html) \
7036 || exit 1
7038 @endif etc
7040 .PHONY: maybe-TAGS-etc TAGS-etc
7041 maybe-TAGS-etc:
7042 @if etc
7043 maybe-TAGS-etc: TAGS-etc
7045 TAGS-etc: \
7046 configure-etc
7047 @: $(MAKE); $(unstage)
7048 @[ -f ./etc/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing TAGS in etc" ; \
7056 (cd $(HOST_SUBDIR)/etc && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7061 TAGS) \
7062 || exit 1
7064 @endif etc
7066 .PHONY: maybe-install-info-etc install-info-etc
7067 maybe-install-info-etc:
7068 @if etc
7069 maybe-install-info-etc: install-info-etc
7071 install-info-etc: \
7072 configure-etc \
7073 info-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 install-info 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 install-info) \
7089 || exit 1
7091 @endif etc
7093 .PHONY: maybe-install-pdf-etc install-pdf-etc
7094 maybe-install-pdf-etc:
7095 @if etc
7096 maybe-install-pdf-etc: install-pdf-etc
7098 install-pdf-etc: \
7099 configure-etc \
7100 pdf-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-pdf 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-pdf) \
7116 || exit 1
7118 @endif etc
7120 .PHONY: maybe-install-html-etc install-html-etc
7121 maybe-install-html-etc:
7122 @if etc
7123 maybe-install-html-etc: install-html-etc
7125 install-html-etc: \
7126 configure-etc \
7127 html-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-html 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-html) \
7143 || exit 1
7145 @endif etc
7147 .PHONY: maybe-installcheck-etc installcheck-etc
7148 maybe-installcheck-etc:
7149 @if etc
7150 maybe-installcheck-etc: installcheck-etc
7152 installcheck-etc: \
7153 configure-etc
7154 @: $(MAKE); $(unstage)
7155 @[ -f ./etc/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing installcheck in etc" ; \
7163 (cd $(HOST_SUBDIR)/etc && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7168 installcheck) \
7169 || exit 1
7171 @endif etc
7173 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7174 maybe-mostlyclean-etc:
7175 @if etc
7176 maybe-mostlyclean-etc: mostlyclean-etc
7178 mostlyclean-etc:
7179 @: $(MAKE); $(unstage)
7180 @[ -f ./etc/Makefile ] || exit 0; \
7181 r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(HOST_EXPORTS) \
7184 for flag in $(EXTRA_HOST_FLAGS) ; do \
7185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186 done; \
7187 echo "Doing mostlyclean in etc" ; \
7188 (cd $(HOST_SUBDIR)/etc && \
7189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191 "RANLIB=$${RANLIB}" \
7192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7193 mostlyclean) \
7194 || exit 1
7196 @endif etc
7198 .PHONY: maybe-clean-etc clean-etc
7199 maybe-clean-etc:
7200 @if etc
7201 maybe-clean-etc: clean-etc
7203 clean-etc:
7204 @: $(MAKE); $(unstage)
7205 @[ -f ./etc/Makefile ] || exit 0; \
7206 r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(HOST_EXPORTS) \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing clean in etc" ; \
7213 (cd $(HOST_SUBDIR)/etc && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7218 clean) \
7219 || exit 1
7221 @endif etc
7223 .PHONY: maybe-distclean-etc distclean-etc
7224 maybe-distclean-etc:
7225 @if etc
7226 maybe-distclean-etc: distclean-etc
7228 distclean-etc:
7229 @: $(MAKE); $(unstage)
7230 @[ -f ./etc/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(HOST_EXPORTS) \
7234 for flag in $(EXTRA_HOST_FLAGS) ; do \
7235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7236 done; \
7237 echo "Doing distclean in etc" ; \
7238 (cd $(HOST_SUBDIR)/etc && \
7239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7241 "RANLIB=$${RANLIB}" \
7242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7243 distclean) \
7244 || exit 1
7246 @endif etc
7248 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7249 maybe-maintainer-clean-etc:
7250 @if etc
7251 maybe-maintainer-clean-etc: maintainer-clean-etc
7253 maintainer-clean-etc:
7254 @: $(MAKE); $(unstage)
7255 @[ -f ./etc/Makefile ] || exit 0; \
7256 r=`${PWD_COMMAND}`; export r; \
7257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7258 $(HOST_EXPORTS) \
7259 for flag in $(EXTRA_HOST_FLAGS) ; do \
7260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7261 done; \
7262 echo "Doing maintainer-clean in etc" ; \
7263 (cd $(HOST_SUBDIR)/etc && \
7264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7266 "RANLIB=$${RANLIB}" \
7267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7268 maintainer-clean) \
7269 || exit 1
7271 @endif etc
7275 .PHONY: configure-fastjar maybe-configure-fastjar
7276 maybe-configure-fastjar:
7277 @if gcc-bootstrap
7278 configure-fastjar: stage_current
7279 @endif gcc-bootstrap
7280 @if fastjar
7281 maybe-configure-fastjar: configure-fastjar
7282 configure-fastjar:
7283 @: $(MAKE); $(unstage)
7284 @r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7288 $(HOST_EXPORTS) \
7289 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7290 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7291 case $(srcdir) in \
7292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7293 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7295 esac; \
7296 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7297 libsrcdir="$$s/fastjar"; \
7298 $(SHELL) $${libsrcdir}/configure \
7299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7300 --target=${target_alias} $${srcdiroption} \
7301 || exit 1
7302 @endif fastjar
7308 .PHONY: all-fastjar maybe-all-fastjar
7309 maybe-all-fastjar:
7310 @if gcc-bootstrap
7311 all-fastjar: stage_current
7312 @endif gcc-bootstrap
7313 @if fastjar
7314 TARGET-fastjar=all
7315 maybe-all-fastjar: all-fastjar
7316 all-fastjar: configure-fastjar
7317 @: $(MAKE); $(unstage)
7318 @r=`${PWD_COMMAND}`; export r; \
7319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7320 $(HOST_EXPORTS) \
7321 (cd $(HOST_SUBDIR)/fastjar && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7323 $(TARGET-fastjar))
7324 @endif fastjar
7329 .PHONY: check-fastjar maybe-check-fastjar
7330 maybe-check-fastjar:
7331 @if fastjar
7332 maybe-check-fastjar: check-fastjar
7334 # This module is only tested in a native toolchain.
7335 check-fastjar:
7336 @: $(MAKE); $(unstage)
7337 @if [ '$(host)' = '$(target)' ] ; then \
7338 r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(HOST_EXPORTS) \
7341 (cd $(HOST_SUBDIR)/fastjar && \
7342 $(MAKE) $(FLAGS_TO_PASS) check); \
7345 @endif fastjar
7347 .PHONY: install-fastjar maybe-install-fastjar
7348 maybe-install-fastjar:
7349 @if fastjar
7350 maybe-install-fastjar: install-fastjar
7352 install-fastjar: installdirs
7353 @: $(MAKE); $(unstage)
7354 @r=`${PWD_COMMAND}`; export r; \
7355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7356 $(HOST_EXPORTS) \
7357 (cd $(HOST_SUBDIR)/fastjar && \
7358 $(MAKE) $(FLAGS_TO_PASS) install)
7360 @endif fastjar
7362 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7363 maybe-install-strip-fastjar:
7364 @if fastjar
7365 maybe-install-strip-fastjar: install-strip-fastjar
7367 install-strip-fastjar: installdirs
7368 @: $(MAKE); $(unstage)
7369 @r=`${PWD_COMMAND}`; export r; \
7370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7371 $(HOST_EXPORTS) \
7372 (cd $(HOST_SUBDIR)/fastjar && \
7373 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7375 @endif fastjar
7377 # Other targets (info, dvi, pdf, etc.)
7379 .PHONY: maybe-info-fastjar info-fastjar
7380 maybe-info-fastjar:
7381 @if fastjar
7382 maybe-info-fastjar: info-fastjar
7384 info-fastjar: \
7385 configure-fastjar
7386 @: $(MAKE); $(unstage)
7387 @[ -f ./fastjar/Makefile ] || exit 0; \
7388 r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 $(HOST_EXPORTS) \
7391 for flag in $(EXTRA_HOST_FLAGS) ; do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 done; \
7394 echo "Doing info in fastjar" ; \
7395 (cd $(HOST_SUBDIR)/fastjar && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7400 info) \
7401 || exit 1
7403 @endif fastjar
7405 .PHONY: maybe-dvi-fastjar dvi-fastjar
7406 maybe-dvi-fastjar:
7407 @if fastjar
7408 maybe-dvi-fastjar: dvi-fastjar
7410 dvi-fastjar: \
7411 configure-fastjar
7412 @: $(MAKE); $(unstage)
7413 @[ -f ./fastjar/Makefile ] || exit 0; \
7414 r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(HOST_EXPORTS) \
7417 for flag in $(EXTRA_HOST_FLAGS) ; do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 done; \
7420 echo "Doing dvi in fastjar" ; \
7421 (cd $(HOST_SUBDIR)/fastjar && \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7426 dvi) \
7427 || exit 1
7429 @endif fastjar
7431 .PHONY: maybe-pdf-fastjar pdf-fastjar
7432 maybe-pdf-fastjar:
7433 @if fastjar
7434 maybe-pdf-fastjar: pdf-fastjar
7436 pdf-fastjar: \
7437 configure-fastjar
7438 @: $(MAKE); $(unstage)
7439 @[ -f ./fastjar/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing pdf in fastjar" ; \
7447 (cd $(HOST_SUBDIR)/fastjar && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7452 pdf) \
7453 || exit 1
7455 @endif fastjar
7457 .PHONY: maybe-html-fastjar html-fastjar
7458 maybe-html-fastjar:
7459 @if fastjar
7460 maybe-html-fastjar: html-fastjar
7462 html-fastjar: \
7463 configure-fastjar
7464 @: $(MAKE); $(unstage)
7465 @[ -f ./fastjar/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing html in fastjar" ; \
7473 (cd $(HOST_SUBDIR)/fastjar && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7478 html) \
7479 || exit 1
7481 @endif fastjar
7483 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7484 maybe-TAGS-fastjar:
7485 @if fastjar
7486 maybe-TAGS-fastjar: TAGS-fastjar
7488 TAGS-fastjar: \
7489 configure-fastjar
7490 @: $(MAKE); $(unstage)
7491 @[ -f ./fastjar/Makefile ] || exit 0; \
7492 r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 $(HOST_EXPORTS) \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 done; \
7498 echo "Doing TAGS in fastjar" ; \
7499 (cd $(HOST_SUBDIR)/fastjar && \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7504 TAGS) \
7505 || exit 1
7507 @endif fastjar
7509 .PHONY: maybe-install-info-fastjar install-info-fastjar
7510 maybe-install-info-fastjar:
7511 @if fastjar
7512 maybe-install-info-fastjar: install-info-fastjar
7514 install-info-fastjar: \
7515 configure-fastjar \
7516 info-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 install-info 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 install-info) \
7532 || exit 1
7534 @endif fastjar
7536 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7537 maybe-install-pdf-fastjar:
7538 @if fastjar
7539 maybe-install-pdf-fastjar: install-pdf-fastjar
7541 install-pdf-fastjar: \
7542 configure-fastjar \
7543 pdf-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-pdf 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-pdf) \
7559 || exit 1
7561 @endif fastjar
7563 .PHONY: maybe-install-html-fastjar install-html-fastjar
7564 maybe-install-html-fastjar:
7565 @if fastjar
7566 maybe-install-html-fastjar: install-html-fastjar
7568 install-html-fastjar: \
7569 configure-fastjar \
7570 html-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-html 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-html) \
7586 || exit 1
7588 @endif fastjar
7590 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7591 maybe-installcheck-fastjar:
7592 @if fastjar
7593 maybe-installcheck-fastjar: installcheck-fastjar
7595 installcheck-fastjar: \
7596 configure-fastjar
7597 @: $(MAKE); $(unstage)
7598 @[ -f ./fastjar/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(HOST_EXPORTS) \
7602 for flag in $(EXTRA_HOST_FLAGS) ; do \
7603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7604 done; \
7605 echo "Doing installcheck in fastjar" ; \
7606 (cd $(HOST_SUBDIR)/fastjar && \
7607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7609 "RANLIB=$${RANLIB}" \
7610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7611 installcheck) \
7612 || exit 1
7614 @endif fastjar
7616 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7617 maybe-mostlyclean-fastjar:
7618 @if fastjar
7619 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7621 mostlyclean-fastjar:
7622 @: $(MAKE); $(unstage)
7623 @[ -f ./fastjar/Makefile ] || exit 0; \
7624 r=`${PWD_COMMAND}`; export r; \
7625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7626 $(HOST_EXPORTS) \
7627 for flag in $(EXTRA_HOST_FLAGS) ; do \
7628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7629 done; \
7630 echo "Doing mostlyclean in fastjar" ; \
7631 (cd $(HOST_SUBDIR)/fastjar && \
7632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7634 "RANLIB=$${RANLIB}" \
7635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7636 mostlyclean) \
7637 || exit 1
7639 @endif fastjar
7641 .PHONY: maybe-clean-fastjar clean-fastjar
7642 maybe-clean-fastjar:
7643 @if fastjar
7644 maybe-clean-fastjar: clean-fastjar
7646 clean-fastjar:
7647 @: $(MAKE); $(unstage)
7648 @[ -f ./fastjar/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(HOST_EXPORTS) \
7652 for flag in $(EXTRA_HOST_FLAGS) ; do \
7653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7654 done; \
7655 echo "Doing clean in fastjar" ; \
7656 (cd $(HOST_SUBDIR)/fastjar && \
7657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7659 "RANLIB=$${RANLIB}" \
7660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7661 clean) \
7662 || exit 1
7664 @endif fastjar
7666 .PHONY: maybe-distclean-fastjar distclean-fastjar
7667 maybe-distclean-fastjar:
7668 @if fastjar
7669 maybe-distclean-fastjar: distclean-fastjar
7671 distclean-fastjar:
7672 @: $(MAKE); $(unstage)
7673 @[ -f ./fastjar/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing distclean in fastjar" ; \
7681 (cd $(HOST_SUBDIR)/fastjar && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 distclean) \
7687 || exit 1
7689 @endif fastjar
7691 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7692 maybe-maintainer-clean-fastjar:
7693 @if fastjar
7694 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7696 maintainer-clean-fastjar:
7697 @: $(MAKE); $(unstage)
7698 @[ -f ./fastjar/Makefile ] || exit 0; \
7699 r=`${PWD_COMMAND}`; export r; \
7700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7701 $(HOST_EXPORTS) \
7702 for flag in $(EXTRA_HOST_FLAGS) ; do \
7703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7704 done; \
7705 echo "Doing maintainer-clean in fastjar" ; \
7706 (cd $(HOST_SUBDIR)/fastjar && \
7707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7709 "RANLIB=$${RANLIB}" \
7710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7711 maintainer-clean) \
7712 || exit 1
7714 @endif fastjar
7718 .PHONY: configure-fixincludes maybe-configure-fixincludes
7719 maybe-configure-fixincludes:
7720 @if gcc-bootstrap
7721 configure-fixincludes: stage_current
7722 @endif gcc-bootstrap
7723 @if fixincludes
7724 maybe-configure-fixincludes: configure-fixincludes
7725 configure-fixincludes:
7726 @: $(MAKE); $(unstage)
7727 @r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7731 $(HOST_EXPORTS) \
7732 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7733 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7734 case $(srcdir) in \
7735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7736 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7738 esac; \
7739 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7740 libsrcdir="$$s/fixincludes"; \
7741 $(SHELL) $${libsrcdir}/configure \
7742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7743 --target=${target_alias} $${srcdiroption} \
7744 || exit 1
7745 @endif fixincludes
7751 .PHONY: all-fixincludes maybe-all-fixincludes
7752 maybe-all-fixincludes:
7753 @if gcc-bootstrap
7754 all-fixincludes: stage_current
7755 @endif gcc-bootstrap
7756 @if fixincludes
7757 TARGET-fixincludes=all
7758 maybe-all-fixincludes: all-fixincludes
7759 all-fixincludes: configure-fixincludes
7760 @: $(MAKE); $(unstage)
7761 @r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 $(HOST_EXPORTS) \
7764 (cd $(HOST_SUBDIR)/fixincludes && \
7765 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7766 $(TARGET-fixincludes))
7767 @endif fixincludes
7772 .PHONY: check-fixincludes maybe-check-fixincludes
7773 maybe-check-fixincludes:
7774 @if fixincludes
7775 maybe-check-fixincludes: check-fixincludes
7777 check-fixincludes:
7778 @: $(MAKE); $(unstage)
7779 @r=`${PWD_COMMAND}`; export r; \
7780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7781 $(HOST_EXPORTS) \
7782 (cd $(HOST_SUBDIR)/fixincludes && \
7783 $(MAKE) $(FLAGS_TO_PASS) check)
7785 @endif fixincludes
7787 .PHONY: install-fixincludes maybe-install-fixincludes
7788 maybe-install-fixincludes:
7789 @if fixincludes
7790 maybe-install-fixincludes: install-fixincludes
7792 install-fixincludes: installdirs
7793 @: $(MAKE); $(unstage)
7794 @r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 (cd $(HOST_SUBDIR)/fixincludes && \
7798 $(MAKE) $(FLAGS_TO_PASS) install)
7800 @endif fixincludes
7802 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7803 maybe-install-strip-fixincludes:
7804 @if fixincludes
7805 maybe-install-strip-fixincludes: install-strip-fixincludes
7807 install-strip-fixincludes: installdirs
7808 @: $(MAKE); $(unstage)
7809 @r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 $(HOST_EXPORTS) \
7812 (cd $(HOST_SUBDIR)/fixincludes && \
7813 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7815 @endif fixincludes
7817 # Other targets (info, dvi, pdf, etc.)
7819 .PHONY: maybe-info-fixincludes info-fixincludes
7820 maybe-info-fixincludes:
7821 @if fixincludes
7822 maybe-info-fixincludes: info-fixincludes
7824 info-fixincludes: \
7825 configure-fixincludes
7826 @: $(MAKE); $(unstage)
7827 @[ -f ./fixincludes/Makefile ] || exit 0; \
7828 r=`${PWD_COMMAND}`; export r; \
7829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7830 $(HOST_EXPORTS) \
7831 for flag in $(EXTRA_HOST_FLAGS) ; do \
7832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7833 done; \
7834 echo "Doing info in fixincludes" ; \
7835 (cd $(HOST_SUBDIR)/fixincludes && \
7836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7838 "RANLIB=$${RANLIB}" \
7839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7840 info) \
7841 || exit 1
7843 @endif fixincludes
7845 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7846 maybe-dvi-fixincludes:
7847 @if fixincludes
7848 maybe-dvi-fixincludes: dvi-fixincludes
7850 dvi-fixincludes: \
7851 configure-fixincludes
7852 @: $(MAKE); $(unstage)
7853 @[ -f ./fixincludes/Makefile ] || exit 0; \
7854 r=`${PWD_COMMAND}`; export r; \
7855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7856 $(HOST_EXPORTS) \
7857 for flag in $(EXTRA_HOST_FLAGS) ; do \
7858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7859 done; \
7860 echo "Doing dvi in fixincludes" ; \
7861 (cd $(HOST_SUBDIR)/fixincludes && \
7862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7864 "RANLIB=$${RANLIB}" \
7865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7866 dvi) \
7867 || exit 1
7869 @endif fixincludes
7871 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7872 maybe-pdf-fixincludes:
7873 @if fixincludes
7874 maybe-pdf-fixincludes: pdf-fixincludes
7876 pdf-fixincludes: \
7877 configure-fixincludes
7878 @: $(MAKE); $(unstage)
7879 @[ -f ./fixincludes/Makefile ] || exit 0; \
7880 r=`${PWD_COMMAND}`; export r; \
7881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7882 $(HOST_EXPORTS) \
7883 for flag in $(EXTRA_HOST_FLAGS) ; do \
7884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7885 done; \
7886 echo "Doing pdf in fixincludes" ; \
7887 (cd $(HOST_SUBDIR)/fixincludes && \
7888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7890 "RANLIB=$${RANLIB}" \
7891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7892 pdf) \
7893 || exit 1
7895 @endif fixincludes
7897 .PHONY: maybe-html-fixincludes html-fixincludes
7898 maybe-html-fixincludes:
7899 @if fixincludes
7900 maybe-html-fixincludes: html-fixincludes
7902 html-fixincludes: \
7903 configure-fixincludes
7904 @: $(MAKE); $(unstage)
7905 @[ -f ./fixincludes/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 $(HOST_EXPORTS) \
7909 for flag in $(EXTRA_HOST_FLAGS) ; do \
7910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7911 done; \
7912 echo "Doing html in fixincludes" ; \
7913 (cd $(HOST_SUBDIR)/fixincludes && \
7914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916 "RANLIB=$${RANLIB}" \
7917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7918 html) \
7919 || exit 1
7921 @endif fixincludes
7923 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7924 maybe-TAGS-fixincludes:
7925 @if fixincludes
7926 maybe-TAGS-fixincludes: TAGS-fixincludes
7928 # fixincludes doesn't support TAGS.
7929 TAGS-fixincludes:
7931 @endif fixincludes
7933 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7934 maybe-install-info-fixincludes:
7935 @if fixincludes
7936 maybe-install-info-fixincludes: install-info-fixincludes
7938 install-info-fixincludes: \
7939 configure-fixincludes \
7940 info-fixincludes
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./fixincludes/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing install-info in fixincludes" ; \
7950 (cd $(HOST_SUBDIR)/fixincludes && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 install-info) \
7956 || exit 1
7958 @endif fixincludes
7960 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7961 maybe-install-pdf-fixincludes:
7962 @if fixincludes
7963 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7965 install-pdf-fixincludes: \
7966 configure-fixincludes \
7967 pdf-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-pdf 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-pdf) \
7983 || exit 1
7985 @endif fixincludes
7987 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
7988 maybe-install-html-fixincludes:
7989 @if fixincludes
7990 maybe-install-html-fixincludes: install-html-fixincludes
7992 install-html-fixincludes: \
7993 configure-fixincludes \
7994 html-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-html 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-html) \
8010 || exit 1
8012 @endif fixincludes
8014 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8015 maybe-installcheck-fixincludes:
8016 @if fixincludes
8017 maybe-installcheck-fixincludes: installcheck-fixincludes
8019 installcheck-fixincludes: \
8020 configure-fixincludes
8021 @: $(MAKE); $(unstage)
8022 @[ -f ./fixincludes/Makefile ] || exit 0; \
8023 r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 $(HOST_EXPORTS) \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 done; \
8029 echo "Doing installcheck in fixincludes" ; \
8030 (cd $(HOST_SUBDIR)/fixincludes && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8035 installcheck) \
8036 || exit 1
8038 @endif fixincludes
8040 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8041 maybe-mostlyclean-fixincludes:
8042 @if fixincludes
8043 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8045 mostlyclean-fixincludes:
8046 @: $(MAKE); $(unstage)
8047 @[ -f ./fixincludes/Makefile ] || exit 0; \
8048 r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 $(HOST_EXPORTS) \
8051 for flag in $(EXTRA_HOST_FLAGS) ; do \
8052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 done; \
8054 echo "Doing mostlyclean in fixincludes" ; \
8055 (cd $(HOST_SUBDIR)/fixincludes && \
8056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8058 "RANLIB=$${RANLIB}" \
8059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8060 mostlyclean) \
8061 || exit 1
8063 @endif fixincludes
8065 .PHONY: maybe-clean-fixincludes clean-fixincludes
8066 maybe-clean-fixincludes:
8067 @if fixincludes
8068 maybe-clean-fixincludes: clean-fixincludes
8070 clean-fixincludes:
8071 @: $(MAKE); $(unstage)
8072 @[ -f ./fixincludes/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(HOST_EXPORTS) \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8078 done; \
8079 echo "Doing clean in fixincludes" ; \
8080 (cd $(HOST_SUBDIR)/fixincludes && \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8085 clean) \
8086 || exit 1
8088 @endif fixincludes
8090 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8091 maybe-distclean-fixincludes:
8092 @if fixincludes
8093 maybe-distclean-fixincludes: distclean-fixincludes
8095 distclean-fixincludes:
8096 @: $(MAKE); $(unstage)
8097 @[ -f ./fixincludes/Makefile ] || exit 0; \
8098 r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 $(HOST_EXPORTS) \
8101 for flag in $(EXTRA_HOST_FLAGS) ; do \
8102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8103 done; \
8104 echo "Doing distclean in fixincludes" ; \
8105 (cd $(HOST_SUBDIR)/fixincludes && \
8106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8108 "RANLIB=$${RANLIB}" \
8109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8110 distclean) \
8111 || exit 1
8113 @endif fixincludes
8115 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8116 maybe-maintainer-clean-fixincludes:
8117 @if fixincludes
8118 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8120 maintainer-clean-fixincludes:
8121 @: $(MAKE); $(unstage)
8122 @[ -f ./fixincludes/Makefile ] || exit 0; \
8123 r=`${PWD_COMMAND}`; export r; \
8124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8125 $(HOST_EXPORTS) \
8126 for flag in $(EXTRA_HOST_FLAGS) ; do \
8127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8128 done; \
8129 echo "Doing maintainer-clean in fixincludes" ; \
8130 (cd $(HOST_SUBDIR)/fixincludes && \
8131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8133 "RANLIB=$${RANLIB}" \
8134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8135 maintainer-clean) \
8136 || exit 1
8138 @endif fixincludes
8142 .PHONY: configure-flex maybe-configure-flex
8143 maybe-configure-flex:
8144 @if gcc-bootstrap
8145 configure-flex: stage_current
8146 @endif gcc-bootstrap
8147 @if flex
8148 maybe-configure-flex: configure-flex
8149 configure-flex:
8150 @: $(MAKE); $(unstage)
8151 @r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8155 $(HOST_EXPORTS) \
8156 echo Configuring in $(HOST_SUBDIR)/flex; \
8157 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8158 case $(srcdir) in \
8159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8160 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8162 esac; \
8163 srcdiroption="--srcdir=$${topdir}/flex"; \
8164 libsrcdir="$$s/flex"; \
8165 $(SHELL) $${libsrcdir}/configure \
8166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8167 --target=${target_alias} $${srcdiroption} \
8168 || exit 1
8169 @endif flex
8175 .PHONY: all-flex maybe-all-flex
8176 maybe-all-flex:
8177 @if gcc-bootstrap
8178 all-flex: stage_current
8179 @endif gcc-bootstrap
8180 @if flex
8181 TARGET-flex=all
8182 maybe-all-flex: all-flex
8183 all-flex: configure-flex
8184 @: $(MAKE); $(unstage)
8185 @r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 $(HOST_EXPORTS) \
8188 (cd $(HOST_SUBDIR)/flex && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8190 $(TARGET-flex))
8191 @endif flex
8196 .PHONY: check-flex maybe-check-flex
8197 maybe-check-flex:
8198 @if flex
8199 maybe-check-flex: check-flex
8201 # This module is only tested in a native toolchain.
8202 check-flex:
8203 @: $(MAKE); $(unstage)
8204 @if [ '$(host)' = '$(target)' ] ; then \
8205 r=`${PWD_COMMAND}`; export r; \
8206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8207 $(HOST_EXPORTS) \
8208 (cd $(HOST_SUBDIR)/flex && \
8209 $(MAKE) $(FLAGS_TO_PASS) check); \
8212 @endif flex
8214 .PHONY: install-flex maybe-install-flex
8215 maybe-install-flex:
8216 @if flex
8217 maybe-install-flex: install-flex
8219 install-flex: installdirs
8220 @: $(MAKE); $(unstage)
8221 @r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 (cd $(HOST_SUBDIR)/flex && \
8225 $(MAKE) $(FLAGS_TO_PASS) install)
8227 @endif flex
8229 .PHONY: install-strip-flex maybe-install-strip-flex
8230 maybe-install-strip-flex:
8231 @if flex
8232 maybe-install-strip-flex: install-strip-flex
8234 install-strip-flex: installdirs
8235 @: $(MAKE); $(unstage)
8236 @r=`${PWD_COMMAND}`; export r; \
8237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8238 $(HOST_EXPORTS) \
8239 (cd $(HOST_SUBDIR)/flex && \
8240 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8242 @endif flex
8244 # Other targets (info, dvi, pdf, etc.)
8246 .PHONY: maybe-info-flex info-flex
8247 maybe-info-flex:
8248 @if flex
8249 maybe-info-flex: info-flex
8251 info-flex: \
8252 configure-flex
8253 @: $(MAKE); $(unstage)
8254 @[ -f ./flex/Makefile ] || exit 0; \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 for flag in $(EXTRA_HOST_FLAGS) ; do \
8259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8260 done; \
8261 echo "Doing info in flex" ; \
8262 (cd $(HOST_SUBDIR)/flex && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8265 "RANLIB=$${RANLIB}" \
8266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8267 info) \
8268 || exit 1
8270 @endif flex
8272 .PHONY: maybe-dvi-flex dvi-flex
8273 maybe-dvi-flex:
8274 @if flex
8275 maybe-dvi-flex: dvi-flex
8277 dvi-flex: \
8278 configure-flex
8279 @: $(MAKE); $(unstage)
8280 @[ -f ./flex/Makefile ] || exit 0; \
8281 r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(HOST_EXPORTS) \
8284 for flag in $(EXTRA_HOST_FLAGS) ; do \
8285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8286 done; \
8287 echo "Doing dvi in flex" ; \
8288 (cd $(HOST_SUBDIR)/flex && \
8289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8291 "RANLIB=$${RANLIB}" \
8292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8293 dvi) \
8294 || exit 1
8296 @endif flex
8298 .PHONY: maybe-pdf-flex pdf-flex
8299 maybe-pdf-flex:
8300 @if flex
8301 maybe-pdf-flex: pdf-flex
8303 pdf-flex: \
8304 configure-flex
8305 @: $(MAKE); $(unstage)
8306 @[ -f ./flex/Makefile ] || exit 0; \
8307 r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8309 $(HOST_EXPORTS) \
8310 for flag in $(EXTRA_HOST_FLAGS) ; do \
8311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8312 done; \
8313 echo "Doing pdf in flex" ; \
8314 (cd $(HOST_SUBDIR)/flex && \
8315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8317 "RANLIB=$${RANLIB}" \
8318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8319 pdf) \
8320 || exit 1
8322 @endif flex
8324 .PHONY: maybe-html-flex html-flex
8325 maybe-html-flex:
8326 @if flex
8327 maybe-html-flex: html-flex
8329 html-flex: \
8330 configure-flex
8331 @: $(MAKE); $(unstage)
8332 @[ -f ./flex/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(HOST_EXPORTS) \
8336 for flag in $(EXTRA_HOST_FLAGS) ; do \
8337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8338 done; \
8339 echo "Doing html in flex" ; \
8340 (cd $(HOST_SUBDIR)/flex && \
8341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8343 "RANLIB=$${RANLIB}" \
8344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8345 html) \
8346 || exit 1
8348 @endif flex
8350 .PHONY: maybe-TAGS-flex TAGS-flex
8351 maybe-TAGS-flex:
8352 @if flex
8353 maybe-TAGS-flex: TAGS-flex
8355 TAGS-flex: \
8356 configure-flex
8357 @: $(MAKE); $(unstage)
8358 @[ -f ./flex/Makefile ] || exit 0; \
8359 r=`${PWD_COMMAND}`; export r; \
8360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8361 $(HOST_EXPORTS) \
8362 for flag in $(EXTRA_HOST_FLAGS) ; do \
8363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8364 done; \
8365 echo "Doing TAGS in flex" ; \
8366 (cd $(HOST_SUBDIR)/flex && \
8367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8369 "RANLIB=$${RANLIB}" \
8370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8371 TAGS) \
8372 || exit 1
8374 @endif flex
8376 .PHONY: maybe-install-info-flex install-info-flex
8377 maybe-install-info-flex:
8378 @if flex
8379 maybe-install-info-flex: install-info-flex
8381 install-info-flex: \
8382 configure-flex \
8383 info-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 install-info 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 install-info) \
8399 || exit 1
8401 @endif flex
8403 .PHONY: maybe-install-pdf-flex install-pdf-flex
8404 maybe-install-pdf-flex:
8405 @if flex
8406 maybe-install-pdf-flex: install-pdf-flex
8408 install-pdf-flex: \
8409 configure-flex \
8410 pdf-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-pdf 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-pdf) \
8426 || exit 1
8428 @endif flex
8430 .PHONY: maybe-install-html-flex install-html-flex
8431 maybe-install-html-flex:
8432 @if flex
8433 maybe-install-html-flex: install-html-flex
8435 install-html-flex: \
8436 configure-flex \
8437 html-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-html 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-html) \
8453 || exit 1
8455 @endif flex
8457 .PHONY: maybe-installcheck-flex installcheck-flex
8458 maybe-installcheck-flex:
8459 @if flex
8460 maybe-installcheck-flex: installcheck-flex
8462 installcheck-flex: \
8463 configure-flex
8464 @: $(MAKE); $(unstage)
8465 @[ -f ./flex/Makefile ] || exit 0; \
8466 r=`${PWD_COMMAND}`; export r; \
8467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8468 $(HOST_EXPORTS) \
8469 for flag in $(EXTRA_HOST_FLAGS) ; do \
8470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8471 done; \
8472 echo "Doing installcheck in flex" ; \
8473 (cd $(HOST_SUBDIR)/flex && \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8476 "RANLIB=$${RANLIB}" \
8477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8478 installcheck) \
8479 || exit 1
8481 @endif flex
8483 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8484 maybe-mostlyclean-flex:
8485 @if flex
8486 maybe-mostlyclean-flex: mostlyclean-flex
8488 mostlyclean-flex:
8489 @: $(MAKE); $(unstage)
8490 @[ -f ./flex/Makefile ] || exit 0; \
8491 r=`${PWD_COMMAND}`; export r; \
8492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493 $(HOST_EXPORTS) \
8494 for flag in $(EXTRA_HOST_FLAGS) ; do \
8495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496 done; \
8497 echo "Doing mostlyclean in flex" ; \
8498 (cd $(HOST_SUBDIR)/flex && \
8499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501 "RANLIB=$${RANLIB}" \
8502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8503 mostlyclean) \
8504 || exit 1
8506 @endif flex
8508 .PHONY: maybe-clean-flex clean-flex
8509 maybe-clean-flex:
8510 @if flex
8511 maybe-clean-flex: clean-flex
8513 clean-flex:
8514 @: $(MAKE); $(unstage)
8515 @[ -f ./flex/Makefile ] || exit 0; \
8516 r=`${PWD_COMMAND}`; export r; \
8517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 $(HOST_EXPORTS) \
8519 for flag in $(EXTRA_HOST_FLAGS) ; do \
8520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8521 done; \
8522 echo "Doing clean in flex" ; \
8523 (cd $(HOST_SUBDIR)/flex && \
8524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8526 "RANLIB=$${RANLIB}" \
8527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8528 clean) \
8529 || exit 1
8531 @endif flex
8533 .PHONY: maybe-distclean-flex distclean-flex
8534 maybe-distclean-flex:
8535 @if flex
8536 maybe-distclean-flex: distclean-flex
8538 distclean-flex:
8539 @: $(MAKE); $(unstage)
8540 @[ -f ./flex/Makefile ] || exit 0; \
8541 r=`${PWD_COMMAND}`; export r; \
8542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8543 $(HOST_EXPORTS) \
8544 for flag in $(EXTRA_HOST_FLAGS) ; do \
8545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8546 done; \
8547 echo "Doing distclean in flex" ; \
8548 (cd $(HOST_SUBDIR)/flex && \
8549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8551 "RANLIB=$${RANLIB}" \
8552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8553 distclean) \
8554 || exit 1
8556 @endif flex
8558 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8559 maybe-maintainer-clean-flex:
8560 @if flex
8561 maybe-maintainer-clean-flex: maintainer-clean-flex
8563 maintainer-clean-flex:
8564 @: $(MAKE); $(unstage)
8565 @[ -f ./flex/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(HOST_EXPORTS) \
8569 for flag in $(EXTRA_HOST_FLAGS) ; do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing maintainer-clean in flex" ; \
8573 (cd $(HOST_SUBDIR)/flex && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8578 maintainer-clean) \
8579 || exit 1
8581 @endif flex
8585 .PHONY: configure-gas maybe-configure-gas
8586 maybe-configure-gas:
8587 @if gcc-bootstrap
8588 configure-gas: stage_current
8589 @endif gcc-bootstrap
8590 @if gas
8591 maybe-configure-gas: configure-gas
8592 configure-gas:
8593 @r=`${PWD_COMMAND}`; export r; \
8594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8595 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8597 $(HOST_EXPORTS) \
8598 echo Configuring in $(HOST_SUBDIR)/gas; \
8599 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8600 case $(srcdir) in \
8601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8602 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8604 esac; \
8605 srcdiroption="--srcdir=$${topdir}/gas"; \
8606 libsrcdir="$$s/gas"; \
8607 $(SHELL) $${libsrcdir}/configure \
8608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8609 --target=${target_alias} $${srcdiroption} \
8610 || exit 1
8611 @endif gas
8615 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8616 maybe-configure-stage1-gas:
8617 @if gas-bootstrap
8618 maybe-configure-stage1-gas: configure-stage1-gas
8619 configure-stage1-gas:
8620 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8622 @r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 TFLAGS="$(STAGE1_TFLAGS)"; \
8625 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8626 $(HOST_EXPORTS) \
8627 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8628 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8629 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8630 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8632 cd $(HOST_SUBDIR)/gas || exit 1; \
8633 case $(srcdir) in \
8634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8635 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8637 esac; \
8638 srcdiroption="--srcdir=$${topdir}/gas"; \
8639 libsrcdir="$$s/gas"; \
8640 $(SHELL) $${libsrcdir}/configure \
8641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8642 --target=${target_alias} $${srcdiroption} \
8643 $(STAGE1_CONFIGURE_FLAGS)
8644 @endif gas-bootstrap
8646 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8647 maybe-configure-stage2-gas:
8648 @if gas-bootstrap
8649 maybe-configure-stage2-gas: configure-stage2-gas
8650 configure-stage2-gas:
8651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8653 @r=`${PWD_COMMAND}`; export r; \
8654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8655 TFLAGS="$(STAGE2_TFLAGS)"; \
8656 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8657 $(HOST_EXPORTS) \
8658 $(POSTSTAGE1_HOST_EXPORTS) \
8659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8662 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8664 cd $(HOST_SUBDIR)/gas || exit 1; \
8665 case $(srcdir) in \
8666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8667 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8669 esac; \
8670 srcdiroption="--srcdir=$${topdir}/gas"; \
8671 libsrcdir="$$s/gas"; \
8672 $(SHELL) $${libsrcdir}/configure \
8673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8674 --target=${target_alias} $${srcdiroption} \
8675 --with-build-libsubdir=$(HOST_SUBDIR) \
8676 $(STAGE2_CONFIGURE_FLAGS)
8677 @endif gas-bootstrap
8679 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8680 maybe-configure-stage3-gas:
8681 @if gas-bootstrap
8682 maybe-configure-stage3-gas: configure-stage3-gas
8683 configure-stage3-gas:
8684 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8686 @r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8688 TFLAGS="$(STAGE3_TFLAGS)"; \
8689 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8690 $(HOST_EXPORTS) \
8691 $(POSTSTAGE1_HOST_EXPORTS) \
8692 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8693 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8694 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8695 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8697 cd $(HOST_SUBDIR)/gas || exit 1; \
8698 case $(srcdir) in \
8699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8700 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8702 esac; \
8703 srcdiroption="--srcdir=$${topdir}/gas"; \
8704 libsrcdir="$$s/gas"; \
8705 $(SHELL) $${libsrcdir}/configure \
8706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8707 --target=${target_alias} $${srcdiroption} \
8708 --with-build-libsubdir=$(HOST_SUBDIR) \
8709 $(STAGE3_CONFIGURE_FLAGS)
8710 @endif gas-bootstrap
8712 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8713 maybe-configure-stage4-gas:
8714 @if gas-bootstrap
8715 maybe-configure-stage4-gas: configure-stage4-gas
8716 configure-stage4-gas:
8717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8719 @r=`${PWD_COMMAND}`; export r; \
8720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8721 TFLAGS="$(STAGE4_TFLAGS)"; \
8722 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8723 $(HOST_EXPORTS) \
8724 $(POSTSTAGE1_HOST_EXPORTS) \
8725 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8726 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8727 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8728 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8730 cd $(HOST_SUBDIR)/gas || exit 1; \
8731 case $(srcdir) in \
8732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8733 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8735 esac; \
8736 srcdiroption="--srcdir=$${topdir}/gas"; \
8737 libsrcdir="$$s/gas"; \
8738 $(SHELL) $${libsrcdir}/configure \
8739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8740 --target=${target_alias} $${srcdiroption} \
8741 --with-build-libsubdir=$(HOST_SUBDIR) \
8742 $(STAGE4_CONFIGURE_FLAGS)
8743 @endif gas-bootstrap
8745 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8746 maybe-configure-stageprofile-gas:
8747 @if gas-bootstrap
8748 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8749 configure-stageprofile-gas:
8750 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8752 @r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8755 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8756 $(HOST_EXPORTS) \
8757 $(POSTSTAGE1_HOST_EXPORTS) \
8758 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8759 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8760 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8761 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8763 cd $(HOST_SUBDIR)/gas || exit 1; \
8764 case $(srcdir) in \
8765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8766 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8768 esac; \
8769 srcdiroption="--srcdir=$${topdir}/gas"; \
8770 libsrcdir="$$s/gas"; \
8771 $(SHELL) $${libsrcdir}/configure \
8772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8773 --target=${target_alias} $${srcdiroption} \
8774 --with-build-libsubdir=$(HOST_SUBDIR) \
8775 $(STAGEprofile_CONFIGURE_FLAGS)
8776 @endif gas-bootstrap
8778 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8779 maybe-configure-stagefeedback-gas:
8780 @if gas-bootstrap
8781 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8782 configure-stagefeedback-gas:
8783 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8785 @r=`${PWD_COMMAND}`; export r; \
8786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8788 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8789 $(HOST_EXPORTS) \
8790 $(POSTSTAGE1_HOST_EXPORTS) \
8791 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8792 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8793 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8794 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8796 cd $(HOST_SUBDIR)/gas || exit 1; \
8797 case $(srcdir) in \
8798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8799 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8801 esac; \
8802 srcdiroption="--srcdir=$${topdir}/gas"; \
8803 libsrcdir="$$s/gas"; \
8804 $(SHELL) $${libsrcdir}/configure \
8805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8806 --target=${target_alias} $${srcdiroption} \
8807 --with-build-libsubdir=$(HOST_SUBDIR) \
8808 $(STAGEfeedback_CONFIGURE_FLAGS)
8809 @endif gas-bootstrap
8815 .PHONY: all-gas maybe-all-gas
8816 maybe-all-gas:
8817 @if gcc-bootstrap
8818 all-gas: stage_current
8819 @endif gcc-bootstrap
8820 @if gas
8821 TARGET-gas=all
8822 maybe-all-gas: all-gas
8823 all-gas: configure-gas
8824 @r=`${PWD_COMMAND}`; export r; \
8825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8826 $(HOST_EXPORTS) \
8827 (cd $(HOST_SUBDIR)/gas && \
8828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8829 $(TARGET-gas))
8830 @endif gas
8834 .PHONY: all-stage1-gas maybe-all-stage1-gas
8835 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8836 maybe-all-stage1-gas:
8837 maybe-clean-stage1-gas:
8838 @if gas-bootstrap
8839 maybe-all-stage1-gas: all-stage1-gas
8840 all-stage1: all-stage1-gas
8841 TARGET-stage1-gas = $(TARGET-gas)
8842 all-stage1-gas: configure-stage1-gas
8843 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8844 @r=`${PWD_COMMAND}`; export r; \
8845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8846 TFLAGS="$(STAGE1_TFLAGS)"; \
8847 $(HOST_EXPORTS) \
8848 cd $(HOST_SUBDIR)/gas && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8850 CFLAGS="$(STAGE1_CFLAGS)" \
8851 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8852 LIBCFLAGS="$(LIBCFLAGS)" \
8853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8856 $(EXTRA_HOST_FLAGS) \
8857 TFLAGS="$(STAGE1_TFLAGS)" \
8858 $(TARGET-stage1-gas)
8860 maybe-clean-stage1-gas: clean-stage1-gas
8861 clean-stage1: clean-stage1-gas
8862 clean-stage1-gas:
8863 @if [ $(current_stage) = stage1 ]; then \
8864 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8865 else \
8866 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8867 $(MAKE) stage1-start; \
8868 fi; \
8869 cd $(HOST_SUBDIR)/gas && \
8870 $(MAKE) $(EXTRA_HOST_FLAGS) \
8871 clean
8872 @endif gas-bootstrap
8875 .PHONY: all-stage2-gas maybe-all-stage2-gas
8876 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8877 maybe-all-stage2-gas:
8878 maybe-clean-stage2-gas:
8879 @if gas-bootstrap
8880 maybe-all-stage2-gas: all-stage2-gas
8881 all-stage2: all-stage2-gas
8882 TARGET-stage2-gas = $(TARGET-gas)
8883 all-stage2-gas: configure-stage2-gas
8884 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8885 @r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887 TFLAGS="$(STAGE2_TFLAGS)"; \
8888 $(HOST_EXPORTS) \
8889 $(POSTSTAGE1_HOST_EXPORTS) \
8890 cd $(HOST_SUBDIR)/gas && \
8891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8892 CFLAGS="$(STAGE2_CFLAGS)" \
8893 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8894 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8899 TFLAGS="$(STAGE2_TFLAGS)" \
8900 $(TARGET-stage2-gas)
8902 maybe-clean-stage2-gas: clean-stage2-gas
8903 clean-stage2: clean-stage2-gas
8904 clean-stage2-gas:
8905 @if [ $(current_stage) = stage2 ]; then \
8906 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8907 else \
8908 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8909 $(MAKE) stage2-start; \
8910 fi; \
8911 cd $(HOST_SUBDIR)/gas && \
8912 $(MAKE) $(EXTRA_HOST_FLAGS) \
8913 $(POSTSTAGE1_FLAGS_TO_PASS) \
8914 clean
8915 @endif gas-bootstrap
8918 .PHONY: all-stage3-gas maybe-all-stage3-gas
8919 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8920 maybe-all-stage3-gas:
8921 maybe-clean-stage3-gas:
8922 @if gas-bootstrap
8923 maybe-all-stage3-gas: all-stage3-gas
8924 all-stage3: all-stage3-gas
8925 TARGET-stage3-gas = $(TARGET-gas)
8926 all-stage3-gas: configure-stage3-gas
8927 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8928 @r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 TFLAGS="$(STAGE3_TFLAGS)"; \
8931 $(HOST_EXPORTS) \
8932 $(POSTSTAGE1_HOST_EXPORTS) \
8933 cd $(HOST_SUBDIR)/gas && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8935 CFLAGS="$(STAGE3_CFLAGS)" \
8936 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8937 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8942 TFLAGS="$(STAGE3_TFLAGS)" \
8943 $(TARGET-stage3-gas)
8945 maybe-clean-stage3-gas: clean-stage3-gas
8946 clean-stage3: clean-stage3-gas
8947 clean-stage3-gas:
8948 @if [ $(current_stage) = stage3 ]; then \
8949 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8950 else \
8951 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8952 $(MAKE) stage3-start; \
8953 fi; \
8954 cd $(HOST_SUBDIR)/gas && \
8955 $(MAKE) $(EXTRA_HOST_FLAGS) \
8956 $(POSTSTAGE1_FLAGS_TO_PASS) \
8957 clean
8958 @endif gas-bootstrap
8961 .PHONY: all-stage4-gas maybe-all-stage4-gas
8962 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8963 maybe-all-stage4-gas:
8964 maybe-clean-stage4-gas:
8965 @if gas-bootstrap
8966 maybe-all-stage4-gas: all-stage4-gas
8967 all-stage4: all-stage4-gas
8968 TARGET-stage4-gas = $(TARGET-gas)
8969 all-stage4-gas: configure-stage4-gas
8970 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8971 @r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 TFLAGS="$(STAGE4_TFLAGS)"; \
8974 $(HOST_EXPORTS) \
8975 $(POSTSTAGE1_HOST_EXPORTS) \
8976 cd $(HOST_SUBDIR)/gas && \
8977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8978 CFLAGS="$(STAGE4_CFLAGS)" \
8979 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8980 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8984 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8985 TFLAGS="$(STAGE4_TFLAGS)" \
8986 $(TARGET-stage4-gas)
8988 maybe-clean-stage4-gas: clean-stage4-gas
8989 clean-stage4: clean-stage4-gas
8990 clean-stage4-gas:
8991 @if [ $(current_stage) = stage4 ]; then \
8992 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8993 else \
8994 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
8995 $(MAKE) stage4-start; \
8996 fi; \
8997 cd $(HOST_SUBDIR)/gas && \
8998 $(MAKE) $(EXTRA_HOST_FLAGS) \
8999 $(POSTSTAGE1_FLAGS_TO_PASS) \
9000 clean
9001 @endif gas-bootstrap
9004 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9005 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9006 maybe-all-stageprofile-gas:
9007 maybe-clean-stageprofile-gas:
9008 @if gas-bootstrap
9009 maybe-all-stageprofile-gas: all-stageprofile-gas
9010 all-stageprofile: all-stageprofile-gas
9011 TARGET-stageprofile-gas = $(TARGET-gas)
9012 all-stageprofile-gas: configure-stageprofile-gas
9013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9014 @r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9017 $(HOST_EXPORTS) \
9018 $(POSTSTAGE1_HOST_EXPORTS) \
9019 cd $(HOST_SUBDIR)/gas && \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9021 CFLAGS="$(STAGEprofile_CFLAGS)" \
9022 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9023 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9028 TFLAGS="$(STAGEprofile_TFLAGS)" \
9029 $(TARGET-stageprofile-gas)
9031 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9032 clean-stageprofile: clean-stageprofile-gas
9033 clean-stageprofile-gas:
9034 @if [ $(current_stage) = stageprofile ]; then \
9035 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9036 else \
9037 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9038 $(MAKE) stageprofile-start; \
9039 fi; \
9040 cd $(HOST_SUBDIR)/gas && \
9041 $(MAKE) $(EXTRA_HOST_FLAGS) \
9042 $(POSTSTAGE1_FLAGS_TO_PASS) \
9043 clean
9044 @endif gas-bootstrap
9047 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9048 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9049 maybe-all-stagefeedback-gas:
9050 maybe-clean-stagefeedback-gas:
9051 @if gas-bootstrap
9052 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9053 all-stagefeedback: all-stagefeedback-gas
9054 TARGET-stagefeedback-gas = $(TARGET-gas)
9055 all-stagefeedback-gas: configure-stagefeedback-gas
9056 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9057 @r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9060 $(HOST_EXPORTS) \
9061 $(POSTSTAGE1_HOST_EXPORTS) \
9062 cd $(HOST_SUBDIR)/gas && \
9063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9064 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9065 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9066 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9071 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9072 $(TARGET-stagefeedback-gas)
9074 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9075 clean-stagefeedback: clean-stagefeedback-gas
9076 clean-stagefeedback-gas:
9077 @if [ $(current_stage) = stagefeedback ]; then \
9078 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9079 else \
9080 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9081 $(MAKE) stagefeedback-start; \
9082 fi; \
9083 cd $(HOST_SUBDIR)/gas && \
9084 $(MAKE) $(EXTRA_HOST_FLAGS) \
9085 $(POSTSTAGE1_FLAGS_TO_PASS) \
9086 clean
9087 @endif gas-bootstrap
9093 .PHONY: check-gas maybe-check-gas
9094 maybe-check-gas:
9095 @if gas
9096 maybe-check-gas: check-gas
9098 check-gas:
9099 @: $(MAKE); $(unstage)
9100 @r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(HOST_EXPORTS) \
9103 (cd $(HOST_SUBDIR)/gas && \
9104 $(MAKE) $(FLAGS_TO_PASS) check)
9106 @endif gas
9108 .PHONY: install-gas maybe-install-gas
9109 maybe-install-gas:
9110 @if gas
9111 maybe-install-gas: install-gas
9113 install-gas: installdirs
9114 @: $(MAKE); $(unstage)
9115 @r=`${PWD_COMMAND}`; export r; \
9116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9117 $(HOST_EXPORTS) \
9118 (cd $(HOST_SUBDIR)/gas && \
9119 $(MAKE) $(FLAGS_TO_PASS) install)
9121 @endif gas
9123 .PHONY: install-strip-gas maybe-install-strip-gas
9124 maybe-install-strip-gas:
9125 @if gas
9126 maybe-install-strip-gas: install-strip-gas
9128 install-strip-gas: installdirs
9129 @: $(MAKE); $(unstage)
9130 @r=`${PWD_COMMAND}`; export r; \
9131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9132 $(HOST_EXPORTS) \
9133 (cd $(HOST_SUBDIR)/gas && \
9134 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9136 @endif gas
9138 # Other targets (info, dvi, pdf, etc.)
9140 .PHONY: maybe-info-gas info-gas
9141 maybe-info-gas:
9142 @if gas
9143 maybe-info-gas: info-gas
9145 info-gas: \
9146 configure-gas
9147 @[ -f ./gas/Makefile ] || exit 0; \
9148 r=`${PWD_COMMAND}`; export r; \
9149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9150 $(HOST_EXPORTS) \
9151 for flag in $(EXTRA_HOST_FLAGS) ; do \
9152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9153 done; \
9154 echo "Doing info in gas" ; \
9155 (cd $(HOST_SUBDIR)/gas && \
9156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9158 "RANLIB=$${RANLIB}" \
9159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9160 info) \
9161 || exit 1
9163 @endif gas
9165 .PHONY: maybe-dvi-gas dvi-gas
9166 maybe-dvi-gas:
9167 @if gas
9168 maybe-dvi-gas: dvi-gas
9170 dvi-gas: \
9171 configure-gas
9172 @[ -f ./gas/Makefile ] || exit 0; \
9173 r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9175 $(HOST_EXPORTS) \
9176 for flag in $(EXTRA_HOST_FLAGS) ; do \
9177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9178 done; \
9179 echo "Doing dvi in gas" ; \
9180 (cd $(HOST_SUBDIR)/gas && \
9181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183 "RANLIB=$${RANLIB}" \
9184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9185 dvi) \
9186 || exit 1
9188 @endif gas
9190 .PHONY: maybe-pdf-gas pdf-gas
9191 maybe-pdf-gas:
9192 @if gas
9193 maybe-pdf-gas: pdf-gas
9195 pdf-gas: \
9196 configure-gas
9197 @[ -f ./gas/Makefile ] || exit 0; \
9198 r=`${PWD_COMMAND}`; export r; \
9199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9200 $(HOST_EXPORTS) \
9201 for flag in $(EXTRA_HOST_FLAGS) ; do \
9202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9203 done; \
9204 echo "Doing pdf in gas" ; \
9205 (cd $(HOST_SUBDIR)/gas && \
9206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9208 "RANLIB=$${RANLIB}" \
9209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9210 pdf) \
9211 || exit 1
9213 @endif gas
9215 .PHONY: maybe-html-gas html-gas
9216 maybe-html-gas:
9217 @if gas
9218 maybe-html-gas: html-gas
9220 html-gas: \
9221 configure-gas
9222 @[ -f ./gas/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing html in gas" ; \
9230 (cd $(HOST_SUBDIR)/gas && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9235 html) \
9236 || exit 1
9238 @endif gas
9240 .PHONY: maybe-TAGS-gas TAGS-gas
9241 maybe-TAGS-gas:
9242 @if gas
9243 maybe-TAGS-gas: TAGS-gas
9245 TAGS-gas: \
9246 configure-gas
9247 @[ -f ./gas/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing TAGS in gas" ; \
9255 (cd $(HOST_SUBDIR)/gas && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9260 TAGS) \
9261 || exit 1
9263 @endif gas
9265 .PHONY: maybe-install-info-gas install-info-gas
9266 maybe-install-info-gas:
9267 @if gas
9268 maybe-install-info-gas: install-info-gas
9270 install-info-gas: \
9271 configure-gas \
9272 info-gas
9273 @[ -f ./gas/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing install-info in gas" ; \
9281 (cd $(HOST_SUBDIR)/gas && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9286 install-info) \
9287 || exit 1
9289 @endif gas
9291 .PHONY: maybe-install-pdf-gas install-pdf-gas
9292 maybe-install-pdf-gas:
9293 @if gas
9294 maybe-install-pdf-gas: install-pdf-gas
9296 install-pdf-gas: \
9297 configure-gas \
9298 pdf-gas
9299 @[ -f ./gas/Makefile ] || exit 0; \
9300 r=`${PWD_COMMAND}`; export r; \
9301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 $(HOST_EXPORTS) \
9303 for flag in $(EXTRA_HOST_FLAGS) ; do \
9304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 done; \
9306 echo "Doing install-pdf in gas" ; \
9307 (cd $(HOST_SUBDIR)/gas && \
9308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9310 "RANLIB=$${RANLIB}" \
9311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9312 install-pdf) \
9313 || exit 1
9315 @endif gas
9317 .PHONY: maybe-install-html-gas install-html-gas
9318 maybe-install-html-gas:
9319 @if gas
9320 maybe-install-html-gas: install-html-gas
9322 install-html-gas: \
9323 configure-gas \
9324 html-gas
9325 @[ -f ./gas/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 for flag in $(EXTRA_HOST_FLAGS) ; do \
9330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 done; \
9332 echo "Doing install-html in gas" ; \
9333 (cd $(HOST_SUBDIR)/gas && \
9334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9336 "RANLIB=$${RANLIB}" \
9337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9338 install-html) \
9339 || exit 1
9341 @endif gas
9343 .PHONY: maybe-installcheck-gas installcheck-gas
9344 maybe-installcheck-gas:
9345 @if gas
9346 maybe-installcheck-gas: installcheck-gas
9348 installcheck-gas: \
9349 configure-gas
9350 @[ -f ./gas/Makefile ] || exit 0; \
9351 r=`${PWD_COMMAND}`; export r; \
9352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9353 $(HOST_EXPORTS) \
9354 for flag in $(EXTRA_HOST_FLAGS) ; do \
9355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9356 done; \
9357 echo "Doing installcheck in gas" ; \
9358 (cd $(HOST_SUBDIR)/gas && \
9359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9361 "RANLIB=$${RANLIB}" \
9362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9363 installcheck) \
9364 || exit 1
9366 @endif gas
9368 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9369 maybe-mostlyclean-gas:
9370 @if gas
9371 maybe-mostlyclean-gas: mostlyclean-gas
9373 mostlyclean-gas:
9374 @[ -f ./gas/Makefile ] || exit 0; \
9375 r=`${PWD_COMMAND}`; export r; \
9376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9377 $(HOST_EXPORTS) \
9378 for flag in $(EXTRA_HOST_FLAGS) ; do \
9379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9380 done; \
9381 echo "Doing mostlyclean in gas" ; \
9382 (cd $(HOST_SUBDIR)/gas && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9385 "RANLIB=$${RANLIB}" \
9386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9387 mostlyclean) \
9388 || exit 1
9390 @endif gas
9392 .PHONY: maybe-clean-gas clean-gas
9393 maybe-clean-gas:
9394 @if gas
9395 maybe-clean-gas: clean-gas
9397 clean-gas:
9398 @[ -f ./gas/Makefile ] || exit 0; \
9399 r=`${PWD_COMMAND}`; export r; \
9400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9401 $(HOST_EXPORTS) \
9402 for flag in $(EXTRA_HOST_FLAGS) ; do \
9403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9404 done; \
9405 echo "Doing clean in gas" ; \
9406 (cd $(HOST_SUBDIR)/gas && \
9407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9409 "RANLIB=$${RANLIB}" \
9410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9411 clean) \
9412 || exit 1
9414 @endif gas
9416 .PHONY: maybe-distclean-gas distclean-gas
9417 maybe-distclean-gas:
9418 @if gas
9419 maybe-distclean-gas: distclean-gas
9421 distclean-gas:
9422 @[ -f ./gas/Makefile ] || exit 0; \
9423 r=`${PWD_COMMAND}`; export r; \
9424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9425 $(HOST_EXPORTS) \
9426 for flag in $(EXTRA_HOST_FLAGS) ; do \
9427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9428 done; \
9429 echo "Doing distclean in gas" ; \
9430 (cd $(HOST_SUBDIR)/gas && \
9431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9433 "RANLIB=$${RANLIB}" \
9434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9435 distclean) \
9436 || exit 1
9438 @endif gas
9440 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9441 maybe-maintainer-clean-gas:
9442 @if gas
9443 maybe-maintainer-clean-gas: maintainer-clean-gas
9445 maintainer-clean-gas:
9446 @[ -f ./gas/Makefile ] || exit 0; \
9447 r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 $(HOST_EXPORTS) \
9450 for flag in $(EXTRA_HOST_FLAGS) ; do \
9451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9452 done; \
9453 echo "Doing maintainer-clean in gas" ; \
9454 (cd $(HOST_SUBDIR)/gas && \
9455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9457 "RANLIB=$${RANLIB}" \
9458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9459 maintainer-clean) \
9460 || exit 1
9462 @endif gas
9466 .PHONY: configure-gcc maybe-configure-gcc
9467 maybe-configure-gcc:
9468 @if gcc-bootstrap
9469 configure-gcc: stage_current
9470 @endif gcc-bootstrap
9471 @if gcc
9472 maybe-configure-gcc: configure-gcc
9473 configure-gcc:
9474 @r=`${PWD_COMMAND}`; export r; \
9475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9476 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9478 $(HOST_EXPORTS) \
9479 echo Configuring in $(HOST_SUBDIR)/gcc; \
9480 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9481 case $(srcdir) in \
9482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9483 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9485 esac; \
9486 srcdiroption="--srcdir=$${topdir}/gcc"; \
9487 libsrcdir="$$s/gcc"; \
9488 $(SHELL) $${libsrcdir}/configure \
9489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9490 --target=${target_alias} $${srcdiroption} \
9491 || exit 1
9492 @endif gcc
9496 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9497 maybe-configure-stage1-gcc:
9498 @if gcc-bootstrap
9499 maybe-configure-stage1-gcc: configure-stage1-gcc
9500 configure-stage1-gcc:
9501 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9503 @r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 TFLAGS="$(STAGE1_TFLAGS)"; \
9506 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9507 $(HOST_EXPORTS) \
9508 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9509 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9510 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9511 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9513 cd $(HOST_SUBDIR)/gcc || exit 1; \
9514 case $(srcdir) in \
9515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9516 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9518 esac; \
9519 srcdiroption="--srcdir=$${topdir}/gcc"; \
9520 libsrcdir="$$s/gcc"; \
9521 $(SHELL) $${libsrcdir}/configure \
9522 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9523 --target=${target_alias} $${srcdiroption} \
9524 $(STAGE1_CONFIGURE_FLAGS)
9525 @endif gcc-bootstrap
9527 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9528 maybe-configure-stage2-gcc:
9529 @if gcc-bootstrap
9530 maybe-configure-stage2-gcc: configure-stage2-gcc
9531 configure-stage2-gcc:
9532 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9534 @r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 TFLAGS="$(STAGE2_TFLAGS)"; \
9537 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9538 $(HOST_EXPORTS) \
9539 $(POSTSTAGE1_HOST_EXPORTS) \
9540 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9541 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9542 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9543 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9545 cd $(HOST_SUBDIR)/gcc || exit 1; \
9546 case $(srcdir) in \
9547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9548 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9550 esac; \
9551 srcdiroption="--srcdir=$${topdir}/gcc"; \
9552 libsrcdir="$$s/gcc"; \
9553 $(SHELL) $${libsrcdir}/configure \
9554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9555 --target=${target_alias} $${srcdiroption} \
9556 --with-build-libsubdir=$(HOST_SUBDIR) \
9557 $(STAGE2_CONFIGURE_FLAGS)
9558 @endif gcc-bootstrap
9560 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9561 maybe-configure-stage3-gcc:
9562 @if gcc-bootstrap
9563 maybe-configure-stage3-gcc: configure-stage3-gcc
9564 configure-stage3-gcc:
9565 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9567 @r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 TFLAGS="$(STAGE3_TFLAGS)"; \
9570 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9571 $(HOST_EXPORTS) \
9572 $(POSTSTAGE1_HOST_EXPORTS) \
9573 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9574 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9575 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9576 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9578 cd $(HOST_SUBDIR)/gcc || exit 1; \
9579 case $(srcdir) in \
9580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9581 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9583 esac; \
9584 srcdiroption="--srcdir=$${topdir}/gcc"; \
9585 libsrcdir="$$s/gcc"; \
9586 $(SHELL) $${libsrcdir}/configure \
9587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9588 --target=${target_alias} $${srcdiroption} \
9589 --with-build-libsubdir=$(HOST_SUBDIR) \
9590 $(STAGE3_CONFIGURE_FLAGS)
9591 @endif gcc-bootstrap
9593 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9594 maybe-configure-stage4-gcc:
9595 @if gcc-bootstrap
9596 maybe-configure-stage4-gcc: configure-stage4-gcc
9597 configure-stage4-gcc:
9598 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9600 @r=`${PWD_COMMAND}`; export r; \
9601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9602 TFLAGS="$(STAGE4_TFLAGS)"; \
9603 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9604 $(HOST_EXPORTS) \
9605 $(POSTSTAGE1_HOST_EXPORTS) \
9606 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9607 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9608 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9609 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9611 cd $(HOST_SUBDIR)/gcc || exit 1; \
9612 case $(srcdir) in \
9613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9614 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9616 esac; \
9617 srcdiroption="--srcdir=$${topdir}/gcc"; \
9618 libsrcdir="$$s/gcc"; \
9619 $(SHELL) $${libsrcdir}/configure \
9620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9621 --target=${target_alias} $${srcdiroption} \
9622 --with-build-libsubdir=$(HOST_SUBDIR) \
9623 $(STAGE4_CONFIGURE_FLAGS)
9624 @endif gcc-bootstrap
9626 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9627 maybe-configure-stageprofile-gcc:
9628 @if gcc-bootstrap
9629 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9630 configure-stageprofile-gcc:
9631 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9633 @r=`${PWD_COMMAND}`; export r; \
9634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9635 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9636 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9637 $(HOST_EXPORTS) \
9638 $(POSTSTAGE1_HOST_EXPORTS) \
9639 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9640 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9641 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9642 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9644 cd $(HOST_SUBDIR)/gcc || exit 1; \
9645 case $(srcdir) in \
9646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9647 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9649 esac; \
9650 srcdiroption="--srcdir=$${topdir}/gcc"; \
9651 libsrcdir="$$s/gcc"; \
9652 $(SHELL) $${libsrcdir}/configure \
9653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9654 --target=${target_alias} $${srcdiroption} \
9655 --with-build-libsubdir=$(HOST_SUBDIR) \
9656 $(STAGEprofile_CONFIGURE_FLAGS)
9657 @endif gcc-bootstrap
9659 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9660 maybe-configure-stagefeedback-gcc:
9661 @if gcc-bootstrap
9662 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9663 configure-stagefeedback-gcc:
9664 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9666 @r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9668 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9669 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9670 $(HOST_EXPORTS) \
9671 $(POSTSTAGE1_HOST_EXPORTS) \
9672 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9673 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9674 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9675 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9677 cd $(HOST_SUBDIR)/gcc || exit 1; \
9678 case $(srcdir) in \
9679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9680 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9682 esac; \
9683 srcdiroption="--srcdir=$${topdir}/gcc"; \
9684 libsrcdir="$$s/gcc"; \
9685 $(SHELL) $${libsrcdir}/configure \
9686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9687 --target=${target_alias} $${srcdiroption} \
9688 --with-build-libsubdir=$(HOST_SUBDIR) \
9689 $(STAGEfeedback_CONFIGURE_FLAGS)
9690 @endif gcc-bootstrap
9696 .PHONY: all-gcc maybe-all-gcc
9697 maybe-all-gcc:
9698 @if gcc-bootstrap
9699 all-gcc: stage_current
9700 @endif gcc-bootstrap
9701 @if gcc
9702 TARGET-gcc=all
9703 maybe-all-gcc: all-gcc
9704 all-gcc: configure-gcc
9705 @r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 (cd $(HOST_SUBDIR)/gcc && \
9709 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9710 $(TARGET-gcc))
9711 @endif gcc
9715 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9716 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9717 maybe-all-stage1-gcc:
9718 maybe-clean-stage1-gcc:
9719 @if gcc-bootstrap
9720 maybe-all-stage1-gcc: all-stage1-gcc
9721 all-stage1: all-stage1-gcc
9722 TARGET-stage1-gcc = $(TARGET-gcc)
9723 all-stage1-gcc: configure-stage1-gcc
9724 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9725 @r=`${PWD_COMMAND}`; export r; \
9726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9727 TFLAGS="$(STAGE1_TFLAGS)"; \
9728 $(HOST_EXPORTS) \
9729 cd $(HOST_SUBDIR)/gcc && \
9730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9731 CFLAGS="$(STAGE1_CFLAGS)" \
9732 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9733 LIBCFLAGS="$(LIBCFLAGS)" \
9734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9737 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9738 TFLAGS="$(STAGE1_TFLAGS)" \
9739 $(TARGET-stage1-gcc)
9741 maybe-clean-stage1-gcc: clean-stage1-gcc
9742 clean-stage1: clean-stage1-gcc
9743 clean-stage1-gcc:
9744 @if [ $(current_stage) = stage1 ]; then \
9745 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9746 else \
9747 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9748 $(MAKE) stage1-start; \
9749 fi; \
9750 cd $(HOST_SUBDIR)/gcc && \
9751 $(MAKE) $(EXTRA_HOST_FLAGS) \
9752 $(EXTRA_GCC_FLAGS) clean
9753 @endif gcc-bootstrap
9756 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9757 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9758 maybe-all-stage2-gcc:
9759 maybe-clean-stage2-gcc:
9760 @if gcc-bootstrap
9761 maybe-all-stage2-gcc: all-stage2-gcc
9762 all-stage2: all-stage2-gcc
9763 TARGET-stage2-gcc = $(TARGET-gcc)
9764 all-stage2-gcc: configure-stage2-gcc
9765 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9766 @r=`${PWD_COMMAND}`; export r; \
9767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9768 TFLAGS="$(STAGE2_TFLAGS)"; \
9769 $(HOST_EXPORTS) \
9770 $(POSTSTAGE1_HOST_EXPORTS) \
9771 cd $(HOST_SUBDIR)/gcc && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9773 CFLAGS="$(STAGE2_CFLAGS)" \
9774 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9775 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9776 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9777 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9778 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9779 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9780 TFLAGS="$(STAGE2_TFLAGS)" \
9781 $(TARGET-stage2-gcc)
9783 maybe-clean-stage2-gcc: clean-stage2-gcc
9784 clean-stage2: clean-stage2-gcc
9785 clean-stage2-gcc:
9786 @if [ $(current_stage) = stage2 ]; then \
9787 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9788 else \
9789 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9790 $(MAKE) stage2-start; \
9791 fi; \
9792 cd $(HOST_SUBDIR)/gcc && \
9793 $(MAKE) $(EXTRA_HOST_FLAGS) \
9794 $(POSTSTAGE1_FLAGS_TO_PASS) \
9795 $(EXTRA_GCC_FLAGS) clean
9796 @endif gcc-bootstrap
9799 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9800 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9801 maybe-all-stage3-gcc:
9802 maybe-clean-stage3-gcc:
9803 @if gcc-bootstrap
9804 maybe-all-stage3-gcc: all-stage3-gcc
9805 all-stage3: all-stage3-gcc
9806 TARGET-stage3-gcc = $(TARGET-gcc)
9807 all-stage3-gcc: configure-stage3-gcc
9808 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9809 @r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 TFLAGS="$(STAGE3_TFLAGS)"; \
9812 $(HOST_EXPORTS) \
9813 $(POSTSTAGE1_HOST_EXPORTS) \
9814 cd $(HOST_SUBDIR)/gcc && \
9815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9816 CFLAGS="$(STAGE3_CFLAGS)" \
9817 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9818 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9822 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9823 TFLAGS="$(STAGE3_TFLAGS)" \
9824 $(TARGET-stage3-gcc)
9826 maybe-clean-stage3-gcc: clean-stage3-gcc
9827 clean-stage3: clean-stage3-gcc
9828 clean-stage3-gcc:
9829 @if [ $(current_stage) = stage3 ]; then \
9830 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9831 else \
9832 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9833 $(MAKE) stage3-start; \
9834 fi; \
9835 cd $(HOST_SUBDIR)/gcc && \
9836 $(MAKE) $(EXTRA_HOST_FLAGS) \
9837 $(POSTSTAGE1_FLAGS_TO_PASS) \
9838 $(EXTRA_GCC_FLAGS) clean
9839 @endif gcc-bootstrap
9842 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9843 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9844 maybe-all-stage4-gcc:
9845 maybe-clean-stage4-gcc:
9846 @if gcc-bootstrap
9847 maybe-all-stage4-gcc: all-stage4-gcc
9848 all-stage4: all-stage4-gcc
9849 TARGET-stage4-gcc = $(TARGET-gcc)
9850 all-stage4-gcc: configure-stage4-gcc
9851 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9852 @r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 TFLAGS="$(STAGE4_TFLAGS)"; \
9855 $(HOST_EXPORTS) \
9856 $(POSTSTAGE1_HOST_EXPORTS) \
9857 cd $(HOST_SUBDIR)/gcc && \
9858 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9859 CFLAGS="$(STAGE4_CFLAGS)" \
9860 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9861 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9862 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9863 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9864 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9865 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9866 TFLAGS="$(STAGE4_TFLAGS)" \
9867 $(TARGET-stage4-gcc)
9869 maybe-clean-stage4-gcc: clean-stage4-gcc
9870 clean-stage4: clean-stage4-gcc
9871 clean-stage4-gcc:
9872 @if [ $(current_stage) = stage4 ]; then \
9873 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9874 else \
9875 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9876 $(MAKE) stage4-start; \
9877 fi; \
9878 cd $(HOST_SUBDIR)/gcc && \
9879 $(MAKE) $(EXTRA_HOST_FLAGS) \
9880 $(POSTSTAGE1_FLAGS_TO_PASS) \
9881 $(EXTRA_GCC_FLAGS) clean
9882 @endif gcc-bootstrap
9885 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9886 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9887 maybe-all-stageprofile-gcc:
9888 maybe-clean-stageprofile-gcc:
9889 @if gcc-bootstrap
9890 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9891 all-stageprofile: all-stageprofile-gcc
9892 TARGET-stageprofile-gcc = $(TARGET-gcc)
9893 all-stageprofile-gcc: configure-stageprofile-gcc
9894 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9895 @r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9898 $(HOST_EXPORTS) \
9899 $(POSTSTAGE1_HOST_EXPORTS) \
9900 cd $(HOST_SUBDIR)/gcc && \
9901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9902 CFLAGS="$(STAGEprofile_CFLAGS)" \
9903 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9904 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9909 TFLAGS="$(STAGEprofile_TFLAGS)" \
9910 $(TARGET-stageprofile-gcc)
9912 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9913 clean-stageprofile: clean-stageprofile-gcc
9914 clean-stageprofile-gcc:
9915 @if [ $(current_stage) = stageprofile ]; then \
9916 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9917 else \
9918 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9919 $(MAKE) stageprofile-start; \
9920 fi; \
9921 cd $(HOST_SUBDIR)/gcc && \
9922 $(MAKE) $(EXTRA_HOST_FLAGS) \
9923 $(POSTSTAGE1_FLAGS_TO_PASS) \
9924 $(EXTRA_GCC_FLAGS) clean
9925 @endif gcc-bootstrap
9928 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9929 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9930 maybe-all-stagefeedback-gcc:
9931 maybe-clean-stagefeedback-gcc:
9932 @if gcc-bootstrap
9933 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9934 all-stagefeedback: all-stagefeedback-gcc
9935 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9936 all-stagefeedback-gcc: configure-stagefeedback-gcc
9937 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9938 @r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9941 $(HOST_EXPORTS) \
9942 $(POSTSTAGE1_HOST_EXPORTS) \
9943 cd $(HOST_SUBDIR)/gcc && \
9944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9945 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9946 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9947 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9952 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9953 $(TARGET-stagefeedback-gcc)
9955 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9956 clean-stagefeedback: clean-stagefeedback-gcc
9957 clean-stagefeedback-gcc:
9958 @if [ $(current_stage) = stagefeedback ]; then \
9959 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9960 else \
9961 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9962 $(MAKE) stagefeedback-start; \
9963 fi; \
9964 cd $(HOST_SUBDIR)/gcc && \
9965 $(MAKE) $(EXTRA_HOST_FLAGS) \
9966 $(POSTSTAGE1_FLAGS_TO_PASS) \
9967 $(EXTRA_GCC_FLAGS) clean
9968 @endif gcc-bootstrap
9974 .PHONY: check-gcc maybe-check-gcc
9975 maybe-check-gcc:
9976 @if gcc
9977 maybe-check-gcc: check-gcc
9979 check-gcc:
9980 @: $(MAKE); $(unstage)
9981 @r=`${PWD_COMMAND}`; export r; \
9982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 $(HOST_EXPORTS) \
9984 (cd $(HOST_SUBDIR)/gcc && \
9985 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9987 @endif gcc
9989 .PHONY: install-gcc maybe-install-gcc
9990 maybe-install-gcc:
9991 @if gcc
9992 maybe-install-gcc: install-gcc
9994 install-gcc: installdirs
9995 @: $(MAKE); $(unstage)
9996 @r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 $(HOST_EXPORTS) \
9999 (cd $(HOST_SUBDIR)/gcc && \
10000 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10002 @endif gcc
10004 .PHONY: install-strip-gcc maybe-install-strip-gcc
10005 maybe-install-strip-gcc:
10006 @if gcc
10007 maybe-install-strip-gcc: install-strip-gcc
10009 install-strip-gcc: installdirs
10010 @: $(MAKE); $(unstage)
10011 @r=`${PWD_COMMAND}`; export r; \
10012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10013 $(HOST_EXPORTS) \
10014 (cd $(HOST_SUBDIR)/gcc && \
10015 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10017 @endif gcc
10019 # Other targets (info, dvi, pdf, etc.)
10021 .PHONY: maybe-info-gcc info-gcc
10022 maybe-info-gcc:
10023 @if gcc
10024 maybe-info-gcc: info-gcc
10026 info-gcc: \
10027 configure-gcc
10028 @[ -f ./gcc/Makefile ] || exit 0; \
10029 r=`${PWD_COMMAND}`; export r; \
10030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 $(HOST_EXPORTS) \
10032 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10034 done; \
10035 echo "Doing info in gcc" ; \
10036 (cd $(HOST_SUBDIR)/gcc && \
10037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10039 "RANLIB=$${RANLIB}" \
10040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10041 info) \
10042 || exit 1
10044 @endif gcc
10046 .PHONY: maybe-dvi-gcc dvi-gcc
10047 maybe-dvi-gcc:
10048 @if gcc
10049 maybe-dvi-gcc: dvi-gcc
10051 dvi-gcc: \
10052 configure-gcc
10053 @[ -f ./gcc/Makefile ] || exit 0; \
10054 r=`${PWD_COMMAND}`; export r; \
10055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10056 $(HOST_EXPORTS) \
10057 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10059 done; \
10060 echo "Doing dvi in gcc" ; \
10061 (cd $(HOST_SUBDIR)/gcc && \
10062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10064 "RANLIB=$${RANLIB}" \
10065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10066 dvi) \
10067 || exit 1
10069 @endif gcc
10071 .PHONY: maybe-pdf-gcc pdf-gcc
10072 maybe-pdf-gcc:
10073 @if gcc
10074 maybe-pdf-gcc: pdf-gcc
10076 pdf-gcc: \
10077 configure-gcc
10078 @[ -f ./gcc/Makefile ] || exit 0; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(HOST_EXPORTS) \
10082 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 done; \
10085 echo "Doing pdf in gcc" ; \
10086 (cd $(HOST_SUBDIR)/gcc && \
10087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10089 "RANLIB=$${RANLIB}" \
10090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10091 pdf) \
10092 || exit 1
10094 @endif gcc
10096 .PHONY: maybe-html-gcc html-gcc
10097 maybe-html-gcc:
10098 @if gcc
10099 maybe-html-gcc: html-gcc
10101 html-gcc: \
10102 configure-gcc
10103 @[ -f ./gcc/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 done; \
10110 echo "Doing html in gcc" ; \
10111 (cd $(HOST_SUBDIR)/gcc && \
10112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10114 "RANLIB=$${RANLIB}" \
10115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10116 html) \
10117 || exit 1
10119 @endif gcc
10121 .PHONY: maybe-TAGS-gcc TAGS-gcc
10122 maybe-TAGS-gcc:
10123 @if gcc
10124 maybe-TAGS-gcc: TAGS-gcc
10126 TAGS-gcc: \
10127 configure-gcc
10128 @[ -f ./gcc/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing TAGS in gcc" ; \
10136 (cd $(HOST_SUBDIR)/gcc && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10141 TAGS) \
10142 || exit 1
10144 @endif gcc
10146 .PHONY: maybe-install-info-gcc install-info-gcc
10147 maybe-install-info-gcc:
10148 @if gcc
10149 maybe-install-info-gcc: install-info-gcc
10151 install-info-gcc: \
10152 configure-gcc \
10153 info-gcc
10154 @[ -f ./gcc/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing install-info in gcc" ; \
10162 (cd $(HOST_SUBDIR)/gcc && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10167 install-info) \
10168 || exit 1
10170 @endif gcc
10172 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10173 maybe-install-pdf-gcc:
10174 @if gcc
10175 maybe-install-pdf-gcc: install-pdf-gcc
10177 install-pdf-gcc: \
10178 configure-gcc \
10179 pdf-gcc
10180 @[ -f ./gcc/Makefile ] || exit 0; \
10181 r=`${PWD_COMMAND}`; export r; \
10182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10183 $(HOST_EXPORTS) \
10184 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10186 done; \
10187 echo "Doing install-pdf in gcc" ; \
10188 (cd $(HOST_SUBDIR)/gcc && \
10189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10191 "RANLIB=$${RANLIB}" \
10192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10193 install-pdf) \
10194 || exit 1
10196 @endif gcc
10198 .PHONY: maybe-install-html-gcc install-html-gcc
10199 maybe-install-html-gcc:
10200 @if gcc
10201 maybe-install-html-gcc: install-html-gcc
10203 install-html-gcc: \
10204 configure-gcc \
10205 html-gcc
10206 @[ -f ./gcc/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing install-html in gcc" ; \
10214 (cd $(HOST_SUBDIR)/gcc && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10219 install-html) \
10220 || exit 1
10222 @endif gcc
10224 .PHONY: maybe-installcheck-gcc installcheck-gcc
10225 maybe-installcheck-gcc:
10226 @if gcc
10227 maybe-installcheck-gcc: installcheck-gcc
10229 installcheck-gcc: \
10230 configure-gcc
10231 @[ -f ./gcc/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing installcheck in gcc" ; \
10239 (cd $(HOST_SUBDIR)/gcc && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10244 installcheck) \
10245 || exit 1
10247 @endif gcc
10249 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10250 maybe-mostlyclean-gcc:
10251 @if gcc
10252 maybe-mostlyclean-gcc: mostlyclean-gcc
10254 mostlyclean-gcc:
10255 @[ -f ./gcc/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10258 $(HOST_EXPORTS) \
10259 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10261 done; \
10262 echo "Doing mostlyclean in gcc" ; \
10263 (cd $(HOST_SUBDIR)/gcc && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10266 "RANLIB=$${RANLIB}" \
10267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10268 mostlyclean) \
10269 || exit 1
10271 @endif gcc
10273 .PHONY: maybe-clean-gcc clean-gcc
10274 maybe-clean-gcc:
10275 @if gcc
10276 maybe-clean-gcc: clean-gcc
10278 clean-gcc:
10279 @[ -f ./gcc/Makefile ] || exit 0; \
10280 r=`${PWD_COMMAND}`; export r; \
10281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10282 $(HOST_EXPORTS) \
10283 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10285 done; \
10286 echo "Doing clean in gcc" ; \
10287 (cd $(HOST_SUBDIR)/gcc && \
10288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10290 "RANLIB=$${RANLIB}" \
10291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10292 clean) \
10293 || exit 1
10295 @endif gcc
10297 .PHONY: maybe-distclean-gcc distclean-gcc
10298 maybe-distclean-gcc:
10299 @if gcc
10300 maybe-distclean-gcc: distclean-gcc
10302 distclean-gcc:
10303 @[ -f ./gcc/Makefile ] || exit 0; \
10304 r=`${PWD_COMMAND}`; export r; \
10305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10306 $(HOST_EXPORTS) \
10307 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10309 done; \
10310 echo "Doing distclean in gcc" ; \
10311 (cd $(HOST_SUBDIR)/gcc && \
10312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10314 "RANLIB=$${RANLIB}" \
10315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10316 distclean) \
10317 || exit 1
10319 @endif gcc
10321 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10322 maybe-maintainer-clean-gcc:
10323 @if gcc
10324 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10326 maintainer-clean-gcc:
10327 @[ -f ./gcc/Makefile ] || exit 0; \
10328 r=`${PWD_COMMAND}`; export r; \
10329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10330 $(HOST_EXPORTS) \
10331 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10333 done; \
10334 echo "Doing maintainer-clean in gcc" ; \
10335 (cd $(HOST_SUBDIR)/gcc && \
10336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10338 "RANLIB=$${RANLIB}" \
10339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10340 maintainer-clean) \
10341 || exit 1
10343 @endif gcc
10347 .PHONY: configure-gmp maybe-configure-gmp
10348 maybe-configure-gmp:
10349 @if gcc-bootstrap
10350 configure-gmp: stage_current
10351 @endif gcc-bootstrap
10352 @if gmp
10353 maybe-configure-gmp: configure-gmp
10354 configure-gmp:
10355 @r=`${PWD_COMMAND}`; export r; \
10356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10357 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10359 $(HOST_EXPORTS) \
10360 echo Configuring in $(HOST_SUBDIR)/gmp; \
10361 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10362 case $(srcdir) in \
10363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10364 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10366 esac; \
10367 srcdiroption="--srcdir=$${topdir}/gmp"; \
10368 libsrcdir="$$s/gmp"; \
10369 $(SHELL) $${libsrcdir}/configure \
10370 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10371 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10372 || exit 1
10373 @endif gmp
10377 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10378 maybe-configure-stage1-gmp:
10379 @if gmp-bootstrap
10380 maybe-configure-stage1-gmp: configure-stage1-gmp
10381 configure-stage1-gmp:
10382 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10384 @r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 TFLAGS="$(STAGE1_TFLAGS)"; \
10387 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10388 $(HOST_EXPORTS) \
10389 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10390 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10391 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10392 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10394 cd $(HOST_SUBDIR)/gmp || exit 1; \
10395 case $(srcdir) in \
10396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10397 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10399 esac; \
10400 srcdiroption="--srcdir=$${topdir}/gmp"; \
10401 libsrcdir="$$s/gmp"; \
10402 $(SHELL) $${libsrcdir}/configure \
10403 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10404 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10405 $(STAGE1_CONFIGURE_FLAGS) \
10406 --disable-shared
10407 @endif gmp-bootstrap
10409 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10410 maybe-configure-stage2-gmp:
10411 @if gmp-bootstrap
10412 maybe-configure-stage2-gmp: configure-stage2-gmp
10413 configure-stage2-gmp:
10414 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10416 @r=`${PWD_COMMAND}`; export r; \
10417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10418 TFLAGS="$(STAGE2_TFLAGS)"; \
10419 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10420 $(HOST_EXPORTS) \
10421 $(POSTSTAGE1_HOST_EXPORTS) \
10422 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10423 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10424 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10425 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10427 cd $(HOST_SUBDIR)/gmp || exit 1; \
10428 case $(srcdir) in \
10429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10430 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10432 esac; \
10433 srcdiroption="--srcdir=$${topdir}/gmp"; \
10434 libsrcdir="$$s/gmp"; \
10435 $(SHELL) $${libsrcdir}/configure \
10436 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10437 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10438 --with-build-libsubdir=$(HOST_SUBDIR) \
10439 $(STAGE2_CONFIGURE_FLAGS) \
10440 --disable-shared
10441 @endif gmp-bootstrap
10443 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10444 maybe-configure-stage3-gmp:
10445 @if gmp-bootstrap
10446 maybe-configure-stage3-gmp: configure-stage3-gmp
10447 configure-stage3-gmp:
10448 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10450 @r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 TFLAGS="$(STAGE3_TFLAGS)"; \
10453 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10454 $(HOST_EXPORTS) \
10455 $(POSTSTAGE1_HOST_EXPORTS) \
10456 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10457 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10458 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10459 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10461 cd $(HOST_SUBDIR)/gmp || exit 1; \
10462 case $(srcdir) in \
10463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10464 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10466 esac; \
10467 srcdiroption="--srcdir=$${topdir}/gmp"; \
10468 libsrcdir="$$s/gmp"; \
10469 $(SHELL) $${libsrcdir}/configure \
10470 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10471 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10472 --with-build-libsubdir=$(HOST_SUBDIR) \
10473 $(STAGE3_CONFIGURE_FLAGS) \
10474 --disable-shared
10475 @endif gmp-bootstrap
10477 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10478 maybe-configure-stage4-gmp:
10479 @if gmp-bootstrap
10480 maybe-configure-stage4-gmp: configure-stage4-gmp
10481 configure-stage4-gmp:
10482 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10483 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10484 @r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486 TFLAGS="$(STAGE4_TFLAGS)"; \
10487 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10488 $(HOST_EXPORTS) \
10489 $(POSTSTAGE1_HOST_EXPORTS) \
10490 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10491 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10492 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10493 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10495 cd $(HOST_SUBDIR)/gmp || exit 1; \
10496 case $(srcdir) in \
10497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10498 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10500 esac; \
10501 srcdiroption="--srcdir=$${topdir}/gmp"; \
10502 libsrcdir="$$s/gmp"; \
10503 $(SHELL) $${libsrcdir}/configure \
10504 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10505 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10506 --with-build-libsubdir=$(HOST_SUBDIR) \
10507 $(STAGE4_CONFIGURE_FLAGS) \
10508 --disable-shared
10509 @endif gmp-bootstrap
10511 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10512 maybe-configure-stageprofile-gmp:
10513 @if gmp-bootstrap
10514 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10515 configure-stageprofile-gmp:
10516 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10517 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10518 @r=`${PWD_COMMAND}`; export r; \
10519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10520 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10521 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10522 $(HOST_EXPORTS) \
10523 $(POSTSTAGE1_HOST_EXPORTS) \
10524 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10525 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10526 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10527 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10529 cd $(HOST_SUBDIR)/gmp || exit 1; \
10530 case $(srcdir) in \
10531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10532 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10534 esac; \
10535 srcdiroption="--srcdir=$${topdir}/gmp"; \
10536 libsrcdir="$$s/gmp"; \
10537 $(SHELL) $${libsrcdir}/configure \
10538 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10539 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10540 --with-build-libsubdir=$(HOST_SUBDIR) \
10541 $(STAGEprofile_CONFIGURE_FLAGS) \
10542 --disable-shared
10543 @endif gmp-bootstrap
10545 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10546 maybe-configure-stagefeedback-gmp:
10547 @if gmp-bootstrap
10548 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10549 configure-stagefeedback-gmp:
10550 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10552 @r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10555 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10556 $(HOST_EXPORTS) \
10557 $(POSTSTAGE1_HOST_EXPORTS) \
10558 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10559 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10560 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10561 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10563 cd $(HOST_SUBDIR)/gmp || exit 1; \
10564 case $(srcdir) in \
10565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10566 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10568 esac; \
10569 srcdiroption="--srcdir=$${topdir}/gmp"; \
10570 libsrcdir="$$s/gmp"; \
10571 $(SHELL) $${libsrcdir}/configure \
10572 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10573 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10574 --with-build-libsubdir=$(HOST_SUBDIR) \
10575 $(STAGEfeedback_CONFIGURE_FLAGS) \
10576 --disable-shared
10577 @endif gmp-bootstrap
10583 .PHONY: all-gmp maybe-all-gmp
10584 maybe-all-gmp:
10585 @if gcc-bootstrap
10586 all-gmp: stage_current
10587 @endif gcc-bootstrap
10588 @if gmp
10589 TARGET-gmp=all
10590 maybe-all-gmp: all-gmp
10591 all-gmp: configure-gmp
10592 @r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 $(HOST_EXPORTS) \
10595 (cd $(HOST_SUBDIR)/gmp && \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10597 $(TARGET-gmp))
10598 @endif gmp
10602 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10603 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10604 maybe-all-stage1-gmp:
10605 maybe-clean-stage1-gmp:
10606 @if gmp-bootstrap
10607 maybe-all-stage1-gmp: all-stage1-gmp
10608 all-stage1: all-stage1-gmp
10609 TARGET-stage1-gmp = $(TARGET-gmp)
10610 all-stage1-gmp: configure-stage1-gmp
10611 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10612 @r=`${PWD_COMMAND}`; export r; \
10613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10614 TFLAGS="$(STAGE1_TFLAGS)"; \
10615 $(HOST_EXPORTS) \
10616 cd $(HOST_SUBDIR)/gmp && \
10617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10618 CFLAGS="$(STAGE1_CFLAGS)" \
10619 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10620 LIBCFLAGS="$(LIBCFLAGS)" \
10621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10624 $(EXTRA_HOST_FLAGS) \
10625 TFLAGS="$(STAGE1_TFLAGS)" \
10626 $(TARGET-stage1-gmp)
10628 maybe-clean-stage1-gmp: clean-stage1-gmp
10629 clean-stage1: clean-stage1-gmp
10630 clean-stage1-gmp:
10631 @if [ $(current_stage) = stage1 ]; then \
10632 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10633 else \
10634 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10635 $(MAKE) stage1-start; \
10636 fi; \
10637 cd $(HOST_SUBDIR)/gmp && \
10638 $(MAKE) $(EXTRA_HOST_FLAGS) \
10639 clean
10640 @endif gmp-bootstrap
10643 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10644 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10645 maybe-all-stage2-gmp:
10646 maybe-clean-stage2-gmp:
10647 @if gmp-bootstrap
10648 maybe-all-stage2-gmp: all-stage2-gmp
10649 all-stage2: all-stage2-gmp
10650 TARGET-stage2-gmp = $(TARGET-gmp)
10651 all-stage2-gmp: configure-stage2-gmp
10652 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10653 @r=`${PWD_COMMAND}`; export r; \
10654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10655 TFLAGS="$(STAGE2_TFLAGS)"; \
10656 $(HOST_EXPORTS) \
10657 $(POSTSTAGE1_HOST_EXPORTS) \
10658 cd $(HOST_SUBDIR)/gmp && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10660 CFLAGS="$(STAGE2_CFLAGS)" \
10661 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10662 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10663 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10664 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10665 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10666 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10667 TFLAGS="$(STAGE2_TFLAGS)" \
10668 $(TARGET-stage2-gmp)
10670 maybe-clean-stage2-gmp: clean-stage2-gmp
10671 clean-stage2: clean-stage2-gmp
10672 clean-stage2-gmp:
10673 @if [ $(current_stage) = stage2 ]; then \
10674 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10675 else \
10676 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10677 $(MAKE) stage2-start; \
10678 fi; \
10679 cd $(HOST_SUBDIR)/gmp && \
10680 $(MAKE) $(EXTRA_HOST_FLAGS) \
10681 $(POSTSTAGE1_FLAGS_TO_PASS) \
10682 clean
10683 @endif gmp-bootstrap
10686 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10687 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10688 maybe-all-stage3-gmp:
10689 maybe-clean-stage3-gmp:
10690 @if gmp-bootstrap
10691 maybe-all-stage3-gmp: all-stage3-gmp
10692 all-stage3: all-stage3-gmp
10693 TARGET-stage3-gmp = $(TARGET-gmp)
10694 all-stage3-gmp: configure-stage3-gmp
10695 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10696 @r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 TFLAGS="$(STAGE3_TFLAGS)"; \
10699 $(HOST_EXPORTS) \
10700 $(POSTSTAGE1_HOST_EXPORTS) \
10701 cd $(HOST_SUBDIR)/gmp && \
10702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10703 CFLAGS="$(STAGE3_CFLAGS)" \
10704 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10705 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10706 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10707 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10708 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10709 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10710 TFLAGS="$(STAGE3_TFLAGS)" \
10711 $(TARGET-stage3-gmp)
10713 maybe-clean-stage3-gmp: clean-stage3-gmp
10714 clean-stage3: clean-stage3-gmp
10715 clean-stage3-gmp:
10716 @if [ $(current_stage) = stage3 ]; then \
10717 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10718 else \
10719 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10720 $(MAKE) stage3-start; \
10721 fi; \
10722 cd $(HOST_SUBDIR)/gmp && \
10723 $(MAKE) $(EXTRA_HOST_FLAGS) \
10724 $(POSTSTAGE1_FLAGS_TO_PASS) \
10725 clean
10726 @endif gmp-bootstrap
10729 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10730 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10731 maybe-all-stage4-gmp:
10732 maybe-clean-stage4-gmp:
10733 @if gmp-bootstrap
10734 maybe-all-stage4-gmp: all-stage4-gmp
10735 all-stage4: all-stage4-gmp
10736 TARGET-stage4-gmp = $(TARGET-gmp)
10737 all-stage4-gmp: configure-stage4-gmp
10738 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10739 @r=`${PWD_COMMAND}`; export r; \
10740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10741 TFLAGS="$(STAGE4_TFLAGS)"; \
10742 $(HOST_EXPORTS) \
10743 $(POSTSTAGE1_HOST_EXPORTS) \
10744 cd $(HOST_SUBDIR)/gmp && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10746 CFLAGS="$(STAGE4_CFLAGS)" \
10747 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10748 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10753 TFLAGS="$(STAGE4_TFLAGS)" \
10754 $(TARGET-stage4-gmp)
10756 maybe-clean-stage4-gmp: clean-stage4-gmp
10757 clean-stage4: clean-stage4-gmp
10758 clean-stage4-gmp:
10759 @if [ $(current_stage) = stage4 ]; then \
10760 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10761 else \
10762 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10763 $(MAKE) stage4-start; \
10764 fi; \
10765 cd $(HOST_SUBDIR)/gmp && \
10766 $(MAKE) $(EXTRA_HOST_FLAGS) \
10767 $(POSTSTAGE1_FLAGS_TO_PASS) \
10768 clean
10769 @endif gmp-bootstrap
10772 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10773 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10774 maybe-all-stageprofile-gmp:
10775 maybe-clean-stageprofile-gmp:
10776 @if gmp-bootstrap
10777 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10778 all-stageprofile: all-stageprofile-gmp
10779 TARGET-stageprofile-gmp = $(TARGET-gmp)
10780 all-stageprofile-gmp: configure-stageprofile-gmp
10781 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10782 @r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10785 $(HOST_EXPORTS) \
10786 $(POSTSTAGE1_HOST_EXPORTS) \
10787 cd $(HOST_SUBDIR)/gmp && \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10789 CFLAGS="$(STAGEprofile_CFLAGS)" \
10790 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10791 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10795 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10796 TFLAGS="$(STAGEprofile_TFLAGS)" \
10797 $(TARGET-stageprofile-gmp)
10799 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10800 clean-stageprofile: clean-stageprofile-gmp
10801 clean-stageprofile-gmp:
10802 @if [ $(current_stage) = stageprofile ]; then \
10803 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10804 else \
10805 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10806 $(MAKE) stageprofile-start; \
10807 fi; \
10808 cd $(HOST_SUBDIR)/gmp && \
10809 $(MAKE) $(EXTRA_HOST_FLAGS) \
10810 $(POSTSTAGE1_FLAGS_TO_PASS) \
10811 clean
10812 @endif gmp-bootstrap
10815 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10816 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10817 maybe-all-stagefeedback-gmp:
10818 maybe-clean-stagefeedback-gmp:
10819 @if gmp-bootstrap
10820 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10821 all-stagefeedback: all-stagefeedback-gmp
10822 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10823 all-stagefeedback-gmp: configure-stagefeedback-gmp
10824 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10825 @r=`${PWD_COMMAND}`; export r; \
10826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10827 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10828 $(HOST_EXPORTS) \
10829 $(POSTSTAGE1_HOST_EXPORTS) \
10830 cd $(HOST_SUBDIR)/gmp && \
10831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10832 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10833 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10834 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10838 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10839 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10840 $(TARGET-stagefeedback-gmp)
10842 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10843 clean-stagefeedback: clean-stagefeedback-gmp
10844 clean-stagefeedback-gmp:
10845 @if [ $(current_stage) = stagefeedback ]; then \
10846 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10847 else \
10848 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10849 $(MAKE) stagefeedback-start; \
10850 fi; \
10851 cd $(HOST_SUBDIR)/gmp && \
10852 $(MAKE) $(EXTRA_HOST_FLAGS) \
10853 $(POSTSTAGE1_FLAGS_TO_PASS) \
10854 clean
10855 @endif gmp-bootstrap
10861 .PHONY: check-gmp maybe-check-gmp
10862 maybe-check-gmp:
10863 @if gmp
10864 maybe-check-gmp: check-gmp
10866 check-gmp:
10867 @: $(MAKE); $(unstage)
10868 @r=`${PWD_COMMAND}`; export r; \
10869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10870 $(HOST_EXPORTS) \
10871 (cd $(HOST_SUBDIR)/gmp && \
10872 $(MAKE) $(FLAGS_TO_PASS) check)
10874 @endif gmp
10876 .PHONY: install-gmp maybe-install-gmp
10877 maybe-install-gmp:
10878 @if gmp
10879 maybe-install-gmp: install-gmp
10881 install-gmp:
10883 @endif gmp
10885 .PHONY: install-strip-gmp maybe-install-strip-gmp
10886 maybe-install-strip-gmp:
10887 @if gmp
10888 maybe-install-strip-gmp: install-strip-gmp
10890 install-strip-gmp:
10892 @endif gmp
10894 # Other targets (info, dvi, pdf, etc.)
10896 .PHONY: maybe-info-gmp info-gmp
10897 maybe-info-gmp:
10898 @if gmp
10899 maybe-info-gmp: info-gmp
10901 info-gmp: \
10902 configure-gmp
10903 @[ -f ./gmp/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906 $(HOST_EXPORTS) \
10907 for flag in $(EXTRA_HOST_FLAGS) ; do \
10908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10909 done; \
10910 echo "Doing info in gmp" ; \
10911 (cd $(HOST_SUBDIR)/gmp && \
10912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10914 "RANLIB=$${RANLIB}" \
10915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10916 info) \
10917 || exit 1
10919 @endif gmp
10921 .PHONY: maybe-dvi-gmp dvi-gmp
10922 maybe-dvi-gmp:
10923 @if gmp
10924 maybe-dvi-gmp: dvi-gmp
10926 dvi-gmp: \
10927 configure-gmp
10928 @[ -f ./gmp/Makefile ] || exit 0; \
10929 r=`${PWD_COMMAND}`; export r; \
10930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 $(HOST_EXPORTS) \
10932 for flag in $(EXTRA_HOST_FLAGS) ; do \
10933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10934 done; \
10935 echo "Doing dvi in gmp" ; \
10936 (cd $(HOST_SUBDIR)/gmp && \
10937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10939 "RANLIB=$${RANLIB}" \
10940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10941 dvi) \
10942 || exit 1
10944 @endif gmp
10946 .PHONY: maybe-pdf-gmp pdf-gmp
10947 maybe-pdf-gmp:
10948 @if gmp
10949 maybe-pdf-gmp: pdf-gmp
10951 pdf-gmp: \
10952 configure-gmp
10953 @[ -f ./gmp/Makefile ] || exit 0; \
10954 r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(HOST_EXPORTS) \
10957 for flag in $(EXTRA_HOST_FLAGS) ; do \
10958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10959 done; \
10960 echo "Doing pdf in gmp" ; \
10961 (cd $(HOST_SUBDIR)/gmp && \
10962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10964 "RANLIB=$${RANLIB}" \
10965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10966 pdf) \
10967 || exit 1
10969 @endif gmp
10971 .PHONY: maybe-html-gmp html-gmp
10972 maybe-html-gmp:
10973 @if gmp
10974 maybe-html-gmp: html-gmp
10976 html-gmp: \
10977 configure-gmp
10978 @[ -f ./gmp/Makefile ] || exit 0; \
10979 r=`${PWD_COMMAND}`; export r; \
10980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10981 $(HOST_EXPORTS) \
10982 for flag in $(EXTRA_HOST_FLAGS) ; do \
10983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10984 done; \
10985 echo "Doing html in gmp" ; \
10986 (cd $(HOST_SUBDIR)/gmp && \
10987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10989 "RANLIB=$${RANLIB}" \
10990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10991 html) \
10992 || exit 1
10994 @endif gmp
10996 .PHONY: maybe-TAGS-gmp TAGS-gmp
10997 maybe-TAGS-gmp:
10998 @if gmp
10999 maybe-TAGS-gmp: TAGS-gmp
11001 TAGS-gmp: \
11002 configure-gmp
11003 @[ -f ./gmp/Makefile ] || exit 0; \
11004 r=`${PWD_COMMAND}`; export r; \
11005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11006 $(HOST_EXPORTS) \
11007 for flag in $(EXTRA_HOST_FLAGS) ; do \
11008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11009 done; \
11010 echo "Doing TAGS in gmp" ; \
11011 (cd $(HOST_SUBDIR)/gmp && \
11012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11014 "RANLIB=$${RANLIB}" \
11015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11016 TAGS) \
11017 || exit 1
11019 @endif gmp
11021 .PHONY: maybe-install-info-gmp install-info-gmp
11022 maybe-install-info-gmp:
11023 @if gmp
11024 maybe-install-info-gmp: install-info-gmp
11026 install-info-gmp: \
11027 configure-gmp \
11028 info-gmp
11029 @[ -f ./gmp/Makefile ] || exit 0; \
11030 r=`${PWD_COMMAND}`; export r; \
11031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11032 $(HOST_EXPORTS) \
11033 for flag in $(EXTRA_HOST_FLAGS) ; do \
11034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11035 done; \
11036 echo "Doing install-info in gmp" ; \
11037 (cd $(HOST_SUBDIR)/gmp && \
11038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11040 "RANLIB=$${RANLIB}" \
11041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11042 install-info) \
11043 || exit 1
11045 @endif gmp
11047 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11048 maybe-install-pdf-gmp:
11049 @if gmp
11050 maybe-install-pdf-gmp: install-pdf-gmp
11052 install-pdf-gmp: \
11053 configure-gmp \
11054 pdf-gmp
11055 @[ -f ./gmp/Makefile ] || exit 0; \
11056 r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 $(HOST_EXPORTS) \
11059 for flag in $(EXTRA_HOST_FLAGS) ; do \
11060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11061 done; \
11062 echo "Doing install-pdf in gmp" ; \
11063 (cd $(HOST_SUBDIR)/gmp && \
11064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11066 "RANLIB=$${RANLIB}" \
11067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11068 install-pdf) \
11069 || exit 1
11071 @endif gmp
11073 .PHONY: maybe-install-html-gmp install-html-gmp
11074 maybe-install-html-gmp:
11075 @if gmp
11076 maybe-install-html-gmp: install-html-gmp
11078 install-html-gmp: \
11079 configure-gmp \
11080 html-gmp
11081 @[ -f ./gmp/Makefile ] || exit 0; \
11082 r=`${PWD_COMMAND}`; export r; \
11083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 $(HOST_EXPORTS) \
11085 for flag in $(EXTRA_HOST_FLAGS) ; do \
11086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11087 done; \
11088 echo "Doing install-html in gmp" ; \
11089 (cd $(HOST_SUBDIR)/gmp && \
11090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11092 "RANLIB=$${RANLIB}" \
11093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11094 install-html) \
11095 || exit 1
11097 @endif gmp
11099 .PHONY: maybe-installcheck-gmp installcheck-gmp
11100 maybe-installcheck-gmp:
11101 @if gmp
11102 maybe-installcheck-gmp: installcheck-gmp
11104 installcheck-gmp: \
11105 configure-gmp
11106 @[ -f ./gmp/Makefile ] || exit 0; \
11107 r=`${PWD_COMMAND}`; export r; \
11108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11109 $(HOST_EXPORTS) \
11110 for flag in $(EXTRA_HOST_FLAGS) ; do \
11111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11112 done; \
11113 echo "Doing installcheck in gmp" ; \
11114 (cd $(HOST_SUBDIR)/gmp && \
11115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11117 "RANLIB=$${RANLIB}" \
11118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11119 installcheck) \
11120 || exit 1
11122 @endif gmp
11124 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11125 maybe-mostlyclean-gmp:
11126 @if gmp
11127 maybe-mostlyclean-gmp: mostlyclean-gmp
11129 mostlyclean-gmp:
11130 @[ -f ./gmp/Makefile ] || exit 0; \
11131 r=`${PWD_COMMAND}`; export r; \
11132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11133 $(HOST_EXPORTS) \
11134 for flag in $(EXTRA_HOST_FLAGS) ; do \
11135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11136 done; \
11137 echo "Doing mostlyclean in gmp" ; \
11138 (cd $(HOST_SUBDIR)/gmp && \
11139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11141 "RANLIB=$${RANLIB}" \
11142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11143 mostlyclean) \
11144 || exit 1
11146 @endif gmp
11148 .PHONY: maybe-clean-gmp clean-gmp
11149 maybe-clean-gmp:
11150 @if gmp
11151 maybe-clean-gmp: clean-gmp
11153 clean-gmp:
11154 @[ -f ./gmp/Makefile ] || exit 0; \
11155 r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 for flag in $(EXTRA_HOST_FLAGS) ; do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing clean in gmp" ; \
11162 (cd $(HOST_SUBDIR)/gmp && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11167 clean) \
11168 || exit 1
11170 @endif gmp
11172 .PHONY: maybe-distclean-gmp distclean-gmp
11173 maybe-distclean-gmp:
11174 @if gmp
11175 maybe-distclean-gmp: distclean-gmp
11177 distclean-gmp:
11178 @[ -f ./gmp/Makefile ] || exit 0; \
11179 r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(HOST_EXPORTS) \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184 done; \
11185 echo "Doing distclean in gmp" ; \
11186 (cd $(HOST_SUBDIR)/gmp && \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11191 distclean) \
11192 || exit 1
11194 @endif gmp
11196 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11197 maybe-maintainer-clean-gmp:
11198 @if gmp
11199 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11201 maintainer-clean-gmp:
11202 @[ -f ./gmp/Makefile ] || exit 0; \
11203 r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205 $(HOST_EXPORTS) \
11206 for flag in $(EXTRA_HOST_FLAGS) ; do \
11207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11208 done; \
11209 echo "Doing maintainer-clean in gmp" ; \
11210 (cd $(HOST_SUBDIR)/gmp && \
11211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11213 "RANLIB=$${RANLIB}" \
11214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11215 maintainer-clean) \
11216 || exit 1
11218 @endif gmp
11222 .PHONY: configure-mpfr maybe-configure-mpfr
11223 maybe-configure-mpfr:
11224 @if gcc-bootstrap
11225 configure-mpfr: stage_current
11226 @endif gcc-bootstrap
11227 @if mpfr
11228 maybe-configure-mpfr: configure-mpfr
11229 configure-mpfr:
11230 @r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11234 $(HOST_EXPORTS) \
11235 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11236 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11237 case $(srcdir) in \
11238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11239 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11241 esac; \
11242 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11243 libsrcdir="$$s/mpfr"; \
11244 $(SHELL) $${libsrcdir}/configure \
11245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11246 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11247 || exit 1
11248 @endif mpfr
11252 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11253 maybe-configure-stage1-mpfr:
11254 @if mpfr-bootstrap
11255 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11256 configure-stage1-mpfr:
11257 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11259 @r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 TFLAGS="$(STAGE1_TFLAGS)"; \
11262 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11263 $(HOST_EXPORTS) \
11264 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11265 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11266 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11267 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11269 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11270 case $(srcdir) in \
11271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11272 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11274 esac; \
11275 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11276 libsrcdir="$$s/mpfr"; \
11277 $(SHELL) $${libsrcdir}/configure \
11278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11279 --target=${target_alias} $${srcdiroption} \
11280 $(STAGE1_CONFIGURE_FLAGS) \
11281 --disable-shared @extra_mpfr_configure_flags@
11282 @endif mpfr-bootstrap
11284 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11285 maybe-configure-stage2-mpfr:
11286 @if mpfr-bootstrap
11287 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11288 configure-stage2-mpfr:
11289 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11291 @r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11293 TFLAGS="$(STAGE2_TFLAGS)"; \
11294 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11295 $(HOST_EXPORTS) \
11296 $(POSTSTAGE1_HOST_EXPORTS) \
11297 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11298 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11299 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11300 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11302 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11303 case $(srcdir) in \
11304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11305 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11307 esac; \
11308 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11309 libsrcdir="$$s/mpfr"; \
11310 $(SHELL) $${libsrcdir}/configure \
11311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11312 --target=${target_alias} $${srcdiroption} \
11313 --with-build-libsubdir=$(HOST_SUBDIR) \
11314 $(STAGE2_CONFIGURE_FLAGS) \
11315 --disable-shared @extra_mpfr_configure_flags@
11316 @endif mpfr-bootstrap
11318 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11319 maybe-configure-stage3-mpfr:
11320 @if mpfr-bootstrap
11321 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11322 configure-stage3-mpfr:
11323 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11325 @r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 TFLAGS="$(STAGE3_TFLAGS)"; \
11328 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11329 $(HOST_EXPORTS) \
11330 $(POSTSTAGE1_HOST_EXPORTS) \
11331 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11332 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11333 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11334 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11336 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11337 case $(srcdir) in \
11338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11339 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11341 esac; \
11342 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11343 libsrcdir="$$s/mpfr"; \
11344 $(SHELL) $${libsrcdir}/configure \
11345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11346 --target=${target_alias} $${srcdiroption} \
11347 --with-build-libsubdir=$(HOST_SUBDIR) \
11348 $(STAGE3_CONFIGURE_FLAGS) \
11349 --disable-shared @extra_mpfr_configure_flags@
11350 @endif mpfr-bootstrap
11352 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11353 maybe-configure-stage4-mpfr:
11354 @if mpfr-bootstrap
11355 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11356 configure-stage4-mpfr:
11357 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11359 @r=`${PWD_COMMAND}`; export r; \
11360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11361 TFLAGS="$(STAGE4_TFLAGS)"; \
11362 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11363 $(HOST_EXPORTS) \
11364 $(POSTSTAGE1_HOST_EXPORTS) \
11365 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11366 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11367 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11368 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11370 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11371 case $(srcdir) in \
11372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11373 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11375 esac; \
11376 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11377 libsrcdir="$$s/mpfr"; \
11378 $(SHELL) $${libsrcdir}/configure \
11379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11380 --target=${target_alias} $${srcdiroption} \
11381 --with-build-libsubdir=$(HOST_SUBDIR) \
11382 $(STAGE4_CONFIGURE_FLAGS) \
11383 --disable-shared @extra_mpfr_configure_flags@
11384 @endif mpfr-bootstrap
11386 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11387 maybe-configure-stageprofile-mpfr:
11388 @if mpfr-bootstrap
11389 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11390 configure-stageprofile-mpfr:
11391 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11393 @r=`${PWD_COMMAND}`; export r; \
11394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11395 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11396 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11397 $(HOST_EXPORTS) \
11398 $(POSTSTAGE1_HOST_EXPORTS) \
11399 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11400 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11401 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11402 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11404 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11405 case $(srcdir) in \
11406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11407 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11409 esac; \
11410 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11411 libsrcdir="$$s/mpfr"; \
11412 $(SHELL) $${libsrcdir}/configure \
11413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11414 --target=${target_alias} $${srcdiroption} \
11415 --with-build-libsubdir=$(HOST_SUBDIR) \
11416 $(STAGEprofile_CONFIGURE_FLAGS) \
11417 --disable-shared @extra_mpfr_configure_flags@
11418 @endif mpfr-bootstrap
11420 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11421 maybe-configure-stagefeedback-mpfr:
11422 @if mpfr-bootstrap
11423 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11424 configure-stagefeedback-mpfr:
11425 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11427 @r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11430 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11431 $(HOST_EXPORTS) \
11432 $(POSTSTAGE1_HOST_EXPORTS) \
11433 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11434 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11435 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11436 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11438 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11439 case $(srcdir) in \
11440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11441 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11443 esac; \
11444 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11445 libsrcdir="$$s/mpfr"; \
11446 $(SHELL) $${libsrcdir}/configure \
11447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11448 --target=${target_alias} $${srcdiroption} \
11449 --with-build-libsubdir=$(HOST_SUBDIR) \
11450 $(STAGEfeedback_CONFIGURE_FLAGS) \
11451 --disable-shared @extra_mpfr_configure_flags@
11452 @endif mpfr-bootstrap
11458 .PHONY: all-mpfr maybe-all-mpfr
11459 maybe-all-mpfr:
11460 @if gcc-bootstrap
11461 all-mpfr: stage_current
11462 @endif gcc-bootstrap
11463 @if mpfr
11464 TARGET-mpfr=all
11465 maybe-all-mpfr: all-mpfr
11466 all-mpfr: configure-mpfr
11467 @r=`${PWD_COMMAND}`; export r; \
11468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11469 $(HOST_EXPORTS) \
11470 (cd $(HOST_SUBDIR)/mpfr && \
11471 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11472 $(TARGET-mpfr))
11473 @endif mpfr
11477 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11478 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11479 maybe-all-stage1-mpfr:
11480 maybe-clean-stage1-mpfr:
11481 @if mpfr-bootstrap
11482 maybe-all-stage1-mpfr: all-stage1-mpfr
11483 all-stage1: all-stage1-mpfr
11484 TARGET-stage1-mpfr = $(TARGET-mpfr)
11485 all-stage1-mpfr: configure-stage1-mpfr
11486 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11487 @r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 TFLAGS="$(STAGE1_TFLAGS)"; \
11490 $(HOST_EXPORTS) \
11491 cd $(HOST_SUBDIR)/mpfr && \
11492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11493 CFLAGS="$(STAGE1_CFLAGS)" \
11494 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11495 LIBCFLAGS="$(LIBCFLAGS)" \
11496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11499 $(EXTRA_HOST_FLAGS) \
11500 TFLAGS="$(STAGE1_TFLAGS)" \
11501 $(TARGET-stage1-mpfr)
11503 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11504 clean-stage1: clean-stage1-mpfr
11505 clean-stage1-mpfr:
11506 @if [ $(current_stage) = stage1 ]; then \
11507 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11508 else \
11509 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11510 $(MAKE) stage1-start; \
11511 fi; \
11512 cd $(HOST_SUBDIR)/mpfr && \
11513 $(MAKE) $(EXTRA_HOST_FLAGS) \
11514 clean
11515 @endif mpfr-bootstrap
11518 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11519 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11520 maybe-all-stage2-mpfr:
11521 maybe-clean-stage2-mpfr:
11522 @if mpfr-bootstrap
11523 maybe-all-stage2-mpfr: all-stage2-mpfr
11524 all-stage2: all-stage2-mpfr
11525 TARGET-stage2-mpfr = $(TARGET-mpfr)
11526 all-stage2-mpfr: configure-stage2-mpfr
11527 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11528 @r=`${PWD_COMMAND}`; export r; \
11529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530 TFLAGS="$(STAGE2_TFLAGS)"; \
11531 $(HOST_EXPORTS) \
11532 $(POSTSTAGE1_HOST_EXPORTS) \
11533 cd $(HOST_SUBDIR)/mpfr && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11535 CFLAGS="$(STAGE2_CFLAGS)" \
11536 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11537 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11542 TFLAGS="$(STAGE2_TFLAGS)" \
11543 $(TARGET-stage2-mpfr)
11545 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11546 clean-stage2: clean-stage2-mpfr
11547 clean-stage2-mpfr:
11548 @if [ $(current_stage) = stage2 ]; then \
11549 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11550 else \
11551 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11552 $(MAKE) stage2-start; \
11553 fi; \
11554 cd $(HOST_SUBDIR)/mpfr && \
11555 $(MAKE) $(EXTRA_HOST_FLAGS) \
11556 $(POSTSTAGE1_FLAGS_TO_PASS) \
11557 clean
11558 @endif mpfr-bootstrap
11561 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11562 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11563 maybe-all-stage3-mpfr:
11564 maybe-clean-stage3-mpfr:
11565 @if mpfr-bootstrap
11566 maybe-all-stage3-mpfr: all-stage3-mpfr
11567 all-stage3: all-stage3-mpfr
11568 TARGET-stage3-mpfr = $(TARGET-mpfr)
11569 all-stage3-mpfr: configure-stage3-mpfr
11570 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11571 @r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 TFLAGS="$(STAGE3_TFLAGS)"; \
11574 $(HOST_EXPORTS) \
11575 $(POSTSTAGE1_HOST_EXPORTS) \
11576 cd $(HOST_SUBDIR)/mpfr && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11578 CFLAGS="$(STAGE3_CFLAGS)" \
11579 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11580 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11585 TFLAGS="$(STAGE3_TFLAGS)" \
11586 $(TARGET-stage3-mpfr)
11588 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11589 clean-stage3: clean-stage3-mpfr
11590 clean-stage3-mpfr:
11591 @if [ $(current_stage) = stage3 ]; then \
11592 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11593 else \
11594 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11595 $(MAKE) stage3-start; \
11596 fi; \
11597 cd $(HOST_SUBDIR)/mpfr && \
11598 $(MAKE) $(EXTRA_HOST_FLAGS) \
11599 $(POSTSTAGE1_FLAGS_TO_PASS) \
11600 clean
11601 @endif mpfr-bootstrap
11604 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11605 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11606 maybe-all-stage4-mpfr:
11607 maybe-clean-stage4-mpfr:
11608 @if mpfr-bootstrap
11609 maybe-all-stage4-mpfr: all-stage4-mpfr
11610 all-stage4: all-stage4-mpfr
11611 TARGET-stage4-mpfr = $(TARGET-mpfr)
11612 all-stage4-mpfr: configure-stage4-mpfr
11613 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11614 @r=`${PWD_COMMAND}`; export r; \
11615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11616 TFLAGS="$(STAGE4_TFLAGS)"; \
11617 $(HOST_EXPORTS) \
11618 $(POSTSTAGE1_HOST_EXPORTS) \
11619 cd $(HOST_SUBDIR)/mpfr && \
11620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11621 CFLAGS="$(STAGE4_CFLAGS)" \
11622 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11623 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11628 TFLAGS="$(STAGE4_TFLAGS)" \
11629 $(TARGET-stage4-mpfr)
11631 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11632 clean-stage4: clean-stage4-mpfr
11633 clean-stage4-mpfr:
11634 @if [ $(current_stage) = stage4 ]; then \
11635 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11636 else \
11637 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11638 $(MAKE) stage4-start; \
11639 fi; \
11640 cd $(HOST_SUBDIR)/mpfr && \
11641 $(MAKE) $(EXTRA_HOST_FLAGS) \
11642 $(POSTSTAGE1_FLAGS_TO_PASS) \
11643 clean
11644 @endif mpfr-bootstrap
11647 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11648 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11649 maybe-all-stageprofile-mpfr:
11650 maybe-clean-stageprofile-mpfr:
11651 @if mpfr-bootstrap
11652 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11653 all-stageprofile: all-stageprofile-mpfr
11654 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11655 all-stageprofile-mpfr: configure-stageprofile-mpfr
11656 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11657 @r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11660 $(HOST_EXPORTS) \
11661 $(POSTSTAGE1_HOST_EXPORTS) \
11662 cd $(HOST_SUBDIR)/mpfr && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11664 CFLAGS="$(STAGEprofile_CFLAGS)" \
11665 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11666 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11671 TFLAGS="$(STAGEprofile_TFLAGS)" \
11672 $(TARGET-stageprofile-mpfr)
11674 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11675 clean-stageprofile: clean-stageprofile-mpfr
11676 clean-stageprofile-mpfr:
11677 @if [ $(current_stage) = stageprofile ]; then \
11678 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11679 else \
11680 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11681 $(MAKE) stageprofile-start; \
11682 fi; \
11683 cd $(HOST_SUBDIR)/mpfr && \
11684 $(MAKE) $(EXTRA_HOST_FLAGS) \
11685 $(POSTSTAGE1_FLAGS_TO_PASS) \
11686 clean
11687 @endif mpfr-bootstrap
11690 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11691 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11692 maybe-all-stagefeedback-mpfr:
11693 maybe-clean-stagefeedback-mpfr:
11694 @if mpfr-bootstrap
11695 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11696 all-stagefeedback: all-stagefeedback-mpfr
11697 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11698 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11699 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11700 @r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11703 $(HOST_EXPORTS) \
11704 $(POSTSTAGE1_HOST_EXPORTS) \
11705 cd $(HOST_SUBDIR)/mpfr && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11707 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11708 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11709 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11714 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11715 $(TARGET-stagefeedback-mpfr)
11717 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11718 clean-stagefeedback: clean-stagefeedback-mpfr
11719 clean-stagefeedback-mpfr:
11720 @if [ $(current_stage) = stagefeedback ]; then \
11721 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11722 else \
11723 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11724 $(MAKE) stagefeedback-start; \
11725 fi; \
11726 cd $(HOST_SUBDIR)/mpfr && \
11727 $(MAKE) $(EXTRA_HOST_FLAGS) \
11728 $(POSTSTAGE1_FLAGS_TO_PASS) \
11729 clean
11730 @endif mpfr-bootstrap
11736 .PHONY: check-mpfr maybe-check-mpfr
11737 maybe-check-mpfr:
11738 @if mpfr
11739 maybe-check-mpfr: check-mpfr
11741 check-mpfr:
11742 @: $(MAKE); $(unstage)
11743 @r=`${PWD_COMMAND}`; export r; \
11744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11745 $(HOST_EXPORTS) \
11746 (cd $(HOST_SUBDIR)/mpfr && \
11747 $(MAKE) $(FLAGS_TO_PASS) check)
11749 @endif mpfr
11751 .PHONY: install-mpfr maybe-install-mpfr
11752 maybe-install-mpfr:
11753 @if mpfr
11754 maybe-install-mpfr: install-mpfr
11756 install-mpfr:
11758 @endif mpfr
11760 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11761 maybe-install-strip-mpfr:
11762 @if mpfr
11763 maybe-install-strip-mpfr: install-strip-mpfr
11765 install-strip-mpfr:
11767 @endif mpfr
11769 # Other targets (info, dvi, pdf, etc.)
11771 .PHONY: maybe-info-mpfr info-mpfr
11772 maybe-info-mpfr:
11773 @if mpfr
11774 maybe-info-mpfr: info-mpfr
11776 info-mpfr: \
11777 configure-mpfr
11778 @[ -f ./mpfr/Makefile ] || exit 0; \
11779 r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 $(HOST_EXPORTS) \
11782 for flag in $(EXTRA_HOST_FLAGS) ; do \
11783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11784 done; \
11785 echo "Doing info in mpfr" ; \
11786 (cd $(HOST_SUBDIR)/mpfr && \
11787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11789 "RANLIB=$${RANLIB}" \
11790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11791 info) \
11792 || exit 1
11794 @endif mpfr
11796 .PHONY: maybe-dvi-mpfr dvi-mpfr
11797 maybe-dvi-mpfr:
11798 @if mpfr
11799 maybe-dvi-mpfr: dvi-mpfr
11801 dvi-mpfr: \
11802 configure-mpfr
11803 @[ -f ./mpfr/Makefile ] || exit 0; \
11804 r=`${PWD_COMMAND}`; export r; \
11805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11806 $(HOST_EXPORTS) \
11807 for flag in $(EXTRA_HOST_FLAGS) ; do \
11808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11809 done; \
11810 echo "Doing dvi in mpfr" ; \
11811 (cd $(HOST_SUBDIR)/mpfr && \
11812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11814 "RANLIB=$${RANLIB}" \
11815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11816 dvi) \
11817 || exit 1
11819 @endif mpfr
11821 .PHONY: maybe-pdf-mpfr pdf-mpfr
11822 maybe-pdf-mpfr:
11823 @if mpfr
11824 maybe-pdf-mpfr: pdf-mpfr
11826 pdf-mpfr: \
11827 configure-mpfr
11828 @[ -f ./mpfr/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) ; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing pdf in mpfr" ; \
11836 (cd $(HOST_SUBDIR)/mpfr && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11841 pdf) \
11842 || exit 1
11844 @endif mpfr
11846 .PHONY: maybe-html-mpfr html-mpfr
11847 maybe-html-mpfr:
11848 @if mpfr
11849 maybe-html-mpfr: html-mpfr
11851 html-mpfr: \
11852 configure-mpfr
11853 @[ -f ./mpfr/Makefile ] || exit 0; \
11854 r=`${PWD_COMMAND}`; export r; \
11855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11856 $(HOST_EXPORTS) \
11857 for flag in $(EXTRA_HOST_FLAGS) ; do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11859 done; \
11860 echo "Doing html in mpfr" ; \
11861 (cd $(HOST_SUBDIR)/mpfr && \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11866 html) \
11867 || exit 1
11869 @endif mpfr
11871 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11872 maybe-TAGS-mpfr:
11873 @if mpfr
11874 maybe-TAGS-mpfr: TAGS-mpfr
11876 TAGS-mpfr: \
11877 configure-mpfr
11878 @[ -f ./mpfr/Makefile ] || exit 0; \
11879 r=`${PWD_COMMAND}`; export r; \
11880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 $(HOST_EXPORTS) \
11882 for flag in $(EXTRA_HOST_FLAGS) ; do \
11883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11884 done; \
11885 echo "Doing TAGS in mpfr" ; \
11886 (cd $(HOST_SUBDIR)/mpfr && \
11887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11889 "RANLIB=$${RANLIB}" \
11890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11891 TAGS) \
11892 || exit 1
11894 @endif mpfr
11896 .PHONY: maybe-install-info-mpfr install-info-mpfr
11897 maybe-install-info-mpfr:
11898 @if mpfr
11899 maybe-install-info-mpfr: install-info-mpfr
11901 install-info-mpfr: \
11902 configure-mpfr \
11903 info-mpfr
11904 @[ -f ./mpfr/Makefile ] || exit 0; \
11905 r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(HOST_EXPORTS) \
11908 for flag in $(EXTRA_HOST_FLAGS) ; do \
11909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11910 done; \
11911 echo "Doing install-info in mpfr" ; \
11912 (cd $(HOST_SUBDIR)/mpfr && \
11913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11915 "RANLIB=$${RANLIB}" \
11916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11917 install-info) \
11918 || exit 1
11920 @endif mpfr
11922 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11923 maybe-install-pdf-mpfr:
11924 @if mpfr
11925 maybe-install-pdf-mpfr: install-pdf-mpfr
11927 install-pdf-mpfr: \
11928 configure-mpfr \
11929 pdf-mpfr
11930 @[ -f ./mpfr/Makefile ] || exit 0; \
11931 r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(HOST_EXPORTS) \
11934 for flag in $(EXTRA_HOST_FLAGS) ; do \
11935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11936 done; \
11937 echo "Doing install-pdf in mpfr" ; \
11938 (cd $(HOST_SUBDIR)/mpfr && \
11939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11941 "RANLIB=$${RANLIB}" \
11942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11943 install-pdf) \
11944 || exit 1
11946 @endif mpfr
11948 .PHONY: maybe-install-html-mpfr install-html-mpfr
11949 maybe-install-html-mpfr:
11950 @if mpfr
11951 maybe-install-html-mpfr: install-html-mpfr
11953 install-html-mpfr: \
11954 configure-mpfr \
11955 html-mpfr
11956 @[ -f ./mpfr/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(HOST_EXPORTS) \
11960 for flag in $(EXTRA_HOST_FLAGS) ; do \
11961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11962 done; \
11963 echo "Doing install-html in mpfr" ; \
11964 (cd $(HOST_SUBDIR)/mpfr && \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11967 "RANLIB=$${RANLIB}" \
11968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11969 install-html) \
11970 || exit 1
11972 @endif mpfr
11974 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11975 maybe-installcheck-mpfr:
11976 @if mpfr
11977 maybe-installcheck-mpfr: installcheck-mpfr
11979 installcheck-mpfr: \
11980 configure-mpfr
11981 @[ -f ./mpfr/Makefile ] || exit 0; \
11982 r=`${PWD_COMMAND}`; export r; \
11983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11984 $(HOST_EXPORTS) \
11985 for flag in $(EXTRA_HOST_FLAGS) ; do \
11986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11987 done; \
11988 echo "Doing installcheck in mpfr" ; \
11989 (cd $(HOST_SUBDIR)/mpfr && \
11990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11992 "RANLIB=$${RANLIB}" \
11993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11994 installcheck) \
11995 || exit 1
11997 @endif mpfr
11999 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12000 maybe-mostlyclean-mpfr:
12001 @if mpfr
12002 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12004 mostlyclean-mpfr:
12005 @[ -f ./mpfr/Makefile ] || exit 0; \
12006 r=`${PWD_COMMAND}`; export r; \
12007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12008 $(HOST_EXPORTS) \
12009 for flag in $(EXTRA_HOST_FLAGS) ; do \
12010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12011 done; \
12012 echo "Doing mostlyclean in mpfr" ; \
12013 (cd $(HOST_SUBDIR)/mpfr && \
12014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12016 "RANLIB=$${RANLIB}" \
12017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12018 mostlyclean) \
12019 || exit 1
12021 @endif mpfr
12023 .PHONY: maybe-clean-mpfr clean-mpfr
12024 maybe-clean-mpfr:
12025 @if mpfr
12026 maybe-clean-mpfr: clean-mpfr
12028 clean-mpfr:
12029 @[ -f ./mpfr/Makefile ] || exit 0; \
12030 r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 $(HOST_EXPORTS) \
12033 for flag in $(EXTRA_HOST_FLAGS) ; do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing clean in mpfr" ; \
12037 (cd $(HOST_SUBDIR)/mpfr && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12042 clean) \
12043 || exit 1
12045 @endif mpfr
12047 .PHONY: maybe-distclean-mpfr distclean-mpfr
12048 maybe-distclean-mpfr:
12049 @if mpfr
12050 maybe-distclean-mpfr: distclean-mpfr
12052 distclean-mpfr:
12053 @[ -f ./mpfr/Makefile ] || exit 0; \
12054 r=`${PWD_COMMAND}`; export r; \
12055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12056 $(HOST_EXPORTS) \
12057 for flag in $(EXTRA_HOST_FLAGS) ; do \
12058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12059 done; \
12060 echo "Doing distclean in mpfr" ; \
12061 (cd $(HOST_SUBDIR)/mpfr && \
12062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12064 "RANLIB=$${RANLIB}" \
12065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12066 distclean) \
12067 || exit 1
12069 @endif mpfr
12071 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12072 maybe-maintainer-clean-mpfr:
12073 @if mpfr
12074 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12076 maintainer-clean-mpfr:
12077 @[ -f ./mpfr/Makefile ] || exit 0; \
12078 r=`${PWD_COMMAND}`; export r; \
12079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 $(HOST_EXPORTS) \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 done; \
12084 echo "Doing maintainer-clean in mpfr" ; \
12085 (cd $(HOST_SUBDIR)/mpfr && \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12090 maintainer-clean) \
12091 || exit 1
12093 @endif mpfr
12097 .PHONY: configure-mpc maybe-configure-mpc
12098 maybe-configure-mpc:
12099 @if gcc-bootstrap
12100 configure-mpc: stage_current
12101 @endif gcc-bootstrap
12102 @if mpc
12103 maybe-configure-mpc: configure-mpc
12104 configure-mpc:
12105 @r=`${PWD_COMMAND}`; export r; \
12106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12107 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12109 $(HOST_EXPORTS) \
12110 echo Configuring in $(HOST_SUBDIR)/mpc; \
12111 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12112 case $(srcdir) in \
12113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12114 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12116 esac; \
12117 srcdiroption="--srcdir=$${topdir}/mpc"; \
12118 libsrcdir="$$s/mpc"; \
12119 $(SHELL) $${libsrcdir}/configure \
12120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12121 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12122 || exit 1
12123 @endif mpc
12127 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12128 maybe-configure-stage1-mpc:
12129 @if mpc-bootstrap
12130 maybe-configure-stage1-mpc: configure-stage1-mpc
12131 configure-stage1-mpc:
12132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12134 @r=`${PWD_COMMAND}`; export r; \
12135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12136 TFLAGS="$(STAGE1_TFLAGS)"; \
12137 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12138 $(HOST_EXPORTS) \
12139 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12140 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12141 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12142 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12144 cd $(HOST_SUBDIR)/mpc || exit 1; \
12145 case $(srcdir) in \
12146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12147 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12149 esac; \
12150 srcdiroption="--srcdir=$${topdir}/mpc"; \
12151 libsrcdir="$$s/mpc"; \
12152 $(SHELL) $${libsrcdir}/configure \
12153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12154 --target=${target_alias} $${srcdiroption} \
12155 $(STAGE1_CONFIGURE_FLAGS) \
12156 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12157 @endif mpc-bootstrap
12159 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12160 maybe-configure-stage2-mpc:
12161 @if mpc-bootstrap
12162 maybe-configure-stage2-mpc: configure-stage2-mpc
12163 configure-stage2-mpc:
12164 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12166 @r=`${PWD_COMMAND}`; export r; \
12167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12168 TFLAGS="$(STAGE2_TFLAGS)"; \
12169 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12170 $(HOST_EXPORTS) \
12171 $(POSTSTAGE1_HOST_EXPORTS) \
12172 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12173 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12174 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12175 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12177 cd $(HOST_SUBDIR)/mpc || exit 1; \
12178 case $(srcdir) in \
12179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12180 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12182 esac; \
12183 srcdiroption="--srcdir=$${topdir}/mpc"; \
12184 libsrcdir="$$s/mpc"; \
12185 $(SHELL) $${libsrcdir}/configure \
12186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12187 --target=${target_alias} $${srcdiroption} \
12188 --with-build-libsubdir=$(HOST_SUBDIR) \
12189 $(STAGE2_CONFIGURE_FLAGS) \
12190 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12191 @endif mpc-bootstrap
12193 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12194 maybe-configure-stage3-mpc:
12195 @if mpc-bootstrap
12196 maybe-configure-stage3-mpc: configure-stage3-mpc
12197 configure-stage3-mpc:
12198 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12200 @r=`${PWD_COMMAND}`; export r; \
12201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12202 TFLAGS="$(STAGE3_TFLAGS)"; \
12203 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12204 $(HOST_EXPORTS) \
12205 $(POSTSTAGE1_HOST_EXPORTS) \
12206 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12207 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12208 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12209 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12211 cd $(HOST_SUBDIR)/mpc || exit 1; \
12212 case $(srcdir) in \
12213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12214 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12216 esac; \
12217 srcdiroption="--srcdir=$${topdir}/mpc"; \
12218 libsrcdir="$$s/mpc"; \
12219 $(SHELL) $${libsrcdir}/configure \
12220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12221 --target=${target_alias} $${srcdiroption} \
12222 --with-build-libsubdir=$(HOST_SUBDIR) \
12223 $(STAGE3_CONFIGURE_FLAGS) \
12224 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12225 @endif mpc-bootstrap
12227 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12228 maybe-configure-stage4-mpc:
12229 @if mpc-bootstrap
12230 maybe-configure-stage4-mpc: configure-stage4-mpc
12231 configure-stage4-mpc:
12232 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12234 @r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 TFLAGS="$(STAGE4_TFLAGS)"; \
12237 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12238 $(HOST_EXPORTS) \
12239 $(POSTSTAGE1_HOST_EXPORTS) \
12240 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12241 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12242 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12243 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12245 cd $(HOST_SUBDIR)/mpc || exit 1; \
12246 case $(srcdir) in \
12247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12248 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12250 esac; \
12251 srcdiroption="--srcdir=$${topdir}/mpc"; \
12252 libsrcdir="$$s/mpc"; \
12253 $(SHELL) $${libsrcdir}/configure \
12254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12255 --target=${target_alias} $${srcdiroption} \
12256 --with-build-libsubdir=$(HOST_SUBDIR) \
12257 $(STAGE4_CONFIGURE_FLAGS) \
12258 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12259 @endif mpc-bootstrap
12261 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12262 maybe-configure-stageprofile-mpc:
12263 @if mpc-bootstrap
12264 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12265 configure-stageprofile-mpc:
12266 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12268 @r=`${PWD_COMMAND}`; export r; \
12269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12270 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12271 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12272 $(HOST_EXPORTS) \
12273 $(POSTSTAGE1_HOST_EXPORTS) \
12274 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12275 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12276 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12277 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12279 cd $(HOST_SUBDIR)/mpc || exit 1; \
12280 case $(srcdir) in \
12281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12282 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12284 esac; \
12285 srcdiroption="--srcdir=$${topdir}/mpc"; \
12286 libsrcdir="$$s/mpc"; \
12287 $(SHELL) $${libsrcdir}/configure \
12288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12289 --target=${target_alias} $${srcdiroption} \
12290 --with-build-libsubdir=$(HOST_SUBDIR) \
12291 $(STAGEprofile_CONFIGURE_FLAGS) \
12292 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12293 @endif mpc-bootstrap
12295 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12296 maybe-configure-stagefeedback-mpc:
12297 @if mpc-bootstrap
12298 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12299 configure-stagefeedback-mpc:
12300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12302 @r=`${PWD_COMMAND}`; export r; \
12303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12304 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12305 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12306 $(HOST_EXPORTS) \
12307 $(POSTSTAGE1_HOST_EXPORTS) \
12308 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12309 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12310 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12311 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12313 cd $(HOST_SUBDIR)/mpc || exit 1; \
12314 case $(srcdir) in \
12315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12316 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12318 esac; \
12319 srcdiroption="--srcdir=$${topdir}/mpc"; \
12320 libsrcdir="$$s/mpc"; \
12321 $(SHELL) $${libsrcdir}/configure \
12322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12323 --target=${target_alias} $${srcdiroption} \
12324 --with-build-libsubdir=$(HOST_SUBDIR) \
12325 $(STAGEfeedback_CONFIGURE_FLAGS) \
12326 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12327 @endif mpc-bootstrap
12333 .PHONY: all-mpc maybe-all-mpc
12334 maybe-all-mpc:
12335 @if gcc-bootstrap
12336 all-mpc: stage_current
12337 @endif gcc-bootstrap
12338 @if mpc
12339 TARGET-mpc=all
12340 maybe-all-mpc: all-mpc
12341 all-mpc: configure-mpc
12342 @r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 $(HOST_EXPORTS) \
12345 (cd $(HOST_SUBDIR)/mpc && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12347 $(TARGET-mpc))
12348 @endif mpc
12352 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12353 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12354 maybe-all-stage1-mpc:
12355 maybe-clean-stage1-mpc:
12356 @if mpc-bootstrap
12357 maybe-all-stage1-mpc: all-stage1-mpc
12358 all-stage1: all-stage1-mpc
12359 TARGET-stage1-mpc = $(TARGET-mpc)
12360 all-stage1-mpc: configure-stage1-mpc
12361 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12362 @r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 TFLAGS="$(STAGE1_TFLAGS)"; \
12365 $(HOST_EXPORTS) \
12366 cd $(HOST_SUBDIR)/mpc && \
12367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12368 CFLAGS="$(STAGE1_CFLAGS)" \
12369 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12370 LIBCFLAGS="$(LIBCFLAGS)" \
12371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12374 $(EXTRA_HOST_FLAGS) \
12375 TFLAGS="$(STAGE1_TFLAGS)" \
12376 $(TARGET-stage1-mpc)
12378 maybe-clean-stage1-mpc: clean-stage1-mpc
12379 clean-stage1: clean-stage1-mpc
12380 clean-stage1-mpc:
12381 @if [ $(current_stage) = stage1 ]; then \
12382 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12383 else \
12384 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12385 $(MAKE) stage1-start; \
12386 fi; \
12387 cd $(HOST_SUBDIR)/mpc && \
12388 $(MAKE) $(EXTRA_HOST_FLAGS) \
12389 clean
12390 @endif mpc-bootstrap
12393 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12394 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12395 maybe-all-stage2-mpc:
12396 maybe-clean-stage2-mpc:
12397 @if mpc-bootstrap
12398 maybe-all-stage2-mpc: all-stage2-mpc
12399 all-stage2: all-stage2-mpc
12400 TARGET-stage2-mpc = $(TARGET-mpc)
12401 all-stage2-mpc: configure-stage2-mpc
12402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12403 @r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 TFLAGS="$(STAGE2_TFLAGS)"; \
12406 $(HOST_EXPORTS) \
12407 $(POSTSTAGE1_HOST_EXPORTS) \
12408 cd $(HOST_SUBDIR)/mpc && \
12409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12410 CFLAGS="$(STAGE2_CFLAGS)" \
12411 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12412 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12417 TFLAGS="$(STAGE2_TFLAGS)" \
12418 $(TARGET-stage2-mpc)
12420 maybe-clean-stage2-mpc: clean-stage2-mpc
12421 clean-stage2: clean-stage2-mpc
12422 clean-stage2-mpc:
12423 @if [ $(current_stage) = stage2 ]; then \
12424 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12425 else \
12426 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12427 $(MAKE) stage2-start; \
12428 fi; \
12429 cd $(HOST_SUBDIR)/mpc && \
12430 $(MAKE) $(EXTRA_HOST_FLAGS) \
12431 $(POSTSTAGE1_FLAGS_TO_PASS) \
12432 clean
12433 @endif mpc-bootstrap
12436 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12437 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12438 maybe-all-stage3-mpc:
12439 maybe-clean-stage3-mpc:
12440 @if mpc-bootstrap
12441 maybe-all-stage3-mpc: all-stage3-mpc
12442 all-stage3: all-stage3-mpc
12443 TARGET-stage3-mpc = $(TARGET-mpc)
12444 all-stage3-mpc: configure-stage3-mpc
12445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12446 @r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 TFLAGS="$(STAGE3_TFLAGS)"; \
12449 $(HOST_EXPORTS) \
12450 $(POSTSTAGE1_HOST_EXPORTS) \
12451 cd $(HOST_SUBDIR)/mpc && \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12453 CFLAGS="$(STAGE3_CFLAGS)" \
12454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12460 TFLAGS="$(STAGE3_TFLAGS)" \
12461 $(TARGET-stage3-mpc)
12463 maybe-clean-stage3-mpc: clean-stage3-mpc
12464 clean-stage3: clean-stage3-mpc
12465 clean-stage3-mpc:
12466 @if [ $(current_stage) = stage3 ]; then \
12467 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12468 else \
12469 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12470 $(MAKE) stage3-start; \
12471 fi; \
12472 cd $(HOST_SUBDIR)/mpc && \
12473 $(MAKE) $(EXTRA_HOST_FLAGS) \
12474 $(POSTSTAGE1_FLAGS_TO_PASS) \
12475 clean
12476 @endif mpc-bootstrap
12479 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12480 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12481 maybe-all-stage4-mpc:
12482 maybe-clean-stage4-mpc:
12483 @if mpc-bootstrap
12484 maybe-all-stage4-mpc: all-stage4-mpc
12485 all-stage4: all-stage4-mpc
12486 TARGET-stage4-mpc = $(TARGET-mpc)
12487 all-stage4-mpc: configure-stage4-mpc
12488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12489 @r=`${PWD_COMMAND}`; export r; \
12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12491 TFLAGS="$(STAGE4_TFLAGS)"; \
12492 $(HOST_EXPORTS) \
12493 $(POSTSTAGE1_HOST_EXPORTS) \
12494 cd $(HOST_SUBDIR)/mpc && \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12496 CFLAGS="$(STAGE4_CFLAGS)" \
12497 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12498 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12503 TFLAGS="$(STAGE4_TFLAGS)" \
12504 $(TARGET-stage4-mpc)
12506 maybe-clean-stage4-mpc: clean-stage4-mpc
12507 clean-stage4: clean-stage4-mpc
12508 clean-stage4-mpc:
12509 @if [ $(current_stage) = stage4 ]; then \
12510 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12511 else \
12512 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12513 $(MAKE) stage4-start; \
12514 fi; \
12515 cd $(HOST_SUBDIR)/mpc && \
12516 $(MAKE) $(EXTRA_HOST_FLAGS) \
12517 $(POSTSTAGE1_FLAGS_TO_PASS) \
12518 clean
12519 @endif mpc-bootstrap
12522 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12523 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12524 maybe-all-stageprofile-mpc:
12525 maybe-clean-stageprofile-mpc:
12526 @if mpc-bootstrap
12527 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12528 all-stageprofile: all-stageprofile-mpc
12529 TARGET-stageprofile-mpc = $(TARGET-mpc)
12530 all-stageprofile-mpc: configure-stageprofile-mpc
12531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12535 $(HOST_EXPORTS) \
12536 $(POSTSTAGE1_HOST_EXPORTS) \
12537 cd $(HOST_SUBDIR)/mpc && \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12539 CFLAGS="$(STAGEprofile_CFLAGS)" \
12540 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12541 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12546 TFLAGS="$(STAGEprofile_TFLAGS)" \
12547 $(TARGET-stageprofile-mpc)
12549 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12550 clean-stageprofile: clean-stageprofile-mpc
12551 clean-stageprofile-mpc:
12552 @if [ $(current_stage) = stageprofile ]; then \
12553 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12554 else \
12555 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12556 $(MAKE) stageprofile-start; \
12557 fi; \
12558 cd $(HOST_SUBDIR)/mpc && \
12559 $(MAKE) $(EXTRA_HOST_FLAGS) \
12560 $(POSTSTAGE1_FLAGS_TO_PASS) \
12561 clean
12562 @endif mpc-bootstrap
12565 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12566 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12567 maybe-all-stagefeedback-mpc:
12568 maybe-clean-stagefeedback-mpc:
12569 @if mpc-bootstrap
12570 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12571 all-stagefeedback: all-stagefeedback-mpc
12572 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12573 all-stagefeedback-mpc: configure-stagefeedback-mpc
12574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12575 @r=`${PWD_COMMAND}`; export r; \
12576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12577 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12578 $(HOST_EXPORTS) \
12579 $(POSTSTAGE1_HOST_EXPORTS) \
12580 cd $(HOST_SUBDIR)/mpc && \
12581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12582 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12589 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12590 $(TARGET-stagefeedback-mpc)
12592 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12593 clean-stagefeedback: clean-stagefeedback-mpc
12594 clean-stagefeedback-mpc:
12595 @if [ $(current_stage) = stagefeedback ]; then \
12596 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12597 else \
12598 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12599 $(MAKE) stagefeedback-start; \
12600 fi; \
12601 cd $(HOST_SUBDIR)/mpc && \
12602 $(MAKE) $(EXTRA_HOST_FLAGS) \
12603 $(POSTSTAGE1_FLAGS_TO_PASS) \
12604 clean
12605 @endif mpc-bootstrap
12611 .PHONY: check-mpc maybe-check-mpc
12612 maybe-check-mpc:
12613 @if mpc
12614 maybe-check-mpc: check-mpc
12616 check-mpc:
12617 @: $(MAKE); $(unstage)
12618 @r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 $(HOST_EXPORTS) \
12621 (cd $(HOST_SUBDIR)/mpc && \
12622 $(MAKE) $(FLAGS_TO_PASS) check)
12624 @endif mpc
12626 .PHONY: install-mpc maybe-install-mpc
12627 maybe-install-mpc:
12628 @if mpc
12629 maybe-install-mpc: install-mpc
12631 install-mpc:
12633 @endif mpc
12635 .PHONY: install-strip-mpc maybe-install-strip-mpc
12636 maybe-install-strip-mpc:
12637 @if mpc
12638 maybe-install-strip-mpc: install-strip-mpc
12640 install-strip-mpc:
12642 @endif mpc
12644 # Other targets (info, dvi, pdf, etc.)
12646 .PHONY: maybe-info-mpc info-mpc
12647 maybe-info-mpc:
12648 @if mpc
12649 maybe-info-mpc: info-mpc
12651 info-mpc: \
12652 configure-mpc
12653 @[ -f ./mpc/Makefile ] || exit 0; \
12654 r=`${PWD_COMMAND}`; export r; \
12655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12656 $(HOST_EXPORTS) \
12657 for flag in $(EXTRA_HOST_FLAGS) ; do \
12658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12659 done; \
12660 echo "Doing info in mpc" ; \
12661 (cd $(HOST_SUBDIR)/mpc && \
12662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12664 "RANLIB=$${RANLIB}" \
12665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12666 info) \
12667 || exit 1
12669 @endif mpc
12671 .PHONY: maybe-dvi-mpc dvi-mpc
12672 maybe-dvi-mpc:
12673 @if mpc
12674 maybe-dvi-mpc: dvi-mpc
12676 dvi-mpc: \
12677 configure-mpc
12678 @[ -f ./mpc/Makefile ] || exit 0; \
12679 r=`${PWD_COMMAND}`; export r; \
12680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12681 $(HOST_EXPORTS) \
12682 for flag in $(EXTRA_HOST_FLAGS) ; do \
12683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12684 done; \
12685 echo "Doing dvi in mpc" ; \
12686 (cd $(HOST_SUBDIR)/mpc && \
12687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12689 "RANLIB=$${RANLIB}" \
12690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12691 dvi) \
12692 || exit 1
12694 @endif mpc
12696 .PHONY: maybe-pdf-mpc pdf-mpc
12697 maybe-pdf-mpc:
12698 @if mpc
12699 maybe-pdf-mpc: pdf-mpc
12701 pdf-mpc: \
12702 configure-mpc
12703 @[ -f ./mpc/Makefile ] || exit 0; \
12704 r=`${PWD_COMMAND}`; export r; \
12705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12706 $(HOST_EXPORTS) \
12707 for flag in $(EXTRA_HOST_FLAGS) ; do \
12708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12709 done; \
12710 echo "Doing pdf in mpc" ; \
12711 (cd $(HOST_SUBDIR)/mpc && \
12712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12714 "RANLIB=$${RANLIB}" \
12715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12716 pdf) \
12717 || exit 1
12719 @endif mpc
12721 .PHONY: maybe-html-mpc html-mpc
12722 maybe-html-mpc:
12723 @if mpc
12724 maybe-html-mpc: html-mpc
12726 html-mpc: \
12727 configure-mpc
12728 @[ -f ./mpc/Makefile ] || exit 0; \
12729 r=`${PWD_COMMAND}`; export r; \
12730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12731 $(HOST_EXPORTS) \
12732 for flag in $(EXTRA_HOST_FLAGS) ; do \
12733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12734 done; \
12735 echo "Doing html in mpc" ; \
12736 (cd $(HOST_SUBDIR)/mpc && \
12737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12739 "RANLIB=$${RANLIB}" \
12740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12741 html) \
12742 || exit 1
12744 @endif mpc
12746 .PHONY: maybe-TAGS-mpc TAGS-mpc
12747 maybe-TAGS-mpc:
12748 @if mpc
12749 maybe-TAGS-mpc: TAGS-mpc
12751 TAGS-mpc: \
12752 configure-mpc
12753 @[ -f ./mpc/Makefile ] || exit 0; \
12754 r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 $(HOST_EXPORTS) \
12757 for flag in $(EXTRA_HOST_FLAGS) ; do \
12758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759 done; \
12760 echo "Doing TAGS in mpc" ; \
12761 (cd $(HOST_SUBDIR)/mpc && \
12762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764 "RANLIB=$${RANLIB}" \
12765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12766 TAGS) \
12767 || exit 1
12769 @endif mpc
12771 .PHONY: maybe-install-info-mpc install-info-mpc
12772 maybe-install-info-mpc:
12773 @if mpc
12774 maybe-install-info-mpc: install-info-mpc
12776 install-info-mpc: \
12777 configure-mpc \
12778 info-mpc
12779 @[ -f ./mpc/Makefile ] || exit 0; \
12780 r=`${PWD_COMMAND}`; export r; \
12781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12782 $(HOST_EXPORTS) \
12783 for flag in $(EXTRA_HOST_FLAGS) ; do \
12784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12785 done; \
12786 echo "Doing install-info in mpc" ; \
12787 (cd $(HOST_SUBDIR)/mpc && \
12788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12790 "RANLIB=$${RANLIB}" \
12791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12792 install-info) \
12793 || exit 1
12795 @endif mpc
12797 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12798 maybe-install-pdf-mpc:
12799 @if mpc
12800 maybe-install-pdf-mpc: install-pdf-mpc
12802 install-pdf-mpc: \
12803 configure-mpc \
12804 pdf-mpc
12805 @[ -f ./mpc/Makefile ] || exit 0; \
12806 r=`${PWD_COMMAND}`; export r; \
12807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 $(HOST_EXPORTS) \
12809 for flag in $(EXTRA_HOST_FLAGS) ; do \
12810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12811 done; \
12812 echo "Doing install-pdf in mpc" ; \
12813 (cd $(HOST_SUBDIR)/mpc && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12816 "RANLIB=$${RANLIB}" \
12817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12818 install-pdf) \
12819 || exit 1
12821 @endif mpc
12823 .PHONY: maybe-install-html-mpc install-html-mpc
12824 maybe-install-html-mpc:
12825 @if mpc
12826 maybe-install-html-mpc: install-html-mpc
12828 install-html-mpc: \
12829 configure-mpc \
12830 html-mpc
12831 @[ -f ./mpc/Makefile ] || exit 0; \
12832 r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(HOST_EXPORTS) \
12835 for flag in $(EXTRA_HOST_FLAGS) ; do \
12836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12837 done; \
12838 echo "Doing install-html in mpc" ; \
12839 (cd $(HOST_SUBDIR)/mpc && \
12840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12842 "RANLIB=$${RANLIB}" \
12843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12844 install-html) \
12845 || exit 1
12847 @endif mpc
12849 .PHONY: maybe-installcheck-mpc installcheck-mpc
12850 maybe-installcheck-mpc:
12851 @if mpc
12852 maybe-installcheck-mpc: installcheck-mpc
12854 installcheck-mpc: \
12855 configure-mpc
12856 @[ -f ./mpc/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 $(HOST_EXPORTS) \
12860 for flag in $(EXTRA_HOST_FLAGS) ; do \
12861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12862 done; \
12863 echo "Doing installcheck in mpc" ; \
12864 (cd $(HOST_SUBDIR)/mpc && \
12865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12867 "RANLIB=$${RANLIB}" \
12868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12869 installcheck) \
12870 || exit 1
12872 @endif mpc
12874 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12875 maybe-mostlyclean-mpc:
12876 @if mpc
12877 maybe-mostlyclean-mpc: mostlyclean-mpc
12879 mostlyclean-mpc:
12880 @[ -f ./mpc/Makefile ] || exit 0; \
12881 r=`${PWD_COMMAND}`; export r; \
12882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 $(HOST_EXPORTS) \
12884 for flag in $(EXTRA_HOST_FLAGS) ; do \
12885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12886 done; \
12887 echo "Doing mostlyclean in mpc" ; \
12888 (cd $(HOST_SUBDIR)/mpc && \
12889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12891 "RANLIB=$${RANLIB}" \
12892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12893 mostlyclean) \
12894 || exit 1
12896 @endif mpc
12898 .PHONY: maybe-clean-mpc clean-mpc
12899 maybe-clean-mpc:
12900 @if mpc
12901 maybe-clean-mpc: clean-mpc
12903 clean-mpc:
12904 @[ -f ./mpc/Makefile ] || exit 0; \
12905 r=`${PWD_COMMAND}`; export r; \
12906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12907 $(HOST_EXPORTS) \
12908 for flag in $(EXTRA_HOST_FLAGS) ; do \
12909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12910 done; \
12911 echo "Doing clean in mpc" ; \
12912 (cd $(HOST_SUBDIR)/mpc && \
12913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12915 "RANLIB=$${RANLIB}" \
12916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12917 clean) \
12918 || exit 1
12920 @endif mpc
12922 .PHONY: maybe-distclean-mpc distclean-mpc
12923 maybe-distclean-mpc:
12924 @if mpc
12925 maybe-distclean-mpc: distclean-mpc
12927 distclean-mpc:
12928 @[ -f ./mpc/Makefile ] || exit 0; \
12929 r=`${PWD_COMMAND}`; export r; \
12930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12931 $(HOST_EXPORTS) \
12932 for flag in $(EXTRA_HOST_FLAGS) ; do \
12933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12934 done; \
12935 echo "Doing distclean in mpc" ; \
12936 (cd $(HOST_SUBDIR)/mpc && \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12939 "RANLIB=$${RANLIB}" \
12940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12941 distclean) \
12942 || exit 1
12944 @endif mpc
12946 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12947 maybe-maintainer-clean-mpc:
12948 @if mpc
12949 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12951 maintainer-clean-mpc:
12952 @[ -f ./mpc/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 for flag in $(EXTRA_HOST_FLAGS) ; do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing maintainer-clean in mpc" ; \
12960 (cd $(HOST_SUBDIR)/mpc && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12965 maintainer-clean) \
12966 || exit 1
12968 @endif mpc
12972 .PHONY: configure-ppl maybe-configure-ppl
12973 maybe-configure-ppl:
12974 @if gcc-bootstrap
12975 configure-ppl: stage_current
12976 @endif gcc-bootstrap
12977 @if ppl
12978 maybe-configure-ppl: configure-ppl
12979 configure-ppl:
12980 @r=`${PWD_COMMAND}`; export r; \
12981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12982 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
12983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
12984 $(HOST_EXPORTS) \
12985 echo Configuring in $(HOST_SUBDIR)/ppl; \
12986 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
12987 case $(srcdir) in \
12988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12989 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
12990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12991 esac; \
12992 srcdiroption="--srcdir=$${topdir}/ppl"; \
12993 libsrcdir="$$s/ppl"; \
12994 $(SHELL) $${libsrcdir}/configure \
12995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12996 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
12997 || exit 1
12998 @endif ppl
13002 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
13003 maybe-configure-stage1-ppl:
13004 @if ppl-bootstrap
13005 maybe-configure-stage1-ppl: configure-stage1-ppl
13006 configure-stage1-ppl:
13007 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13009 @r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 TFLAGS="$(STAGE1_TFLAGS)"; \
13012 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13013 $(HOST_EXPORTS) \
13014 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13015 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13016 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13017 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13019 cd $(HOST_SUBDIR)/ppl || exit 1; \
13020 case $(srcdir) in \
13021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13022 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13024 esac; \
13025 srcdiroption="--srcdir=$${topdir}/ppl"; \
13026 libsrcdir="$$s/ppl"; \
13027 $(SHELL) $${libsrcdir}/configure \
13028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13029 --target=${target_alias} $${srcdiroption} \
13030 $(STAGE1_CONFIGURE_FLAGS) \
13031 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13032 @endif ppl-bootstrap
13034 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13035 maybe-configure-stage2-ppl:
13036 @if ppl-bootstrap
13037 maybe-configure-stage2-ppl: configure-stage2-ppl
13038 configure-stage2-ppl:
13039 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13041 @r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 TFLAGS="$(STAGE2_TFLAGS)"; \
13044 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13045 $(HOST_EXPORTS) \
13046 $(POSTSTAGE1_HOST_EXPORTS) \
13047 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13048 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13049 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13050 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13052 cd $(HOST_SUBDIR)/ppl || exit 1; \
13053 case $(srcdir) in \
13054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13055 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13057 esac; \
13058 srcdiroption="--srcdir=$${topdir}/ppl"; \
13059 libsrcdir="$$s/ppl"; \
13060 $(SHELL) $${libsrcdir}/configure \
13061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13062 --target=${target_alias} $${srcdiroption} \
13063 --with-build-libsubdir=$(HOST_SUBDIR) \
13064 $(STAGE2_CONFIGURE_FLAGS) \
13065 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13066 @endif ppl-bootstrap
13068 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13069 maybe-configure-stage3-ppl:
13070 @if ppl-bootstrap
13071 maybe-configure-stage3-ppl: configure-stage3-ppl
13072 configure-stage3-ppl:
13073 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13075 @r=`${PWD_COMMAND}`; export r; \
13076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13077 TFLAGS="$(STAGE3_TFLAGS)"; \
13078 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13079 $(HOST_EXPORTS) \
13080 $(POSTSTAGE1_HOST_EXPORTS) \
13081 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13082 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13083 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13084 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13086 cd $(HOST_SUBDIR)/ppl || exit 1; \
13087 case $(srcdir) in \
13088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13089 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13091 esac; \
13092 srcdiroption="--srcdir=$${topdir}/ppl"; \
13093 libsrcdir="$$s/ppl"; \
13094 $(SHELL) $${libsrcdir}/configure \
13095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13096 --target=${target_alias} $${srcdiroption} \
13097 --with-build-libsubdir=$(HOST_SUBDIR) \
13098 $(STAGE3_CONFIGURE_FLAGS) \
13099 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13100 @endif ppl-bootstrap
13102 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13103 maybe-configure-stage4-ppl:
13104 @if ppl-bootstrap
13105 maybe-configure-stage4-ppl: configure-stage4-ppl
13106 configure-stage4-ppl:
13107 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13109 @r=`${PWD_COMMAND}`; export r; \
13110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13111 TFLAGS="$(STAGE4_TFLAGS)"; \
13112 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13113 $(HOST_EXPORTS) \
13114 $(POSTSTAGE1_HOST_EXPORTS) \
13115 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13116 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13117 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13118 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13120 cd $(HOST_SUBDIR)/ppl || exit 1; \
13121 case $(srcdir) in \
13122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13123 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13125 esac; \
13126 srcdiroption="--srcdir=$${topdir}/ppl"; \
13127 libsrcdir="$$s/ppl"; \
13128 $(SHELL) $${libsrcdir}/configure \
13129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13130 --target=${target_alias} $${srcdiroption} \
13131 --with-build-libsubdir=$(HOST_SUBDIR) \
13132 $(STAGE4_CONFIGURE_FLAGS) \
13133 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13134 @endif ppl-bootstrap
13136 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13137 maybe-configure-stageprofile-ppl:
13138 @if ppl-bootstrap
13139 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13140 configure-stageprofile-ppl:
13141 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13143 @r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13146 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13147 $(HOST_EXPORTS) \
13148 $(POSTSTAGE1_HOST_EXPORTS) \
13149 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13150 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13151 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13152 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13154 cd $(HOST_SUBDIR)/ppl || exit 1; \
13155 case $(srcdir) in \
13156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13157 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13159 esac; \
13160 srcdiroption="--srcdir=$${topdir}/ppl"; \
13161 libsrcdir="$$s/ppl"; \
13162 $(SHELL) $${libsrcdir}/configure \
13163 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13164 --target=${target_alias} $${srcdiroption} \
13165 --with-build-libsubdir=$(HOST_SUBDIR) \
13166 $(STAGEprofile_CONFIGURE_FLAGS) \
13167 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13168 @endif ppl-bootstrap
13170 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13171 maybe-configure-stagefeedback-ppl:
13172 @if ppl-bootstrap
13173 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13174 configure-stagefeedback-ppl:
13175 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13177 @r=`${PWD_COMMAND}`; export r; \
13178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13179 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13180 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13181 $(HOST_EXPORTS) \
13182 $(POSTSTAGE1_HOST_EXPORTS) \
13183 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13184 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13185 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13186 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13188 cd $(HOST_SUBDIR)/ppl || exit 1; \
13189 case $(srcdir) in \
13190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13191 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13193 esac; \
13194 srcdiroption="--srcdir=$${topdir}/ppl"; \
13195 libsrcdir="$$s/ppl"; \
13196 $(SHELL) $${libsrcdir}/configure \
13197 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13198 --target=${target_alias} $${srcdiroption} \
13199 --with-build-libsubdir=$(HOST_SUBDIR) \
13200 $(STAGEfeedback_CONFIGURE_FLAGS) \
13201 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13202 @endif ppl-bootstrap
13208 .PHONY: all-ppl maybe-all-ppl
13209 maybe-all-ppl:
13210 @if gcc-bootstrap
13211 all-ppl: stage_current
13212 @endif gcc-bootstrap
13213 @if ppl
13214 TARGET-ppl=all
13215 maybe-all-ppl: all-ppl
13216 all-ppl: configure-ppl
13217 @r=`${PWD_COMMAND}`; export r; \
13218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13219 $(HOST_EXPORTS) \
13220 (cd $(HOST_SUBDIR)/ppl && \
13221 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13222 $(TARGET-ppl))
13223 @endif ppl
13227 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13228 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13229 maybe-all-stage1-ppl:
13230 maybe-clean-stage1-ppl:
13231 @if ppl-bootstrap
13232 maybe-all-stage1-ppl: all-stage1-ppl
13233 all-stage1: all-stage1-ppl
13234 TARGET-stage1-ppl = $(TARGET-ppl)
13235 all-stage1-ppl: configure-stage1-ppl
13236 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13237 @r=`${PWD_COMMAND}`; export r; \
13238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13239 TFLAGS="$(STAGE1_TFLAGS)"; \
13240 $(HOST_EXPORTS) \
13241 cd $(HOST_SUBDIR)/ppl && \
13242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13243 CFLAGS="$(STAGE1_CFLAGS)" \
13244 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13245 LIBCFLAGS="$(LIBCFLAGS)" \
13246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13249 $(EXTRA_HOST_FLAGS) \
13250 TFLAGS="$(STAGE1_TFLAGS)" \
13251 $(TARGET-stage1-ppl)
13253 maybe-clean-stage1-ppl: clean-stage1-ppl
13254 clean-stage1: clean-stage1-ppl
13255 clean-stage1-ppl:
13256 @if [ $(current_stage) = stage1 ]; then \
13257 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13258 else \
13259 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13260 $(MAKE) stage1-start; \
13261 fi; \
13262 cd $(HOST_SUBDIR)/ppl && \
13263 $(MAKE) $(EXTRA_HOST_FLAGS) \
13264 clean
13265 @endif ppl-bootstrap
13268 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13269 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13270 maybe-all-stage2-ppl:
13271 maybe-clean-stage2-ppl:
13272 @if ppl-bootstrap
13273 maybe-all-stage2-ppl: all-stage2-ppl
13274 all-stage2: all-stage2-ppl
13275 TARGET-stage2-ppl = $(TARGET-ppl)
13276 all-stage2-ppl: configure-stage2-ppl
13277 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13278 @r=`${PWD_COMMAND}`; export r; \
13279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13280 TFLAGS="$(STAGE2_TFLAGS)"; \
13281 $(HOST_EXPORTS) \
13282 $(POSTSTAGE1_HOST_EXPORTS) \
13283 cd $(HOST_SUBDIR)/ppl && \
13284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13285 CFLAGS="$(STAGE2_CFLAGS)" \
13286 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13287 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13292 TFLAGS="$(STAGE2_TFLAGS)" \
13293 $(TARGET-stage2-ppl)
13295 maybe-clean-stage2-ppl: clean-stage2-ppl
13296 clean-stage2: clean-stage2-ppl
13297 clean-stage2-ppl:
13298 @if [ $(current_stage) = stage2 ]; then \
13299 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13300 else \
13301 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13302 $(MAKE) stage2-start; \
13303 fi; \
13304 cd $(HOST_SUBDIR)/ppl && \
13305 $(MAKE) $(EXTRA_HOST_FLAGS) \
13306 $(POSTSTAGE1_FLAGS_TO_PASS) \
13307 clean
13308 @endif ppl-bootstrap
13311 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13312 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13313 maybe-all-stage3-ppl:
13314 maybe-clean-stage3-ppl:
13315 @if ppl-bootstrap
13316 maybe-all-stage3-ppl: all-stage3-ppl
13317 all-stage3: all-stage3-ppl
13318 TARGET-stage3-ppl = $(TARGET-ppl)
13319 all-stage3-ppl: configure-stage3-ppl
13320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13321 @r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 TFLAGS="$(STAGE3_TFLAGS)"; \
13324 $(HOST_EXPORTS) \
13325 $(POSTSTAGE1_HOST_EXPORTS) \
13326 cd $(HOST_SUBDIR)/ppl && \
13327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13328 CFLAGS="$(STAGE3_CFLAGS)" \
13329 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13330 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13335 TFLAGS="$(STAGE3_TFLAGS)" \
13336 $(TARGET-stage3-ppl)
13338 maybe-clean-stage3-ppl: clean-stage3-ppl
13339 clean-stage3: clean-stage3-ppl
13340 clean-stage3-ppl:
13341 @if [ $(current_stage) = stage3 ]; then \
13342 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13343 else \
13344 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13345 $(MAKE) stage3-start; \
13346 fi; \
13347 cd $(HOST_SUBDIR)/ppl && \
13348 $(MAKE) $(EXTRA_HOST_FLAGS) \
13349 $(POSTSTAGE1_FLAGS_TO_PASS) \
13350 clean
13351 @endif ppl-bootstrap
13354 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13355 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13356 maybe-all-stage4-ppl:
13357 maybe-clean-stage4-ppl:
13358 @if ppl-bootstrap
13359 maybe-all-stage4-ppl: all-stage4-ppl
13360 all-stage4: all-stage4-ppl
13361 TARGET-stage4-ppl = $(TARGET-ppl)
13362 all-stage4-ppl: configure-stage4-ppl
13363 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13364 @r=`${PWD_COMMAND}`; export r; \
13365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13366 TFLAGS="$(STAGE4_TFLAGS)"; \
13367 $(HOST_EXPORTS) \
13368 $(POSTSTAGE1_HOST_EXPORTS) \
13369 cd $(HOST_SUBDIR)/ppl && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13371 CFLAGS="$(STAGE4_CFLAGS)" \
13372 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13373 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13377 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13378 TFLAGS="$(STAGE4_TFLAGS)" \
13379 $(TARGET-stage4-ppl)
13381 maybe-clean-stage4-ppl: clean-stage4-ppl
13382 clean-stage4: clean-stage4-ppl
13383 clean-stage4-ppl:
13384 @if [ $(current_stage) = stage4 ]; then \
13385 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13386 else \
13387 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13388 $(MAKE) stage4-start; \
13389 fi; \
13390 cd $(HOST_SUBDIR)/ppl && \
13391 $(MAKE) $(EXTRA_HOST_FLAGS) \
13392 $(POSTSTAGE1_FLAGS_TO_PASS) \
13393 clean
13394 @endif ppl-bootstrap
13397 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13398 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13399 maybe-all-stageprofile-ppl:
13400 maybe-clean-stageprofile-ppl:
13401 @if ppl-bootstrap
13402 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13403 all-stageprofile: all-stageprofile-ppl
13404 TARGET-stageprofile-ppl = $(TARGET-ppl)
13405 all-stageprofile-ppl: configure-stageprofile-ppl
13406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13407 @r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13410 $(HOST_EXPORTS) \
13411 $(POSTSTAGE1_HOST_EXPORTS) \
13412 cd $(HOST_SUBDIR)/ppl && \
13413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13414 CFLAGS="$(STAGEprofile_CFLAGS)" \
13415 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13416 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13421 TFLAGS="$(STAGEprofile_TFLAGS)" \
13422 $(TARGET-stageprofile-ppl)
13424 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13425 clean-stageprofile: clean-stageprofile-ppl
13426 clean-stageprofile-ppl:
13427 @if [ $(current_stage) = stageprofile ]; then \
13428 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13429 else \
13430 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13431 $(MAKE) stageprofile-start; \
13432 fi; \
13433 cd $(HOST_SUBDIR)/ppl && \
13434 $(MAKE) $(EXTRA_HOST_FLAGS) \
13435 $(POSTSTAGE1_FLAGS_TO_PASS) \
13436 clean
13437 @endif ppl-bootstrap
13440 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13441 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13442 maybe-all-stagefeedback-ppl:
13443 maybe-clean-stagefeedback-ppl:
13444 @if ppl-bootstrap
13445 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13446 all-stagefeedback: all-stagefeedback-ppl
13447 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13448 all-stagefeedback-ppl: configure-stagefeedback-ppl
13449 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13450 @r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13453 $(HOST_EXPORTS) \
13454 $(POSTSTAGE1_HOST_EXPORTS) \
13455 cd $(HOST_SUBDIR)/ppl && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13457 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13458 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13459 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13464 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13465 $(TARGET-stagefeedback-ppl)
13467 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13468 clean-stagefeedback: clean-stagefeedback-ppl
13469 clean-stagefeedback-ppl:
13470 @if [ $(current_stage) = stagefeedback ]; then \
13471 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13472 else \
13473 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13474 $(MAKE) stagefeedback-start; \
13475 fi; \
13476 cd $(HOST_SUBDIR)/ppl && \
13477 $(MAKE) $(EXTRA_HOST_FLAGS) \
13478 $(POSTSTAGE1_FLAGS_TO_PASS) \
13479 clean
13480 @endif ppl-bootstrap
13486 .PHONY: check-ppl maybe-check-ppl
13487 maybe-check-ppl:
13488 @if ppl
13489 maybe-check-ppl: check-ppl
13491 check-ppl:
13492 @: $(MAKE); $(unstage)
13493 @r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 $(HOST_EXPORTS) \
13496 (cd $(HOST_SUBDIR)/ppl && \
13497 $(MAKE) $(FLAGS_TO_PASS) check)
13499 @endif ppl
13501 .PHONY: install-ppl maybe-install-ppl
13502 maybe-install-ppl:
13503 @if ppl
13504 maybe-install-ppl: install-ppl
13506 install-ppl:
13508 @endif ppl
13510 .PHONY: install-strip-ppl maybe-install-strip-ppl
13511 maybe-install-strip-ppl:
13512 @if ppl
13513 maybe-install-strip-ppl: install-strip-ppl
13515 install-strip-ppl:
13517 @endif ppl
13519 # Other targets (info, dvi, pdf, etc.)
13521 .PHONY: maybe-info-ppl info-ppl
13522 maybe-info-ppl:
13523 @if ppl
13524 maybe-info-ppl: info-ppl
13526 info-ppl: \
13527 configure-ppl
13528 @[ -f ./ppl/Makefile ] || exit 0; \
13529 r=`${PWD_COMMAND}`; export r; \
13530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13531 $(HOST_EXPORTS) \
13532 for flag in $(EXTRA_HOST_FLAGS) ; do \
13533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13534 done; \
13535 echo "Doing info in ppl" ; \
13536 (cd $(HOST_SUBDIR)/ppl && \
13537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13539 "RANLIB=$${RANLIB}" \
13540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13541 info) \
13542 || exit 1
13544 @endif ppl
13546 .PHONY: maybe-dvi-ppl dvi-ppl
13547 maybe-dvi-ppl:
13548 @if ppl
13549 maybe-dvi-ppl: dvi-ppl
13551 dvi-ppl: \
13552 configure-ppl
13553 @[ -f ./ppl/Makefile ] || exit 0; \
13554 r=`${PWD_COMMAND}`; export r; \
13555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13556 $(HOST_EXPORTS) \
13557 for flag in $(EXTRA_HOST_FLAGS) ; do \
13558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13559 done; \
13560 echo "Doing dvi in ppl" ; \
13561 (cd $(HOST_SUBDIR)/ppl && \
13562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13564 "RANLIB=$${RANLIB}" \
13565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13566 dvi) \
13567 || exit 1
13569 @endif ppl
13571 .PHONY: maybe-pdf-ppl pdf-ppl
13572 maybe-pdf-ppl:
13573 @if ppl
13574 maybe-pdf-ppl: pdf-ppl
13576 pdf-ppl: \
13577 configure-ppl
13578 @[ -f ./ppl/Makefile ] || exit 0; \
13579 r=`${PWD_COMMAND}`; export r; \
13580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 $(HOST_EXPORTS) \
13582 for flag in $(EXTRA_HOST_FLAGS) ; do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 echo "Doing pdf in ppl" ; \
13586 (cd $(HOST_SUBDIR)/ppl && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13591 pdf) \
13592 || exit 1
13594 @endif ppl
13596 .PHONY: maybe-html-ppl html-ppl
13597 maybe-html-ppl:
13598 @if ppl
13599 maybe-html-ppl: html-ppl
13601 html-ppl: \
13602 configure-ppl
13603 @[ -f ./ppl/Makefile ] || exit 0; \
13604 r=`${PWD_COMMAND}`; export r; \
13605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13606 $(HOST_EXPORTS) \
13607 for flag in $(EXTRA_HOST_FLAGS) ; do \
13608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13609 done; \
13610 echo "Doing html in ppl" ; \
13611 (cd $(HOST_SUBDIR)/ppl && \
13612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13614 "RANLIB=$${RANLIB}" \
13615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13616 html) \
13617 || exit 1
13619 @endif ppl
13621 .PHONY: maybe-TAGS-ppl TAGS-ppl
13622 maybe-TAGS-ppl:
13623 @if ppl
13624 maybe-TAGS-ppl: TAGS-ppl
13626 TAGS-ppl: \
13627 configure-ppl
13628 @[ -f ./ppl/Makefile ] || exit 0; \
13629 r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(HOST_EXPORTS) \
13632 for flag in $(EXTRA_HOST_FLAGS) ; do \
13633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 done; \
13635 echo "Doing TAGS in ppl" ; \
13636 (cd $(HOST_SUBDIR)/ppl && \
13637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639 "RANLIB=$${RANLIB}" \
13640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13641 TAGS) \
13642 || exit 1
13644 @endif ppl
13646 .PHONY: maybe-install-info-ppl install-info-ppl
13647 maybe-install-info-ppl:
13648 @if ppl
13649 maybe-install-info-ppl: install-info-ppl
13651 install-info-ppl: \
13652 configure-ppl \
13653 info-ppl
13654 @[ -f ./ppl/Makefile ] || exit 0; \
13655 r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 $(HOST_EXPORTS) \
13658 for flag in $(EXTRA_HOST_FLAGS) ; do \
13659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660 done; \
13661 echo "Doing install-info in ppl" ; \
13662 (cd $(HOST_SUBDIR)/ppl && \
13663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13665 "RANLIB=$${RANLIB}" \
13666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13667 install-info) \
13668 || exit 1
13670 @endif ppl
13672 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13673 maybe-install-pdf-ppl:
13674 @if ppl
13675 maybe-install-pdf-ppl: install-pdf-ppl
13677 install-pdf-ppl: \
13678 configure-ppl \
13679 pdf-ppl
13680 @[ -f ./ppl/Makefile ] || exit 0; \
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 $(HOST_EXPORTS) \
13684 for flag in $(EXTRA_HOST_FLAGS) ; do \
13685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 done; \
13687 echo "Doing install-pdf in ppl" ; \
13688 (cd $(HOST_SUBDIR)/ppl && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13693 install-pdf) \
13694 || exit 1
13696 @endif ppl
13698 .PHONY: maybe-install-html-ppl install-html-ppl
13699 maybe-install-html-ppl:
13700 @if ppl
13701 maybe-install-html-ppl: install-html-ppl
13703 install-html-ppl: \
13704 configure-ppl \
13705 html-ppl
13706 @[ -f ./ppl/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 for flag in $(EXTRA_HOST_FLAGS) ; do \
13711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13712 done; \
13713 echo "Doing install-html in ppl" ; \
13714 (cd $(HOST_SUBDIR)/ppl && \
13715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717 "RANLIB=$${RANLIB}" \
13718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13719 install-html) \
13720 || exit 1
13722 @endif ppl
13724 .PHONY: maybe-installcheck-ppl installcheck-ppl
13725 maybe-installcheck-ppl:
13726 @if ppl
13727 maybe-installcheck-ppl: installcheck-ppl
13729 installcheck-ppl: \
13730 configure-ppl
13731 @[ -f ./ppl/Makefile ] || exit 0; \
13732 r=`${PWD_COMMAND}`; export r; \
13733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13734 $(HOST_EXPORTS) \
13735 for flag in $(EXTRA_HOST_FLAGS) ; do \
13736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13737 done; \
13738 echo "Doing installcheck in ppl" ; \
13739 (cd $(HOST_SUBDIR)/ppl && \
13740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13742 "RANLIB=$${RANLIB}" \
13743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13744 installcheck) \
13745 || exit 1
13747 @endif ppl
13749 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13750 maybe-mostlyclean-ppl:
13751 @if ppl
13752 maybe-mostlyclean-ppl: mostlyclean-ppl
13754 mostlyclean-ppl:
13755 @[ -f ./ppl/Makefile ] || exit 0; \
13756 r=`${PWD_COMMAND}`; export r; \
13757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 $(HOST_EXPORTS) \
13759 for flag in $(EXTRA_HOST_FLAGS) ; do \
13760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13761 done; \
13762 echo "Doing mostlyclean in ppl" ; \
13763 (cd $(HOST_SUBDIR)/ppl && \
13764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13766 "RANLIB=$${RANLIB}" \
13767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13768 mostlyclean) \
13769 || exit 1
13771 @endif ppl
13773 .PHONY: maybe-clean-ppl clean-ppl
13774 maybe-clean-ppl:
13775 @if ppl
13776 maybe-clean-ppl: clean-ppl
13778 clean-ppl:
13779 @[ -f ./ppl/Makefile ] || exit 0; \
13780 r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 $(HOST_EXPORTS) \
13783 for flag in $(EXTRA_HOST_FLAGS) ; do \
13784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13785 done; \
13786 echo "Doing clean in ppl" ; \
13787 (cd $(HOST_SUBDIR)/ppl && \
13788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13790 "RANLIB=$${RANLIB}" \
13791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13792 clean) \
13793 || exit 1
13795 @endif ppl
13797 .PHONY: maybe-distclean-ppl distclean-ppl
13798 maybe-distclean-ppl:
13799 @if ppl
13800 maybe-distclean-ppl: distclean-ppl
13802 distclean-ppl:
13803 @[ -f ./ppl/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) ; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing distclean in ppl" ; \
13811 (cd $(HOST_SUBDIR)/ppl && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13816 distclean) \
13817 || exit 1
13819 @endif ppl
13821 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13822 maybe-maintainer-clean-ppl:
13823 @if ppl
13824 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13826 maintainer-clean-ppl:
13827 @[ -f ./ppl/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830 $(HOST_EXPORTS) \
13831 for flag in $(EXTRA_HOST_FLAGS) ; do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13833 done; \
13834 echo "Doing maintainer-clean in ppl" ; \
13835 (cd $(HOST_SUBDIR)/ppl && \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13840 maintainer-clean) \
13841 || exit 1
13843 @endif ppl
13847 .PHONY: configure-cloog maybe-configure-cloog
13848 maybe-configure-cloog:
13849 @if gcc-bootstrap
13850 configure-cloog: stage_current
13851 @endif gcc-bootstrap
13852 @if cloog
13853 maybe-configure-cloog: configure-cloog
13854 configure-cloog:
13855 @r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13859 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13860 echo Configuring in $(HOST_SUBDIR)/cloog; \
13861 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13862 case $(srcdir) in \
13863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13864 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13866 esac; \
13867 srcdiroption="--srcdir=$${topdir}/cloog"; \
13868 libsrcdir="$$s/cloog"; \
13869 $(SHELL) $${libsrcdir}/configure \
13870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13871 --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 \
13872 || exit 1
13873 @endif cloog
13877 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13878 maybe-configure-stage1-cloog:
13879 @if cloog-bootstrap
13880 maybe-configure-stage1-cloog: configure-stage1-cloog
13881 configure-stage1-cloog:
13882 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13884 @r=`${PWD_COMMAND}`; export r; \
13885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13886 TFLAGS="$(STAGE1_TFLAGS)"; \
13887 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13888 $(HOST_EXPORTS) \
13889 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13890 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13891 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13892 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13894 cd $(HOST_SUBDIR)/cloog || exit 1; \
13895 case $(srcdir) in \
13896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13897 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13899 esac; \
13900 srcdiroption="--srcdir=$${topdir}/cloog"; \
13901 libsrcdir="$$s/cloog"; \
13902 $(SHELL) $${libsrcdir}/configure \
13903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13904 --target=${target_alias} $${srcdiroption} \
13905 $(STAGE1_CONFIGURE_FLAGS) \
13906 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13907 @endif cloog-bootstrap
13909 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13910 maybe-configure-stage2-cloog:
13911 @if cloog-bootstrap
13912 maybe-configure-stage2-cloog: configure-stage2-cloog
13913 configure-stage2-cloog:
13914 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13916 @r=`${PWD_COMMAND}`; export r; \
13917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13918 TFLAGS="$(STAGE2_TFLAGS)"; \
13919 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13920 $(HOST_EXPORTS) \
13921 $(POSTSTAGE1_HOST_EXPORTS) \
13922 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13923 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13924 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13925 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13927 cd $(HOST_SUBDIR)/cloog || exit 1; \
13928 case $(srcdir) in \
13929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13930 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13932 esac; \
13933 srcdiroption="--srcdir=$${topdir}/cloog"; \
13934 libsrcdir="$$s/cloog"; \
13935 $(SHELL) $${libsrcdir}/configure \
13936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13937 --target=${target_alias} $${srcdiroption} \
13938 --with-build-libsubdir=$(HOST_SUBDIR) \
13939 $(STAGE2_CONFIGURE_FLAGS) \
13940 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13941 @endif cloog-bootstrap
13943 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13944 maybe-configure-stage3-cloog:
13945 @if cloog-bootstrap
13946 maybe-configure-stage3-cloog: configure-stage3-cloog
13947 configure-stage3-cloog:
13948 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13950 @r=`${PWD_COMMAND}`; export r; \
13951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13952 TFLAGS="$(STAGE3_TFLAGS)"; \
13953 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13954 $(HOST_EXPORTS) \
13955 $(POSTSTAGE1_HOST_EXPORTS) \
13956 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13957 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13958 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13959 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13961 cd $(HOST_SUBDIR)/cloog || exit 1; \
13962 case $(srcdir) in \
13963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13964 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13966 esac; \
13967 srcdiroption="--srcdir=$${topdir}/cloog"; \
13968 libsrcdir="$$s/cloog"; \
13969 $(SHELL) $${libsrcdir}/configure \
13970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13971 --target=${target_alias} $${srcdiroption} \
13972 --with-build-libsubdir=$(HOST_SUBDIR) \
13973 $(STAGE3_CONFIGURE_FLAGS) \
13974 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13975 @endif cloog-bootstrap
13977 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13978 maybe-configure-stage4-cloog:
13979 @if cloog-bootstrap
13980 maybe-configure-stage4-cloog: configure-stage4-cloog
13981 configure-stage4-cloog:
13982 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13984 @r=`${PWD_COMMAND}`; export r; \
13985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986 TFLAGS="$(STAGE4_TFLAGS)"; \
13987 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13988 $(HOST_EXPORTS) \
13989 $(POSTSTAGE1_HOST_EXPORTS) \
13990 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13991 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13992 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13993 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13995 cd $(HOST_SUBDIR)/cloog || exit 1; \
13996 case $(srcdir) in \
13997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13998 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14000 esac; \
14001 srcdiroption="--srcdir=$${topdir}/cloog"; \
14002 libsrcdir="$$s/cloog"; \
14003 $(SHELL) $${libsrcdir}/configure \
14004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14005 --target=${target_alias} $${srcdiroption} \
14006 --with-build-libsubdir=$(HOST_SUBDIR) \
14007 $(STAGE4_CONFIGURE_FLAGS) \
14008 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14009 @endif cloog-bootstrap
14011 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14012 maybe-configure-stageprofile-cloog:
14013 @if cloog-bootstrap
14014 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14015 configure-stageprofile-cloog:
14016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14018 @r=`${PWD_COMMAND}`; export r; \
14019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14020 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14021 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14022 $(HOST_EXPORTS) \
14023 $(POSTSTAGE1_HOST_EXPORTS) \
14024 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14025 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14026 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14027 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14029 cd $(HOST_SUBDIR)/cloog || exit 1; \
14030 case $(srcdir) in \
14031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14032 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14034 esac; \
14035 srcdiroption="--srcdir=$${topdir}/cloog"; \
14036 libsrcdir="$$s/cloog"; \
14037 $(SHELL) $${libsrcdir}/configure \
14038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14039 --target=${target_alias} $${srcdiroption} \
14040 --with-build-libsubdir=$(HOST_SUBDIR) \
14041 $(STAGEprofile_CONFIGURE_FLAGS) \
14042 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14043 @endif cloog-bootstrap
14045 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14046 maybe-configure-stagefeedback-cloog:
14047 @if cloog-bootstrap
14048 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14049 configure-stagefeedback-cloog:
14050 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14052 @r=`${PWD_COMMAND}`; export r; \
14053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14054 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14055 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14056 $(HOST_EXPORTS) \
14057 $(POSTSTAGE1_HOST_EXPORTS) \
14058 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14059 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14060 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14061 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14063 cd $(HOST_SUBDIR)/cloog || exit 1; \
14064 case $(srcdir) in \
14065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14066 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14068 esac; \
14069 srcdiroption="--srcdir=$${topdir}/cloog"; \
14070 libsrcdir="$$s/cloog"; \
14071 $(SHELL) $${libsrcdir}/configure \
14072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14073 --target=${target_alias} $${srcdiroption} \
14074 --with-build-libsubdir=$(HOST_SUBDIR) \
14075 $(STAGEfeedback_CONFIGURE_FLAGS) \
14076 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14077 @endif cloog-bootstrap
14083 .PHONY: all-cloog maybe-all-cloog
14084 maybe-all-cloog:
14085 @if gcc-bootstrap
14086 all-cloog: stage_current
14087 @endif gcc-bootstrap
14088 @if cloog
14089 TARGET-cloog=all
14090 maybe-all-cloog: all-cloog
14091 all-cloog: configure-cloog
14092 @r=`${PWD_COMMAND}`; export r; \
14093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14094 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14095 (cd $(HOST_SUBDIR)/cloog && \
14096 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14097 $(TARGET-cloog))
14098 @endif cloog
14102 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14103 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14104 maybe-all-stage1-cloog:
14105 maybe-clean-stage1-cloog:
14106 @if cloog-bootstrap
14107 maybe-all-stage1-cloog: all-stage1-cloog
14108 all-stage1: all-stage1-cloog
14109 TARGET-stage1-cloog = $(TARGET-cloog)
14110 all-stage1-cloog: configure-stage1-cloog
14111 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14112 @r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 TFLAGS="$(STAGE1_TFLAGS)"; \
14115 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14116 cd $(HOST_SUBDIR)/cloog && \
14117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14118 CFLAGS="$(STAGE1_CFLAGS)" \
14119 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14120 LIBCFLAGS="$(LIBCFLAGS)" \
14121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14124 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14125 TFLAGS="$(STAGE1_TFLAGS)" \
14126 $(TARGET-stage1-cloog)
14128 maybe-clean-stage1-cloog: clean-stage1-cloog
14129 clean-stage1: clean-stage1-cloog
14130 clean-stage1-cloog:
14131 @if [ $(current_stage) = stage1 ]; then \
14132 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14133 else \
14134 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14135 $(MAKE) stage1-start; \
14136 fi; \
14137 cd $(HOST_SUBDIR)/cloog && \
14138 $(MAKE) $(EXTRA_HOST_FLAGS) \
14139 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14140 @endif cloog-bootstrap
14143 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14144 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14145 maybe-all-stage2-cloog:
14146 maybe-clean-stage2-cloog:
14147 @if cloog-bootstrap
14148 maybe-all-stage2-cloog: all-stage2-cloog
14149 all-stage2: all-stage2-cloog
14150 TARGET-stage2-cloog = $(TARGET-cloog)
14151 all-stage2-cloog: configure-stage2-cloog
14152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14153 @r=`${PWD_COMMAND}`; export r; \
14154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 TFLAGS="$(STAGE2_TFLAGS)"; \
14156 $(HOST_EXPORTS) \
14157 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14158 cd $(HOST_SUBDIR)/cloog && \
14159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14160 CFLAGS="$(STAGE2_CFLAGS)" \
14161 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14162 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14166 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14167 TFLAGS="$(STAGE2_TFLAGS)" \
14168 $(TARGET-stage2-cloog)
14170 maybe-clean-stage2-cloog: clean-stage2-cloog
14171 clean-stage2: clean-stage2-cloog
14172 clean-stage2-cloog:
14173 @if [ $(current_stage) = stage2 ]; then \
14174 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14175 else \
14176 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14177 $(MAKE) stage2-start; \
14178 fi; \
14179 cd $(HOST_SUBDIR)/cloog && \
14180 $(MAKE) $(EXTRA_HOST_FLAGS) \
14181 $(POSTSTAGE1_FLAGS_TO_PASS) \
14182 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14183 @endif cloog-bootstrap
14186 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14187 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14188 maybe-all-stage3-cloog:
14189 maybe-clean-stage3-cloog:
14190 @if cloog-bootstrap
14191 maybe-all-stage3-cloog: all-stage3-cloog
14192 all-stage3: all-stage3-cloog
14193 TARGET-stage3-cloog = $(TARGET-cloog)
14194 all-stage3-cloog: configure-stage3-cloog
14195 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 TFLAGS="$(STAGE3_TFLAGS)"; \
14199 $(HOST_EXPORTS) \
14200 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14201 cd $(HOST_SUBDIR)/cloog && \
14202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14203 CFLAGS="$(STAGE3_CFLAGS)" \
14204 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14205 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14210 TFLAGS="$(STAGE3_TFLAGS)" \
14211 $(TARGET-stage3-cloog)
14213 maybe-clean-stage3-cloog: clean-stage3-cloog
14214 clean-stage3: clean-stage3-cloog
14215 clean-stage3-cloog:
14216 @if [ $(current_stage) = stage3 ]; then \
14217 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14218 else \
14219 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14220 $(MAKE) stage3-start; \
14221 fi; \
14222 cd $(HOST_SUBDIR)/cloog && \
14223 $(MAKE) $(EXTRA_HOST_FLAGS) \
14224 $(POSTSTAGE1_FLAGS_TO_PASS) \
14225 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14226 @endif cloog-bootstrap
14229 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14230 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14231 maybe-all-stage4-cloog:
14232 maybe-clean-stage4-cloog:
14233 @if cloog-bootstrap
14234 maybe-all-stage4-cloog: all-stage4-cloog
14235 all-stage4: all-stage4-cloog
14236 TARGET-stage4-cloog = $(TARGET-cloog)
14237 all-stage4-cloog: configure-stage4-cloog
14238 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14239 @r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 TFLAGS="$(STAGE4_TFLAGS)"; \
14242 $(HOST_EXPORTS) \
14243 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14244 cd $(HOST_SUBDIR)/cloog && \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14246 CFLAGS="$(STAGE4_CFLAGS)" \
14247 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14248 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14253 TFLAGS="$(STAGE4_TFLAGS)" \
14254 $(TARGET-stage4-cloog)
14256 maybe-clean-stage4-cloog: clean-stage4-cloog
14257 clean-stage4: clean-stage4-cloog
14258 clean-stage4-cloog:
14259 @if [ $(current_stage) = stage4 ]; then \
14260 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14261 else \
14262 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14263 $(MAKE) stage4-start; \
14264 fi; \
14265 cd $(HOST_SUBDIR)/cloog && \
14266 $(MAKE) $(EXTRA_HOST_FLAGS) \
14267 $(POSTSTAGE1_FLAGS_TO_PASS) \
14268 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14269 @endif cloog-bootstrap
14272 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14273 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14274 maybe-all-stageprofile-cloog:
14275 maybe-clean-stageprofile-cloog:
14276 @if cloog-bootstrap
14277 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14278 all-stageprofile: all-stageprofile-cloog
14279 TARGET-stageprofile-cloog = $(TARGET-cloog)
14280 all-stageprofile-cloog: configure-stageprofile-cloog
14281 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14282 @r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14285 $(HOST_EXPORTS) \
14286 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14287 cd $(HOST_SUBDIR)/cloog && \
14288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14289 CFLAGS="$(STAGEprofile_CFLAGS)" \
14290 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14291 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14295 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14296 TFLAGS="$(STAGEprofile_TFLAGS)" \
14297 $(TARGET-stageprofile-cloog)
14299 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14300 clean-stageprofile: clean-stageprofile-cloog
14301 clean-stageprofile-cloog:
14302 @if [ $(current_stage) = stageprofile ]; then \
14303 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14304 else \
14305 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14306 $(MAKE) stageprofile-start; \
14307 fi; \
14308 cd $(HOST_SUBDIR)/cloog && \
14309 $(MAKE) $(EXTRA_HOST_FLAGS) \
14310 $(POSTSTAGE1_FLAGS_TO_PASS) \
14311 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14312 @endif cloog-bootstrap
14315 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14316 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14317 maybe-all-stagefeedback-cloog:
14318 maybe-clean-stagefeedback-cloog:
14319 @if cloog-bootstrap
14320 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14321 all-stagefeedback: all-stagefeedback-cloog
14322 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14323 all-stagefeedback-cloog: configure-stagefeedback-cloog
14324 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14325 @r=`${PWD_COMMAND}`; export r; \
14326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14327 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14328 $(HOST_EXPORTS) \
14329 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14330 cd $(HOST_SUBDIR)/cloog && \
14331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14332 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14333 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14334 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14339 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14340 $(TARGET-stagefeedback-cloog)
14342 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14343 clean-stagefeedback: clean-stagefeedback-cloog
14344 clean-stagefeedback-cloog:
14345 @if [ $(current_stage) = stagefeedback ]; then \
14346 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14347 else \
14348 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14349 $(MAKE) stagefeedback-start; \
14350 fi; \
14351 cd $(HOST_SUBDIR)/cloog && \
14352 $(MAKE) $(EXTRA_HOST_FLAGS) \
14353 $(POSTSTAGE1_FLAGS_TO_PASS) \
14354 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14355 @endif cloog-bootstrap
14361 .PHONY: check-cloog maybe-check-cloog
14362 maybe-check-cloog:
14363 @if cloog
14364 maybe-check-cloog: check-cloog
14366 check-cloog:
14367 @: $(MAKE); $(unstage)
14368 @r=`${PWD_COMMAND}`; export r; \
14369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14370 $(HOST_EXPORTS) \
14371 (cd $(HOST_SUBDIR)/cloog && \
14372 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14374 @endif cloog
14376 .PHONY: install-cloog maybe-install-cloog
14377 maybe-install-cloog:
14378 @if cloog
14379 maybe-install-cloog: install-cloog
14381 install-cloog:
14383 @endif cloog
14385 .PHONY: install-strip-cloog maybe-install-strip-cloog
14386 maybe-install-strip-cloog:
14387 @if cloog
14388 maybe-install-strip-cloog: install-strip-cloog
14390 install-strip-cloog:
14392 @endif cloog
14394 # Other targets (info, dvi, pdf, etc.)
14396 .PHONY: maybe-info-cloog info-cloog
14397 maybe-info-cloog:
14398 @if cloog
14399 maybe-info-cloog: info-cloog
14401 info-cloog: \
14402 configure-cloog
14403 @[ -f ./cloog/Makefile ] || exit 0; \
14404 r=`${PWD_COMMAND}`; export r; \
14405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14406 $(HOST_EXPORTS) \
14407 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14409 done; \
14410 echo "Doing info in cloog" ; \
14411 (cd $(HOST_SUBDIR)/cloog && \
14412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14414 "RANLIB=$${RANLIB}" \
14415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14416 info) \
14417 || exit 1
14419 @endif cloog
14421 .PHONY: maybe-dvi-cloog dvi-cloog
14422 maybe-dvi-cloog:
14423 @if cloog
14424 maybe-dvi-cloog: dvi-cloog
14426 dvi-cloog: \
14427 configure-cloog
14428 @[ -f ./cloog/Makefile ] || exit 0; \
14429 r=`${PWD_COMMAND}`; export r; \
14430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14431 $(HOST_EXPORTS) \
14432 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14434 done; \
14435 echo "Doing dvi in cloog" ; \
14436 (cd $(HOST_SUBDIR)/cloog && \
14437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14439 "RANLIB=$${RANLIB}" \
14440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14441 dvi) \
14442 || exit 1
14444 @endif cloog
14446 .PHONY: maybe-pdf-cloog pdf-cloog
14447 maybe-pdf-cloog:
14448 @if cloog
14449 maybe-pdf-cloog: pdf-cloog
14451 pdf-cloog: \
14452 configure-cloog
14453 @[ -f ./cloog/Makefile ] || exit 0; \
14454 r=`${PWD_COMMAND}`; export r; \
14455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 $(HOST_EXPORTS) \
14457 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14459 done; \
14460 echo "Doing pdf in cloog" ; \
14461 (cd $(HOST_SUBDIR)/cloog && \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14464 "RANLIB=$${RANLIB}" \
14465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14466 pdf) \
14467 || exit 1
14469 @endif cloog
14471 .PHONY: maybe-html-cloog html-cloog
14472 maybe-html-cloog:
14473 @if cloog
14474 maybe-html-cloog: html-cloog
14476 html-cloog: \
14477 configure-cloog
14478 @[ -f ./cloog/Makefile ] || exit 0; \
14479 r=`${PWD_COMMAND}`; export r; \
14480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14481 $(HOST_EXPORTS) \
14482 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14484 done; \
14485 echo "Doing html in cloog" ; \
14486 (cd $(HOST_SUBDIR)/cloog && \
14487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14489 "RANLIB=$${RANLIB}" \
14490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14491 html) \
14492 || exit 1
14494 @endif cloog
14496 .PHONY: maybe-TAGS-cloog TAGS-cloog
14497 maybe-TAGS-cloog:
14498 @if cloog
14499 maybe-TAGS-cloog: TAGS-cloog
14501 TAGS-cloog: \
14502 configure-cloog
14503 @[ -f ./cloog/Makefile ] || exit 0; \
14504 r=`${PWD_COMMAND}`; export r; \
14505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 $(HOST_EXPORTS) \
14507 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14509 done; \
14510 echo "Doing TAGS in cloog" ; \
14511 (cd $(HOST_SUBDIR)/cloog && \
14512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14514 "RANLIB=$${RANLIB}" \
14515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14516 TAGS) \
14517 || exit 1
14519 @endif cloog
14521 .PHONY: maybe-install-info-cloog install-info-cloog
14522 maybe-install-info-cloog:
14523 @if cloog
14524 maybe-install-info-cloog: install-info-cloog
14526 install-info-cloog: \
14527 configure-cloog \
14528 info-cloog
14529 @[ -f ./cloog/Makefile ] || exit 0; \
14530 r=`${PWD_COMMAND}`; export r; \
14531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14532 $(HOST_EXPORTS) \
14533 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14535 done; \
14536 echo "Doing install-info in cloog" ; \
14537 (cd $(HOST_SUBDIR)/cloog && \
14538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14540 "RANLIB=$${RANLIB}" \
14541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14542 install-info) \
14543 || exit 1
14545 @endif cloog
14547 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14548 maybe-install-pdf-cloog:
14549 @if cloog
14550 maybe-install-pdf-cloog: install-pdf-cloog
14552 install-pdf-cloog: \
14553 configure-cloog \
14554 pdf-cloog
14555 @[ -f ./cloog/Makefile ] || exit 0; \
14556 r=`${PWD_COMMAND}`; export r; \
14557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14558 $(HOST_EXPORTS) \
14559 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14561 done; \
14562 echo "Doing install-pdf in cloog" ; \
14563 (cd $(HOST_SUBDIR)/cloog && \
14564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14566 "RANLIB=$${RANLIB}" \
14567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14568 install-pdf) \
14569 || exit 1
14571 @endif cloog
14573 .PHONY: maybe-install-html-cloog install-html-cloog
14574 maybe-install-html-cloog:
14575 @if cloog
14576 maybe-install-html-cloog: install-html-cloog
14578 install-html-cloog: \
14579 configure-cloog \
14580 html-cloog
14581 @[ -f ./cloog/Makefile ] || exit 0; \
14582 r=`${PWD_COMMAND}`; export r; \
14583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 $(HOST_EXPORTS) \
14585 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14587 done; \
14588 echo "Doing install-html in cloog" ; \
14589 (cd $(HOST_SUBDIR)/cloog && \
14590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14592 "RANLIB=$${RANLIB}" \
14593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14594 install-html) \
14595 || exit 1
14597 @endif cloog
14599 .PHONY: maybe-installcheck-cloog installcheck-cloog
14600 maybe-installcheck-cloog:
14601 @if cloog
14602 maybe-installcheck-cloog: installcheck-cloog
14604 installcheck-cloog: \
14605 configure-cloog
14606 @[ -f ./cloog/Makefile ] || exit 0; \
14607 r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609 $(HOST_EXPORTS) \
14610 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14612 done; \
14613 echo "Doing installcheck in cloog" ; \
14614 (cd $(HOST_SUBDIR)/cloog && \
14615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14617 "RANLIB=$${RANLIB}" \
14618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14619 installcheck) \
14620 || exit 1
14622 @endif cloog
14624 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14625 maybe-mostlyclean-cloog:
14626 @if cloog
14627 maybe-mostlyclean-cloog: mostlyclean-cloog
14629 mostlyclean-cloog:
14630 @[ -f ./cloog/Makefile ] || exit 0; \
14631 r=`${PWD_COMMAND}`; export r; \
14632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14633 $(HOST_EXPORTS) \
14634 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14636 done; \
14637 echo "Doing mostlyclean in cloog" ; \
14638 (cd $(HOST_SUBDIR)/cloog && \
14639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14641 "RANLIB=$${RANLIB}" \
14642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14643 mostlyclean) \
14644 || exit 1
14646 @endif cloog
14648 .PHONY: maybe-clean-cloog clean-cloog
14649 maybe-clean-cloog:
14650 @if cloog
14651 maybe-clean-cloog: clean-cloog
14653 clean-cloog:
14654 @[ -f ./cloog/Makefile ] || exit 0; \
14655 r=`${PWD_COMMAND}`; export r; \
14656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14657 $(HOST_EXPORTS) \
14658 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14660 done; \
14661 echo "Doing clean in cloog" ; \
14662 (cd $(HOST_SUBDIR)/cloog && \
14663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14665 "RANLIB=$${RANLIB}" \
14666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14667 clean) \
14668 || exit 1
14670 @endif cloog
14672 .PHONY: maybe-distclean-cloog distclean-cloog
14673 maybe-distclean-cloog:
14674 @if cloog
14675 maybe-distclean-cloog: distclean-cloog
14677 distclean-cloog:
14678 @[ -f ./cloog/Makefile ] || exit 0; \
14679 r=`${PWD_COMMAND}`; export r; \
14680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14681 $(HOST_EXPORTS) \
14682 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14684 done; \
14685 echo "Doing distclean in cloog" ; \
14686 (cd $(HOST_SUBDIR)/cloog && \
14687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14689 "RANLIB=$${RANLIB}" \
14690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14691 distclean) \
14692 || exit 1
14694 @endif cloog
14696 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14697 maybe-maintainer-clean-cloog:
14698 @if cloog
14699 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14701 maintainer-clean-cloog:
14702 @[ -f ./cloog/Makefile ] || exit 0; \
14703 r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 $(HOST_EXPORTS) \
14706 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 done; \
14709 echo "Doing maintainer-clean in cloog" ; \
14710 (cd $(HOST_SUBDIR)/cloog && \
14711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14713 "RANLIB=$${RANLIB}" \
14714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14715 maintainer-clean) \
14716 || exit 1
14718 @endif cloog
14722 .PHONY: configure-libelf maybe-configure-libelf
14723 maybe-configure-libelf:
14724 @if gcc-bootstrap
14725 configure-libelf: stage_current
14726 @endif gcc-bootstrap
14727 @if libelf
14728 maybe-configure-libelf: configure-libelf
14729 configure-libelf:
14730 @r=`${PWD_COMMAND}`; export r; \
14731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14734 $(HOST_EXPORTS) \
14735 echo Configuring in $(HOST_SUBDIR)/libelf; \
14736 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14737 case $(srcdir) in \
14738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14739 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14741 esac; \
14742 srcdiroption="--srcdir=$${topdir}/libelf"; \
14743 libsrcdir="$$s/libelf"; \
14744 $(SHELL) $${libsrcdir}/configure \
14745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14746 --target=${target_alias} $${srcdiroption} --disable-shared \
14747 || exit 1
14748 @endif libelf
14752 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14753 maybe-configure-stage1-libelf:
14754 @if libelf-bootstrap
14755 maybe-configure-stage1-libelf: configure-stage1-libelf
14756 configure-stage1-libelf:
14757 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14759 @r=`${PWD_COMMAND}`; export r; \
14760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14761 TFLAGS="$(STAGE1_TFLAGS)"; \
14762 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14763 $(HOST_EXPORTS) \
14764 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14765 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14766 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14767 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14769 cd $(HOST_SUBDIR)/libelf || exit 1; \
14770 case $(srcdir) in \
14771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14772 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14774 esac; \
14775 srcdiroption="--srcdir=$${topdir}/libelf"; \
14776 libsrcdir="$$s/libelf"; \
14777 $(SHELL) $${libsrcdir}/configure \
14778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14779 --target=${target_alias} $${srcdiroption} \
14780 $(STAGE1_CONFIGURE_FLAGS) \
14781 --disable-shared
14782 @endif libelf-bootstrap
14784 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14785 maybe-configure-stage2-libelf:
14786 @if libelf-bootstrap
14787 maybe-configure-stage2-libelf: configure-stage2-libelf
14788 configure-stage2-libelf:
14789 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14791 @r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 TFLAGS="$(STAGE2_TFLAGS)"; \
14794 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14795 $(HOST_EXPORTS) \
14796 $(POSTSTAGE1_HOST_EXPORTS) \
14797 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14798 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14799 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14800 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14802 cd $(HOST_SUBDIR)/libelf || exit 1; \
14803 case $(srcdir) in \
14804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14805 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14807 esac; \
14808 srcdiroption="--srcdir=$${topdir}/libelf"; \
14809 libsrcdir="$$s/libelf"; \
14810 $(SHELL) $${libsrcdir}/configure \
14811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14812 --target=${target_alias} $${srcdiroption} \
14813 --with-build-libsubdir=$(HOST_SUBDIR) \
14814 $(STAGE2_CONFIGURE_FLAGS) \
14815 --disable-shared
14816 @endif libelf-bootstrap
14818 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14819 maybe-configure-stage3-libelf:
14820 @if libelf-bootstrap
14821 maybe-configure-stage3-libelf: configure-stage3-libelf
14822 configure-stage3-libelf:
14823 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14825 @r=`${PWD_COMMAND}`; export r; \
14826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14827 TFLAGS="$(STAGE3_TFLAGS)"; \
14828 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14829 $(HOST_EXPORTS) \
14830 $(POSTSTAGE1_HOST_EXPORTS) \
14831 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14832 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14833 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14834 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14836 cd $(HOST_SUBDIR)/libelf || exit 1; \
14837 case $(srcdir) in \
14838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14839 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14841 esac; \
14842 srcdiroption="--srcdir=$${topdir}/libelf"; \
14843 libsrcdir="$$s/libelf"; \
14844 $(SHELL) $${libsrcdir}/configure \
14845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14846 --target=${target_alias} $${srcdiroption} \
14847 --with-build-libsubdir=$(HOST_SUBDIR) \
14848 $(STAGE3_CONFIGURE_FLAGS) \
14849 --disable-shared
14850 @endif libelf-bootstrap
14852 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14853 maybe-configure-stage4-libelf:
14854 @if libelf-bootstrap
14855 maybe-configure-stage4-libelf: configure-stage4-libelf
14856 configure-stage4-libelf:
14857 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14859 @r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 TFLAGS="$(STAGE4_TFLAGS)"; \
14862 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14863 $(HOST_EXPORTS) \
14864 $(POSTSTAGE1_HOST_EXPORTS) \
14865 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14866 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14867 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14868 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14870 cd $(HOST_SUBDIR)/libelf || exit 1; \
14871 case $(srcdir) in \
14872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14873 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14875 esac; \
14876 srcdiroption="--srcdir=$${topdir}/libelf"; \
14877 libsrcdir="$$s/libelf"; \
14878 $(SHELL) $${libsrcdir}/configure \
14879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14880 --target=${target_alias} $${srcdiroption} \
14881 --with-build-libsubdir=$(HOST_SUBDIR) \
14882 $(STAGE4_CONFIGURE_FLAGS) \
14883 --disable-shared
14884 @endif libelf-bootstrap
14886 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14887 maybe-configure-stageprofile-libelf:
14888 @if libelf-bootstrap
14889 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14890 configure-stageprofile-libelf:
14891 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14893 @r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14896 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14897 $(HOST_EXPORTS) \
14898 $(POSTSTAGE1_HOST_EXPORTS) \
14899 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14900 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14901 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14902 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14904 cd $(HOST_SUBDIR)/libelf || exit 1; \
14905 case $(srcdir) in \
14906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14907 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14909 esac; \
14910 srcdiroption="--srcdir=$${topdir}/libelf"; \
14911 libsrcdir="$$s/libelf"; \
14912 $(SHELL) $${libsrcdir}/configure \
14913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14914 --target=${target_alias} $${srcdiroption} \
14915 --with-build-libsubdir=$(HOST_SUBDIR) \
14916 $(STAGEprofile_CONFIGURE_FLAGS) \
14917 --disable-shared
14918 @endif libelf-bootstrap
14920 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14921 maybe-configure-stagefeedback-libelf:
14922 @if libelf-bootstrap
14923 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14924 configure-stagefeedback-libelf:
14925 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14927 @r=`${PWD_COMMAND}`; export r; \
14928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14929 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14930 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14931 $(HOST_EXPORTS) \
14932 $(POSTSTAGE1_HOST_EXPORTS) \
14933 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14934 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14935 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14936 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14938 cd $(HOST_SUBDIR)/libelf || exit 1; \
14939 case $(srcdir) in \
14940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14941 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14943 esac; \
14944 srcdiroption="--srcdir=$${topdir}/libelf"; \
14945 libsrcdir="$$s/libelf"; \
14946 $(SHELL) $${libsrcdir}/configure \
14947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14948 --target=${target_alias} $${srcdiroption} \
14949 --with-build-libsubdir=$(HOST_SUBDIR) \
14950 $(STAGEfeedback_CONFIGURE_FLAGS) \
14951 --disable-shared
14952 @endif libelf-bootstrap
14958 .PHONY: all-libelf maybe-all-libelf
14959 maybe-all-libelf:
14960 @if gcc-bootstrap
14961 all-libelf: stage_current
14962 @endif gcc-bootstrap
14963 @if libelf
14964 TARGET-libelf=all
14965 maybe-all-libelf: all-libelf
14966 all-libelf: configure-libelf
14967 @r=`${PWD_COMMAND}`; export r; \
14968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14969 $(HOST_EXPORTS) \
14970 (cd $(HOST_SUBDIR)/libelf && \
14971 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14972 $(TARGET-libelf))
14973 @endif libelf
14977 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14978 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14979 maybe-all-stage1-libelf:
14980 maybe-clean-stage1-libelf:
14981 @if libelf-bootstrap
14982 maybe-all-stage1-libelf: all-stage1-libelf
14983 all-stage1: all-stage1-libelf
14984 TARGET-stage1-libelf = $(TARGET-libelf)
14985 all-stage1-libelf: configure-stage1-libelf
14986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14987 @r=`${PWD_COMMAND}`; export r; \
14988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14989 TFLAGS="$(STAGE1_TFLAGS)"; \
14990 $(HOST_EXPORTS) \
14991 cd $(HOST_SUBDIR)/libelf && \
14992 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14993 CFLAGS="$(STAGE1_CFLAGS)" \
14994 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14995 LIBCFLAGS="$(LIBCFLAGS)" \
14996 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14997 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14998 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14999 $(EXTRA_HOST_FLAGS) \
15000 TFLAGS="$(STAGE1_TFLAGS)" \
15001 $(TARGET-stage1-libelf)
15003 maybe-clean-stage1-libelf: clean-stage1-libelf
15004 clean-stage1: clean-stage1-libelf
15005 clean-stage1-libelf:
15006 @if [ $(current_stage) = stage1 ]; then \
15007 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15008 else \
15009 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15010 $(MAKE) stage1-start; \
15011 fi; \
15012 cd $(HOST_SUBDIR)/libelf && \
15013 $(MAKE) $(EXTRA_HOST_FLAGS) \
15014 clean
15015 @endif libelf-bootstrap
15018 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15019 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15020 maybe-all-stage2-libelf:
15021 maybe-clean-stage2-libelf:
15022 @if libelf-bootstrap
15023 maybe-all-stage2-libelf: all-stage2-libelf
15024 all-stage2: all-stage2-libelf
15025 TARGET-stage2-libelf = $(TARGET-libelf)
15026 all-stage2-libelf: configure-stage2-libelf
15027 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15028 @r=`${PWD_COMMAND}`; export r; \
15029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15030 TFLAGS="$(STAGE2_TFLAGS)"; \
15031 $(HOST_EXPORTS) \
15032 $(POSTSTAGE1_HOST_EXPORTS) \
15033 cd $(HOST_SUBDIR)/libelf && \
15034 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15035 CFLAGS="$(STAGE2_CFLAGS)" \
15036 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15037 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15038 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15039 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15040 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15041 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15042 TFLAGS="$(STAGE2_TFLAGS)" \
15043 $(TARGET-stage2-libelf)
15045 maybe-clean-stage2-libelf: clean-stage2-libelf
15046 clean-stage2: clean-stage2-libelf
15047 clean-stage2-libelf:
15048 @if [ $(current_stage) = stage2 ]; then \
15049 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15050 else \
15051 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15052 $(MAKE) stage2-start; \
15053 fi; \
15054 cd $(HOST_SUBDIR)/libelf && \
15055 $(MAKE) $(EXTRA_HOST_FLAGS) \
15056 $(POSTSTAGE1_FLAGS_TO_PASS) \
15057 clean
15058 @endif libelf-bootstrap
15061 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15062 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15063 maybe-all-stage3-libelf:
15064 maybe-clean-stage3-libelf:
15065 @if libelf-bootstrap
15066 maybe-all-stage3-libelf: all-stage3-libelf
15067 all-stage3: all-stage3-libelf
15068 TARGET-stage3-libelf = $(TARGET-libelf)
15069 all-stage3-libelf: configure-stage3-libelf
15070 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15071 @r=`${PWD_COMMAND}`; export r; \
15072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15073 TFLAGS="$(STAGE3_TFLAGS)"; \
15074 $(HOST_EXPORTS) \
15075 $(POSTSTAGE1_HOST_EXPORTS) \
15076 cd $(HOST_SUBDIR)/libelf && \
15077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15078 CFLAGS="$(STAGE3_CFLAGS)" \
15079 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15080 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15085 TFLAGS="$(STAGE3_TFLAGS)" \
15086 $(TARGET-stage3-libelf)
15088 maybe-clean-stage3-libelf: clean-stage3-libelf
15089 clean-stage3: clean-stage3-libelf
15090 clean-stage3-libelf:
15091 @if [ $(current_stage) = stage3 ]; then \
15092 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15093 else \
15094 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15095 $(MAKE) stage3-start; \
15096 fi; \
15097 cd $(HOST_SUBDIR)/libelf && \
15098 $(MAKE) $(EXTRA_HOST_FLAGS) \
15099 $(POSTSTAGE1_FLAGS_TO_PASS) \
15100 clean
15101 @endif libelf-bootstrap
15104 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15105 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15106 maybe-all-stage4-libelf:
15107 maybe-clean-stage4-libelf:
15108 @if libelf-bootstrap
15109 maybe-all-stage4-libelf: all-stage4-libelf
15110 all-stage4: all-stage4-libelf
15111 TARGET-stage4-libelf = $(TARGET-libelf)
15112 all-stage4-libelf: configure-stage4-libelf
15113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15114 @r=`${PWD_COMMAND}`; export r; \
15115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15116 TFLAGS="$(STAGE4_TFLAGS)"; \
15117 $(HOST_EXPORTS) \
15118 $(POSTSTAGE1_HOST_EXPORTS) \
15119 cd $(HOST_SUBDIR)/libelf && \
15120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15121 CFLAGS="$(STAGE4_CFLAGS)" \
15122 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15123 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15128 TFLAGS="$(STAGE4_TFLAGS)" \
15129 $(TARGET-stage4-libelf)
15131 maybe-clean-stage4-libelf: clean-stage4-libelf
15132 clean-stage4: clean-stage4-libelf
15133 clean-stage4-libelf:
15134 @if [ $(current_stage) = stage4 ]; then \
15135 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15136 else \
15137 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15138 $(MAKE) stage4-start; \
15139 fi; \
15140 cd $(HOST_SUBDIR)/libelf && \
15141 $(MAKE) $(EXTRA_HOST_FLAGS) \
15142 $(POSTSTAGE1_FLAGS_TO_PASS) \
15143 clean
15144 @endif libelf-bootstrap
15147 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15148 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15149 maybe-all-stageprofile-libelf:
15150 maybe-clean-stageprofile-libelf:
15151 @if libelf-bootstrap
15152 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15153 all-stageprofile: all-stageprofile-libelf
15154 TARGET-stageprofile-libelf = $(TARGET-libelf)
15155 all-stageprofile-libelf: configure-stageprofile-libelf
15156 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15157 @r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15160 $(HOST_EXPORTS) \
15161 $(POSTSTAGE1_HOST_EXPORTS) \
15162 cd $(HOST_SUBDIR)/libelf && \
15163 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15164 CFLAGS="$(STAGEprofile_CFLAGS)" \
15165 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15166 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15171 TFLAGS="$(STAGEprofile_TFLAGS)" \
15172 $(TARGET-stageprofile-libelf)
15174 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15175 clean-stageprofile: clean-stageprofile-libelf
15176 clean-stageprofile-libelf:
15177 @if [ $(current_stage) = stageprofile ]; then \
15178 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15179 else \
15180 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15181 $(MAKE) stageprofile-start; \
15182 fi; \
15183 cd $(HOST_SUBDIR)/libelf && \
15184 $(MAKE) $(EXTRA_HOST_FLAGS) \
15185 $(POSTSTAGE1_FLAGS_TO_PASS) \
15186 clean
15187 @endif libelf-bootstrap
15190 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15191 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15192 maybe-all-stagefeedback-libelf:
15193 maybe-clean-stagefeedback-libelf:
15194 @if libelf-bootstrap
15195 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15196 all-stagefeedback: all-stagefeedback-libelf
15197 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15198 all-stagefeedback-libelf: configure-stagefeedback-libelf
15199 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15200 @r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15202 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15203 $(HOST_EXPORTS) \
15204 $(POSTSTAGE1_HOST_EXPORTS) \
15205 cd $(HOST_SUBDIR)/libelf && \
15206 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15207 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15208 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15209 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15213 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15214 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15215 $(TARGET-stagefeedback-libelf)
15217 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15218 clean-stagefeedback: clean-stagefeedback-libelf
15219 clean-stagefeedback-libelf:
15220 @if [ $(current_stage) = stagefeedback ]; then \
15221 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15222 else \
15223 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15224 $(MAKE) stagefeedback-start; \
15225 fi; \
15226 cd $(HOST_SUBDIR)/libelf && \
15227 $(MAKE) $(EXTRA_HOST_FLAGS) \
15228 $(POSTSTAGE1_FLAGS_TO_PASS) \
15229 clean
15230 @endif libelf-bootstrap
15236 .PHONY: check-libelf maybe-check-libelf
15237 maybe-check-libelf:
15238 @if libelf
15239 maybe-check-libelf: check-libelf
15241 check-libelf:
15242 @: $(MAKE); $(unstage)
15243 @r=`${PWD_COMMAND}`; export r; \
15244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15245 $(HOST_EXPORTS) \
15246 (cd $(HOST_SUBDIR)/libelf && \
15247 $(MAKE) $(FLAGS_TO_PASS) check)
15249 @endif libelf
15251 .PHONY: install-libelf maybe-install-libelf
15252 maybe-install-libelf:
15253 @if libelf
15254 maybe-install-libelf: install-libelf
15256 install-libelf:
15258 @endif libelf
15260 .PHONY: install-strip-libelf maybe-install-strip-libelf
15261 maybe-install-strip-libelf:
15262 @if libelf
15263 maybe-install-strip-libelf: install-strip-libelf
15265 install-strip-libelf:
15267 @endif libelf
15269 # Other targets (info, dvi, pdf, etc.)
15271 .PHONY: maybe-info-libelf info-libelf
15272 maybe-info-libelf:
15273 @if libelf
15274 maybe-info-libelf: info-libelf
15276 info-libelf: \
15277 configure-libelf
15278 @[ -f ./libelf/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15281 $(HOST_EXPORTS) \
15282 for flag in $(EXTRA_HOST_FLAGS) ; do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15284 done; \
15285 echo "Doing info in libelf" ; \
15286 (cd $(HOST_SUBDIR)/libelf && \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15291 info) \
15292 || exit 1
15294 @endif libelf
15296 .PHONY: maybe-dvi-libelf dvi-libelf
15297 maybe-dvi-libelf:
15298 @if libelf
15299 maybe-dvi-libelf: dvi-libelf
15301 dvi-libelf: \
15302 configure-libelf
15303 @[ -f ./libelf/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 $(HOST_EXPORTS) \
15307 for flag in $(EXTRA_HOST_FLAGS) ; do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 done; \
15310 echo "Doing dvi in libelf" ; \
15311 (cd $(HOST_SUBDIR)/libelf && \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15316 dvi) \
15317 || exit 1
15319 @endif libelf
15321 .PHONY: maybe-pdf-libelf pdf-libelf
15322 maybe-pdf-libelf:
15323 @if libelf
15324 maybe-pdf-libelf: pdf-libelf
15326 pdf-libelf: \
15327 configure-libelf
15328 @[ -f ./libelf/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331 $(HOST_EXPORTS) \
15332 for flag in $(EXTRA_HOST_FLAGS) ; do \
15333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15334 done; \
15335 echo "Doing pdf in libelf" ; \
15336 (cd $(HOST_SUBDIR)/libelf && \
15337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339 "RANLIB=$${RANLIB}" \
15340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15341 pdf) \
15342 || exit 1
15344 @endif libelf
15346 .PHONY: maybe-html-libelf html-libelf
15347 maybe-html-libelf:
15348 @if libelf
15349 maybe-html-libelf: html-libelf
15351 html-libelf: \
15352 configure-libelf
15353 @[ -f ./libelf/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing html in libelf" ; \
15361 (cd $(HOST_SUBDIR)/libelf && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15366 html) \
15367 || exit 1
15369 @endif libelf
15371 .PHONY: maybe-TAGS-libelf TAGS-libelf
15372 maybe-TAGS-libelf:
15373 @if libelf
15374 maybe-TAGS-libelf: TAGS-libelf
15376 TAGS-libelf: \
15377 configure-libelf
15378 @[ -f ./libelf/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15381 $(HOST_EXPORTS) \
15382 for flag in $(EXTRA_HOST_FLAGS) ; do \
15383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15384 done; \
15385 echo "Doing TAGS in libelf" ; \
15386 (cd $(HOST_SUBDIR)/libelf && \
15387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15389 "RANLIB=$${RANLIB}" \
15390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15391 TAGS) \
15392 || exit 1
15394 @endif libelf
15396 .PHONY: maybe-install-info-libelf install-info-libelf
15397 maybe-install-info-libelf:
15398 @if libelf
15399 maybe-install-info-libelf: install-info-libelf
15401 install-info-libelf: \
15402 configure-libelf \
15403 info-libelf
15404 @[ -f ./libelf/Makefile ] || exit 0; \
15405 r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407 $(HOST_EXPORTS) \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 done; \
15411 echo "Doing install-info in libelf" ; \
15412 (cd $(HOST_SUBDIR)/libelf && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15417 install-info) \
15418 || exit 1
15420 @endif libelf
15422 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15423 maybe-install-pdf-libelf:
15424 @if libelf
15425 maybe-install-pdf-libelf: install-pdf-libelf
15427 install-pdf-libelf: \
15428 configure-libelf \
15429 pdf-libelf
15430 @[ -f ./libelf/Makefile ] || exit 0; \
15431 r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 $(HOST_EXPORTS) \
15434 for flag in $(EXTRA_HOST_FLAGS) ; do \
15435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15436 done; \
15437 echo "Doing install-pdf in libelf" ; \
15438 (cd $(HOST_SUBDIR)/libelf && \
15439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15441 "RANLIB=$${RANLIB}" \
15442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15443 install-pdf) \
15444 || exit 1
15446 @endif libelf
15448 .PHONY: maybe-install-html-libelf install-html-libelf
15449 maybe-install-html-libelf:
15450 @if libelf
15451 maybe-install-html-libelf: install-html-libelf
15453 install-html-libelf: \
15454 configure-libelf \
15455 html-libelf
15456 @[ -f ./libelf/Makefile ] || exit 0; \
15457 r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 $(HOST_EXPORTS) \
15460 for flag in $(EXTRA_HOST_FLAGS) ; do \
15461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15462 done; \
15463 echo "Doing install-html in libelf" ; \
15464 (cd $(HOST_SUBDIR)/libelf && \
15465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15467 "RANLIB=$${RANLIB}" \
15468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15469 install-html) \
15470 || exit 1
15472 @endif libelf
15474 .PHONY: maybe-installcheck-libelf installcheck-libelf
15475 maybe-installcheck-libelf:
15476 @if libelf
15477 maybe-installcheck-libelf: installcheck-libelf
15479 installcheck-libelf: \
15480 configure-libelf
15481 @[ -f ./libelf/Makefile ] || exit 0; \
15482 r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 $(HOST_EXPORTS) \
15485 for flag in $(EXTRA_HOST_FLAGS) ; do \
15486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15487 done; \
15488 echo "Doing installcheck in libelf" ; \
15489 (cd $(HOST_SUBDIR)/libelf && \
15490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492 "RANLIB=$${RANLIB}" \
15493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15494 installcheck) \
15495 || exit 1
15497 @endif libelf
15499 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15500 maybe-mostlyclean-libelf:
15501 @if libelf
15502 maybe-mostlyclean-libelf: mostlyclean-libelf
15504 mostlyclean-libelf:
15505 @[ -f ./libelf/Makefile ] || exit 0; \
15506 r=`${PWD_COMMAND}`; export r; \
15507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 $(HOST_EXPORTS) \
15509 for flag in $(EXTRA_HOST_FLAGS) ; do \
15510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15511 done; \
15512 echo "Doing mostlyclean in libelf" ; \
15513 (cd $(HOST_SUBDIR)/libelf && \
15514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15516 "RANLIB=$${RANLIB}" \
15517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15518 mostlyclean) \
15519 || exit 1
15521 @endif libelf
15523 .PHONY: maybe-clean-libelf clean-libelf
15524 maybe-clean-libelf:
15525 @if libelf
15526 maybe-clean-libelf: clean-libelf
15528 clean-libelf:
15529 @[ -f ./libelf/Makefile ] || exit 0; \
15530 r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 for flag in $(EXTRA_HOST_FLAGS) ; do \
15534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15535 done; \
15536 echo "Doing clean in libelf" ; \
15537 (cd $(HOST_SUBDIR)/libelf && \
15538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15540 "RANLIB=$${RANLIB}" \
15541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15542 clean) \
15543 || exit 1
15545 @endif libelf
15547 .PHONY: maybe-distclean-libelf distclean-libelf
15548 maybe-distclean-libelf:
15549 @if libelf
15550 maybe-distclean-libelf: distclean-libelf
15552 distclean-libelf:
15553 @[ -f ./libelf/Makefile ] || exit 0; \
15554 r=`${PWD_COMMAND}`; export r; \
15555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15556 $(HOST_EXPORTS) \
15557 for flag in $(EXTRA_HOST_FLAGS) ; do \
15558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15559 done; \
15560 echo "Doing distclean in libelf" ; \
15561 (cd $(HOST_SUBDIR)/libelf && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15564 "RANLIB=$${RANLIB}" \
15565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15566 distclean) \
15567 || exit 1
15569 @endif libelf
15571 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15572 maybe-maintainer-clean-libelf:
15573 @if libelf
15574 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15576 maintainer-clean-libelf:
15577 @[ -f ./libelf/Makefile ] || exit 0; \
15578 r=`${PWD_COMMAND}`; export r; \
15579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 $(HOST_EXPORTS) \
15581 for flag in $(EXTRA_HOST_FLAGS) ; do \
15582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15583 done; \
15584 echo "Doing maintainer-clean in libelf" ; \
15585 (cd $(HOST_SUBDIR)/libelf && \
15586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15588 "RANLIB=$${RANLIB}" \
15589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15590 maintainer-clean) \
15591 || exit 1
15593 @endif libelf
15597 .PHONY: configure-gold maybe-configure-gold
15598 maybe-configure-gold:
15599 @if gcc-bootstrap
15600 configure-gold: stage_current
15601 @endif gcc-bootstrap
15602 @if gold
15603 maybe-configure-gold: configure-gold
15604 configure-gold:
15605 @r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15609 $(HOST_EXPORTS) \
15610 echo Configuring in $(HOST_SUBDIR)/gold; \
15611 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15612 case $(srcdir) in \
15613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15614 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15616 esac; \
15617 srcdiroption="--srcdir=$${topdir}/gold"; \
15618 libsrcdir="$$s/gold"; \
15619 $(SHELL) $${libsrcdir}/configure \
15620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15621 --target=${target_alias} $${srcdiroption} \
15622 || exit 1
15623 @endif gold
15627 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15628 maybe-configure-stage1-gold:
15629 @if gold-bootstrap
15630 maybe-configure-stage1-gold: configure-stage1-gold
15631 configure-stage1-gold:
15632 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15634 @r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 TFLAGS="$(STAGE1_TFLAGS)"; \
15637 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15638 $(HOST_EXPORTS) \
15639 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15640 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15641 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15642 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15644 cd $(HOST_SUBDIR)/gold || exit 1; \
15645 case $(srcdir) in \
15646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15647 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15649 esac; \
15650 srcdiroption="--srcdir=$${topdir}/gold"; \
15651 libsrcdir="$$s/gold"; \
15652 $(SHELL) $${libsrcdir}/configure \
15653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15654 --target=${target_alias} $${srcdiroption} \
15655 $(STAGE1_CONFIGURE_FLAGS)
15656 @endif gold-bootstrap
15658 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15659 maybe-configure-stage2-gold:
15660 @if gold-bootstrap
15661 maybe-configure-stage2-gold: configure-stage2-gold
15662 configure-stage2-gold:
15663 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15665 @r=`${PWD_COMMAND}`; export r; \
15666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15667 TFLAGS="$(STAGE2_TFLAGS)"; \
15668 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15669 $(HOST_EXPORTS) \
15670 $(POSTSTAGE1_HOST_EXPORTS) \
15671 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15672 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15673 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15674 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15676 cd $(HOST_SUBDIR)/gold || exit 1; \
15677 case $(srcdir) in \
15678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15679 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15681 esac; \
15682 srcdiroption="--srcdir=$${topdir}/gold"; \
15683 libsrcdir="$$s/gold"; \
15684 $(SHELL) $${libsrcdir}/configure \
15685 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15686 --target=${target_alias} $${srcdiroption} \
15687 --with-build-libsubdir=$(HOST_SUBDIR) \
15688 $(STAGE2_CONFIGURE_FLAGS)
15689 @endif gold-bootstrap
15691 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15692 maybe-configure-stage3-gold:
15693 @if gold-bootstrap
15694 maybe-configure-stage3-gold: configure-stage3-gold
15695 configure-stage3-gold:
15696 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15698 @r=`${PWD_COMMAND}`; export r; \
15699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15700 TFLAGS="$(STAGE3_TFLAGS)"; \
15701 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15702 $(HOST_EXPORTS) \
15703 $(POSTSTAGE1_HOST_EXPORTS) \
15704 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15705 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15706 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15707 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15709 cd $(HOST_SUBDIR)/gold || exit 1; \
15710 case $(srcdir) in \
15711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15712 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15714 esac; \
15715 srcdiroption="--srcdir=$${topdir}/gold"; \
15716 libsrcdir="$$s/gold"; \
15717 $(SHELL) $${libsrcdir}/configure \
15718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15719 --target=${target_alias} $${srcdiroption} \
15720 --with-build-libsubdir=$(HOST_SUBDIR) \
15721 $(STAGE3_CONFIGURE_FLAGS)
15722 @endif gold-bootstrap
15724 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15725 maybe-configure-stage4-gold:
15726 @if gold-bootstrap
15727 maybe-configure-stage4-gold: configure-stage4-gold
15728 configure-stage4-gold:
15729 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15731 @r=`${PWD_COMMAND}`; export r; \
15732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733 TFLAGS="$(STAGE4_TFLAGS)"; \
15734 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15735 $(HOST_EXPORTS) \
15736 $(POSTSTAGE1_HOST_EXPORTS) \
15737 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15738 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15739 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15740 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15742 cd $(HOST_SUBDIR)/gold || exit 1; \
15743 case $(srcdir) in \
15744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15745 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15747 esac; \
15748 srcdiroption="--srcdir=$${topdir}/gold"; \
15749 libsrcdir="$$s/gold"; \
15750 $(SHELL) $${libsrcdir}/configure \
15751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15752 --target=${target_alias} $${srcdiroption} \
15753 --with-build-libsubdir=$(HOST_SUBDIR) \
15754 $(STAGE4_CONFIGURE_FLAGS)
15755 @endif gold-bootstrap
15757 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15758 maybe-configure-stageprofile-gold:
15759 @if gold-bootstrap
15760 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15761 configure-stageprofile-gold:
15762 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15764 @r=`${PWD_COMMAND}`; export r; \
15765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15766 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15767 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15768 $(HOST_EXPORTS) \
15769 $(POSTSTAGE1_HOST_EXPORTS) \
15770 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15771 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15772 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15773 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15775 cd $(HOST_SUBDIR)/gold || exit 1; \
15776 case $(srcdir) in \
15777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15778 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15780 esac; \
15781 srcdiroption="--srcdir=$${topdir}/gold"; \
15782 libsrcdir="$$s/gold"; \
15783 $(SHELL) $${libsrcdir}/configure \
15784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15785 --target=${target_alias} $${srcdiroption} \
15786 --with-build-libsubdir=$(HOST_SUBDIR) \
15787 $(STAGEprofile_CONFIGURE_FLAGS)
15788 @endif gold-bootstrap
15790 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15791 maybe-configure-stagefeedback-gold:
15792 @if gold-bootstrap
15793 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15794 configure-stagefeedback-gold:
15795 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15797 @r=`${PWD_COMMAND}`; export r; \
15798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15799 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15800 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15801 $(HOST_EXPORTS) \
15802 $(POSTSTAGE1_HOST_EXPORTS) \
15803 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15804 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15805 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15806 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15808 cd $(HOST_SUBDIR)/gold || exit 1; \
15809 case $(srcdir) in \
15810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15811 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15813 esac; \
15814 srcdiroption="--srcdir=$${topdir}/gold"; \
15815 libsrcdir="$$s/gold"; \
15816 $(SHELL) $${libsrcdir}/configure \
15817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15818 --target=${target_alias} $${srcdiroption} \
15819 --with-build-libsubdir=$(HOST_SUBDIR) \
15820 $(STAGEfeedback_CONFIGURE_FLAGS)
15821 @endif gold-bootstrap
15827 .PHONY: all-gold maybe-all-gold
15828 maybe-all-gold:
15829 @if gcc-bootstrap
15830 all-gold: stage_current
15831 @endif gcc-bootstrap
15832 @if gold
15833 TARGET-gold=all
15834 maybe-all-gold: all-gold
15835 all-gold: configure-gold
15836 @r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(HOST_EXPORTS) \
15839 (cd $(HOST_SUBDIR)/gold && \
15840 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15841 $(TARGET-gold))
15842 @endif gold
15846 .PHONY: all-stage1-gold maybe-all-stage1-gold
15847 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15848 maybe-all-stage1-gold:
15849 maybe-clean-stage1-gold:
15850 @if gold-bootstrap
15851 maybe-all-stage1-gold: all-stage1-gold
15852 all-stage1: all-stage1-gold
15853 TARGET-stage1-gold = $(TARGET-gold)
15854 all-stage1-gold: configure-stage1-gold
15855 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15856 @r=`${PWD_COMMAND}`; export r; \
15857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15858 TFLAGS="$(STAGE1_TFLAGS)"; \
15859 $(HOST_EXPORTS) \
15860 cd $(HOST_SUBDIR)/gold && \
15861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15862 CFLAGS="$(STAGE1_CFLAGS)" \
15863 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15864 LIBCFLAGS="$(LIBCFLAGS)" \
15865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15868 $(EXTRA_HOST_FLAGS) \
15869 TFLAGS="$(STAGE1_TFLAGS)" \
15870 $(TARGET-stage1-gold)
15872 maybe-clean-stage1-gold: clean-stage1-gold
15873 clean-stage1: clean-stage1-gold
15874 clean-stage1-gold:
15875 @if [ $(current_stage) = stage1 ]; then \
15876 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15877 else \
15878 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15879 $(MAKE) stage1-start; \
15880 fi; \
15881 cd $(HOST_SUBDIR)/gold && \
15882 $(MAKE) $(EXTRA_HOST_FLAGS) \
15883 clean
15884 @endif gold-bootstrap
15887 .PHONY: all-stage2-gold maybe-all-stage2-gold
15888 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15889 maybe-all-stage2-gold:
15890 maybe-clean-stage2-gold:
15891 @if gold-bootstrap
15892 maybe-all-stage2-gold: all-stage2-gold
15893 all-stage2: all-stage2-gold
15894 TARGET-stage2-gold = $(TARGET-gold)
15895 all-stage2-gold: configure-stage2-gold
15896 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15897 @r=`${PWD_COMMAND}`; export r; \
15898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15899 TFLAGS="$(STAGE2_TFLAGS)"; \
15900 $(HOST_EXPORTS) \
15901 $(POSTSTAGE1_HOST_EXPORTS) \
15902 cd $(HOST_SUBDIR)/gold && \
15903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15904 CFLAGS="$(STAGE2_CFLAGS)" \
15905 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15906 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15910 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15911 TFLAGS="$(STAGE2_TFLAGS)" \
15912 $(TARGET-stage2-gold)
15914 maybe-clean-stage2-gold: clean-stage2-gold
15915 clean-stage2: clean-stage2-gold
15916 clean-stage2-gold:
15917 @if [ $(current_stage) = stage2 ]; then \
15918 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15919 else \
15920 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15921 $(MAKE) stage2-start; \
15922 fi; \
15923 cd $(HOST_SUBDIR)/gold && \
15924 $(MAKE) $(EXTRA_HOST_FLAGS) \
15925 $(POSTSTAGE1_FLAGS_TO_PASS) \
15926 clean
15927 @endif gold-bootstrap
15930 .PHONY: all-stage3-gold maybe-all-stage3-gold
15931 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15932 maybe-all-stage3-gold:
15933 maybe-clean-stage3-gold:
15934 @if gold-bootstrap
15935 maybe-all-stage3-gold: all-stage3-gold
15936 all-stage3: all-stage3-gold
15937 TARGET-stage3-gold = $(TARGET-gold)
15938 all-stage3-gold: configure-stage3-gold
15939 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15940 @r=`${PWD_COMMAND}`; export r; \
15941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 TFLAGS="$(STAGE3_TFLAGS)"; \
15943 $(HOST_EXPORTS) \
15944 $(POSTSTAGE1_HOST_EXPORTS) \
15945 cd $(HOST_SUBDIR)/gold && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15947 CFLAGS="$(STAGE3_CFLAGS)" \
15948 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15949 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15954 TFLAGS="$(STAGE3_TFLAGS)" \
15955 $(TARGET-stage3-gold)
15957 maybe-clean-stage3-gold: clean-stage3-gold
15958 clean-stage3: clean-stage3-gold
15959 clean-stage3-gold:
15960 @if [ $(current_stage) = stage3 ]; then \
15961 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15962 else \
15963 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15964 $(MAKE) stage3-start; \
15965 fi; \
15966 cd $(HOST_SUBDIR)/gold && \
15967 $(MAKE) $(EXTRA_HOST_FLAGS) \
15968 $(POSTSTAGE1_FLAGS_TO_PASS) \
15969 clean
15970 @endif gold-bootstrap
15973 .PHONY: all-stage4-gold maybe-all-stage4-gold
15974 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15975 maybe-all-stage4-gold:
15976 maybe-clean-stage4-gold:
15977 @if gold-bootstrap
15978 maybe-all-stage4-gold: all-stage4-gold
15979 all-stage4: all-stage4-gold
15980 TARGET-stage4-gold = $(TARGET-gold)
15981 all-stage4-gold: configure-stage4-gold
15982 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15983 @r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 TFLAGS="$(STAGE4_TFLAGS)"; \
15986 $(HOST_EXPORTS) \
15987 $(POSTSTAGE1_HOST_EXPORTS) \
15988 cd $(HOST_SUBDIR)/gold && \
15989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15990 CFLAGS="$(STAGE4_CFLAGS)" \
15991 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15992 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15997 TFLAGS="$(STAGE4_TFLAGS)" \
15998 $(TARGET-stage4-gold)
16000 maybe-clean-stage4-gold: clean-stage4-gold
16001 clean-stage4: clean-stage4-gold
16002 clean-stage4-gold:
16003 @if [ $(current_stage) = stage4 ]; then \
16004 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16005 else \
16006 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16007 $(MAKE) stage4-start; \
16008 fi; \
16009 cd $(HOST_SUBDIR)/gold && \
16010 $(MAKE) $(EXTRA_HOST_FLAGS) \
16011 $(POSTSTAGE1_FLAGS_TO_PASS) \
16012 clean
16013 @endif gold-bootstrap
16016 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16017 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16018 maybe-all-stageprofile-gold:
16019 maybe-clean-stageprofile-gold:
16020 @if gold-bootstrap
16021 maybe-all-stageprofile-gold: all-stageprofile-gold
16022 all-stageprofile: all-stageprofile-gold
16023 TARGET-stageprofile-gold = $(TARGET-gold)
16024 all-stageprofile-gold: configure-stageprofile-gold
16025 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16026 @r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16029 $(HOST_EXPORTS) \
16030 $(POSTSTAGE1_HOST_EXPORTS) \
16031 cd $(HOST_SUBDIR)/gold && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16033 CFLAGS="$(STAGEprofile_CFLAGS)" \
16034 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16035 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16040 TFLAGS="$(STAGEprofile_TFLAGS)" \
16041 $(TARGET-stageprofile-gold)
16043 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16044 clean-stageprofile: clean-stageprofile-gold
16045 clean-stageprofile-gold:
16046 @if [ $(current_stage) = stageprofile ]; then \
16047 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16048 else \
16049 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16050 $(MAKE) stageprofile-start; \
16051 fi; \
16052 cd $(HOST_SUBDIR)/gold && \
16053 $(MAKE) $(EXTRA_HOST_FLAGS) \
16054 $(POSTSTAGE1_FLAGS_TO_PASS) \
16055 clean
16056 @endif gold-bootstrap
16059 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16060 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16061 maybe-all-stagefeedback-gold:
16062 maybe-clean-stagefeedback-gold:
16063 @if gold-bootstrap
16064 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16065 all-stagefeedback: all-stagefeedback-gold
16066 TARGET-stagefeedback-gold = $(TARGET-gold)
16067 all-stagefeedback-gold: configure-stagefeedback-gold
16068 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16069 @r=`${PWD_COMMAND}`; export r; \
16070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16071 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16072 $(HOST_EXPORTS) \
16073 $(POSTSTAGE1_HOST_EXPORTS) \
16074 cd $(HOST_SUBDIR)/gold && \
16075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16076 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16077 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16078 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16083 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16084 $(TARGET-stagefeedback-gold)
16086 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16087 clean-stagefeedback: clean-stagefeedback-gold
16088 clean-stagefeedback-gold:
16089 @if [ $(current_stage) = stagefeedback ]; then \
16090 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16091 else \
16092 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16093 $(MAKE) stagefeedback-start; \
16094 fi; \
16095 cd $(HOST_SUBDIR)/gold && \
16096 $(MAKE) $(EXTRA_HOST_FLAGS) \
16097 $(POSTSTAGE1_FLAGS_TO_PASS) \
16098 clean
16099 @endif gold-bootstrap
16105 .PHONY: check-gold maybe-check-gold
16106 maybe-check-gold:
16107 @if gold
16108 maybe-check-gold: check-gold
16110 check-gold:
16111 @: $(MAKE); $(unstage)
16112 @r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 $(HOST_EXPORTS) \
16115 (cd $(HOST_SUBDIR)/gold && \
16116 $(MAKE) $(FLAGS_TO_PASS) check)
16118 @endif gold
16120 .PHONY: install-gold maybe-install-gold
16121 maybe-install-gold:
16122 @if gold
16123 maybe-install-gold: install-gold
16125 install-gold: installdirs
16126 @: $(MAKE); $(unstage)
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(HOST_EXPORTS) \
16130 (cd $(HOST_SUBDIR)/gold && \
16131 $(MAKE) $(FLAGS_TO_PASS) install)
16133 @endif gold
16135 .PHONY: install-strip-gold maybe-install-strip-gold
16136 maybe-install-strip-gold:
16137 @if gold
16138 maybe-install-strip-gold: install-strip-gold
16140 install-strip-gold: installdirs
16141 @: $(MAKE); $(unstage)
16142 @r=`${PWD_COMMAND}`; export r; \
16143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144 $(HOST_EXPORTS) \
16145 (cd $(HOST_SUBDIR)/gold && \
16146 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16148 @endif gold
16150 # Other targets (info, dvi, pdf, etc.)
16152 .PHONY: maybe-info-gold info-gold
16153 maybe-info-gold:
16154 @if gold
16155 maybe-info-gold: info-gold
16157 info-gold: \
16158 configure-gold
16159 @[ -f ./gold/Makefile ] || exit 0; \
16160 r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 $(HOST_EXPORTS) \
16163 for flag in $(EXTRA_HOST_FLAGS) ; do \
16164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16165 done; \
16166 echo "Doing info in gold" ; \
16167 (cd $(HOST_SUBDIR)/gold && \
16168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16170 "RANLIB=$${RANLIB}" \
16171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16172 info) \
16173 || exit 1
16175 @endif gold
16177 .PHONY: maybe-dvi-gold dvi-gold
16178 maybe-dvi-gold:
16179 @if gold
16180 maybe-dvi-gold: dvi-gold
16182 dvi-gold: \
16183 configure-gold
16184 @[ -f ./gold/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16190 done; \
16191 echo "Doing dvi in gold" ; \
16192 (cd $(HOST_SUBDIR)/gold && \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16197 dvi) \
16198 || exit 1
16200 @endif gold
16202 .PHONY: maybe-pdf-gold pdf-gold
16203 maybe-pdf-gold:
16204 @if gold
16205 maybe-pdf-gold: pdf-gold
16207 pdf-gold: \
16208 configure-gold
16209 @[ -f ./gold/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(HOST_EXPORTS) \
16213 for flag in $(EXTRA_HOST_FLAGS) ; do \
16214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16215 done; \
16216 echo "Doing pdf in gold" ; \
16217 (cd $(HOST_SUBDIR)/gold && \
16218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16220 "RANLIB=$${RANLIB}" \
16221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16222 pdf) \
16223 || exit 1
16225 @endif gold
16227 .PHONY: maybe-html-gold html-gold
16228 maybe-html-gold:
16229 @if gold
16230 maybe-html-gold: html-gold
16232 html-gold: \
16233 configure-gold
16234 @[ -f ./gold/Makefile ] || exit 0; \
16235 r=`${PWD_COMMAND}`; export r; \
16236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16237 $(HOST_EXPORTS) \
16238 for flag in $(EXTRA_HOST_FLAGS) ; do \
16239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16240 done; \
16241 echo "Doing html in gold" ; \
16242 (cd $(HOST_SUBDIR)/gold && \
16243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16245 "RANLIB=$${RANLIB}" \
16246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16247 html) \
16248 || exit 1
16250 @endif gold
16252 .PHONY: maybe-TAGS-gold TAGS-gold
16253 maybe-TAGS-gold:
16254 @if gold
16255 maybe-TAGS-gold: TAGS-gold
16257 TAGS-gold: \
16258 configure-gold
16259 @[ -f ./gold/Makefile ] || exit 0; \
16260 r=`${PWD_COMMAND}`; export r; \
16261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16262 $(HOST_EXPORTS) \
16263 for flag in $(EXTRA_HOST_FLAGS) ; do \
16264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16265 done; \
16266 echo "Doing TAGS in gold" ; \
16267 (cd $(HOST_SUBDIR)/gold && \
16268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16270 "RANLIB=$${RANLIB}" \
16271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16272 TAGS) \
16273 || exit 1
16275 @endif gold
16277 .PHONY: maybe-install-info-gold install-info-gold
16278 maybe-install-info-gold:
16279 @if gold
16280 maybe-install-info-gold: install-info-gold
16282 install-info-gold: \
16283 configure-gold \
16284 info-gold
16285 @[ -f ./gold/Makefile ] || exit 0; \
16286 r=`${PWD_COMMAND}`; export r; \
16287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 $(HOST_EXPORTS) \
16289 for flag in $(EXTRA_HOST_FLAGS) ; do \
16290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16291 done; \
16292 echo "Doing install-info in gold" ; \
16293 (cd $(HOST_SUBDIR)/gold && \
16294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16296 "RANLIB=$${RANLIB}" \
16297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16298 install-info) \
16299 || exit 1
16301 @endif gold
16303 .PHONY: maybe-install-pdf-gold install-pdf-gold
16304 maybe-install-pdf-gold:
16305 @if gold
16306 maybe-install-pdf-gold: install-pdf-gold
16308 install-pdf-gold: \
16309 configure-gold \
16310 pdf-gold
16311 @[ -f ./gold/Makefile ] || exit 0; \
16312 r=`${PWD_COMMAND}`; export r; \
16313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16314 $(HOST_EXPORTS) \
16315 for flag in $(EXTRA_HOST_FLAGS) ; do \
16316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16317 done; \
16318 echo "Doing install-pdf in gold" ; \
16319 (cd $(HOST_SUBDIR)/gold && \
16320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16322 "RANLIB=$${RANLIB}" \
16323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16324 install-pdf) \
16325 || exit 1
16327 @endif gold
16329 .PHONY: maybe-install-html-gold install-html-gold
16330 maybe-install-html-gold:
16331 @if gold
16332 maybe-install-html-gold: install-html-gold
16334 install-html-gold: \
16335 configure-gold \
16336 html-gold
16337 @[ -f ./gold/Makefile ] || exit 0; \
16338 r=`${PWD_COMMAND}`; export r; \
16339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 $(HOST_EXPORTS) \
16341 for flag in $(EXTRA_HOST_FLAGS) ; do \
16342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16343 done; \
16344 echo "Doing install-html in gold" ; \
16345 (cd $(HOST_SUBDIR)/gold && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16348 "RANLIB=$${RANLIB}" \
16349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16350 install-html) \
16351 || exit 1
16353 @endif gold
16355 .PHONY: maybe-installcheck-gold installcheck-gold
16356 maybe-installcheck-gold:
16357 @if gold
16358 maybe-installcheck-gold: installcheck-gold
16360 installcheck-gold: \
16361 configure-gold
16362 @[ -f ./gold/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365 $(HOST_EXPORTS) \
16366 for flag in $(EXTRA_HOST_FLAGS) ; do \
16367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16368 done; \
16369 echo "Doing installcheck in gold" ; \
16370 (cd $(HOST_SUBDIR)/gold && \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16373 "RANLIB=$${RANLIB}" \
16374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16375 installcheck) \
16376 || exit 1
16378 @endif gold
16380 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16381 maybe-mostlyclean-gold:
16382 @if gold
16383 maybe-mostlyclean-gold: mostlyclean-gold
16385 mostlyclean-gold:
16386 @[ -f ./gold/Makefile ] || exit 0; \
16387 r=`${PWD_COMMAND}`; export r; \
16388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16389 $(HOST_EXPORTS) \
16390 for flag in $(EXTRA_HOST_FLAGS) ; do \
16391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16392 done; \
16393 echo "Doing mostlyclean in gold" ; \
16394 (cd $(HOST_SUBDIR)/gold && \
16395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16397 "RANLIB=$${RANLIB}" \
16398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16399 mostlyclean) \
16400 || exit 1
16402 @endif gold
16404 .PHONY: maybe-clean-gold clean-gold
16405 maybe-clean-gold:
16406 @if gold
16407 maybe-clean-gold: clean-gold
16409 clean-gold:
16410 @[ -f ./gold/Makefile ] || exit 0; \
16411 r=`${PWD_COMMAND}`; export r; \
16412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 $(HOST_EXPORTS) \
16414 for flag in $(EXTRA_HOST_FLAGS) ; do \
16415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16416 done; \
16417 echo "Doing clean in gold" ; \
16418 (cd $(HOST_SUBDIR)/gold && \
16419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16421 "RANLIB=$${RANLIB}" \
16422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16423 clean) \
16424 || exit 1
16426 @endif gold
16428 .PHONY: maybe-distclean-gold distclean-gold
16429 maybe-distclean-gold:
16430 @if gold
16431 maybe-distclean-gold: distclean-gold
16433 distclean-gold:
16434 @[ -f ./gold/Makefile ] || exit 0; \
16435 r=`${PWD_COMMAND}`; export r; \
16436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16437 $(HOST_EXPORTS) \
16438 for flag in $(EXTRA_HOST_FLAGS) ; do \
16439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16440 done; \
16441 echo "Doing distclean in gold" ; \
16442 (cd $(HOST_SUBDIR)/gold && \
16443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16445 "RANLIB=$${RANLIB}" \
16446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16447 distclean) \
16448 || exit 1
16450 @endif gold
16452 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16453 maybe-maintainer-clean-gold:
16454 @if gold
16455 maybe-maintainer-clean-gold: maintainer-clean-gold
16457 maintainer-clean-gold:
16458 @[ -f ./gold/Makefile ] || exit 0; \
16459 r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 $(HOST_EXPORTS) \
16462 for flag in $(EXTRA_HOST_FLAGS) ; do \
16463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16464 done; \
16465 echo "Doing maintainer-clean in gold" ; \
16466 (cd $(HOST_SUBDIR)/gold && \
16467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16469 "RANLIB=$${RANLIB}" \
16470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16471 maintainer-clean) \
16472 || exit 1
16474 @endif gold
16478 .PHONY: configure-gprof maybe-configure-gprof
16479 maybe-configure-gprof:
16480 @if gcc-bootstrap
16481 configure-gprof: stage_current
16482 @endif gcc-bootstrap
16483 @if gprof
16484 maybe-configure-gprof: configure-gprof
16485 configure-gprof:
16486 @: $(MAKE); $(unstage)
16487 @r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16491 $(HOST_EXPORTS) \
16492 echo Configuring in $(HOST_SUBDIR)/gprof; \
16493 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16494 case $(srcdir) in \
16495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16496 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16498 esac; \
16499 srcdiroption="--srcdir=$${topdir}/gprof"; \
16500 libsrcdir="$$s/gprof"; \
16501 $(SHELL) $${libsrcdir}/configure \
16502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16503 --target=${target_alias} $${srcdiroption} \
16504 || exit 1
16505 @endif gprof
16511 .PHONY: all-gprof maybe-all-gprof
16512 maybe-all-gprof:
16513 @if gcc-bootstrap
16514 all-gprof: stage_current
16515 @endif gcc-bootstrap
16516 @if gprof
16517 TARGET-gprof=all
16518 maybe-all-gprof: all-gprof
16519 all-gprof: configure-gprof
16520 @: $(MAKE); $(unstage)
16521 @r=`${PWD_COMMAND}`; export r; \
16522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16523 $(HOST_EXPORTS) \
16524 (cd $(HOST_SUBDIR)/gprof && \
16525 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16526 $(TARGET-gprof))
16527 @endif gprof
16532 .PHONY: check-gprof maybe-check-gprof
16533 maybe-check-gprof:
16534 @if gprof
16535 maybe-check-gprof: check-gprof
16537 check-gprof:
16538 @: $(MAKE); $(unstage)
16539 @r=`${PWD_COMMAND}`; export r; \
16540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16541 $(HOST_EXPORTS) \
16542 (cd $(HOST_SUBDIR)/gprof && \
16543 $(MAKE) $(FLAGS_TO_PASS) check)
16545 @endif gprof
16547 .PHONY: install-gprof maybe-install-gprof
16548 maybe-install-gprof:
16549 @if gprof
16550 maybe-install-gprof: install-gprof
16552 install-gprof: installdirs
16553 @: $(MAKE); $(unstage)
16554 @r=`${PWD_COMMAND}`; export r; \
16555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16556 $(HOST_EXPORTS) \
16557 (cd $(HOST_SUBDIR)/gprof && \
16558 $(MAKE) $(FLAGS_TO_PASS) install)
16560 @endif gprof
16562 .PHONY: install-strip-gprof maybe-install-strip-gprof
16563 maybe-install-strip-gprof:
16564 @if gprof
16565 maybe-install-strip-gprof: install-strip-gprof
16567 install-strip-gprof: installdirs
16568 @: $(MAKE); $(unstage)
16569 @r=`${PWD_COMMAND}`; export r; \
16570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 $(HOST_EXPORTS) \
16572 (cd $(HOST_SUBDIR)/gprof && \
16573 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16575 @endif gprof
16577 # Other targets (info, dvi, pdf, etc.)
16579 .PHONY: maybe-info-gprof info-gprof
16580 maybe-info-gprof:
16581 @if gprof
16582 maybe-info-gprof: info-gprof
16584 info-gprof: \
16585 configure-gprof
16586 @: $(MAKE); $(unstage)
16587 @[ -f ./gprof/Makefile ] || exit 0; \
16588 r=`${PWD_COMMAND}`; export r; \
16589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16590 $(HOST_EXPORTS) \
16591 for flag in $(EXTRA_HOST_FLAGS) ; do \
16592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16593 done; \
16594 echo "Doing info in gprof" ; \
16595 (cd $(HOST_SUBDIR)/gprof && \
16596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16598 "RANLIB=$${RANLIB}" \
16599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16600 info) \
16601 || exit 1
16603 @endif gprof
16605 .PHONY: maybe-dvi-gprof dvi-gprof
16606 maybe-dvi-gprof:
16607 @if gprof
16608 maybe-dvi-gprof: dvi-gprof
16610 dvi-gprof: \
16611 configure-gprof
16612 @: $(MAKE); $(unstage)
16613 @[ -f ./gprof/Makefile ] || exit 0; \
16614 r=`${PWD_COMMAND}`; export r; \
16615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16616 $(HOST_EXPORTS) \
16617 for flag in $(EXTRA_HOST_FLAGS) ; do \
16618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16619 done; \
16620 echo "Doing dvi in gprof" ; \
16621 (cd $(HOST_SUBDIR)/gprof && \
16622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16624 "RANLIB=$${RANLIB}" \
16625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16626 dvi) \
16627 || exit 1
16629 @endif gprof
16631 .PHONY: maybe-pdf-gprof pdf-gprof
16632 maybe-pdf-gprof:
16633 @if gprof
16634 maybe-pdf-gprof: pdf-gprof
16636 pdf-gprof: \
16637 configure-gprof
16638 @: $(MAKE); $(unstage)
16639 @[ -f ./gprof/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642 $(HOST_EXPORTS) \
16643 for flag in $(EXTRA_HOST_FLAGS) ; do \
16644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16645 done; \
16646 echo "Doing pdf in gprof" ; \
16647 (cd $(HOST_SUBDIR)/gprof && \
16648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16650 "RANLIB=$${RANLIB}" \
16651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16652 pdf) \
16653 || exit 1
16655 @endif gprof
16657 .PHONY: maybe-html-gprof html-gprof
16658 maybe-html-gprof:
16659 @if gprof
16660 maybe-html-gprof: html-gprof
16662 html-gprof: \
16663 configure-gprof
16664 @: $(MAKE); $(unstage)
16665 @[ -f ./gprof/Makefile ] || exit 0; \
16666 r=`${PWD_COMMAND}`; export r; \
16667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16668 $(HOST_EXPORTS) \
16669 for flag in $(EXTRA_HOST_FLAGS) ; do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 done; \
16672 echo "Doing html in gprof" ; \
16673 (cd $(HOST_SUBDIR)/gprof && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16678 html) \
16679 || exit 1
16681 @endif gprof
16683 .PHONY: maybe-TAGS-gprof TAGS-gprof
16684 maybe-TAGS-gprof:
16685 @if gprof
16686 maybe-TAGS-gprof: TAGS-gprof
16688 TAGS-gprof: \
16689 configure-gprof
16690 @: $(MAKE); $(unstage)
16691 @[ -f ./gprof/Makefile ] || exit 0; \
16692 r=`${PWD_COMMAND}`; export r; \
16693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16694 $(HOST_EXPORTS) \
16695 for flag in $(EXTRA_HOST_FLAGS) ; do \
16696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16697 done; \
16698 echo "Doing TAGS in gprof" ; \
16699 (cd $(HOST_SUBDIR)/gprof && \
16700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16702 "RANLIB=$${RANLIB}" \
16703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16704 TAGS) \
16705 || exit 1
16707 @endif gprof
16709 .PHONY: maybe-install-info-gprof install-info-gprof
16710 maybe-install-info-gprof:
16711 @if gprof
16712 maybe-install-info-gprof: install-info-gprof
16714 install-info-gprof: \
16715 configure-gprof \
16716 info-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 install-info 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 install-info) \
16732 || exit 1
16734 @endif gprof
16736 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16737 maybe-install-pdf-gprof:
16738 @if gprof
16739 maybe-install-pdf-gprof: install-pdf-gprof
16741 install-pdf-gprof: \
16742 configure-gprof \
16743 pdf-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-pdf 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-pdf) \
16759 || exit 1
16761 @endif gprof
16763 .PHONY: maybe-install-html-gprof install-html-gprof
16764 maybe-install-html-gprof:
16765 @if gprof
16766 maybe-install-html-gprof: install-html-gprof
16768 install-html-gprof: \
16769 configure-gprof \
16770 html-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-html 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-html) \
16786 || exit 1
16788 @endif gprof
16790 .PHONY: maybe-installcheck-gprof installcheck-gprof
16791 maybe-installcheck-gprof:
16792 @if gprof
16793 maybe-installcheck-gprof: installcheck-gprof
16795 installcheck-gprof: \
16796 configure-gprof
16797 @: $(MAKE); $(unstage)
16798 @[ -f ./gprof/Makefile ] || exit 0; \
16799 r=`${PWD_COMMAND}`; export r; \
16800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16801 $(HOST_EXPORTS) \
16802 for flag in $(EXTRA_HOST_FLAGS) ; do \
16803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16804 done; \
16805 echo "Doing installcheck in gprof" ; \
16806 (cd $(HOST_SUBDIR)/gprof && \
16807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16809 "RANLIB=$${RANLIB}" \
16810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16811 installcheck) \
16812 || exit 1
16814 @endif gprof
16816 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16817 maybe-mostlyclean-gprof:
16818 @if gprof
16819 maybe-mostlyclean-gprof: mostlyclean-gprof
16821 mostlyclean-gprof:
16822 @: $(MAKE); $(unstage)
16823 @[ -f ./gprof/Makefile ] || exit 0; \
16824 r=`${PWD_COMMAND}`; export r; \
16825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16826 $(HOST_EXPORTS) \
16827 for flag in $(EXTRA_HOST_FLAGS) ; do \
16828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16829 done; \
16830 echo "Doing mostlyclean in gprof" ; \
16831 (cd $(HOST_SUBDIR)/gprof && \
16832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16834 "RANLIB=$${RANLIB}" \
16835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16836 mostlyclean) \
16837 || exit 1
16839 @endif gprof
16841 .PHONY: maybe-clean-gprof clean-gprof
16842 maybe-clean-gprof:
16843 @if gprof
16844 maybe-clean-gprof: clean-gprof
16846 clean-gprof:
16847 @: $(MAKE); $(unstage)
16848 @[ -f ./gprof/Makefile ] || exit 0; \
16849 r=`${PWD_COMMAND}`; export r; \
16850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16851 $(HOST_EXPORTS) \
16852 for flag in $(EXTRA_HOST_FLAGS) ; do \
16853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16854 done; \
16855 echo "Doing clean in gprof" ; \
16856 (cd $(HOST_SUBDIR)/gprof && \
16857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16859 "RANLIB=$${RANLIB}" \
16860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16861 clean) \
16862 || exit 1
16864 @endif gprof
16866 .PHONY: maybe-distclean-gprof distclean-gprof
16867 maybe-distclean-gprof:
16868 @if gprof
16869 maybe-distclean-gprof: distclean-gprof
16871 distclean-gprof:
16872 @: $(MAKE); $(unstage)
16873 @[ -f ./gprof/Makefile ] || exit 0; \
16874 r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876 $(HOST_EXPORTS) \
16877 for flag in $(EXTRA_HOST_FLAGS) ; do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879 done; \
16880 echo "Doing distclean in gprof" ; \
16881 (cd $(HOST_SUBDIR)/gprof && \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16886 distclean) \
16887 || exit 1
16889 @endif gprof
16891 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16892 maybe-maintainer-clean-gprof:
16893 @if gprof
16894 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16896 maintainer-clean-gprof:
16897 @: $(MAKE); $(unstage)
16898 @[ -f ./gprof/Makefile ] || exit 0; \
16899 r=`${PWD_COMMAND}`; export r; \
16900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 $(HOST_EXPORTS) \
16902 for flag in $(EXTRA_HOST_FLAGS) ; do \
16903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16904 done; \
16905 echo "Doing maintainer-clean in gprof" ; \
16906 (cd $(HOST_SUBDIR)/gprof && \
16907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16909 "RANLIB=$${RANLIB}" \
16910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16911 maintainer-clean) \
16912 || exit 1
16914 @endif gprof
16918 .PHONY: configure-intl maybe-configure-intl
16919 maybe-configure-intl:
16920 @if gcc-bootstrap
16921 configure-intl: stage_current
16922 @endif gcc-bootstrap
16923 @if intl
16924 maybe-configure-intl: configure-intl
16925 configure-intl:
16926 @r=`${PWD_COMMAND}`; export r; \
16927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16928 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16930 $(HOST_EXPORTS) \
16931 echo Configuring in $(HOST_SUBDIR)/intl; \
16932 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16933 case $(srcdir) in \
16934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16935 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16937 esac; \
16938 srcdiroption="--srcdir=$${topdir}/intl"; \
16939 libsrcdir="$$s/intl"; \
16940 $(SHELL) $${libsrcdir}/configure \
16941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16942 --target=${target_alias} $${srcdiroption} \
16943 || exit 1
16944 @endif intl
16948 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16949 maybe-configure-stage1-intl:
16950 @if intl-bootstrap
16951 maybe-configure-stage1-intl: configure-stage1-intl
16952 configure-stage1-intl:
16953 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16955 @r=`${PWD_COMMAND}`; export r; \
16956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16957 TFLAGS="$(STAGE1_TFLAGS)"; \
16958 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16959 $(HOST_EXPORTS) \
16960 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16961 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16962 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16963 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16965 cd $(HOST_SUBDIR)/intl || exit 1; \
16966 case $(srcdir) in \
16967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16968 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16970 esac; \
16971 srcdiroption="--srcdir=$${topdir}/intl"; \
16972 libsrcdir="$$s/intl"; \
16973 $(SHELL) $${libsrcdir}/configure \
16974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16975 --target=${target_alias} $${srcdiroption} \
16976 $(STAGE1_CONFIGURE_FLAGS)
16977 @endif intl-bootstrap
16979 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16980 maybe-configure-stage2-intl:
16981 @if intl-bootstrap
16982 maybe-configure-stage2-intl: configure-stage2-intl
16983 configure-stage2-intl:
16984 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16986 @r=`${PWD_COMMAND}`; export r; \
16987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16988 TFLAGS="$(STAGE2_TFLAGS)"; \
16989 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16990 $(HOST_EXPORTS) \
16991 $(POSTSTAGE1_HOST_EXPORTS) \
16992 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16993 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16994 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16995 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16997 cd $(HOST_SUBDIR)/intl || exit 1; \
16998 case $(srcdir) in \
16999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17000 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17002 esac; \
17003 srcdiroption="--srcdir=$${topdir}/intl"; \
17004 libsrcdir="$$s/intl"; \
17005 $(SHELL) $${libsrcdir}/configure \
17006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17007 --target=${target_alias} $${srcdiroption} \
17008 --with-build-libsubdir=$(HOST_SUBDIR) \
17009 $(STAGE2_CONFIGURE_FLAGS)
17010 @endif intl-bootstrap
17012 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17013 maybe-configure-stage3-intl:
17014 @if intl-bootstrap
17015 maybe-configure-stage3-intl: configure-stage3-intl
17016 configure-stage3-intl:
17017 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17019 @r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 TFLAGS="$(STAGE3_TFLAGS)"; \
17022 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17023 $(HOST_EXPORTS) \
17024 $(POSTSTAGE1_HOST_EXPORTS) \
17025 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17026 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17027 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17028 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17030 cd $(HOST_SUBDIR)/intl || exit 1; \
17031 case $(srcdir) in \
17032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17033 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17035 esac; \
17036 srcdiroption="--srcdir=$${topdir}/intl"; \
17037 libsrcdir="$$s/intl"; \
17038 $(SHELL) $${libsrcdir}/configure \
17039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17040 --target=${target_alias} $${srcdiroption} \
17041 --with-build-libsubdir=$(HOST_SUBDIR) \
17042 $(STAGE3_CONFIGURE_FLAGS)
17043 @endif intl-bootstrap
17045 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17046 maybe-configure-stage4-intl:
17047 @if intl-bootstrap
17048 maybe-configure-stage4-intl: configure-stage4-intl
17049 configure-stage4-intl:
17050 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17052 @r=`${PWD_COMMAND}`; export r; \
17053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17054 TFLAGS="$(STAGE4_TFLAGS)"; \
17055 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17056 $(HOST_EXPORTS) \
17057 $(POSTSTAGE1_HOST_EXPORTS) \
17058 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17059 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17060 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17061 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17063 cd $(HOST_SUBDIR)/intl || exit 1; \
17064 case $(srcdir) in \
17065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17066 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17068 esac; \
17069 srcdiroption="--srcdir=$${topdir}/intl"; \
17070 libsrcdir="$$s/intl"; \
17071 $(SHELL) $${libsrcdir}/configure \
17072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17073 --target=${target_alias} $${srcdiroption} \
17074 --with-build-libsubdir=$(HOST_SUBDIR) \
17075 $(STAGE4_CONFIGURE_FLAGS)
17076 @endif intl-bootstrap
17078 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17079 maybe-configure-stageprofile-intl:
17080 @if intl-bootstrap
17081 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17082 configure-stageprofile-intl:
17083 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17085 @r=`${PWD_COMMAND}`; export r; \
17086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17087 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17088 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17089 $(HOST_EXPORTS) \
17090 $(POSTSTAGE1_HOST_EXPORTS) \
17091 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17092 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17093 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17094 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17096 cd $(HOST_SUBDIR)/intl || exit 1; \
17097 case $(srcdir) in \
17098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17099 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17101 esac; \
17102 srcdiroption="--srcdir=$${topdir}/intl"; \
17103 libsrcdir="$$s/intl"; \
17104 $(SHELL) $${libsrcdir}/configure \
17105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17106 --target=${target_alias} $${srcdiroption} \
17107 --with-build-libsubdir=$(HOST_SUBDIR) \
17108 $(STAGEprofile_CONFIGURE_FLAGS)
17109 @endif intl-bootstrap
17111 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17112 maybe-configure-stagefeedback-intl:
17113 @if intl-bootstrap
17114 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17115 configure-stagefeedback-intl:
17116 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17118 @r=`${PWD_COMMAND}`; export r; \
17119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17120 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17121 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17122 $(HOST_EXPORTS) \
17123 $(POSTSTAGE1_HOST_EXPORTS) \
17124 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17125 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17126 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17127 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17129 cd $(HOST_SUBDIR)/intl || exit 1; \
17130 case $(srcdir) in \
17131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17132 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17134 esac; \
17135 srcdiroption="--srcdir=$${topdir}/intl"; \
17136 libsrcdir="$$s/intl"; \
17137 $(SHELL) $${libsrcdir}/configure \
17138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17139 --target=${target_alias} $${srcdiroption} \
17140 --with-build-libsubdir=$(HOST_SUBDIR) \
17141 $(STAGEfeedback_CONFIGURE_FLAGS)
17142 @endif intl-bootstrap
17148 .PHONY: all-intl maybe-all-intl
17149 maybe-all-intl:
17150 @if gcc-bootstrap
17151 all-intl: stage_current
17152 @endif gcc-bootstrap
17153 @if intl
17154 TARGET-intl=all
17155 maybe-all-intl: all-intl
17156 all-intl: configure-intl
17157 @r=`${PWD_COMMAND}`; export r; \
17158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17159 $(HOST_EXPORTS) \
17160 (cd $(HOST_SUBDIR)/intl && \
17161 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17162 $(TARGET-intl))
17163 @endif intl
17167 .PHONY: all-stage1-intl maybe-all-stage1-intl
17168 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17169 maybe-all-stage1-intl:
17170 maybe-clean-stage1-intl:
17171 @if intl-bootstrap
17172 maybe-all-stage1-intl: all-stage1-intl
17173 all-stage1: all-stage1-intl
17174 TARGET-stage1-intl = $(TARGET-intl)
17175 all-stage1-intl: configure-stage1-intl
17176 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17177 @r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 TFLAGS="$(STAGE1_TFLAGS)"; \
17180 $(HOST_EXPORTS) \
17181 cd $(HOST_SUBDIR)/intl && \
17182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17183 CFLAGS="$(STAGE1_CFLAGS)" \
17184 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17185 LIBCFLAGS="$(LIBCFLAGS)" \
17186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17189 $(EXTRA_HOST_FLAGS) \
17190 TFLAGS="$(STAGE1_TFLAGS)" \
17191 $(TARGET-stage1-intl)
17193 maybe-clean-stage1-intl: clean-stage1-intl
17194 clean-stage1: clean-stage1-intl
17195 clean-stage1-intl:
17196 @if [ $(current_stage) = stage1 ]; then \
17197 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17198 else \
17199 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17200 $(MAKE) stage1-start; \
17201 fi; \
17202 cd $(HOST_SUBDIR)/intl && \
17203 $(MAKE) $(EXTRA_HOST_FLAGS) \
17204 clean
17205 @endif intl-bootstrap
17208 .PHONY: all-stage2-intl maybe-all-stage2-intl
17209 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17210 maybe-all-stage2-intl:
17211 maybe-clean-stage2-intl:
17212 @if intl-bootstrap
17213 maybe-all-stage2-intl: all-stage2-intl
17214 all-stage2: all-stage2-intl
17215 TARGET-stage2-intl = $(TARGET-intl)
17216 all-stage2-intl: configure-stage2-intl
17217 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17218 @r=`${PWD_COMMAND}`; export r; \
17219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17220 TFLAGS="$(STAGE2_TFLAGS)"; \
17221 $(HOST_EXPORTS) \
17222 $(POSTSTAGE1_HOST_EXPORTS) \
17223 cd $(HOST_SUBDIR)/intl && \
17224 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17225 CFLAGS="$(STAGE2_CFLAGS)" \
17226 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17227 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17232 TFLAGS="$(STAGE2_TFLAGS)" \
17233 $(TARGET-stage2-intl)
17235 maybe-clean-stage2-intl: clean-stage2-intl
17236 clean-stage2: clean-stage2-intl
17237 clean-stage2-intl:
17238 @if [ $(current_stage) = stage2 ]; then \
17239 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17240 else \
17241 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17242 $(MAKE) stage2-start; \
17243 fi; \
17244 cd $(HOST_SUBDIR)/intl && \
17245 $(MAKE) $(EXTRA_HOST_FLAGS) \
17246 $(POSTSTAGE1_FLAGS_TO_PASS) \
17247 clean
17248 @endif intl-bootstrap
17251 .PHONY: all-stage3-intl maybe-all-stage3-intl
17252 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17253 maybe-all-stage3-intl:
17254 maybe-clean-stage3-intl:
17255 @if intl-bootstrap
17256 maybe-all-stage3-intl: all-stage3-intl
17257 all-stage3: all-stage3-intl
17258 TARGET-stage3-intl = $(TARGET-intl)
17259 all-stage3-intl: configure-stage3-intl
17260 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 TFLAGS="$(STAGE3_TFLAGS)"; \
17264 $(HOST_EXPORTS) \
17265 $(POSTSTAGE1_HOST_EXPORTS) \
17266 cd $(HOST_SUBDIR)/intl && \
17267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17268 CFLAGS="$(STAGE3_CFLAGS)" \
17269 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17270 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17275 TFLAGS="$(STAGE3_TFLAGS)" \
17276 $(TARGET-stage3-intl)
17278 maybe-clean-stage3-intl: clean-stage3-intl
17279 clean-stage3: clean-stage3-intl
17280 clean-stage3-intl:
17281 @if [ $(current_stage) = stage3 ]; then \
17282 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17283 else \
17284 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17285 $(MAKE) stage3-start; \
17286 fi; \
17287 cd $(HOST_SUBDIR)/intl && \
17288 $(MAKE) $(EXTRA_HOST_FLAGS) \
17289 $(POSTSTAGE1_FLAGS_TO_PASS) \
17290 clean
17291 @endif intl-bootstrap
17294 .PHONY: all-stage4-intl maybe-all-stage4-intl
17295 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17296 maybe-all-stage4-intl:
17297 maybe-clean-stage4-intl:
17298 @if intl-bootstrap
17299 maybe-all-stage4-intl: all-stage4-intl
17300 all-stage4: all-stage4-intl
17301 TARGET-stage4-intl = $(TARGET-intl)
17302 all-stage4-intl: configure-stage4-intl
17303 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17304 @r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17306 TFLAGS="$(STAGE4_TFLAGS)"; \
17307 $(HOST_EXPORTS) \
17308 $(POSTSTAGE1_HOST_EXPORTS) \
17309 cd $(HOST_SUBDIR)/intl && \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17311 CFLAGS="$(STAGE4_CFLAGS)" \
17312 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17313 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17318 TFLAGS="$(STAGE4_TFLAGS)" \
17319 $(TARGET-stage4-intl)
17321 maybe-clean-stage4-intl: clean-stage4-intl
17322 clean-stage4: clean-stage4-intl
17323 clean-stage4-intl:
17324 @if [ $(current_stage) = stage4 ]; then \
17325 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17326 else \
17327 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17328 $(MAKE) stage4-start; \
17329 fi; \
17330 cd $(HOST_SUBDIR)/intl && \
17331 $(MAKE) $(EXTRA_HOST_FLAGS) \
17332 $(POSTSTAGE1_FLAGS_TO_PASS) \
17333 clean
17334 @endif intl-bootstrap
17337 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17338 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17339 maybe-all-stageprofile-intl:
17340 maybe-clean-stageprofile-intl:
17341 @if intl-bootstrap
17342 maybe-all-stageprofile-intl: all-stageprofile-intl
17343 all-stageprofile: all-stageprofile-intl
17344 TARGET-stageprofile-intl = $(TARGET-intl)
17345 all-stageprofile-intl: configure-stageprofile-intl
17346 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17347 @r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17350 $(HOST_EXPORTS) \
17351 $(POSTSTAGE1_HOST_EXPORTS) \
17352 cd $(HOST_SUBDIR)/intl && \
17353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17354 CFLAGS="$(STAGEprofile_CFLAGS)" \
17355 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17356 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17361 TFLAGS="$(STAGEprofile_TFLAGS)" \
17362 $(TARGET-stageprofile-intl)
17364 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17365 clean-stageprofile: clean-stageprofile-intl
17366 clean-stageprofile-intl:
17367 @if [ $(current_stage) = stageprofile ]; then \
17368 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17369 else \
17370 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17371 $(MAKE) stageprofile-start; \
17372 fi; \
17373 cd $(HOST_SUBDIR)/intl && \
17374 $(MAKE) $(EXTRA_HOST_FLAGS) \
17375 $(POSTSTAGE1_FLAGS_TO_PASS) \
17376 clean
17377 @endif intl-bootstrap
17380 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17381 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17382 maybe-all-stagefeedback-intl:
17383 maybe-clean-stagefeedback-intl:
17384 @if intl-bootstrap
17385 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17386 all-stagefeedback: all-stagefeedback-intl
17387 TARGET-stagefeedback-intl = $(TARGET-intl)
17388 all-stagefeedback-intl: configure-stagefeedback-intl
17389 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17390 @r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17393 $(HOST_EXPORTS) \
17394 $(POSTSTAGE1_HOST_EXPORTS) \
17395 cd $(HOST_SUBDIR)/intl && \
17396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17397 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17398 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17399 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17404 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17405 $(TARGET-stagefeedback-intl)
17407 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17408 clean-stagefeedback: clean-stagefeedback-intl
17409 clean-stagefeedback-intl:
17410 @if [ $(current_stage) = stagefeedback ]; then \
17411 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17412 else \
17413 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17414 $(MAKE) stagefeedback-start; \
17415 fi; \
17416 cd $(HOST_SUBDIR)/intl && \
17417 $(MAKE) $(EXTRA_HOST_FLAGS) \
17418 $(POSTSTAGE1_FLAGS_TO_PASS) \
17419 clean
17420 @endif intl-bootstrap
17426 .PHONY: check-intl maybe-check-intl
17427 maybe-check-intl:
17428 @if intl
17429 maybe-check-intl: check-intl
17431 check-intl:
17432 @: $(MAKE); $(unstage)
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 $(HOST_EXPORTS) \
17436 (cd $(HOST_SUBDIR)/intl && \
17437 $(MAKE) $(FLAGS_TO_PASS) check)
17439 @endif intl
17441 .PHONY: install-intl maybe-install-intl
17442 maybe-install-intl:
17443 @if intl
17444 maybe-install-intl: install-intl
17446 install-intl: installdirs
17447 @: $(MAKE); $(unstage)
17448 @r=`${PWD_COMMAND}`; export r; \
17449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17450 $(HOST_EXPORTS) \
17451 (cd $(HOST_SUBDIR)/intl && \
17452 $(MAKE) $(FLAGS_TO_PASS) install)
17454 @endif intl
17456 .PHONY: install-strip-intl maybe-install-strip-intl
17457 maybe-install-strip-intl:
17458 @if intl
17459 maybe-install-strip-intl: install-strip-intl
17461 install-strip-intl: installdirs
17462 @: $(MAKE); $(unstage)
17463 @r=`${PWD_COMMAND}`; export r; \
17464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17465 $(HOST_EXPORTS) \
17466 (cd $(HOST_SUBDIR)/intl && \
17467 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17469 @endif intl
17471 # Other targets (info, dvi, pdf, etc.)
17473 .PHONY: maybe-info-intl info-intl
17474 maybe-info-intl:
17475 @if intl
17476 maybe-info-intl: info-intl
17478 info-intl: \
17479 configure-intl
17480 @[ -f ./intl/Makefile ] || exit 0; \
17481 r=`${PWD_COMMAND}`; export r; \
17482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17483 $(HOST_EXPORTS) \
17484 for flag in $(EXTRA_HOST_FLAGS) ; do \
17485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17486 done; \
17487 echo "Doing info in intl" ; \
17488 (cd $(HOST_SUBDIR)/intl && \
17489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17491 "RANLIB=$${RANLIB}" \
17492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17493 info) \
17494 || exit 1
17496 @endif intl
17498 .PHONY: maybe-dvi-intl dvi-intl
17499 maybe-dvi-intl:
17500 @if intl
17501 maybe-dvi-intl: dvi-intl
17503 dvi-intl: \
17504 configure-intl
17505 @[ -f ./intl/Makefile ] || exit 0; \
17506 r=`${PWD_COMMAND}`; export r; \
17507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17508 $(HOST_EXPORTS) \
17509 for flag in $(EXTRA_HOST_FLAGS) ; do \
17510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17511 done; \
17512 echo "Doing dvi in intl" ; \
17513 (cd $(HOST_SUBDIR)/intl && \
17514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17516 "RANLIB=$${RANLIB}" \
17517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17518 dvi) \
17519 || exit 1
17521 @endif intl
17523 .PHONY: maybe-pdf-intl pdf-intl
17524 maybe-pdf-intl:
17525 @if intl
17526 maybe-pdf-intl: pdf-intl
17528 pdf-intl: \
17529 configure-intl
17530 @[ -f ./intl/Makefile ] || exit 0; \
17531 r=`${PWD_COMMAND}`; export r; \
17532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17533 $(HOST_EXPORTS) \
17534 for flag in $(EXTRA_HOST_FLAGS) ; do \
17535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17536 done; \
17537 echo "Doing pdf in intl" ; \
17538 (cd $(HOST_SUBDIR)/intl && \
17539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17541 "RANLIB=$${RANLIB}" \
17542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17543 pdf) \
17544 || exit 1
17546 @endif intl
17548 .PHONY: maybe-html-intl html-intl
17549 maybe-html-intl:
17550 @if intl
17551 maybe-html-intl: html-intl
17553 html-intl: \
17554 configure-intl
17555 @[ -f ./intl/Makefile ] || exit 0; \
17556 r=`${PWD_COMMAND}`; export r; \
17557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17558 $(HOST_EXPORTS) \
17559 for flag in $(EXTRA_HOST_FLAGS) ; do \
17560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17561 done; \
17562 echo "Doing html in intl" ; \
17563 (cd $(HOST_SUBDIR)/intl && \
17564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17566 "RANLIB=$${RANLIB}" \
17567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17568 html) \
17569 || exit 1
17571 @endif intl
17573 .PHONY: maybe-TAGS-intl TAGS-intl
17574 maybe-TAGS-intl:
17575 @if intl
17576 maybe-TAGS-intl: TAGS-intl
17578 TAGS-intl: \
17579 configure-intl
17580 @[ -f ./intl/Makefile ] || exit 0; \
17581 r=`${PWD_COMMAND}`; export r; \
17582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17583 $(HOST_EXPORTS) \
17584 for flag in $(EXTRA_HOST_FLAGS) ; do \
17585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17586 done; \
17587 echo "Doing TAGS in intl" ; \
17588 (cd $(HOST_SUBDIR)/intl && \
17589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17591 "RANLIB=$${RANLIB}" \
17592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17593 TAGS) \
17594 || exit 1
17596 @endif intl
17598 .PHONY: maybe-install-info-intl install-info-intl
17599 maybe-install-info-intl:
17600 @if intl
17601 maybe-install-info-intl: install-info-intl
17603 install-info-intl: \
17604 configure-intl \
17605 info-intl
17606 @[ -f ./intl/Makefile ] || exit 0; \
17607 r=`${PWD_COMMAND}`; export r; \
17608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17609 $(HOST_EXPORTS) \
17610 for flag in $(EXTRA_HOST_FLAGS) ; do \
17611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17612 done; \
17613 echo "Doing install-info in intl" ; \
17614 (cd $(HOST_SUBDIR)/intl && \
17615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17617 "RANLIB=$${RANLIB}" \
17618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17619 install-info) \
17620 || exit 1
17622 @endif intl
17624 .PHONY: maybe-install-pdf-intl install-pdf-intl
17625 maybe-install-pdf-intl:
17626 @if intl
17627 maybe-install-pdf-intl: install-pdf-intl
17629 install-pdf-intl: \
17630 configure-intl \
17631 pdf-intl
17632 @[ -f ./intl/Makefile ] || exit 0; \
17633 r=`${PWD_COMMAND}`; export r; \
17634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17635 $(HOST_EXPORTS) \
17636 for flag in $(EXTRA_HOST_FLAGS) ; do \
17637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17638 done; \
17639 echo "Doing install-pdf in intl" ; \
17640 (cd $(HOST_SUBDIR)/intl && \
17641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17643 "RANLIB=$${RANLIB}" \
17644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17645 install-pdf) \
17646 || exit 1
17648 @endif intl
17650 .PHONY: maybe-install-html-intl install-html-intl
17651 maybe-install-html-intl:
17652 @if intl
17653 maybe-install-html-intl: install-html-intl
17655 install-html-intl: \
17656 configure-intl \
17657 html-intl
17658 @[ -f ./intl/Makefile ] || exit 0; \
17659 r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 for flag in $(EXTRA_HOST_FLAGS) ; do \
17663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17664 done; \
17665 echo "Doing install-html in intl" ; \
17666 (cd $(HOST_SUBDIR)/intl && \
17667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17669 "RANLIB=$${RANLIB}" \
17670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17671 install-html) \
17672 || exit 1
17674 @endif intl
17676 .PHONY: maybe-installcheck-intl installcheck-intl
17677 maybe-installcheck-intl:
17678 @if intl
17679 maybe-installcheck-intl: installcheck-intl
17681 installcheck-intl: \
17682 configure-intl
17683 @[ -f ./intl/Makefile ] || exit 0; \
17684 r=`${PWD_COMMAND}`; export r; \
17685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17686 $(HOST_EXPORTS) \
17687 for flag in $(EXTRA_HOST_FLAGS) ; do \
17688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17689 done; \
17690 echo "Doing installcheck in intl" ; \
17691 (cd $(HOST_SUBDIR)/intl && \
17692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17694 "RANLIB=$${RANLIB}" \
17695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17696 installcheck) \
17697 || exit 1
17699 @endif intl
17701 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17702 maybe-mostlyclean-intl:
17703 @if intl
17704 maybe-mostlyclean-intl: mostlyclean-intl
17706 mostlyclean-intl:
17707 @[ -f ./intl/Makefile ] || exit 0; \
17708 r=`${PWD_COMMAND}`; export r; \
17709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17710 $(HOST_EXPORTS) \
17711 for flag in $(EXTRA_HOST_FLAGS) ; do \
17712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17713 done; \
17714 echo "Doing mostlyclean in intl" ; \
17715 (cd $(HOST_SUBDIR)/intl && \
17716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17718 "RANLIB=$${RANLIB}" \
17719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17720 mostlyclean) \
17721 || exit 1
17723 @endif intl
17725 .PHONY: maybe-clean-intl clean-intl
17726 maybe-clean-intl:
17727 @if intl
17728 maybe-clean-intl: clean-intl
17730 clean-intl:
17731 @[ -f ./intl/Makefile ] || exit 0; \
17732 r=`${PWD_COMMAND}`; export r; \
17733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17734 $(HOST_EXPORTS) \
17735 for flag in $(EXTRA_HOST_FLAGS) ; do \
17736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17737 done; \
17738 echo "Doing clean in intl" ; \
17739 (cd $(HOST_SUBDIR)/intl && \
17740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17742 "RANLIB=$${RANLIB}" \
17743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17744 clean) \
17745 || exit 1
17747 @endif intl
17749 .PHONY: maybe-distclean-intl distclean-intl
17750 maybe-distclean-intl:
17751 @if intl
17752 maybe-distclean-intl: distclean-intl
17754 distclean-intl:
17755 @[ -f ./intl/Makefile ] || exit 0; \
17756 r=`${PWD_COMMAND}`; export r; \
17757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17758 $(HOST_EXPORTS) \
17759 for flag in $(EXTRA_HOST_FLAGS) ; do \
17760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17761 done; \
17762 echo "Doing distclean in intl" ; \
17763 (cd $(HOST_SUBDIR)/intl && \
17764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17766 "RANLIB=$${RANLIB}" \
17767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17768 distclean) \
17769 || exit 1
17771 @endif intl
17773 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17774 maybe-maintainer-clean-intl:
17775 @if intl
17776 maybe-maintainer-clean-intl: maintainer-clean-intl
17778 maintainer-clean-intl:
17779 @[ -f ./intl/Makefile ] || exit 0; \
17780 r=`${PWD_COMMAND}`; export r; \
17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17782 $(HOST_EXPORTS) \
17783 for flag in $(EXTRA_HOST_FLAGS) ; do \
17784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17785 done; \
17786 echo "Doing maintainer-clean in intl" ; \
17787 (cd $(HOST_SUBDIR)/intl && \
17788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17790 "RANLIB=$${RANLIB}" \
17791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17792 maintainer-clean) \
17793 || exit 1
17795 @endif intl
17799 .PHONY: configure-tcl maybe-configure-tcl
17800 maybe-configure-tcl:
17801 @if gcc-bootstrap
17802 configure-tcl: stage_current
17803 @endif gcc-bootstrap
17804 @if tcl
17805 maybe-configure-tcl: configure-tcl
17806 configure-tcl:
17807 @: $(MAKE); $(unstage)
17808 @r=`${PWD_COMMAND}`; export r; \
17809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17810 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17812 $(HOST_EXPORTS) \
17813 echo Configuring in $(HOST_SUBDIR)/tcl; \
17814 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17815 case $(srcdir) in \
17816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17817 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17819 esac; \
17820 srcdiroption="--srcdir=$${topdir}/tcl"; \
17821 libsrcdir="$$s/tcl"; \
17822 $(SHELL) $${libsrcdir}/configure \
17823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17824 --target=${target_alias} $${srcdiroption} \
17825 || exit 1
17826 @endif tcl
17832 .PHONY: all-tcl maybe-all-tcl
17833 maybe-all-tcl:
17834 @if gcc-bootstrap
17835 all-tcl: stage_current
17836 @endif gcc-bootstrap
17837 @if tcl
17838 TARGET-tcl=all
17839 maybe-all-tcl: all-tcl
17840 all-tcl: configure-tcl
17841 @: $(MAKE); $(unstage)
17842 @r=`${PWD_COMMAND}`; export r; \
17843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17844 $(HOST_EXPORTS) \
17845 (cd $(HOST_SUBDIR)/tcl && \
17846 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17847 $(TARGET-tcl))
17848 @endif tcl
17853 .PHONY: check-tcl maybe-check-tcl
17854 maybe-check-tcl:
17855 @if tcl
17856 maybe-check-tcl: check-tcl
17858 check-tcl:
17859 @: $(MAKE); $(unstage)
17860 @r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17862 $(HOST_EXPORTS) \
17863 (cd $(HOST_SUBDIR)/tcl && \
17864 $(MAKE) $(FLAGS_TO_PASS) check)
17866 @endif tcl
17868 .PHONY: install-tcl maybe-install-tcl
17869 maybe-install-tcl:
17870 @if tcl
17871 maybe-install-tcl: install-tcl
17873 install-tcl: installdirs
17874 @: $(MAKE); $(unstage)
17875 @r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877 $(HOST_EXPORTS) \
17878 (cd $(HOST_SUBDIR)/tcl && \
17879 $(MAKE) $(FLAGS_TO_PASS) install)
17881 @endif tcl
17883 .PHONY: install-strip-tcl maybe-install-strip-tcl
17884 maybe-install-strip-tcl:
17885 @if tcl
17886 maybe-install-strip-tcl: install-strip-tcl
17888 install-strip-tcl: installdirs
17889 @: $(MAKE); $(unstage)
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(HOST_EXPORTS) \
17893 (cd $(HOST_SUBDIR)/tcl && \
17894 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17896 @endif tcl
17898 # Other targets (info, dvi, pdf, etc.)
17900 .PHONY: maybe-info-tcl info-tcl
17901 maybe-info-tcl:
17902 @if tcl
17903 maybe-info-tcl: info-tcl
17905 info-tcl: \
17906 configure-tcl
17907 @: $(MAKE); $(unstage)
17908 @[ -f ./tcl/Makefile ] || exit 0; \
17909 r=`${PWD_COMMAND}`; export r; \
17910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17911 $(HOST_EXPORTS) \
17912 for flag in $(EXTRA_HOST_FLAGS) ; do \
17913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17914 done; \
17915 echo "Doing info in tcl" ; \
17916 (cd $(HOST_SUBDIR)/tcl && \
17917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17919 "RANLIB=$${RANLIB}" \
17920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17921 info) \
17922 || exit 1
17924 @endif tcl
17926 .PHONY: maybe-dvi-tcl dvi-tcl
17927 maybe-dvi-tcl:
17928 @if tcl
17929 maybe-dvi-tcl: dvi-tcl
17931 dvi-tcl: \
17932 configure-tcl
17933 @: $(MAKE); $(unstage)
17934 @[ -f ./tcl/Makefile ] || exit 0; \
17935 r=`${PWD_COMMAND}`; export r; \
17936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17937 $(HOST_EXPORTS) \
17938 for flag in $(EXTRA_HOST_FLAGS) ; do \
17939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17940 done; \
17941 echo "Doing dvi in tcl" ; \
17942 (cd $(HOST_SUBDIR)/tcl && \
17943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17945 "RANLIB=$${RANLIB}" \
17946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17947 dvi) \
17948 || exit 1
17950 @endif tcl
17952 .PHONY: maybe-pdf-tcl pdf-tcl
17953 maybe-pdf-tcl:
17954 @if tcl
17955 maybe-pdf-tcl: pdf-tcl
17957 pdf-tcl: \
17958 configure-tcl
17959 @: $(MAKE); $(unstage)
17960 @[ -f ./tcl/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 $(HOST_EXPORTS) \
17964 for flag in $(EXTRA_HOST_FLAGS) ; do \
17965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17966 done; \
17967 echo "Doing pdf in tcl" ; \
17968 (cd $(HOST_SUBDIR)/tcl && \
17969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17971 "RANLIB=$${RANLIB}" \
17972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17973 pdf) \
17974 || exit 1
17976 @endif tcl
17978 .PHONY: maybe-html-tcl html-tcl
17979 maybe-html-tcl:
17980 @if tcl
17981 maybe-html-tcl: html-tcl
17983 html-tcl: \
17984 configure-tcl
17985 @: $(MAKE); $(unstage)
17986 @[ -f ./tcl/Makefile ] || exit 0; \
17987 r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 $(HOST_EXPORTS) \
17990 for flag in $(EXTRA_HOST_FLAGS) ; do \
17991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17992 done; \
17993 echo "Doing html in tcl" ; \
17994 (cd $(HOST_SUBDIR)/tcl && \
17995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17997 "RANLIB=$${RANLIB}" \
17998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17999 html) \
18000 || exit 1
18002 @endif tcl
18004 .PHONY: maybe-TAGS-tcl TAGS-tcl
18005 maybe-TAGS-tcl:
18006 @if tcl
18007 maybe-TAGS-tcl: TAGS-tcl
18009 TAGS-tcl: \
18010 configure-tcl
18011 @: $(MAKE); $(unstage)
18012 @[ -f ./tcl/Makefile ] || exit 0; \
18013 r=`${PWD_COMMAND}`; export r; \
18014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18015 $(HOST_EXPORTS) \
18016 for flag in $(EXTRA_HOST_FLAGS) ; do \
18017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18018 done; \
18019 echo "Doing TAGS in tcl" ; \
18020 (cd $(HOST_SUBDIR)/tcl && \
18021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18023 "RANLIB=$${RANLIB}" \
18024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18025 TAGS) \
18026 || exit 1
18028 @endif tcl
18030 .PHONY: maybe-install-info-tcl install-info-tcl
18031 maybe-install-info-tcl:
18032 @if tcl
18033 maybe-install-info-tcl: install-info-tcl
18035 install-info-tcl: \
18036 configure-tcl \
18037 info-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 install-info 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 install-info) \
18053 || exit 1
18055 @endif tcl
18057 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18058 maybe-install-pdf-tcl:
18059 @if tcl
18060 maybe-install-pdf-tcl: install-pdf-tcl
18062 install-pdf-tcl: \
18063 configure-tcl \
18064 pdf-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-pdf 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-pdf) \
18080 || exit 1
18082 @endif tcl
18084 .PHONY: maybe-install-html-tcl install-html-tcl
18085 maybe-install-html-tcl:
18086 @if tcl
18087 maybe-install-html-tcl: install-html-tcl
18089 install-html-tcl: \
18090 configure-tcl \
18091 html-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-html 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-html) \
18107 || exit 1
18109 @endif tcl
18111 .PHONY: maybe-installcheck-tcl installcheck-tcl
18112 maybe-installcheck-tcl:
18113 @if tcl
18114 maybe-installcheck-tcl: installcheck-tcl
18116 installcheck-tcl: \
18117 configure-tcl
18118 @: $(MAKE); $(unstage)
18119 @[ -f ./tcl/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122 $(HOST_EXPORTS) \
18123 for flag in $(EXTRA_HOST_FLAGS) ; do \
18124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18125 done; \
18126 echo "Doing installcheck in tcl" ; \
18127 (cd $(HOST_SUBDIR)/tcl && \
18128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130 "RANLIB=$${RANLIB}" \
18131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18132 installcheck) \
18133 || exit 1
18135 @endif tcl
18137 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18138 maybe-mostlyclean-tcl:
18139 @if tcl
18140 maybe-mostlyclean-tcl: mostlyclean-tcl
18142 # tcl doesn't support mostlyclean.
18143 mostlyclean-tcl:
18145 @endif tcl
18147 .PHONY: maybe-clean-tcl clean-tcl
18148 maybe-clean-tcl:
18149 @if tcl
18150 maybe-clean-tcl: clean-tcl
18152 clean-tcl:
18153 @: $(MAKE); $(unstage)
18154 @[ -f ./tcl/Makefile ] || exit 0; \
18155 r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 $(HOST_EXPORTS) \
18158 for flag in $(EXTRA_HOST_FLAGS) ; do \
18159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18160 done; \
18161 echo "Doing clean in tcl" ; \
18162 (cd $(HOST_SUBDIR)/tcl && \
18163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18165 "RANLIB=$${RANLIB}" \
18166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18167 clean) \
18168 || exit 1
18170 @endif tcl
18172 .PHONY: maybe-distclean-tcl distclean-tcl
18173 maybe-distclean-tcl:
18174 @if tcl
18175 maybe-distclean-tcl: distclean-tcl
18177 distclean-tcl:
18178 @: $(MAKE); $(unstage)
18179 @[ -f ./tcl/Makefile ] || exit 0; \
18180 r=`${PWD_COMMAND}`; export r; \
18181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18182 $(HOST_EXPORTS) \
18183 for flag in $(EXTRA_HOST_FLAGS) ; do \
18184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18185 done; \
18186 echo "Doing distclean in tcl" ; \
18187 (cd $(HOST_SUBDIR)/tcl && \
18188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18190 "RANLIB=$${RANLIB}" \
18191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18192 distclean) \
18193 || exit 1
18195 @endif tcl
18197 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18198 maybe-maintainer-clean-tcl:
18199 @if tcl
18200 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18202 maintainer-clean-tcl:
18203 @: $(MAKE); $(unstage)
18204 @[ -f ./tcl/Makefile ] || exit 0; \
18205 r=`${PWD_COMMAND}`; export r; \
18206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18207 $(HOST_EXPORTS) \
18208 for flag in $(EXTRA_HOST_FLAGS) ; do \
18209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18210 done; \
18211 echo "Doing maintainer-clean in tcl" ; \
18212 (cd $(HOST_SUBDIR)/tcl && \
18213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18215 "RANLIB=$${RANLIB}" \
18216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18217 maintainer-clean) \
18218 || exit 1
18220 @endif tcl
18224 .PHONY: configure-itcl maybe-configure-itcl
18225 maybe-configure-itcl:
18226 @if gcc-bootstrap
18227 configure-itcl: stage_current
18228 @endif gcc-bootstrap
18229 @if itcl
18230 maybe-configure-itcl: configure-itcl
18231 configure-itcl:
18232 @: $(MAKE); $(unstage)
18233 @r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18237 $(HOST_EXPORTS) \
18238 echo Configuring in $(HOST_SUBDIR)/itcl; \
18239 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18240 case $(srcdir) in \
18241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18242 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18244 esac; \
18245 srcdiroption="--srcdir=$${topdir}/itcl"; \
18246 libsrcdir="$$s/itcl"; \
18247 $(SHELL) $${libsrcdir}/configure \
18248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18249 --target=${target_alias} $${srcdiroption} \
18250 || exit 1
18251 @endif itcl
18257 .PHONY: all-itcl maybe-all-itcl
18258 maybe-all-itcl:
18259 @if gcc-bootstrap
18260 all-itcl: stage_current
18261 @endif gcc-bootstrap
18262 @if itcl
18263 TARGET-itcl=all
18264 maybe-all-itcl: all-itcl
18265 all-itcl: configure-itcl
18266 @: $(MAKE); $(unstage)
18267 @r=`${PWD_COMMAND}`; export r; \
18268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18269 $(HOST_EXPORTS) \
18270 (cd $(HOST_SUBDIR)/itcl && \
18271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18272 $(TARGET-itcl))
18273 @endif itcl
18278 .PHONY: check-itcl maybe-check-itcl
18279 maybe-check-itcl:
18280 @if itcl
18281 maybe-check-itcl: check-itcl
18283 check-itcl:
18284 @: $(MAKE); $(unstage)
18285 @r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 $(HOST_EXPORTS) \
18288 (cd $(HOST_SUBDIR)/itcl && \
18289 $(MAKE) $(FLAGS_TO_PASS) check)
18291 @endif itcl
18293 .PHONY: install-itcl maybe-install-itcl
18294 maybe-install-itcl:
18295 @if itcl
18296 maybe-install-itcl: install-itcl
18298 install-itcl: installdirs
18299 @: $(MAKE); $(unstage)
18300 @r=`${PWD_COMMAND}`; export r; \
18301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18302 $(HOST_EXPORTS) \
18303 (cd $(HOST_SUBDIR)/itcl && \
18304 $(MAKE) $(FLAGS_TO_PASS) install)
18306 @endif itcl
18308 .PHONY: install-strip-itcl maybe-install-strip-itcl
18309 maybe-install-strip-itcl:
18310 @if itcl
18311 maybe-install-strip-itcl: install-strip-itcl
18313 install-strip-itcl: installdirs
18314 @: $(MAKE); $(unstage)
18315 @r=`${PWD_COMMAND}`; export r; \
18316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18317 $(HOST_EXPORTS) \
18318 (cd $(HOST_SUBDIR)/itcl && \
18319 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18321 @endif itcl
18323 # Other targets (info, dvi, pdf, etc.)
18325 .PHONY: maybe-info-itcl info-itcl
18326 maybe-info-itcl:
18327 @if itcl
18328 maybe-info-itcl: info-itcl
18330 info-itcl: \
18331 configure-itcl
18332 @: $(MAKE); $(unstage)
18333 @[ -f ./itcl/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing info in itcl" ; \
18341 (cd $(HOST_SUBDIR)/itcl && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18346 info) \
18347 || exit 1
18349 @endif itcl
18351 .PHONY: maybe-dvi-itcl dvi-itcl
18352 maybe-dvi-itcl:
18353 @if itcl
18354 maybe-dvi-itcl: dvi-itcl
18356 dvi-itcl: \
18357 configure-itcl
18358 @: $(MAKE); $(unstage)
18359 @[ -f ./itcl/Makefile ] || exit 0; \
18360 r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18362 $(HOST_EXPORTS) \
18363 for flag in $(EXTRA_HOST_FLAGS) ; do \
18364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18365 done; \
18366 echo "Doing dvi in itcl" ; \
18367 (cd $(HOST_SUBDIR)/itcl && \
18368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18370 "RANLIB=$${RANLIB}" \
18371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18372 dvi) \
18373 || exit 1
18375 @endif itcl
18377 .PHONY: maybe-pdf-itcl pdf-itcl
18378 maybe-pdf-itcl:
18379 @if itcl
18380 maybe-pdf-itcl: pdf-itcl
18382 pdf-itcl: \
18383 configure-itcl
18384 @: $(MAKE); $(unstage)
18385 @[ -f ./itcl/Makefile ] || exit 0; \
18386 r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388 $(HOST_EXPORTS) \
18389 for flag in $(EXTRA_HOST_FLAGS) ; do \
18390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18391 done; \
18392 echo "Doing pdf in itcl" ; \
18393 (cd $(HOST_SUBDIR)/itcl && \
18394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18396 "RANLIB=$${RANLIB}" \
18397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18398 pdf) \
18399 || exit 1
18401 @endif itcl
18403 .PHONY: maybe-html-itcl html-itcl
18404 maybe-html-itcl:
18405 @if itcl
18406 maybe-html-itcl: html-itcl
18408 html-itcl: \
18409 configure-itcl
18410 @: $(MAKE); $(unstage)
18411 @[ -f ./itcl/Makefile ] || exit 0; \
18412 r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18414 $(HOST_EXPORTS) \
18415 for flag in $(EXTRA_HOST_FLAGS) ; do \
18416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18417 done; \
18418 echo "Doing html in itcl" ; \
18419 (cd $(HOST_SUBDIR)/itcl && \
18420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18422 "RANLIB=$${RANLIB}" \
18423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18424 html) \
18425 || exit 1
18427 @endif itcl
18429 .PHONY: maybe-TAGS-itcl TAGS-itcl
18430 maybe-TAGS-itcl:
18431 @if itcl
18432 maybe-TAGS-itcl: TAGS-itcl
18434 TAGS-itcl: \
18435 configure-itcl
18436 @: $(MAKE); $(unstage)
18437 @[ -f ./itcl/Makefile ] || exit 0; \
18438 r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 $(HOST_EXPORTS) \
18441 for flag in $(EXTRA_HOST_FLAGS) ; do \
18442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18443 done; \
18444 echo "Doing TAGS in itcl" ; \
18445 (cd $(HOST_SUBDIR)/itcl && \
18446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18448 "RANLIB=$${RANLIB}" \
18449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18450 TAGS) \
18451 || exit 1
18453 @endif itcl
18455 .PHONY: maybe-install-info-itcl install-info-itcl
18456 maybe-install-info-itcl:
18457 @if itcl
18458 maybe-install-info-itcl: install-info-itcl
18460 install-info-itcl: \
18461 configure-itcl \
18462 info-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 install-info 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 install-info) \
18478 || exit 1
18480 @endif itcl
18482 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18483 maybe-install-pdf-itcl:
18484 @if itcl
18485 maybe-install-pdf-itcl: install-pdf-itcl
18487 install-pdf-itcl: \
18488 configure-itcl \
18489 pdf-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-pdf 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-pdf) \
18505 || exit 1
18507 @endif itcl
18509 .PHONY: maybe-install-html-itcl install-html-itcl
18510 maybe-install-html-itcl:
18511 @if itcl
18512 maybe-install-html-itcl: install-html-itcl
18514 install-html-itcl: \
18515 configure-itcl \
18516 html-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-html 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-html) \
18532 || exit 1
18534 @endif itcl
18536 .PHONY: maybe-installcheck-itcl installcheck-itcl
18537 maybe-installcheck-itcl:
18538 @if itcl
18539 maybe-installcheck-itcl: installcheck-itcl
18541 installcheck-itcl: \
18542 configure-itcl
18543 @: $(MAKE); $(unstage)
18544 @[ -f ./itcl/Makefile ] || exit 0; \
18545 r=`${PWD_COMMAND}`; export r; \
18546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18547 $(HOST_EXPORTS) \
18548 for flag in $(EXTRA_HOST_FLAGS) ; do \
18549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18550 done; \
18551 echo "Doing installcheck in itcl" ; \
18552 (cd $(HOST_SUBDIR)/itcl && \
18553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18555 "RANLIB=$${RANLIB}" \
18556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18557 installcheck) \
18558 || exit 1
18560 @endif itcl
18562 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18563 maybe-mostlyclean-itcl:
18564 @if itcl
18565 maybe-mostlyclean-itcl: mostlyclean-itcl
18567 mostlyclean-itcl:
18568 @: $(MAKE); $(unstage)
18569 @[ -f ./itcl/Makefile ] || exit 0; \
18570 r=`${PWD_COMMAND}`; export r; \
18571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18572 $(HOST_EXPORTS) \
18573 for flag in $(EXTRA_HOST_FLAGS) ; do \
18574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18575 done; \
18576 echo "Doing mostlyclean in itcl" ; \
18577 (cd $(HOST_SUBDIR)/itcl && \
18578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18580 "RANLIB=$${RANLIB}" \
18581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18582 mostlyclean) \
18583 || exit 1
18585 @endif itcl
18587 .PHONY: maybe-clean-itcl clean-itcl
18588 maybe-clean-itcl:
18589 @if itcl
18590 maybe-clean-itcl: clean-itcl
18592 clean-itcl:
18593 @: $(MAKE); $(unstage)
18594 @[ -f ./itcl/Makefile ] || exit 0; \
18595 r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(HOST_EXPORTS) \
18598 for flag in $(EXTRA_HOST_FLAGS) ; do \
18599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18600 done; \
18601 echo "Doing clean in itcl" ; \
18602 (cd $(HOST_SUBDIR)/itcl && \
18603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18605 "RANLIB=$${RANLIB}" \
18606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18607 clean) \
18608 || exit 1
18610 @endif itcl
18612 .PHONY: maybe-distclean-itcl distclean-itcl
18613 maybe-distclean-itcl:
18614 @if itcl
18615 maybe-distclean-itcl: distclean-itcl
18617 distclean-itcl:
18618 @: $(MAKE); $(unstage)
18619 @[ -f ./itcl/Makefile ] || exit 0; \
18620 r=`${PWD_COMMAND}`; export r; \
18621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18622 $(HOST_EXPORTS) \
18623 for flag in $(EXTRA_HOST_FLAGS) ; do \
18624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18625 done; \
18626 echo "Doing distclean in itcl" ; \
18627 (cd $(HOST_SUBDIR)/itcl && \
18628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18630 "RANLIB=$${RANLIB}" \
18631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18632 distclean) \
18633 || exit 1
18635 @endif itcl
18637 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18638 maybe-maintainer-clean-itcl:
18639 @if itcl
18640 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18642 maintainer-clean-itcl:
18643 @: $(MAKE); $(unstage)
18644 @[ -f ./itcl/Makefile ] || exit 0; \
18645 r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18647 $(HOST_EXPORTS) \
18648 for flag in $(EXTRA_HOST_FLAGS) ; do \
18649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18650 done; \
18651 echo "Doing maintainer-clean in itcl" ; \
18652 (cd $(HOST_SUBDIR)/itcl && \
18653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18655 "RANLIB=$${RANLIB}" \
18656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18657 maintainer-clean) \
18658 || exit 1
18660 @endif itcl
18664 .PHONY: configure-ld maybe-configure-ld
18665 maybe-configure-ld:
18666 @if gcc-bootstrap
18667 configure-ld: stage_current
18668 @endif gcc-bootstrap
18669 @if ld
18670 maybe-configure-ld: configure-ld
18671 configure-ld:
18672 @r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18674 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18676 $(HOST_EXPORTS) \
18677 echo Configuring in $(HOST_SUBDIR)/ld; \
18678 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18679 case $(srcdir) in \
18680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18681 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18683 esac; \
18684 srcdiroption="--srcdir=$${topdir}/ld"; \
18685 libsrcdir="$$s/ld"; \
18686 $(SHELL) $${libsrcdir}/configure \
18687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18688 --target=${target_alias} $${srcdiroption} \
18689 || exit 1
18690 @endif ld
18694 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18695 maybe-configure-stage1-ld:
18696 @if ld-bootstrap
18697 maybe-configure-stage1-ld: configure-stage1-ld
18698 configure-stage1-ld:
18699 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18701 @r=`${PWD_COMMAND}`; export r; \
18702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18703 TFLAGS="$(STAGE1_TFLAGS)"; \
18704 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18705 $(HOST_EXPORTS) \
18706 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18707 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18708 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18709 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18711 cd $(HOST_SUBDIR)/ld || exit 1; \
18712 case $(srcdir) in \
18713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18714 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18716 esac; \
18717 srcdiroption="--srcdir=$${topdir}/ld"; \
18718 libsrcdir="$$s/ld"; \
18719 $(SHELL) $${libsrcdir}/configure \
18720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18721 --target=${target_alias} $${srcdiroption} \
18722 $(STAGE1_CONFIGURE_FLAGS)
18723 @endif ld-bootstrap
18725 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18726 maybe-configure-stage2-ld:
18727 @if ld-bootstrap
18728 maybe-configure-stage2-ld: configure-stage2-ld
18729 configure-stage2-ld:
18730 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18732 @r=`${PWD_COMMAND}`; export r; \
18733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18734 TFLAGS="$(STAGE2_TFLAGS)"; \
18735 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18736 $(HOST_EXPORTS) \
18737 $(POSTSTAGE1_HOST_EXPORTS) \
18738 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18739 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18740 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18741 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18743 cd $(HOST_SUBDIR)/ld || exit 1; \
18744 case $(srcdir) in \
18745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18746 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18748 esac; \
18749 srcdiroption="--srcdir=$${topdir}/ld"; \
18750 libsrcdir="$$s/ld"; \
18751 $(SHELL) $${libsrcdir}/configure \
18752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18753 --target=${target_alias} $${srcdiroption} \
18754 --with-build-libsubdir=$(HOST_SUBDIR) \
18755 $(STAGE2_CONFIGURE_FLAGS)
18756 @endif ld-bootstrap
18758 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18759 maybe-configure-stage3-ld:
18760 @if ld-bootstrap
18761 maybe-configure-stage3-ld: configure-stage3-ld
18762 configure-stage3-ld:
18763 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18765 @r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 TFLAGS="$(STAGE3_TFLAGS)"; \
18768 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18769 $(HOST_EXPORTS) \
18770 $(POSTSTAGE1_HOST_EXPORTS) \
18771 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18772 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18773 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18774 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18776 cd $(HOST_SUBDIR)/ld || exit 1; \
18777 case $(srcdir) in \
18778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18779 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18781 esac; \
18782 srcdiroption="--srcdir=$${topdir}/ld"; \
18783 libsrcdir="$$s/ld"; \
18784 $(SHELL) $${libsrcdir}/configure \
18785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18786 --target=${target_alias} $${srcdiroption} \
18787 --with-build-libsubdir=$(HOST_SUBDIR) \
18788 $(STAGE3_CONFIGURE_FLAGS)
18789 @endif ld-bootstrap
18791 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18792 maybe-configure-stage4-ld:
18793 @if ld-bootstrap
18794 maybe-configure-stage4-ld: configure-stage4-ld
18795 configure-stage4-ld:
18796 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18798 @r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 TFLAGS="$(STAGE4_TFLAGS)"; \
18801 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18802 $(HOST_EXPORTS) \
18803 $(POSTSTAGE1_HOST_EXPORTS) \
18804 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18805 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18806 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18807 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18809 cd $(HOST_SUBDIR)/ld || exit 1; \
18810 case $(srcdir) in \
18811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18812 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18814 esac; \
18815 srcdiroption="--srcdir=$${topdir}/ld"; \
18816 libsrcdir="$$s/ld"; \
18817 $(SHELL) $${libsrcdir}/configure \
18818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18819 --target=${target_alias} $${srcdiroption} \
18820 --with-build-libsubdir=$(HOST_SUBDIR) \
18821 $(STAGE4_CONFIGURE_FLAGS)
18822 @endif ld-bootstrap
18824 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18825 maybe-configure-stageprofile-ld:
18826 @if ld-bootstrap
18827 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18828 configure-stageprofile-ld:
18829 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18831 @r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18834 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18835 $(HOST_EXPORTS) \
18836 $(POSTSTAGE1_HOST_EXPORTS) \
18837 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18838 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18839 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18840 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18842 cd $(HOST_SUBDIR)/ld || exit 1; \
18843 case $(srcdir) in \
18844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18845 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18847 esac; \
18848 srcdiroption="--srcdir=$${topdir}/ld"; \
18849 libsrcdir="$$s/ld"; \
18850 $(SHELL) $${libsrcdir}/configure \
18851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18852 --target=${target_alias} $${srcdiroption} \
18853 --with-build-libsubdir=$(HOST_SUBDIR) \
18854 $(STAGEprofile_CONFIGURE_FLAGS)
18855 @endif ld-bootstrap
18857 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18858 maybe-configure-stagefeedback-ld:
18859 @if ld-bootstrap
18860 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18861 configure-stagefeedback-ld:
18862 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18864 @r=`${PWD_COMMAND}`; export r; \
18865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18866 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18867 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18868 $(HOST_EXPORTS) \
18869 $(POSTSTAGE1_HOST_EXPORTS) \
18870 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18871 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18872 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18873 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18875 cd $(HOST_SUBDIR)/ld || exit 1; \
18876 case $(srcdir) in \
18877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18878 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18880 esac; \
18881 srcdiroption="--srcdir=$${topdir}/ld"; \
18882 libsrcdir="$$s/ld"; \
18883 $(SHELL) $${libsrcdir}/configure \
18884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18885 --target=${target_alias} $${srcdiroption} \
18886 --with-build-libsubdir=$(HOST_SUBDIR) \
18887 $(STAGEfeedback_CONFIGURE_FLAGS)
18888 @endif ld-bootstrap
18894 .PHONY: all-ld maybe-all-ld
18895 maybe-all-ld:
18896 @if gcc-bootstrap
18897 all-ld: stage_current
18898 @endif gcc-bootstrap
18899 @if ld
18900 TARGET-ld=all
18901 maybe-all-ld: all-ld
18902 all-ld: configure-ld
18903 @r=`${PWD_COMMAND}`; export r; \
18904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18905 $(HOST_EXPORTS) \
18906 (cd $(HOST_SUBDIR)/ld && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18908 $(TARGET-ld))
18909 @endif ld
18913 .PHONY: all-stage1-ld maybe-all-stage1-ld
18914 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18915 maybe-all-stage1-ld:
18916 maybe-clean-stage1-ld:
18917 @if ld-bootstrap
18918 maybe-all-stage1-ld: all-stage1-ld
18919 all-stage1: all-stage1-ld
18920 TARGET-stage1-ld = $(TARGET-ld)
18921 all-stage1-ld: configure-stage1-ld
18922 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18923 @r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 TFLAGS="$(STAGE1_TFLAGS)"; \
18926 $(HOST_EXPORTS) \
18927 cd $(HOST_SUBDIR)/ld && \
18928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18929 CFLAGS="$(STAGE1_CFLAGS)" \
18930 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18931 LIBCFLAGS="$(LIBCFLAGS)" \
18932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18935 $(EXTRA_HOST_FLAGS) \
18936 TFLAGS="$(STAGE1_TFLAGS)" \
18937 $(TARGET-stage1-ld)
18939 maybe-clean-stage1-ld: clean-stage1-ld
18940 clean-stage1: clean-stage1-ld
18941 clean-stage1-ld:
18942 @if [ $(current_stage) = stage1 ]; then \
18943 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18944 else \
18945 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18946 $(MAKE) stage1-start; \
18947 fi; \
18948 cd $(HOST_SUBDIR)/ld && \
18949 $(MAKE) $(EXTRA_HOST_FLAGS) \
18950 clean
18951 @endif ld-bootstrap
18954 .PHONY: all-stage2-ld maybe-all-stage2-ld
18955 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18956 maybe-all-stage2-ld:
18957 maybe-clean-stage2-ld:
18958 @if ld-bootstrap
18959 maybe-all-stage2-ld: all-stage2-ld
18960 all-stage2: all-stage2-ld
18961 TARGET-stage2-ld = $(TARGET-ld)
18962 all-stage2-ld: configure-stage2-ld
18963 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18964 @r=`${PWD_COMMAND}`; export r; \
18965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18966 TFLAGS="$(STAGE2_TFLAGS)"; \
18967 $(HOST_EXPORTS) \
18968 $(POSTSTAGE1_HOST_EXPORTS) \
18969 cd $(HOST_SUBDIR)/ld && \
18970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18971 CFLAGS="$(STAGE2_CFLAGS)" \
18972 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18973 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18978 TFLAGS="$(STAGE2_TFLAGS)" \
18979 $(TARGET-stage2-ld)
18981 maybe-clean-stage2-ld: clean-stage2-ld
18982 clean-stage2: clean-stage2-ld
18983 clean-stage2-ld:
18984 @if [ $(current_stage) = stage2 ]; then \
18985 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18986 else \
18987 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18988 $(MAKE) stage2-start; \
18989 fi; \
18990 cd $(HOST_SUBDIR)/ld && \
18991 $(MAKE) $(EXTRA_HOST_FLAGS) \
18992 $(POSTSTAGE1_FLAGS_TO_PASS) \
18993 clean
18994 @endif ld-bootstrap
18997 .PHONY: all-stage3-ld maybe-all-stage3-ld
18998 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18999 maybe-all-stage3-ld:
19000 maybe-clean-stage3-ld:
19001 @if ld-bootstrap
19002 maybe-all-stage3-ld: all-stage3-ld
19003 all-stage3: all-stage3-ld
19004 TARGET-stage3-ld = $(TARGET-ld)
19005 all-stage3-ld: configure-stage3-ld
19006 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19007 @r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009 TFLAGS="$(STAGE3_TFLAGS)"; \
19010 $(HOST_EXPORTS) \
19011 $(POSTSTAGE1_HOST_EXPORTS) \
19012 cd $(HOST_SUBDIR)/ld && \
19013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19014 CFLAGS="$(STAGE3_CFLAGS)" \
19015 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19016 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19021 TFLAGS="$(STAGE3_TFLAGS)" \
19022 $(TARGET-stage3-ld)
19024 maybe-clean-stage3-ld: clean-stage3-ld
19025 clean-stage3: clean-stage3-ld
19026 clean-stage3-ld:
19027 @if [ $(current_stage) = stage3 ]; then \
19028 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19029 else \
19030 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19031 $(MAKE) stage3-start; \
19032 fi; \
19033 cd $(HOST_SUBDIR)/ld && \
19034 $(MAKE) $(EXTRA_HOST_FLAGS) \
19035 $(POSTSTAGE1_FLAGS_TO_PASS) \
19036 clean
19037 @endif ld-bootstrap
19040 .PHONY: all-stage4-ld maybe-all-stage4-ld
19041 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19042 maybe-all-stage4-ld:
19043 maybe-clean-stage4-ld:
19044 @if ld-bootstrap
19045 maybe-all-stage4-ld: all-stage4-ld
19046 all-stage4: all-stage4-ld
19047 TARGET-stage4-ld = $(TARGET-ld)
19048 all-stage4-ld: configure-stage4-ld
19049 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19050 @r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 TFLAGS="$(STAGE4_TFLAGS)"; \
19053 $(HOST_EXPORTS) \
19054 $(POSTSTAGE1_HOST_EXPORTS) \
19055 cd $(HOST_SUBDIR)/ld && \
19056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19057 CFLAGS="$(STAGE4_CFLAGS)" \
19058 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19059 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19064 TFLAGS="$(STAGE4_TFLAGS)" \
19065 $(TARGET-stage4-ld)
19067 maybe-clean-stage4-ld: clean-stage4-ld
19068 clean-stage4: clean-stage4-ld
19069 clean-stage4-ld:
19070 @if [ $(current_stage) = stage4 ]; then \
19071 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19072 else \
19073 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19074 $(MAKE) stage4-start; \
19075 fi; \
19076 cd $(HOST_SUBDIR)/ld && \
19077 $(MAKE) $(EXTRA_HOST_FLAGS) \
19078 $(POSTSTAGE1_FLAGS_TO_PASS) \
19079 clean
19080 @endif ld-bootstrap
19083 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19084 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19085 maybe-all-stageprofile-ld:
19086 maybe-clean-stageprofile-ld:
19087 @if ld-bootstrap
19088 maybe-all-stageprofile-ld: all-stageprofile-ld
19089 all-stageprofile: all-stageprofile-ld
19090 TARGET-stageprofile-ld = $(TARGET-ld)
19091 all-stageprofile-ld: configure-stageprofile-ld
19092 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19093 @r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19096 $(HOST_EXPORTS) \
19097 $(POSTSTAGE1_HOST_EXPORTS) \
19098 cd $(HOST_SUBDIR)/ld && \
19099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19100 CFLAGS="$(STAGEprofile_CFLAGS)" \
19101 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19102 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19107 TFLAGS="$(STAGEprofile_TFLAGS)" \
19108 $(TARGET-stageprofile-ld)
19110 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19111 clean-stageprofile: clean-stageprofile-ld
19112 clean-stageprofile-ld:
19113 @if [ $(current_stage) = stageprofile ]; then \
19114 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19115 else \
19116 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19117 $(MAKE) stageprofile-start; \
19118 fi; \
19119 cd $(HOST_SUBDIR)/ld && \
19120 $(MAKE) $(EXTRA_HOST_FLAGS) \
19121 $(POSTSTAGE1_FLAGS_TO_PASS) \
19122 clean
19123 @endif ld-bootstrap
19126 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19127 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19128 maybe-all-stagefeedback-ld:
19129 maybe-clean-stagefeedback-ld:
19130 @if ld-bootstrap
19131 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19132 all-stagefeedback: all-stagefeedback-ld
19133 TARGET-stagefeedback-ld = $(TARGET-ld)
19134 all-stagefeedback-ld: configure-stagefeedback-ld
19135 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19136 @r=`${PWD_COMMAND}`; export r; \
19137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19138 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19139 $(HOST_EXPORTS) \
19140 $(POSTSTAGE1_HOST_EXPORTS) \
19141 cd $(HOST_SUBDIR)/ld && \
19142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19143 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19144 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19145 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19150 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19151 $(TARGET-stagefeedback-ld)
19153 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19154 clean-stagefeedback: clean-stagefeedback-ld
19155 clean-stagefeedback-ld:
19156 @if [ $(current_stage) = stagefeedback ]; then \
19157 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19158 else \
19159 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19160 $(MAKE) stagefeedback-start; \
19161 fi; \
19162 cd $(HOST_SUBDIR)/ld && \
19163 $(MAKE) $(EXTRA_HOST_FLAGS) \
19164 $(POSTSTAGE1_FLAGS_TO_PASS) \
19165 clean
19166 @endif ld-bootstrap
19172 .PHONY: check-ld maybe-check-ld
19173 maybe-check-ld:
19174 @if ld
19175 maybe-check-ld: check-ld
19177 check-ld:
19178 @: $(MAKE); $(unstage)
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 (cd $(HOST_SUBDIR)/ld && \
19183 $(MAKE) $(FLAGS_TO_PASS) check)
19185 @endif ld
19187 .PHONY: install-ld maybe-install-ld
19188 maybe-install-ld:
19189 @if ld
19190 maybe-install-ld: install-ld
19192 install-ld: installdirs
19193 @: $(MAKE); $(unstage)
19194 @r=`${PWD_COMMAND}`; export r; \
19195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19196 $(HOST_EXPORTS) \
19197 (cd $(HOST_SUBDIR)/ld && \
19198 $(MAKE) $(FLAGS_TO_PASS) install)
19200 @endif ld
19202 .PHONY: install-strip-ld maybe-install-strip-ld
19203 maybe-install-strip-ld:
19204 @if ld
19205 maybe-install-strip-ld: install-strip-ld
19207 install-strip-ld: installdirs
19208 @: $(MAKE); $(unstage)
19209 @r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211 $(HOST_EXPORTS) \
19212 (cd $(HOST_SUBDIR)/ld && \
19213 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19215 @endif ld
19217 # Other targets (info, dvi, pdf, etc.)
19219 .PHONY: maybe-info-ld info-ld
19220 maybe-info-ld:
19221 @if ld
19222 maybe-info-ld: info-ld
19224 info-ld: \
19225 configure-ld
19226 @[ -f ./ld/Makefile ] || exit 0; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing info in ld" ; \
19234 (cd $(HOST_SUBDIR)/ld && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19239 info) \
19240 || exit 1
19242 @endif ld
19244 .PHONY: maybe-dvi-ld dvi-ld
19245 maybe-dvi-ld:
19246 @if ld
19247 maybe-dvi-ld: dvi-ld
19249 dvi-ld: \
19250 configure-ld
19251 @[ -f ./ld/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(HOST_EXPORTS) \
19255 for flag in $(EXTRA_HOST_FLAGS) ; do \
19256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19257 done; \
19258 echo "Doing dvi in ld" ; \
19259 (cd $(HOST_SUBDIR)/ld && \
19260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19262 "RANLIB=$${RANLIB}" \
19263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19264 dvi) \
19265 || exit 1
19267 @endif ld
19269 .PHONY: maybe-pdf-ld pdf-ld
19270 maybe-pdf-ld:
19271 @if ld
19272 maybe-pdf-ld: pdf-ld
19274 pdf-ld: \
19275 configure-ld
19276 @[ -f ./ld/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing pdf in ld" ; \
19284 (cd $(HOST_SUBDIR)/ld && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19289 pdf) \
19290 || exit 1
19292 @endif ld
19294 .PHONY: maybe-html-ld html-ld
19295 maybe-html-ld:
19296 @if ld
19297 maybe-html-ld: html-ld
19299 html-ld: \
19300 configure-ld
19301 @[ -f ./ld/Makefile ] || exit 0; \
19302 r=`${PWD_COMMAND}`; export r; \
19303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 $(HOST_EXPORTS) \
19305 for flag in $(EXTRA_HOST_FLAGS) ; do \
19306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19307 done; \
19308 echo "Doing html in ld" ; \
19309 (cd $(HOST_SUBDIR)/ld && \
19310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19312 "RANLIB=$${RANLIB}" \
19313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19314 html) \
19315 || exit 1
19317 @endif ld
19319 .PHONY: maybe-TAGS-ld TAGS-ld
19320 maybe-TAGS-ld:
19321 @if ld
19322 maybe-TAGS-ld: TAGS-ld
19324 TAGS-ld: \
19325 configure-ld
19326 @[ -f ./ld/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 for flag in $(EXTRA_HOST_FLAGS) ; do \
19331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 done; \
19333 echo "Doing TAGS in ld" ; \
19334 (cd $(HOST_SUBDIR)/ld && \
19335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19337 "RANLIB=$${RANLIB}" \
19338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19339 TAGS) \
19340 || exit 1
19342 @endif ld
19344 .PHONY: maybe-install-info-ld install-info-ld
19345 maybe-install-info-ld:
19346 @if ld
19347 maybe-install-info-ld: install-info-ld
19349 install-info-ld: \
19350 configure-ld \
19351 info-ld
19352 @[ -f ./ld/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing install-info in ld" ; \
19360 (cd $(HOST_SUBDIR)/ld && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19365 install-info) \
19366 || exit 1
19368 @endif ld
19370 .PHONY: maybe-install-pdf-ld install-pdf-ld
19371 maybe-install-pdf-ld:
19372 @if ld
19373 maybe-install-pdf-ld: install-pdf-ld
19375 install-pdf-ld: \
19376 configure-ld \
19377 pdf-ld
19378 @[ -f ./ld/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing install-pdf in ld" ; \
19386 (cd $(HOST_SUBDIR)/ld && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19391 install-pdf) \
19392 || exit 1
19394 @endif ld
19396 .PHONY: maybe-install-html-ld install-html-ld
19397 maybe-install-html-ld:
19398 @if ld
19399 maybe-install-html-ld: install-html-ld
19401 install-html-ld: \
19402 configure-ld \
19403 html-ld
19404 @[ -f ./ld/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 for flag in $(EXTRA_HOST_FLAGS) ; do \
19409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 done; \
19411 echo "Doing install-html in ld" ; \
19412 (cd $(HOST_SUBDIR)/ld && \
19413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19415 "RANLIB=$${RANLIB}" \
19416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19417 install-html) \
19418 || exit 1
19420 @endif ld
19422 .PHONY: maybe-installcheck-ld installcheck-ld
19423 maybe-installcheck-ld:
19424 @if ld
19425 maybe-installcheck-ld: installcheck-ld
19427 installcheck-ld: \
19428 configure-ld
19429 @[ -f ./ld/Makefile ] || exit 0; \
19430 r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(HOST_EXPORTS) \
19433 for flag in $(EXTRA_HOST_FLAGS) ; do \
19434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19435 done; \
19436 echo "Doing installcheck in ld" ; \
19437 (cd $(HOST_SUBDIR)/ld && \
19438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19440 "RANLIB=$${RANLIB}" \
19441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19442 installcheck) \
19443 || exit 1
19445 @endif ld
19447 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19448 maybe-mostlyclean-ld:
19449 @if ld
19450 maybe-mostlyclean-ld: mostlyclean-ld
19452 mostlyclean-ld:
19453 @[ -f ./ld/Makefile ] || exit 0; \
19454 r=`${PWD_COMMAND}`; export r; \
19455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19456 $(HOST_EXPORTS) \
19457 for flag in $(EXTRA_HOST_FLAGS) ; do \
19458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19459 done; \
19460 echo "Doing mostlyclean in ld" ; \
19461 (cd $(HOST_SUBDIR)/ld && \
19462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19464 "RANLIB=$${RANLIB}" \
19465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19466 mostlyclean) \
19467 || exit 1
19469 @endif ld
19471 .PHONY: maybe-clean-ld clean-ld
19472 maybe-clean-ld:
19473 @if ld
19474 maybe-clean-ld: clean-ld
19476 clean-ld:
19477 @[ -f ./ld/Makefile ] || exit 0; \
19478 r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing clean in ld" ; \
19485 (cd $(HOST_SUBDIR)/ld && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19490 clean) \
19491 || exit 1
19493 @endif ld
19495 .PHONY: maybe-distclean-ld distclean-ld
19496 maybe-distclean-ld:
19497 @if ld
19498 maybe-distclean-ld: distclean-ld
19500 distclean-ld:
19501 @[ -f ./ld/Makefile ] || exit 0; \
19502 r=`${PWD_COMMAND}`; export r; \
19503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 $(HOST_EXPORTS) \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 done; \
19508 echo "Doing distclean in ld" ; \
19509 (cd $(HOST_SUBDIR)/ld && \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19514 distclean) \
19515 || exit 1
19517 @endif ld
19519 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19520 maybe-maintainer-clean-ld:
19521 @if ld
19522 maybe-maintainer-clean-ld: maintainer-clean-ld
19524 maintainer-clean-ld:
19525 @[ -f ./ld/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing maintainer-clean in ld" ; \
19533 (cd $(HOST_SUBDIR)/ld && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19538 maintainer-clean) \
19539 || exit 1
19541 @endif ld
19545 .PHONY: configure-libcpp maybe-configure-libcpp
19546 maybe-configure-libcpp:
19547 @if gcc-bootstrap
19548 configure-libcpp: stage_current
19549 @endif gcc-bootstrap
19550 @if libcpp
19551 maybe-configure-libcpp: configure-libcpp
19552 configure-libcpp:
19553 @r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19557 $(HOST_EXPORTS) \
19558 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19559 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19560 case $(srcdir) in \
19561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19562 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19564 esac; \
19565 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19566 libsrcdir="$$s/libcpp"; \
19567 $(SHELL) $${libsrcdir}/configure \
19568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19569 --target=${target_alias} $${srcdiroption} \
19570 || exit 1
19571 @endif libcpp
19575 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19576 maybe-configure-stage1-libcpp:
19577 @if libcpp-bootstrap
19578 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19579 configure-stage1-libcpp:
19580 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19581 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19582 @r=`${PWD_COMMAND}`; export r; \
19583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 TFLAGS="$(STAGE1_TFLAGS)"; \
19585 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19586 $(HOST_EXPORTS) \
19587 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19588 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19589 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19590 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19592 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19593 case $(srcdir) in \
19594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19595 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19597 esac; \
19598 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19599 libsrcdir="$$s/libcpp"; \
19600 $(SHELL) $${libsrcdir}/configure \
19601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19602 --target=${target_alias} $${srcdiroption} \
19603 $(STAGE1_CONFIGURE_FLAGS)
19604 @endif libcpp-bootstrap
19606 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19607 maybe-configure-stage2-libcpp:
19608 @if libcpp-bootstrap
19609 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19610 configure-stage2-libcpp:
19611 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19613 @r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19615 TFLAGS="$(STAGE2_TFLAGS)"; \
19616 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19617 $(HOST_EXPORTS) \
19618 $(POSTSTAGE1_HOST_EXPORTS) \
19619 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19620 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19621 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19622 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19624 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19625 case $(srcdir) in \
19626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19627 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19629 esac; \
19630 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19631 libsrcdir="$$s/libcpp"; \
19632 $(SHELL) $${libsrcdir}/configure \
19633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19634 --target=${target_alias} $${srcdiroption} \
19635 --with-build-libsubdir=$(HOST_SUBDIR) \
19636 $(STAGE2_CONFIGURE_FLAGS)
19637 @endif libcpp-bootstrap
19639 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19640 maybe-configure-stage3-libcpp:
19641 @if libcpp-bootstrap
19642 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19643 configure-stage3-libcpp:
19644 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19646 @r=`${PWD_COMMAND}`; export r; \
19647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19648 TFLAGS="$(STAGE3_TFLAGS)"; \
19649 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19650 $(HOST_EXPORTS) \
19651 $(POSTSTAGE1_HOST_EXPORTS) \
19652 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19653 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19654 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19655 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19657 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19658 case $(srcdir) in \
19659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19660 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19662 esac; \
19663 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19664 libsrcdir="$$s/libcpp"; \
19665 $(SHELL) $${libsrcdir}/configure \
19666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19667 --target=${target_alias} $${srcdiroption} \
19668 --with-build-libsubdir=$(HOST_SUBDIR) \
19669 $(STAGE3_CONFIGURE_FLAGS)
19670 @endif libcpp-bootstrap
19672 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19673 maybe-configure-stage4-libcpp:
19674 @if libcpp-bootstrap
19675 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19676 configure-stage4-libcpp:
19677 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19679 @r=`${PWD_COMMAND}`; export r; \
19680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19681 TFLAGS="$(STAGE4_TFLAGS)"; \
19682 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19683 $(HOST_EXPORTS) \
19684 $(POSTSTAGE1_HOST_EXPORTS) \
19685 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19686 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19687 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19688 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19690 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19691 case $(srcdir) in \
19692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19693 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19695 esac; \
19696 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19697 libsrcdir="$$s/libcpp"; \
19698 $(SHELL) $${libsrcdir}/configure \
19699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19700 --target=${target_alias} $${srcdiroption} \
19701 --with-build-libsubdir=$(HOST_SUBDIR) \
19702 $(STAGE4_CONFIGURE_FLAGS)
19703 @endif libcpp-bootstrap
19705 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19706 maybe-configure-stageprofile-libcpp:
19707 @if libcpp-bootstrap
19708 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19709 configure-stageprofile-libcpp:
19710 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19712 @r=`${PWD_COMMAND}`; export r; \
19713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19714 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19715 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19716 $(HOST_EXPORTS) \
19717 $(POSTSTAGE1_HOST_EXPORTS) \
19718 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19719 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19720 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19721 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19723 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19724 case $(srcdir) in \
19725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19726 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19728 esac; \
19729 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19730 libsrcdir="$$s/libcpp"; \
19731 $(SHELL) $${libsrcdir}/configure \
19732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19733 --target=${target_alias} $${srcdiroption} \
19734 --with-build-libsubdir=$(HOST_SUBDIR) \
19735 $(STAGEprofile_CONFIGURE_FLAGS)
19736 @endif libcpp-bootstrap
19738 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19739 maybe-configure-stagefeedback-libcpp:
19740 @if libcpp-bootstrap
19741 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19742 configure-stagefeedback-libcpp:
19743 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19745 @r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19748 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19749 $(HOST_EXPORTS) \
19750 $(POSTSTAGE1_HOST_EXPORTS) \
19751 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19752 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19753 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19754 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19756 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19757 case $(srcdir) in \
19758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19759 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19761 esac; \
19762 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19763 libsrcdir="$$s/libcpp"; \
19764 $(SHELL) $${libsrcdir}/configure \
19765 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19766 --target=${target_alias} $${srcdiroption} \
19767 --with-build-libsubdir=$(HOST_SUBDIR) \
19768 $(STAGEfeedback_CONFIGURE_FLAGS)
19769 @endif libcpp-bootstrap
19775 .PHONY: all-libcpp maybe-all-libcpp
19776 maybe-all-libcpp:
19777 @if gcc-bootstrap
19778 all-libcpp: stage_current
19779 @endif gcc-bootstrap
19780 @if libcpp
19781 TARGET-libcpp=all
19782 maybe-all-libcpp: all-libcpp
19783 all-libcpp: configure-libcpp
19784 @r=`${PWD_COMMAND}`; export r; \
19785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19786 $(HOST_EXPORTS) \
19787 (cd $(HOST_SUBDIR)/libcpp && \
19788 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19789 $(TARGET-libcpp))
19790 @endif libcpp
19794 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19795 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19796 maybe-all-stage1-libcpp:
19797 maybe-clean-stage1-libcpp:
19798 @if libcpp-bootstrap
19799 maybe-all-stage1-libcpp: all-stage1-libcpp
19800 all-stage1: all-stage1-libcpp
19801 TARGET-stage1-libcpp = $(TARGET-libcpp)
19802 all-stage1-libcpp: configure-stage1-libcpp
19803 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19804 @r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 TFLAGS="$(STAGE1_TFLAGS)"; \
19807 $(HOST_EXPORTS) \
19808 cd $(HOST_SUBDIR)/libcpp && \
19809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19810 CFLAGS="$(STAGE1_CFLAGS)" \
19811 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19812 LIBCFLAGS="$(LIBCFLAGS)" \
19813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19816 $(EXTRA_HOST_FLAGS) \
19817 TFLAGS="$(STAGE1_TFLAGS)" \
19818 $(TARGET-stage1-libcpp)
19820 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19821 clean-stage1: clean-stage1-libcpp
19822 clean-stage1-libcpp:
19823 @if [ $(current_stage) = stage1 ]; then \
19824 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19825 else \
19826 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19827 $(MAKE) stage1-start; \
19828 fi; \
19829 cd $(HOST_SUBDIR)/libcpp && \
19830 $(MAKE) $(EXTRA_HOST_FLAGS) \
19831 clean
19832 @endif libcpp-bootstrap
19835 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19836 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19837 maybe-all-stage2-libcpp:
19838 maybe-clean-stage2-libcpp:
19839 @if libcpp-bootstrap
19840 maybe-all-stage2-libcpp: all-stage2-libcpp
19841 all-stage2: all-stage2-libcpp
19842 TARGET-stage2-libcpp = $(TARGET-libcpp)
19843 all-stage2-libcpp: configure-stage2-libcpp
19844 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19845 @r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 TFLAGS="$(STAGE2_TFLAGS)"; \
19848 $(HOST_EXPORTS) \
19849 $(POSTSTAGE1_HOST_EXPORTS) \
19850 cd $(HOST_SUBDIR)/libcpp && \
19851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19852 CFLAGS="$(STAGE2_CFLAGS)" \
19853 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19854 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19858 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19859 TFLAGS="$(STAGE2_TFLAGS)" \
19860 $(TARGET-stage2-libcpp)
19862 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19863 clean-stage2: clean-stage2-libcpp
19864 clean-stage2-libcpp:
19865 @if [ $(current_stage) = stage2 ]; then \
19866 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19867 else \
19868 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19869 $(MAKE) stage2-start; \
19870 fi; \
19871 cd $(HOST_SUBDIR)/libcpp && \
19872 $(MAKE) $(EXTRA_HOST_FLAGS) \
19873 $(POSTSTAGE1_FLAGS_TO_PASS) \
19874 clean
19875 @endif libcpp-bootstrap
19878 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19879 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19880 maybe-all-stage3-libcpp:
19881 maybe-clean-stage3-libcpp:
19882 @if libcpp-bootstrap
19883 maybe-all-stage3-libcpp: all-stage3-libcpp
19884 all-stage3: all-stage3-libcpp
19885 TARGET-stage3-libcpp = $(TARGET-libcpp)
19886 all-stage3-libcpp: configure-stage3-libcpp
19887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19888 @r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 TFLAGS="$(STAGE3_TFLAGS)"; \
19891 $(HOST_EXPORTS) \
19892 $(POSTSTAGE1_HOST_EXPORTS) \
19893 cd $(HOST_SUBDIR)/libcpp && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19895 CFLAGS="$(STAGE3_CFLAGS)" \
19896 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19897 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19902 TFLAGS="$(STAGE3_TFLAGS)" \
19903 $(TARGET-stage3-libcpp)
19905 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19906 clean-stage3: clean-stage3-libcpp
19907 clean-stage3-libcpp:
19908 @if [ $(current_stage) = stage3 ]; then \
19909 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19910 else \
19911 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19912 $(MAKE) stage3-start; \
19913 fi; \
19914 cd $(HOST_SUBDIR)/libcpp && \
19915 $(MAKE) $(EXTRA_HOST_FLAGS) \
19916 $(POSTSTAGE1_FLAGS_TO_PASS) \
19917 clean
19918 @endif libcpp-bootstrap
19921 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19922 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19923 maybe-all-stage4-libcpp:
19924 maybe-clean-stage4-libcpp:
19925 @if libcpp-bootstrap
19926 maybe-all-stage4-libcpp: all-stage4-libcpp
19927 all-stage4: all-stage4-libcpp
19928 TARGET-stage4-libcpp = $(TARGET-libcpp)
19929 all-stage4-libcpp: configure-stage4-libcpp
19930 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19931 @r=`${PWD_COMMAND}`; export r; \
19932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19933 TFLAGS="$(STAGE4_TFLAGS)"; \
19934 $(HOST_EXPORTS) \
19935 $(POSTSTAGE1_HOST_EXPORTS) \
19936 cd $(HOST_SUBDIR)/libcpp && \
19937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19938 CFLAGS="$(STAGE4_CFLAGS)" \
19939 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19940 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19945 TFLAGS="$(STAGE4_TFLAGS)" \
19946 $(TARGET-stage4-libcpp)
19948 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19949 clean-stage4: clean-stage4-libcpp
19950 clean-stage4-libcpp:
19951 @if [ $(current_stage) = stage4 ]; then \
19952 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19953 else \
19954 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19955 $(MAKE) stage4-start; \
19956 fi; \
19957 cd $(HOST_SUBDIR)/libcpp && \
19958 $(MAKE) $(EXTRA_HOST_FLAGS) \
19959 $(POSTSTAGE1_FLAGS_TO_PASS) \
19960 clean
19961 @endif libcpp-bootstrap
19964 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19965 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19966 maybe-all-stageprofile-libcpp:
19967 maybe-clean-stageprofile-libcpp:
19968 @if libcpp-bootstrap
19969 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19970 all-stageprofile: all-stageprofile-libcpp
19971 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19972 all-stageprofile-libcpp: configure-stageprofile-libcpp
19973 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19974 @r=`${PWD_COMMAND}`; export r; \
19975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19976 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19977 $(HOST_EXPORTS) \
19978 $(POSTSTAGE1_HOST_EXPORTS) \
19979 cd $(HOST_SUBDIR)/libcpp && \
19980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19981 CFLAGS="$(STAGEprofile_CFLAGS)" \
19982 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19983 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19988 TFLAGS="$(STAGEprofile_TFLAGS)" \
19989 $(TARGET-stageprofile-libcpp)
19991 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
19992 clean-stageprofile: clean-stageprofile-libcpp
19993 clean-stageprofile-libcpp:
19994 @if [ $(current_stage) = stageprofile ]; then \
19995 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19996 else \
19997 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
19998 $(MAKE) stageprofile-start; \
19999 fi; \
20000 cd $(HOST_SUBDIR)/libcpp && \
20001 $(MAKE) $(EXTRA_HOST_FLAGS) \
20002 $(POSTSTAGE1_FLAGS_TO_PASS) \
20003 clean
20004 @endif libcpp-bootstrap
20007 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20008 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20009 maybe-all-stagefeedback-libcpp:
20010 maybe-clean-stagefeedback-libcpp:
20011 @if libcpp-bootstrap
20012 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20013 all-stagefeedback: all-stagefeedback-libcpp
20014 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20015 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20016 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20017 @r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20020 $(HOST_EXPORTS) \
20021 $(POSTSTAGE1_HOST_EXPORTS) \
20022 cd $(HOST_SUBDIR)/libcpp && \
20023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20024 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20025 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20026 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20031 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20032 $(TARGET-stagefeedback-libcpp)
20034 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20035 clean-stagefeedback: clean-stagefeedback-libcpp
20036 clean-stagefeedback-libcpp:
20037 @if [ $(current_stage) = stagefeedback ]; then \
20038 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20039 else \
20040 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20041 $(MAKE) stagefeedback-start; \
20042 fi; \
20043 cd $(HOST_SUBDIR)/libcpp && \
20044 $(MAKE) $(EXTRA_HOST_FLAGS) \
20045 $(POSTSTAGE1_FLAGS_TO_PASS) \
20046 clean
20047 @endif libcpp-bootstrap
20053 .PHONY: check-libcpp maybe-check-libcpp
20054 maybe-check-libcpp:
20055 @if libcpp
20056 maybe-check-libcpp: check-libcpp
20058 check-libcpp:
20059 @: $(MAKE); $(unstage)
20060 @r=`${PWD_COMMAND}`; export r; \
20061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20062 $(HOST_EXPORTS) \
20063 (cd $(HOST_SUBDIR)/libcpp && \
20064 $(MAKE) $(FLAGS_TO_PASS) check)
20066 @endif libcpp
20068 .PHONY: install-libcpp maybe-install-libcpp
20069 maybe-install-libcpp:
20070 @if libcpp
20071 maybe-install-libcpp: install-libcpp
20073 install-libcpp: installdirs
20074 @: $(MAKE); $(unstage)
20075 @r=`${PWD_COMMAND}`; export r; \
20076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20077 $(HOST_EXPORTS) \
20078 (cd $(HOST_SUBDIR)/libcpp && \
20079 $(MAKE) $(FLAGS_TO_PASS) install)
20081 @endif libcpp
20083 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20084 maybe-install-strip-libcpp:
20085 @if libcpp
20086 maybe-install-strip-libcpp: install-strip-libcpp
20088 install-strip-libcpp: installdirs
20089 @: $(MAKE); $(unstage)
20090 @r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092 $(HOST_EXPORTS) \
20093 (cd $(HOST_SUBDIR)/libcpp && \
20094 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20096 @endif libcpp
20098 # Other targets (info, dvi, pdf, etc.)
20100 .PHONY: maybe-info-libcpp info-libcpp
20101 maybe-info-libcpp:
20102 @if libcpp
20103 maybe-info-libcpp: info-libcpp
20105 info-libcpp: \
20106 configure-libcpp
20107 @[ -f ./libcpp/Makefile ] || exit 0; \
20108 r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110 $(HOST_EXPORTS) \
20111 for flag in $(EXTRA_HOST_FLAGS) ; do \
20112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20113 done; \
20114 echo "Doing info in libcpp" ; \
20115 (cd $(HOST_SUBDIR)/libcpp && \
20116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20118 "RANLIB=$${RANLIB}" \
20119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20120 info) \
20121 || exit 1
20123 @endif libcpp
20125 .PHONY: maybe-dvi-libcpp dvi-libcpp
20126 maybe-dvi-libcpp:
20127 @if libcpp
20128 maybe-dvi-libcpp: dvi-libcpp
20130 dvi-libcpp: \
20131 configure-libcpp
20132 @[ -f ./libcpp/Makefile ] || exit 0; \
20133 r=`${PWD_COMMAND}`; export r; \
20134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20135 $(HOST_EXPORTS) \
20136 for flag in $(EXTRA_HOST_FLAGS) ; do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20138 done; \
20139 echo "Doing dvi in libcpp" ; \
20140 (cd $(HOST_SUBDIR)/libcpp && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20145 dvi) \
20146 || exit 1
20148 @endif libcpp
20150 .PHONY: maybe-pdf-libcpp pdf-libcpp
20151 maybe-pdf-libcpp:
20152 @if libcpp
20153 maybe-pdf-libcpp: pdf-libcpp
20155 pdf-libcpp: \
20156 configure-libcpp
20157 @[ -f ./libcpp/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing pdf in libcpp" ; \
20165 (cd $(HOST_SUBDIR)/libcpp && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20170 pdf) \
20171 || exit 1
20173 @endif libcpp
20175 .PHONY: maybe-html-libcpp html-libcpp
20176 maybe-html-libcpp:
20177 @if libcpp
20178 maybe-html-libcpp: html-libcpp
20180 html-libcpp: \
20181 configure-libcpp
20182 @[ -f ./libcpp/Makefile ] || exit 0; \
20183 r=`${PWD_COMMAND}`; export r; \
20184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20185 $(HOST_EXPORTS) \
20186 for flag in $(EXTRA_HOST_FLAGS) ; do \
20187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 done; \
20189 echo "Doing html in libcpp" ; \
20190 (cd $(HOST_SUBDIR)/libcpp && \
20191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20193 "RANLIB=$${RANLIB}" \
20194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20195 html) \
20196 || exit 1
20198 @endif libcpp
20200 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20201 maybe-TAGS-libcpp:
20202 @if libcpp
20203 maybe-TAGS-libcpp: TAGS-libcpp
20205 TAGS-libcpp: \
20206 configure-libcpp
20207 @[ -f ./libcpp/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing TAGS in libcpp" ; \
20215 (cd $(HOST_SUBDIR)/libcpp && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20220 TAGS) \
20221 || exit 1
20223 @endif libcpp
20225 .PHONY: maybe-install-info-libcpp install-info-libcpp
20226 maybe-install-info-libcpp:
20227 @if libcpp
20228 maybe-install-info-libcpp: install-info-libcpp
20230 install-info-libcpp: \
20231 configure-libcpp \
20232 info-libcpp
20233 @[ -f ./libcpp/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 $(HOST_EXPORTS) \
20237 for flag in $(EXTRA_HOST_FLAGS) ; do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239 done; \
20240 echo "Doing install-info in libcpp" ; \
20241 (cd $(HOST_SUBDIR)/libcpp && \
20242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20244 "RANLIB=$${RANLIB}" \
20245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20246 install-info) \
20247 || exit 1
20249 @endif libcpp
20251 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20252 maybe-install-pdf-libcpp:
20253 @if libcpp
20254 maybe-install-pdf-libcpp: install-pdf-libcpp
20256 install-pdf-libcpp: \
20257 configure-libcpp \
20258 pdf-libcpp
20259 @[ -f ./libcpp/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing install-pdf in libcpp" ; \
20267 (cd $(HOST_SUBDIR)/libcpp && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20272 install-pdf) \
20273 || exit 1
20275 @endif libcpp
20277 .PHONY: maybe-install-html-libcpp install-html-libcpp
20278 maybe-install-html-libcpp:
20279 @if libcpp
20280 maybe-install-html-libcpp: install-html-libcpp
20282 install-html-libcpp: \
20283 configure-libcpp \
20284 html-libcpp
20285 @[ -f ./libcpp/Makefile ] || exit 0; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 done; \
20292 echo "Doing install-html in libcpp" ; \
20293 (cd $(HOST_SUBDIR)/libcpp && \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20298 install-html) \
20299 || exit 1
20301 @endif libcpp
20303 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20304 maybe-installcheck-libcpp:
20305 @if libcpp
20306 maybe-installcheck-libcpp: installcheck-libcpp
20308 installcheck-libcpp: \
20309 configure-libcpp
20310 @[ -f ./libcpp/Makefile ] || exit 0; \
20311 r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing installcheck in libcpp" ; \
20318 (cd $(HOST_SUBDIR)/libcpp && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20323 installcheck) \
20324 || exit 1
20326 @endif libcpp
20328 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20329 maybe-mostlyclean-libcpp:
20330 @if libcpp
20331 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20333 mostlyclean-libcpp:
20334 @[ -f ./libcpp/Makefile ] || exit 0; \
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20337 $(HOST_EXPORTS) \
20338 for flag in $(EXTRA_HOST_FLAGS) ; do \
20339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20340 done; \
20341 echo "Doing mostlyclean in libcpp" ; \
20342 (cd $(HOST_SUBDIR)/libcpp && \
20343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20345 "RANLIB=$${RANLIB}" \
20346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20347 mostlyclean) \
20348 || exit 1
20350 @endif libcpp
20352 .PHONY: maybe-clean-libcpp clean-libcpp
20353 maybe-clean-libcpp:
20354 @if libcpp
20355 maybe-clean-libcpp: clean-libcpp
20357 clean-libcpp:
20358 @[ -f ./libcpp/Makefile ] || exit 0; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361 $(HOST_EXPORTS) \
20362 for flag in $(EXTRA_HOST_FLAGS) ; do \
20363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20364 done; \
20365 echo "Doing clean in libcpp" ; \
20366 (cd $(HOST_SUBDIR)/libcpp && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20371 clean) \
20372 || exit 1
20374 @endif libcpp
20376 .PHONY: maybe-distclean-libcpp distclean-libcpp
20377 maybe-distclean-libcpp:
20378 @if libcpp
20379 maybe-distclean-libcpp: distclean-libcpp
20381 distclean-libcpp:
20382 @[ -f ./libcpp/Makefile ] || exit 0; \
20383 r=`${PWD_COMMAND}`; export r; \
20384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20385 $(HOST_EXPORTS) \
20386 for flag in $(EXTRA_HOST_FLAGS) ; do \
20387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20388 done; \
20389 echo "Doing distclean in libcpp" ; \
20390 (cd $(HOST_SUBDIR)/libcpp && \
20391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20393 "RANLIB=$${RANLIB}" \
20394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20395 distclean) \
20396 || exit 1
20398 @endif libcpp
20400 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20401 maybe-maintainer-clean-libcpp:
20402 @if libcpp
20403 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20405 maintainer-clean-libcpp:
20406 @[ -f ./libcpp/Makefile ] || exit 0; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 $(HOST_EXPORTS) \
20410 for flag in $(EXTRA_HOST_FLAGS) ; do \
20411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20412 done; \
20413 echo "Doing maintainer-clean in libcpp" ; \
20414 (cd $(HOST_SUBDIR)/libcpp && \
20415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20417 "RANLIB=$${RANLIB}" \
20418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20419 maintainer-clean) \
20420 || exit 1
20422 @endif libcpp
20426 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20427 maybe-configure-libdecnumber:
20428 @if gcc-bootstrap
20429 configure-libdecnumber: stage_current
20430 @endif gcc-bootstrap
20431 @if libdecnumber
20432 maybe-configure-libdecnumber: configure-libdecnumber
20433 configure-libdecnumber:
20434 @r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20436 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20438 $(HOST_EXPORTS) \
20439 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20440 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20441 case $(srcdir) in \
20442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20443 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20445 esac; \
20446 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20447 libsrcdir="$$s/libdecnumber"; \
20448 $(SHELL) $${libsrcdir}/configure \
20449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20450 --target=${target_alias} $${srcdiroption} \
20451 || exit 1
20452 @endif libdecnumber
20456 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20457 maybe-configure-stage1-libdecnumber:
20458 @if libdecnumber-bootstrap
20459 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20460 configure-stage1-libdecnumber:
20461 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20463 @r=`${PWD_COMMAND}`; export r; \
20464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20465 TFLAGS="$(STAGE1_TFLAGS)"; \
20466 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20467 $(HOST_EXPORTS) \
20468 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20469 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20470 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20471 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20473 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20474 case $(srcdir) in \
20475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20476 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20478 esac; \
20479 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20480 libsrcdir="$$s/libdecnumber"; \
20481 $(SHELL) $${libsrcdir}/configure \
20482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20483 --target=${target_alias} $${srcdiroption} \
20484 $(STAGE1_CONFIGURE_FLAGS)
20485 @endif libdecnumber-bootstrap
20487 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20488 maybe-configure-stage2-libdecnumber:
20489 @if libdecnumber-bootstrap
20490 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20491 configure-stage2-libdecnumber:
20492 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20493 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20494 @r=`${PWD_COMMAND}`; export r; \
20495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20496 TFLAGS="$(STAGE2_TFLAGS)"; \
20497 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20498 $(HOST_EXPORTS) \
20499 $(POSTSTAGE1_HOST_EXPORTS) \
20500 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20501 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20502 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20503 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20505 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20506 case $(srcdir) in \
20507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20508 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20510 esac; \
20511 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20512 libsrcdir="$$s/libdecnumber"; \
20513 $(SHELL) $${libsrcdir}/configure \
20514 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20515 --target=${target_alias} $${srcdiroption} \
20516 --with-build-libsubdir=$(HOST_SUBDIR) \
20517 $(STAGE2_CONFIGURE_FLAGS)
20518 @endif libdecnumber-bootstrap
20520 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20521 maybe-configure-stage3-libdecnumber:
20522 @if libdecnumber-bootstrap
20523 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20524 configure-stage3-libdecnumber:
20525 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20526 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20527 @r=`${PWD_COMMAND}`; export r; \
20528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20529 TFLAGS="$(STAGE3_TFLAGS)"; \
20530 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20531 $(HOST_EXPORTS) \
20532 $(POSTSTAGE1_HOST_EXPORTS) \
20533 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20534 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20535 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20536 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20538 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20539 case $(srcdir) in \
20540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20541 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20543 esac; \
20544 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20545 libsrcdir="$$s/libdecnumber"; \
20546 $(SHELL) $${libsrcdir}/configure \
20547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20548 --target=${target_alias} $${srcdiroption} \
20549 --with-build-libsubdir=$(HOST_SUBDIR) \
20550 $(STAGE3_CONFIGURE_FLAGS)
20551 @endif libdecnumber-bootstrap
20553 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20554 maybe-configure-stage4-libdecnumber:
20555 @if libdecnumber-bootstrap
20556 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20557 configure-stage4-libdecnumber:
20558 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20559 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20560 @r=`${PWD_COMMAND}`; export r; \
20561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20562 TFLAGS="$(STAGE4_TFLAGS)"; \
20563 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20564 $(HOST_EXPORTS) \
20565 $(POSTSTAGE1_HOST_EXPORTS) \
20566 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20567 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20568 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20569 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20571 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20572 case $(srcdir) in \
20573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20574 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20576 esac; \
20577 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20578 libsrcdir="$$s/libdecnumber"; \
20579 $(SHELL) $${libsrcdir}/configure \
20580 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20581 --target=${target_alias} $${srcdiroption} \
20582 --with-build-libsubdir=$(HOST_SUBDIR) \
20583 $(STAGE4_CONFIGURE_FLAGS)
20584 @endif libdecnumber-bootstrap
20586 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20587 maybe-configure-stageprofile-libdecnumber:
20588 @if libdecnumber-bootstrap
20589 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20590 configure-stageprofile-libdecnumber:
20591 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20592 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20593 @r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20596 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20597 $(HOST_EXPORTS) \
20598 $(POSTSTAGE1_HOST_EXPORTS) \
20599 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20600 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20601 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20602 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20604 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20605 case $(srcdir) in \
20606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20607 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20609 esac; \
20610 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20611 libsrcdir="$$s/libdecnumber"; \
20612 $(SHELL) $${libsrcdir}/configure \
20613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20614 --target=${target_alias} $${srcdiroption} \
20615 --with-build-libsubdir=$(HOST_SUBDIR) \
20616 $(STAGEprofile_CONFIGURE_FLAGS)
20617 @endif libdecnumber-bootstrap
20619 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20620 maybe-configure-stagefeedback-libdecnumber:
20621 @if libdecnumber-bootstrap
20622 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20623 configure-stagefeedback-libdecnumber:
20624 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20626 @r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20628 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20629 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20630 $(HOST_EXPORTS) \
20631 $(POSTSTAGE1_HOST_EXPORTS) \
20632 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20633 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20634 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20635 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20637 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20638 case $(srcdir) in \
20639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20640 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20642 esac; \
20643 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20644 libsrcdir="$$s/libdecnumber"; \
20645 $(SHELL) $${libsrcdir}/configure \
20646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20647 --target=${target_alias} $${srcdiroption} \
20648 --with-build-libsubdir=$(HOST_SUBDIR) \
20649 $(STAGEfeedback_CONFIGURE_FLAGS)
20650 @endif libdecnumber-bootstrap
20656 .PHONY: all-libdecnumber maybe-all-libdecnumber
20657 maybe-all-libdecnumber:
20658 @if gcc-bootstrap
20659 all-libdecnumber: stage_current
20660 @endif gcc-bootstrap
20661 @if libdecnumber
20662 TARGET-libdecnumber=all
20663 maybe-all-libdecnumber: all-libdecnumber
20664 all-libdecnumber: configure-libdecnumber
20665 @r=`${PWD_COMMAND}`; export r; \
20666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20667 $(HOST_EXPORTS) \
20668 (cd $(HOST_SUBDIR)/libdecnumber && \
20669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20670 $(TARGET-libdecnumber))
20671 @endif libdecnumber
20675 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20676 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20677 maybe-all-stage1-libdecnumber:
20678 maybe-clean-stage1-libdecnumber:
20679 @if libdecnumber-bootstrap
20680 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20681 all-stage1: all-stage1-libdecnumber
20682 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20683 all-stage1-libdecnumber: configure-stage1-libdecnumber
20684 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20685 @r=`${PWD_COMMAND}`; export r; \
20686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20687 TFLAGS="$(STAGE1_TFLAGS)"; \
20688 $(HOST_EXPORTS) \
20689 cd $(HOST_SUBDIR)/libdecnumber && \
20690 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20691 CFLAGS="$(STAGE1_CFLAGS)" \
20692 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20693 LIBCFLAGS="$(LIBCFLAGS)" \
20694 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20695 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20696 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20697 $(EXTRA_HOST_FLAGS) \
20698 TFLAGS="$(STAGE1_TFLAGS)" \
20699 $(TARGET-stage1-libdecnumber)
20701 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20702 clean-stage1: clean-stage1-libdecnumber
20703 clean-stage1-libdecnumber:
20704 @if [ $(current_stage) = stage1 ]; then \
20705 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20706 else \
20707 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20708 $(MAKE) stage1-start; \
20709 fi; \
20710 cd $(HOST_SUBDIR)/libdecnumber && \
20711 $(MAKE) $(EXTRA_HOST_FLAGS) \
20712 clean
20713 @endif libdecnumber-bootstrap
20716 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20717 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20718 maybe-all-stage2-libdecnumber:
20719 maybe-clean-stage2-libdecnumber:
20720 @if libdecnumber-bootstrap
20721 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20722 all-stage2: all-stage2-libdecnumber
20723 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20724 all-stage2-libdecnumber: configure-stage2-libdecnumber
20725 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20726 @r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 TFLAGS="$(STAGE2_TFLAGS)"; \
20729 $(HOST_EXPORTS) \
20730 $(POSTSTAGE1_HOST_EXPORTS) \
20731 cd $(HOST_SUBDIR)/libdecnumber && \
20732 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20733 CFLAGS="$(STAGE2_CFLAGS)" \
20734 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20735 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20736 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20737 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20738 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20739 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20740 TFLAGS="$(STAGE2_TFLAGS)" \
20741 $(TARGET-stage2-libdecnumber)
20743 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20744 clean-stage2: clean-stage2-libdecnumber
20745 clean-stage2-libdecnumber:
20746 @if [ $(current_stage) = stage2 ]; then \
20747 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20748 else \
20749 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20750 $(MAKE) stage2-start; \
20751 fi; \
20752 cd $(HOST_SUBDIR)/libdecnumber && \
20753 $(MAKE) $(EXTRA_HOST_FLAGS) \
20754 $(POSTSTAGE1_FLAGS_TO_PASS) \
20755 clean
20756 @endif libdecnumber-bootstrap
20759 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20760 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20761 maybe-all-stage3-libdecnumber:
20762 maybe-clean-stage3-libdecnumber:
20763 @if libdecnumber-bootstrap
20764 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20765 all-stage3: all-stage3-libdecnumber
20766 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20767 all-stage3-libdecnumber: configure-stage3-libdecnumber
20768 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20769 @r=`${PWD_COMMAND}`; export r; \
20770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20771 TFLAGS="$(STAGE3_TFLAGS)"; \
20772 $(HOST_EXPORTS) \
20773 $(POSTSTAGE1_HOST_EXPORTS) \
20774 cd $(HOST_SUBDIR)/libdecnumber && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20776 CFLAGS="$(STAGE3_CFLAGS)" \
20777 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20778 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20783 TFLAGS="$(STAGE3_TFLAGS)" \
20784 $(TARGET-stage3-libdecnumber)
20786 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20787 clean-stage3: clean-stage3-libdecnumber
20788 clean-stage3-libdecnumber:
20789 @if [ $(current_stage) = stage3 ]; then \
20790 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20791 else \
20792 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20793 $(MAKE) stage3-start; \
20794 fi; \
20795 cd $(HOST_SUBDIR)/libdecnumber && \
20796 $(MAKE) $(EXTRA_HOST_FLAGS) \
20797 $(POSTSTAGE1_FLAGS_TO_PASS) \
20798 clean
20799 @endif libdecnumber-bootstrap
20802 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20803 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20804 maybe-all-stage4-libdecnumber:
20805 maybe-clean-stage4-libdecnumber:
20806 @if libdecnumber-bootstrap
20807 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20808 all-stage4: all-stage4-libdecnumber
20809 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20810 all-stage4-libdecnumber: configure-stage4-libdecnumber
20811 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20812 @r=`${PWD_COMMAND}`; export r; \
20813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20814 TFLAGS="$(STAGE4_TFLAGS)"; \
20815 $(HOST_EXPORTS) \
20816 $(POSTSTAGE1_HOST_EXPORTS) \
20817 cd $(HOST_SUBDIR)/libdecnumber && \
20818 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20819 CFLAGS="$(STAGE4_CFLAGS)" \
20820 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20821 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20825 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20826 TFLAGS="$(STAGE4_TFLAGS)" \
20827 $(TARGET-stage4-libdecnumber)
20829 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20830 clean-stage4: clean-stage4-libdecnumber
20831 clean-stage4-libdecnumber:
20832 @if [ $(current_stage) = stage4 ]; then \
20833 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20834 else \
20835 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20836 $(MAKE) stage4-start; \
20837 fi; \
20838 cd $(HOST_SUBDIR)/libdecnumber && \
20839 $(MAKE) $(EXTRA_HOST_FLAGS) \
20840 $(POSTSTAGE1_FLAGS_TO_PASS) \
20841 clean
20842 @endif libdecnumber-bootstrap
20845 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20846 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20847 maybe-all-stageprofile-libdecnumber:
20848 maybe-clean-stageprofile-libdecnumber:
20849 @if libdecnumber-bootstrap
20850 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20851 all-stageprofile: all-stageprofile-libdecnumber
20852 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20853 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20854 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20855 @r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20858 $(HOST_EXPORTS) \
20859 $(POSTSTAGE1_HOST_EXPORTS) \
20860 cd $(HOST_SUBDIR)/libdecnumber && \
20861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20862 CFLAGS="$(STAGEprofile_CFLAGS)" \
20863 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20864 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20869 TFLAGS="$(STAGEprofile_TFLAGS)" \
20870 $(TARGET-stageprofile-libdecnumber)
20872 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20873 clean-stageprofile: clean-stageprofile-libdecnumber
20874 clean-stageprofile-libdecnumber:
20875 @if [ $(current_stage) = stageprofile ]; then \
20876 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20877 else \
20878 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20879 $(MAKE) stageprofile-start; \
20880 fi; \
20881 cd $(HOST_SUBDIR)/libdecnumber && \
20882 $(MAKE) $(EXTRA_HOST_FLAGS) \
20883 $(POSTSTAGE1_FLAGS_TO_PASS) \
20884 clean
20885 @endif libdecnumber-bootstrap
20888 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20889 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20890 maybe-all-stagefeedback-libdecnumber:
20891 maybe-clean-stagefeedback-libdecnumber:
20892 @if libdecnumber-bootstrap
20893 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20894 all-stagefeedback: all-stagefeedback-libdecnumber
20895 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20896 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20897 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20898 @r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20901 $(HOST_EXPORTS) \
20902 $(POSTSTAGE1_HOST_EXPORTS) \
20903 cd $(HOST_SUBDIR)/libdecnumber && \
20904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20905 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20906 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20907 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20912 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20913 $(TARGET-stagefeedback-libdecnumber)
20915 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20916 clean-stagefeedback: clean-stagefeedback-libdecnumber
20917 clean-stagefeedback-libdecnumber:
20918 @if [ $(current_stage) = stagefeedback ]; then \
20919 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20920 else \
20921 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20922 $(MAKE) stagefeedback-start; \
20923 fi; \
20924 cd $(HOST_SUBDIR)/libdecnumber && \
20925 $(MAKE) $(EXTRA_HOST_FLAGS) \
20926 $(POSTSTAGE1_FLAGS_TO_PASS) \
20927 clean
20928 @endif libdecnumber-bootstrap
20934 .PHONY: check-libdecnumber maybe-check-libdecnumber
20935 maybe-check-libdecnumber:
20936 @if libdecnumber
20937 maybe-check-libdecnumber: check-libdecnumber
20939 check-libdecnumber:
20940 @: $(MAKE); $(unstage)
20941 @r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 (cd $(HOST_SUBDIR)/libdecnumber && \
20945 $(MAKE) $(FLAGS_TO_PASS) check)
20947 @endif libdecnumber
20949 .PHONY: install-libdecnumber maybe-install-libdecnumber
20950 maybe-install-libdecnumber:
20951 @if libdecnumber
20952 maybe-install-libdecnumber: install-libdecnumber
20954 install-libdecnumber: installdirs
20955 @: $(MAKE); $(unstage)
20956 @r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 (cd $(HOST_SUBDIR)/libdecnumber && \
20960 $(MAKE) $(FLAGS_TO_PASS) install)
20962 @endif libdecnumber
20964 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20965 maybe-install-strip-libdecnumber:
20966 @if libdecnumber
20967 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20969 install-strip-libdecnumber: installdirs
20970 @: $(MAKE); $(unstage)
20971 @r=`${PWD_COMMAND}`; export r; \
20972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20973 $(HOST_EXPORTS) \
20974 (cd $(HOST_SUBDIR)/libdecnumber && \
20975 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20977 @endif libdecnumber
20979 # Other targets (info, dvi, pdf, etc.)
20981 .PHONY: maybe-info-libdecnumber info-libdecnumber
20982 maybe-info-libdecnumber:
20983 @if libdecnumber
20984 maybe-info-libdecnumber: info-libdecnumber
20986 info-libdecnumber: \
20987 configure-libdecnumber
20988 @[ -f ./libdecnumber/Makefile ] || exit 0; \
20989 r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(HOST_EXPORTS) \
20992 for flag in $(EXTRA_HOST_FLAGS) ; do \
20993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20994 done; \
20995 echo "Doing info in libdecnumber" ; \
20996 (cd $(HOST_SUBDIR)/libdecnumber && \
20997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20999 "RANLIB=$${RANLIB}" \
21000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21001 info) \
21002 || exit 1
21004 @endif libdecnumber
21006 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21007 maybe-dvi-libdecnumber:
21008 @if libdecnumber
21009 maybe-dvi-libdecnumber: dvi-libdecnumber
21011 dvi-libdecnumber: \
21012 configure-libdecnumber
21013 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21014 r=`${PWD_COMMAND}`; export r; \
21015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21016 $(HOST_EXPORTS) \
21017 for flag in $(EXTRA_HOST_FLAGS) ; do \
21018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21019 done; \
21020 echo "Doing dvi in libdecnumber" ; \
21021 (cd $(HOST_SUBDIR)/libdecnumber && \
21022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21024 "RANLIB=$${RANLIB}" \
21025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21026 dvi) \
21027 || exit 1
21029 @endif libdecnumber
21031 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21032 maybe-pdf-libdecnumber:
21033 @if libdecnumber
21034 maybe-pdf-libdecnumber: pdf-libdecnumber
21036 pdf-libdecnumber: \
21037 configure-libdecnumber
21038 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21039 r=`${PWD_COMMAND}`; export r; \
21040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21041 $(HOST_EXPORTS) \
21042 for flag in $(EXTRA_HOST_FLAGS) ; do \
21043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21044 done; \
21045 echo "Doing pdf in libdecnumber" ; \
21046 (cd $(HOST_SUBDIR)/libdecnumber && \
21047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21049 "RANLIB=$${RANLIB}" \
21050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21051 pdf) \
21052 || exit 1
21054 @endif libdecnumber
21056 .PHONY: maybe-html-libdecnumber html-libdecnumber
21057 maybe-html-libdecnumber:
21058 @if libdecnumber
21059 maybe-html-libdecnumber: html-libdecnumber
21061 html-libdecnumber: \
21062 configure-libdecnumber
21063 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21064 r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 $(HOST_EXPORTS) \
21067 for flag in $(EXTRA_HOST_FLAGS) ; do \
21068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21069 done; \
21070 echo "Doing html in libdecnumber" ; \
21071 (cd $(HOST_SUBDIR)/libdecnumber && \
21072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21074 "RANLIB=$${RANLIB}" \
21075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21076 html) \
21077 || exit 1
21079 @endif libdecnumber
21081 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21082 maybe-TAGS-libdecnumber:
21083 @if libdecnumber
21084 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21086 TAGS-libdecnumber: \
21087 configure-libdecnumber
21088 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21089 r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS) ; do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing TAGS in libdecnumber" ; \
21096 (cd $(HOST_SUBDIR)/libdecnumber && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21101 TAGS) \
21102 || exit 1
21104 @endif libdecnumber
21106 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21107 maybe-install-info-libdecnumber:
21108 @if libdecnumber
21109 maybe-install-info-libdecnumber: install-info-libdecnumber
21111 install-info-libdecnumber: \
21112 configure-libdecnumber \
21113 info-libdecnumber
21114 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(HOST_EXPORTS) \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120 done; \
21121 echo "Doing install-info in libdecnumber" ; \
21122 (cd $(HOST_SUBDIR)/libdecnumber && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21127 install-info) \
21128 || exit 1
21130 @endif libdecnumber
21132 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21133 maybe-install-pdf-libdecnumber:
21134 @if libdecnumber
21135 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21137 install-pdf-libdecnumber: \
21138 configure-libdecnumber \
21139 pdf-libdecnumber
21140 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143 $(HOST_EXPORTS) \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146 done; \
21147 echo "Doing install-pdf in libdecnumber" ; \
21148 (cd $(HOST_SUBDIR)/libdecnumber && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21153 install-pdf) \
21154 || exit 1
21156 @endif libdecnumber
21158 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21159 maybe-install-html-libdecnumber:
21160 @if libdecnumber
21161 maybe-install-html-libdecnumber: install-html-libdecnumber
21163 install-html-libdecnumber: \
21164 configure-libdecnumber \
21165 html-libdecnumber
21166 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21167 r=`${PWD_COMMAND}`; export r; \
21168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 $(HOST_EXPORTS) \
21170 for flag in $(EXTRA_HOST_FLAGS) ; do \
21171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21172 done; \
21173 echo "Doing install-html in libdecnumber" ; \
21174 (cd $(HOST_SUBDIR)/libdecnumber && \
21175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21177 "RANLIB=$${RANLIB}" \
21178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21179 install-html) \
21180 || exit 1
21182 @endif libdecnumber
21184 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21185 maybe-installcheck-libdecnumber:
21186 @if libdecnumber
21187 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21189 installcheck-libdecnumber: \
21190 configure-libdecnumber
21191 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21192 r=`${PWD_COMMAND}`; export r; \
21193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21194 $(HOST_EXPORTS) \
21195 for flag in $(EXTRA_HOST_FLAGS) ; do \
21196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21197 done; \
21198 echo "Doing installcheck in libdecnumber" ; \
21199 (cd $(HOST_SUBDIR)/libdecnumber && \
21200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21202 "RANLIB=$${RANLIB}" \
21203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21204 installcheck) \
21205 || exit 1
21207 @endif libdecnumber
21209 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21210 maybe-mostlyclean-libdecnumber:
21211 @if libdecnumber
21212 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21214 mostlyclean-libdecnumber:
21215 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21216 r=`${PWD_COMMAND}`; export r; \
21217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21218 $(HOST_EXPORTS) \
21219 for flag in $(EXTRA_HOST_FLAGS) ; do \
21220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21221 done; \
21222 echo "Doing mostlyclean in libdecnumber" ; \
21223 (cd $(HOST_SUBDIR)/libdecnumber && \
21224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21226 "RANLIB=$${RANLIB}" \
21227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21228 mostlyclean) \
21229 || exit 1
21231 @endif libdecnumber
21233 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21234 maybe-clean-libdecnumber:
21235 @if libdecnumber
21236 maybe-clean-libdecnumber: clean-libdecnumber
21238 clean-libdecnumber:
21239 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing clean in libdecnumber" ; \
21247 (cd $(HOST_SUBDIR)/libdecnumber && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21252 clean) \
21253 || exit 1
21255 @endif libdecnumber
21257 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21258 maybe-distclean-libdecnumber:
21259 @if libdecnumber
21260 maybe-distclean-libdecnumber: distclean-libdecnumber
21262 distclean-libdecnumber:
21263 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21264 r=`${PWD_COMMAND}`; export r; \
21265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21266 $(HOST_EXPORTS) \
21267 for flag in $(EXTRA_HOST_FLAGS) ; do \
21268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21269 done; \
21270 echo "Doing distclean in libdecnumber" ; \
21271 (cd $(HOST_SUBDIR)/libdecnumber && \
21272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21274 "RANLIB=$${RANLIB}" \
21275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21276 distclean) \
21277 || exit 1
21279 @endif libdecnumber
21281 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21282 maybe-maintainer-clean-libdecnumber:
21283 @if libdecnumber
21284 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21286 maintainer-clean-libdecnumber:
21287 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21288 r=`${PWD_COMMAND}`; export r; \
21289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21290 $(HOST_EXPORTS) \
21291 for flag in $(EXTRA_HOST_FLAGS) ; do \
21292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21293 done; \
21294 echo "Doing maintainer-clean in libdecnumber" ; \
21295 (cd $(HOST_SUBDIR)/libdecnumber && \
21296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21298 "RANLIB=$${RANLIB}" \
21299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21300 maintainer-clean) \
21301 || exit 1
21303 @endif libdecnumber
21307 .PHONY: configure-libgui maybe-configure-libgui
21308 maybe-configure-libgui:
21309 @if gcc-bootstrap
21310 configure-libgui: stage_current
21311 @endif gcc-bootstrap
21312 @if libgui
21313 maybe-configure-libgui: configure-libgui
21314 configure-libgui:
21315 @: $(MAKE); $(unstage)
21316 @r=`${PWD_COMMAND}`; export r; \
21317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21318 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21320 $(HOST_EXPORTS) \
21321 echo Configuring in $(HOST_SUBDIR)/libgui; \
21322 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21323 case $(srcdir) in \
21324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21325 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21327 esac; \
21328 srcdiroption="--srcdir=$${topdir}/libgui"; \
21329 libsrcdir="$$s/libgui"; \
21330 $(SHELL) $${libsrcdir}/configure \
21331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21332 --target=${target_alias} $${srcdiroption} \
21333 || exit 1
21334 @endif libgui
21340 .PHONY: all-libgui maybe-all-libgui
21341 maybe-all-libgui:
21342 @if gcc-bootstrap
21343 all-libgui: stage_current
21344 @endif gcc-bootstrap
21345 @if libgui
21346 TARGET-libgui=all
21347 maybe-all-libgui: all-libgui
21348 all-libgui: configure-libgui
21349 @: $(MAKE); $(unstage)
21350 @r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352 $(HOST_EXPORTS) \
21353 (cd $(HOST_SUBDIR)/libgui && \
21354 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21355 $(TARGET-libgui))
21356 @endif libgui
21361 .PHONY: check-libgui maybe-check-libgui
21362 maybe-check-libgui:
21363 @if libgui
21364 maybe-check-libgui: check-libgui
21366 check-libgui:
21367 @: $(MAKE); $(unstage)
21368 @r=`${PWD_COMMAND}`; export r; \
21369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21370 $(HOST_EXPORTS) \
21371 (cd $(HOST_SUBDIR)/libgui && \
21372 $(MAKE) $(FLAGS_TO_PASS) check)
21374 @endif libgui
21376 .PHONY: install-libgui maybe-install-libgui
21377 maybe-install-libgui:
21378 @if libgui
21379 maybe-install-libgui: install-libgui
21381 install-libgui: installdirs
21382 @: $(MAKE); $(unstage)
21383 @r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 $(HOST_EXPORTS) \
21386 (cd $(HOST_SUBDIR)/libgui && \
21387 $(MAKE) $(FLAGS_TO_PASS) install)
21389 @endif libgui
21391 .PHONY: install-strip-libgui maybe-install-strip-libgui
21392 maybe-install-strip-libgui:
21393 @if libgui
21394 maybe-install-strip-libgui: install-strip-libgui
21396 install-strip-libgui: installdirs
21397 @: $(MAKE); $(unstage)
21398 @r=`${PWD_COMMAND}`; export r; \
21399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 $(HOST_EXPORTS) \
21401 (cd $(HOST_SUBDIR)/libgui && \
21402 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21404 @endif libgui
21406 # Other targets (info, dvi, pdf, etc.)
21408 .PHONY: maybe-info-libgui info-libgui
21409 maybe-info-libgui:
21410 @if libgui
21411 maybe-info-libgui: info-libgui
21413 info-libgui: \
21414 configure-libgui
21415 @: $(MAKE); $(unstage)
21416 @[ -f ./libgui/Makefile ] || exit 0; \
21417 r=`${PWD_COMMAND}`; export r; \
21418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 $(HOST_EXPORTS) \
21420 for flag in $(EXTRA_HOST_FLAGS) ; do \
21421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422 done; \
21423 echo "Doing info in libgui" ; \
21424 (cd $(HOST_SUBDIR)/libgui && \
21425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21427 "RANLIB=$${RANLIB}" \
21428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21429 info) \
21430 || exit 1
21432 @endif libgui
21434 .PHONY: maybe-dvi-libgui dvi-libgui
21435 maybe-dvi-libgui:
21436 @if libgui
21437 maybe-dvi-libgui: dvi-libgui
21439 dvi-libgui: \
21440 configure-libgui
21441 @: $(MAKE); $(unstage)
21442 @[ -f ./libgui/Makefile ] || exit 0; \
21443 r=`${PWD_COMMAND}`; export r; \
21444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 $(HOST_EXPORTS) \
21446 for flag in $(EXTRA_HOST_FLAGS) ; do \
21447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21448 done; \
21449 echo "Doing dvi in libgui" ; \
21450 (cd $(HOST_SUBDIR)/libgui && \
21451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21453 "RANLIB=$${RANLIB}" \
21454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21455 dvi) \
21456 || exit 1
21458 @endif libgui
21460 .PHONY: maybe-pdf-libgui pdf-libgui
21461 maybe-pdf-libgui:
21462 @if libgui
21463 maybe-pdf-libgui: pdf-libgui
21465 pdf-libgui: \
21466 configure-libgui
21467 @: $(MAKE); $(unstage)
21468 @[ -f ./libgui/Makefile ] || exit 0; \
21469 r=`${PWD_COMMAND}`; export r; \
21470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21471 $(HOST_EXPORTS) \
21472 for flag in $(EXTRA_HOST_FLAGS) ; do \
21473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21474 done; \
21475 echo "Doing pdf in libgui" ; \
21476 (cd $(HOST_SUBDIR)/libgui && \
21477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21479 "RANLIB=$${RANLIB}" \
21480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21481 pdf) \
21482 || exit 1
21484 @endif libgui
21486 .PHONY: maybe-html-libgui html-libgui
21487 maybe-html-libgui:
21488 @if libgui
21489 maybe-html-libgui: html-libgui
21491 html-libgui: \
21492 configure-libgui
21493 @: $(MAKE); $(unstage)
21494 @[ -f ./libgui/Makefile ] || exit 0; \
21495 r=`${PWD_COMMAND}`; export r; \
21496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21497 $(HOST_EXPORTS) \
21498 for flag in $(EXTRA_HOST_FLAGS) ; do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21500 done; \
21501 echo "Doing html in libgui" ; \
21502 (cd $(HOST_SUBDIR)/libgui && \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21507 html) \
21508 || exit 1
21510 @endif libgui
21512 .PHONY: maybe-TAGS-libgui TAGS-libgui
21513 maybe-TAGS-libgui:
21514 @if libgui
21515 maybe-TAGS-libgui: TAGS-libgui
21517 TAGS-libgui: \
21518 configure-libgui
21519 @: $(MAKE); $(unstage)
21520 @[ -f ./libgui/Makefile ] || exit 0; \
21521 r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 $(HOST_EXPORTS) \
21524 for flag in $(EXTRA_HOST_FLAGS) ; do \
21525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21526 done; \
21527 echo "Doing TAGS in libgui" ; \
21528 (cd $(HOST_SUBDIR)/libgui && \
21529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21531 "RANLIB=$${RANLIB}" \
21532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21533 TAGS) \
21534 || exit 1
21536 @endif libgui
21538 .PHONY: maybe-install-info-libgui install-info-libgui
21539 maybe-install-info-libgui:
21540 @if libgui
21541 maybe-install-info-libgui: install-info-libgui
21543 install-info-libgui: \
21544 configure-libgui \
21545 info-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 install-info 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 install-info) \
21561 || exit 1
21563 @endif libgui
21565 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21566 maybe-install-pdf-libgui:
21567 @if libgui
21568 maybe-install-pdf-libgui: install-pdf-libgui
21570 install-pdf-libgui: \
21571 configure-libgui \
21572 pdf-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-pdf 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-pdf) \
21588 || exit 1
21590 @endif libgui
21592 .PHONY: maybe-install-html-libgui install-html-libgui
21593 maybe-install-html-libgui:
21594 @if libgui
21595 maybe-install-html-libgui: install-html-libgui
21597 install-html-libgui: \
21598 configure-libgui \
21599 html-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-html 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-html) \
21615 || exit 1
21617 @endif libgui
21619 .PHONY: maybe-installcheck-libgui installcheck-libgui
21620 maybe-installcheck-libgui:
21621 @if libgui
21622 maybe-installcheck-libgui: installcheck-libgui
21624 installcheck-libgui: \
21625 configure-libgui
21626 @: $(MAKE); $(unstage)
21627 @[ -f ./libgui/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 for flag in $(EXTRA_HOST_FLAGS) ; do \
21632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 done; \
21634 echo "Doing installcheck in libgui" ; \
21635 (cd $(HOST_SUBDIR)/libgui && \
21636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21638 "RANLIB=$${RANLIB}" \
21639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21640 installcheck) \
21641 || exit 1
21643 @endif libgui
21645 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21646 maybe-mostlyclean-libgui:
21647 @if libgui
21648 maybe-mostlyclean-libgui: mostlyclean-libgui
21650 mostlyclean-libgui:
21651 @: $(MAKE); $(unstage)
21652 @[ -f ./libgui/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing mostlyclean in libgui" ; \
21660 (cd $(HOST_SUBDIR)/libgui && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21665 mostlyclean) \
21666 || exit 1
21668 @endif libgui
21670 .PHONY: maybe-clean-libgui clean-libgui
21671 maybe-clean-libgui:
21672 @if libgui
21673 maybe-clean-libgui: clean-libgui
21675 clean-libgui:
21676 @: $(MAKE); $(unstage)
21677 @[ -f ./libgui/Makefile ] || exit 0; \
21678 r=`${PWD_COMMAND}`; export r; \
21679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21680 $(HOST_EXPORTS) \
21681 for flag in $(EXTRA_HOST_FLAGS) ; do \
21682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21683 done; \
21684 echo "Doing clean in libgui" ; \
21685 (cd $(HOST_SUBDIR)/libgui && \
21686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21688 "RANLIB=$${RANLIB}" \
21689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21690 clean) \
21691 || exit 1
21693 @endif libgui
21695 .PHONY: maybe-distclean-libgui distclean-libgui
21696 maybe-distclean-libgui:
21697 @if libgui
21698 maybe-distclean-libgui: distclean-libgui
21700 distclean-libgui:
21701 @: $(MAKE); $(unstage)
21702 @[ -f ./libgui/Makefile ] || exit 0; \
21703 r=`${PWD_COMMAND}`; export r; \
21704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21705 $(HOST_EXPORTS) \
21706 for flag in $(EXTRA_HOST_FLAGS) ; do \
21707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21708 done; \
21709 echo "Doing distclean in libgui" ; \
21710 (cd $(HOST_SUBDIR)/libgui && \
21711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21713 "RANLIB=$${RANLIB}" \
21714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21715 distclean) \
21716 || exit 1
21718 @endif libgui
21720 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21721 maybe-maintainer-clean-libgui:
21722 @if libgui
21723 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21725 maintainer-clean-libgui:
21726 @: $(MAKE); $(unstage)
21727 @[ -f ./libgui/Makefile ] || exit 0; \
21728 r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 $(HOST_EXPORTS) \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733 done; \
21734 echo "Doing maintainer-clean in libgui" ; \
21735 (cd $(HOST_SUBDIR)/libgui && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21740 maintainer-clean) \
21741 || exit 1
21743 @endif libgui
21747 .PHONY: configure-libiberty maybe-configure-libiberty
21748 maybe-configure-libiberty:
21749 @if gcc-bootstrap
21750 configure-libiberty: stage_current
21751 @endif gcc-bootstrap
21752 @if libiberty
21753 maybe-configure-libiberty: configure-libiberty
21754 configure-libiberty:
21755 @r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21759 $(HOST_EXPORTS) \
21760 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21761 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21762 case $(srcdir) in \
21763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21764 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21766 esac; \
21767 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21768 libsrcdir="$$s/libiberty"; \
21769 $(SHELL) $${libsrcdir}/configure \
21770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21771 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21772 || exit 1
21773 @endif libiberty
21777 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21778 maybe-configure-stage1-libiberty:
21779 @if libiberty-bootstrap
21780 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21781 configure-stage1-libiberty:
21782 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21784 @r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 TFLAGS="$(STAGE1_TFLAGS)"; \
21787 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21788 $(HOST_EXPORTS) \
21789 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21790 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21791 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21792 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21794 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21795 case $(srcdir) in \
21796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21797 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21799 esac; \
21800 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21801 libsrcdir="$$s/libiberty"; \
21802 $(SHELL) $${libsrcdir}/configure \
21803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21804 --target=${target_alias} $${srcdiroption} \
21805 $(STAGE1_CONFIGURE_FLAGS) \
21806 @extra_host_libiberty_configure_flags@
21807 @endif libiberty-bootstrap
21809 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21810 maybe-configure-stage2-libiberty:
21811 @if libiberty-bootstrap
21812 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21813 configure-stage2-libiberty:
21814 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21815 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21816 @r=`${PWD_COMMAND}`; export r; \
21817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21818 TFLAGS="$(STAGE2_TFLAGS)"; \
21819 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21820 $(HOST_EXPORTS) \
21821 $(POSTSTAGE1_HOST_EXPORTS) \
21822 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21823 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21824 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21825 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21827 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21828 case $(srcdir) in \
21829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21830 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21832 esac; \
21833 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21834 libsrcdir="$$s/libiberty"; \
21835 $(SHELL) $${libsrcdir}/configure \
21836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21837 --target=${target_alias} $${srcdiroption} \
21838 --with-build-libsubdir=$(HOST_SUBDIR) \
21839 $(STAGE2_CONFIGURE_FLAGS) \
21840 @extra_host_libiberty_configure_flags@
21841 @endif libiberty-bootstrap
21843 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21844 maybe-configure-stage3-libiberty:
21845 @if libiberty-bootstrap
21846 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21847 configure-stage3-libiberty:
21848 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21850 @r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 TFLAGS="$(STAGE3_TFLAGS)"; \
21853 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21854 $(HOST_EXPORTS) \
21855 $(POSTSTAGE1_HOST_EXPORTS) \
21856 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21857 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21858 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21859 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21861 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21862 case $(srcdir) in \
21863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21864 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21866 esac; \
21867 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21868 libsrcdir="$$s/libiberty"; \
21869 $(SHELL) $${libsrcdir}/configure \
21870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21871 --target=${target_alias} $${srcdiroption} \
21872 --with-build-libsubdir=$(HOST_SUBDIR) \
21873 $(STAGE3_CONFIGURE_FLAGS) \
21874 @extra_host_libiberty_configure_flags@
21875 @endif libiberty-bootstrap
21877 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21878 maybe-configure-stage4-libiberty:
21879 @if libiberty-bootstrap
21880 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21881 configure-stage4-libiberty:
21882 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21884 @r=`${PWD_COMMAND}`; export r; \
21885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886 TFLAGS="$(STAGE4_TFLAGS)"; \
21887 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21888 $(HOST_EXPORTS) \
21889 $(POSTSTAGE1_HOST_EXPORTS) \
21890 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21891 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21892 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21893 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21895 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21896 case $(srcdir) in \
21897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21898 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21900 esac; \
21901 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21902 libsrcdir="$$s/libiberty"; \
21903 $(SHELL) $${libsrcdir}/configure \
21904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21905 --target=${target_alias} $${srcdiroption} \
21906 --with-build-libsubdir=$(HOST_SUBDIR) \
21907 $(STAGE4_CONFIGURE_FLAGS) \
21908 @extra_host_libiberty_configure_flags@
21909 @endif libiberty-bootstrap
21911 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21912 maybe-configure-stageprofile-libiberty:
21913 @if libiberty-bootstrap
21914 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21915 configure-stageprofile-libiberty:
21916 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21918 @r=`${PWD_COMMAND}`; export r; \
21919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21920 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21921 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21922 $(HOST_EXPORTS) \
21923 $(POSTSTAGE1_HOST_EXPORTS) \
21924 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21925 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21926 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21927 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21929 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21930 case $(srcdir) in \
21931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21932 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21934 esac; \
21935 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21936 libsrcdir="$$s/libiberty"; \
21937 $(SHELL) $${libsrcdir}/configure \
21938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21939 --target=${target_alias} $${srcdiroption} \
21940 --with-build-libsubdir=$(HOST_SUBDIR) \
21941 $(STAGEprofile_CONFIGURE_FLAGS) \
21942 @extra_host_libiberty_configure_flags@
21943 @endif libiberty-bootstrap
21945 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21946 maybe-configure-stagefeedback-libiberty:
21947 @if libiberty-bootstrap
21948 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21949 configure-stagefeedback-libiberty:
21950 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21952 @r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21955 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21956 $(HOST_EXPORTS) \
21957 $(POSTSTAGE1_HOST_EXPORTS) \
21958 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21959 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21960 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21961 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21963 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21964 case $(srcdir) in \
21965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21966 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21968 esac; \
21969 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21970 libsrcdir="$$s/libiberty"; \
21971 $(SHELL) $${libsrcdir}/configure \
21972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21973 --target=${target_alias} $${srcdiroption} \
21974 --with-build-libsubdir=$(HOST_SUBDIR) \
21975 $(STAGEfeedback_CONFIGURE_FLAGS) \
21976 @extra_host_libiberty_configure_flags@
21977 @endif libiberty-bootstrap
21983 .PHONY: all-libiberty maybe-all-libiberty
21984 maybe-all-libiberty:
21985 @if gcc-bootstrap
21986 all-libiberty: stage_current
21987 @endif gcc-bootstrap
21988 @if libiberty
21989 TARGET-libiberty=all
21990 maybe-all-libiberty: all-libiberty
21991 all-libiberty: configure-libiberty
21992 @r=`${PWD_COMMAND}`; export r; \
21993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21994 $(HOST_EXPORTS) \
21995 (cd $(HOST_SUBDIR)/libiberty && \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21997 $(TARGET-libiberty))
21998 @endif libiberty
22002 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22003 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22004 maybe-all-stage1-libiberty:
22005 maybe-clean-stage1-libiberty:
22006 @if libiberty-bootstrap
22007 maybe-all-stage1-libiberty: all-stage1-libiberty
22008 all-stage1: all-stage1-libiberty
22009 TARGET-stage1-libiberty = $(TARGET-libiberty)
22010 all-stage1-libiberty: configure-stage1-libiberty
22011 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22012 @r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 TFLAGS="$(STAGE1_TFLAGS)"; \
22015 $(HOST_EXPORTS) \
22016 cd $(HOST_SUBDIR)/libiberty && \
22017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22018 CFLAGS="$(STAGE1_CFLAGS)" \
22019 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22020 LIBCFLAGS="$(LIBCFLAGS)" \
22021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22024 $(EXTRA_HOST_FLAGS) \
22025 TFLAGS="$(STAGE1_TFLAGS)" \
22026 $(TARGET-stage1-libiberty)
22028 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22029 clean-stage1: clean-stage1-libiberty
22030 clean-stage1-libiberty:
22031 @if [ $(current_stage) = stage1 ]; then \
22032 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22033 else \
22034 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22035 $(MAKE) stage1-start; \
22036 fi; \
22037 cd $(HOST_SUBDIR)/libiberty && \
22038 $(MAKE) $(EXTRA_HOST_FLAGS) \
22039 clean
22040 @endif libiberty-bootstrap
22043 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22044 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22045 maybe-all-stage2-libiberty:
22046 maybe-clean-stage2-libiberty:
22047 @if libiberty-bootstrap
22048 maybe-all-stage2-libiberty: all-stage2-libiberty
22049 all-stage2: all-stage2-libiberty
22050 TARGET-stage2-libiberty = $(TARGET-libiberty)
22051 all-stage2-libiberty: configure-stage2-libiberty
22052 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22053 @r=`${PWD_COMMAND}`; export r; \
22054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22055 TFLAGS="$(STAGE2_TFLAGS)"; \
22056 $(HOST_EXPORTS) \
22057 $(POSTSTAGE1_HOST_EXPORTS) \
22058 cd $(HOST_SUBDIR)/libiberty && \
22059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22060 CFLAGS="$(STAGE2_CFLAGS)" \
22061 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22062 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22067 TFLAGS="$(STAGE2_TFLAGS)" \
22068 $(TARGET-stage2-libiberty)
22070 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22071 clean-stage2: clean-stage2-libiberty
22072 clean-stage2-libiberty:
22073 @if [ $(current_stage) = stage2 ]; then \
22074 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22075 else \
22076 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22077 $(MAKE) stage2-start; \
22078 fi; \
22079 cd $(HOST_SUBDIR)/libiberty && \
22080 $(MAKE) $(EXTRA_HOST_FLAGS) \
22081 $(POSTSTAGE1_FLAGS_TO_PASS) \
22082 clean
22083 @endif libiberty-bootstrap
22086 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22087 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22088 maybe-all-stage3-libiberty:
22089 maybe-clean-stage3-libiberty:
22090 @if libiberty-bootstrap
22091 maybe-all-stage3-libiberty: all-stage3-libiberty
22092 all-stage3: all-stage3-libiberty
22093 TARGET-stage3-libiberty = $(TARGET-libiberty)
22094 all-stage3-libiberty: configure-stage3-libiberty
22095 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22096 @r=`${PWD_COMMAND}`; export r; \
22097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22098 TFLAGS="$(STAGE3_TFLAGS)"; \
22099 $(HOST_EXPORTS) \
22100 $(POSTSTAGE1_HOST_EXPORTS) \
22101 cd $(HOST_SUBDIR)/libiberty && \
22102 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22103 CFLAGS="$(STAGE3_CFLAGS)" \
22104 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22105 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22106 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22107 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22108 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22109 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22110 TFLAGS="$(STAGE3_TFLAGS)" \
22111 $(TARGET-stage3-libiberty)
22113 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22114 clean-stage3: clean-stage3-libiberty
22115 clean-stage3-libiberty:
22116 @if [ $(current_stage) = stage3 ]; then \
22117 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22118 else \
22119 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22120 $(MAKE) stage3-start; \
22121 fi; \
22122 cd $(HOST_SUBDIR)/libiberty && \
22123 $(MAKE) $(EXTRA_HOST_FLAGS) \
22124 $(POSTSTAGE1_FLAGS_TO_PASS) \
22125 clean
22126 @endif libiberty-bootstrap
22129 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22130 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22131 maybe-all-stage4-libiberty:
22132 maybe-clean-stage4-libiberty:
22133 @if libiberty-bootstrap
22134 maybe-all-stage4-libiberty: all-stage4-libiberty
22135 all-stage4: all-stage4-libiberty
22136 TARGET-stage4-libiberty = $(TARGET-libiberty)
22137 all-stage4-libiberty: configure-stage4-libiberty
22138 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 TFLAGS="$(STAGE4_TFLAGS)"; \
22142 $(HOST_EXPORTS) \
22143 $(POSTSTAGE1_HOST_EXPORTS) \
22144 cd $(HOST_SUBDIR)/libiberty && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22146 CFLAGS="$(STAGE4_CFLAGS)" \
22147 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22148 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22152 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22153 TFLAGS="$(STAGE4_TFLAGS)" \
22154 $(TARGET-stage4-libiberty)
22156 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22157 clean-stage4: clean-stage4-libiberty
22158 clean-stage4-libiberty:
22159 @if [ $(current_stage) = stage4 ]; then \
22160 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22161 else \
22162 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22163 $(MAKE) stage4-start; \
22164 fi; \
22165 cd $(HOST_SUBDIR)/libiberty && \
22166 $(MAKE) $(EXTRA_HOST_FLAGS) \
22167 $(POSTSTAGE1_FLAGS_TO_PASS) \
22168 clean
22169 @endif libiberty-bootstrap
22172 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22173 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22174 maybe-all-stageprofile-libiberty:
22175 maybe-clean-stageprofile-libiberty:
22176 @if libiberty-bootstrap
22177 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22178 all-stageprofile: all-stageprofile-libiberty
22179 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22180 all-stageprofile-libiberty: configure-stageprofile-libiberty
22181 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22182 @r=`${PWD_COMMAND}`; export r; \
22183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22185 $(HOST_EXPORTS) \
22186 $(POSTSTAGE1_HOST_EXPORTS) \
22187 cd $(HOST_SUBDIR)/libiberty && \
22188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22189 CFLAGS="$(STAGEprofile_CFLAGS)" \
22190 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22191 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22195 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22196 TFLAGS="$(STAGEprofile_TFLAGS)" \
22197 $(TARGET-stageprofile-libiberty)
22199 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22200 clean-stageprofile: clean-stageprofile-libiberty
22201 clean-stageprofile-libiberty:
22202 @if [ $(current_stage) = stageprofile ]; then \
22203 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22204 else \
22205 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22206 $(MAKE) stageprofile-start; \
22207 fi; \
22208 cd $(HOST_SUBDIR)/libiberty && \
22209 $(MAKE) $(EXTRA_HOST_FLAGS) \
22210 $(POSTSTAGE1_FLAGS_TO_PASS) \
22211 clean
22212 @endif libiberty-bootstrap
22215 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22216 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22217 maybe-all-stagefeedback-libiberty:
22218 maybe-clean-stagefeedback-libiberty:
22219 @if libiberty-bootstrap
22220 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22221 all-stagefeedback: all-stagefeedback-libiberty
22222 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22223 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22224 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22225 @r=`${PWD_COMMAND}`; export r; \
22226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22228 $(HOST_EXPORTS) \
22229 $(POSTSTAGE1_HOST_EXPORTS) \
22230 cd $(HOST_SUBDIR)/libiberty && \
22231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22232 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22233 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22234 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22239 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22240 $(TARGET-stagefeedback-libiberty)
22242 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22243 clean-stagefeedback: clean-stagefeedback-libiberty
22244 clean-stagefeedback-libiberty:
22245 @if [ $(current_stage) = stagefeedback ]; then \
22246 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22247 else \
22248 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22249 $(MAKE) stagefeedback-start; \
22250 fi; \
22251 cd $(HOST_SUBDIR)/libiberty && \
22252 $(MAKE) $(EXTRA_HOST_FLAGS) \
22253 $(POSTSTAGE1_FLAGS_TO_PASS) \
22254 clean
22255 @endif libiberty-bootstrap
22261 .PHONY: check-libiberty maybe-check-libiberty
22262 maybe-check-libiberty:
22263 @if libiberty
22264 maybe-check-libiberty: check-libiberty
22266 check-libiberty:
22267 @: $(MAKE); $(unstage)
22268 @r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270 $(HOST_EXPORTS) \
22271 (cd $(HOST_SUBDIR)/libiberty && \
22272 $(MAKE) $(FLAGS_TO_PASS) check)
22274 @endif libiberty
22276 .PHONY: install-libiberty maybe-install-libiberty
22277 maybe-install-libiberty:
22278 @if libiberty
22279 maybe-install-libiberty: install-libiberty
22281 install-libiberty: installdirs
22282 @: $(MAKE); $(unstage)
22283 @r=`${PWD_COMMAND}`; export r; \
22284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 $(HOST_EXPORTS) \
22286 (cd $(HOST_SUBDIR)/libiberty && \
22287 $(MAKE) $(FLAGS_TO_PASS) install)
22289 @endif libiberty
22291 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22292 maybe-install-strip-libiberty:
22293 @if libiberty
22294 maybe-install-strip-libiberty: install-strip-libiberty
22296 install-strip-libiberty: installdirs
22297 @: $(MAKE); $(unstage)
22298 @r=`${PWD_COMMAND}`; export r; \
22299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22300 $(HOST_EXPORTS) \
22301 (cd $(HOST_SUBDIR)/libiberty && \
22302 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22304 @endif libiberty
22306 # Other targets (info, dvi, pdf, etc.)
22308 .PHONY: maybe-info-libiberty info-libiberty
22309 maybe-info-libiberty:
22310 @if libiberty
22311 maybe-info-libiberty: info-libiberty
22313 info-libiberty: \
22314 configure-libiberty
22315 @[ -f ./libiberty/Makefile ] || exit 0; \
22316 r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318 $(HOST_EXPORTS) \
22319 for flag in $(EXTRA_HOST_FLAGS) ; do \
22320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22321 done; \
22322 echo "Doing info in libiberty" ; \
22323 (cd $(HOST_SUBDIR)/libiberty && \
22324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22326 "RANLIB=$${RANLIB}" \
22327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22328 info) \
22329 || exit 1
22331 @endif libiberty
22333 .PHONY: maybe-dvi-libiberty dvi-libiberty
22334 maybe-dvi-libiberty:
22335 @if libiberty
22336 maybe-dvi-libiberty: dvi-libiberty
22338 dvi-libiberty: \
22339 configure-libiberty
22340 @[ -f ./libiberty/Makefile ] || exit 0; \
22341 r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22343 $(HOST_EXPORTS) \
22344 for flag in $(EXTRA_HOST_FLAGS) ; do \
22345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22346 done; \
22347 echo "Doing dvi in libiberty" ; \
22348 (cd $(HOST_SUBDIR)/libiberty && \
22349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22351 "RANLIB=$${RANLIB}" \
22352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22353 dvi) \
22354 || exit 1
22356 @endif libiberty
22358 .PHONY: maybe-pdf-libiberty pdf-libiberty
22359 maybe-pdf-libiberty:
22360 @if libiberty
22361 maybe-pdf-libiberty: pdf-libiberty
22363 pdf-libiberty: \
22364 configure-libiberty
22365 @[ -f ./libiberty/Makefile ] || exit 0; \
22366 r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368 $(HOST_EXPORTS) \
22369 for flag in $(EXTRA_HOST_FLAGS) ; do \
22370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22371 done; \
22372 echo "Doing pdf in libiberty" ; \
22373 (cd $(HOST_SUBDIR)/libiberty && \
22374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22376 "RANLIB=$${RANLIB}" \
22377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22378 pdf) \
22379 || exit 1
22381 @endif libiberty
22383 .PHONY: maybe-html-libiberty html-libiberty
22384 maybe-html-libiberty:
22385 @if libiberty
22386 maybe-html-libiberty: html-libiberty
22388 html-libiberty: \
22389 configure-libiberty
22390 @[ -f ./libiberty/Makefile ] || exit 0; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(HOST_EXPORTS) \
22394 for flag in $(EXTRA_HOST_FLAGS) ; do \
22395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22396 done; \
22397 echo "Doing html in libiberty" ; \
22398 (cd $(HOST_SUBDIR)/libiberty && \
22399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22401 "RANLIB=$${RANLIB}" \
22402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22403 html) \
22404 || exit 1
22406 @endif libiberty
22408 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22409 maybe-TAGS-libiberty:
22410 @if libiberty
22411 maybe-TAGS-libiberty: TAGS-libiberty
22413 TAGS-libiberty: \
22414 configure-libiberty
22415 @[ -f ./libiberty/Makefile ] || exit 0; \
22416 r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 for flag in $(EXTRA_HOST_FLAGS) ; do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 done; \
22422 echo "Doing TAGS in libiberty" ; \
22423 (cd $(HOST_SUBDIR)/libiberty && \
22424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22426 "RANLIB=$${RANLIB}" \
22427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22428 TAGS) \
22429 || exit 1
22431 @endif libiberty
22433 .PHONY: maybe-install-info-libiberty install-info-libiberty
22434 maybe-install-info-libiberty:
22435 @if libiberty
22436 maybe-install-info-libiberty: install-info-libiberty
22438 install-info-libiberty: \
22439 configure-libiberty \
22440 info-libiberty
22441 @[ -f ./libiberty/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 $(HOST_EXPORTS) \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 done; \
22448 echo "Doing install-info in libiberty" ; \
22449 (cd $(HOST_SUBDIR)/libiberty && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22454 install-info) \
22455 || exit 1
22457 @endif libiberty
22459 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22460 maybe-install-pdf-libiberty:
22461 @if libiberty
22462 maybe-install-pdf-libiberty: install-pdf-libiberty
22464 install-pdf-libiberty: \
22465 configure-libiberty \
22466 pdf-libiberty
22467 @[ -f ./libiberty/Makefile ] || exit 0; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 for flag in $(EXTRA_HOST_FLAGS) ; do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 echo "Doing install-pdf in libiberty" ; \
22475 (cd $(HOST_SUBDIR)/libiberty && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22480 install-pdf) \
22481 || exit 1
22483 @endif libiberty
22485 .PHONY: maybe-install-html-libiberty install-html-libiberty
22486 maybe-install-html-libiberty:
22487 @if libiberty
22488 maybe-install-html-libiberty: install-html-libiberty
22490 install-html-libiberty: \
22491 configure-libiberty \
22492 html-libiberty
22493 @[ -f ./libiberty/Makefile ] || exit 0; \
22494 r=`${PWD_COMMAND}`; export r; \
22495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22496 $(HOST_EXPORTS) \
22497 for flag in $(EXTRA_HOST_FLAGS) ; do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499 done; \
22500 echo "Doing install-html in libiberty" ; \
22501 (cd $(HOST_SUBDIR)/libiberty && \
22502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22504 "RANLIB=$${RANLIB}" \
22505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22506 install-html) \
22507 || exit 1
22509 @endif libiberty
22511 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22512 maybe-installcheck-libiberty:
22513 @if libiberty
22514 maybe-installcheck-libiberty: installcheck-libiberty
22516 installcheck-libiberty: \
22517 configure-libiberty
22518 @[ -f ./libiberty/Makefile ] || exit 0; \
22519 r=`${PWD_COMMAND}`; export r; \
22520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 $(HOST_EXPORTS) \
22522 for flag in $(EXTRA_HOST_FLAGS) ; do \
22523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22524 done; \
22525 echo "Doing installcheck in libiberty" ; \
22526 (cd $(HOST_SUBDIR)/libiberty && \
22527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22529 "RANLIB=$${RANLIB}" \
22530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22531 installcheck) \
22532 || exit 1
22534 @endif libiberty
22536 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22537 maybe-mostlyclean-libiberty:
22538 @if libiberty
22539 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22541 mostlyclean-libiberty:
22542 @[ -f ./libiberty/Makefile ] || exit 0; \
22543 r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 $(HOST_EXPORTS) \
22546 for flag in $(EXTRA_HOST_FLAGS) ; do \
22547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22548 done; \
22549 echo "Doing mostlyclean in libiberty" ; \
22550 (cd $(HOST_SUBDIR)/libiberty && \
22551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22553 "RANLIB=$${RANLIB}" \
22554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22555 mostlyclean) \
22556 || exit 1
22558 @endif libiberty
22560 .PHONY: maybe-clean-libiberty clean-libiberty
22561 maybe-clean-libiberty:
22562 @if libiberty
22563 maybe-clean-libiberty: clean-libiberty
22565 clean-libiberty:
22566 @[ -f ./libiberty/Makefile ] || exit 0; \
22567 r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(HOST_EXPORTS) \
22570 for flag in $(EXTRA_HOST_FLAGS) ; do \
22571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572 done; \
22573 echo "Doing clean in libiberty" ; \
22574 (cd $(HOST_SUBDIR)/libiberty && \
22575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22577 "RANLIB=$${RANLIB}" \
22578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22579 clean) \
22580 || exit 1
22582 @endif libiberty
22584 .PHONY: maybe-distclean-libiberty distclean-libiberty
22585 maybe-distclean-libiberty:
22586 @if libiberty
22587 maybe-distclean-libiberty: distclean-libiberty
22589 distclean-libiberty:
22590 @[ -f ./libiberty/Makefile ] || exit 0; \
22591 r=`${PWD_COMMAND}`; export r; \
22592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 $(HOST_EXPORTS) \
22594 for flag in $(EXTRA_HOST_FLAGS) ; do \
22595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22596 done; \
22597 echo "Doing distclean in libiberty" ; \
22598 (cd $(HOST_SUBDIR)/libiberty && \
22599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22601 "RANLIB=$${RANLIB}" \
22602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22603 distclean) \
22604 || exit 1
22606 @endif libiberty
22608 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22609 maybe-maintainer-clean-libiberty:
22610 @if libiberty
22611 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22613 maintainer-clean-libiberty:
22614 @[ -f ./libiberty/Makefile ] || exit 0; \
22615 r=`${PWD_COMMAND}`; export r; \
22616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22617 $(HOST_EXPORTS) \
22618 for flag in $(EXTRA_HOST_FLAGS) ; do \
22619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22620 done; \
22621 echo "Doing maintainer-clean in libiberty" ; \
22622 (cd $(HOST_SUBDIR)/libiberty && \
22623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22625 "RANLIB=$${RANLIB}" \
22626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22627 maintainer-clean) \
22628 || exit 1
22630 @endif libiberty
22634 .PHONY: configure-libiconv maybe-configure-libiconv
22635 maybe-configure-libiconv:
22636 @if gcc-bootstrap
22637 configure-libiconv: stage_current
22638 @endif gcc-bootstrap
22639 @if libiconv
22640 maybe-configure-libiconv: configure-libiconv
22641 configure-libiconv:
22642 @: $(MAKE); $(unstage)
22643 @r=`${PWD_COMMAND}`; export r; \
22644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22645 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22647 $(HOST_EXPORTS) \
22648 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22649 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22650 case $(srcdir) in \
22651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22652 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22654 esac; \
22655 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22656 libsrcdir="$$s/libiconv"; \
22657 $(SHELL) $${libsrcdir}/configure \
22658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22659 --target=${target_alias} $${srcdiroption} --disable-shared \
22660 || exit 1
22661 @endif libiconv
22667 .PHONY: all-libiconv maybe-all-libiconv
22668 maybe-all-libiconv:
22669 @if gcc-bootstrap
22670 all-libiconv: stage_current
22671 @endif gcc-bootstrap
22672 @if libiconv
22673 TARGET-libiconv=all
22674 maybe-all-libiconv: all-libiconv
22675 all-libiconv: configure-libiconv
22676 @: $(MAKE); $(unstage)
22677 @r=`${PWD_COMMAND}`; export r; \
22678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22679 $(HOST_EXPORTS) \
22680 (cd $(HOST_SUBDIR)/libiconv && \
22681 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22682 $(TARGET-libiconv))
22683 @endif libiconv
22688 .PHONY: check-libiconv maybe-check-libiconv
22689 maybe-check-libiconv:
22690 @if libiconv
22691 maybe-check-libiconv: check-libiconv
22693 check-libiconv:
22694 @: $(MAKE); $(unstage)
22695 @r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(HOST_EXPORTS) \
22698 (cd $(HOST_SUBDIR)/libiconv && \
22699 $(MAKE) $(FLAGS_TO_PASS) check)
22701 @endif libiconv
22703 .PHONY: install-libiconv maybe-install-libiconv
22704 maybe-install-libiconv:
22705 @if libiconv
22706 maybe-install-libiconv: install-libiconv
22708 install-libiconv:
22710 @endif libiconv
22712 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22713 maybe-install-strip-libiconv:
22714 @if libiconv
22715 maybe-install-strip-libiconv: install-strip-libiconv
22717 install-strip-libiconv:
22719 @endif libiconv
22721 # Other targets (info, dvi, pdf, etc.)
22723 .PHONY: maybe-info-libiconv info-libiconv
22724 maybe-info-libiconv:
22725 @if libiconv
22726 maybe-info-libiconv: info-libiconv
22728 info-libiconv: \
22729 configure-libiconv
22730 @: $(MAKE); $(unstage)
22731 @[ -f ./libiconv/Makefile ] || exit 0; \
22732 r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 $(HOST_EXPORTS) \
22735 for flag in $(EXTRA_HOST_FLAGS) ; do \
22736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22737 done; \
22738 echo "Doing info in libiconv" ; \
22739 (cd $(HOST_SUBDIR)/libiconv && \
22740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22742 "RANLIB=$${RANLIB}" \
22743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22744 info) \
22745 || exit 1
22747 @endif libiconv
22749 .PHONY: maybe-dvi-libiconv dvi-libiconv
22750 maybe-dvi-libiconv:
22751 @if libiconv
22752 maybe-dvi-libiconv: dvi-libiconv
22754 dvi-libiconv: \
22755 configure-libiconv
22756 @: $(MAKE); $(unstage)
22757 @[ -f ./libiconv/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing dvi in libiconv" ; \
22765 (cd $(HOST_SUBDIR)/libiconv && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22770 dvi) \
22771 || exit 1
22773 @endif libiconv
22775 .PHONY: maybe-pdf-libiconv pdf-libiconv
22776 maybe-pdf-libiconv:
22777 @if libiconv
22778 maybe-pdf-libiconv: pdf-libiconv
22780 pdf-libiconv: \
22781 configure-libiconv
22782 @: $(MAKE); $(unstage)
22783 @[ -f ./libiconv/Makefile ] || exit 0; \
22784 r=`${PWD_COMMAND}`; export r; \
22785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 $(HOST_EXPORTS) \
22787 for flag in $(EXTRA_HOST_FLAGS) ; do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 echo "Doing pdf in libiconv" ; \
22791 (cd $(HOST_SUBDIR)/libiconv && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22796 pdf) \
22797 || exit 1
22799 @endif libiconv
22801 .PHONY: maybe-html-libiconv html-libiconv
22802 maybe-html-libiconv:
22803 @if libiconv
22804 maybe-html-libiconv: html-libiconv
22806 html-libiconv: \
22807 configure-libiconv
22808 @: $(MAKE); $(unstage)
22809 @[ -f ./libiconv/Makefile ] || exit 0; \
22810 r=`${PWD_COMMAND}`; export r; \
22811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22812 $(HOST_EXPORTS) \
22813 for flag in $(EXTRA_HOST_FLAGS) ; do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 done; \
22816 echo "Doing html in libiconv" ; \
22817 (cd $(HOST_SUBDIR)/libiconv && \
22818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22820 "RANLIB=$${RANLIB}" \
22821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22822 html) \
22823 || exit 1
22825 @endif libiconv
22827 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22828 maybe-TAGS-libiconv:
22829 @if libiconv
22830 maybe-TAGS-libiconv: TAGS-libiconv
22832 TAGS-libiconv: \
22833 configure-libiconv
22834 @: $(MAKE); $(unstage)
22835 @[ -f ./libiconv/Makefile ] || exit 0; \
22836 r=`${PWD_COMMAND}`; export r; \
22837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22838 $(HOST_EXPORTS) \
22839 for flag in $(EXTRA_HOST_FLAGS) ; do \
22840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22841 done; \
22842 echo "Doing TAGS in libiconv" ; \
22843 (cd $(HOST_SUBDIR)/libiconv && \
22844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22846 "RANLIB=$${RANLIB}" \
22847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22848 TAGS) \
22849 || exit 1
22851 @endif libiconv
22853 .PHONY: maybe-install-info-libiconv install-info-libiconv
22854 maybe-install-info-libiconv:
22855 @if libiconv
22856 maybe-install-info-libiconv: install-info-libiconv
22858 # libiconv doesn't support install-info.
22859 install-info-libiconv:
22861 @endif libiconv
22863 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22864 maybe-install-pdf-libiconv:
22865 @if libiconv
22866 maybe-install-pdf-libiconv: install-pdf-libiconv
22868 # libiconv doesn't support install-pdf.
22869 install-pdf-libiconv:
22871 @endif libiconv
22873 .PHONY: maybe-install-html-libiconv install-html-libiconv
22874 maybe-install-html-libiconv:
22875 @if libiconv
22876 maybe-install-html-libiconv: install-html-libiconv
22878 # libiconv doesn't support install-html.
22879 install-html-libiconv:
22881 @endif libiconv
22883 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22884 maybe-installcheck-libiconv:
22885 @if libiconv
22886 maybe-installcheck-libiconv: installcheck-libiconv
22888 installcheck-libiconv: \
22889 configure-libiconv
22890 @: $(MAKE); $(unstage)
22891 @[ -f ./libiconv/Makefile ] || exit 0; \
22892 r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 $(HOST_EXPORTS) \
22895 for flag in $(EXTRA_HOST_FLAGS) ; do \
22896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22897 done; \
22898 echo "Doing installcheck in libiconv" ; \
22899 (cd $(HOST_SUBDIR)/libiconv && \
22900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22902 "RANLIB=$${RANLIB}" \
22903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22904 installcheck) \
22905 || exit 1
22907 @endif libiconv
22909 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22910 maybe-mostlyclean-libiconv:
22911 @if libiconv
22912 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22914 mostlyclean-libiconv:
22915 @: $(MAKE); $(unstage)
22916 @[ -f ./libiconv/Makefile ] || exit 0; \
22917 r=`${PWD_COMMAND}`; export r; \
22918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22919 $(HOST_EXPORTS) \
22920 for flag in $(EXTRA_HOST_FLAGS) ; do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922 done; \
22923 echo "Doing mostlyclean in libiconv" ; \
22924 (cd $(HOST_SUBDIR)/libiconv && \
22925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22927 "RANLIB=$${RANLIB}" \
22928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22929 mostlyclean) \
22930 || exit 1
22932 @endif libiconv
22934 .PHONY: maybe-clean-libiconv clean-libiconv
22935 maybe-clean-libiconv:
22936 @if libiconv
22937 maybe-clean-libiconv: clean-libiconv
22939 clean-libiconv:
22940 @: $(MAKE); $(unstage)
22941 @[ -f ./libiconv/Makefile ] || exit 0; \
22942 r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 $(HOST_EXPORTS) \
22945 for flag in $(EXTRA_HOST_FLAGS) ; do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947 done; \
22948 echo "Doing clean in libiconv" ; \
22949 (cd $(HOST_SUBDIR)/libiconv && \
22950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22952 "RANLIB=$${RANLIB}" \
22953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22954 clean) \
22955 || exit 1
22957 @endif libiconv
22959 .PHONY: maybe-distclean-libiconv distclean-libiconv
22960 maybe-distclean-libiconv:
22961 @if libiconv
22962 maybe-distclean-libiconv: distclean-libiconv
22964 distclean-libiconv:
22965 @: $(MAKE); $(unstage)
22966 @[ -f ./libiconv/Makefile ] || exit 0; \
22967 r=`${PWD_COMMAND}`; export r; \
22968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22969 $(HOST_EXPORTS) \
22970 for flag in $(EXTRA_HOST_FLAGS) ; do \
22971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972 done; \
22973 echo "Doing distclean in libiconv" ; \
22974 (cd $(HOST_SUBDIR)/libiconv && \
22975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22977 "RANLIB=$${RANLIB}" \
22978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22979 distclean) \
22980 || exit 1
22982 @endif libiconv
22984 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
22985 maybe-maintainer-clean-libiconv:
22986 @if libiconv
22987 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
22989 maintainer-clean-libiconv:
22990 @: $(MAKE); $(unstage)
22991 @[ -f ./libiconv/Makefile ] || exit 0; \
22992 r=`${PWD_COMMAND}`; export r; \
22993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22994 $(HOST_EXPORTS) \
22995 for flag in $(EXTRA_HOST_FLAGS) ; do \
22996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997 done; \
22998 echo "Doing maintainer-clean in libiconv" ; \
22999 (cd $(HOST_SUBDIR)/libiconv && \
23000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23002 "RANLIB=$${RANLIB}" \
23003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23004 maintainer-clean) \
23005 || exit 1
23007 @endif libiconv
23011 .PHONY: configure-m4 maybe-configure-m4
23012 maybe-configure-m4:
23013 @if gcc-bootstrap
23014 configure-m4: stage_current
23015 @endif gcc-bootstrap
23016 @if m4
23017 maybe-configure-m4: configure-m4
23018 configure-m4:
23019 @: $(MAKE); $(unstage)
23020 @r=`${PWD_COMMAND}`; export r; \
23021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23022 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23024 $(HOST_EXPORTS) \
23025 echo Configuring in $(HOST_SUBDIR)/m4; \
23026 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23027 case $(srcdir) in \
23028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23029 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23031 esac; \
23032 srcdiroption="--srcdir=$${topdir}/m4"; \
23033 libsrcdir="$$s/m4"; \
23034 $(SHELL) $${libsrcdir}/configure \
23035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23036 --target=${target_alias} $${srcdiroption} \
23037 || exit 1
23038 @endif m4
23044 .PHONY: all-m4 maybe-all-m4
23045 maybe-all-m4:
23046 @if gcc-bootstrap
23047 all-m4: stage_current
23048 @endif gcc-bootstrap
23049 @if m4
23050 TARGET-m4=all
23051 maybe-all-m4: all-m4
23052 all-m4: configure-m4
23053 @: $(MAKE); $(unstage)
23054 @r=`${PWD_COMMAND}`; export r; \
23055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 $(HOST_EXPORTS) \
23057 (cd $(HOST_SUBDIR)/m4 && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23059 $(TARGET-m4))
23060 @endif m4
23065 .PHONY: check-m4 maybe-check-m4
23066 maybe-check-m4:
23067 @if m4
23068 maybe-check-m4: check-m4
23070 check-m4:
23071 @: $(MAKE); $(unstage)
23072 @r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 $(HOST_EXPORTS) \
23075 (cd $(HOST_SUBDIR)/m4 && \
23076 $(MAKE) $(FLAGS_TO_PASS) check)
23078 @endif m4
23080 .PHONY: install-m4 maybe-install-m4
23081 maybe-install-m4:
23082 @if m4
23083 maybe-install-m4: install-m4
23085 install-m4: installdirs
23086 @: $(MAKE); $(unstage)
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 (cd $(HOST_SUBDIR)/m4 && \
23091 $(MAKE) $(FLAGS_TO_PASS) install)
23093 @endif m4
23095 .PHONY: install-strip-m4 maybe-install-strip-m4
23096 maybe-install-strip-m4:
23097 @if m4
23098 maybe-install-strip-m4: install-strip-m4
23100 install-strip-m4: installdirs
23101 @: $(MAKE); $(unstage)
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 (cd $(HOST_SUBDIR)/m4 && \
23106 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23108 @endif m4
23110 # Other targets (info, dvi, pdf, etc.)
23112 .PHONY: maybe-info-m4 info-m4
23113 maybe-info-m4:
23114 @if m4
23115 maybe-info-m4: info-m4
23117 info-m4: \
23118 configure-m4
23119 @: $(MAKE); $(unstage)
23120 @[ -f ./m4/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 $(HOST_EXPORTS) \
23124 for flag in $(EXTRA_HOST_FLAGS) ; do \
23125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23126 done; \
23127 echo "Doing info in m4" ; \
23128 (cd $(HOST_SUBDIR)/m4 && \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23133 info) \
23134 || exit 1
23136 @endif m4
23138 .PHONY: maybe-dvi-m4 dvi-m4
23139 maybe-dvi-m4:
23140 @if m4
23141 maybe-dvi-m4: dvi-m4
23143 dvi-m4: \
23144 configure-m4
23145 @: $(MAKE); $(unstage)
23146 @[ -f ./m4/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(HOST_EXPORTS) \
23150 for flag in $(EXTRA_HOST_FLAGS) ; do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 done; \
23153 echo "Doing dvi in m4" ; \
23154 (cd $(HOST_SUBDIR)/m4 && \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23159 dvi) \
23160 || exit 1
23162 @endif m4
23164 .PHONY: maybe-pdf-m4 pdf-m4
23165 maybe-pdf-m4:
23166 @if m4
23167 maybe-pdf-m4: pdf-m4
23169 pdf-m4: \
23170 configure-m4
23171 @: $(MAKE); $(unstage)
23172 @[ -f ./m4/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) ; do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing pdf in m4" ; \
23180 (cd $(HOST_SUBDIR)/m4 && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23185 pdf) \
23186 || exit 1
23188 @endif m4
23190 .PHONY: maybe-html-m4 html-m4
23191 maybe-html-m4:
23192 @if m4
23193 maybe-html-m4: html-m4
23195 html-m4: \
23196 configure-m4
23197 @: $(MAKE); $(unstage)
23198 @[ -f ./m4/Makefile ] || exit 0; \
23199 r=`${PWD_COMMAND}`; export r; \
23200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23201 $(HOST_EXPORTS) \
23202 for flag in $(EXTRA_HOST_FLAGS) ; do \
23203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23204 done; \
23205 echo "Doing html in m4" ; \
23206 (cd $(HOST_SUBDIR)/m4 && \
23207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23209 "RANLIB=$${RANLIB}" \
23210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23211 html) \
23212 || exit 1
23214 @endif m4
23216 .PHONY: maybe-TAGS-m4 TAGS-m4
23217 maybe-TAGS-m4:
23218 @if m4
23219 maybe-TAGS-m4: TAGS-m4
23221 TAGS-m4: \
23222 configure-m4
23223 @: $(MAKE); $(unstage)
23224 @[ -f ./m4/Makefile ] || exit 0; \
23225 r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23227 $(HOST_EXPORTS) \
23228 for flag in $(EXTRA_HOST_FLAGS) ; do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23230 done; \
23231 echo "Doing TAGS in m4" ; \
23232 (cd $(HOST_SUBDIR)/m4 && \
23233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23235 "RANLIB=$${RANLIB}" \
23236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23237 TAGS) \
23238 || exit 1
23240 @endif m4
23242 .PHONY: maybe-install-info-m4 install-info-m4
23243 maybe-install-info-m4:
23244 @if m4
23245 maybe-install-info-m4: install-info-m4
23247 install-info-m4: \
23248 configure-m4 \
23249 info-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 install-info 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 install-info) \
23265 || exit 1
23267 @endif m4
23269 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23270 maybe-install-pdf-m4:
23271 @if m4
23272 maybe-install-pdf-m4: install-pdf-m4
23274 install-pdf-m4: \
23275 configure-m4 \
23276 pdf-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-pdf 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-pdf) \
23292 || exit 1
23294 @endif m4
23296 .PHONY: maybe-install-html-m4 install-html-m4
23297 maybe-install-html-m4:
23298 @if m4
23299 maybe-install-html-m4: install-html-m4
23301 install-html-m4: \
23302 configure-m4 \
23303 html-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-html 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-html) \
23319 || exit 1
23321 @endif m4
23323 .PHONY: maybe-installcheck-m4 installcheck-m4
23324 maybe-installcheck-m4:
23325 @if m4
23326 maybe-installcheck-m4: installcheck-m4
23328 installcheck-m4: \
23329 configure-m4
23330 @: $(MAKE); $(unstage)
23331 @[ -f ./m4/Makefile ] || exit 0; \
23332 r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 $(HOST_EXPORTS) \
23335 for flag in $(EXTRA_HOST_FLAGS) ; do \
23336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23337 done; \
23338 echo "Doing installcheck in m4" ; \
23339 (cd $(HOST_SUBDIR)/m4 && \
23340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342 "RANLIB=$${RANLIB}" \
23343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23344 installcheck) \
23345 || exit 1
23347 @endif m4
23349 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23350 maybe-mostlyclean-m4:
23351 @if m4
23352 maybe-mostlyclean-m4: mostlyclean-m4
23354 mostlyclean-m4:
23355 @: $(MAKE); $(unstage)
23356 @[ -f ./m4/Makefile ] || exit 0; \
23357 r=`${PWD_COMMAND}`; export r; \
23358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23359 $(HOST_EXPORTS) \
23360 for flag in $(EXTRA_HOST_FLAGS) ; do \
23361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23362 done; \
23363 echo "Doing mostlyclean in m4" ; \
23364 (cd $(HOST_SUBDIR)/m4 && \
23365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23367 "RANLIB=$${RANLIB}" \
23368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23369 mostlyclean) \
23370 || exit 1
23372 @endif m4
23374 .PHONY: maybe-clean-m4 clean-m4
23375 maybe-clean-m4:
23376 @if m4
23377 maybe-clean-m4: clean-m4
23379 clean-m4:
23380 @: $(MAKE); $(unstage)
23381 @[ -f ./m4/Makefile ] || exit 0; \
23382 r=`${PWD_COMMAND}`; export r; \
23383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384 $(HOST_EXPORTS) \
23385 for flag in $(EXTRA_HOST_FLAGS) ; do \
23386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23387 done; \
23388 echo "Doing clean in m4" ; \
23389 (cd $(HOST_SUBDIR)/m4 && \
23390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23392 "RANLIB=$${RANLIB}" \
23393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23394 clean) \
23395 || exit 1
23397 @endif m4
23399 .PHONY: maybe-distclean-m4 distclean-m4
23400 maybe-distclean-m4:
23401 @if m4
23402 maybe-distclean-m4: distclean-m4
23404 distclean-m4:
23405 @: $(MAKE); $(unstage)
23406 @[ -f ./m4/Makefile ] || exit 0; \
23407 r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 $(HOST_EXPORTS) \
23410 for flag in $(EXTRA_HOST_FLAGS) ; do \
23411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23412 done; \
23413 echo "Doing distclean in m4" ; \
23414 (cd $(HOST_SUBDIR)/m4 && \
23415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23417 "RANLIB=$${RANLIB}" \
23418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23419 distclean) \
23420 || exit 1
23422 @endif m4
23424 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23425 maybe-maintainer-clean-m4:
23426 @if m4
23427 maybe-maintainer-clean-m4: maintainer-clean-m4
23429 maintainer-clean-m4:
23430 @: $(MAKE); $(unstage)
23431 @[ -f ./m4/Makefile ] || exit 0; \
23432 r=`${PWD_COMMAND}`; export r; \
23433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23434 $(HOST_EXPORTS) \
23435 for flag in $(EXTRA_HOST_FLAGS) ; do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23437 done; \
23438 echo "Doing maintainer-clean in m4" ; \
23439 (cd $(HOST_SUBDIR)/m4 && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23444 maintainer-clean) \
23445 || exit 1
23447 @endif m4
23451 .PHONY: configure-readline maybe-configure-readline
23452 maybe-configure-readline:
23453 @if gcc-bootstrap
23454 configure-readline: stage_current
23455 @endif gcc-bootstrap
23456 @if readline
23457 maybe-configure-readline: configure-readline
23458 configure-readline:
23459 @: $(MAKE); $(unstage)
23460 @r=`${PWD_COMMAND}`; export r; \
23461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23462 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23464 $(HOST_EXPORTS) \
23465 echo Configuring in $(HOST_SUBDIR)/readline; \
23466 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23467 case $(srcdir) in \
23468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23469 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23471 esac; \
23472 srcdiroption="--srcdir=$${topdir}/readline"; \
23473 libsrcdir="$$s/readline"; \
23474 $(SHELL) $${libsrcdir}/configure \
23475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23476 --target=${target_alias} $${srcdiroption} \
23477 || exit 1
23478 @endif readline
23484 .PHONY: all-readline maybe-all-readline
23485 maybe-all-readline:
23486 @if gcc-bootstrap
23487 all-readline: stage_current
23488 @endif gcc-bootstrap
23489 @if readline
23490 TARGET-readline=all
23491 maybe-all-readline: all-readline
23492 all-readline: configure-readline
23493 @: $(MAKE); $(unstage)
23494 @r=`${PWD_COMMAND}`; export r; \
23495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23496 $(HOST_EXPORTS) \
23497 (cd $(HOST_SUBDIR)/readline && \
23498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23499 $(TARGET-readline))
23500 @endif readline
23505 .PHONY: check-readline maybe-check-readline
23506 maybe-check-readline:
23507 @if readline
23508 maybe-check-readline: check-readline
23510 check-readline:
23511 @: $(MAKE); $(unstage)
23512 @r=`${PWD_COMMAND}`; export r; \
23513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23514 $(HOST_EXPORTS) \
23515 (cd $(HOST_SUBDIR)/readline && \
23516 $(MAKE) $(FLAGS_TO_PASS) check)
23518 @endif readline
23520 .PHONY: install-readline maybe-install-readline
23521 maybe-install-readline:
23522 @if readline
23523 maybe-install-readline: install-readline
23525 install-readline: installdirs
23526 @: $(MAKE); $(unstage)
23527 @r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 $(HOST_EXPORTS) \
23530 (cd $(HOST_SUBDIR)/readline && \
23531 $(MAKE) $(FLAGS_TO_PASS) install)
23533 @endif readline
23535 .PHONY: install-strip-readline maybe-install-strip-readline
23536 maybe-install-strip-readline:
23537 @if readline
23538 maybe-install-strip-readline: install-strip-readline
23540 install-strip-readline: installdirs
23541 @: $(MAKE); $(unstage)
23542 @r=`${PWD_COMMAND}`; export r; \
23543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23544 $(HOST_EXPORTS) \
23545 (cd $(HOST_SUBDIR)/readline && \
23546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23548 @endif readline
23550 # Other targets (info, dvi, pdf, etc.)
23552 .PHONY: maybe-info-readline info-readline
23553 maybe-info-readline:
23554 @if readline
23555 maybe-info-readline: info-readline
23557 info-readline: \
23558 configure-readline
23559 @: $(MAKE); $(unstage)
23560 @[ -f ./readline/Makefile ] || exit 0; \
23561 r=`${PWD_COMMAND}`; export r; \
23562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23563 $(HOST_EXPORTS) \
23564 for flag in $(EXTRA_HOST_FLAGS) ; do \
23565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23566 done; \
23567 echo "Doing info in readline" ; \
23568 (cd $(HOST_SUBDIR)/readline && \
23569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23571 "RANLIB=$${RANLIB}" \
23572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23573 info) \
23574 || exit 1
23576 @endif readline
23578 .PHONY: maybe-dvi-readline dvi-readline
23579 maybe-dvi-readline:
23580 @if readline
23581 maybe-dvi-readline: dvi-readline
23583 dvi-readline: \
23584 configure-readline
23585 @: $(MAKE); $(unstage)
23586 @[ -f ./readline/Makefile ] || exit 0; \
23587 r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589 $(HOST_EXPORTS) \
23590 for flag in $(EXTRA_HOST_FLAGS) ; do \
23591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23592 done; \
23593 echo "Doing dvi in readline" ; \
23594 (cd $(HOST_SUBDIR)/readline && \
23595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23597 "RANLIB=$${RANLIB}" \
23598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23599 dvi) \
23600 || exit 1
23602 @endif readline
23604 .PHONY: maybe-pdf-readline pdf-readline
23605 maybe-pdf-readline:
23606 @if readline
23607 maybe-pdf-readline: pdf-readline
23609 pdf-readline: \
23610 configure-readline
23611 @: $(MAKE); $(unstage)
23612 @[ -f ./readline/Makefile ] || exit 0; \
23613 r=`${PWD_COMMAND}`; export r; \
23614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23615 $(HOST_EXPORTS) \
23616 for flag in $(EXTRA_HOST_FLAGS) ; do \
23617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23618 done; \
23619 echo "Doing pdf in readline" ; \
23620 (cd $(HOST_SUBDIR)/readline && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23623 "RANLIB=$${RANLIB}" \
23624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23625 pdf) \
23626 || exit 1
23628 @endif readline
23630 .PHONY: maybe-html-readline html-readline
23631 maybe-html-readline:
23632 @if readline
23633 maybe-html-readline: html-readline
23635 html-readline: \
23636 configure-readline
23637 @: $(MAKE); $(unstage)
23638 @[ -f ./readline/Makefile ] || exit 0; \
23639 r=`${PWD_COMMAND}`; export r; \
23640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 $(HOST_EXPORTS) \
23642 for flag in $(EXTRA_HOST_FLAGS) ; do \
23643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23644 done; \
23645 echo "Doing html in readline" ; \
23646 (cd $(HOST_SUBDIR)/readline && \
23647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23649 "RANLIB=$${RANLIB}" \
23650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23651 html) \
23652 || exit 1
23654 @endif readline
23656 .PHONY: maybe-TAGS-readline TAGS-readline
23657 maybe-TAGS-readline:
23658 @if readline
23659 maybe-TAGS-readline: TAGS-readline
23661 TAGS-readline: \
23662 configure-readline
23663 @: $(MAKE); $(unstage)
23664 @[ -f ./readline/Makefile ] || exit 0; \
23665 r=`${PWD_COMMAND}`; export r; \
23666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23667 $(HOST_EXPORTS) \
23668 for flag in $(EXTRA_HOST_FLAGS) ; do \
23669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23670 done; \
23671 echo "Doing TAGS in readline" ; \
23672 (cd $(HOST_SUBDIR)/readline && \
23673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23675 "RANLIB=$${RANLIB}" \
23676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23677 TAGS) \
23678 || exit 1
23680 @endif readline
23682 .PHONY: maybe-install-info-readline install-info-readline
23683 maybe-install-info-readline:
23684 @if readline
23685 maybe-install-info-readline: install-info-readline
23687 install-info-readline: \
23688 configure-readline \
23689 info-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 install-info 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 install-info) \
23705 || exit 1
23707 @endif readline
23709 .PHONY: maybe-install-pdf-readline install-pdf-readline
23710 maybe-install-pdf-readline:
23711 @if readline
23712 maybe-install-pdf-readline: install-pdf-readline
23714 install-pdf-readline: \
23715 configure-readline \
23716 pdf-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-pdf 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-pdf) \
23732 || exit 1
23734 @endif readline
23736 .PHONY: maybe-install-html-readline install-html-readline
23737 maybe-install-html-readline:
23738 @if readline
23739 maybe-install-html-readline: install-html-readline
23741 install-html-readline: \
23742 configure-readline \
23743 html-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-html 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-html) \
23759 || exit 1
23761 @endif readline
23763 .PHONY: maybe-installcheck-readline installcheck-readline
23764 maybe-installcheck-readline:
23765 @if readline
23766 maybe-installcheck-readline: installcheck-readline
23768 installcheck-readline: \
23769 configure-readline
23770 @: $(MAKE); $(unstage)
23771 @[ -f ./readline/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing installcheck in readline" ; \
23779 (cd $(HOST_SUBDIR)/readline && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23784 installcheck) \
23785 || exit 1
23787 @endif readline
23789 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23790 maybe-mostlyclean-readline:
23791 @if readline
23792 maybe-mostlyclean-readline: mostlyclean-readline
23794 mostlyclean-readline:
23795 @: $(MAKE); $(unstage)
23796 @[ -f ./readline/Makefile ] || exit 0; \
23797 r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 $(HOST_EXPORTS) \
23800 for flag in $(EXTRA_HOST_FLAGS) ; do \
23801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23802 done; \
23803 echo "Doing mostlyclean in readline" ; \
23804 (cd $(HOST_SUBDIR)/readline && \
23805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23807 "RANLIB=$${RANLIB}" \
23808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23809 mostlyclean) \
23810 || exit 1
23812 @endif readline
23814 .PHONY: maybe-clean-readline clean-readline
23815 maybe-clean-readline:
23816 @if readline
23817 maybe-clean-readline: clean-readline
23819 clean-readline:
23820 @: $(MAKE); $(unstage)
23821 @[ -f ./readline/Makefile ] || exit 0; \
23822 r=`${PWD_COMMAND}`; export r; \
23823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23824 $(HOST_EXPORTS) \
23825 for flag in $(EXTRA_HOST_FLAGS) ; do \
23826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23827 done; \
23828 echo "Doing clean in readline" ; \
23829 (cd $(HOST_SUBDIR)/readline && \
23830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23832 "RANLIB=$${RANLIB}" \
23833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23834 clean) \
23835 || exit 1
23837 @endif readline
23839 .PHONY: maybe-distclean-readline distclean-readline
23840 maybe-distclean-readline:
23841 @if readline
23842 maybe-distclean-readline: distclean-readline
23844 distclean-readline:
23845 @: $(MAKE); $(unstage)
23846 @[ -f ./readline/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(HOST_EXPORTS) \
23850 for flag in $(EXTRA_HOST_FLAGS) ; do \
23851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23852 done; \
23853 echo "Doing distclean in readline" ; \
23854 (cd $(HOST_SUBDIR)/readline && \
23855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23857 "RANLIB=$${RANLIB}" \
23858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23859 distclean) \
23860 || exit 1
23862 @endif readline
23864 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23865 maybe-maintainer-clean-readline:
23866 @if readline
23867 maybe-maintainer-clean-readline: maintainer-clean-readline
23869 maintainer-clean-readline:
23870 @: $(MAKE); $(unstage)
23871 @[ -f ./readline/Makefile ] || exit 0; \
23872 r=`${PWD_COMMAND}`; export r; \
23873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23874 $(HOST_EXPORTS) \
23875 for flag in $(EXTRA_HOST_FLAGS) ; do \
23876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23877 done; \
23878 echo "Doing maintainer-clean in readline" ; \
23879 (cd $(HOST_SUBDIR)/readline && \
23880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23882 "RANLIB=$${RANLIB}" \
23883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23884 maintainer-clean) \
23885 || exit 1
23887 @endif readline
23891 .PHONY: configure-sid maybe-configure-sid
23892 maybe-configure-sid:
23893 @if gcc-bootstrap
23894 configure-sid: stage_current
23895 @endif gcc-bootstrap
23896 @if sid
23897 maybe-configure-sid: configure-sid
23898 configure-sid:
23899 @: $(MAKE); $(unstage)
23900 @r=`${PWD_COMMAND}`; export r; \
23901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23904 $(HOST_EXPORTS) \
23905 echo Configuring in $(HOST_SUBDIR)/sid; \
23906 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23907 case $(srcdir) in \
23908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23909 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23911 esac; \
23912 srcdiroption="--srcdir=$${topdir}/sid"; \
23913 libsrcdir="$$s/sid"; \
23914 $(SHELL) $${libsrcdir}/configure \
23915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23916 --target=${target_alias} $${srcdiroption} \
23917 || exit 1
23918 @endif sid
23924 .PHONY: all-sid maybe-all-sid
23925 maybe-all-sid:
23926 @if gcc-bootstrap
23927 all-sid: stage_current
23928 @endif gcc-bootstrap
23929 @if sid
23930 TARGET-sid=all
23931 maybe-all-sid: all-sid
23932 all-sid: configure-sid
23933 @: $(MAKE); $(unstage)
23934 @r=`${PWD_COMMAND}`; export r; \
23935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23936 $(HOST_EXPORTS) \
23937 (cd $(HOST_SUBDIR)/sid && \
23938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23939 $(TARGET-sid))
23940 @endif sid
23945 .PHONY: check-sid maybe-check-sid
23946 maybe-check-sid:
23947 @if sid
23948 maybe-check-sid: check-sid
23950 check-sid:
23951 @: $(MAKE); $(unstage)
23952 @r=`${PWD_COMMAND}`; export r; \
23953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23954 $(HOST_EXPORTS) \
23955 (cd $(HOST_SUBDIR)/sid && \
23956 $(MAKE) $(FLAGS_TO_PASS) check)
23958 @endif sid
23960 .PHONY: install-sid maybe-install-sid
23961 maybe-install-sid:
23962 @if sid
23963 maybe-install-sid: install-sid
23965 install-sid: installdirs
23966 @: $(MAKE); $(unstage)
23967 @r=`${PWD_COMMAND}`; export r; \
23968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23969 $(HOST_EXPORTS) \
23970 (cd $(HOST_SUBDIR)/sid && \
23971 $(MAKE) $(FLAGS_TO_PASS) install)
23973 @endif sid
23975 .PHONY: install-strip-sid maybe-install-strip-sid
23976 maybe-install-strip-sid:
23977 @if sid
23978 maybe-install-strip-sid: install-strip-sid
23980 install-strip-sid: installdirs
23981 @: $(MAKE); $(unstage)
23982 @r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(HOST_EXPORTS) \
23985 (cd $(HOST_SUBDIR)/sid && \
23986 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23988 @endif sid
23990 # Other targets (info, dvi, pdf, etc.)
23992 .PHONY: maybe-info-sid info-sid
23993 maybe-info-sid:
23994 @if sid
23995 maybe-info-sid: info-sid
23997 info-sid: \
23998 configure-sid
23999 @: $(MAKE); $(unstage)
24000 @[ -f ./sid/Makefile ] || exit 0; \
24001 r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(HOST_EXPORTS) \
24004 for flag in $(EXTRA_HOST_FLAGS) ; do \
24005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24006 done; \
24007 echo "Doing info in sid" ; \
24008 (cd $(HOST_SUBDIR)/sid && \
24009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24011 "RANLIB=$${RANLIB}" \
24012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24013 info) \
24014 || exit 1
24016 @endif sid
24018 .PHONY: maybe-dvi-sid dvi-sid
24019 maybe-dvi-sid:
24020 @if sid
24021 maybe-dvi-sid: dvi-sid
24023 dvi-sid: \
24024 configure-sid
24025 @: $(MAKE); $(unstage)
24026 @[ -f ./sid/Makefile ] || exit 0; \
24027 r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(HOST_EXPORTS) \
24030 for flag in $(EXTRA_HOST_FLAGS) ; do \
24031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24032 done; \
24033 echo "Doing dvi in sid" ; \
24034 (cd $(HOST_SUBDIR)/sid && \
24035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24037 "RANLIB=$${RANLIB}" \
24038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24039 dvi) \
24040 || exit 1
24042 @endif sid
24044 .PHONY: maybe-pdf-sid pdf-sid
24045 maybe-pdf-sid:
24046 @if sid
24047 maybe-pdf-sid: pdf-sid
24049 pdf-sid: \
24050 configure-sid
24051 @: $(MAKE); $(unstage)
24052 @[ -f ./sid/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing pdf in sid" ; \
24060 (cd $(HOST_SUBDIR)/sid && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24065 pdf) \
24066 || exit 1
24068 @endif sid
24070 .PHONY: maybe-html-sid html-sid
24071 maybe-html-sid:
24072 @if sid
24073 maybe-html-sid: html-sid
24075 html-sid: \
24076 configure-sid
24077 @: $(MAKE); $(unstage)
24078 @[ -f ./sid/Makefile ] || exit 0; \
24079 r=`${PWD_COMMAND}`; export r; \
24080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 $(HOST_EXPORTS) \
24082 for flag in $(EXTRA_HOST_FLAGS) ; do \
24083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24084 done; \
24085 echo "Doing html in sid" ; \
24086 (cd $(HOST_SUBDIR)/sid && \
24087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24089 "RANLIB=$${RANLIB}" \
24090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24091 html) \
24092 || exit 1
24094 @endif sid
24096 .PHONY: maybe-TAGS-sid TAGS-sid
24097 maybe-TAGS-sid:
24098 @if sid
24099 maybe-TAGS-sid: TAGS-sid
24101 TAGS-sid: \
24102 configure-sid
24103 @: $(MAKE); $(unstage)
24104 @[ -f ./sid/Makefile ] || exit 0; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 for flag in $(EXTRA_HOST_FLAGS) ; do \
24109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24110 done; \
24111 echo "Doing TAGS in sid" ; \
24112 (cd $(HOST_SUBDIR)/sid && \
24113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24115 "RANLIB=$${RANLIB}" \
24116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24117 TAGS) \
24118 || exit 1
24120 @endif sid
24122 .PHONY: maybe-install-info-sid install-info-sid
24123 maybe-install-info-sid:
24124 @if sid
24125 maybe-install-info-sid: install-info-sid
24127 install-info-sid: \
24128 configure-sid \
24129 info-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 install-info 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 install-info) \
24145 || exit 1
24147 @endif sid
24149 .PHONY: maybe-install-pdf-sid install-pdf-sid
24150 maybe-install-pdf-sid:
24151 @if sid
24152 maybe-install-pdf-sid: install-pdf-sid
24154 install-pdf-sid: \
24155 configure-sid \
24156 pdf-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-pdf 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-pdf) \
24172 || exit 1
24174 @endif sid
24176 .PHONY: maybe-install-html-sid install-html-sid
24177 maybe-install-html-sid:
24178 @if sid
24179 maybe-install-html-sid: install-html-sid
24181 install-html-sid: \
24182 configure-sid \
24183 html-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-html 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-html) \
24199 || exit 1
24201 @endif sid
24203 .PHONY: maybe-installcheck-sid installcheck-sid
24204 maybe-installcheck-sid:
24205 @if sid
24206 maybe-installcheck-sid: installcheck-sid
24208 installcheck-sid: \
24209 configure-sid
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./sid/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(HOST_EXPORTS) \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 done; \
24218 echo "Doing installcheck in sid" ; \
24219 (cd $(HOST_SUBDIR)/sid && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24224 installcheck) \
24225 || exit 1
24227 @endif sid
24229 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24230 maybe-mostlyclean-sid:
24231 @if sid
24232 maybe-mostlyclean-sid: mostlyclean-sid
24234 mostlyclean-sid:
24235 @: $(MAKE); $(unstage)
24236 @[ -f ./sid/Makefile ] || exit 0; \
24237 r=`${PWD_COMMAND}`; export r; \
24238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 $(HOST_EXPORTS) \
24240 for flag in $(EXTRA_HOST_FLAGS) ; do \
24241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24242 done; \
24243 echo "Doing mostlyclean in sid" ; \
24244 (cd $(HOST_SUBDIR)/sid && \
24245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24247 "RANLIB=$${RANLIB}" \
24248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24249 mostlyclean) \
24250 || exit 1
24252 @endif sid
24254 .PHONY: maybe-clean-sid clean-sid
24255 maybe-clean-sid:
24256 @if sid
24257 maybe-clean-sid: clean-sid
24259 clean-sid:
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./sid/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing clean in sid" ; \
24269 (cd $(HOST_SUBDIR)/sid && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24274 clean) \
24275 || exit 1
24277 @endif sid
24279 .PHONY: maybe-distclean-sid distclean-sid
24280 maybe-distclean-sid:
24281 @if sid
24282 maybe-distclean-sid: distclean-sid
24284 distclean-sid:
24285 @: $(MAKE); $(unstage)
24286 @[ -f ./sid/Makefile ] || exit 0; \
24287 r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 $(HOST_EXPORTS) \
24290 for flag in $(EXTRA_HOST_FLAGS) ; do \
24291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24292 done; \
24293 echo "Doing distclean in sid" ; \
24294 (cd $(HOST_SUBDIR)/sid && \
24295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24297 "RANLIB=$${RANLIB}" \
24298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24299 distclean) \
24300 || exit 1
24302 @endif sid
24304 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24305 maybe-maintainer-clean-sid:
24306 @if sid
24307 maybe-maintainer-clean-sid: maintainer-clean-sid
24309 maintainer-clean-sid:
24310 @: $(MAKE); $(unstage)
24311 @[ -f ./sid/Makefile ] || exit 0; \
24312 r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 $(HOST_EXPORTS) \
24315 for flag in $(EXTRA_HOST_FLAGS) ; do \
24316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24317 done; \
24318 echo "Doing maintainer-clean in sid" ; \
24319 (cd $(HOST_SUBDIR)/sid && \
24320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24322 "RANLIB=$${RANLIB}" \
24323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24324 maintainer-clean) \
24325 || exit 1
24327 @endif sid
24331 .PHONY: configure-sim maybe-configure-sim
24332 maybe-configure-sim:
24333 @if gcc-bootstrap
24334 configure-sim: stage_current
24335 @endif gcc-bootstrap
24336 @if sim
24337 maybe-configure-sim: configure-sim
24338 configure-sim:
24339 @: $(MAKE); $(unstage)
24340 @r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24342 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24344 $(HOST_EXPORTS) \
24345 echo Configuring in $(HOST_SUBDIR)/sim; \
24346 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24347 case $(srcdir) in \
24348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24349 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24351 esac; \
24352 srcdiroption="--srcdir=$${topdir}/sim"; \
24353 libsrcdir="$$s/sim"; \
24354 $(SHELL) $${libsrcdir}/configure \
24355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24356 --target=${target_alias} $${srcdiroption} \
24357 || exit 1
24358 @endif sim
24364 .PHONY: all-sim maybe-all-sim
24365 maybe-all-sim:
24366 @if gcc-bootstrap
24367 all-sim: stage_current
24368 @endif gcc-bootstrap
24369 @if sim
24370 TARGET-sim=all
24371 maybe-all-sim: all-sim
24372 all-sim: configure-sim
24373 @: $(MAKE); $(unstage)
24374 @r=`${PWD_COMMAND}`; export r; \
24375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24376 $(HOST_EXPORTS) \
24377 (cd $(HOST_SUBDIR)/sim && \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24379 $(TARGET-sim))
24380 @endif sim
24385 .PHONY: check-sim maybe-check-sim
24386 maybe-check-sim:
24387 @if sim
24388 maybe-check-sim: check-sim
24390 check-sim:
24391 @: $(MAKE); $(unstage)
24392 @r=`${PWD_COMMAND}`; export r; \
24393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394 $(HOST_EXPORTS) \
24395 (cd $(HOST_SUBDIR)/sim && \
24396 $(MAKE) $(FLAGS_TO_PASS) check)
24398 @endif sim
24400 .PHONY: install-sim maybe-install-sim
24401 maybe-install-sim:
24402 @if sim
24403 maybe-install-sim: install-sim
24405 install-sim: installdirs
24406 @: $(MAKE); $(unstage)
24407 @r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 (cd $(HOST_SUBDIR)/sim && \
24411 $(MAKE) $(FLAGS_TO_PASS) install)
24413 @endif sim
24415 .PHONY: install-strip-sim maybe-install-strip-sim
24416 maybe-install-strip-sim:
24417 @if sim
24418 maybe-install-strip-sim: install-strip-sim
24420 install-strip-sim: installdirs
24421 @: $(MAKE); $(unstage)
24422 @r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424 $(HOST_EXPORTS) \
24425 (cd $(HOST_SUBDIR)/sim && \
24426 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24428 @endif sim
24430 # Other targets (info, dvi, pdf, etc.)
24432 .PHONY: maybe-info-sim info-sim
24433 maybe-info-sim:
24434 @if sim
24435 maybe-info-sim: info-sim
24437 info-sim: \
24438 configure-sim
24439 @: $(MAKE); $(unstage)
24440 @[ -f ./sim/Makefile ] || exit 0; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(HOST_EXPORTS) \
24444 for flag in $(EXTRA_HOST_FLAGS) ; do \
24445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24446 done; \
24447 echo "Doing info in sim" ; \
24448 (cd $(HOST_SUBDIR)/sim && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24453 info) \
24454 || exit 1
24456 @endif sim
24458 .PHONY: maybe-dvi-sim dvi-sim
24459 maybe-dvi-sim:
24460 @if sim
24461 maybe-dvi-sim: dvi-sim
24463 dvi-sim: \
24464 configure-sim
24465 @: $(MAKE); $(unstage)
24466 @[ -f ./sim/Makefile ] || exit 0; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(HOST_EXPORTS) \
24470 for flag in $(EXTRA_HOST_FLAGS) ; do \
24471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24472 done; \
24473 echo "Doing dvi in sim" ; \
24474 (cd $(HOST_SUBDIR)/sim && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24479 dvi) \
24480 || exit 1
24482 @endif sim
24484 .PHONY: maybe-pdf-sim pdf-sim
24485 maybe-pdf-sim:
24486 @if sim
24487 maybe-pdf-sim: pdf-sim
24489 pdf-sim: \
24490 configure-sim
24491 @: $(MAKE); $(unstage)
24492 @[ -f ./sim/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing pdf in sim" ; \
24500 (cd $(HOST_SUBDIR)/sim && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24505 pdf) \
24506 || exit 1
24508 @endif sim
24510 .PHONY: maybe-html-sim html-sim
24511 maybe-html-sim:
24512 @if sim
24513 maybe-html-sim: html-sim
24515 html-sim: \
24516 configure-sim
24517 @: $(MAKE); $(unstage)
24518 @[ -f ./sim/Makefile ] || exit 0; \
24519 r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 $(HOST_EXPORTS) \
24522 for flag in $(EXTRA_HOST_FLAGS) ; do \
24523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24524 done; \
24525 echo "Doing html in sim" ; \
24526 (cd $(HOST_SUBDIR)/sim && \
24527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24529 "RANLIB=$${RANLIB}" \
24530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24531 html) \
24532 || exit 1
24534 @endif sim
24536 .PHONY: maybe-TAGS-sim TAGS-sim
24537 maybe-TAGS-sim:
24538 @if sim
24539 maybe-TAGS-sim: TAGS-sim
24541 TAGS-sim: \
24542 configure-sim
24543 @: $(MAKE); $(unstage)
24544 @[ -f ./sim/Makefile ] || exit 0; \
24545 r=`${PWD_COMMAND}`; export r; \
24546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24547 $(HOST_EXPORTS) \
24548 for flag in $(EXTRA_HOST_FLAGS) ; do \
24549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24550 done; \
24551 echo "Doing TAGS in sim" ; \
24552 (cd $(HOST_SUBDIR)/sim && \
24553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24555 "RANLIB=$${RANLIB}" \
24556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24557 TAGS) \
24558 || exit 1
24560 @endif sim
24562 .PHONY: maybe-install-info-sim install-info-sim
24563 maybe-install-info-sim:
24564 @if sim
24565 maybe-install-info-sim: install-info-sim
24567 install-info-sim: \
24568 configure-sim \
24569 info-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 install-info 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 install-info) \
24585 || exit 1
24587 @endif sim
24589 .PHONY: maybe-install-pdf-sim install-pdf-sim
24590 maybe-install-pdf-sim:
24591 @if sim
24592 maybe-install-pdf-sim: install-pdf-sim
24594 install-pdf-sim: \
24595 configure-sim \
24596 pdf-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-pdf 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-pdf) \
24612 || exit 1
24614 @endif sim
24616 .PHONY: maybe-install-html-sim install-html-sim
24617 maybe-install-html-sim:
24618 @if sim
24619 maybe-install-html-sim: install-html-sim
24621 install-html-sim: \
24622 configure-sim \
24623 html-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-html 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-html) \
24639 || exit 1
24641 @endif sim
24643 .PHONY: maybe-installcheck-sim installcheck-sim
24644 maybe-installcheck-sim:
24645 @if sim
24646 maybe-installcheck-sim: installcheck-sim
24648 installcheck-sim: \
24649 configure-sim
24650 @: $(MAKE); $(unstage)
24651 @[ -f ./sim/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(HOST_EXPORTS) \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 done; \
24658 echo "Doing installcheck in sim" ; \
24659 (cd $(HOST_SUBDIR)/sim && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24664 installcheck) \
24665 || exit 1
24667 @endif sim
24669 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24670 maybe-mostlyclean-sim:
24671 @if sim
24672 maybe-mostlyclean-sim: mostlyclean-sim
24674 mostlyclean-sim:
24675 @: $(MAKE); $(unstage)
24676 @[ -f ./sim/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing mostlyclean in sim" ; \
24684 (cd $(HOST_SUBDIR)/sim && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 mostlyclean) \
24690 || exit 1
24692 @endif sim
24694 .PHONY: maybe-clean-sim clean-sim
24695 maybe-clean-sim:
24696 @if sim
24697 maybe-clean-sim: clean-sim
24699 clean-sim:
24700 @: $(MAKE); $(unstage)
24701 @[ -f ./sim/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing clean in sim" ; \
24709 (cd $(HOST_SUBDIR)/sim && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24714 clean) \
24715 || exit 1
24717 @endif sim
24719 .PHONY: maybe-distclean-sim distclean-sim
24720 maybe-distclean-sim:
24721 @if sim
24722 maybe-distclean-sim: distclean-sim
24724 distclean-sim:
24725 @: $(MAKE); $(unstage)
24726 @[ -f ./sim/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24732 done; \
24733 echo "Doing distclean in sim" ; \
24734 (cd $(HOST_SUBDIR)/sim && \
24735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24737 "RANLIB=$${RANLIB}" \
24738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24739 distclean) \
24740 || exit 1
24742 @endif sim
24744 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24745 maybe-maintainer-clean-sim:
24746 @if sim
24747 maybe-maintainer-clean-sim: maintainer-clean-sim
24749 maintainer-clean-sim:
24750 @: $(MAKE); $(unstage)
24751 @[ -f ./sim/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing maintainer-clean in sim" ; \
24759 (cd $(HOST_SUBDIR)/sim && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24764 maintainer-clean) \
24765 || exit 1
24767 @endif sim
24771 .PHONY: configure-texinfo maybe-configure-texinfo
24772 maybe-configure-texinfo:
24773 @if gcc-bootstrap
24774 configure-texinfo: stage_current
24775 @endif gcc-bootstrap
24776 @if texinfo
24777 maybe-configure-texinfo: configure-texinfo
24778 configure-texinfo:
24779 @: $(MAKE); $(unstage)
24780 @r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24784 $(HOST_EXPORTS) \
24785 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24786 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24787 case $(srcdir) in \
24788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24789 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24791 esac; \
24792 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24793 libsrcdir="$$s/texinfo"; \
24794 $(SHELL) $${libsrcdir}/configure \
24795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24796 --target=${target_alias} $${srcdiroption} \
24797 || exit 1
24798 @endif texinfo
24804 .PHONY: all-texinfo maybe-all-texinfo
24805 maybe-all-texinfo:
24806 @if gcc-bootstrap
24807 all-texinfo: stage_current
24808 @endif gcc-bootstrap
24809 @if texinfo
24810 TARGET-texinfo=all
24811 maybe-all-texinfo: all-texinfo
24812 all-texinfo: configure-texinfo
24813 @: $(MAKE); $(unstage)
24814 @r=`${PWD_COMMAND}`; export r; \
24815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24816 $(HOST_EXPORTS) \
24817 (cd $(HOST_SUBDIR)/texinfo && \
24818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24819 $(TARGET-texinfo))
24820 @endif texinfo
24825 .PHONY: check-texinfo maybe-check-texinfo
24826 maybe-check-texinfo:
24827 @if texinfo
24828 maybe-check-texinfo: check-texinfo
24830 check-texinfo:
24831 @: $(MAKE); $(unstage)
24832 @r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(HOST_EXPORTS) \
24835 (cd $(HOST_SUBDIR)/texinfo && \
24836 $(MAKE) $(FLAGS_TO_PASS) check)
24838 @endif texinfo
24840 .PHONY: install-texinfo maybe-install-texinfo
24841 maybe-install-texinfo:
24842 @if texinfo
24843 maybe-install-texinfo: install-texinfo
24845 install-texinfo:
24847 @endif texinfo
24849 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24850 maybe-install-strip-texinfo:
24851 @if texinfo
24852 maybe-install-strip-texinfo: install-strip-texinfo
24854 install-strip-texinfo:
24856 @endif texinfo
24858 # Other targets (info, dvi, pdf, etc.)
24860 .PHONY: maybe-info-texinfo info-texinfo
24861 maybe-info-texinfo:
24862 @if texinfo
24863 maybe-info-texinfo: info-texinfo
24865 info-texinfo: \
24866 configure-texinfo
24867 @: $(MAKE); $(unstage)
24868 @[ -f ./texinfo/Makefile ] || exit 0; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24871 $(HOST_EXPORTS) \
24872 for flag in $(EXTRA_HOST_FLAGS) ; do \
24873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24874 done; \
24875 echo "Doing info in texinfo" ; \
24876 (cd $(HOST_SUBDIR)/texinfo && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24881 info) \
24882 || exit 1
24884 @endif texinfo
24886 .PHONY: maybe-dvi-texinfo dvi-texinfo
24887 maybe-dvi-texinfo:
24888 @if texinfo
24889 maybe-dvi-texinfo: dvi-texinfo
24891 dvi-texinfo: \
24892 configure-texinfo
24893 @: $(MAKE); $(unstage)
24894 @[ -f ./texinfo/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing dvi in texinfo" ; \
24902 (cd $(HOST_SUBDIR)/texinfo && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24907 dvi) \
24908 || exit 1
24910 @endif texinfo
24912 .PHONY: maybe-pdf-texinfo pdf-texinfo
24913 maybe-pdf-texinfo:
24914 @if texinfo
24915 maybe-pdf-texinfo: pdf-texinfo
24917 pdf-texinfo: \
24918 configure-texinfo
24919 @: $(MAKE); $(unstage)
24920 @[ -f ./texinfo/Makefile ] || exit 0; \
24921 r=`${PWD_COMMAND}`; export r; \
24922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24923 $(HOST_EXPORTS) \
24924 for flag in $(EXTRA_HOST_FLAGS) ; do \
24925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24926 done; \
24927 echo "Doing pdf in texinfo" ; \
24928 (cd $(HOST_SUBDIR)/texinfo && \
24929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24931 "RANLIB=$${RANLIB}" \
24932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24933 pdf) \
24934 || exit 1
24936 @endif texinfo
24938 .PHONY: maybe-html-texinfo html-texinfo
24939 maybe-html-texinfo:
24940 @if texinfo
24941 maybe-html-texinfo: html-texinfo
24943 html-texinfo: \
24944 configure-texinfo
24945 @: $(MAKE); $(unstage)
24946 @[ -f ./texinfo/Makefile ] || exit 0; \
24947 r=`${PWD_COMMAND}`; export r; \
24948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24949 $(HOST_EXPORTS) \
24950 for flag in $(EXTRA_HOST_FLAGS) ; do \
24951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24952 done; \
24953 echo "Doing html in texinfo" ; \
24954 (cd $(HOST_SUBDIR)/texinfo && \
24955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24957 "RANLIB=$${RANLIB}" \
24958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24959 html) \
24960 || exit 1
24962 @endif texinfo
24964 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24965 maybe-TAGS-texinfo:
24966 @if texinfo
24967 maybe-TAGS-texinfo: TAGS-texinfo
24969 TAGS-texinfo: \
24970 configure-texinfo
24971 @: $(MAKE); $(unstage)
24972 @[ -f ./texinfo/Makefile ] || exit 0; \
24973 r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(HOST_EXPORTS) \
24976 for flag in $(EXTRA_HOST_FLAGS) ; do \
24977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24978 done; \
24979 echo "Doing TAGS in texinfo" ; \
24980 (cd $(HOST_SUBDIR)/texinfo && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24985 TAGS) \
24986 || exit 1
24988 @endif texinfo
24990 .PHONY: maybe-install-info-texinfo install-info-texinfo
24991 maybe-install-info-texinfo:
24992 @if texinfo
24993 maybe-install-info-texinfo: install-info-texinfo
24995 install-info-texinfo: \
24996 configure-texinfo \
24997 info-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 install-info 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 install-info) \
25013 || exit 1
25015 @endif texinfo
25017 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25018 maybe-install-pdf-texinfo:
25019 @if texinfo
25020 maybe-install-pdf-texinfo: install-pdf-texinfo
25022 install-pdf-texinfo: \
25023 configure-texinfo \
25024 pdf-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-pdf 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-pdf) \
25040 || exit 1
25042 @endif texinfo
25044 .PHONY: maybe-install-html-texinfo install-html-texinfo
25045 maybe-install-html-texinfo:
25046 @if texinfo
25047 maybe-install-html-texinfo: install-html-texinfo
25049 install-html-texinfo: \
25050 configure-texinfo \
25051 html-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-html 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-html) \
25067 || exit 1
25069 @endif texinfo
25071 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25072 maybe-installcheck-texinfo:
25073 @if texinfo
25074 maybe-installcheck-texinfo: installcheck-texinfo
25076 installcheck-texinfo: \
25077 configure-texinfo
25078 @: $(MAKE); $(unstage)
25079 @[ -f ./texinfo/Makefile ] || exit 0; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(HOST_EXPORTS) \
25083 for flag in $(EXTRA_HOST_FLAGS) ; do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 echo "Doing installcheck in texinfo" ; \
25087 (cd $(HOST_SUBDIR)/texinfo && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090 "RANLIB=$${RANLIB}" \
25091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25092 installcheck) \
25093 || exit 1
25095 @endif texinfo
25097 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25098 maybe-mostlyclean-texinfo:
25099 @if texinfo
25100 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25102 mostlyclean-texinfo:
25103 @: $(MAKE); $(unstage)
25104 @[ -f ./texinfo/Makefile ] || exit 0; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(HOST_EXPORTS) \
25108 for flag in $(EXTRA_HOST_FLAGS) ; do \
25109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25110 done; \
25111 echo "Doing mostlyclean in texinfo" ; \
25112 (cd $(HOST_SUBDIR)/texinfo && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25117 mostlyclean) \
25118 || exit 1
25120 @endif texinfo
25122 .PHONY: maybe-clean-texinfo clean-texinfo
25123 maybe-clean-texinfo:
25124 @if texinfo
25125 maybe-clean-texinfo: clean-texinfo
25127 clean-texinfo:
25128 @: $(MAKE); $(unstage)
25129 @[ -f ./texinfo/Makefile ] || exit 0; \
25130 r=`${PWD_COMMAND}`; export r; \
25131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(HOST_EXPORTS) \
25133 for flag in $(EXTRA_HOST_FLAGS) ; do \
25134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25135 done; \
25136 echo "Doing clean in texinfo" ; \
25137 (cd $(HOST_SUBDIR)/texinfo && \
25138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140 "RANLIB=$${RANLIB}" \
25141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25142 clean) \
25143 || exit 1
25145 @endif texinfo
25147 .PHONY: maybe-distclean-texinfo distclean-texinfo
25148 maybe-distclean-texinfo:
25149 @if texinfo
25150 maybe-distclean-texinfo: distclean-texinfo
25152 distclean-texinfo:
25153 @: $(MAKE); $(unstage)
25154 @[ -f ./texinfo/Makefile ] || exit 0; \
25155 r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 $(HOST_EXPORTS) \
25158 for flag in $(EXTRA_HOST_FLAGS) ; do \
25159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25160 done; \
25161 echo "Doing distclean in texinfo" ; \
25162 (cd $(HOST_SUBDIR)/texinfo && \
25163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165 "RANLIB=$${RANLIB}" \
25166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25167 distclean) \
25168 || exit 1
25170 @endif texinfo
25172 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25173 maybe-maintainer-clean-texinfo:
25174 @if texinfo
25175 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25177 maintainer-clean-texinfo:
25178 @: $(MAKE); $(unstage)
25179 @[ -f ./texinfo/Makefile ] || exit 0; \
25180 r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 $(HOST_EXPORTS) \
25183 for flag in $(EXTRA_HOST_FLAGS) ; do \
25184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25185 done; \
25186 echo "Doing maintainer-clean in texinfo" ; \
25187 (cd $(HOST_SUBDIR)/texinfo && \
25188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25190 "RANLIB=$${RANLIB}" \
25191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25192 maintainer-clean) \
25193 || exit 1
25195 @endif texinfo
25199 .PHONY: configure-zlib maybe-configure-zlib
25200 maybe-configure-zlib:
25201 @if gcc-bootstrap
25202 configure-zlib: stage_current
25203 @endif gcc-bootstrap
25204 @if zlib
25205 maybe-configure-zlib: configure-zlib
25206 configure-zlib:
25207 @r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25209 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25211 $(HOST_EXPORTS) \
25212 echo Configuring in $(HOST_SUBDIR)/zlib; \
25213 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25214 case $(srcdir) in \
25215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25216 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25218 esac; \
25219 srcdiroption="--srcdir=$${topdir}/zlib"; \
25220 libsrcdir="$$s/zlib"; \
25221 $(SHELL) $${libsrcdir}/configure \
25222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25223 --target=${target_alias} $${srcdiroption} \
25224 || exit 1
25225 @endif zlib
25229 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25230 maybe-configure-stage1-zlib:
25231 @if zlib-bootstrap
25232 maybe-configure-stage1-zlib: configure-stage1-zlib
25233 configure-stage1-zlib:
25234 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25236 @r=`${PWD_COMMAND}`; export r; \
25237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25238 TFLAGS="$(STAGE1_TFLAGS)"; \
25239 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25240 $(HOST_EXPORTS) \
25241 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25242 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25243 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25244 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25246 cd $(HOST_SUBDIR)/zlib || exit 1; \
25247 case $(srcdir) in \
25248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25249 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25251 esac; \
25252 srcdiroption="--srcdir=$${topdir}/zlib"; \
25253 libsrcdir="$$s/zlib"; \
25254 $(SHELL) $${libsrcdir}/configure \
25255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25256 --target=${target_alias} $${srcdiroption} \
25257 $(STAGE1_CONFIGURE_FLAGS)
25258 @endif zlib-bootstrap
25260 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25261 maybe-configure-stage2-zlib:
25262 @if zlib-bootstrap
25263 maybe-configure-stage2-zlib: configure-stage2-zlib
25264 configure-stage2-zlib:
25265 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25267 @r=`${PWD_COMMAND}`; export r; \
25268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25269 TFLAGS="$(STAGE2_TFLAGS)"; \
25270 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25271 $(HOST_EXPORTS) \
25272 $(POSTSTAGE1_HOST_EXPORTS) \
25273 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25274 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25275 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25276 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25278 cd $(HOST_SUBDIR)/zlib || exit 1; \
25279 case $(srcdir) in \
25280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25281 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25283 esac; \
25284 srcdiroption="--srcdir=$${topdir}/zlib"; \
25285 libsrcdir="$$s/zlib"; \
25286 $(SHELL) $${libsrcdir}/configure \
25287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25288 --target=${target_alias} $${srcdiroption} \
25289 --with-build-libsubdir=$(HOST_SUBDIR) \
25290 $(STAGE2_CONFIGURE_FLAGS)
25291 @endif zlib-bootstrap
25293 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25294 maybe-configure-stage3-zlib:
25295 @if zlib-bootstrap
25296 maybe-configure-stage3-zlib: configure-stage3-zlib
25297 configure-stage3-zlib:
25298 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25300 @r=`${PWD_COMMAND}`; export r; \
25301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25302 TFLAGS="$(STAGE3_TFLAGS)"; \
25303 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25304 $(HOST_EXPORTS) \
25305 $(POSTSTAGE1_HOST_EXPORTS) \
25306 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25307 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25308 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25309 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25311 cd $(HOST_SUBDIR)/zlib || exit 1; \
25312 case $(srcdir) in \
25313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25314 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25316 esac; \
25317 srcdiroption="--srcdir=$${topdir}/zlib"; \
25318 libsrcdir="$$s/zlib"; \
25319 $(SHELL) $${libsrcdir}/configure \
25320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25321 --target=${target_alias} $${srcdiroption} \
25322 --with-build-libsubdir=$(HOST_SUBDIR) \
25323 $(STAGE3_CONFIGURE_FLAGS)
25324 @endif zlib-bootstrap
25326 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25327 maybe-configure-stage4-zlib:
25328 @if zlib-bootstrap
25329 maybe-configure-stage4-zlib: configure-stage4-zlib
25330 configure-stage4-zlib:
25331 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25333 @r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 TFLAGS="$(STAGE4_TFLAGS)"; \
25336 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25337 $(HOST_EXPORTS) \
25338 $(POSTSTAGE1_HOST_EXPORTS) \
25339 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25340 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25341 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25342 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25344 cd $(HOST_SUBDIR)/zlib || exit 1; \
25345 case $(srcdir) in \
25346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25347 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25349 esac; \
25350 srcdiroption="--srcdir=$${topdir}/zlib"; \
25351 libsrcdir="$$s/zlib"; \
25352 $(SHELL) $${libsrcdir}/configure \
25353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25354 --target=${target_alias} $${srcdiroption} \
25355 --with-build-libsubdir=$(HOST_SUBDIR) \
25356 $(STAGE4_CONFIGURE_FLAGS)
25357 @endif zlib-bootstrap
25359 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25360 maybe-configure-stageprofile-zlib:
25361 @if zlib-bootstrap
25362 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25363 configure-stageprofile-zlib:
25364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25366 @r=`${PWD_COMMAND}`; export r; \
25367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25368 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25369 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25370 $(HOST_EXPORTS) \
25371 $(POSTSTAGE1_HOST_EXPORTS) \
25372 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25373 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25374 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25375 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25377 cd $(HOST_SUBDIR)/zlib || exit 1; \
25378 case $(srcdir) in \
25379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25380 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25382 esac; \
25383 srcdiroption="--srcdir=$${topdir}/zlib"; \
25384 libsrcdir="$$s/zlib"; \
25385 $(SHELL) $${libsrcdir}/configure \
25386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25387 --target=${target_alias} $${srcdiroption} \
25388 --with-build-libsubdir=$(HOST_SUBDIR) \
25389 $(STAGEprofile_CONFIGURE_FLAGS)
25390 @endif zlib-bootstrap
25392 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25393 maybe-configure-stagefeedback-zlib:
25394 @if zlib-bootstrap
25395 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25396 configure-stagefeedback-zlib:
25397 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25398 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25399 @r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25402 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25403 $(HOST_EXPORTS) \
25404 $(POSTSTAGE1_HOST_EXPORTS) \
25405 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25406 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25407 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25408 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25410 cd $(HOST_SUBDIR)/zlib || exit 1; \
25411 case $(srcdir) in \
25412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25413 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25415 esac; \
25416 srcdiroption="--srcdir=$${topdir}/zlib"; \
25417 libsrcdir="$$s/zlib"; \
25418 $(SHELL) $${libsrcdir}/configure \
25419 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25420 --target=${target_alias} $${srcdiroption} \
25421 --with-build-libsubdir=$(HOST_SUBDIR) \
25422 $(STAGEfeedback_CONFIGURE_FLAGS)
25423 @endif zlib-bootstrap
25429 .PHONY: all-zlib maybe-all-zlib
25430 maybe-all-zlib:
25431 @if gcc-bootstrap
25432 all-zlib: stage_current
25433 @endif gcc-bootstrap
25434 @if zlib
25435 TARGET-zlib=all
25436 maybe-all-zlib: all-zlib
25437 all-zlib: configure-zlib
25438 @r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(HOST_EXPORTS) \
25441 (cd $(HOST_SUBDIR)/zlib && \
25442 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25443 $(TARGET-zlib))
25444 @endif zlib
25448 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25449 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25450 maybe-all-stage1-zlib:
25451 maybe-clean-stage1-zlib:
25452 @if zlib-bootstrap
25453 maybe-all-stage1-zlib: all-stage1-zlib
25454 all-stage1: all-stage1-zlib
25455 TARGET-stage1-zlib = $(TARGET-zlib)
25456 all-stage1-zlib: configure-stage1-zlib
25457 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25458 @r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 TFLAGS="$(STAGE1_TFLAGS)"; \
25461 $(HOST_EXPORTS) \
25462 cd $(HOST_SUBDIR)/zlib && \
25463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25464 CFLAGS="$(STAGE1_CFLAGS)" \
25465 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25466 LIBCFLAGS="$(LIBCFLAGS)" \
25467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25470 $(EXTRA_HOST_FLAGS) \
25471 TFLAGS="$(STAGE1_TFLAGS)" \
25472 $(TARGET-stage1-zlib)
25474 maybe-clean-stage1-zlib: clean-stage1-zlib
25475 clean-stage1: clean-stage1-zlib
25476 clean-stage1-zlib:
25477 @if [ $(current_stage) = stage1 ]; then \
25478 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25479 else \
25480 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25481 $(MAKE) stage1-start; \
25482 fi; \
25483 cd $(HOST_SUBDIR)/zlib && \
25484 $(MAKE) $(EXTRA_HOST_FLAGS) \
25485 clean
25486 @endif zlib-bootstrap
25489 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25490 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25491 maybe-all-stage2-zlib:
25492 maybe-clean-stage2-zlib:
25493 @if zlib-bootstrap
25494 maybe-all-stage2-zlib: all-stage2-zlib
25495 all-stage2: all-stage2-zlib
25496 TARGET-stage2-zlib = $(TARGET-zlib)
25497 all-stage2-zlib: configure-stage2-zlib
25498 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25499 @r=`${PWD_COMMAND}`; export r; \
25500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25501 TFLAGS="$(STAGE2_TFLAGS)"; \
25502 $(HOST_EXPORTS) \
25503 $(POSTSTAGE1_HOST_EXPORTS) \
25504 cd $(HOST_SUBDIR)/zlib && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25506 CFLAGS="$(STAGE2_CFLAGS)" \
25507 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25508 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25512 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25513 TFLAGS="$(STAGE2_TFLAGS)" \
25514 $(TARGET-stage2-zlib)
25516 maybe-clean-stage2-zlib: clean-stage2-zlib
25517 clean-stage2: clean-stage2-zlib
25518 clean-stage2-zlib:
25519 @if [ $(current_stage) = stage2 ]; then \
25520 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25521 else \
25522 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25523 $(MAKE) stage2-start; \
25524 fi; \
25525 cd $(HOST_SUBDIR)/zlib && \
25526 $(MAKE) $(EXTRA_HOST_FLAGS) \
25527 $(POSTSTAGE1_FLAGS_TO_PASS) \
25528 clean
25529 @endif zlib-bootstrap
25532 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25533 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25534 maybe-all-stage3-zlib:
25535 maybe-clean-stage3-zlib:
25536 @if zlib-bootstrap
25537 maybe-all-stage3-zlib: all-stage3-zlib
25538 all-stage3: all-stage3-zlib
25539 TARGET-stage3-zlib = $(TARGET-zlib)
25540 all-stage3-zlib: configure-stage3-zlib
25541 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25542 @r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 TFLAGS="$(STAGE3_TFLAGS)"; \
25545 $(HOST_EXPORTS) \
25546 $(POSTSTAGE1_HOST_EXPORTS) \
25547 cd $(HOST_SUBDIR)/zlib && \
25548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25549 CFLAGS="$(STAGE3_CFLAGS)" \
25550 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25551 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25556 TFLAGS="$(STAGE3_TFLAGS)" \
25557 $(TARGET-stage3-zlib)
25559 maybe-clean-stage3-zlib: clean-stage3-zlib
25560 clean-stage3: clean-stage3-zlib
25561 clean-stage3-zlib:
25562 @if [ $(current_stage) = stage3 ]; then \
25563 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25564 else \
25565 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25566 $(MAKE) stage3-start; \
25567 fi; \
25568 cd $(HOST_SUBDIR)/zlib && \
25569 $(MAKE) $(EXTRA_HOST_FLAGS) \
25570 $(POSTSTAGE1_FLAGS_TO_PASS) \
25571 clean
25572 @endif zlib-bootstrap
25575 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25576 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25577 maybe-all-stage4-zlib:
25578 maybe-clean-stage4-zlib:
25579 @if zlib-bootstrap
25580 maybe-all-stage4-zlib: all-stage4-zlib
25581 all-stage4: all-stage4-zlib
25582 TARGET-stage4-zlib = $(TARGET-zlib)
25583 all-stage4-zlib: configure-stage4-zlib
25584 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25585 @r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 TFLAGS="$(STAGE4_TFLAGS)"; \
25588 $(HOST_EXPORTS) \
25589 $(POSTSTAGE1_HOST_EXPORTS) \
25590 cd $(HOST_SUBDIR)/zlib && \
25591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25592 CFLAGS="$(STAGE4_CFLAGS)" \
25593 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25594 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25599 TFLAGS="$(STAGE4_TFLAGS)" \
25600 $(TARGET-stage4-zlib)
25602 maybe-clean-stage4-zlib: clean-stage4-zlib
25603 clean-stage4: clean-stage4-zlib
25604 clean-stage4-zlib:
25605 @if [ $(current_stage) = stage4 ]; then \
25606 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25607 else \
25608 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25609 $(MAKE) stage4-start; \
25610 fi; \
25611 cd $(HOST_SUBDIR)/zlib && \
25612 $(MAKE) $(EXTRA_HOST_FLAGS) \
25613 $(POSTSTAGE1_FLAGS_TO_PASS) \
25614 clean
25615 @endif zlib-bootstrap
25618 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25619 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25620 maybe-all-stageprofile-zlib:
25621 maybe-clean-stageprofile-zlib:
25622 @if zlib-bootstrap
25623 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25624 all-stageprofile: all-stageprofile-zlib
25625 TARGET-stageprofile-zlib = $(TARGET-zlib)
25626 all-stageprofile-zlib: configure-stageprofile-zlib
25627 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25628 @r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25631 $(HOST_EXPORTS) \
25632 $(POSTSTAGE1_HOST_EXPORTS) \
25633 cd $(HOST_SUBDIR)/zlib && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25635 CFLAGS="$(STAGEprofile_CFLAGS)" \
25636 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25637 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25642 TFLAGS="$(STAGEprofile_TFLAGS)" \
25643 $(TARGET-stageprofile-zlib)
25645 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25646 clean-stageprofile: clean-stageprofile-zlib
25647 clean-stageprofile-zlib:
25648 @if [ $(current_stage) = stageprofile ]; then \
25649 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25650 else \
25651 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25652 $(MAKE) stageprofile-start; \
25653 fi; \
25654 cd $(HOST_SUBDIR)/zlib && \
25655 $(MAKE) $(EXTRA_HOST_FLAGS) \
25656 $(POSTSTAGE1_FLAGS_TO_PASS) \
25657 clean
25658 @endif zlib-bootstrap
25661 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25662 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25663 maybe-all-stagefeedback-zlib:
25664 maybe-clean-stagefeedback-zlib:
25665 @if zlib-bootstrap
25666 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25667 all-stagefeedback: all-stagefeedback-zlib
25668 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25669 all-stagefeedback-zlib: configure-stagefeedback-zlib
25670 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25671 @r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25674 $(HOST_EXPORTS) \
25675 $(POSTSTAGE1_HOST_EXPORTS) \
25676 cd $(HOST_SUBDIR)/zlib && \
25677 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25678 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25679 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25680 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25681 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25682 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25683 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25684 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25685 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25686 $(TARGET-stagefeedback-zlib)
25688 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25689 clean-stagefeedback: clean-stagefeedback-zlib
25690 clean-stagefeedback-zlib:
25691 @if [ $(current_stage) = stagefeedback ]; then \
25692 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25693 else \
25694 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25695 $(MAKE) stagefeedback-start; \
25696 fi; \
25697 cd $(HOST_SUBDIR)/zlib && \
25698 $(MAKE) $(EXTRA_HOST_FLAGS) \
25699 $(POSTSTAGE1_FLAGS_TO_PASS) \
25700 clean
25701 @endif zlib-bootstrap
25707 .PHONY: check-zlib maybe-check-zlib
25708 maybe-check-zlib:
25709 @if zlib
25710 maybe-check-zlib: check-zlib
25712 check-zlib:
25714 @endif zlib
25716 .PHONY: install-zlib maybe-install-zlib
25717 maybe-install-zlib:
25718 @if zlib
25719 maybe-install-zlib: install-zlib
25721 install-zlib:
25723 @endif zlib
25725 .PHONY: install-strip-zlib maybe-install-strip-zlib
25726 maybe-install-strip-zlib:
25727 @if zlib
25728 maybe-install-strip-zlib: install-strip-zlib
25730 install-strip-zlib:
25732 @endif zlib
25734 # Other targets (info, dvi, pdf, etc.)
25736 .PHONY: maybe-info-zlib info-zlib
25737 maybe-info-zlib:
25738 @if zlib
25739 maybe-info-zlib: info-zlib
25741 info-zlib: \
25742 configure-zlib
25743 @[ -f ./zlib/Makefile ] || exit 0; \
25744 r=`${PWD_COMMAND}`; export r; \
25745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25746 $(HOST_EXPORTS) \
25747 for flag in $(EXTRA_HOST_FLAGS) ; do \
25748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25749 done; \
25750 echo "Doing info in zlib" ; \
25751 (cd $(HOST_SUBDIR)/zlib && \
25752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25754 "RANLIB=$${RANLIB}" \
25755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25756 info) \
25757 || exit 1
25759 @endif zlib
25761 .PHONY: maybe-dvi-zlib dvi-zlib
25762 maybe-dvi-zlib:
25763 @if zlib
25764 maybe-dvi-zlib: dvi-zlib
25766 dvi-zlib: \
25767 configure-zlib
25768 @[ -f ./zlib/Makefile ] || exit 0; \
25769 r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 for flag in $(EXTRA_HOST_FLAGS) ; do \
25773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25774 done; \
25775 echo "Doing dvi in zlib" ; \
25776 (cd $(HOST_SUBDIR)/zlib && \
25777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25779 "RANLIB=$${RANLIB}" \
25780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25781 dvi) \
25782 || exit 1
25784 @endif zlib
25786 .PHONY: maybe-pdf-zlib pdf-zlib
25787 maybe-pdf-zlib:
25788 @if zlib
25789 maybe-pdf-zlib: pdf-zlib
25791 pdf-zlib: \
25792 configure-zlib
25793 @[ -f ./zlib/Makefile ] || exit 0; \
25794 r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 $(HOST_EXPORTS) \
25797 for flag in $(EXTRA_HOST_FLAGS) ; do \
25798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25799 done; \
25800 echo "Doing pdf in zlib" ; \
25801 (cd $(HOST_SUBDIR)/zlib && \
25802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25804 "RANLIB=$${RANLIB}" \
25805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25806 pdf) \
25807 || exit 1
25809 @endif zlib
25811 .PHONY: maybe-html-zlib html-zlib
25812 maybe-html-zlib:
25813 @if zlib
25814 maybe-html-zlib: html-zlib
25816 html-zlib: \
25817 configure-zlib
25818 @[ -f ./zlib/Makefile ] || exit 0; \
25819 r=`${PWD_COMMAND}`; export r; \
25820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25821 $(HOST_EXPORTS) \
25822 for flag in $(EXTRA_HOST_FLAGS) ; do \
25823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25824 done; \
25825 echo "Doing html in zlib" ; \
25826 (cd $(HOST_SUBDIR)/zlib && \
25827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25829 "RANLIB=$${RANLIB}" \
25830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25831 html) \
25832 || exit 1
25834 @endif zlib
25836 .PHONY: maybe-TAGS-zlib TAGS-zlib
25837 maybe-TAGS-zlib:
25838 @if zlib
25839 maybe-TAGS-zlib: TAGS-zlib
25841 TAGS-zlib: \
25842 configure-zlib
25843 @[ -f ./zlib/Makefile ] || exit 0; \
25844 r=`${PWD_COMMAND}`; export r; \
25845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25846 $(HOST_EXPORTS) \
25847 for flag in $(EXTRA_HOST_FLAGS) ; do \
25848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25849 done; \
25850 echo "Doing TAGS in zlib" ; \
25851 (cd $(HOST_SUBDIR)/zlib && \
25852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25854 "RANLIB=$${RANLIB}" \
25855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25856 TAGS) \
25857 || exit 1
25859 @endif zlib
25861 .PHONY: maybe-install-info-zlib install-info-zlib
25862 maybe-install-info-zlib:
25863 @if zlib
25864 maybe-install-info-zlib: install-info-zlib
25866 install-info-zlib: \
25867 configure-zlib \
25868 info-zlib
25869 @[ -f ./zlib/Makefile ] || exit 0; \
25870 r=`${PWD_COMMAND}`; export r; \
25871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872 $(HOST_EXPORTS) \
25873 for flag in $(EXTRA_HOST_FLAGS) ; do \
25874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25875 done; \
25876 echo "Doing install-info in zlib" ; \
25877 (cd $(HOST_SUBDIR)/zlib && \
25878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25880 "RANLIB=$${RANLIB}" \
25881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25882 install-info) \
25883 || exit 1
25885 @endif zlib
25887 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25888 maybe-install-pdf-zlib:
25889 @if zlib
25890 maybe-install-pdf-zlib: install-pdf-zlib
25892 install-pdf-zlib: \
25893 configure-zlib \
25894 pdf-zlib
25895 @[ -f ./zlib/Makefile ] || exit 0; \
25896 r=`${PWD_COMMAND}`; export r; \
25897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25898 $(HOST_EXPORTS) \
25899 for flag in $(EXTRA_HOST_FLAGS) ; do \
25900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25901 done; \
25902 echo "Doing install-pdf in zlib" ; \
25903 (cd $(HOST_SUBDIR)/zlib && \
25904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25906 "RANLIB=$${RANLIB}" \
25907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25908 install-pdf) \
25909 || exit 1
25911 @endif zlib
25913 .PHONY: maybe-install-html-zlib install-html-zlib
25914 maybe-install-html-zlib:
25915 @if zlib
25916 maybe-install-html-zlib: install-html-zlib
25918 install-html-zlib: \
25919 configure-zlib \
25920 html-zlib
25921 @[ -f ./zlib/Makefile ] || exit 0; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 for flag in $(EXTRA_HOST_FLAGS) ; do \
25926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25927 done; \
25928 echo "Doing install-html in zlib" ; \
25929 (cd $(HOST_SUBDIR)/zlib && \
25930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25932 "RANLIB=$${RANLIB}" \
25933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25934 install-html) \
25935 || exit 1
25937 @endif zlib
25939 .PHONY: maybe-installcheck-zlib installcheck-zlib
25940 maybe-installcheck-zlib:
25941 @if zlib
25942 maybe-installcheck-zlib: installcheck-zlib
25944 installcheck-zlib: \
25945 configure-zlib
25946 @[ -f ./zlib/Makefile ] || exit 0; \
25947 r=`${PWD_COMMAND}`; export r; \
25948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25949 $(HOST_EXPORTS) \
25950 for flag in $(EXTRA_HOST_FLAGS) ; do \
25951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25952 done; \
25953 echo "Doing installcheck in zlib" ; \
25954 (cd $(HOST_SUBDIR)/zlib && \
25955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25957 "RANLIB=$${RANLIB}" \
25958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25959 installcheck) \
25960 || exit 1
25962 @endif zlib
25964 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25965 maybe-mostlyclean-zlib:
25966 @if zlib
25967 maybe-mostlyclean-zlib: mostlyclean-zlib
25969 mostlyclean-zlib:
25970 @[ -f ./zlib/Makefile ] || exit 0; \
25971 r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(HOST_EXPORTS) \
25974 for flag in $(EXTRA_HOST_FLAGS) ; do \
25975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25976 done; \
25977 echo "Doing mostlyclean in zlib" ; \
25978 (cd $(HOST_SUBDIR)/zlib && \
25979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25981 "RANLIB=$${RANLIB}" \
25982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25983 mostlyclean) \
25984 || exit 1
25986 @endif zlib
25988 .PHONY: maybe-clean-zlib clean-zlib
25989 maybe-clean-zlib:
25990 @if zlib
25991 maybe-clean-zlib: clean-zlib
25993 clean-zlib:
25994 @[ -f ./zlib/Makefile ] || exit 0; \
25995 r=`${PWD_COMMAND}`; export r; \
25996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25997 $(HOST_EXPORTS) \
25998 for flag in $(EXTRA_HOST_FLAGS) ; do \
25999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26000 done; \
26001 echo "Doing clean in zlib" ; \
26002 (cd $(HOST_SUBDIR)/zlib && \
26003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26005 "RANLIB=$${RANLIB}" \
26006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26007 clean) \
26008 || exit 1
26010 @endif zlib
26012 .PHONY: maybe-distclean-zlib distclean-zlib
26013 maybe-distclean-zlib:
26014 @if zlib
26015 maybe-distclean-zlib: distclean-zlib
26017 distclean-zlib:
26018 @[ -f ./zlib/Makefile ] || exit 0; \
26019 r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26021 $(HOST_EXPORTS) \
26022 for flag in $(EXTRA_HOST_FLAGS) ; do \
26023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26024 done; \
26025 echo "Doing distclean in zlib" ; \
26026 (cd $(HOST_SUBDIR)/zlib && \
26027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26029 "RANLIB=$${RANLIB}" \
26030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26031 distclean) \
26032 || exit 1
26034 @endif zlib
26036 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26037 maybe-maintainer-clean-zlib:
26038 @if zlib
26039 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26041 maintainer-clean-zlib:
26042 @[ -f ./zlib/Makefile ] || exit 0; \
26043 r=`${PWD_COMMAND}`; export r; \
26044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 $(HOST_EXPORTS) \
26046 for flag in $(EXTRA_HOST_FLAGS) ; do \
26047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26048 done; \
26049 echo "Doing maintainer-clean in zlib" ; \
26050 (cd $(HOST_SUBDIR)/zlib && \
26051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26053 "RANLIB=$${RANLIB}" \
26054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26055 maintainer-clean) \
26056 || exit 1
26058 @endif zlib
26062 .PHONY: configure-gdb maybe-configure-gdb
26063 maybe-configure-gdb:
26064 @if gcc-bootstrap
26065 configure-gdb: stage_current
26066 @endif gcc-bootstrap
26067 @if gdb
26068 maybe-configure-gdb: configure-gdb
26069 configure-gdb:
26070 @: $(MAKE); $(unstage)
26071 @r=`${PWD_COMMAND}`; export r; \
26072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26073 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26075 $(HOST_EXPORTS) \
26076 echo Configuring in $(HOST_SUBDIR)/gdb; \
26077 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26078 case $(srcdir) in \
26079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26080 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26082 esac; \
26083 srcdiroption="--srcdir=$${topdir}/gdb"; \
26084 libsrcdir="$$s/gdb"; \
26085 $(SHELL) $${libsrcdir}/configure \
26086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26087 --target=${target_alias} $${srcdiroption} \
26088 || exit 1
26089 @endif gdb
26095 .PHONY: all-gdb maybe-all-gdb
26096 maybe-all-gdb:
26097 @if gcc-bootstrap
26098 all-gdb: stage_current
26099 @endif gcc-bootstrap
26100 @if gdb
26101 TARGET-gdb=all
26102 maybe-all-gdb: all-gdb
26103 all-gdb: configure-gdb
26104 @: $(MAKE); $(unstage)
26105 @r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 (cd $(HOST_SUBDIR)/gdb && \
26109 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26110 $(TARGET-gdb))
26111 @endif gdb
26116 .PHONY: check-gdb maybe-check-gdb
26117 maybe-check-gdb:
26118 @if gdb
26119 maybe-check-gdb: check-gdb
26121 check-gdb:
26122 @: $(MAKE); $(unstage)
26123 @r=`${PWD_COMMAND}`; export r; \
26124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26125 $(HOST_EXPORTS) \
26126 (cd $(HOST_SUBDIR)/gdb && \
26127 $(MAKE) $(FLAGS_TO_PASS) check)
26129 @endif gdb
26131 .PHONY: install-gdb maybe-install-gdb
26132 maybe-install-gdb:
26133 @if gdb
26134 maybe-install-gdb: install-gdb
26136 install-gdb: installdirs
26137 @: $(MAKE); $(unstage)
26138 @r=`${PWD_COMMAND}`; export r; \
26139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26140 $(HOST_EXPORTS) \
26141 (cd $(HOST_SUBDIR)/gdb && \
26142 $(MAKE) $(FLAGS_TO_PASS) install)
26144 @endif gdb
26146 .PHONY: install-strip-gdb maybe-install-strip-gdb
26147 maybe-install-strip-gdb:
26148 @if gdb
26149 maybe-install-strip-gdb: install-strip-gdb
26151 install-strip-gdb: installdirs
26152 @: $(MAKE); $(unstage)
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 $(HOST_EXPORTS) \
26156 (cd $(HOST_SUBDIR)/gdb && \
26157 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26159 @endif gdb
26161 # Other targets (info, dvi, pdf, etc.)
26163 .PHONY: maybe-info-gdb info-gdb
26164 maybe-info-gdb:
26165 @if gdb
26166 maybe-info-gdb: info-gdb
26168 info-gdb: \
26169 configure-gdb
26170 @: $(MAKE); $(unstage)
26171 @[ -f ./gdb/Makefile ] || exit 0; \
26172 r=`${PWD_COMMAND}`; export r; \
26173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26174 $(HOST_EXPORTS) \
26175 for flag in $(EXTRA_HOST_FLAGS) ; do \
26176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26177 done; \
26178 echo "Doing info in gdb" ; \
26179 (cd $(HOST_SUBDIR)/gdb && \
26180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26182 "RANLIB=$${RANLIB}" \
26183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26184 info) \
26185 || exit 1
26187 @endif gdb
26189 .PHONY: maybe-dvi-gdb dvi-gdb
26190 maybe-dvi-gdb:
26191 @if gdb
26192 maybe-dvi-gdb: dvi-gdb
26194 dvi-gdb: \
26195 configure-gdb
26196 @: $(MAKE); $(unstage)
26197 @[ -f ./gdb/Makefile ] || exit 0; \
26198 r=`${PWD_COMMAND}`; export r; \
26199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26200 $(HOST_EXPORTS) \
26201 for flag in $(EXTRA_HOST_FLAGS) ; do \
26202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26203 done; \
26204 echo "Doing dvi in gdb" ; \
26205 (cd $(HOST_SUBDIR)/gdb && \
26206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26208 "RANLIB=$${RANLIB}" \
26209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26210 dvi) \
26211 || exit 1
26213 @endif gdb
26215 .PHONY: maybe-pdf-gdb pdf-gdb
26216 maybe-pdf-gdb:
26217 @if gdb
26218 maybe-pdf-gdb: pdf-gdb
26220 pdf-gdb: \
26221 configure-gdb
26222 @: $(MAKE); $(unstage)
26223 @[ -f ./gdb/Makefile ] || exit 0; \
26224 r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(HOST_EXPORTS) \
26227 for flag in $(EXTRA_HOST_FLAGS) ; do \
26228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26229 done; \
26230 echo "Doing pdf in gdb" ; \
26231 (cd $(HOST_SUBDIR)/gdb && \
26232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26234 "RANLIB=$${RANLIB}" \
26235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26236 pdf) \
26237 || exit 1
26239 @endif gdb
26241 .PHONY: maybe-html-gdb html-gdb
26242 maybe-html-gdb:
26243 @if gdb
26244 maybe-html-gdb: html-gdb
26246 html-gdb: \
26247 configure-gdb
26248 @: $(MAKE); $(unstage)
26249 @[ -f ./gdb/Makefile ] || exit 0; \
26250 r=`${PWD_COMMAND}`; export r; \
26251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26252 $(HOST_EXPORTS) \
26253 for flag in $(EXTRA_HOST_FLAGS) ; do \
26254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26255 done; \
26256 echo "Doing html in gdb" ; \
26257 (cd $(HOST_SUBDIR)/gdb && \
26258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26260 "RANLIB=$${RANLIB}" \
26261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26262 html) \
26263 || exit 1
26265 @endif gdb
26267 .PHONY: maybe-TAGS-gdb TAGS-gdb
26268 maybe-TAGS-gdb:
26269 @if gdb
26270 maybe-TAGS-gdb: TAGS-gdb
26272 TAGS-gdb: \
26273 configure-gdb
26274 @: $(MAKE); $(unstage)
26275 @[ -f ./gdb/Makefile ] || exit 0; \
26276 r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 $(HOST_EXPORTS) \
26279 for flag in $(EXTRA_HOST_FLAGS) ; do \
26280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26281 done; \
26282 echo "Doing TAGS in gdb" ; \
26283 (cd $(HOST_SUBDIR)/gdb && \
26284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26286 "RANLIB=$${RANLIB}" \
26287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26288 TAGS) \
26289 || exit 1
26291 @endif gdb
26293 .PHONY: maybe-install-info-gdb install-info-gdb
26294 maybe-install-info-gdb:
26295 @if gdb
26296 maybe-install-info-gdb: install-info-gdb
26298 install-info-gdb: \
26299 configure-gdb \
26300 info-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 install-info 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 install-info) \
26316 || exit 1
26318 @endif gdb
26320 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26321 maybe-install-pdf-gdb:
26322 @if gdb
26323 maybe-install-pdf-gdb: install-pdf-gdb
26325 install-pdf-gdb: \
26326 configure-gdb \
26327 pdf-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-pdf 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-pdf) \
26343 || exit 1
26345 @endif gdb
26347 .PHONY: maybe-install-html-gdb install-html-gdb
26348 maybe-install-html-gdb:
26349 @if gdb
26350 maybe-install-html-gdb: install-html-gdb
26352 install-html-gdb: \
26353 configure-gdb \
26354 html-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-html 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-html) \
26370 || exit 1
26372 @endif gdb
26374 .PHONY: maybe-installcheck-gdb installcheck-gdb
26375 maybe-installcheck-gdb:
26376 @if gdb
26377 maybe-installcheck-gdb: installcheck-gdb
26379 installcheck-gdb: \
26380 configure-gdb
26381 @: $(MAKE); $(unstage)
26382 @[ -f ./gdb/Makefile ] || exit 0; \
26383 r=`${PWD_COMMAND}`; export r; \
26384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26385 $(HOST_EXPORTS) \
26386 for flag in $(EXTRA_HOST_FLAGS) ; do \
26387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26388 done; \
26389 echo "Doing installcheck in gdb" ; \
26390 (cd $(HOST_SUBDIR)/gdb && \
26391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26393 "RANLIB=$${RANLIB}" \
26394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26395 installcheck) \
26396 || exit 1
26398 @endif gdb
26400 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26401 maybe-mostlyclean-gdb:
26402 @if gdb
26403 maybe-mostlyclean-gdb: mostlyclean-gdb
26405 mostlyclean-gdb:
26406 @: $(MAKE); $(unstage)
26407 @[ -f ./gdb/Makefile ] || exit 0; \
26408 r=`${PWD_COMMAND}`; export r; \
26409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26410 $(HOST_EXPORTS) \
26411 for flag in $(EXTRA_HOST_FLAGS) ; do \
26412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26413 done; \
26414 echo "Doing mostlyclean in gdb" ; \
26415 (cd $(HOST_SUBDIR)/gdb && \
26416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26418 "RANLIB=$${RANLIB}" \
26419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26420 mostlyclean) \
26421 || exit 1
26423 @endif gdb
26425 .PHONY: maybe-clean-gdb clean-gdb
26426 maybe-clean-gdb:
26427 @if gdb
26428 maybe-clean-gdb: clean-gdb
26430 clean-gdb:
26431 @: $(MAKE); $(unstage)
26432 @[ -f ./gdb/Makefile ] || exit 0; \
26433 r=`${PWD_COMMAND}`; export r; \
26434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26435 $(HOST_EXPORTS) \
26436 for flag in $(EXTRA_HOST_FLAGS) ; do \
26437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26438 done; \
26439 echo "Doing clean in gdb" ; \
26440 (cd $(HOST_SUBDIR)/gdb && \
26441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26443 "RANLIB=$${RANLIB}" \
26444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26445 clean) \
26446 || exit 1
26448 @endif gdb
26450 .PHONY: maybe-distclean-gdb distclean-gdb
26451 maybe-distclean-gdb:
26452 @if gdb
26453 maybe-distclean-gdb: distclean-gdb
26455 distclean-gdb:
26456 @: $(MAKE); $(unstage)
26457 @[ -f ./gdb/Makefile ] || exit 0; \
26458 r=`${PWD_COMMAND}`; export r; \
26459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26460 $(HOST_EXPORTS) \
26461 for flag in $(EXTRA_HOST_FLAGS) ; do \
26462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26463 done; \
26464 echo "Doing distclean in gdb" ; \
26465 (cd $(HOST_SUBDIR)/gdb && \
26466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26468 "RANLIB=$${RANLIB}" \
26469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26470 distclean) \
26471 || exit 1
26473 @endif gdb
26475 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26476 maybe-maintainer-clean-gdb:
26477 @if gdb
26478 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26480 maintainer-clean-gdb:
26481 @: $(MAKE); $(unstage)
26482 @[ -f ./gdb/Makefile ] || exit 0; \
26483 r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 $(HOST_EXPORTS) \
26486 for flag in $(EXTRA_HOST_FLAGS) ; do \
26487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26488 done; \
26489 echo "Doing maintainer-clean in gdb" ; \
26490 (cd $(HOST_SUBDIR)/gdb && \
26491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26493 "RANLIB=$${RANLIB}" \
26494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26495 maintainer-clean) \
26496 || exit 1
26498 @endif gdb
26502 .PHONY: configure-expect maybe-configure-expect
26503 maybe-configure-expect:
26504 @if gcc-bootstrap
26505 configure-expect: stage_current
26506 @endif gcc-bootstrap
26507 @if expect
26508 maybe-configure-expect: configure-expect
26509 configure-expect:
26510 @: $(MAKE); $(unstage)
26511 @r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26515 $(HOST_EXPORTS) \
26516 echo Configuring in $(HOST_SUBDIR)/expect; \
26517 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26518 case $(srcdir) in \
26519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26520 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26522 esac; \
26523 srcdiroption="--srcdir=$${topdir}/expect"; \
26524 libsrcdir="$$s/expect"; \
26525 $(SHELL) $${libsrcdir}/configure \
26526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26527 --target=${target_alias} $${srcdiroption} \
26528 || exit 1
26529 @endif expect
26535 .PHONY: all-expect maybe-all-expect
26536 maybe-all-expect:
26537 @if gcc-bootstrap
26538 all-expect: stage_current
26539 @endif gcc-bootstrap
26540 @if expect
26541 TARGET-expect=all
26542 maybe-all-expect: all-expect
26543 all-expect: configure-expect
26544 @: $(MAKE); $(unstage)
26545 @r=`${PWD_COMMAND}`; export r; \
26546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26547 $(HOST_EXPORTS) \
26548 (cd $(HOST_SUBDIR)/expect && \
26549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26550 $(TARGET-expect))
26551 @endif expect
26556 .PHONY: check-expect maybe-check-expect
26557 maybe-check-expect:
26558 @if expect
26559 maybe-check-expect: check-expect
26561 check-expect:
26562 @: $(MAKE); $(unstage)
26563 @r=`${PWD_COMMAND}`; export r; \
26564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26565 $(HOST_EXPORTS) \
26566 (cd $(HOST_SUBDIR)/expect && \
26567 $(MAKE) $(FLAGS_TO_PASS) check)
26569 @endif expect
26571 .PHONY: install-expect maybe-install-expect
26572 maybe-install-expect:
26573 @if expect
26574 maybe-install-expect: install-expect
26576 install-expect: installdirs
26577 @: $(MAKE); $(unstage)
26578 @r=`${PWD_COMMAND}`; export r; \
26579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 $(HOST_EXPORTS) \
26581 (cd $(HOST_SUBDIR)/expect && \
26582 $(MAKE) $(FLAGS_TO_PASS) install)
26584 @endif expect
26586 .PHONY: install-strip-expect maybe-install-strip-expect
26587 maybe-install-strip-expect:
26588 @if expect
26589 maybe-install-strip-expect: install-strip-expect
26591 install-strip-expect: installdirs
26592 @: $(MAKE); $(unstage)
26593 @r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(HOST_EXPORTS) \
26596 (cd $(HOST_SUBDIR)/expect && \
26597 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26599 @endif expect
26601 # Other targets (info, dvi, pdf, etc.)
26603 .PHONY: maybe-info-expect info-expect
26604 maybe-info-expect:
26605 @if expect
26606 maybe-info-expect: info-expect
26608 info-expect: \
26609 configure-expect
26610 @: $(MAKE); $(unstage)
26611 @[ -f ./expect/Makefile ] || exit 0; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(HOST_EXPORTS) \
26615 for flag in $(EXTRA_HOST_FLAGS) ; do \
26616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26617 done; \
26618 echo "Doing info in expect" ; \
26619 (cd $(HOST_SUBDIR)/expect && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26622 "RANLIB=$${RANLIB}" \
26623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26624 info) \
26625 || exit 1
26627 @endif expect
26629 .PHONY: maybe-dvi-expect dvi-expect
26630 maybe-dvi-expect:
26631 @if expect
26632 maybe-dvi-expect: dvi-expect
26634 dvi-expect: \
26635 configure-expect
26636 @: $(MAKE); $(unstage)
26637 @[ -f ./expect/Makefile ] || exit 0; \
26638 r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(HOST_EXPORTS) \
26641 for flag in $(EXTRA_HOST_FLAGS) ; do \
26642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26643 done; \
26644 echo "Doing dvi in expect" ; \
26645 (cd $(HOST_SUBDIR)/expect && \
26646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26648 "RANLIB=$${RANLIB}" \
26649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26650 dvi) \
26651 || exit 1
26653 @endif expect
26655 .PHONY: maybe-pdf-expect pdf-expect
26656 maybe-pdf-expect:
26657 @if expect
26658 maybe-pdf-expect: pdf-expect
26660 pdf-expect: \
26661 configure-expect
26662 @: $(MAKE); $(unstage)
26663 @[ -f ./expect/Makefile ] || exit 0; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(HOST_EXPORTS) \
26667 for flag in $(EXTRA_HOST_FLAGS) ; do \
26668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26669 done; \
26670 echo "Doing pdf in expect" ; \
26671 (cd $(HOST_SUBDIR)/expect && \
26672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26674 "RANLIB=$${RANLIB}" \
26675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26676 pdf) \
26677 || exit 1
26679 @endif expect
26681 .PHONY: maybe-html-expect html-expect
26682 maybe-html-expect:
26683 @if expect
26684 maybe-html-expect: html-expect
26686 html-expect: \
26687 configure-expect
26688 @: $(MAKE); $(unstage)
26689 @[ -f ./expect/Makefile ] || exit 0; \
26690 r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(HOST_EXPORTS) \
26693 for flag in $(EXTRA_HOST_FLAGS) ; do \
26694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26695 done; \
26696 echo "Doing html in expect" ; \
26697 (cd $(HOST_SUBDIR)/expect && \
26698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26700 "RANLIB=$${RANLIB}" \
26701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26702 html) \
26703 || exit 1
26705 @endif expect
26707 .PHONY: maybe-TAGS-expect TAGS-expect
26708 maybe-TAGS-expect:
26709 @if expect
26710 maybe-TAGS-expect: TAGS-expect
26712 TAGS-expect: \
26713 configure-expect
26714 @: $(MAKE); $(unstage)
26715 @[ -f ./expect/Makefile ] || exit 0; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 for flag in $(EXTRA_HOST_FLAGS) ; do \
26720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26721 done; \
26722 echo "Doing TAGS in expect" ; \
26723 (cd $(HOST_SUBDIR)/expect && \
26724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26726 "RANLIB=$${RANLIB}" \
26727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26728 TAGS) \
26729 || exit 1
26731 @endif expect
26733 .PHONY: maybe-install-info-expect install-info-expect
26734 maybe-install-info-expect:
26735 @if expect
26736 maybe-install-info-expect: install-info-expect
26738 install-info-expect: \
26739 configure-expect \
26740 info-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 install-info 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 install-info) \
26756 || exit 1
26758 @endif expect
26760 .PHONY: maybe-install-pdf-expect install-pdf-expect
26761 maybe-install-pdf-expect:
26762 @if expect
26763 maybe-install-pdf-expect: install-pdf-expect
26765 install-pdf-expect: \
26766 configure-expect \
26767 pdf-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-pdf 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-pdf) \
26783 || exit 1
26785 @endif expect
26787 .PHONY: maybe-install-html-expect install-html-expect
26788 maybe-install-html-expect:
26789 @if expect
26790 maybe-install-html-expect: install-html-expect
26792 install-html-expect: \
26793 configure-expect \
26794 html-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-html 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-html) \
26810 || exit 1
26812 @endif expect
26814 .PHONY: maybe-installcheck-expect installcheck-expect
26815 maybe-installcheck-expect:
26816 @if expect
26817 maybe-installcheck-expect: installcheck-expect
26819 installcheck-expect: \
26820 configure-expect
26821 @: $(MAKE); $(unstage)
26822 @[ -f ./expect/Makefile ] || exit 0; \
26823 r=`${PWD_COMMAND}`; export r; \
26824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26825 $(HOST_EXPORTS) \
26826 for flag in $(EXTRA_HOST_FLAGS) ; do \
26827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26828 done; \
26829 echo "Doing installcheck in expect" ; \
26830 (cd $(HOST_SUBDIR)/expect && \
26831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26833 "RANLIB=$${RANLIB}" \
26834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26835 installcheck) \
26836 || exit 1
26838 @endif expect
26840 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26841 maybe-mostlyclean-expect:
26842 @if expect
26843 maybe-mostlyclean-expect: mostlyclean-expect
26845 mostlyclean-expect:
26846 @: $(MAKE); $(unstage)
26847 @[ -f ./expect/Makefile ] || exit 0; \
26848 r=`${PWD_COMMAND}`; export r; \
26849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26850 $(HOST_EXPORTS) \
26851 for flag in $(EXTRA_HOST_FLAGS) ; do \
26852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26853 done; \
26854 echo "Doing mostlyclean in expect" ; \
26855 (cd $(HOST_SUBDIR)/expect && \
26856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26858 "RANLIB=$${RANLIB}" \
26859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26860 mostlyclean) \
26861 || exit 1
26863 @endif expect
26865 .PHONY: maybe-clean-expect clean-expect
26866 maybe-clean-expect:
26867 @if expect
26868 maybe-clean-expect: clean-expect
26870 clean-expect:
26871 @: $(MAKE); $(unstage)
26872 @[ -f ./expect/Makefile ] || exit 0; \
26873 r=`${PWD_COMMAND}`; export r; \
26874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26875 $(HOST_EXPORTS) \
26876 for flag in $(EXTRA_HOST_FLAGS) ; do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 echo "Doing clean in expect" ; \
26880 (cd $(HOST_SUBDIR)/expect && \
26881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26883 "RANLIB=$${RANLIB}" \
26884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26885 clean) \
26886 || exit 1
26888 @endif expect
26890 .PHONY: maybe-distclean-expect distclean-expect
26891 maybe-distclean-expect:
26892 @if expect
26893 maybe-distclean-expect: distclean-expect
26895 distclean-expect:
26896 @: $(MAKE); $(unstage)
26897 @[ -f ./expect/Makefile ] || exit 0; \
26898 r=`${PWD_COMMAND}`; export r; \
26899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900 $(HOST_EXPORTS) \
26901 for flag in $(EXTRA_HOST_FLAGS) ; do \
26902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26903 done; \
26904 echo "Doing distclean in expect" ; \
26905 (cd $(HOST_SUBDIR)/expect && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26908 "RANLIB=$${RANLIB}" \
26909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26910 distclean) \
26911 || exit 1
26913 @endif expect
26915 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26916 maybe-maintainer-clean-expect:
26917 @if expect
26918 maybe-maintainer-clean-expect: maintainer-clean-expect
26920 maintainer-clean-expect:
26921 @: $(MAKE); $(unstage)
26922 @[ -f ./expect/Makefile ] || exit 0; \
26923 r=`${PWD_COMMAND}`; export r; \
26924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26925 $(HOST_EXPORTS) \
26926 for flag in $(EXTRA_HOST_FLAGS) ; do \
26927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26928 done; \
26929 echo "Doing maintainer-clean in expect" ; \
26930 (cd $(HOST_SUBDIR)/expect && \
26931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26933 "RANLIB=$${RANLIB}" \
26934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26935 maintainer-clean) \
26936 || exit 1
26938 @endif expect
26942 .PHONY: configure-guile maybe-configure-guile
26943 maybe-configure-guile:
26944 @if gcc-bootstrap
26945 configure-guile: stage_current
26946 @endif gcc-bootstrap
26947 @if guile
26948 maybe-configure-guile: configure-guile
26949 configure-guile:
26950 @: $(MAKE); $(unstage)
26951 @r=`${PWD_COMMAND}`; export r; \
26952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26953 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26955 $(HOST_EXPORTS) \
26956 echo Configuring in $(HOST_SUBDIR)/guile; \
26957 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26958 case $(srcdir) in \
26959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26960 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26962 esac; \
26963 srcdiroption="--srcdir=$${topdir}/guile"; \
26964 libsrcdir="$$s/guile"; \
26965 $(SHELL) $${libsrcdir}/configure \
26966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26967 --target=${target_alias} $${srcdiroption} \
26968 || exit 1
26969 @endif guile
26975 .PHONY: all-guile maybe-all-guile
26976 maybe-all-guile:
26977 @if gcc-bootstrap
26978 all-guile: stage_current
26979 @endif gcc-bootstrap
26980 @if guile
26981 TARGET-guile=all
26982 maybe-all-guile: all-guile
26983 all-guile: configure-guile
26984 @: $(MAKE); $(unstage)
26985 @r=`${PWD_COMMAND}`; export r; \
26986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26987 $(HOST_EXPORTS) \
26988 (cd $(HOST_SUBDIR)/guile && \
26989 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26990 $(TARGET-guile))
26991 @endif guile
26996 .PHONY: check-guile maybe-check-guile
26997 maybe-check-guile:
26998 @if guile
26999 maybe-check-guile: check-guile
27001 check-guile:
27002 @: $(MAKE); $(unstage)
27003 @r=`${PWD_COMMAND}`; export r; \
27004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27005 $(HOST_EXPORTS) \
27006 (cd $(HOST_SUBDIR)/guile && \
27007 $(MAKE) $(FLAGS_TO_PASS) check)
27009 @endif guile
27011 .PHONY: install-guile maybe-install-guile
27012 maybe-install-guile:
27013 @if guile
27014 maybe-install-guile: install-guile
27016 install-guile: installdirs
27017 @: $(MAKE); $(unstage)
27018 @r=`${PWD_COMMAND}`; export r; \
27019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27020 $(HOST_EXPORTS) \
27021 (cd $(HOST_SUBDIR)/guile && \
27022 $(MAKE) $(FLAGS_TO_PASS) install)
27024 @endif guile
27026 .PHONY: install-strip-guile maybe-install-strip-guile
27027 maybe-install-strip-guile:
27028 @if guile
27029 maybe-install-strip-guile: install-strip-guile
27031 install-strip-guile: installdirs
27032 @: $(MAKE); $(unstage)
27033 @r=`${PWD_COMMAND}`; export r; \
27034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27035 $(HOST_EXPORTS) \
27036 (cd $(HOST_SUBDIR)/guile && \
27037 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27039 @endif guile
27041 # Other targets (info, dvi, pdf, etc.)
27043 .PHONY: maybe-info-guile info-guile
27044 maybe-info-guile:
27045 @if guile
27046 maybe-info-guile: info-guile
27048 info-guile: \
27049 configure-guile
27050 @: $(MAKE); $(unstage)
27051 @[ -f ./guile/Makefile ] || exit 0; \
27052 r=`${PWD_COMMAND}`; export r; \
27053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27054 $(HOST_EXPORTS) \
27055 for flag in $(EXTRA_HOST_FLAGS) ; do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 echo "Doing info in guile" ; \
27059 (cd $(HOST_SUBDIR)/guile && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27062 "RANLIB=$${RANLIB}" \
27063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27064 info) \
27065 || exit 1
27067 @endif guile
27069 .PHONY: maybe-dvi-guile dvi-guile
27070 maybe-dvi-guile:
27071 @if guile
27072 maybe-dvi-guile: dvi-guile
27074 dvi-guile: \
27075 configure-guile
27076 @: $(MAKE); $(unstage)
27077 @[ -f ./guile/Makefile ] || exit 0; \
27078 r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 $(HOST_EXPORTS) \
27081 for flag in $(EXTRA_HOST_FLAGS) ; do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 done; \
27084 echo "Doing dvi in guile" ; \
27085 (cd $(HOST_SUBDIR)/guile && \
27086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27088 "RANLIB=$${RANLIB}" \
27089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27090 dvi) \
27091 || exit 1
27093 @endif guile
27095 .PHONY: maybe-pdf-guile pdf-guile
27096 maybe-pdf-guile:
27097 @if guile
27098 maybe-pdf-guile: pdf-guile
27100 pdf-guile: \
27101 configure-guile
27102 @: $(MAKE); $(unstage)
27103 @[ -f ./guile/Makefile ] || exit 0; \
27104 r=`${PWD_COMMAND}`; export r; \
27105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27106 $(HOST_EXPORTS) \
27107 for flag in $(EXTRA_HOST_FLAGS) ; do \
27108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27109 done; \
27110 echo "Doing pdf in guile" ; \
27111 (cd $(HOST_SUBDIR)/guile && \
27112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27114 "RANLIB=$${RANLIB}" \
27115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27116 pdf) \
27117 || exit 1
27119 @endif guile
27121 .PHONY: maybe-html-guile html-guile
27122 maybe-html-guile:
27123 @if guile
27124 maybe-html-guile: html-guile
27126 html-guile: \
27127 configure-guile
27128 @: $(MAKE); $(unstage)
27129 @[ -f ./guile/Makefile ] || exit 0; \
27130 r=`${PWD_COMMAND}`; export r; \
27131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(HOST_EXPORTS) \
27133 for flag in $(EXTRA_HOST_FLAGS) ; do \
27134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27135 done; \
27136 echo "Doing html in guile" ; \
27137 (cd $(HOST_SUBDIR)/guile && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27142 html) \
27143 || exit 1
27145 @endif guile
27147 .PHONY: maybe-TAGS-guile TAGS-guile
27148 maybe-TAGS-guile:
27149 @if guile
27150 maybe-TAGS-guile: TAGS-guile
27152 TAGS-guile: \
27153 configure-guile
27154 @: $(MAKE); $(unstage)
27155 @[ -f ./guile/Makefile ] || exit 0; \
27156 r=`${PWD_COMMAND}`; export r; \
27157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27158 $(HOST_EXPORTS) \
27159 for flag in $(EXTRA_HOST_FLAGS) ; do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27161 done; \
27162 echo "Doing TAGS in guile" ; \
27163 (cd $(HOST_SUBDIR)/guile && \
27164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27166 "RANLIB=$${RANLIB}" \
27167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27168 TAGS) \
27169 || exit 1
27171 @endif guile
27173 .PHONY: maybe-install-info-guile install-info-guile
27174 maybe-install-info-guile:
27175 @if guile
27176 maybe-install-info-guile: install-info-guile
27178 install-info-guile: \
27179 configure-guile \
27180 info-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 install-info 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 install-info) \
27196 || exit 1
27198 @endif guile
27200 .PHONY: maybe-install-pdf-guile install-pdf-guile
27201 maybe-install-pdf-guile:
27202 @if guile
27203 maybe-install-pdf-guile: install-pdf-guile
27205 install-pdf-guile: \
27206 configure-guile \
27207 pdf-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-pdf 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-pdf) \
27223 || exit 1
27225 @endif guile
27227 .PHONY: maybe-install-html-guile install-html-guile
27228 maybe-install-html-guile:
27229 @if guile
27230 maybe-install-html-guile: install-html-guile
27232 install-html-guile: \
27233 configure-guile \
27234 html-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-html 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-html) \
27250 || exit 1
27252 @endif guile
27254 .PHONY: maybe-installcheck-guile installcheck-guile
27255 maybe-installcheck-guile:
27256 @if guile
27257 maybe-installcheck-guile: installcheck-guile
27259 installcheck-guile: \
27260 configure-guile
27261 @: $(MAKE); $(unstage)
27262 @[ -f ./guile/Makefile ] || exit 0; \
27263 r=`${PWD_COMMAND}`; export r; \
27264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27265 $(HOST_EXPORTS) \
27266 for flag in $(EXTRA_HOST_FLAGS) ; do \
27267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27268 done; \
27269 echo "Doing installcheck in guile" ; \
27270 (cd $(HOST_SUBDIR)/guile && \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27273 "RANLIB=$${RANLIB}" \
27274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27275 installcheck) \
27276 || exit 1
27278 @endif guile
27280 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27281 maybe-mostlyclean-guile:
27282 @if guile
27283 maybe-mostlyclean-guile: mostlyclean-guile
27285 mostlyclean-guile:
27286 @: $(MAKE); $(unstage)
27287 @[ -f ./guile/Makefile ] || exit 0; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(HOST_EXPORTS) \
27291 for flag in $(EXTRA_HOST_FLAGS) ; do \
27292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27293 done; \
27294 echo "Doing mostlyclean in guile" ; \
27295 (cd $(HOST_SUBDIR)/guile && \
27296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27298 "RANLIB=$${RANLIB}" \
27299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27300 mostlyclean) \
27301 || exit 1
27303 @endif guile
27305 .PHONY: maybe-clean-guile clean-guile
27306 maybe-clean-guile:
27307 @if guile
27308 maybe-clean-guile: clean-guile
27310 clean-guile:
27311 @: $(MAKE); $(unstage)
27312 @[ -f ./guile/Makefile ] || exit 0; \
27313 r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 $(HOST_EXPORTS) \
27316 for flag in $(EXTRA_HOST_FLAGS) ; do \
27317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27318 done; \
27319 echo "Doing clean in guile" ; \
27320 (cd $(HOST_SUBDIR)/guile && \
27321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27323 "RANLIB=$${RANLIB}" \
27324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27325 clean) \
27326 || exit 1
27328 @endif guile
27330 .PHONY: maybe-distclean-guile distclean-guile
27331 maybe-distclean-guile:
27332 @if guile
27333 maybe-distclean-guile: distclean-guile
27335 distclean-guile:
27336 @: $(MAKE); $(unstage)
27337 @[ -f ./guile/Makefile ] || exit 0; \
27338 r=`${PWD_COMMAND}`; export r; \
27339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27340 $(HOST_EXPORTS) \
27341 for flag in $(EXTRA_HOST_FLAGS) ; do \
27342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 done; \
27344 echo "Doing distclean in guile" ; \
27345 (cd $(HOST_SUBDIR)/guile && \
27346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27348 "RANLIB=$${RANLIB}" \
27349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27350 distclean) \
27351 || exit 1
27353 @endif guile
27355 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27356 maybe-maintainer-clean-guile:
27357 @if guile
27358 maybe-maintainer-clean-guile: maintainer-clean-guile
27360 maintainer-clean-guile:
27361 @: $(MAKE); $(unstage)
27362 @[ -f ./guile/Makefile ] || exit 0; \
27363 r=`${PWD_COMMAND}`; export r; \
27364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27365 $(HOST_EXPORTS) \
27366 for flag in $(EXTRA_HOST_FLAGS) ; do \
27367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27368 done; \
27369 echo "Doing maintainer-clean in guile" ; \
27370 (cd $(HOST_SUBDIR)/guile && \
27371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27373 "RANLIB=$${RANLIB}" \
27374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27375 maintainer-clean) \
27376 || exit 1
27378 @endif guile
27382 .PHONY: configure-tk maybe-configure-tk
27383 maybe-configure-tk:
27384 @if gcc-bootstrap
27385 configure-tk: stage_current
27386 @endif gcc-bootstrap
27387 @if tk
27388 maybe-configure-tk: configure-tk
27389 configure-tk:
27390 @: $(MAKE); $(unstage)
27391 @r=`${PWD_COMMAND}`; export r; \
27392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27393 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27395 $(HOST_EXPORTS) \
27396 echo Configuring in $(HOST_SUBDIR)/tk; \
27397 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27398 case $(srcdir) in \
27399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27400 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27402 esac; \
27403 srcdiroption="--srcdir=$${topdir}/tk"; \
27404 libsrcdir="$$s/tk"; \
27405 $(SHELL) $${libsrcdir}/configure \
27406 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27407 --target=${target_alias} $${srcdiroption} \
27408 || exit 1
27409 @endif tk
27415 .PHONY: all-tk maybe-all-tk
27416 maybe-all-tk:
27417 @if gcc-bootstrap
27418 all-tk: stage_current
27419 @endif gcc-bootstrap
27420 @if tk
27421 TARGET-tk=all
27422 maybe-all-tk: all-tk
27423 all-tk: configure-tk
27424 @: $(MAKE); $(unstage)
27425 @r=`${PWD_COMMAND}`; export r; \
27426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27427 $(HOST_EXPORTS) \
27428 (cd $(HOST_SUBDIR)/tk && \
27429 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27430 $(TARGET-tk))
27431 @endif tk
27436 .PHONY: check-tk maybe-check-tk
27437 maybe-check-tk:
27438 @if tk
27439 maybe-check-tk: check-tk
27441 check-tk:
27442 @: $(MAKE); $(unstage)
27443 @r=`${PWD_COMMAND}`; export r; \
27444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27445 $(HOST_EXPORTS) \
27446 (cd $(HOST_SUBDIR)/tk && \
27447 $(MAKE) $(FLAGS_TO_PASS) check)
27449 @endif tk
27451 .PHONY: install-tk maybe-install-tk
27452 maybe-install-tk:
27453 @if tk
27454 maybe-install-tk: install-tk
27456 install-tk: installdirs
27457 @: $(MAKE); $(unstage)
27458 @r=`${PWD_COMMAND}`; export r; \
27459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27460 $(HOST_EXPORTS) \
27461 (cd $(HOST_SUBDIR)/tk && \
27462 $(MAKE) $(FLAGS_TO_PASS) install)
27464 @endif tk
27466 .PHONY: install-strip-tk maybe-install-strip-tk
27467 maybe-install-strip-tk:
27468 @if tk
27469 maybe-install-strip-tk: install-strip-tk
27471 install-strip-tk: installdirs
27472 @: $(MAKE); $(unstage)
27473 @r=`${PWD_COMMAND}`; export r; \
27474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27475 $(HOST_EXPORTS) \
27476 (cd $(HOST_SUBDIR)/tk && \
27477 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27479 @endif tk
27481 # Other targets (info, dvi, pdf, etc.)
27483 .PHONY: maybe-info-tk info-tk
27484 maybe-info-tk:
27485 @if tk
27486 maybe-info-tk: info-tk
27488 info-tk: \
27489 configure-tk
27490 @: $(MAKE); $(unstage)
27491 @[ -f ./tk/Makefile ] || exit 0; \
27492 r=`${PWD_COMMAND}`; export r; \
27493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27494 $(HOST_EXPORTS) \
27495 for flag in $(EXTRA_HOST_FLAGS) ; do \
27496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27497 done; \
27498 echo "Doing info in tk" ; \
27499 (cd $(HOST_SUBDIR)/tk && \
27500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27502 "RANLIB=$${RANLIB}" \
27503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27504 info) \
27505 || exit 1
27507 @endif tk
27509 .PHONY: maybe-dvi-tk dvi-tk
27510 maybe-dvi-tk:
27511 @if tk
27512 maybe-dvi-tk: dvi-tk
27514 dvi-tk: \
27515 configure-tk
27516 @: $(MAKE); $(unstage)
27517 @[ -f ./tk/Makefile ] || exit 0; \
27518 r=`${PWD_COMMAND}`; export r; \
27519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27520 $(HOST_EXPORTS) \
27521 for flag in $(EXTRA_HOST_FLAGS) ; do \
27522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27523 done; \
27524 echo "Doing dvi in tk" ; \
27525 (cd $(HOST_SUBDIR)/tk && \
27526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27528 "RANLIB=$${RANLIB}" \
27529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27530 dvi) \
27531 || exit 1
27533 @endif tk
27535 .PHONY: maybe-pdf-tk pdf-tk
27536 maybe-pdf-tk:
27537 @if tk
27538 maybe-pdf-tk: pdf-tk
27540 pdf-tk: \
27541 configure-tk
27542 @: $(MAKE); $(unstage)
27543 @[ -f ./tk/Makefile ] || exit 0; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 for flag in $(EXTRA_HOST_FLAGS) ; do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 echo "Doing pdf in tk" ; \
27551 (cd $(HOST_SUBDIR)/tk && \
27552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27554 "RANLIB=$${RANLIB}" \
27555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27556 pdf) \
27557 || exit 1
27559 @endif tk
27561 .PHONY: maybe-html-tk html-tk
27562 maybe-html-tk:
27563 @if tk
27564 maybe-html-tk: html-tk
27566 html-tk: \
27567 configure-tk
27568 @: $(MAKE); $(unstage)
27569 @[ -f ./tk/Makefile ] || exit 0; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(HOST_EXPORTS) \
27573 for flag in $(EXTRA_HOST_FLAGS) ; do \
27574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27575 done; \
27576 echo "Doing html in tk" ; \
27577 (cd $(HOST_SUBDIR)/tk && \
27578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27580 "RANLIB=$${RANLIB}" \
27581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27582 html) \
27583 || exit 1
27585 @endif tk
27587 .PHONY: maybe-TAGS-tk TAGS-tk
27588 maybe-TAGS-tk:
27589 @if tk
27590 maybe-TAGS-tk: TAGS-tk
27592 TAGS-tk: \
27593 configure-tk
27594 @: $(MAKE); $(unstage)
27595 @[ -f ./tk/Makefile ] || exit 0; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(HOST_EXPORTS) \
27599 for flag in $(EXTRA_HOST_FLAGS) ; do \
27600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27601 done; \
27602 echo "Doing TAGS in tk" ; \
27603 (cd $(HOST_SUBDIR)/tk && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27608 TAGS) \
27609 || exit 1
27611 @endif tk
27613 .PHONY: maybe-install-info-tk install-info-tk
27614 maybe-install-info-tk:
27615 @if tk
27616 maybe-install-info-tk: install-info-tk
27618 install-info-tk: \
27619 configure-tk \
27620 info-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 install-info 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 install-info) \
27636 || exit 1
27638 @endif tk
27640 .PHONY: maybe-install-pdf-tk install-pdf-tk
27641 maybe-install-pdf-tk:
27642 @if tk
27643 maybe-install-pdf-tk: install-pdf-tk
27645 install-pdf-tk: \
27646 configure-tk \
27647 pdf-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-pdf 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-pdf) \
27663 || exit 1
27665 @endif tk
27667 .PHONY: maybe-install-html-tk install-html-tk
27668 maybe-install-html-tk:
27669 @if tk
27670 maybe-install-html-tk: install-html-tk
27672 install-html-tk: \
27673 configure-tk \
27674 html-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-html 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-html) \
27690 || exit 1
27692 @endif tk
27694 .PHONY: maybe-installcheck-tk installcheck-tk
27695 maybe-installcheck-tk:
27696 @if tk
27697 maybe-installcheck-tk: installcheck-tk
27699 installcheck-tk: \
27700 configure-tk
27701 @: $(MAKE); $(unstage)
27702 @[ -f ./tk/Makefile ] || exit 0; \
27703 r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(HOST_EXPORTS) \
27706 for flag in $(EXTRA_HOST_FLAGS) ; do \
27707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27708 done; \
27709 echo "Doing installcheck in tk" ; \
27710 (cd $(HOST_SUBDIR)/tk && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27715 installcheck) \
27716 || exit 1
27718 @endif tk
27720 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27721 maybe-mostlyclean-tk:
27722 @if tk
27723 maybe-mostlyclean-tk: mostlyclean-tk
27725 mostlyclean-tk:
27726 @: $(MAKE); $(unstage)
27727 @[ -f ./tk/Makefile ] || exit 0; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(HOST_EXPORTS) \
27731 for flag in $(EXTRA_HOST_FLAGS) ; do \
27732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27733 done; \
27734 echo "Doing mostlyclean in tk" ; \
27735 (cd $(HOST_SUBDIR)/tk && \
27736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27738 "RANLIB=$${RANLIB}" \
27739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27740 mostlyclean) \
27741 || exit 1
27743 @endif tk
27745 .PHONY: maybe-clean-tk clean-tk
27746 maybe-clean-tk:
27747 @if tk
27748 maybe-clean-tk: clean-tk
27750 clean-tk:
27751 @: $(MAKE); $(unstage)
27752 @[ -f ./tk/Makefile ] || exit 0; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 for flag in $(EXTRA_HOST_FLAGS) ; do \
27757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 done; \
27759 echo "Doing clean in tk" ; \
27760 (cd $(HOST_SUBDIR)/tk && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27765 clean) \
27766 || exit 1
27768 @endif tk
27770 .PHONY: maybe-distclean-tk distclean-tk
27771 maybe-distclean-tk:
27772 @if tk
27773 maybe-distclean-tk: distclean-tk
27775 distclean-tk:
27776 @: $(MAKE); $(unstage)
27777 @[ -f ./tk/Makefile ] || exit 0; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(HOST_EXPORTS) \
27781 for flag in $(EXTRA_HOST_FLAGS) ; do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 done; \
27784 echo "Doing distclean in tk" ; \
27785 (cd $(HOST_SUBDIR)/tk && \
27786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27788 "RANLIB=$${RANLIB}" \
27789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27790 distclean) \
27791 || exit 1
27793 @endif tk
27795 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27796 maybe-maintainer-clean-tk:
27797 @if tk
27798 maybe-maintainer-clean-tk: maintainer-clean-tk
27800 maintainer-clean-tk:
27801 @: $(MAKE); $(unstage)
27802 @[ -f ./tk/Makefile ] || exit 0; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805 $(HOST_EXPORTS) \
27806 for flag in $(EXTRA_HOST_FLAGS) ; do \
27807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27808 done; \
27809 echo "Doing maintainer-clean in tk" ; \
27810 (cd $(HOST_SUBDIR)/tk && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27815 maintainer-clean) \
27816 || exit 1
27818 @endif tk
27822 .PHONY: configure-libtermcap maybe-configure-libtermcap
27823 maybe-configure-libtermcap:
27824 @if gcc-bootstrap
27825 configure-libtermcap: stage_current
27826 @endif gcc-bootstrap
27827 @if libtermcap
27828 maybe-configure-libtermcap: configure-libtermcap
27829 configure-libtermcap:
27830 @: $(MAKE); $(unstage)
27831 @r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27835 $(HOST_EXPORTS) \
27836 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27837 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27838 case $(srcdir) in \
27839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27840 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27842 esac; \
27843 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27844 libsrcdir="$$s/libtermcap"; \
27845 $(SHELL) $${libsrcdir}/configure \
27846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27847 --target=${target_alias} $${srcdiroption} \
27848 || exit 1
27849 @endif libtermcap
27855 .PHONY: all-libtermcap maybe-all-libtermcap
27856 maybe-all-libtermcap:
27857 @if gcc-bootstrap
27858 all-libtermcap: stage_current
27859 @endif gcc-bootstrap
27860 @if libtermcap
27861 TARGET-libtermcap=all
27862 maybe-all-libtermcap: all-libtermcap
27863 all-libtermcap: configure-libtermcap
27864 @: $(MAKE); $(unstage)
27865 @r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 $(HOST_EXPORTS) \
27868 (cd $(HOST_SUBDIR)/libtermcap && \
27869 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27870 $(TARGET-libtermcap))
27871 @endif libtermcap
27876 .PHONY: check-libtermcap maybe-check-libtermcap
27877 maybe-check-libtermcap:
27878 @if libtermcap
27879 maybe-check-libtermcap: check-libtermcap
27881 check-libtermcap:
27883 @endif libtermcap
27885 .PHONY: install-libtermcap maybe-install-libtermcap
27886 maybe-install-libtermcap:
27887 @if libtermcap
27888 maybe-install-libtermcap: install-libtermcap
27890 install-libtermcap: installdirs
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) $(FLAGS_TO_PASS) install)
27898 @endif libtermcap
27900 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27901 maybe-install-strip-libtermcap:
27902 @if libtermcap
27903 maybe-install-strip-libtermcap: install-strip-libtermcap
27905 install-strip-libtermcap: installdirs
27906 @: $(MAKE); $(unstage)
27907 @r=`${PWD_COMMAND}`; export r; \
27908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27909 $(HOST_EXPORTS) \
27910 (cd $(HOST_SUBDIR)/libtermcap && \
27911 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27913 @endif libtermcap
27915 # Other targets (info, dvi, pdf, etc.)
27917 .PHONY: maybe-info-libtermcap info-libtermcap
27918 maybe-info-libtermcap:
27919 @if libtermcap
27920 maybe-info-libtermcap: info-libtermcap
27922 info-libtermcap: \
27923 configure-libtermcap
27924 @: $(MAKE); $(unstage)
27925 @[ -f ./libtermcap/Makefile ] || exit 0; \
27926 r=`${PWD_COMMAND}`; export r; \
27927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27928 $(HOST_EXPORTS) \
27929 for flag in $(EXTRA_HOST_FLAGS) ; do \
27930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27931 done; \
27932 echo "Doing info in libtermcap" ; \
27933 (cd $(HOST_SUBDIR)/libtermcap && \
27934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27936 "RANLIB=$${RANLIB}" \
27937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27938 info) \
27939 || exit 1
27941 @endif libtermcap
27943 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27944 maybe-dvi-libtermcap:
27945 @if libtermcap
27946 maybe-dvi-libtermcap: dvi-libtermcap
27948 dvi-libtermcap: \
27949 configure-libtermcap
27950 @: $(MAKE); $(unstage)
27951 @[ -f ./libtermcap/Makefile ] || exit 0; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 $(HOST_EXPORTS) \
27955 for flag in $(EXTRA_HOST_FLAGS) ; do \
27956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27957 done; \
27958 echo "Doing dvi in libtermcap" ; \
27959 (cd $(HOST_SUBDIR)/libtermcap && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27964 dvi) \
27965 || exit 1
27967 @endif libtermcap
27969 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27970 maybe-pdf-libtermcap:
27971 @if libtermcap
27972 maybe-pdf-libtermcap: pdf-libtermcap
27974 pdf-libtermcap: \
27975 configure-libtermcap
27976 @: $(MAKE); $(unstage)
27977 @[ -f ./libtermcap/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing pdf in libtermcap" ; \
27985 (cd $(HOST_SUBDIR)/libtermcap && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27990 pdf) \
27991 || exit 1
27993 @endif libtermcap
27995 .PHONY: maybe-html-libtermcap html-libtermcap
27996 maybe-html-libtermcap:
27997 @if libtermcap
27998 maybe-html-libtermcap: html-libtermcap
28000 html-libtermcap: \
28001 configure-libtermcap
28002 @: $(MAKE); $(unstage)
28003 @[ -f ./libtermcap/Makefile ] || exit 0; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(HOST_EXPORTS) \
28007 for flag in $(EXTRA_HOST_FLAGS) ; do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 echo "Doing html in libtermcap" ; \
28011 (cd $(HOST_SUBDIR)/libtermcap && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28016 html) \
28017 || exit 1
28019 @endif libtermcap
28021 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28022 maybe-TAGS-libtermcap:
28023 @if libtermcap
28024 maybe-TAGS-libtermcap: TAGS-libtermcap
28026 TAGS-libtermcap: \
28027 configure-libtermcap
28028 @: $(MAKE); $(unstage)
28029 @[ -f ./libtermcap/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing TAGS in libtermcap" ; \
28037 (cd $(HOST_SUBDIR)/libtermcap && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28042 TAGS) \
28043 || exit 1
28045 @endif libtermcap
28047 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28048 maybe-install-info-libtermcap:
28049 @if libtermcap
28050 maybe-install-info-libtermcap: install-info-libtermcap
28052 install-info-libtermcap: \
28053 configure-libtermcap \
28054 info-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 install-info 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 install-info) \
28070 || exit 1
28072 @endif libtermcap
28074 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28075 maybe-install-pdf-libtermcap:
28076 @if libtermcap
28077 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28079 install-pdf-libtermcap: \
28080 configure-libtermcap \
28081 pdf-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-pdf 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-pdf) \
28097 || exit 1
28099 @endif libtermcap
28101 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28102 maybe-install-html-libtermcap:
28103 @if libtermcap
28104 maybe-install-html-libtermcap: install-html-libtermcap
28106 install-html-libtermcap: \
28107 configure-libtermcap \
28108 html-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-html 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-html) \
28124 || exit 1
28126 @endif libtermcap
28128 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28129 maybe-installcheck-libtermcap:
28130 @if libtermcap
28131 maybe-installcheck-libtermcap: installcheck-libtermcap
28133 installcheck-libtermcap: \
28134 configure-libtermcap
28135 @: $(MAKE); $(unstage)
28136 @[ -f ./libtermcap/Makefile ] || exit 0; \
28137 r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28139 $(HOST_EXPORTS) \
28140 for flag in $(EXTRA_HOST_FLAGS) ; do \
28141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28142 done; \
28143 echo "Doing installcheck in libtermcap" ; \
28144 (cd $(HOST_SUBDIR)/libtermcap && \
28145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28147 "RANLIB=$${RANLIB}" \
28148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28149 installcheck) \
28150 || exit 1
28152 @endif libtermcap
28154 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28155 maybe-mostlyclean-libtermcap:
28156 @if libtermcap
28157 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28159 # libtermcap doesn't support mostlyclean.
28160 mostlyclean-libtermcap:
28162 @endif libtermcap
28164 .PHONY: maybe-clean-libtermcap clean-libtermcap
28165 maybe-clean-libtermcap:
28166 @if libtermcap
28167 maybe-clean-libtermcap: clean-libtermcap
28169 # libtermcap doesn't support clean.
28170 clean-libtermcap:
28172 @endif libtermcap
28174 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28175 maybe-distclean-libtermcap:
28176 @if libtermcap
28177 maybe-distclean-libtermcap: distclean-libtermcap
28179 # libtermcap doesn't support distclean.
28180 distclean-libtermcap:
28182 @endif libtermcap
28184 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28185 maybe-maintainer-clean-libtermcap:
28186 @if libtermcap
28187 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28189 # libtermcap doesn't support maintainer-clean.
28190 maintainer-clean-libtermcap:
28192 @endif libtermcap
28196 .PHONY: configure-utils maybe-configure-utils
28197 maybe-configure-utils:
28198 @if gcc-bootstrap
28199 configure-utils: stage_current
28200 @endif gcc-bootstrap
28201 @if utils
28202 maybe-configure-utils: configure-utils
28203 configure-utils:
28204 @: $(MAKE); $(unstage)
28205 @r=`${PWD_COMMAND}`; export r; \
28206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28207 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28209 $(HOST_EXPORTS) \
28210 echo Configuring in $(HOST_SUBDIR)/utils; \
28211 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28212 case $(srcdir) in \
28213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28214 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28216 esac; \
28217 srcdiroption="--srcdir=$${topdir}/utils"; \
28218 libsrcdir="$$s/utils"; \
28219 $(SHELL) $${libsrcdir}/configure \
28220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28221 --target=${target_alias} $${srcdiroption} \
28222 || exit 1
28223 @endif utils
28229 .PHONY: all-utils maybe-all-utils
28230 maybe-all-utils:
28231 @if gcc-bootstrap
28232 all-utils: stage_current
28233 @endif gcc-bootstrap
28234 @if utils
28235 TARGET-utils=all
28236 maybe-all-utils: all-utils
28237 all-utils: configure-utils
28238 @: $(MAKE); $(unstage)
28239 @r=`${PWD_COMMAND}`; export r; \
28240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28241 $(HOST_EXPORTS) \
28242 (cd $(HOST_SUBDIR)/utils && \
28243 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28244 $(TARGET-utils))
28245 @endif utils
28250 .PHONY: check-utils maybe-check-utils
28251 maybe-check-utils:
28252 @if utils
28253 maybe-check-utils: check-utils
28255 check-utils:
28257 @endif utils
28259 .PHONY: install-utils maybe-install-utils
28260 maybe-install-utils:
28261 @if utils
28262 maybe-install-utils: install-utils
28264 install-utils: installdirs
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) $(FLAGS_TO_PASS) install)
28272 @endif utils
28274 .PHONY: install-strip-utils maybe-install-strip-utils
28275 maybe-install-strip-utils:
28276 @if utils
28277 maybe-install-strip-utils: install-strip-utils
28279 install-strip-utils: installdirs
28280 @: $(MAKE); $(unstage)
28281 @r=`${PWD_COMMAND}`; export r; \
28282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28283 $(HOST_EXPORTS) \
28284 (cd $(HOST_SUBDIR)/utils && \
28285 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28287 @endif utils
28289 # Other targets (info, dvi, pdf, etc.)
28291 .PHONY: maybe-info-utils info-utils
28292 maybe-info-utils:
28293 @if utils
28294 maybe-info-utils: info-utils
28296 info-utils: \
28297 configure-utils
28298 @: $(MAKE); $(unstage)
28299 @[ -f ./utils/Makefile ] || exit 0; \
28300 r=`${PWD_COMMAND}`; export r; \
28301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28302 $(HOST_EXPORTS) \
28303 for flag in $(EXTRA_HOST_FLAGS) ; do \
28304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28305 done; \
28306 echo "Doing info in utils" ; \
28307 (cd $(HOST_SUBDIR)/utils && \
28308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28310 "RANLIB=$${RANLIB}" \
28311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28312 info) \
28313 || exit 1
28315 @endif utils
28317 .PHONY: maybe-dvi-utils dvi-utils
28318 maybe-dvi-utils:
28319 @if utils
28320 maybe-dvi-utils: dvi-utils
28322 dvi-utils: \
28323 configure-utils
28324 @: $(MAKE); $(unstage)
28325 @[ -f ./utils/Makefile ] || exit 0; \
28326 r=`${PWD_COMMAND}`; export r; \
28327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28328 $(HOST_EXPORTS) \
28329 for flag in $(EXTRA_HOST_FLAGS) ; do \
28330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28331 done; \
28332 echo "Doing dvi in utils" ; \
28333 (cd $(HOST_SUBDIR)/utils && \
28334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28336 "RANLIB=$${RANLIB}" \
28337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28338 dvi) \
28339 || exit 1
28341 @endif utils
28343 .PHONY: maybe-pdf-utils pdf-utils
28344 maybe-pdf-utils:
28345 @if utils
28346 maybe-pdf-utils: pdf-utils
28348 pdf-utils: \
28349 configure-utils
28350 @: $(MAKE); $(unstage)
28351 @[ -f ./utils/Makefile ] || exit 0; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28354 $(HOST_EXPORTS) \
28355 for flag in $(EXTRA_HOST_FLAGS) ; do \
28356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28357 done; \
28358 echo "Doing pdf in utils" ; \
28359 (cd $(HOST_SUBDIR)/utils && \
28360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28362 "RANLIB=$${RANLIB}" \
28363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28364 pdf) \
28365 || exit 1
28367 @endif utils
28369 .PHONY: maybe-html-utils html-utils
28370 maybe-html-utils:
28371 @if utils
28372 maybe-html-utils: html-utils
28374 html-utils: \
28375 configure-utils
28376 @: $(MAKE); $(unstage)
28377 @[ -f ./utils/Makefile ] || exit 0; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380 $(HOST_EXPORTS) \
28381 for flag in $(EXTRA_HOST_FLAGS) ; do \
28382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28383 done; \
28384 echo "Doing html in utils" ; \
28385 (cd $(HOST_SUBDIR)/utils && \
28386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28388 "RANLIB=$${RANLIB}" \
28389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28390 html) \
28391 || exit 1
28393 @endif utils
28395 .PHONY: maybe-TAGS-utils TAGS-utils
28396 maybe-TAGS-utils:
28397 @if utils
28398 maybe-TAGS-utils: TAGS-utils
28400 TAGS-utils: \
28401 configure-utils
28402 @: $(MAKE); $(unstage)
28403 @[ -f ./utils/Makefile ] || exit 0; \
28404 r=`${PWD_COMMAND}`; export r; \
28405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28406 $(HOST_EXPORTS) \
28407 for flag in $(EXTRA_HOST_FLAGS) ; do \
28408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28409 done; \
28410 echo "Doing TAGS in utils" ; \
28411 (cd $(HOST_SUBDIR)/utils && \
28412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28414 "RANLIB=$${RANLIB}" \
28415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28416 TAGS) \
28417 || exit 1
28419 @endif utils
28421 .PHONY: maybe-install-info-utils install-info-utils
28422 maybe-install-info-utils:
28423 @if utils
28424 maybe-install-info-utils: install-info-utils
28426 install-info-utils: \
28427 configure-utils \
28428 info-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 install-info 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 install-info) \
28444 || exit 1
28446 @endif utils
28448 .PHONY: maybe-install-pdf-utils install-pdf-utils
28449 maybe-install-pdf-utils:
28450 @if utils
28451 maybe-install-pdf-utils: install-pdf-utils
28453 install-pdf-utils: \
28454 configure-utils \
28455 pdf-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-pdf 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-pdf) \
28471 || exit 1
28473 @endif utils
28475 .PHONY: maybe-install-html-utils install-html-utils
28476 maybe-install-html-utils:
28477 @if utils
28478 maybe-install-html-utils: install-html-utils
28480 install-html-utils: \
28481 configure-utils \
28482 html-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-html 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-html) \
28498 || exit 1
28500 @endif utils
28502 .PHONY: maybe-installcheck-utils installcheck-utils
28503 maybe-installcheck-utils:
28504 @if utils
28505 maybe-installcheck-utils: installcheck-utils
28507 installcheck-utils: \
28508 configure-utils
28509 @: $(MAKE); $(unstage)
28510 @[ -f ./utils/Makefile ] || exit 0; \
28511 r=`${PWD_COMMAND}`; export r; \
28512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28513 $(HOST_EXPORTS) \
28514 for flag in $(EXTRA_HOST_FLAGS) ; do \
28515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28516 done; \
28517 echo "Doing installcheck in utils" ; \
28518 (cd $(HOST_SUBDIR)/utils && \
28519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28521 "RANLIB=$${RANLIB}" \
28522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28523 installcheck) \
28524 || exit 1
28526 @endif utils
28528 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28529 maybe-mostlyclean-utils:
28530 @if utils
28531 maybe-mostlyclean-utils: mostlyclean-utils
28533 mostlyclean-utils:
28534 @: $(MAKE); $(unstage)
28535 @[ -f ./utils/Makefile ] || exit 0; \
28536 r=`${PWD_COMMAND}`; export r; \
28537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28538 $(HOST_EXPORTS) \
28539 for flag in $(EXTRA_HOST_FLAGS) ; do \
28540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28541 done; \
28542 echo "Doing mostlyclean in utils" ; \
28543 (cd $(HOST_SUBDIR)/utils && \
28544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28546 "RANLIB=$${RANLIB}" \
28547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28548 mostlyclean) \
28549 || exit 1
28551 @endif utils
28553 .PHONY: maybe-clean-utils clean-utils
28554 maybe-clean-utils:
28555 @if utils
28556 maybe-clean-utils: clean-utils
28558 clean-utils:
28559 @: $(MAKE); $(unstage)
28560 @[ -f ./utils/Makefile ] || exit 0; \
28561 r=`${PWD_COMMAND}`; export r; \
28562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28563 $(HOST_EXPORTS) \
28564 for flag in $(EXTRA_HOST_FLAGS) ; do \
28565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28566 done; \
28567 echo "Doing clean in utils" ; \
28568 (cd $(HOST_SUBDIR)/utils && \
28569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28571 "RANLIB=$${RANLIB}" \
28572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28573 clean) \
28574 || exit 1
28576 @endif utils
28578 .PHONY: maybe-distclean-utils distclean-utils
28579 maybe-distclean-utils:
28580 @if utils
28581 maybe-distclean-utils: distclean-utils
28583 distclean-utils:
28584 @: $(MAKE); $(unstage)
28585 @[ -f ./utils/Makefile ] || exit 0; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(HOST_EXPORTS) \
28589 for flag in $(EXTRA_HOST_FLAGS) ; do \
28590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28591 done; \
28592 echo "Doing distclean in utils" ; \
28593 (cd $(HOST_SUBDIR)/utils && \
28594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28596 "RANLIB=$${RANLIB}" \
28597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28598 distclean) \
28599 || exit 1
28601 @endif utils
28603 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28604 maybe-maintainer-clean-utils:
28605 @if utils
28606 maybe-maintainer-clean-utils: maintainer-clean-utils
28608 maintainer-clean-utils:
28609 @: $(MAKE); $(unstage)
28610 @[ -f ./utils/Makefile ] || exit 0; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 for flag in $(EXTRA_HOST_FLAGS) ; do \
28615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28616 done; \
28617 echo "Doing maintainer-clean in utils" ; \
28618 (cd $(HOST_SUBDIR)/utils && \
28619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28621 "RANLIB=$${RANLIB}" \
28622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28623 maintainer-clean) \
28624 || exit 1
28626 @endif utils
28630 .PHONY: configure-gnattools maybe-configure-gnattools
28631 maybe-configure-gnattools:
28632 @if gcc-bootstrap
28633 configure-gnattools: stage_current
28634 @endif gcc-bootstrap
28635 @if gnattools
28636 maybe-configure-gnattools: configure-gnattools
28637 configure-gnattools:
28638 @: $(MAKE); $(unstage)
28639 @r=`${PWD_COMMAND}`; export r; \
28640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28641 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28643 $(HOST_EXPORTS) \
28644 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28645 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28646 case $(srcdir) in \
28647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28648 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28650 esac; \
28651 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28652 libsrcdir="$$s/gnattools"; \
28653 $(SHELL) $${libsrcdir}/configure \
28654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28655 --target=${target_alias} $${srcdiroption} \
28656 || exit 1
28657 @endif gnattools
28663 .PHONY: all-gnattools maybe-all-gnattools
28664 maybe-all-gnattools:
28665 @if gcc-bootstrap
28666 all-gnattools: stage_current
28667 @endif gcc-bootstrap
28668 @if gnattools
28669 TARGET-gnattools=all
28670 maybe-all-gnattools: all-gnattools
28671 all-gnattools: configure-gnattools
28672 @: $(MAKE); $(unstage)
28673 @r=`${PWD_COMMAND}`; export r; \
28674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28675 $(HOST_EXPORTS) \
28676 (cd $(HOST_SUBDIR)/gnattools && \
28677 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28678 $(TARGET-gnattools))
28679 @endif gnattools
28684 .PHONY: check-gnattools maybe-check-gnattools
28685 maybe-check-gnattools:
28686 @if gnattools
28687 maybe-check-gnattools: check-gnattools
28689 check-gnattools:
28690 @: $(MAKE); $(unstage)
28691 @r=`${PWD_COMMAND}`; export r; \
28692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(HOST_EXPORTS) \
28694 (cd $(HOST_SUBDIR)/gnattools && \
28695 $(MAKE) $(FLAGS_TO_PASS) check)
28697 @endif gnattools
28699 .PHONY: install-gnattools maybe-install-gnattools
28700 maybe-install-gnattools:
28701 @if gnattools
28702 maybe-install-gnattools: install-gnattools
28704 install-gnattools: installdirs
28705 @: $(MAKE); $(unstage)
28706 @r=`${PWD_COMMAND}`; export r; \
28707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28708 $(HOST_EXPORTS) \
28709 (cd $(HOST_SUBDIR)/gnattools && \
28710 $(MAKE) $(FLAGS_TO_PASS) install)
28712 @endif gnattools
28714 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28715 maybe-install-strip-gnattools:
28716 @if gnattools
28717 maybe-install-strip-gnattools: install-strip-gnattools
28719 install-strip-gnattools: installdirs
28720 @: $(MAKE); $(unstage)
28721 @r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 (cd $(HOST_SUBDIR)/gnattools && \
28725 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28727 @endif gnattools
28729 # Other targets (info, dvi, pdf, etc.)
28731 .PHONY: maybe-info-gnattools info-gnattools
28732 maybe-info-gnattools:
28733 @if gnattools
28734 maybe-info-gnattools: info-gnattools
28736 info-gnattools: \
28737 configure-gnattools
28738 @: $(MAKE); $(unstage)
28739 @[ -f ./gnattools/Makefile ] || exit 0; \
28740 r=`${PWD_COMMAND}`; export r; \
28741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28742 $(HOST_EXPORTS) \
28743 for flag in $(EXTRA_HOST_FLAGS) ; do \
28744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28745 done; \
28746 echo "Doing info in gnattools" ; \
28747 (cd $(HOST_SUBDIR)/gnattools && \
28748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28750 "RANLIB=$${RANLIB}" \
28751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28752 info) \
28753 || exit 1
28755 @endif gnattools
28757 .PHONY: maybe-dvi-gnattools dvi-gnattools
28758 maybe-dvi-gnattools:
28759 @if gnattools
28760 maybe-dvi-gnattools: dvi-gnattools
28762 dvi-gnattools: \
28763 configure-gnattools
28764 @: $(MAKE); $(unstage)
28765 @[ -f ./gnattools/Makefile ] || exit 0; \
28766 r=`${PWD_COMMAND}`; export r; \
28767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28768 $(HOST_EXPORTS) \
28769 for flag in $(EXTRA_HOST_FLAGS) ; do \
28770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28771 done; \
28772 echo "Doing dvi in gnattools" ; \
28773 (cd $(HOST_SUBDIR)/gnattools && \
28774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28776 "RANLIB=$${RANLIB}" \
28777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28778 dvi) \
28779 || exit 1
28781 @endif gnattools
28783 .PHONY: maybe-pdf-gnattools pdf-gnattools
28784 maybe-pdf-gnattools:
28785 @if gnattools
28786 maybe-pdf-gnattools: pdf-gnattools
28788 pdf-gnattools: \
28789 configure-gnattools
28790 @: $(MAKE); $(unstage)
28791 @[ -f ./gnattools/Makefile ] || exit 0; \
28792 r=`${PWD_COMMAND}`; export r; \
28793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28794 $(HOST_EXPORTS) \
28795 for flag in $(EXTRA_HOST_FLAGS) ; do \
28796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28797 done; \
28798 echo "Doing pdf in gnattools" ; \
28799 (cd $(HOST_SUBDIR)/gnattools && \
28800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28802 "RANLIB=$${RANLIB}" \
28803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28804 pdf) \
28805 || exit 1
28807 @endif gnattools
28809 .PHONY: maybe-html-gnattools html-gnattools
28810 maybe-html-gnattools:
28811 @if gnattools
28812 maybe-html-gnattools: html-gnattools
28814 html-gnattools: \
28815 configure-gnattools
28816 @: $(MAKE); $(unstage)
28817 @[ -f ./gnattools/Makefile ] || exit 0; \
28818 r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(HOST_EXPORTS) \
28821 for flag in $(EXTRA_HOST_FLAGS) ; do \
28822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28823 done; \
28824 echo "Doing html in gnattools" ; \
28825 (cd $(HOST_SUBDIR)/gnattools && \
28826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28828 "RANLIB=$${RANLIB}" \
28829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28830 html) \
28831 || exit 1
28833 @endif gnattools
28835 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28836 maybe-TAGS-gnattools:
28837 @if gnattools
28838 maybe-TAGS-gnattools: TAGS-gnattools
28840 TAGS-gnattools: \
28841 configure-gnattools
28842 @: $(MAKE); $(unstage)
28843 @[ -f ./gnattools/Makefile ] || exit 0; \
28844 r=`${PWD_COMMAND}`; export r; \
28845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28846 $(HOST_EXPORTS) \
28847 for flag in $(EXTRA_HOST_FLAGS) ; do \
28848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28849 done; \
28850 echo "Doing TAGS in gnattools" ; \
28851 (cd $(HOST_SUBDIR)/gnattools && \
28852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28854 "RANLIB=$${RANLIB}" \
28855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28856 TAGS) \
28857 || exit 1
28859 @endif gnattools
28861 .PHONY: maybe-install-info-gnattools install-info-gnattools
28862 maybe-install-info-gnattools:
28863 @if gnattools
28864 maybe-install-info-gnattools: install-info-gnattools
28866 install-info-gnattools: \
28867 configure-gnattools \
28868 info-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 install-info 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 install-info) \
28884 || exit 1
28886 @endif gnattools
28888 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28889 maybe-install-pdf-gnattools:
28890 @if gnattools
28891 maybe-install-pdf-gnattools: install-pdf-gnattools
28893 install-pdf-gnattools: \
28894 configure-gnattools \
28895 pdf-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-pdf 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-pdf) \
28911 || exit 1
28913 @endif gnattools
28915 .PHONY: maybe-install-html-gnattools install-html-gnattools
28916 maybe-install-html-gnattools:
28917 @if gnattools
28918 maybe-install-html-gnattools: install-html-gnattools
28920 install-html-gnattools: \
28921 configure-gnattools \
28922 html-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-html 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-html) \
28938 || exit 1
28940 @endif gnattools
28942 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28943 maybe-installcheck-gnattools:
28944 @if gnattools
28945 maybe-installcheck-gnattools: installcheck-gnattools
28947 installcheck-gnattools: \
28948 configure-gnattools
28949 @: $(MAKE); $(unstage)
28950 @[ -f ./gnattools/Makefile ] || exit 0; \
28951 r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28953 $(HOST_EXPORTS) \
28954 for flag in $(EXTRA_HOST_FLAGS) ; do \
28955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28956 done; \
28957 echo "Doing installcheck in gnattools" ; \
28958 (cd $(HOST_SUBDIR)/gnattools && \
28959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28961 "RANLIB=$${RANLIB}" \
28962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28963 installcheck) \
28964 || exit 1
28966 @endif gnattools
28968 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28969 maybe-mostlyclean-gnattools:
28970 @if gnattools
28971 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28973 mostlyclean-gnattools:
28974 @: $(MAKE); $(unstage)
28975 @[ -f ./gnattools/Makefile ] || exit 0; \
28976 r=`${PWD_COMMAND}`; export r; \
28977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28978 $(HOST_EXPORTS) \
28979 for flag in $(EXTRA_HOST_FLAGS) ; do \
28980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28981 done; \
28982 echo "Doing mostlyclean in gnattools" ; \
28983 (cd $(HOST_SUBDIR)/gnattools && \
28984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28986 "RANLIB=$${RANLIB}" \
28987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28988 mostlyclean) \
28989 || exit 1
28991 @endif gnattools
28993 .PHONY: maybe-clean-gnattools clean-gnattools
28994 maybe-clean-gnattools:
28995 @if gnattools
28996 maybe-clean-gnattools: clean-gnattools
28998 clean-gnattools:
28999 @: $(MAKE); $(unstage)
29000 @[ -f ./gnattools/Makefile ] || exit 0; \
29001 r=`${PWD_COMMAND}`; export r; \
29002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29003 $(HOST_EXPORTS) \
29004 for flag in $(EXTRA_HOST_FLAGS) ; do \
29005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29006 done; \
29007 echo "Doing clean in gnattools" ; \
29008 (cd $(HOST_SUBDIR)/gnattools && \
29009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29011 "RANLIB=$${RANLIB}" \
29012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29013 clean) \
29014 || exit 1
29016 @endif gnattools
29018 .PHONY: maybe-distclean-gnattools distclean-gnattools
29019 maybe-distclean-gnattools:
29020 @if gnattools
29021 maybe-distclean-gnattools: distclean-gnattools
29023 distclean-gnattools:
29024 @: $(MAKE); $(unstage)
29025 @[ -f ./gnattools/Makefile ] || exit 0; \
29026 r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(HOST_EXPORTS) \
29029 for flag in $(EXTRA_HOST_FLAGS) ; do \
29030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29031 done; \
29032 echo "Doing distclean in gnattools" ; \
29033 (cd $(HOST_SUBDIR)/gnattools && \
29034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29036 "RANLIB=$${RANLIB}" \
29037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29038 distclean) \
29039 || exit 1
29041 @endif gnattools
29043 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29044 maybe-maintainer-clean-gnattools:
29045 @if gnattools
29046 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29048 maintainer-clean-gnattools:
29049 @: $(MAKE); $(unstage)
29050 @[ -f ./gnattools/Makefile ] || exit 0; \
29051 r=`${PWD_COMMAND}`; export r; \
29052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29053 $(HOST_EXPORTS) \
29054 for flag in $(EXTRA_HOST_FLAGS) ; do \
29055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29056 done; \
29057 echo "Doing maintainer-clean in gnattools" ; \
29058 (cd $(HOST_SUBDIR)/gnattools && \
29059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29061 "RANLIB=$${RANLIB}" \
29062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29063 maintainer-clean) \
29064 || exit 1
29066 @endif gnattools
29070 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29071 maybe-configure-lto-plugin:
29072 @if gcc-bootstrap
29073 configure-lto-plugin: stage_current
29074 @endif gcc-bootstrap
29075 @if lto-plugin
29076 maybe-configure-lto-plugin: configure-lto-plugin
29077 configure-lto-plugin:
29078 @r=`${PWD_COMMAND}`; export r; \
29079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29080 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29082 $(HOST_EXPORTS) \
29083 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29084 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29085 case $(srcdir) in \
29086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29087 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29089 esac; \
29090 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29091 libsrcdir="$$s/lto-plugin"; \
29092 $(SHELL) $${libsrcdir}/configure \
29093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29094 --target=${target_alias} $${srcdiroption} --enable-shared \
29095 || exit 1
29096 @endif lto-plugin
29100 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29101 maybe-configure-stage1-lto-plugin:
29102 @if lto-plugin-bootstrap
29103 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29104 configure-stage1-lto-plugin:
29105 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29106 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29107 @r=`${PWD_COMMAND}`; export r; \
29108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29109 TFLAGS="$(STAGE1_TFLAGS)"; \
29110 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29111 $(HOST_EXPORTS) \
29112 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29113 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29114 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29115 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29117 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29118 case $(srcdir) in \
29119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29120 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29122 esac; \
29123 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29124 libsrcdir="$$s/lto-plugin"; \
29125 $(SHELL) $${libsrcdir}/configure \
29126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29127 --target=${target_alias} $${srcdiroption} \
29128 $(STAGE1_CONFIGURE_FLAGS) \
29129 --enable-shared
29130 @endif lto-plugin-bootstrap
29132 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29133 maybe-configure-stage2-lto-plugin:
29134 @if lto-plugin-bootstrap
29135 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29136 configure-stage2-lto-plugin:
29137 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29139 @r=`${PWD_COMMAND}`; export r; \
29140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29141 TFLAGS="$(STAGE2_TFLAGS)"; \
29142 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29143 $(HOST_EXPORTS) \
29144 $(POSTSTAGE1_HOST_EXPORTS) \
29145 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29146 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29147 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29148 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29150 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29151 case $(srcdir) in \
29152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29153 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29155 esac; \
29156 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29157 libsrcdir="$$s/lto-plugin"; \
29158 $(SHELL) $${libsrcdir}/configure \
29159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29160 --target=${target_alias} $${srcdiroption} \
29161 --with-build-libsubdir=$(HOST_SUBDIR) \
29162 $(STAGE2_CONFIGURE_FLAGS) \
29163 --enable-shared
29164 @endif lto-plugin-bootstrap
29166 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29167 maybe-configure-stage3-lto-plugin:
29168 @if lto-plugin-bootstrap
29169 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29170 configure-stage3-lto-plugin:
29171 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29173 @r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 TFLAGS="$(STAGE3_TFLAGS)"; \
29176 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29177 $(HOST_EXPORTS) \
29178 $(POSTSTAGE1_HOST_EXPORTS) \
29179 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29180 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29181 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29182 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29184 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29185 case $(srcdir) in \
29186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29187 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29189 esac; \
29190 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29191 libsrcdir="$$s/lto-plugin"; \
29192 $(SHELL) $${libsrcdir}/configure \
29193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29194 --target=${target_alias} $${srcdiroption} \
29195 --with-build-libsubdir=$(HOST_SUBDIR) \
29196 $(STAGE3_CONFIGURE_FLAGS) \
29197 --enable-shared
29198 @endif lto-plugin-bootstrap
29200 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29201 maybe-configure-stage4-lto-plugin:
29202 @if lto-plugin-bootstrap
29203 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29204 configure-stage4-lto-plugin:
29205 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29207 @r=`${PWD_COMMAND}`; export r; \
29208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29209 TFLAGS="$(STAGE4_TFLAGS)"; \
29210 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29211 $(HOST_EXPORTS) \
29212 $(POSTSTAGE1_HOST_EXPORTS) \
29213 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29214 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29215 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29216 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29218 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29219 case $(srcdir) in \
29220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29221 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29223 esac; \
29224 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29225 libsrcdir="$$s/lto-plugin"; \
29226 $(SHELL) $${libsrcdir}/configure \
29227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29228 --target=${target_alias} $${srcdiroption} \
29229 --with-build-libsubdir=$(HOST_SUBDIR) \
29230 $(STAGE4_CONFIGURE_FLAGS) \
29231 --enable-shared
29232 @endif lto-plugin-bootstrap
29234 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29235 maybe-configure-stageprofile-lto-plugin:
29236 @if lto-plugin-bootstrap
29237 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29238 configure-stageprofile-lto-plugin:
29239 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29241 @r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29244 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29245 $(HOST_EXPORTS) \
29246 $(POSTSTAGE1_HOST_EXPORTS) \
29247 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29248 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29249 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29250 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29252 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29253 case $(srcdir) in \
29254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29255 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29257 esac; \
29258 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29259 libsrcdir="$$s/lto-plugin"; \
29260 $(SHELL) $${libsrcdir}/configure \
29261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29262 --target=${target_alias} $${srcdiroption} \
29263 --with-build-libsubdir=$(HOST_SUBDIR) \
29264 $(STAGEprofile_CONFIGURE_FLAGS) \
29265 --enable-shared
29266 @endif lto-plugin-bootstrap
29268 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29269 maybe-configure-stagefeedback-lto-plugin:
29270 @if lto-plugin-bootstrap
29271 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29272 configure-stagefeedback-lto-plugin:
29273 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29275 @r=`${PWD_COMMAND}`; export r; \
29276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29278 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29279 $(HOST_EXPORTS) \
29280 $(POSTSTAGE1_HOST_EXPORTS) \
29281 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29282 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29283 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29284 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29286 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29287 case $(srcdir) in \
29288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29289 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29291 esac; \
29292 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29293 libsrcdir="$$s/lto-plugin"; \
29294 $(SHELL) $${libsrcdir}/configure \
29295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29296 --target=${target_alias} $${srcdiroption} \
29297 --with-build-libsubdir=$(HOST_SUBDIR) \
29298 $(STAGEfeedback_CONFIGURE_FLAGS) \
29299 --enable-shared
29300 @endif lto-plugin-bootstrap
29306 .PHONY: all-lto-plugin maybe-all-lto-plugin
29307 maybe-all-lto-plugin:
29308 @if gcc-bootstrap
29309 all-lto-plugin: stage_current
29310 @endif gcc-bootstrap
29311 @if lto-plugin
29312 TARGET-lto-plugin=all
29313 maybe-all-lto-plugin: all-lto-plugin
29314 all-lto-plugin: configure-lto-plugin
29315 @r=`${PWD_COMMAND}`; export r; \
29316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29317 $(HOST_EXPORTS) \
29318 (cd $(HOST_SUBDIR)/lto-plugin && \
29319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29320 $(TARGET-lto-plugin))
29321 @endif lto-plugin
29325 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29326 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29327 maybe-all-stage1-lto-plugin:
29328 maybe-clean-stage1-lto-plugin:
29329 @if lto-plugin-bootstrap
29330 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29331 all-stage1: all-stage1-lto-plugin
29332 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29333 all-stage1-lto-plugin: configure-stage1-lto-plugin
29334 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29335 @r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 TFLAGS="$(STAGE1_TFLAGS)"; \
29338 $(HOST_EXPORTS) \
29339 cd $(HOST_SUBDIR)/lto-plugin && \
29340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29341 CFLAGS="$(STAGE1_CFLAGS)" \
29342 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29343 LIBCFLAGS="$(LIBCFLAGS)" \
29344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29347 $(EXTRA_HOST_FLAGS) \
29348 TFLAGS="$(STAGE1_TFLAGS)" \
29349 $(TARGET-stage1-lto-plugin)
29351 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29352 clean-stage1: clean-stage1-lto-plugin
29353 clean-stage1-lto-plugin:
29354 @if [ $(current_stage) = stage1 ]; then \
29355 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29356 else \
29357 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29358 $(MAKE) stage1-start; \
29359 fi; \
29360 cd $(HOST_SUBDIR)/lto-plugin && \
29361 $(MAKE) $(EXTRA_HOST_FLAGS) \
29362 clean
29363 @endif lto-plugin-bootstrap
29366 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29367 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29368 maybe-all-stage2-lto-plugin:
29369 maybe-clean-stage2-lto-plugin:
29370 @if lto-plugin-bootstrap
29371 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29372 all-stage2: all-stage2-lto-plugin
29373 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29374 all-stage2-lto-plugin: configure-stage2-lto-plugin
29375 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29376 @r=`${PWD_COMMAND}`; export r; \
29377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29378 TFLAGS="$(STAGE2_TFLAGS)"; \
29379 $(HOST_EXPORTS) \
29380 $(POSTSTAGE1_HOST_EXPORTS) \
29381 cd $(HOST_SUBDIR)/lto-plugin && \
29382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29383 CFLAGS="$(STAGE2_CFLAGS)" \
29384 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29385 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29390 TFLAGS="$(STAGE2_TFLAGS)" \
29391 $(TARGET-stage2-lto-plugin)
29393 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29394 clean-stage2: clean-stage2-lto-plugin
29395 clean-stage2-lto-plugin:
29396 @if [ $(current_stage) = stage2 ]; then \
29397 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29398 else \
29399 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29400 $(MAKE) stage2-start; \
29401 fi; \
29402 cd $(HOST_SUBDIR)/lto-plugin && \
29403 $(MAKE) $(EXTRA_HOST_FLAGS) \
29404 $(POSTSTAGE1_FLAGS_TO_PASS) \
29405 clean
29406 @endif lto-plugin-bootstrap
29409 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29410 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29411 maybe-all-stage3-lto-plugin:
29412 maybe-clean-stage3-lto-plugin:
29413 @if lto-plugin-bootstrap
29414 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29415 all-stage3: all-stage3-lto-plugin
29416 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29417 all-stage3-lto-plugin: configure-stage3-lto-plugin
29418 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29419 @r=`${PWD_COMMAND}`; export r; \
29420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 TFLAGS="$(STAGE3_TFLAGS)"; \
29422 $(HOST_EXPORTS) \
29423 $(POSTSTAGE1_HOST_EXPORTS) \
29424 cd $(HOST_SUBDIR)/lto-plugin && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29426 CFLAGS="$(STAGE3_CFLAGS)" \
29427 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29428 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29433 TFLAGS="$(STAGE3_TFLAGS)" \
29434 $(TARGET-stage3-lto-plugin)
29436 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29437 clean-stage3: clean-stage3-lto-plugin
29438 clean-stage3-lto-plugin:
29439 @if [ $(current_stage) = stage3 ]; then \
29440 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29441 else \
29442 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29443 $(MAKE) stage3-start; \
29444 fi; \
29445 cd $(HOST_SUBDIR)/lto-plugin && \
29446 $(MAKE) $(EXTRA_HOST_FLAGS) \
29447 $(POSTSTAGE1_FLAGS_TO_PASS) \
29448 clean
29449 @endif lto-plugin-bootstrap
29452 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29453 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29454 maybe-all-stage4-lto-plugin:
29455 maybe-clean-stage4-lto-plugin:
29456 @if lto-plugin-bootstrap
29457 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29458 all-stage4: all-stage4-lto-plugin
29459 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29460 all-stage4-lto-plugin: configure-stage4-lto-plugin
29461 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29462 @r=`${PWD_COMMAND}`; export r; \
29463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29464 TFLAGS="$(STAGE4_TFLAGS)"; \
29465 $(HOST_EXPORTS) \
29466 $(POSTSTAGE1_HOST_EXPORTS) \
29467 cd $(HOST_SUBDIR)/lto-plugin && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29469 CFLAGS="$(STAGE4_CFLAGS)" \
29470 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29471 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29476 TFLAGS="$(STAGE4_TFLAGS)" \
29477 $(TARGET-stage4-lto-plugin)
29479 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29480 clean-stage4: clean-stage4-lto-plugin
29481 clean-stage4-lto-plugin:
29482 @if [ $(current_stage) = stage4 ]; then \
29483 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29484 else \
29485 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29486 $(MAKE) stage4-start; \
29487 fi; \
29488 cd $(HOST_SUBDIR)/lto-plugin && \
29489 $(MAKE) $(EXTRA_HOST_FLAGS) \
29490 $(POSTSTAGE1_FLAGS_TO_PASS) \
29491 clean
29492 @endif lto-plugin-bootstrap
29495 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29496 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29497 maybe-all-stageprofile-lto-plugin:
29498 maybe-clean-stageprofile-lto-plugin:
29499 @if lto-plugin-bootstrap
29500 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29501 all-stageprofile: all-stageprofile-lto-plugin
29502 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29503 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29504 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29505 @r=`${PWD_COMMAND}`; export r; \
29506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29507 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29508 $(HOST_EXPORTS) \
29509 $(POSTSTAGE1_HOST_EXPORTS) \
29510 cd $(HOST_SUBDIR)/lto-plugin && \
29511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29512 CFLAGS="$(STAGEprofile_CFLAGS)" \
29513 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29514 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29519 TFLAGS="$(STAGEprofile_TFLAGS)" \
29520 $(TARGET-stageprofile-lto-plugin)
29522 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29523 clean-stageprofile: clean-stageprofile-lto-plugin
29524 clean-stageprofile-lto-plugin:
29525 @if [ $(current_stage) = stageprofile ]; then \
29526 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29527 else \
29528 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29529 $(MAKE) stageprofile-start; \
29530 fi; \
29531 cd $(HOST_SUBDIR)/lto-plugin && \
29532 $(MAKE) $(EXTRA_HOST_FLAGS) \
29533 $(POSTSTAGE1_FLAGS_TO_PASS) \
29534 clean
29535 @endif lto-plugin-bootstrap
29538 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29539 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29540 maybe-all-stagefeedback-lto-plugin:
29541 maybe-clean-stagefeedback-lto-plugin:
29542 @if lto-plugin-bootstrap
29543 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29544 all-stagefeedback: all-stagefeedback-lto-plugin
29545 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29546 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29548 @r=`${PWD_COMMAND}`; export r; \
29549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29550 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29551 $(HOST_EXPORTS) \
29552 $(POSTSTAGE1_HOST_EXPORTS) \
29553 cd $(HOST_SUBDIR)/lto-plugin && \
29554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29555 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29556 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29557 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29562 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29563 $(TARGET-stagefeedback-lto-plugin)
29565 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29566 clean-stagefeedback: clean-stagefeedback-lto-plugin
29567 clean-stagefeedback-lto-plugin:
29568 @if [ $(current_stage) = stagefeedback ]; then \
29569 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29570 else \
29571 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29572 $(MAKE) stagefeedback-start; \
29573 fi; \
29574 cd $(HOST_SUBDIR)/lto-plugin && \
29575 $(MAKE) $(EXTRA_HOST_FLAGS) \
29576 $(POSTSTAGE1_FLAGS_TO_PASS) \
29577 clean
29578 @endif lto-plugin-bootstrap
29584 .PHONY: check-lto-plugin maybe-check-lto-plugin
29585 maybe-check-lto-plugin:
29586 @if lto-plugin
29587 maybe-check-lto-plugin: check-lto-plugin
29589 check-lto-plugin:
29590 @: $(MAKE); $(unstage)
29591 @r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 $(HOST_EXPORTS) \
29594 (cd $(HOST_SUBDIR)/lto-plugin && \
29595 $(MAKE) $(FLAGS_TO_PASS) check)
29597 @endif lto-plugin
29599 .PHONY: install-lto-plugin maybe-install-lto-plugin
29600 maybe-install-lto-plugin:
29601 @if lto-plugin
29602 maybe-install-lto-plugin: install-lto-plugin
29604 install-lto-plugin: installdirs
29605 @: $(MAKE); $(unstage)
29606 @r=`${PWD_COMMAND}`; export r; \
29607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29608 $(HOST_EXPORTS) \
29609 (cd $(HOST_SUBDIR)/lto-plugin && \
29610 $(MAKE) $(FLAGS_TO_PASS) install)
29612 @endif lto-plugin
29614 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29615 maybe-install-strip-lto-plugin:
29616 @if lto-plugin
29617 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29619 install-strip-lto-plugin: installdirs
29620 @: $(MAKE); $(unstage)
29621 @r=`${PWD_COMMAND}`; export r; \
29622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29623 $(HOST_EXPORTS) \
29624 (cd $(HOST_SUBDIR)/lto-plugin && \
29625 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29627 @endif lto-plugin
29629 # Other targets (info, dvi, pdf, etc.)
29631 .PHONY: maybe-info-lto-plugin info-lto-plugin
29632 maybe-info-lto-plugin:
29633 @if lto-plugin
29634 maybe-info-lto-plugin: info-lto-plugin
29636 info-lto-plugin: \
29637 configure-lto-plugin
29638 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(HOST_EXPORTS) \
29642 for flag in $(EXTRA_HOST_FLAGS) ; do \
29643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29644 done; \
29645 echo "Doing info in lto-plugin" ; \
29646 (cd $(HOST_SUBDIR)/lto-plugin && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29651 info) \
29652 || exit 1
29654 @endif lto-plugin
29656 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29657 maybe-dvi-lto-plugin:
29658 @if lto-plugin
29659 maybe-dvi-lto-plugin: dvi-lto-plugin
29661 dvi-lto-plugin: \
29662 configure-lto-plugin
29663 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29664 r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(HOST_EXPORTS) \
29667 for flag in $(EXTRA_HOST_FLAGS) ; do \
29668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29669 done; \
29670 echo "Doing dvi in lto-plugin" ; \
29671 (cd $(HOST_SUBDIR)/lto-plugin && \
29672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29674 "RANLIB=$${RANLIB}" \
29675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29676 dvi) \
29677 || exit 1
29679 @endif lto-plugin
29681 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29682 maybe-pdf-lto-plugin:
29683 @if lto-plugin
29684 maybe-pdf-lto-plugin: pdf-lto-plugin
29686 pdf-lto-plugin: \
29687 configure-lto-plugin
29688 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29689 r=`${PWD_COMMAND}`; export r; \
29690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29691 $(HOST_EXPORTS) \
29692 for flag in $(EXTRA_HOST_FLAGS) ; do \
29693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29694 done; \
29695 echo "Doing pdf in lto-plugin" ; \
29696 (cd $(HOST_SUBDIR)/lto-plugin && \
29697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29699 "RANLIB=$${RANLIB}" \
29700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29701 pdf) \
29702 || exit 1
29704 @endif lto-plugin
29706 .PHONY: maybe-html-lto-plugin html-lto-plugin
29707 maybe-html-lto-plugin:
29708 @if lto-plugin
29709 maybe-html-lto-plugin: html-lto-plugin
29711 html-lto-plugin: \
29712 configure-lto-plugin
29713 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29714 r=`${PWD_COMMAND}`; export r; \
29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29716 $(HOST_EXPORTS) \
29717 for flag in $(EXTRA_HOST_FLAGS) ; do \
29718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29719 done; \
29720 echo "Doing html in lto-plugin" ; \
29721 (cd $(HOST_SUBDIR)/lto-plugin && \
29722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29724 "RANLIB=$${RANLIB}" \
29725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29726 html) \
29727 || exit 1
29729 @endif lto-plugin
29731 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29732 maybe-TAGS-lto-plugin:
29733 @if lto-plugin
29734 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29736 TAGS-lto-plugin: \
29737 configure-lto-plugin
29738 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29739 r=`${PWD_COMMAND}`; export r; \
29740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29741 $(HOST_EXPORTS) \
29742 for flag in $(EXTRA_HOST_FLAGS) ; do \
29743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29744 done; \
29745 echo "Doing TAGS in lto-plugin" ; \
29746 (cd $(HOST_SUBDIR)/lto-plugin && \
29747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29749 "RANLIB=$${RANLIB}" \
29750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29751 TAGS) \
29752 || exit 1
29754 @endif lto-plugin
29756 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29757 maybe-install-info-lto-plugin:
29758 @if lto-plugin
29759 maybe-install-info-lto-plugin: install-info-lto-plugin
29761 install-info-lto-plugin: \
29762 configure-lto-plugin \
29763 info-lto-plugin
29764 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29765 r=`${PWD_COMMAND}`; export r; \
29766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29767 $(HOST_EXPORTS) \
29768 for flag in $(EXTRA_HOST_FLAGS) ; do \
29769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29770 done; \
29771 echo "Doing install-info in lto-plugin" ; \
29772 (cd $(HOST_SUBDIR)/lto-plugin && \
29773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29775 "RANLIB=$${RANLIB}" \
29776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29777 install-info) \
29778 || exit 1
29780 @endif lto-plugin
29782 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29783 maybe-install-pdf-lto-plugin:
29784 @if lto-plugin
29785 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29787 install-pdf-lto-plugin: \
29788 configure-lto-plugin \
29789 pdf-lto-plugin
29790 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29791 r=`${PWD_COMMAND}`; export r; \
29792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29793 $(HOST_EXPORTS) \
29794 for flag in $(EXTRA_HOST_FLAGS) ; do \
29795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29796 done; \
29797 echo "Doing install-pdf in lto-plugin" ; \
29798 (cd $(HOST_SUBDIR)/lto-plugin && \
29799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29801 "RANLIB=$${RANLIB}" \
29802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29803 install-pdf) \
29804 || exit 1
29806 @endif lto-plugin
29808 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29809 maybe-install-html-lto-plugin:
29810 @if lto-plugin
29811 maybe-install-html-lto-plugin: install-html-lto-plugin
29813 install-html-lto-plugin: \
29814 configure-lto-plugin \
29815 html-lto-plugin
29816 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29817 r=`${PWD_COMMAND}`; export r; \
29818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29819 $(HOST_EXPORTS) \
29820 for flag in $(EXTRA_HOST_FLAGS) ; do \
29821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29822 done; \
29823 echo "Doing install-html in lto-plugin" ; \
29824 (cd $(HOST_SUBDIR)/lto-plugin && \
29825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29827 "RANLIB=$${RANLIB}" \
29828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29829 install-html) \
29830 || exit 1
29832 @endif lto-plugin
29834 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29835 maybe-installcheck-lto-plugin:
29836 @if lto-plugin
29837 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29839 installcheck-lto-plugin: \
29840 configure-lto-plugin
29841 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29842 r=`${PWD_COMMAND}`; export r; \
29843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29844 $(HOST_EXPORTS) \
29845 for flag in $(EXTRA_HOST_FLAGS) ; do \
29846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29847 done; \
29848 echo "Doing installcheck in lto-plugin" ; \
29849 (cd $(HOST_SUBDIR)/lto-plugin && \
29850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29852 "RANLIB=$${RANLIB}" \
29853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29854 installcheck) \
29855 || exit 1
29857 @endif lto-plugin
29859 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29860 maybe-mostlyclean-lto-plugin:
29861 @if lto-plugin
29862 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29864 mostlyclean-lto-plugin:
29865 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29866 r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 $(HOST_EXPORTS) \
29869 for flag in $(EXTRA_HOST_FLAGS) ; do \
29870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29871 done; \
29872 echo "Doing mostlyclean in lto-plugin" ; \
29873 (cd $(HOST_SUBDIR)/lto-plugin && \
29874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29876 "RANLIB=$${RANLIB}" \
29877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29878 mostlyclean) \
29879 || exit 1
29881 @endif lto-plugin
29883 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29884 maybe-clean-lto-plugin:
29885 @if lto-plugin
29886 maybe-clean-lto-plugin: clean-lto-plugin
29888 clean-lto-plugin:
29889 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29890 r=`${PWD_COMMAND}`; export r; \
29891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29892 $(HOST_EXPORTS) \
29893 for flag in $(EXTRA_HOST_FLAGS) ; do \
29894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29895 done; \
29896 echo "Doing clean in lto-plugin" ; \
29897 (cd $(HOST_SUBDIR)/lto-plugin && \
29898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29900 "RANLIB=$${RANLIB}" \
29901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29902 clean) \
29903 || exit 1
29905 @endif lto-plugin
29907 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29908 maybe-distclean-lto-plugin:
29909 @if lto-plugin
29910 maybe-distclean-lto-plugin: distclean-lto-plugin
29912 distclean-lto-plugin:
29913 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29914 r=`${PWD_COMMAND}`; export r; \
29915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29916 $(HOST_EXPORTS) \
29917 for flag in $(EXTRA_HOST_FLAGS) ; do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 echo "Doing distclean in lto-plugin" ; \
29921 (cd $(HOST_SUBDIR)/lto-plugin && \
29922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29924 "RANLIB=$${RANLIB}" \
29925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29926 distclean) \
29927 || exit 1
29929 @endif lto-plugin
29931 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29932 maybe-maintainer-clean-lto-plugin:
29933 @if lto-plugin
29934 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29936 maintainer-clean-lto-plugin:
29937 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29938 r=`${PWD_COMMAND}`; export r; \
29939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29940 $(HOST_EXPORTS) \
29941 for flag in $(EXTRA_HOST_FLAGS) ; do \
29942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29943 done; \
29944 echo "Doing maintainer-clean in lto-plugin" ; \
29945 (cd $(HOST_SUBDIR)/lto-plugin && \
29946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29948 "RANLIB=$${RANLIB}" \
29949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29950 maintainer-clean) \
29951 || exit 1
29953 @endif lto-plugin
29957 # ---------------------------------------
29958 # Modules which run on the target machine
29959 # ---------------------------------------
29964 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29965 maybe-configure-target-libstdc++-v3:
29966 @if gcc-bootstrap
29967 configure-target-libstdc++-v3: stage_current
29968 @endif gcc-bootstrap
29969 @if target-libstdc++-v3
29970 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29971 configure-target-libstdc++-v3:
29972 @r=`${PWD_COMMAND}`; export r; \
29973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29974 echo "Checking multilib configuration for libstdc++-v3..."; \
29975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29977 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29978 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29979 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29980 else \
29981 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29982 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29983 fi; \
29984 else \
29985 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29986 fi; \
29987 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29989 $(RAW_CXX_TARGET_EXPORTS) \
29990 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29991 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29992 case $(srcdir) in \
29993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29994 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29996 esac; \
29997 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29998 libsrcdir="$$s/libstdc++-v3"; \
29999 rm -f no-such-file || : ; \
30000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30001 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30002 --target=${target_alias} $${srcdiroption} \
30003 || exit 1
30004 @endif target-libstdc++-v3
30008 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30009 maybe-configure-stage1-target-libstdc++-v3:
30010 @if target-libstdc++-v3-bootstrap
30011 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30012 configure-stage1-target-libstdc++-v3:
30013 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30014 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30015 @r=`${PWD_COMMAND}`; export r; \
30016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30017 TFLAGS="$(STAGE1_TFLAGS)"; \
30018 echo "Checking multilib configuration for libstdc++-v3..."; \
30019 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30020 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30021 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30022 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30023 else \
30024 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30025 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30026 fi; \
30027 else \
30028 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30029 fi; \
30030 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30031 $(RAW_CXX_TARGET_EXPORTS) \
30032 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30033 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30034 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30035 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30037 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30038 case $(srcdir) in \
30039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30040 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30042 esac; \
30043 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30044 libsrcdir="$$s/libstdc++-v3"; \
30045 $(SHELL) $${libsrcdir}/configure \
30046 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30047 --target=${target_alias} $${srcdiroption} \
30048 $(STAGE1_CONFIGURE_FLAGS)
30049 @endif target-libstdc++-v3-bootstrap
30051 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30052 maybe-configure-stage2-target-libstdc++-v3:
30053 @if target-libstdc++-v3-bootstrap
30054 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30055 configure-stage2-target-libstdc++-v3:
30056 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30057 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30058 @r=`${PWD_COMMAND}`; export r; \
30059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30060 TFLAGS="$(STAGE2_TFLAGS)"; \
30061 echo "Checking multilib configuration for libstdc++-v3..."; \
30062 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30063 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30064 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30065 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30066 else \
30067 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30068 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30069 fi; \
30070 else \
30071 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30072 fi; \
30073 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30074 $(RAW_CXX_TARGET_EXPORTS) \
30076 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30077 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30078 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30079 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30081 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30082 case $(srcdir) in \
30083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30084 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30086 esac; \
30087 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30088 libsrcdir="$$s/libstdc++-v3"; \
30089 $(SHELL) $${libsrcdir}/configure \
30090 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30091 --target=${target_alias} $${srcdiroption} \
30092 --with-build-libsubdir=$(HOST_SUBDIR) \
30093 $(STAGE2_CONFIGURE_FLAGS)
30094 @endif target-libstdc++-v3-bootstrap
30096 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30097 maybe-configure-stage3-target-libstdc++-v3:
30098 @if target-libstdc++-v3-bootstrap
30099 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30100 configure-stage3-target-libstdc++-v3:
30101 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30102 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30103 @r=`${PWD_COMMAND}`; export r; \
30104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30105 TFLAGS="$(STAGE3_TFLAGS)"; \
30106 echo "Checking multilib configuration for libstdc++-v3..."; \
30107 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30108 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30109 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30110 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30111 else \
30112 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30113 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30114 fi; \
30115 else \
30116 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30117 fi; \
30118 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30119 $(RAW_CXX_TARGET_EXPORTS) \
30121 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30122 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30123 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30124 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30125 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30126 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30127 case $(srcdir) in \
30128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30129 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30131 esac; \
30132 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30133 libsrcdir="$$s/libstdc++-v3"; \
30134 $(SHELL) $${libsrcdir}/configure \
30135 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30136 --target=${target_alias} $${srcdiroption} \
30137 --with-build-libsubdir=$(HOST_SUBDIR) \
30138 $(STAGE3_CONFIGURE_FLAGS)
30139 @endif target-libstdc++-v3-bootstrap
30141 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30142 maybe-configure-stage4-target-libstdc++-v3:
30143 @if target-libstdc++-v3-bootstrap
30144 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30145 configure-stage4-target-libstdc++-v3:
30146 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30147 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30148 @r=`${PWD_COMMAND}`; export r; \
30149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150 TFLAGS="$(STAGE4_TFLAGS)"; \
30151 echo "Checking multilib configuration for libstdc++-v3..."; \
30152 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30153 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30154 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30155 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30156 else \
30157 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30158 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30159 fi; \
30160 else \
30161 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30162 fi; \
30163 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30164 $(RAW_CXX_TARGET_EXPORTS) \
30166 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30167 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30168 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30169 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30171 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30172 case $(srcdir) in \
30173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30174 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30176 esac; \
30177 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30178 libsrcdir="$$s/libstdc++-v3"; \
30179 $(SHELL) $${libsrcdir}/configure \
30180 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30181 --target=${target_alias} $${srcdiroption} \
30182 --with-build-libsubdir=$(HOST_SUBDIR) \
30183 $(STAGE4_CONFIGURE_FLAGS)
30184 @endif target-libstdc++-v3-bootstrap
30186 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30187 maybe-configure-stageprofile-target-libstdc++-v3:
30188 @if target-libstdc++-v3-bootstrap
30189 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30190 configure-stageprofile-target-libstdc++-v3:
30191 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30192 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30193 @r=`${PWD_COMMAND}`; export r; \
30194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30195 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30196 echo "Checking multilib configuration for libstdc++-v3..."; \
30197 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30198 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30199 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30200 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30201 else \
30202 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30203 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30204 fi; \
30205 else \
30206 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30207 fi; \
30208 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30209 $(RAW_CXX_TARGET_EXPORTS) \
30211 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30212 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30213 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30214 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30215 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30216 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30217 case $(srcdir) in \
30218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30219 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30221 esac; \
30222 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30223 libsrcdir="$$s/libstdc++-v3"; \
30224 $(SHELL) $${libsrcdir}/configure \
30225 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30226 --target=${target_alias} $${srcdiroption} \
30227 --with-build-libsubdir=$(HOST_SUBDIR) \
30228 $(STAGEprofile_CONFIGURE_FLAGS)
30229 @endif target-libstdc++-v3-bootstrap
30231 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30232 maybe-configure-stagefeedback-target-libstdc++-v3:
30233 @if target-libstdc++-v3-bootstrap
30234 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30235 configure-stagefeedback-target-libstdc++-v3:
30236 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30237 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30238 @r=`${PWD_COMMAND}`; export r; \
30239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30240 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30241 echo "Checking multilib configuration for libstdc++-v3..."; \
30242 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30243 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30244 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30245 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30246 else \
30247 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30248 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30249 fi; \
30250 else \
30251 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30252 fi; \
30253 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30254 $(RAW_CXX_TARGET_EXPORTS) \
30256 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30257 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30258 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30259 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30261 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30262 case $(srcdir) in \
30263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30264 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30266 esac; \
30267 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30268 libsrcdir="$$s/libstdc++-v3"; \
30269 $(SHELL) $${libsrcdir}/configure \
30270 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30271 --target=${target_alias} $${srcdiroption} \
30272 --with-build-libsubdir=$(HOST_SUBDIR) \
30273 $(STAGEfeedback_CONFIGURE_FLAGS)
30274 @endif target-libstdc++-v3-bootstrap
30280 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30281 maybe-all-target-libstdc++-v3:
30282 @if gcc-bootstrap
30283 all-target-libstdc++-v3: stage_current
30284 @endif gcc-bootstrap
30285 @if target-libstdc++-v3
30286 TARGET-target-libstdc++-v3=all
30287 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30288 all-target-libstdc++-v3: configure-target-libstdc++-v3
30289 @r=`${PWD_COMMAND}`; export r; \
30290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30291 $(RAW_CXX_TARGET_EXPORTS) \
30292 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30293 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30294 $(TARGET-target-libstdc++-v3))
30295 @endif target-libstdc++-v3
30299 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30300 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30301 maybe-all-stage1-target-libstdc++-v3:
30302 maybe-clean-stage1-target-libstdc++-v3:
30303 @if target-libstdc++-v3-bootstrap
30304 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30305 all-stage1: all-stage1-target-libstdc++-v3
30306 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30307 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30308 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30309 @r=`${PWD_COMMAND}`; export r; \
30310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30311 TFLAGS="$(STAGE1_TFLAGS)"; \
30312 $(RAW_CXX_TARGET_EXPORTS) \
30313 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30314 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30315 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30316 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30317 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30321 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30322 TFLAGS="$(STAGE1_TFLAGS)" \
30323 $(TARGET-stage1-target-libstdc++-v3)
30325 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30326 clean-stage1: clean-stage1-target-libstdc++-v3
30327 clean-stage1-target-libstdc++-v3:
30328 @if [ $(current_stage) = stage1 ]; then \
30329 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30330 else \
30331 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30332 $(MAKE) stage1-start; \
30333 fi; \
30334 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30335 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30336 clean
30337 @endif target-libstdc++-v3-bootstrap
30340 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30341 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30342 maybe-all-stage2-target-libstdc++-v3:
30343 maybe-clean-stage2-target-libstdc++-v3:
30344 @if target-libstdc++-v3-bootstrap
30345 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30346 all-stage2: all-stage2-target-libstdc++-v3
30347 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30348 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30349 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30350 @r=`${PWD_COMMAND}`; export r; \
30351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30352 TFLAGS="$(STAGE2_TFLAGS)"; \
30353 $(RAW_CXX_TARGET_EXPORTS) \
30355 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30357 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30358 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30359 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30363 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30364 TFLAGS="$(STAGE2_TFLAGS)" \
30365 $(TARGET-stage2-target-libstdc++-v3)
30367 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30368 clean-stage2: clean-stage2-target-libstdc++-v3
30369 clean-stage2-target-libstdc++-v3:
30370 @if [ $(current_stage) = stage2 ]; then \
30371 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30372 else \
30373 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30374 $(MAKE) stage2-start; \
30375 fi; \
30376 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30377 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30379 clean
30380 @endif target-libstdc++-v3-bootstrap
30383 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30384 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30385 maybe-all-stage3-target-libstdc++-v3:
30386 maybe-clean-stage3-target-libstdc++-v3:
30387 @if target-libstdc++-v3-bootstrap
30388 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30389 all-stage3: all-stage3-target-libstdc++-v3
30390 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30391 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30392 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30393 @r=`${PWD_COMMAND}`; export r; \
30394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 TFLAGS="$(STAGE3_TFLAGS)"; \
30396 $(RAW_CXX_TARGET_EXPORTS) \
30398 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30400 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30401 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30402 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30406 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30407 TFLAGS="$(STAGE3_TFLAGS)" \
30408 $(TARGET-stage3-target-libstdc++-v3)
30410 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30411 clean-stage3: clean-stage3-target-libstdc++-v3
30412 clean-stage3-target-libstdc++-v3:
30413 @if [ $(current_stage) = stage3 ]; then \
30414 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30415 else \
30416 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30417 $(MAKE) stage3-start; \
30418 fi; \
30419 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30420 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30422 clean
30423 @endif target-libstdc++-v3-bootstrap
30426 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30427 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30428 maybe-all-stage4-target-libstdc++-v3:
30429 maybe-clean-stage4-target-libstdc++-v3:
30430 @if target-libstdc++-v3-bootstrap
30431 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30432 all-stage4: all-stage4-target-libstdc++-v3
30433 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30434 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30435 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30436 @r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30438 TFLAGS="$(STAGE4_TFLAGS)"; \
30439 $(RAW_CXX_TARGET_EXPORTS) \
30441 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30443 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30449 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30450 TFLAGS="$(STAGE4_TFLAGS)" \
30451 $(TARGET-stage4-target-libstdc++-v3)
30453 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30454 clean-stage4: clean-stage4-target-libstdc++-v3
30455 clean-stage4-target-libstdc++-v3:
30456 @if [ $(current_stage) = stage4 ]; then \
30457 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30458 else \
30459 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30460 $(MAKE) stage4-start; \
30461 fi; \
30462 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30463 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30465 clean
30466 @endif target-libstdc++-v3-bootstrap
30469 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30470 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30471 maybe-all-stageprofile-target-libstdc++-v3:
30472 maybe-clean-stageprofile-target-libstdc++-v3:
30473 @if target-libstdc++-v3-bootstrap
30474 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30475 all-stageprofile: all-stageprofile-target-libstdc++-v3
30476 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30477 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30478 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30479 @r=`${PWD_COMMAND}`; export r; \
30480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30481 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30482 $(RAW_CXX_TARGET_EXPORTS) \
30484 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30486 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30487 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30488 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30492 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30493 TFLAGS="$(STAGEprofile_TFLAGS)" \
30494 $(TARGET-stageprofile-target-libstdc++-v3)
30496 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30497 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30498 clean-stageprofile-target-libstdc++-v3:
30499 @if [ $(current_stage) = stageprofile ]; then \
30500 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30501 else \
30502 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30503 $(MAKE) stageprofile-start; \
30504 fi; \
30505 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30506 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30508 clean
30509 @endif target-libstdc++-v3-bootstrap
30512 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30513 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30514 maybe-all-stagefeedback-target-libstdc++-v3:
30515 maybe-clean-stagefeedback-target-libstdc++-v3:
30516 @if target-libstdc++-v3-bootstrap
30517 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30518 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30519 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30520 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30521 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30522 @r=`${PWD_COMMAND}`; export r; \
30523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30524 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30525 $(RAW_CXX_TARGET_EXPORTS) \
30527 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30529 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30530 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30531 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30535 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30536 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30537 $(TARGET-stagefeedback-target-libstdc++-v3)
30539 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30540 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30541 clean-stagefeedback-target-libstdc++-v3:
30542 @if [ $(current_stage) = stagefeedback ]; then \
30543 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30544 else \
30545 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30546 $(MAKE) stagefeedback-start; \
30547 fi; \
30548 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30549 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30551 clean
30552 @endif target-libstdc++-v3-bootstrap
30559 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30560 maybe-check-target-libstdc++-v3:
30561 @if target-libstdc++-v3
30562 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30564 check-target-libstdc++-v3:
30565 @: $(MAKE); $(unstage)
30566 @r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(RAW_CXX_TARGET_EXPORTS) \
30569 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30570 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30572 @endif target-libstdc++-v3
30574 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30575 maybe-install-target-libstdc++-v3:
30576 @if target-libstdc++-v3
30577 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30579 install-target-libstdc++-v3: installdirs
30580 @: $(MAKE); $(unstage)
30581 @r=`${PWD_COMMAND}`; export r; \
30582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30583 $(RAW_CXX_TARGET_EXPORTS) \
30584 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30585 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30587 @endif target-libstdc++-v3
30589 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30590 maybe-install-strip-target-libstdc++-v3:
30591 @if target-libstdc++-v3
30592 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30594 install-strip-target-libstdc++-v3: installdirs
30595 @: $(MAKE); $(unstage)
30596 @r=`${PWD_COMMAND}`; export r; \
30597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30598 $(RAW_CXX_TARGET_EXPORTS) \
30599 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30600 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30602 @endif target-libstdc++-v3
30604 # Other targets (info, dvi, pdf, etc.)
30606 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30607 maybe-info-target-libstdc++-v3:
30608 @if target-libstdc++-v3
30609 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30611 info-target-libstdc++-v3: \
30612 configure-target-libstdc++-v3
30613 @: $(MAKE); $(unstage)
30614 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30615 r=`${PWD_COMMAND}`; export r; \
30616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30617 $(RAW_CXX_TARGET_EXPORTS) \
30618 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30619 for flag in $(EXTRA_TARGET_FLAGS); do \
30620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30621 done; \
30622 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30625 "RANLIB=$${RANLIB}" \
30626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30627 info) \
30628 || exit 1
30630 @endif target-libstdc++-v3
30632 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30633 maybe-dvi-target-libstdc++-v3:
30634 @if target-libstdc++-v3
30635 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30637 dvi-target-libstdc++-v3: \
30638 configure-target-libstdc++-v3
30639 @: $(MAKE); $(unstage)
30640 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30641 r=`${PWD_COMMAND}`; export r; \
30642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30643 $(RAW_CXX_TARGET_EXPORTS) \
30644 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30645 for flag in $(EXTRA_TARGET_FLAGS); do \
30646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30647 done; \
30648 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30651 "RANLIB=$${RANLIB}" \
30652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30653 dvi) \
30654 || exit 1
30656 @endif target-libstdc++-v3
30658 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30659 maybe-pdf-target-libstdc++-v3:
30660 @if target-libstdc++-v3
30661 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30663 pdf-target-libstdc++-v3: \
30664 configure-target-libstdc++-v3
30665 @: $(MAKE); $(unstage)
30666 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30667 r=`${PWD_COMMAND}`; export r; \
30668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30669 $(RAW_CXX_TARGET_EXPORTS) \
30670 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30671 for flag in $(EXTRA_TARGET_FLAGS); do \
30672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30673 done; \
30674 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30677 "RANLIB=$${RANLIB}" \
30678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30679 pdf) \
30680 || exit 1
30682 @endif target-libstdc++-v3
30684 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30685 maybe-html-target-libstdc++-v3:
30686 @if target-libstdc++-v3
30687 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30689 html-target-libstdc++-v3: \
30690 configure-target-libstdc++-v3
30691 @: $(MAKE); $(unstage)
30692 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30693 r=`${PWD_COMMAND}`; export r; \
30694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30695 $(RAW_CXX_TARGET_EXPORTS) \
30696 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30697 for flag in $(EXTRA_TARGET_FLAGS); do \
30698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30699 done; \
30700 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30703 "RANLIB=$${RANLIB}" \
30704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30705 html) \
30706 || exit 1
30708 @endif target-libstdc++-v3
30710 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30711 maybe-TAGS-target-libstdc++-v3:
30712 @if target-libstdc++-v3
30713 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30715 TAGS-target-libstdc++-v3: \
30716 configure-target-libstdc++-v3
30717 @: $(MAKE); $(unstage)
30718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30719 r=`${PWD_COMMAND}`; export r; \
30720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30721 $(RAW_CXX_TARGET_EXPORTS) \
30722 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30723 for flag in $(EXTRA_TARGET_FLAGS); do \
30724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30725 done; \
30726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30729 "RANLIB=$${RANLIB}" \
30730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30731 TAGS) \
30732 || exit 1
30734 @endif target-libstdc++-v3
30736 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30737 maybe-install-info-target-libstdc++-v3:
30738 @if target-libstdc++-v3
30739 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30741 install-info-target-libstdc++-v3: \
30742 configure-target-libstdc++-v3 \
30743 info-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 install-info 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 install-info) \
30759 || exit 1
30761 @endif target-libstdc++-v3
30763 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30764 maybe-install-pdf-target-libstdc++-v3:
30765 @if target-libstdc++-v3
30766 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30768 install-pdf-target-libstdc++-v3: \
30769 configure-target-libstdc++-v3 \
30770 pdf-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-pdf 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-pdf) \
30786 || exit 1
30788 @endif target-libstdc++-v3
30790 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30791 maybe-install-html-target-libstdc++-v3:
30792 @if target-libstdc++-v3
30793 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30795 install-html-target-libstdc++-v3: \
30796 configure-target-libstdc++-v3 \
30797 html-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-html 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-html) \
30813 || exit 1
30815 @endif target-libstdc++-v3
30817 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30818 maybe-installcheck-target-libstdc++-v3:
30819 @if target-libstdc++-v3
30820 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30822 installcheck-target-libstdc++-v3: \
30823 configure-target-libstdc++-v3
30824 @: $(MAKE); $(unstage)
30825 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30826 r=`${PWD_COMMAND}`; export r; \
30827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30828 $(RAW_CXX_TARGET_EXPORTS) \
30829 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30830 for flag in $(EXTRA_TARGET_FLAGS); do \
30831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30832 done; \
30833 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30836 "RANLIB=$${RANLIB}" \
30837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30838 installcheck) \
30839 || exit 1
30841 @endif target-libstdc++-v3
30843 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30844 maybe-mostlyclean-target-libstdc++-v3:
30845 @if target-libstdc++-v3
30846 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30848 mostlyclean-target-libstdc++-v3:
30849 @: $(MAKE); $(unstage)
30850 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30851 r=`${PWD_COMMAND}`; export r; \
30852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30853 $(RAW_CXX_TARGET_EXPORTS) \
30854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30855 for flag in $(EXTRA_TARGET_FLAGS); do \
30856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30857 done; \
30858 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30861 "RANLIB=$${RANLIB}" \
30862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30863 mostlyclean) \
30864 || exit 1
30866 @endif target-libstdc++-v3
30868 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30869 maybe-clean-target-libstdc++-v3:
30870 @if target-libstdc++-v3
30871 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30873 clean-target-libstdc++-v3:
30874 @: $(MAKE); $(unstage)
30875 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30876 r=`${PWD_COMMAND}`; export r; \
30877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(RAW_CXX_TARGET_EXPORTS) \
30879 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30880 for flag in $(EXTRA_TARGET_FLAGS); do \
30881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30882 done; \
30883 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30886 "RANLIB=$${RANLIB}" \
30887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30888 clean) \
30889 || exit 1
30891 @endif target-libstdc++-v3
30893 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30894 maybe-distclean-target-libstdc++-v3:
30895 @if target-libstdc++-v3
30896 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30898 distclean-target-libstdc++-v3:
30899 @: $(MAKE); $(unstage)
30900 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30901 r=`${PWD_COMMAND}`; export r; \
30902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30903 $(RAW_CXX_TARGET_EXPORTS) \
30904 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30905 for flag in $(EXTRA_TARGET_FLAGS); do \
30906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30907 done; \
30908 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30911 "RANLIB=$${RANLIB}" \
30912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30913 distclean) \
30914 || exit 1
30916 @endif target-libstdc++-v3
30918 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30919 maybe-maintainer-clean-target-libstdc++-v3:
30920 @if target-libstdc++-v3
30921 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30923 maintainer-clean-target-libstdc++-v3:
30924 @: $(MAKE); $(unstage)
30925 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30926 r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(RAW_CXX_TARGET_EXPORTS) \
30929 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30930 for flag in $(EXTRA_TARGET_FLAGS); do \
30931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30932 done; \
30933 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30936 "RANLIB=$${RANLIB}" \
30937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30938 maintainer-clean) \
30939 || exit 1
30941 @endif target-libstdc++-v3
30947 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30948 maybe-configure-target-libmudflap:
30949 @if gcc-bootstrap
30950 configure-target-libmudflap: stage_current
30951 @endif gcc-bootstrap
30952 @if target-libmudflap
30953 maybe-configure-target-libmudflap: configure-target-libmudflap
30954 configure-target-libmudflap:
30955 @: $(MAKE); $(unstage)
30956 @r=`${PWD_COMMAND}`; export r; \
30957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30958 echo "Checking multilib configuration for libmudflap..."; \
30959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30960 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30961 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30962 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30963 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30964 else \
30965 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30966 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30967 fi; \
30968 else \
30969 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30970 fi; \
30971 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30973 $(NORMAL_TARGET_EXPORTS) \
30974 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
30975 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
30976 case $(srcdir) in \
30977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30978 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
30979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30980 esac; \
30981 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
30982 libsrcdir="$$s/libmudflap"; \
30983 rm -f no-such-file || : ; \
30984 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30985 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30986 --target=${target_alias} $${srcdiroption} \
30987 || exit 1
30988 @endif target-libmudflap
30994 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
30995 maybe-all-target-libmudflap:
30996 @if gcc-bootstrap
30997 all-target-libmudflap: stage_current
30998 @endif gcc-bootstrap
30999 @if target-libmudflap
31000 TARGET-target-libmudflap=all
31001 maybe-all-target-libmudflap: all-target-libmudflap
31002 all-target-libmudflap: configure-target-libmudflap
31003 @: $(MAKE); $(unstage)
31004 @r=`${PWD_COMMAND}`; export r; \
31005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31006 $(NORMAL_TARGET_EXPORTS) \
31007 (cd $(TARGET_SUBDIR)/libmudflap && \
31008 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31009 $(TARGET-target-libmudflap))
31010 @endif target-libmudflap
31016 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31017 maybe-check-target-libmudflap:
31018 @if target-libmudflap
31019 maybe-check-target-libmudflap: check-target-libmudflap
31021 check-target-libmudflap:
31022 @: $(MAKE); $(unstage)
31023 @r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 $(NORMAL_TARGET_EXPORTS) \
31026 (cd $(TARGET_SUBDIR)/libmudflap && \
31027 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31029 @endif target-libmudflap
31031 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31032 maybe-install-target-libmudflap:
31033 @if target-libmudflap
31034 maybe-install-target-libmudflap: install-target-libmudflap
31036 install-target-libmudflap: installdirs
31037 @: $(MAKE); $(unstage)
31038 @r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(NORMAL_TARGET_EXPORTS) \
31041 (cd $(TARGET_SUBDIR)/libmudflap && \
31042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31044 @endif target-libmudflap
31046 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31047 maybe-install-strip-target-libmudflap:
31048 @if target-libmudflap
31049 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31051 install-strip-target-libmudflap: installdirs
31052 @: $(MAKE); $(unstage)
31053 @r=`${PWD_COMMAND}`; export r; \
31054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31055 $(NORMAL_TARGET_EXPORTS) \
31056 (cd $(TARGET_SUBDIR)/libmudflap && \
31057 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31059 @endif target-libmudflap
31061 # Other targets (info, dvi, pdf, etc.)
31063 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31064 maybe-info-target-libmudflap:
31065 @if target-libmudflap
31066 maybe-info-target-libmudflap: info-target-libmudflap
31068 info-target-libmudflap: \
31069 configure-target-libmudflap
31070 @: $(MAKE); $(unstage)
31071 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31072 r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31074 $(NORMAL_TARGET_EXPORTS) \
31075 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31076 for flag in $(EXTRA_TARGET_FLAGS); do \
31077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31078 done; \
31079 (cd $(TARGET_SUBDIR)/libmudflap && \
31080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31082 "RANLIB=$${RANLIB}" \
31083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31084 info) \
31085 || exit 1
31087 @endif target-libmudflap
31089 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31090 maybe-dvi-target-libmudflap:
31091 @if target-libmudflap
31092 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31094 dvi-target-libmudflap: \
31095 configure-target-libmudflap
31096 @: $(MAKE); $(unstage)
31097 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31098 r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(NORMAL_TARGET_EXPORTS) \
31101 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31102 for flag in $(EXTRA_TARGET_FLAGS); do \
31103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31104 done; \
31105 (cd $(TARGET_SUBDIR)/libmudflap && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31108 "RANLIB=$${RANLIB}" \
31109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31110 dvi) \
31111 || exit 1
31113 @endif target-libmudflap
31115 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31116 maybe-pdf-target-libmudflap:
31117 @if target-libmudflap
31118 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31120 pdf-target-libmudflap: \
31121 configure-target-libmudflap
31122 @: $(MAKE); $(unstage)
31123 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(NORMAL_TARGET_EXPORTS) \
31127 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31128 for flag in $(EXTRA_TARGET_FLAGS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 (cd $(TARGET_SUBDIR)/libmudflap && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31136 pdf) \
31137 || exit 1
31139 @endif target-libmudflap
31141 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31142 maybe-html-target-libmudflap:
31143 @if target-libmudflap
31144 maybe-html-target-libmudflap: html-target-libmudflap
31146 html-target-libmudflap: \
31147 configure-target-libmudflap
31148 @: $(MAKE); $(unstage)
31149 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(NORMAL_TARGET_EXPORTS) \
31153 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31154 for flag in $(EXTRA_TARGET_FLAGS); do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 (cd $(TARGET_SUBDIR)/libmudflap && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31162 html) \
31163 || exit 1
31165 @endif target-libmudflap
31167 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31168 maybe-TAGS-target-libmudflap:
31169 @if target-libmudflap
31170 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31172 TAGS-target-libmudflap: \
31173 configure-target-libmudflap
31174 @: $(MAKE); $(unstage)
31175 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(NORMAL_TARGET_EXPORTS) \
31179 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31180 for flag in $(EXTRA_TARGET_FLAGS); do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 (cd $(TARGET_SUBDIR)/libmudflap && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 TAGS) \
31189 || exit 1
31191 @endif target-libmudflap
31193 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31194 maybe-install-info-target-libmudflap:
31195 @if target-libmudflap
31196 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31198 install-info-target-libmudflap: \
31199 configure-target-libmudflap \
31200 info-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 install-info 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 install-info) \
31216 || exit 1
31218 @endif target-libmudflap
31220 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31221 maybe-install-pdf-target-libmudflap:
31222 @if target-libmudflap
31223 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31225 install-pdf-target-libmudflap: \
31226 configure-target-libmudflap \
31227 pdf-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-pdf 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-pdf) \
31243 || exit 1
31245 @endif target-libmudflap
31247 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31248 maybe-install-html-target-libmudflap:
31249 @if target-libmudflap
31250 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31252 install-html-target-libmudflap: \
31253 configure-target-libmudflap \
31254 html-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-html 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-html) \
31270 || exit 1
31272 @endif target-libmudflap
31274 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31275 maybe-installcheck-target-libmudflap:
31276 @if target-libmudflap
31277 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31279 installcheck-target-libmudflap: \
31280 configure-target-libmudflap
31281 @: $(MAKE); $(unstage)
31282 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31283 r=`${PWD_COMMAND}`; export r; \
31284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31285 $(NORMAL_TARGET_EXPORTS) \
31286 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31287 for flag in $(EXTRA_TARGET_FLAGS); do \
31288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31289 done; \
31290 (cd $(TARGET_SUBDIR)/libmudflap && \
31291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31293 "RANLIB=$${RANLIB}" \
31294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31295 installcheck) \
31296 || exit 1
31298 @endif target-libmudflap
31300 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31301 maybe-mostlyclean-target-libmudflap:
31302 @if target-libmudflap
31303 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31305 mostlyclean-target-libmudflap:
31306 @: $(MAKE); $(unstage)
31307 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31308 r=`${PWD_COMMAND}`; export r; \
31309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31310 $(NORMAL_TARGET_EXPORTS) \
31311 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31312 for flag in $(EXTRA_TARGET_FLAGS); do \
31313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31314 done; \
31315 (cd $(TARGET_SUBDIR)/libmudflap && \
31316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31318 "RANLIB=$${RANLIB}" \
31319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31320 mostlyclean) \
31321 || exit 1
31323 @endif target-libmudflap
31325 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31326 maybe-clean-target-libmudflap:
31327 @if target-libmudflap
31328 maybe-clean-target-libmudflap: clean-target-libmudflap
31330 clean-target-libmudflap:
31331 @: $(MAKE); $(unstage)
31332 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31333 r=`${PWD_COMMAND}`; export r; \
31334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31335 $(NORMAL_TARGET_EXPORTS) \
31336 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31337 for flag in $(EXTRA_TARGET_FLAGS); do \
31338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31339 done; \
31340 (cd $(TARGET_SUBDIR)/libmudflap && \
31341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31343 "RANLIB=$${RANLIB}" \
31344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31345 clean) \
31346 || exit 1
31348 @endif target-libmudflap
31350 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31351 maybe-distclean-target-libmudflap:
31352 @if target-libmudflap
31353 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31355 distclean-target-libmudflap:
31356 @: $(MAKE); $(unstage)
31357 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31358 r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(NORMAL_TARGET_EXPORTS) \
31361 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31362 for flag in $(EXTRA_TARGET_FLAGS); do \
31363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31364 done; \
31365 (cd $(TARGET_SUBDIR)/libmudflap && \
31366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31368 "RANLIB=$${RANLIB}" \
31369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31370 distclean) \
31371 || exit 1
31373 @endif target-libmudflap
31375 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31376 maybe-maintainer-clean-target-libmudflap:
31377 @if target-libmudflap
31378 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31380 maintainer-clean-target-libmudflap:
31381 @: $(MAKE); $(unstage)
31382 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31383 r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(NORMAL_TARGET_EXPORTS) \
31386 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31387 for flag in $(EXTRA_TARGET_FLAGS); do \
31388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31389 done; \
31390 (cd $(TARGET_SUBDIR)/libmudflap && \
31391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31393 "RANLIB=$${RANLIB}" \
31394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31395 maintainer-clean) \
31396 || exit 1
31398 @endif target-libmudflap
31404 .PHONY: configure-target-libssp maybe-configure-target-libssp
31405 maybe-configure-target-libssp:
31406 @if gcc-bootstrap
31407 configure-target-libssp: stage_current
31408 @endif gcc-bootstrap
31409 @if target-libssp
31410 maybe-configure-target-libssp: configure-target-libssp
31411 configure-target-libssp:
31412 @: $(MAKE); $(unstage)
31413 @r=`${PWD_COMMAND}`; export r; \
31414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31415 echo "Checking multilib configuration for libssp..."; \
31416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31417 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31418 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31419 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31420 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31421 else \
31422 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31423 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31424 fi; \
31425 else \
31426 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31427 fi; \
31428 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31429 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31430 $(NORMAL_TARGET_EXPORTS) \
31431 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31432 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31433 case $(srcdir) in \
31434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31435 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31437 esac; \
31438 srcdiroption="--srcdir=$${topdir}/libssp"; \
31439 libsrcdir="$$s/libssp"; \
31440 rm -f no-such-file || : ; \
31441 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31442 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31443 --target=${target_alias} $${srcdiroption} \
31444 || exit 1
31445 @endif target-libssp
31451 .PHONY: all-target-libssp maybe-all-target-libssp
31452 maybe-all-target-libssp:
31453 @if gcc-bootstrap
31454 all-target-libssp: stage_current
31455 @endif gcc-bootstrap
31456 @if target-libssp
31457 TARGET-target-libssp=all
31458 maybe-all-target-libssp: all-target-libssp
31459 all-target-libssp: configure-target-libssp
31460 @: $(MAKE); $(unstage)
31461 @r=`${PWD_COMMAND}`; export r; \
31462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31463 $(NORMAL_TARGET_EXPORTS) \
31464 (cd $(TARGET_SUBDIR)/libssp && \
31465 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31466 $(TARGET-target-libssp))
31467 @endif target-libssp
31473 .PHONY: check-target-libssp maybe-check-target-libssp
31474 maybe-check-target-libssp:
31475 @if target-libssp
31476 maybe-check-target-libssp: check-target-libssp
31478 check-target-libssp:
31479 @: $(MAKE); $(unstage)
31480 @r=`${PWD_COMMAND}`; export r; \
31481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31482 $(NORMAL_TARGET_EXPORTS) \
31483 (cd $(TARGET_SUBDIR)/libssp && \
31484 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31486 @endif target-libssp
31488 .PHONY: install-target-libssp maybe-install-target-libssp
31489 maybe-install-target-libssp:
31490 @if target-libssp
31491 maybe-install-target-libssp: install-target-libssp
31493 install-target-libssp: installdirs
31494 @: $(MAKE); $(unstage)
31495 @r=`${PWD_COMMAND}`; export r; \
31496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31497 $(NORMAL_TARGET_EXPORTS) \
31498 (cd $(TARGET_SUBDIR)/libssp && \
31499 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31501 @endif target-libssp
31503 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31504 maybe-install-strip-target-libssp:
31505 @if target-libssp
31506 maybe-install-strip-target-libssp: install-strip-target-libssp
31508 install-strip-target-libssp: installdirs
31509 @: $(MAKE); $(unstage)
31510 @r=`${PWD_COMMAND}`; export r; \
31511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31512 $(NORMAL_TARGET_EXPORTS) \
31513 (cd $(TARGET_SUBDIR)/libssp && \
31514 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31516 @endif target-libssp
31518 # Other targets (info, dvi, pdf, etc.)
31520 .PHONY: maybe-info-target-libssp info-target-libssp
31521 maybe-info-target-libssp:
31522 @if target-libssp
31523 maybe-info-target-libssp: info-target-libssp
31525 info-target-libssp: \
31526 configure-target-libssp
31527 @: $(MAKE); $(unstage)
31528 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31529 r=`${PWD_COMMAND}`; export r; \
31530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31531 $(NORMAL_TARGET_EXPORTS) \
31532 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31533 for flag in $(EXTRA_TARGET_FLAGS); do \
31534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31535 done; \
31536 (cd $(TARGET_SUBDIR)/libssp && \
31537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31539 "RANLIB=$${RANLIB}" \
31540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31541 info) \
31542 || exit 1
31544 @endif target-libssp
31546 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31547 maybe-dvi-target-libssp:
31548 @if target-libssp
31549 maybe-dvi-target-libssp: dvi-target-libssp
31551 dvi-target-libssp: \
31552 configure-target-libssp
31553 @: $(MAKE); $(unstage)
31554 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31555 r=`${PWD_COMMAND}`; export r; \
31556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31557 $(NORMAL_TARGET_EXPORTS) \
31558 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31559 for flag in $(EXTRA_TARGET_FLAGS); do \
31560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31561 done; \
31562 (cd $(TARGET_SUBDIR)/libssp && \
31563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31565 "RANLIB=$${RANLIB}" \
31566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31567 dvi) \
31568 || exit 1
31570 @endif target-libssp
31572 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31573 maybe-pdf-target-libssp:
31574 @if target-libssp
31575 maybe-pdf-target-libssp: pdf-target-libssp
31577 pdf-target-libssp: \
31578 configure-target-libssp
31579 @: $(MAKE); $(unstage)
31580 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31581 r=`${PWD_COMMAND}`; export r; \
31582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31583 $(NORMAL_TARGET_EXPORTS) \
31584 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31585 for flag in $(EXTRA_TARGET_FLAGS); do \
31586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31587 done; \
31588 (cd $(TARGET_SUBDIR)/libssp && \
31589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31591 "RANLIB=$${RANLIB}" \
31592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31593 pdf) \
31594 || exit 1
31596 @endif target-libssp
31598 .PHONY: maybe-html-target-libssp html-target-libssp
31599 maybe-html-target-libssp:
31600 @if target-libssp
31601 maybe-html-target-libssp: html-target-libssp
31603 html-target-libssp: \
31604 configure-target-libssp
31605 @: $(MAKE); $(unstage)
31606 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31607 r=`${PWD_COMMAND}`; export r; \
31608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31609 $(NORMAL_TARGET_EXPORTS) \
31610 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31611 for flag in $(EXTRA_TARGET_FLAGS); do \
31612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31613 done; \
31614 (cd $(TARGET_SUBDIR)/libssp && \
31615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31617 "RANLIB=$${RANLIB}" \
31618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31619 html) \
31620 || exit 1
31622 @endif target-libssp
31624 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31625 maybe-TAGS-target-libssp:
31626 @if target-libssp
31627 maybe-TAGS-target-libssp: TAGS-target-libssp
31629 TAGS-target-libssp: \
31630 configure-target-libssp
31631 @: $(MAKE); $(unstage)
31632 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31633 r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(NORMAL_TARGET_EXPORTS) \
31636 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31637 for flag in $(EXTRA_TARGET_FLAGS); do \
31638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31639 done; \
31640 (cd $(TARGET_SUBDIR)/libssp && \
31641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31643 "RANLIB=$${RANLIB}" \
31644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31645 TAGS) \
31646 || exit 1
31648 @endif target-libssp
31650 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31651 maybe-install-info-target-libssp:
31652 @if target-libssp
31653 maybe-install-info-target-libssp: install-info-target-libssp
31655 install-info-target-libssp: \
31656 configure-target-libssp \
31657 info-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 install-info 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 install-info) \
31673 || exit 1
31675 @endif target-libssp
31677 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31678 maybe-install-pdf-target-libssp:
31679 @if target-libssp
31680 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31682 install-pdf-target-libssp: \
31683 configure-target-libssp \
31684 pdf-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-pdf 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-pdf) \
31700 || exit 1
31702 @endif target-libssp
31704 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31705 maybe-install-html-target-libssp:
31706 @if target-libssp
31707 maybe-install-html-target-libssp: install-html-target-libssp
31709 install-html-target-libssp: \
31710 configure-target-libssp \
31711 html-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-html 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-html) \
31727 || exit 1
31729 @endif target-libssp
31731 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31732 maybe-installcheck-target-libssp:
31733 @if target-libssp
31734 maybe-installcheck-target-libssp: installcheck-target-libssp
31736 installcheck-target-libssp: \
31737 configure-target-libssp
31738 @: $(MAKE); $(unstage)
31739 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31740 r=`${PWD_COMMAND}`; export r; \
31741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31742 $(NORMAL_TARGET_EXPORTS) \
31743 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31744 for flag in $(EXTRA_TARGET_FLAGS); do \
31745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31746 done; \
31747 (cd $(TARGET_SUBDIR)/libssp && \
31748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31750 "RANLIB=$${RANLIB}" \
31751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31752 installcheck) \
31753 || exit 1
31755 @endif target-libssp
31757 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31758 maybe-mostlyclean-target-libssp:
31759 @if target-libssp
31760 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31762 mostlyclean-target-libssp:
31763 @: $(MAKE); $(unstage)
31764 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31765 r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(NORMAL_TARGET_EXPORTS) \
31768 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31769 for flag in $(EXTRA_TARGET_FLAGS); do \
31770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31771 done; \
31772 (cd $(TARGET_SUBDIR)/libssp && \
31773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31775 "RANLIB=$${RANLIB}" \
31776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31777 mostlyclean) \
31778 || exit 1
31780 @endif target-libssp
31782 .PHONY: maybe-clean-target-libssp clean-target-libssp
31783 maybe-clean-target-libssp:
31784 @if target-libssp
31785 maybe-clean-target-libssp: clean-target-libssp
31787 clean-target-libssp:
31788 @: $(MAKE); $(unstage)
31789 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31790 r=`${PWD_COMMAND}`; export r; \
31791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31792 $(NORMAL_TARGET_EXPORTS) \
31793 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31794 for flag in $(EXTRA_TARGET_FLAGS); do \
31795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31796 done; \
31797 (cd $(TARGET_SUBDIR)/libssp && \
31798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31800 "RANLIB=$${RANLIB}" \
31801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31802 clean) \
31803 || exit 1
31805 @endif target-libssp
31807 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31808 maybe-distclean-target-libssp:
31809 @if target-libssp
31810 maybe-distclean-target-libssp: distclean-target-libssp
31812 distclean-target-libssp:
31813 @: $(MAKE); $(unstage)
31814 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31815 r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(NORMAL_TARGET_EXPORTS) \
31818 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31819 for flag in $(EXTRA_TARGET_FLAGS); do \
31820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31821 done; \
31822 (cd $(TARGET_SUBDIR)/libssp && \
31823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31825 "RANLIB=$${RANLIB}" \
31826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31827 distclean) \
31828 || exit 1
31830 @endif target-libssp
31832 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31833 maybe-maintainer-clean-target-libssp:
31834 @if target-libssp
31835 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31837 maintainer-clean-target-libssp:
31838 @: $(MAKE); $(unstage)
31839 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31840 r=`${PWD_COMMAND}`; export r; \
31841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31842 $(NORMAL_TARGET_EXPORTS) \
31843 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31844 for flag in $(EXTRA_TARGET_FLAGS); do \
31845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31846 done; \
31847 (cd $(TARGET_SUBDIR)/libssp && \
31848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31850 "RANLIB=$${RANLIB}" \
31851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31852 maintainer-clean) \
31853 || exit 1
31855 @endif target-libssp
31861 .PHONY: configure-target-newlib maybe-configure-target-newlib
31862 maybe-configure-target-newlib:
31863 @if gcc-bootstrap
31864 configure-target-newlib: stage_current
31865 @endif gcc-bootstrap
31866 @if target-newlib
31867 maybe-configure-target-newlib: configure-target-newlib
31868 configure-target-newlib:
31869 @: $(MAKE); $(unstage)
31870 @r=`${PWD_COMMAND}`; export r; \
31871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31872 echo "Checking multilib configuration for newlib..."; \
31873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31875 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31876 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31877 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31878 else \
31879 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31880 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31881 fi; \
31882 else \
31883 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31884 fi; \
31885 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31887 $(NORMAL_TARGET_EXPORTS) \
31888 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31889 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31890 case $(srcdir) in \
31891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31892 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31894 esac; \
31895 srcdiroption="--srcdir=$${topdir}/newlib"; \
31896 libsrcdir="$$s/newlib"; \
31897 rm -f no-such-file || : ; \
31898 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31899 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31900 --target=${target_alias} $${srcdiroption} \
31901 || exit 1
31902 @endif target-newlib
31908 .PHONY: all-target-newlib maybe-all-target-newlib
31909 maybe-all-target-newlib:
31910 @if gcc-bootstrap
31911 all-target-newlib: stage_current
31912 @endif gcc-bootstrap
31913 @if target-newlib
31914 TARGET-target-newlib=all
31915 maybe-all-target-newlib: all-target-newlib
31916 all-target-newlib: configure-target-newlib
31917 @: $(MAKE); $(unstage)
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 $(NORMAL_TARGET_EXPORTS) \
31921 (cd $(TARGET_SUBDIR)/newlib && \
31922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31923 $(TARGET-target-newlib))
31924 @endif target-newlib
31930 .PHONY: check-target-newlib maybe-check-target-newlib
31931 maybe-check-target-newlib:
31932 @if target-newlib
31933 maybe-check-target-newlib: check-target-newlib
31935 check-target-newlib:
31936 @: $(MAKE); $(unstage)
31937 @r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(NORMAL_TARGET_EXPORTS) \
31940 (cd $(TARGET_SUBDIR)/newlib && \
31941 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31943 @endif target-newlib
31945 .PHONY: install-target-newlib maybe-install-target-newlib
31946 maybe-install-target-newlib:
31947 @if target-newlib
31948 maybe-install-target-newlib: install-target-newlib
31950 install-target-newlib: installdirs
31951 @: $(MAKE); $(unstage)
31952 @r=`${PWD_COMMAND}`; export r; \
31953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31954 $(NORMAL_TARGET_EXPORTS) \
31955 (cd $(TARGET_SUBDIR)/newlib && \
31956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31958 @endif target-newlib
31960 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31961 maybe-install-strip-target-newlib:
31962 @if target-newlib
31963 maybe-install-strip-target-newlib: install-strip-target-newlib
31965 install-strip-target-newlib: installdirs
31966 @: $(MAKE); $(unstage)
31967 @r=`${PWD_COMMAND}`; export r; \
31968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31969 $(NORMAL_TARGET_EXPORTS) \
31970 (cd $(TARGET_SUBDIR)/newlib && \
31971 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31973 @endif target-newlib
31975 # Other targets (info, dvi, pdf, etc.)
31977 .PHONY: maybe-info-target-newlib info-target-newlib
31978 maybe-info-target-newlib:
31979 @if target-newlib
31980 maybe-info-target-newlib: info-target-newlib
31982 info-target-newlib: \
31983 configure-target-newlib
31984 @: $(MAKE); $(unstage)
31985 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(NORMAL_TARGET_EXPORTS) \
31989 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
31990 for flag in $(EXTRA_TARGET_FLAGS); do \
31991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31992 done; \
31993 (cd $(TARGET_SUBDIR)/newlib && \
31994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31996 "RANLIB=$${RANLIB}" \
31997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31998 info) \
31999 || exit 1
32001 @endif target-newlib
32003 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32004 maybe-dvi-target-newlib:
32005 @if target-newlib
32006 maybe-dvi-target-newlib: dvi-target-newlib
32008 dvi-target-newlib: \
32009 configure-target-newlib
32010 @: $(MAKE); $(unstage)
32011 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32012 r=`${PWD_COMMAND}`; export r; \
32013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32014 $(NORMAL_TARGET_EXPORTS) \
32015 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32016 for flag in $(EXTRA_TARGET_FLAGS); do \
32017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32018 done; \
32019 (cd $(TARGET_SUBDIR)/newlib && \
32020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32022 "RANLIB=$${RANLIB}" \
32023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32024 dvi) \
32025 || exit 1
32027 @endif target-newlib
32029 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32030 maybe-pdf-target-newlib:
32031 @if target-newlib
32032 maybe-pdf-target-newlib: pdf-target-newlib
32034 pdf-target-newlib: \
32035 configure-target-newlib
32036 @: $(MAKE); $(unstage)
32037 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32038 r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(NORMAL_TARGET_EXPORTS) \
32041 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32042 for flag in $(EXTRA_TARGET_FLAGS); do \
32043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32044 done; \
32045 (cd $(TARGET_SUBDIR)/newlib && \
32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32048 "RANLIB=$${RANLIB}" \
32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32050 pdf) \
32051 || exit 1
32053 @endif target-newlib
32055 .PHONY: maybe-html-target-newlib html-target-newlib
32056 maybe-html-target-newlib:
32057 @if target-newlib
32058 maybe-html-target-newlib: html-target-newlib
32060 html-target-newlib: \
32061 configure-target-newlib
32062 @: $(MAKE); $(unstage)
32063 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32064 r=`${PWD_COMMAND}`; export r; \
32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32066 $(NORMAL_TARGET_EXPORTS) \
32067 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32068 for flag in $(EXTRA_TARGET_FLAGS); do \
32069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32070 done; \
32071 (cd $(TARGET_SUBDIR)/newlib && \
32072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32074 "RANLIB=$${RANLIB}" \
32075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32076 html) \
32077 || exit 1
32079 @endif target-newlib
32081 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32082 maybe-TAGS-target-newlib:
32083 @if target-newlib
32084 maybe-TAGS-target-newlib: TAGS-target-newlib
32086 TAGS-target-newlib: \
32087 configure-target-newlib
32088 @: $(MAKE); $(unstage)
32089 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32090 r=`${PWD_COMMAND}`; export r; \
32091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32092 $(NORMAL_TARGET_EXPORTS) \
32093 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32094 for flag in $(EXTRA_TARGET_FLAGS); do \
32095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32096 done; \
32097 (cd $(TARGET_SUBDIR)/newlib && \
32098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32100 "RANLIB=$${RANLIB}" \
32101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32102 TAGS) \
32103 || exit 1
32105 @endif target-newlib
32107 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32108 maybe-install-info-target-newlib:
32109 @if target-newlib
32110 maybe-install-info-target-newlib: install-info-target-newlib
32112 install-info-target-newlib: \
32113 configure-target-newlib \
32114 info-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 install-info 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 install-info) \
32130 || exit 1
32132 @endif target-newlib
32134 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32135 maybe-install-pdf-target-newlib:
32136 @if target-newlib
32137 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32139 install-pdf-target-newlib: \
32140 configure-target-newlib \
32141 pdf-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-pdf 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-pdf) \
32157 || exit 1
32159 @endif target-newlib
32161 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32162 maybe-install-html-target-newlib:
32163 @if target-newlib
32164 maybe-install-html-target-newlib: install-html-target-newlib
32166 install-html-target-newlib: \
32167 configure-target-newlib \
32168 html-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-html 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-html) \
32184 || exit 1
32186 @endif target-newlib
32188 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32189 maybe-installcheck-target-newlib:
32190 @if target-newlib
32191 maybe-installcheck-target-newlib: installcheck-target-newlib
32193 installcheck-target-newlib: \
32194 configure-target-newlib
32195 @: $(MAKE); $(unstage)
32196 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32197 r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 $(NORMAL_TARGET_EXPORTS) \
32200 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32201 for flag in $(EXTRA_TARGET_FLAGS); do \
32202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32203 done; \
32204 (cd $(TARGET_SUBDIR)/newlib && \
32205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32207 "RANLIB=$${RANLIB}" \
32208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32209 installcheck) \
32210 || exit 1
32212 @endif target-newlib
32214 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32215 maybe-mostlyclean-target-newlib:
32216 @if target-newlib
32217 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32219 mostlyclean-target-newlib:
32220 @: $(MAKE); $(unstage)
32221 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32222 r=`${PWD_COMMAND}`; export r; \
32223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32224 $(NORMAL_TARGET_EXPORTS) \
32225 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32226 for flag in $(EXTRA_TARGET_FLAGS); do \
32227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32228 done; \
32229 (cd $(TARGET_SUBDIR)/newlib && \
32230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32232 "RANLIB=$${RANLIB}" \
32233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32234 mostlyclean) \
32235 || exit 1
32237 @endif target-newlib
32239 .PHONY: maybe-clean-target-newlib clean-target-newlib
32240 maybe-clean-target-newlib:
32241 @if target-newlib
32242 maybe-clean-target-newlib: clean-target-newlib
32244 clean-target-newlib:
32245 @: $(MAKE); $(unstage)
32246 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32247 r=`${PWD_COMMAND}`; export r; \
32248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32249 $(NORMAL_TARGET_EXPORTS) \
32250 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32251 for flag in $(EXTRA_TARGET_FLAGS); do \
32252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32253 done; \
32254 (cd $(TARGET_SUBDIR)/newlib && \
32255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32257 "RANLIB=$${RANLIB}" \
32258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32259 clean) \
32260 || exit 1
32262 @endif target-newlib
32264 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32265 maybe-distclean-target-newlib:
32266 @if target-newlib
32267 maybe-distclean-target-newlib: distclean-target-newlib
32269 distclean-target-newlib:
32270 @: $(MAKE); $(unstage)
32271 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32272 r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 $(NORMAL_TARGET_EXPORTS) \
32275 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32276 for flag in $(EXTRA_TARGET_FLAGS); do \
32277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32278 done; \
32279 (cd $(TARGET_SUBDIR)/newlib && \
32280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32282 "RANLIB=$${RANLIB}" \
32283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32284 distclean) \
32285 || exit 1
32287 @endif target-newlib
32289 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32290 maybe-maintainer-clean-target-newlib:
32291 @if target-newlib
32292 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32294 maintainer-clean-target-newlib:
32295 @: $(MAKE); $(unstage)
32296 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32297 r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(NORMAL_TARGET_EXPORTS) \
32300 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32301 for flag in $(EXTRA_TARGET_FLAGS); do \
32302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32303 done; \
32304 (cd $(TARGET_SUBDIR)/newlib && \
32305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32307 "RANLIB=$${RANLIB}" \
32308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32309 maintainer-clean) \
32310 || exit 1
32312 @endif target-newlib
32318 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32319 maybe-configure-target-libgcc:
32320 @if gcc-bootstrap
32321 configure-target-libgcc: stage_current
32322 @endif gcc-bootstrap
32323 @if target-libgcc
32324 maybe-configure-target-libgcc: configure-target-libgcc
32325 configure-target-libgcc:
32326 @r=`${PWD_COMMAND}`; export r; \
32327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32328 echo "Checking multilib configuration for libgcc..."; \
32329 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32330 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32331 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32332 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32333 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32334 else \
32335 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32336 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32337 fi; \
32338 else \
32339 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32340 fi; \
32341 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32343 $(NORMAL_TARGET_EXPORTS) \
32344 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32345 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32346 case $(srcdir) in \
32347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32348 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32350 esac; \
32351 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32352 libsrcdir="$$s/libgcc"; \
32353 rm -f no-such-file || : ; \
32354 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32356 --target=${target_alias} $${srcdiroption} \
32357 || exit 1
32358 @endif target-libgcc
32362 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32363 maybe-configure-stage1-target-libgcc:
32364 @if target-libgcc-bootstrap
32365 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32366 configure-stage1-target-libgcc:
32367 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32369 @r=`${PWD_COMMAND}`; export r; \
32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32371 TFLAGS="$(STAGE1_TFLAGS)"; \
32372 echo "Checking multilib configuration for libgcc..."; \
32373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32374 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32375 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32376 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32377 else \
32378 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32379 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32380 fi; \
32381 else \
32382 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32383 fi; \
32384 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32385 $(NORMAL_TARGET_EXPORTS) \
32386 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32387 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32388 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32389 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32391 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32392 case $(srcdir) in \
32393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32394 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32396 esac; \
32397 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32398 libsrcdir="$$s/libgcc"; \
32399 $(SHELL) $${libsrcdir}/configure \
32400 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32401 --target=${target_alias} $${srcdiroption} \
32402 $(STAGE1_CONFIGURE_FLAGS)
32403 @endif target-libgcc-bootstrap
32405 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32406 maybe-configure-stage2-target-libgcc:
32407 @if target-libgcc-bootstrap
32408 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32409 configure-stage2-target-libgcc:
32410 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32411 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32412 @r=`${PWD_COMMAND}`; export r; \
32413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32414 TFLAGS="$(STAGE2_TFLAGS)"; \
32415 echo "Checking multilib configuration for libgcc..."; \
32416 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32417 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32418 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32419 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32420 else \
32421 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32422 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32423 fi; \
32424 else \
32425 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32426 fi; \
32427 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32428 $(NORMAL_TARGET_EXPORTS) \
32430 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32431 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32432 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32433 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32435 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32436 case $(srcdir) in \
32437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32438 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32440 esac; \
32441 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32442 libsrcdir="$$s/libgcc"; \
32443 $(SHELL) $${libsrcdir}/configure \
32444 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32445 --target=${target_alias} $${srcdiroption} \
32446 --with-build-libsubdir=$(HOST_SUBDIR) \
32447 $(STAGE2_CONFIGURE_FLAGS)
32448 @endif target-libgcc-bootstrap
32450 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32451 maybe-configure-stage3-target-libgcc:
32452 @if target-libgcc-bootstrap
32453 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32454 configure-stage3-target-libgcc:
32455 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32456 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32457 @r=`${PWD_COMMAND}`; export r; \
32458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32459 TFLAGS="$(STAGE3_TFLAGS)"; \
32460 echo "Checking multilib configuration for libgcc..."; \
32461 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32462 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32463 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32464 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32465 else \
32466 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32467 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32468 fi; \
32469 else \
32470 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32471 fi; \
32472 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32473 $(NORMAL_TARGET_EXPORTS) \
32475 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32476 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32477 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32478 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32480 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32481 case $(srcdir) in \
32482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32483 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32485 esac; \
32486 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32487 libsrcdir="$$s/libgcc"; \
32488 $(SHELL) $${libsrcdir}/configure \
32489 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32490 --target=${target_alias} $${srcdiroption} \
32491 --with-build-libsubdir=$(HOST_SUBDIR) \
32492 $(STAGE3_CONFIGURE_FLAGS)
32493 @endif target-libgcc-bootstrap
32495 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32496 maybe-configure-stage4-target-libgcc:
32497 @if target-libgcc-bootstrap
32498 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32499 configure-stage4-target-libgcc:
32500 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32501 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32502 @r=`${PWD_COMMAND}`; export r; \
32503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32504 TFLAGS="$(STAGE4_TFLAGS)"; \
32505 echo "Checking multilib configuration for libgcc..."; \
32506 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32507 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32508 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32509 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32510 else \
32511 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32512 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32513 fi; \
32514 else \
32515 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32516 fi; \
32517 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32518 $(NORMAL_TARGET_EXPORTS) \
32520 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32521 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32522 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32523 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32525 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32526 case $(srcdir) in \
32527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32528 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32530 esac; \
32531 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32532 libsrcdir="$$s/libgcc"; \
32533 $(SHELL) $${libsrcdir}/configure \
32534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32535 --target=${target_alias} $${srcdiroption} \
32536 --with-build-libsubdir=$(HOST_SUBDIR) \
32537 $(STAGE4_CONFIGURE_FLAGS)
32538 @endif target-libgcc-bootstrap
32540 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32541 maybe-configure-stageprofile-target-libgcc:
32542 @if target-libgcc-bootstrap
32543 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32544 configure-stageprofile-target-libgcc:
32545 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32546 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32547 @r=`${PWD_COMMAND}`; export r; \
32548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32549 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32550 echo "Checking multilib configuration for libgcc..."; \
32551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32552 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32553 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32554 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32555 else \
32556 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32557 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32558 fi; \
32559 else \
32560 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32561 fi; \
32562 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32563 $(NORMAL_TARGET_EXPORTS) \
32565 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32566 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32567 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32568 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32569 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32570 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32571 case $(srcdir) in \
32572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32573 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32575 esac; \
32576 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32577 libsrcdir="$$s/libgcc"; \
32578 $(SHELL) $${libsrcdir}/configure \
32579 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32580 --target=${target_alias} $${srcdiroption} \
32581 --with-build-libsubdir=$(HOST_SUBDIR) \
32582 $(STAGEprofile_CONFIGURE_FLAGS)
32583 @endif target-libgcc-bootstrap
32585 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32586 maybe-configure-stagefeedback-target-libgcc:
32587 @if target-libgcc-bootstrap
32588 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32589 configure-stagefeedback-target-libgcc:
32590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32591 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32592 @r=`${PWD_COMMAND}`; export r; \
32593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32594 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32595 echo "Checking multilib configuration for libgcc..."; \
32596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32597 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32598 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32599 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32600 else \
32601 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32602 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32603 fi; \
32604 else \
32605 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32606 fi; \
32607 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32608 $(NORMAL_TARGET_EXPORTS) \
32610 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32613 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32615 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32616 case $(srcdir) in \
32617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32618 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32620 esac; \
32621 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32622 libsrcdir="$$s/libgcc"; \
32623 $(SHELL) $${libsrcdir}/configure \
32624 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32625 --target=${target_alias} $${srcdiroption} \
32626 --with-build-libsubdir=$(HOST_SUBDIR) \
32627 $(STAGEfeedback_CONFIGURE_FLAGS)
32628 @endif target-libgcc-bootstrap
32634 .PHONY: all-target-libgcc maybe-all-target-libgcc
32635 maybe-all-target-libgcc:
32636 @if gcc-bootstrap
32637 all-target-libgcc: stage_current
32638 @endif gcc-bootstrap
32639 @if target-libgcc
32640 TARGET-target-libgcc=all
32641 maybe-all-target-libgcc: all-target-libgcc
32642 all-target-libgcc: configure-target-libgcc
32643 @r=`${PWD_COMMAND}`; export r; \
32644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32645 $(NORMAL_TARGET_EXPORTS) \
32646 (cd $(TARGET_SUBDIR)/libgcc && \
32647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32648 $(TARGET-target-libgcc))
32649 @endif target-libgcc
32653 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32654 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32655 maybe-all-stage1-target-libgcc:
32656 maybe-clean-stage1-target-libgcc:
32657 @if target-libgcc-bootstrap
32658 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32659 all-stage1: all-stage1-target-libgcc
32660 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32661 all-stage1-target-libgcc: configure-stage1-target-libgcc
32662 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32663 @r=`${PWD_COMMAND}`; export r; \
32664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32665 TFLAGS="$(STAGE1_TFLAGS)"; \
32666 $(NORMAL_TARGET_EXPORTS) \
32667 cd $(TARGET_SUBDIR)/libgcc && \
32668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32669 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32670 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32671 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32675 $(EXTRA_TARGET_FLAGS) \
32676 TFLAGS="$(STAGE1_TFLAGS)" \
32677 $(TARGET-stage1-target-libgcc)
32679 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32680 clean-stage1: clean-stage1-target-libgcc
32681 clean-stage1-target-libgcc:
32682 @if [ $(current_stage) = stage1 ]; then \
32683 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32684 else \
32685 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32686 $(MAKE) stage1-start; \
32687 fi; \
32688 cd $(TARGET_SUBDIR)/libgcc && \
32689 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32690 clean
32691 @endif target-libgcc-bootstrap
32694 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32695 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32696 maybe-all-stage2-target-libgcc:
32697 maybe-clean-stage2-target-libgcc:
32698 @if target-libgcc-bootstrap
32699 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32700 all-stage2: all-stage2-target-libgcc
32701 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32702 all-stage2-target-libgcc: configure-stage2-target-libgcc
32703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32704 @r=`${PWD_COMMAND}`; export r; \
32705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32706 TFLAGS="$(STAGE2_TFLAGS)"; \
32707 $(NORMAL_TARGET_EXPORTS) \
32709 cd $(TARGET_SUBDIR)/libgcc && \
32710 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32711 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32712 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32713 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32717 $(EXTRA_TARGET_FLAGS) \
32718 TFLAGS="$(STAGE2_TFLAGS)" \
32719 $(TARGET-stage2-target-libgcc)
32721 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32722 clean-stage2: clean-stage2-target-libgcc
32723 clean-stage2-target-libgcc:
32724 @if [ $(current_stage) = stage2 ]; then \
32725 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32726 else \
32727 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32728 $(MAKE) stage2-start; \
32729 fi; \
32730 cd $(TARGET_SUBDIR)/libgcc && \
32731 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32733 clean
32734 @endif target-libgcc-bootstrap
32737 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32738 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32739 maybe-all-stage3-target-libgcc:
32740 maybe-clean-stage3-target-libgcc:
32741 @if target-libgcc-bootstrap
32742 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32743 all-stage3: all-stage3-target-libgcc
32744 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32745 all-stage3-target-libgcc: configure-stage3-target-libgcc
32746 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32747 @r=`${PWD_COMMAND}`; export r; \
32748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32749 TFLAGS="$(STAGE3_TFLAGS)"; \
32750 $(NORMAL_TARGET_EXPORTS) \
32752 cd $(TARGET_SUBDIR)/libgcc && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32754 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32755 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32756 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32757 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32758 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32759 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32760 $(EXTRA_TARGET_FLAGS) \
32761 TFLAGS="$(STAGE3_TFLAGS)" \
32762 $(TARGET-stage3-target-libgcc)
32764 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32765 clean-stage3: clean-stage3-target-libgcc
32766 clean-stage3-target-libgcc:
32767 @if [ $(current_stage) = stage3 ]; then \
32768 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32769 else \
32770 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32771 $(MAKE) stage3-start; \
32772 fi; \
32773 cd $(TARGET_SUBDIR)/libgcc && \
32774 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32776 clean
32777 @endif target-libgcc-bootstrap
32780 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32781 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32782 maybe-all-stage4-target-libgcc:
32783 maybe-clean-stage4-target-libgcc:
32784 @if target-libgcc-bootstrap
32785 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32786 all-stage4: all-stage4-target-libgcc
32787 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32788 all-stage4-target-libgcc: configure-stage4-target-libgcc
32789 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32790 @r=`${PWD_COMMAND}`; export r; \
32791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32792 TFLAGS="$(STAGE4_TFLAGS)"; \
32793 $(NORMAL_TARGET_EXPORTS) \
32795 cd $(TARGET_SUBDIR)/libgcc && \
32796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32797 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32803 $(EXTRA_TARGET_FLAGS) \
32804 TFLAGS="$(STAGE4_TFLAGS)" \
32805 $(TARGET-stage4-target-libgcc)
32807 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32808 clean-stage4: clean-stage4-target-libgcc
32809 clean-stage4-target-libgcc:
32810 @if [ $(current_stage) = stage4 ]; then \
32811 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32812 else \
32813 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32814 $(MAKE) stage4-start; \
32815 fi; \
32816 cd $(TARGET_SUBDIR)/libgcc && \
32817 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32819 clean
32820 @endif target-libgcc-bootstrap
32823 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32824 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32825 maybe-all-stageprofile-target-libgcc:
32826 maybe-clean-stageprofile-target-libgcc:
32827 @if target-libgcc-bootstrap
32828 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32829 all-stageprofile: all-stageprofile-target-libgcc
32830 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32831 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32832 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32833 @r=`${PWD_COMMAND}`; export r; \
32834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32835 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32836 $(NORMAL_TARGET_EXPORTS) \
32838 cd $(TARGET_SUBDIR)/libgcc && \
32839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32840 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32841 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32842 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32846 $(EXTRA_TARGET_FLAGS) \
32847 TFLAGS="$(STAGEprofile_TFLAGS)" \
32848 $(TARGET-stageprofile-target-libgcc)
32850 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32851 clean-stageprofile: clean-stageprofile-target-libgcc
32852 clean-stageprofile-target-libgcc:
32853 @if [ $(current_stage) = stageprofile ]; then \
32854 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32855 else \
32856 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32857 $(MAKE) stageprofile-start; \
32858 fi; \
32859 cd $(TARGET_SUBDIR)/libgcc && \
32860 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32862 clean
32863 @endif target-libgcc-bootstrap
32866 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32867 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32868 maybe-all-stagefeedback-target-libgcc:
32869 maybe-clean-stagefeedback-target-libgcc:
32870 @if target-libgcc-bootstrap
32871 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32872 all-stagefeedback: all-stagefeedback-target-libgcc
32873 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32874 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32875 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32876 @r=`${PWD_COMMAND}`; export r; \
32877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32879 $(NORMAL_TARGET_EXPORTS) \
32881 cd $(TARGET_SUBDIR)/libgcc && \
32882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32883 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32884 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32885 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32889 $(EXTRA_TARGET_FLAGS) \
32890 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32891 $(TARGET-stagefeedback-target-libgcc)
32893 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32894 clean-stagefeedback: clean-stagefeedback-target-libgcc
32895 clean-stagefeedback-target-libgcc:
32896 @if [ $(current_stage) = stagefeedback ]; then \
32897 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32898 else \
32899 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32900 $(MAKE) stagefeedback-start; \
32901 fi; \
32902 cd $(TARGET_SUBDIR)/libgcc && \
32903 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32905 clean
32906 @endif target-libgcc-bootstrap
32913 .PHONY: check-target-libgcc maybe-check-target-libgcc
32914 maybe-check-target-libgcc:
32915 @if target-libgcc
32916 maybe-check-target-libgcc: check-target-libgcc
32918 # Dummy target for uncheckable module.
32919 check-target-libgcc:
32921 @endif target-libgcc
32923 .PHONY: install-target-libgcc maybe-install-target-libgcc
32924 maybe-install-target-libgcc:
32925 @if target-libgcc
32926 maybe-install-target-libgcc: install-target-libgcc
32928 install-target-libgcc: installdirs
32929 @: $(MAKE); $(unstage)
32930 @r=`${PWD_COMMAND}`; export r; \
32931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32932 $(NORMAL_TARGET_EXPORTS) \
32933 (cd $(TARGET_SUBDIR)/libgcc && \
32934 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32936 @endif target-libgcc
32938 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32939 maybe-install-strip-target-libgcc:
32940 @if target-libgcc
32941 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32943 install-strip-target-libgcc: installdirs
32944 @: $(MAKE); $(unstage)
32945 @r=`${PWD_COMMAND}`; export r; \
32946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32947 $(NORMAL_TARGET_EXPORTS) \
32948 (cd $(TARGET_SUBDIR)/libgcc && \
32949 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32951 @endif target-libgcc
32953 # Other targets (info, dvi, pdf, etc.)
32955 .PHONY: maybe-info-target-libgcc info-target-libgcc
32956 maybe-info-target-libgcc:
32957 @if target-libgcc
32958 maybe-info-target-libgcc: info-target-libgcc
32960 info-target-libgcc: \
32961 configure-target-libgcc
32962 @: $(MAKE); $(unstage)
32963 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32964 r=`${PWD_COMMAND}`; export r; \
32965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32966 $(NORMAL_TARGET_EXPORTS) \
32967 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32968 for flag in $(EXTRA_TARGET_FLAGS); do \
32969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32970 done; \
32971 (cd $(TARGET_SUBDIR)/libgcc && \
32972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32974 "RANLIB=$${RANLIB}" \
32975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32976 info) \
32977 || exit 1
32979 @endif target-libgcc
32981 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
32982 maybe-dvi-target-libgcc:
32983 @if target-libgcc
32984 maybe-dvi-target-libgcc: dvi-target-libgcc
32986 dvi-target-libgcc: \
32987 configure-target-libgcc
32988 @: $(MAKE); $(unstage)
32989 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32990 r=`${PWD_COMMAND}`; export r; \
32991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32992 $(NORMAL_TARGET_EXPORTS) \
32993 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
32994 for flag in $(EXTRA_TARGET_FLAGS); do \
32995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32996 done; \
32997 (cd $(TARGET_SUBDIR)/libgcc && \
32998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33000 "RANLIB=$${RANLIB}" \
33001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33002 dvi) \
33003 || exit 1
33005 @endif target-libgcc
33007 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33008 maybe-pdf-target-libgcc:
33009 @if target-libgcc
33010 maybe-pdf-target-libgcc: pdf-target-libgcc
33012 pdf-target-libgcc: \
33013 configure-target-libgcc
33014 @: $(MAKE); $(unstage)
33015 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33016 r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(NORMAL_TARGET_EXPORTS) \
33019 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33020 for flag in $(EXTRA_TARGET_FLAGS); do \
33021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33022 done; \
33023 (cd $(TARGET_SUBDIR)/libgcc && \
33024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33026 "RANLIB=$${RANLIB}" \
33027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33028 pdf) \
33029 || exit 1
33031 @endif target-libgcc
33033 .PHONY: maybe-html-target-libgcc html-target-libgcc
33034 maybe-html-target-libgcc:
33035 @if target-libgcc
33036 maybe-html-target-libgcc: html-target-libgcc
33038 html-target-libgcc: \
33039 configure-target-libgcc
33040 @: $(MAKE); $(unstage)
33041 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33042 r=`${PWD_COMMAND}`; export r; \
33043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33044 $(NORMAL_TARGET_EXPORTS) \
33045 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33046 for flag in $(EXTRA_TARGET_FLAGS); do \
33047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33048 done; \
33049 (cd $(TARGET_SUBDIR)/libgcc && \
33050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33052 "RANLIB=$${RANLIB}" \
33053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33054 html) \
33055 || exit 1
33057 @endif target-libgcc
33059 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33060 maybe-TAGS-target-libgcc:
33061 @if target-libgcc
33062 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33064 TAGS-target-libgcc: \
33065 configure-target-libgcc
33066 @: $(MAKE); $(unstage)
33067 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33068 r=`${PWD_COMMAND}`; export r; \
33069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33070 $(NORMAL_TARGET_EXPORTS) \
33071 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33072 for flag in $(EXTRA_TARGET_FLAGS); do \
33073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33074 done; \
33075 (cd $(TARGET_SUBDIR)/libgcc && \
33076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33078 "RANLIB=$${RANLIB}" \
33079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33080 TAGS) \
33081 || exit 1
33083 @endif target-libgcc
33085 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33086 maybe-install-info-target-libgcc:
33087 @if target-libgcc
33088 maybe-install-info-target-libgcc: install-info-target-libgcc
33090 install-info-target-libgcc: \
33091 configure-target-libgcc \
33092 info-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 install-info 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 install-info) \
33108 || exit 1
33110 @endif target-libgcc
33112 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33113 maybe-install-pdf-target-libgcc:
33114 @if target-libgcc
33115 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33117 install-pdf-target-libgcc: \
33118 configure-target-libgcc \
33119 pdf-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-pdf 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-pdf) \
33135 || exit 1
33137 @endif target-libgcc
33139 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33140 maybe-install-html-target-libgcc:
33141 @if target-libgcc
33142 maybe-install-html-target-libgcc: install-html-target-libgcc
33144 install-html-target-libgcc: \
33145 configure-target-libgcc \
33146 html-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-html 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-html) \
33162 || exit 1
33164 @endif target-libgcc
33166 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33167 maybe-installcheck-target-libgcc:
33168 @if target-libgcc
33169 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33171 installcheck-target-libgcc: \
33172 configure-target-libgcc
33173 @: $(MAKE); $(unstage)
33174 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33175 r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 $(NORMAL_TARGET_EXPORTS) \
33178 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33179 for flag in $(EXTRA_TARGET_FLAGS); do \
33180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33181 done; \
33182 (cd $(TARGET_SUBDIR)/libgcc && \
33183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33185 "RANLIB=$${RANLIB}" \
33186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33187 installcheck) \
33188 || exit 1
33190 @endif target-libgcc
33192 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33193 maybe-mostlyclean-target-libgcc:
33194 @if target-libgcc
33195 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33197 mostlyclean-target-libgcc:
33198 @: $(MAKE); $(unstage)
33199 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33200 r=`${PWD_COMMAND}`; export r; \
33201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33202 $(NORMAL_TARGET_EXPORTS) \
33203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33204 for flag in $(EXTRA_TARGET_FLAGS); do \
33205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33206 done; \
33207 (cd $(TARGET_SUBDIR)/libgcc && \
33208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33210 "RANLIB=$${RANLIB}" \
33211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33212 mostlyclean) \
33213 || exit 1
33215 @endif target-libgcc
33217 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33218 maybe-clean-target-libgcc:
33219 @if target-libgcc
33220 maybe-clean-target-libgcc: clean-target-libgcc
33222 clean-target-libgcc:
33223 @: $(MAKE); $(unstage)
33224 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33225 r=`${PWD_COMMAND}`; export r; \
33226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33227 $(NORMAL_TARGET_EXPORTS) \
33228 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33229 for flag in $(EXTRA_TARGET_FLAGS); do \
33230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33231 done; \
33232 (cd $(TARGET_SUBDIR)/libgcc && \
33233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33235 "RANLIB=$${RANLIB}" \
33236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33237 clean) \
33238 || exit 1
33240 @endif target-libgcc
33242 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33243 maybe-distclean-target-libgcc:
33244 @if target-libgcc
33245 maybe-distclean-target-libgcc: distclean-target-libgcc
33247 distclean-target-libgcc:
33248 @: $(MAKE); $(unstage)
33249 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(NORMAL_TARGET_EXPORTS) \
33253 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33254 for flag in $(EXTRA_TARGET_FLAGS); do \
33255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33256 done; \
33257 (cd $(TARGET_SUBDIR)/libgcc && \
33258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33260 "RANLIB=$${RANLIB}" \
33261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33262 distclean) \
33263 || exit 1
33265 @endif target-libgcc
33267 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33268 maybe-maintainer-clean-target-libgcc:
33269 @if target-libgcc
33270 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33272 maintainer-clean-target-libgcc:
33273 @: $(MAKE); $(unstage)
33274 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33275 r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(NORMAL_TARGET_EXPORTS) \
33278 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33279 for flag in $(EXTRA_TARGET_FLAGS); do \
33280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33281 done; \
33282 (cd $(TARGET_SUBDIR)/libgcc && \
33283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33285 "RANLIB=$${RANLIB}" \
33286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33287 maintainer-clean) \
33288 || exit 1
33290 @endif target-libgcc
33296 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33297 maybe-configure-target-libquadmath:
33298 @if gcc-bootstrap
33299 configure-target-libquadmath: stage_current
33300 @endif gcc-bootstrap
33301 @if target-libquadmath
33302 maybe-configure-target-libquadmath: configure-target-libquadmath
33303 configure-target-libquadmath:
33304 @: $(MAKE); $(unstage)
33305 @r=`${PWD_COMMAND}`; export r; \
33306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33307 echo "Checking multilib configuration for libquadmath..."; \
33308 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33310 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33311 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33312 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33313 else \
33314 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33315 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33316 fi; \
33317 else \
33318 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33319 fi; \
33320 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33322 $(NORMAL_TARGET_EXPORTS) \
33323 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33324 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33325 case $(srcdir) in \
33326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33327 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33329 esac; \
33330 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33331 libsrcdir="$$s/libquadmath"; \
33332 rm -f no-such-file || : ; \
33333 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33334 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33335 --target=${target_alias} $${srcdiroption} \
33336 || exit 1
33337 @endif target-libquadmath
33343 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33344 maybe-all-target-libquadmath:
33345 @if gcc-bootstrap
33346 all-target-libquadmath: stage_current
33347 @endif gcc-bootstrap
33348 @if target-libquadmath
33349 TARGET-target-libquadmath=all
33350 maybe-all-target-libquadmath: all-target-libquadmath
33351 all-target-libquadmath: configure-target-libquadmath
33352 @: $(MAKE); $(unstage)
33353 @r=`${PWD_COMMAND}`; export r; \
33354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33355 $(NORMAL_TARGET_EXPORTS) \
33356 (cd $(TARGET_SUBDIR)/libquadmath && \
33357 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33358 $(TARGET-target-libquadmath))
33359 @endif target-libquadmath
33365 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33366 maybe-check-target-libquadmath:
33367 @if target-libquadmath
33368 maybe-check-target-libquadmath: check-target-libquadmath
33370 check-target-libquadmath:
33371 @: $(MAKE); $(unstage)
33372 @r=`${PWD_COMMAND}`; export r; \
33373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33374 $(NORMAL_TARGET_EXPORTS) \
33375 (cd $(TARGET_SUBDIR)/libquadmath && \
33376 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33378 @endif target-libquadmath
33380 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33381 maybe-install-target-libquadmath:
33382 @if target-libquadmath
33383 maybe-install-target-libquadmath: install-target-libquadmath
33385 install-target-libquadmath: installdirs
33386 @: $(MAKE); $(unstage)
33387 @r=`${PWD_COMMAND}`; export r; \
33388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33389 $(NORMAL_TARGET_EXPORTS) \
33390 (cd $(TARGET_SUBDIR)/libquadmath && \
33391 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33393 @endif target-libquadmath
33395 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33396 maybe-install-strip-target-libquadmath:
33397 @if target-libquadmath
33398 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33400 install-strip-target-libquadmath: installdirs
33401 @: $(MAKE); $(unstage)
33402 @r=`${PWD_COMMAND}`; export r; \
33403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33404 $(NORMAL_TARGET_EXPORTS) \
33405 (cd $(TARGET_SUBDIR)/libquadmath && \
33406 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33408 @endif target-libquadmath
33410 # Other targets (info, dvi, pdf, etc.)
33412 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33413 maybe-info-target-libquadmath:
33414 @if target-libquadmath
33415 maybe-info-target-libquadmath: info-target-libquadmath
33417 info-target-libquadmath: \
33418 configure-target-libquadmath
33419 @: $(MAKE); $(unstage)
33420 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33421 r=`${PWD_COMMAND}`; export r; \
33422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33423 $(NORMAL_TARGET_EXPORTS) \
33424 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33425 for flag in $(EXTRA_TARGET_FLAGS); do \
33426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33427 done; \
33428 (cd $(TARGET_SUBDIR)/libquadmath && \
33429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33431 "RANLIB=$${RANLIB}" \
33432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33433 info) \
33434 || exit 1
33436 @endif target-libquadmath
33438 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33439 maybe-dvi-target-libquadmath:
33440 @if target-libquadmath
33441 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33443 dvi-target-libquadmath: \
33444 configure-target-libquadmath
33445 @: $(MAKE); $(unstage)
33446 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33447 r=`${PWD_COMMAND}`; export r; \
33448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33449 $(NORMAL_TARGET_EXPORTS) \
33450 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33451 for flag in $(EXTRA_TARGET_FLAGS); do \
33452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33453 done; \
33454 (cd $(TARGET_SUBDIR)/libquadmath && \
33455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33457 "RANLIB=$${RANLIB}" \
33458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33459 dvi) \
33460 || exit 1
33462 @endif target-libquadmath
33464 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33465 maybe-pdf-target-libquadmath:
33466 @if target-libquadmath
33467 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33469 pdf-target-libquadmath: \
33470 configure-target-libquadmath
33471 @: $(MAKE); $(unstage)
33472 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33473 r=`${PWD_COMMAND}`; export r; \
33474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33475 $(NORMAL_TARGET_EXPORTS) \
33476 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33477 for flag in $(EXTRA_TARGET_FLAGS); do \
33478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33479 done; \
33480 (cd $(TARGET_SUBDIR)/libquadmath && \
33481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33483 "RANLIB=$${RANLIB}" \
33484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33485 pdf) \
33486 || exit 1
33488 @endif target-libquadmath
33490 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33491 maybe-html-target-libquadmath:
33492 @if target-libquadmath
33493 maybe-html-target-libquadmath: html-target-libquadmath
33495 html-target-libquadmath: \
33496 configure-target-libquadmath
33497 @: $(MAKE); $(unstage)
33498 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33499 r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 $(NORMAL_TARGET_EXPORTS) \
33502 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33503 for flag in $(EXTRA_TARGET_FLAGS); do \
33504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33505 done; \
33506 (cd $(TARGET_SUBDIR)/libquadmath && \
33507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33509 "RANLIB=$${RANLIB}" \
33510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33511 html) \
33512 || exit 1
33514 @endif target-libquadmath
33516 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33517 maybe-TAGS-target-libquadmath:
33518 @if target-libquadmath
33519 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33521 TAGS-target-libquadmath: \
33522 configure-target-libquadmath
33523 @: $(MAKE); $(unstage)
33524 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33525 r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 $(NORMAL_TARGET_EXPORTS) \
33528 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33529 for flag in $(EXTRA_TARGET_FLAGS); do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 (cd $(TARGET_SUBDIR)/libquadmath && \
33533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33535 "RANLIB=$${RANLIB}" \
33536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33537 TAGS) \
33538 || exit 1
33540 @endif target-libquadmath
33542 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33543 maybe-install-info-target-libquadmath:
33544 @if target-libquadmath
33545 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33547 install-info-target-libquadmath: \
33548 configure-target-libquadmath \
33549 info-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 install-info 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 install-info) \
33565 || exit 1
33567 @endif target-libquadmath
33569 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33570 maybe-install-pdf-target-libquadmath:
33571 @if target-libquadmath
33572 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33574 install-pdf-target-libquadmath: \
33575 configure-target-libquadmath \
33576 pdf-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-pdf 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-pdf) \
33592 || exit 1
33594 @endif target-libquadmath
33596 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33597 maybe-install-html-target-libquadmath:
33598 @if target-libquadmath
33599 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33601 install-html-target-libquadmath: \
33602 configure-target-libquadmath \
33603 html-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-html 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-html) \
33619 || exit 1
33621 @endif target-libquadmath
33623 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33624 maybe-installcheck-target-libquadmath:
33625 @if target-libquadmath
33626 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33628 installcheck-target-libquadmath: \
33629 configure-target-libquadmath
33630 @: $(MAKE); $(unstage)
33631 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33632 r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 $(NORMAL_TARGET_EXPORTS) \
33635 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33636 for flag in $(EXTRA_TARGET_FLAGS); do \
33637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33638 done; \
33639 (cd $(TARGET_SUBDIR)/libquadmath && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33642 "RANLIB=$${RANLIB}" \
33643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33644 installcheck) \
33645 || exit 1
33647 @endif target-libquadmath
33649 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33650 maybe-mostlyclean-target-libquadmath:
33651 @if target-libquadmath
33652 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33654 mostlyclean-target-libquadmath:
33655 @: $(MAKE); $(unstage)
33656 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33657 r=`${PWD_COMMAND}`; export r; \
33658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33659 $(NORMAL_TARGET_EXPORTS) \
33660 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33661 for flag in $(EXTRA_TARGET_FLAGS); do \
33662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33663 done; \
33664 (cd $(TARGET_SUBDIR)/libquadmath && \
33665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33667 "RANLIB=$${RANLIB}" \
33668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33669 mostlyclean) \
33670 || exit 1
33672 @endif target-libquadmath
33674 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33675 maybe-clean-target-libquadmath:
33676 @if target-libquadmath
33677 maybe-clean-target-libquadmath: clean-target-libquadmath
33679 clean-target-libquadmath:
33680 @: $(MAKE); $(unstage)
33681 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33682 r=`${PWD_COMMAND}`; export r; \
33683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33684 $(NORMAL_TARGET_EXPORTS) \
33685 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33686 for flag in $(EXTRA_TARGET_FLAGS); do \
33687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33688 done; \
33689 (cd $(TARGET_SUBDIR)/libquadmath && \
33690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33692 "RANLIB=$${RANLIB}" \
33693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33694 clean) \
33695 || exit 1
33697 @endif target-libquadmath
33699 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33700 maybe-distclean-target-libquadmath:
33701 @if target-libquadmath
33702 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33704 distclean-target-libquadmath:
33705 @: $(MAKE); $(unstage)
33706 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33707 r=`${PWD_COMMAND}`; export r; \
33708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33709 $(NORMAL_TARGET_EXPORTS) \
33710 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33711 for flag in $(EXTRA_TARGET_FLAGS); do \
33712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33713 done; \
33714 (cd $(TARGET_SUBDIR)/libquadmath && \
33715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33717 "RANLIB=$${RANLIB}" \
33718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33719 distclean) \
33720 || exit 1
33722 @endif target-libquadmath
33724 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33725 maybe-maintainer-clean-target-libquadmath:
33726 @if target-libquadmath
33727 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33729 maintainer-clean-target-libquadmath:
33730 @: $(MAKE); $(unstage)
33731 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33732 r=`${PWD_COMMAND}`; export r; \
33733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33734 $(NORMAL_TARGET_EXPORTS) \
33735 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33736 for flag in $(EXTRA_TARGET_FLAGS); do \
33737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33738 done; \
33739 (cd $(TARGET_SUBDIR)/libquadmath && \
33740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33742 "RANLIB=$${RANLIB}" \
33743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33744 maintainer-clean) \
33745 || exit 1
33747 @endif target-libquadmath
33753 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33754 maybe-configure-target-libgfortran:
33755 @if gcc-bootstrap
33756 configure-target-libgfortran: stage_current
33757 @endif gcc-bootstrap
33758 @if target-libgfortran
33759 maybe-configure-target-libgfortran: configure-target-libgfortran
33760 configure-target-libgfortran:
33761 @: $(MAKE); $(unstage)
33762 @r=`${PWD_COMMAND}`; export r; \
33763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33764 echo "Checking multilib configuration for libgfortran..."; \
33765 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33766 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33767 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33768 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33769 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33770 else \
33771 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33772 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33773 fi; \
33774 else \
33775 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33776 fi; \
33777 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33778 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33779 $(NORMAL_TARGET_EXPORTS) \
33780 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33781 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33782 case $(srcdir) in \
33783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33784 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33786 esac; \
33787 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33788 libsrcdir="$$s/libgfortran"; \
33789 rm -f no-such-file || : ; \
33790 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33791 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33792 --target=${target_alias} $${srcdiroption} \
33793 || exit 1
33794 @endif target-libgfortran
33800 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33801 maybe-all-target-libgfortran:
33802 @if gcc-bootstrap
33803 all-target-libgfortran: stage_current
33804 @endif gcc-bootstrap
33805 @if target-libgfortran
33806 TARGET-target-libgfortran=all
33807 maybe-all-target-libgfortran: all-target-libgfortran
33808 all-target-libgfortran: configure-target-libgfortran
33809 @: $(MAKE); $(unstage)
33810 @r=`${PWD_COMMAND}`; export r; \
33811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33812 $(NORMAL_TARGET_EXPORTS) \
33813 (cd $(TARGET_SUBDIR)/libgfortran && \
33814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33815 $(TARGET-target-libgfortran))
33816 @endif target-libgfortran
33822 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33823 maybe-check-target-libgfortran:
33824 @if target-libgfortran
33825 maybe-check-target-libgfortran: check-target-libgfortran
33827 check-target-libgfortran:
33828 @: $(MAKE); $(unstage)
33829 @r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(NORMAL_TARGET_EXPORTS) \
33832 (cd $(TARGET_SUBDIR)/libgfortran && \
33833 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33835 @endif target-libgfortran
33837 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33838 maybe-install-target-libgfortran:
33839 @if target-libgfortran
33840 maybe-install-target-libgfortran: install-target-libgfortran
33842 install-target-libgfortran: installdirs
33843 @: $(MAKE); $(unstage)
33844 @r=`${PWD_COMMAND}`; export r; \
33845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33846 $(NORMAL_TARGET_EXPORTS) \
33847 (cd $(TARGET_SUBDIR)/libgfortran && \
33848 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33850 @endif target-libgfortran
33852 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33853 maybe-install-strip-target-libgfortran:
33854 @if target-libgfortran
33855 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33857 install-strip-target-libgfortran: installdirs
33858 @: $(MAKE); $(unstage)
33859 @r=`${PWD_COMMAND}`; export r; \
33860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33861 $(NORMAL_TARGET_EXPORTS) \
33862 (cd $(TARGET_SUBDIR)/libgfortran && \
33863 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33865 @endif target-libgfortran
33867 # Other targets (info, dvi, pdf, etc.)
33869 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33870 maybe-info-target-libgfortran:
33871 @if target-libgfortran
33872 maybe-info-target-libgfortran: info-target-libgfortran
33874 info-target-libgfortran: \
33875 configure-target-libgfortran
33876 @: $(MAKE); $(unstage)
33877 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33878 r=`${PWD_COMMAND}`; export r; \
33879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33880 $(NORMAL_TARGET_EXPORTS) \
33881 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33882 for flag in $(EXTRA_TARGET_FLAGS); do \
33883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33884 done; \
33885 (cd $(TARGET_SUBDIR)/libgfortran && \
33886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33888 "RANLIB=$${RANLIB}" \
33889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33890 info) \
33891 || exit 1
33893 @endif target-libgfortran
33895 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33896 maybe-dvi-target-libgfortran:
33897 @if target-libgfortran
33898 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33900 dvi-target-libgfortran: \
33901 configure-target-libgfortran
33902 @: $(MAKE); $(unstage)
33903 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33904 r=`${PWD_COMMAND}`; export r; \
33905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33906 $(NORMAL_TARGET_EXPORTS) \
33907 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33908 for flag in $(EXTRA_TARGET_FLAGS); do \
33909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33910 done; \
33911 (cd $(TARGET_SUBDIR)/libgfortran && \
33912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33914 "RANLIB=$${RANLIB}" \
33915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33916 dvi) \
33917 || exit 1
33919 @endif target-libgfortran
33921 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33922 maybe-pdf-target-libgfortran:
33923 @if target-libgfortran
33924 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33926 pdf-target-libgfortran: \
33927 configure-target-libgfortran
33928 @: $(MAKE); $(unstage)
33929 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33930 r=`${PWD_COMMAND}`; export r; \
33931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33932 $(NORMAL_TARGET_EXPORTS) \
33933 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33934 for flag in $(EXTRA_TARGET_FLAGS); do \
33935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33936 done; \
33937 (cd $(TARGET_SUBDIR)/libgfortran && \
33938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33940 "RANLIB=$${RANLIB}" \
33941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33942 pdf) \
33943 || exit 1
33945 @endif target-libgfortran
33947 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33948 maybe-html-target-libgfortran:
33949 @if target-libgfortran
33950 maybe-html-target-libgfortran: html-target-libgfortran
33952 html-target-libgfortran: \
33953 configure-target-libgfortran
33954 @: $(MAKE); $(unstage)
33955 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33956 r=`${PWD_COMMAND}`; export r; \
33957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33958 $(NORMAL_TARGET_EXPORTS) \
33959 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33960 for flag in $(EXTRA_TARGET_FLAGS); do \
33961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33962 done; \
33963 (cd $(TARGET_SUBDIR)/libgfortran && \
33964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33966 "RANLIB=$${RANLIB}" \
33967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33968 html) \
33969 || exit 1
33971 @endif target-libgfortran
33973 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33974 maybe-TAGS-target-libgfortran:
33975 @if target-libgfortran
33976 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33978 TAGS-target-libgfortran: \
33979 configure-target-libgfortran
33980 @: $(MAKE); $(unstage)
33981 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33982 r=`${PWD_COMMAND}`; export r; \
33983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33984 $(NORMAL_TARGET_EXPORTS) \
33985 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33986 for flag in $(EXTRA_TARGET_FLAGS); do \
33987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33988 done; \
33989 (cd $(TARGET_SUBDIR)/libgfortran && \
33990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33992 "RANLIB=$${RANLIB}" \
33993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33994 TAGS) \
33995 || exit 1
33997 @endif target-libgfortran
33999 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34000 maybe-install-info-target-libgfortran:
34001 @if target-libgfortran
34002 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34004 install-info-target-libgfortran: \
34005 configure-target-libgfortran \
34006 info-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 install-info 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 install-info) \
34022 || exit 1
34024 @endif target-libgfortran
34026 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34027 maybe-install-pdf-target-libgfortran:
34028 @if target-libgfortran
34029 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34031 install-pdf-target-libgfortran: \
34032 configure-target-libgfortran \
34033 pdf-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-pdf 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-pdf) \
34049 || exit 1
34051 @endif target-libgfortran
34053 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34054 maybe-install-html-target-libgfortran:
34055 @if target-libgfortran
34056 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34058 install-html-target-libgfortran: \
34059 configure-target-libgfortran \
34060 html-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-html 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-html) \
34076 || exit 1
34078 @endif target-libgfortran
34080 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34081 maybe-installcheck-target-libgfortran:
34082 @if target-libgfortran
34083 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34085 installcheck-target-libgfortran: \
34086 configure-target-libgfortran
34087 @: $(MAKE); $(unstage)
34088 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34089 r=`${PWD_COMMAND}`; export r; \
34090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34091 $(NORMAL_TARGET_EXPORTS) \
34092 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34093 for flag in $(EXTRA_TARGET_FLAGS); do \
34094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34095 done; \
34096 (cd $(TARGET_SUBDIR)/libgfortran && \
34097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34099 "RANLIB=$${RANLIB}" \
34100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34101 installcheck) \
34102 || exit 1
34104 @endif target-libgfortran
34106 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34107 maybe-mostlyclean-target-libgfortran:
34108 @if target-libgfortran
34109 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34111 mostlyclean-target-libgfortran:
34112 @: $(MAKE); $(unstage)
34113 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34114 r=`${PWD_COMMAND}`; export r; \
34115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34116 $(NORMAL_TARGET_EXPORTS) \
34117 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34118 for flag in $(EXTRA_TARGET_FLAGS); do \
34119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34120 done; \
34121 (cd $(TARGET_SUBDIR)/libgfortran && \
34122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34124 "RANLIB=$${RANLIB}" \
34125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34126 mostlyclean) \
34127 || exit 1
34129 @endif target-libgfortran
34131 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34132 maybe-clean-target-libgfortran:
34133 @if target-libgfortran
34134 maybe-clean-target-libgfortran: clean-target-libgfortran
34136 clean-target-libgfortran:
34137 @: $(MAKE); $(unstage)
34138 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34139 r=`${PWD_COMMAND}`; export r; \
34140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34141 $(NORMAL_TARGET_EXPORTS) \
34142 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34143 for flag in $(EXTRA_TARGET_FLAGS); do \
34144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34145 done; \
34146 (cd $(TARGET_SUBDIR)/libgfortran && \
34147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34149 "RANLIB=$${RANLIB}" \
34150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34151 clean) \
34152 || exit 1
34154 @endif target-libgfortran
34156 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34157 maybe-distclean-target-libgfortran:
34158 @if target-libgfortran
34159 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34161 distclean-target-libgfortran:
34162 @: $(MAKE); $(unstage)
34163 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34164 r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 $(NORMAL_TARGET_EXPORTS) \
34167 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34168 for flag in $(EXTRA_TARGET_FLAGS); do \
34169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34170 done; \
34171 (cd $(TARGET_SUBDIR)/libgfortran && \
34172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34174 "RANLIB=$${RANLIB}" \
34175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34176 distclean) \
34177 || exit 1
34179 @endif target-libgfortran
34181 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34182 maybe-maintainer-clean-target-libgfortran:
34183 @if target-libgfortran
34184 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34186 maintainer-clean-target-libgfortran:
34187 @: $(MAKE); $(unstage)
34188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34189 r=`${PWD_COMMAND}`; export r; \
34190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34191 $(NORMAL_TARGET_EXPORTS) \
34192 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34193 for flag in $(EXTRA_TARGET_FLAGS); do \
34194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34195 done; \
34196 (cd $(TARGET_SUBDIR)/libgfortran && \
34197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34199 "RANLIB=$${RANLIB}" \
34200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34201 maintainer-clean) \
34202 || exit 1
34204 @endif target-libgfortran
34210 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34211 maybe-configure-target-libobjc:
34212 @if gcc-bootstrap
34213 configure-target-libobjc: stage_current
34214 @endif gcc-bootstrap
34215 @if target-libobjc
34216 maybe-configure-target-libobjc: configure-target-libobjc
34217 configure-target-libobjc:
34218 @: $(MAKE); $(unstage)
34219 @r=`${PWD_COMMAND}`; export r; \
34220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34221 echo "Checking multilib configuration for libobjc..."; \
34222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34223 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34224 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34225 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34226 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34227 else \
34228 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34229 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34230 fi; \
34231 else \
34232 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34233 fi; \
34234 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34236 $(NORMAL_TARGET_EXPORTS) \
34237 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34238 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34239 case $(srcdir) in \
34240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34241 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34243 esac; \
34244 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34245 libsrcdir="$$s/libobjc"; \
34246 rm -f no-such-file || : ; \
34247 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34248 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34249 --target=${target_alias} $${srcdiroption} \
34250 || exit 1
34251 @endif target-libobjc
34257 .PHONY: all-target-libobjc maybe-all-target-libobjc
34258 maybe-all-target-libobjc:
34259 @if gcc-bootstrap
34260 all-target-libobjc: stage_current
34261 @endif gcc-bootstrap
34262 @if target-libobjc
34263 TARGET-target-libobjc=all
34264 maybe-all-target-libobjc: all-target-libobjc
34265 all-target-libobjc: configure-target-libobjc
34266 @: $(MAKE); $(unstage)
34267 @r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(NORMAL_TARGET_EXPORTS) \
34270 (cd $(TARGET_SUBDIR)/libobjc && \
34271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34272 $(TARGET-target-libobjc))
34273 @endif target-libobjc
34279 .PHONY: check-target-libobjc maybe-check-target-libobjc
34280 maybe-check-target-libobjc:
34281 @if target-libobjc
34282 maybe-check-target-libobjc: check-target-libobjc
34284 check-target-libobjc:
34285 @: $(MAKE); $(unstage)
34286 @r=`${PWD_COMMAND}`; export r; \
34287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34288 $(NORMAL_TARGET_EXPORTS) \
34289 (cd $(TARGET_SUBDIR)/libobjc && \
34290 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34292 @endif target-libobjc
34294 .PHONY: install-target-libobjc maybe-install-target-libobjc
34295 maybe-install-target-libobjc:
34296 @if target-libobjc
34297 maybe-install-target-libobjc: install-target-libobjc
34299 install-target-libobjc: installdirs
34300 @: $(MAKE); $(unstage)
34301 @r=`${PWD_COMMAND}`; export r; \
34302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34303 $(NORMAL_TARGET_EXPORTS) \
34304 (cd $(TARGET_SUBDIR)/libobjc && \
34305 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34307 @endif target-libobjc
34309 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34310 maybe-install-strip-target-libobjc:
34311 @if target-libobjc
34312 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34314 install-strip-target-libobjc: installdirs
34315 @: $(MAKE); $(unstage)
34316 @r=`${PWD_COMMAND}`; export r; \
34317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34318 $(NORMAL_TARGET_EXPORTS) \
34319 (cd $(TARGET_SUBDIR)/libobjc && \
34320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34322 @endif target-libobjc
34324 # Other targets (info, dvi, pdf, etc.)
34326 .PHONY: maybe-info-target-libobjc info-target-libobjc
34327 maybe-info-target-libobjc:
34328 @if target-libobjc
34329 maybe-info-target-libobjc: info-target-libobjc
34331 info-target-libobjc: \
34332 configure-target-libobjc
34333 @: $(MAKE); $(unstage)
34334 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34335 r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(NORMAL_TARGET_EXPORTS) \
34338 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34339 for flag in $(EXTRA_TARGET_FLAGS); do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 (cd $(TARGET_SUBDIR)/libobjc && \
34343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34345 "RANLIB=$${RANLIB}" \
34346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34347 info) \
34348 || exit 1
34350 @endif target-libobjc
34352 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34353 maybe-dvi-target-libobjc:
34354 @if target-libobjc
34355 maybe-dvi-target-libobjc: dvi-target-libobjc
34357 dvi-target-libobjc: \
34358 configure-target-libobjc
34359 @: $(MAKE); $(unstage)
34360 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34361 r=`${PWD_COMMAND}`; export r; \
34362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34363 $(NORMAL_TARGET_EXPORTS) \
34364 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34365 for flag in $(EXTRA_TARGET_FLAGS); do \
34366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34367 done; \
34368 (cd $(TARGET_SUBDIR)/libobjc && \
34369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34371 "RANLIB=$${RANLIB}" \
34372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34373 dvi) \
34374 || exit 1
34376 @endif target-libobjc
34378 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34379 maybe-pdf-target-libobjc:
34380 @if target-libobjc
34381 maybe-pdf-target-libobjc: pdf-target-libobjc
34383 pdf-target-libobjc: \
34384 configure-target-libobjc
34385 @: $(MAKE); $(unstage)
34386 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34387 r=`${PWD_COMMAND}`; export r; \
34388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34389 $(NORMAL_TARGET_EXPORTS) \
34390 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34391 for flag in $(EXTRA_TARGET_FLAGS); do \
34392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34393 done; \
34394 (cd $(TARGET_SUBDIR)/libobjc && \
34395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34397 "RANLIB=$${RANLIB}" \
34398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34399 pdf) \
34400 || exit 1
34402 @endif target-libobjc
34404 .PHONY: maybe-html-target-libobjc html-target-libobjc
34405 maybe-html-target-libobjc:
34406 @if target-libobjc
34407 maybe-html-target-libobjc: html-target-libobjc
34409 html-target-libobjc: \
34410 configure-target-libobjc
34411 @: $(MAKE); $(unstage)
34412 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34413 r=`${PWD_COMMAND}`; export r; \
34414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34415 $(NORMAL_TARGET_EXPORTS) \
34416 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34417 for flag in $(EXTRA_TARGET_FLAGS); do \
34418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34419 done; \
34420 (cd $(TARGET_SUBDIR)/libobjc && \
34421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34423 "RANLIB=$${RANLIB}" \
34424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34425 html) \
34426 || exit 1
34428 @endif target-libobjc
34430 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34431 maybe-TAGS-target-libobjc:
34432 @if target-libobjc
34433 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34435 TAGS-target-libobjc: \
34436 configure-target-libobjc
34437 @: $(MAKE); $(unstage)
34438 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34439 r=`${PWD_COMMAND}`; export r; \
34440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34441 $(NORMAL_TARGET_EXPORTS) \
34442 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34443 for flag in $(EXTRA_TARGET_FLAGS); do \
34444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34445 done; \
34446 (cd $(TARGET_SUBDIR)/libobjc && \
34447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34449 "RANLIB=$${RANLIB}" \
34450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34451 TAGS) \
34452 || exit 1
34454 @endif target-libobjc
34456 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34457 maybe-install-info-target-libobjc:
34458 @if target-libobjc
34459 maybe-install-info-target-libobjc: install-info-target-libobjc
34461 install-info-target-libobjc: \
34462 configure-target-libobjc \
34463 info-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 install-info 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 install-info) \
34479 || exit 1
34481 @endif target-libobjc
34483 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34484 maybe-install-pdf-target-libobjc:
34485 @if target-libobjc
34486 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34488 install-pdf-target-libobjc: \
34489 configure-target-libobjc \
34490 pdf-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-pdf 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-pdf) \
34506 || exit 1
34508 @endif target-libobjc
34510 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34511 maybe-install-html-target-libobjc:
34512 @if target-libobjc
34513 maybe-install-html-target-libobjc: install-html-target-libobjc
34515 install-html-target-libobjc: \
34516 configure-target-libobjc \
34517 html-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-html 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-html) \
34533 || exit 1
34535 @endif target-libobjc
34537 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34538 maybe-installcheck-target-libobjc:
34539 @if target-libobjc
34540 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34542 installcheck-target-libobjc: \
34543 configure-target-libobjc
34544 @: $(MAKE); $(unstage)
34545 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(NORMAL_TARGET_EXPORTS) \
34549 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34550 for flag in $(EXTRA_TARGET_FLAGS); do \
34551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34552 done; \
34553 (cd $(TARGET_SUBDIR)/libobjc && \
34554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34556 "RANLIB=$${RANLIB}" \
34557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34558 installcheck) \
34559 || exit 1
34561 @endif target-libobjc
34563 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34564 maybe-mostlyclean-target-libobjc:
34565 @if target-libobjc
34566 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34568 mostlyclean-target-libobjc:
34569 @: $(MAKE); $(unstage)
34570 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34571 r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(NORMAL_TARGET_EXPORTS) \
34574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34575 for flag in $(EXTRA_TARGET_FLAGS); do \
34576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34577 done; \
34578 (cd $(TARGET_SUBDIR)/libobjc && \
34579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34581 "RANLIB=$${RANLIB}" \
34582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34583 mostlyclean) \
34584 || exit 1
34586 @endif target-libobjc
34588 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34589 maybe-clean-target-libobjc:
34590 @if target-libobjc
34591 maybe-clean-target-libobjc: clean-target-libobjc
34593 clean-target-libobjc:
34594 @: $(MAKE); $(unstage)
34595 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34596 r=`${PWD_COMMAND}`; export r; \
34597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34598 $(NORMAL_TARGET_EXPORTS) \
34599 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34600 for flag in $(EXTRA_TARGET_FLAGS); do \
34601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34602 done; \
34603 (cd $(TARGET_SUBDIR)/libobjc && \
34604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34606 "RANLIB=$${RANLIB}" \
34607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34608 clean) \
34609 || exit 1
34611 @endif target-libobjc
34613 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34614 maybe-distclean-target-libobjc:
34615 @if target-libobjc
34616 maybe-distclean-target-libobjc: distclean-target-libobjc
34618 distclean-target-libobjc:
34619 @: $(MAKE); $(unstage)
34620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34621 r=`${PWD_COMMAND}`; export r; \
34622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34623 $(NORMAL_TARGET_EXPORTS) \
34624 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34625 for flag in $(EXTRA_TARGET_FLAGS); do \
34626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34627 done; \
34628 (cd $(TARGET_SUBDIR)/libobjc && \
34629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34631 "RANLIB=$${RANLIB}" \
34632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34633 distclean) \
34634 || exit 1
34636 @endif target-libobjc
34638 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34639 maybe-maintainer-clean-target-libobjc:
34640 @if target-libobjc
34641 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34643 maintainer-clean-target-libobjc:
34644 @: $(MAKE); $(unstage)
34645 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34646 r=`${PWD_COMMAND}`; export r; \
34647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34648 $(NORMAL_TARGET_EXPORTS) \
34649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34650 for flag in $(EXTRA_TARGET_FLAGS); do \
34651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34652 done; \
34653 (cd $(TARGET_SUBDIR)/libobjc && \
34654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34656 "RANLIB=$${RANLIB}" \
34657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34658 maintainer-clean) \
34659 || exit 1
34661 @endif target-libobjc
34667 .PHONY: configure-target-libgo maybe-configure-target-libgo
34668 maybe-configure-target-libgo:
34669 @if gcc-bootstrap
34670 configure-target-libgo: stage_current
34671 @endif gcc-bootstrap
34672 @if target-libgo
34673 maybe-configure-target-libgo: configure-target-libgo
34674 configure-target-libgo:
34675 @: $(MAKE); $(unstage)
34676 @r=`${PWD_COMMAND}`; export r; \
34677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34678 echo "Checking multilib configuration for libgo..."; \
34679 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34680 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34681 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34682 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34683 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34684 else \
34685 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34686 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34687 fi; \
34688 else \
34689 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34690 fi; \
34691 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34693 $(NORMAL_TARGET_EXPORTS) \
34694 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34695 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34696 case $(srcdir) in \
34697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34698 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34700 esac; \
34701 srcdiroption="--srcdir=$${topdir}/libgo"; \
34702 libsrcdir="$$s/libgo"; \
34703 rm -f no-such-file || : ; \
34704 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34705 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34706 --target=${target_alias} $${srcdiroption} \
34707 || exit 1
34708 @endif target-libgo
34714 .PHONY: all-target-libgo maybe-all-target-libgo
34715 maybe-all-target-libgo:
34716 @if gcc-bootstrap
34717 all-target-libgo: stage_current
34718 @endif gcc-bootstrap
34719 @if target-libgo
34720 TARGET-target-libgo=all
34721 maybe-all-target-libgo: all-target-libgo
34722 all-target-libgo: configure-target-libgo
34723 @: $(MAKE); $(unstage)
34724 @r=`${PWD_COMMAND}`; export r; \
34725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34726 $(NORMAL_TARGET_EXPORTS) \
34727 (cd $(TARGET_SUBDIR)/libgo && \
34728 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34729 $(TARGET-target-libgo))
34730 @endif target-libgo
34736 .PHONY: check-target-libgo maybe-check-target-libgo
34737 maybe-check-target-libgo:
34738 @if target-libgo
34739 maybe-check-target-libgo: check-target-libgo
34741 check-target-libgo:
34742 @: $(MAKE); $(unstage)
34743 @r=`${PWD_COMMAND}`; export r; \
34744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34745 $(NORMAL_TARGET_EXPORTS) \
34746 (cd $(TARGET_SUBDIR)/libgo && \
34747 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34749 @endif target-libgo
34751 .PHONY: install-target-libgo maybe-install-target-libgo
34752 maybe-install-target-libgo:
34753 @if target-libgo
34754 maybe-install-target-libgo: install-target-libgo
34756 install-target-libgo: installdirs
34757 @: $(MAKE); $(unstage)
34758 @r=`${PWD_COMMAND}`; export r; \
34759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34760 $(NORMAL_TARGET_EXPORTS) \
34761 (cd $(TARGET_SUBDIR)/libgo && \
34762 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34764 @endif target-libgo
34766 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34767 maybe-install-strip-target-libgo:
34768 @if target-libgo
34769 maybe-install-strip-target-libgo: install-strip-target-libgo
34771 install-strip-target-libgo: installdirs
34772 @: $(MAKE); $(unstage)
34773 @r=`${PWD_COMMAND}`; export r; \
34774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34775 $(NORMAL_TARGET_EXPORTS) \
34776 (cd $(TARGET_SUBDIR)/libgo && \
34777 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34779 @endif target-libgo
34781 # Other targets (info, dvi, pdf, etc.)
34783 .PHONY: maybe-info-target-libgo info-target-libgo
34784 maybe-info-target-libgo:
34785 @if target-libgo
34786 maybe-info-target-libgo: info-target-libgo
34788 info-target-libgo: \
34789 configure-target-libgo
34790 @: $(MAKE); $(unstage)
34791 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34792 r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(NORMAL_TARGET_EXPORTS) \
34795 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34796 for flag in $(EXTRA_TARGET_FLAGS); do \
34797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34798 done; \
34799 (cd $(TARGET_SUBDIR)/libgo && \
34800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34802 "RANLIB=$${RANLIB}" \
34803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34804 info) \
34805 || exit 1
34807 @endif target-libgo
34809 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34810 maybe-dvi-target-libgo:
34811 @if target-libgo
34812 maybe-dvi-target-libgo: dvi-target-libgo
34814 dvi-target-libgo: \
34815 configure-target-libgo
34816 @: $(MAKE); $(unstage)
34817 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34818 r=`${PWD_COMMAND}`; export r; \
34819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34820 $(NORMAL_TARGET_EXPORTS) \
34821 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34822 for flag in $(EXTRA_TARGET_FLAGS); do \
34823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34824 done; \
34825 (cd $(TARGET_SUBDIR)/libgo && \
34826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34828 "RANLIB=$${RANLIB}" \
34829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34830 dvi) \
34831 || exit 1
34833 @endif target-libgo
34835 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34836 maybe-pdf-target-libgo:
34837 @if target-libgo
34838 maybe-pdf-target-libgo: pdf-target-libgo
34840 pdf-target-libgo: \
34841 configure-target-libgo
34842 @: $(MAKE); $(unstage)
34843 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34844 r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(NORMAL_TARGET_EXPORTS) \
34847 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34848 for flag in $(EXTRA_TARGET_FLAGS); do \
34849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34850 done; \
34851 (cd $(TARGET_SUBDIR)/libgo && \
34852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34854 "RANLIB=$${RANLIB}" \
34855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34856 pdf) \
34857 || exit 1
34859 @endif target-libgo
34861 .PHONY: maybe-html-target-libgo html-target-libgo
34862 maybe-html-target-libgo:
34863 @if target-libgo
34864 maybe-html-target-libgo: html-target-libgo
34866 html-target-libgo: \
34867 configure-target-libgo
34868 @: $(MAKE); $(unstage)
34869 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34870 r=`${PWD_COMMAND}`; export r; \
34871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34872 $(NORMAL_TARGET_EXPORTS) \
34873 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34874 for flag in $(EXTRA_TARGET_FLAGS); do \
34875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34876 done; \
34877 (cd $(TARGET_SUBDIR)/libgo && \
34878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34880 "RANLIB=$${RANLIB}" \
34881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34882 html) \
34883 || exit 1
34885 @endif target-libgo
34887 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34888 maybe-TAGS-target-libgo:
34889 @if target-libgo
34890 maybe-TAGS-target-libgo: TAGS-target-libgo
34892 TAGS-target-libgo: \
34893 configure-target-libgo
34894 @: $(MAKE); $(unstage)
34895 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34896 r=`${PWD_COMMAND}`; export r; \
34897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34898 $(NORMAL_TARGET_EXPORTS) \
34899 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34900 for flag in $(EXTRA_TARGET_FLAGS); do \
34901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34902 done; \
34903 (cd $(TARGET_SUBDIR)/libgo && \
34904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34906 "RANLIB=$${RANLIB}" \
34907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34908 TAGS) \
34909 || exit 1
34911 @endif target-libgo
34913 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34914 maybe-install-info-target-libgo:
34915 @if target-libgo
34916 maybe-install-info-target-libgo: install-info-target-libgo
34918 install-info-target-libgo: \
34919 configure-target-libgo \
34920 info-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 install-info 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 install-info) \
34936 || exit 1
34938 @endif target-libgo
34940 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34941 maybe-install-pdf-target-libgo:
34942 @if target-libgo
34943 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34945 install-pdf-target-libgo: \
34946 configure-target-libgo \
34947 pdf-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-pdf 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-pdf) \
34963 || exit 1
34965 @endif target-libgo
34967 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34968 maybe-install-html-target-libgo:
34969 @if target-libgo
34970 maybe-install-html-target-libgo: install-html-target-libgo
34972 install-html-target-libgo: \
34973 configure-target-libgo \
34974 html-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-html 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-html) \
34990 || exit 1
34992 @endif target-libgo
34994 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
34995 maybe-installcheck-target-libgo:
34996 @if target-libgo
34997 maybe-installcheck-target-libgo: installcheck-target-libgo
34999 installcheck-target-libgo: \
35000 configure-target-libgo
35001 @: $(MAKE); $(unstage)
35002 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35003 r=`${PWD_COMMAND}`; export r; \
35004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35005 $(NORMAL_TARGET_EXPORTS) \
35006 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35007 for flag in $(EXTRA_TARGET_FLAGS); do \
35008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35009 done; \
35010 (cd $(TARGET_SUBDIR)/libgo && \
35011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35013 "RANLIB=$${RANLIB}" \
35014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35015 installcheck) \
35016 || exit 1
35018 @endif target-libgo
35020 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35021 maybe-mostlyclean-target-libgo:
35022 @if target-libgo
35023 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35025 mostlyclean-target-libgo:
35026 @: $(MAKE); $(unstage)
35027 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35028 r=`${PWD_COMMAND}`; export r; \
35029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35030 $(NORMAL_TARGET_EXPORTS) \
35031 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35032 for flag in $(EXTRA_TARGET_FLAGS); do \
35033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35034 done; \
35035 (cd $(TARGET_SUBDIR)/libgo && \
35036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35038 "RANLIB=$${RANLIB}" \
35039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35040 mostlyclean) \
35041 || exit 1
35043 @endif target-libgo
35045 .PHONY: maybe-clean-target-libgo clean-target-libgo
35046 maybe-clean-target-libgo:
35047 @if target-libgo
35048 maybe-clean-target-libgo: clean-target-libgo
35050 clean-target-libgo:
35051 @: $(MAKE); $(unstage)
35052 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35053 r=`${PWD_COMMAND}`; export r; \
35054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35055 $(NORMAL_TARGET_EXPORTS) \
35056 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35057 for flag in $(EXTRA_TARGET_FLAGS); do \
35058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35059 done; \
35060 (cd $(TARGET_SUBDIR)/libgo && \
35061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35063 "RANLIB=$${RANLIB}" \
35064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35065 clean) \
35066 || exit 1
35068 @endif target-libgo
35070 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35071 maybe-distclean-target-libgo:
35072 @if target-libgo
35073 maybe-distclean-target-libgo: distclean-target-libgo
35075 distclean-target-libgo:
35076 @: $(MAKE); $(unstage)
35077 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35078 r=`${PWD_COMMAND}`; export r; \
35079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35080 $(NORMAL_TARGET_EXPORTS) \
35081 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35082 for flag in $(EXTRA_TARGET_FLAGS); do \
35083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35084 done; \
35085 (cd $(TARGET_SUBDIR)/libgo && \
35086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35088 "RANLIB=$${RANLIB}" \
35089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35090 distclean) \
35091 || exit 1
35093 @endif target-libgo
35095 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35096 maybe-maintainer-clean-target-libgo:
35097 @if target-libgo
35098 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35100 maintainer-clean-target-libgo:
35101 @: $(MAKE); $(unstage)
35102 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35103 r=`${PWD_COMMAND}`; export r; \
35104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35105 $(NORMAL_TARGET_EXPORTS) \
35106 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35107 for flag in $(EXTRA_TARGET_FLAGS); do \
35108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35109 done; \
35110 (cd $(TARGET_SUBDIR)/libgo && \
35111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35113 "RANLIB=$${RANLIB}" \
35114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35115 maintainer-clean) \
35116 || exit 1
35118 @endif target-libgo
35124 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35125 maybe-configure-target-libtermcap:
35126 @if gcc-bootstrap
35127 configure-target-libtermcap: stage_current
35128 @endif gcc-bootstrap
35129 @if target-libtermcap
35130 maybe-configure-target-libtermcap: configure-target-libtermcap
35131 configure-target-libtermcap:
35132 @: $(MAKE); $(unstage)
35133 @r=`${PWD_COMMAND}`; export r; \
35134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35135 echo "Checking multilib configuration for libtermcap..."; \
35136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35137 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35138 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35139 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35140 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35141 else \
35142 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35143 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35144 fi; \
35145 else \
35146 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35147 fi; \
35148 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35150 $(NORMAL_TARGET_EXPORTS) \
35151 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35152 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35153 case $(srcdir) in \
35154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35155 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35157 esac; \
35158 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35159 libsrcdir="$$s/libtermcap"; \
35160 rm -f no-such-file || : ; \
35161 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35162 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35163 --target=${target_alias} $${srcdiroption} \
35164 || exit 1
35165 @endif target-libtermcap
35171 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35172 maybe-all-target-libtermcap:
35173 @if gcc-bootstrap
35174 all-target-libtermcap: stage_current
35175 @endif gcc-bootstrap
35176 @if target-libtermcap
35177 TARGET-target-libtermcap=all
35178 maybe-all-target-libtermcap: all-target-libtermcap
35179 all-target-libtermcap: configure-target-libtermcap
35180 @: $(MAKE); $(unstage)
35181 @r=`${PWD_COMMAND}`; export r; \
35182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35183 $(NORMAL_TARGET_EXPORTS) \
35184 (cd $(TARGET_SUBDIR)/libtermcap && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35186 $(TARGET-target-libtermcap))
35187 @endif target-libtermcap
35193 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35194 maybe-check-target-libtermcap:
35195 @if target-libtermcap
35196 maybe-check-target-libtermcap: check-target-libtermcap
35198 # Dummy target for uncheckable module.
35199 check-target-libtermcap:
35201 @endif target-libtermcap
35203 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35204 maybe-install-target-libtermcap:
35205 @if target-libtermcap
35206 maybe-install-target-libtermcap: install-target-libtermcap
35208 install-target-libtermcap: installdirs
35209 @: $(MAKE); $(unstage)
35210 @r=`${PWD_COMMAND}`; export r; \
35211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35212 $(NORMAL_TARGET_EXPORTS) \
35213 (cd $(TARGET_SUBDIR)/libtermcap && \
35214 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35216 @endif target-libtermcap
35218 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35219 maybe-install-strip-target-libtermcap:
35220 @if target-libtermcap
35221 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35223 install-strip-target-libtermcap: installdirs
35224 @: $(MAKE); $(unstage)
35225 @r=`${PWD_COMMAND}`; export r; \
35226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35227 $(NORMAL_TARGET_EXPORTS) \
35228 (cd $(TARGET_SUBDIR)/libtermcap && \
35229 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35231 @endif target-libtermcap
35233 # Other targets (info, dvi, pdf, etc.)
35235 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35236 maybe-info-target-libtermcap:
35237 @if target-libtermcap
35238 maybe-info-target-libtermcap: info-target-libtermcap
35240 info-target-libtermcap: \
35241 configure-target-libtermcap
35242 @: $(MAKE); $(unstage)
35243 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35244 r=`${PWD_COMMAND}`; export r; \
35245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35246 $(NORMAL_TARGET_EXPORTS) \
35247 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35248 for flag in $(EXTRA_TARGET_FLAGS); do \
35249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35250 done; \
35251 (cd $(TARGET_SUBDIR)/libtermcap && \
35252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35254 "RANLIB=$${RANLIB}" \
35255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35256 info) \
35257 || exit 1
35259 @endif target-libtermcap
35261 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35262 maybe-dvi-target-libtermcap:
35263 @if target-libtermcap
35264 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35266 dvi-target-libtermcap: \
35267 configure-target-libtermcap
35268 @: $(MAKE); $(unstage)
35269 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35270 r=`${PWD_COMMAND}`; export r; \
35271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35272 $(NORMAL_TARGET_EXPORTS) \
35273 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35274 for flag in $(EXTRA_TARGET_FLAGS); do \
35275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35276 done; \
35277 (cd $(TARGET_SUBDIR)/libtermcap && \
35278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35280 "RANLIB=$${RANLIB}" \
35281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35282 dvi) \
35283 || exit 1
35285 @endif target-libtermcap
35287 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35288 maybe-pdf-target-libtermcap:
35289 @if target-libtermcap
35290 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35292 pdf-target-libtermcap: \
35293 configure-target-libtermcap
35294 @: $(MAKE); $(unstage)
35295 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35296 r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 $(NORMAL_TARGET_EXPORTS) \
35299 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35300 for flag in $(EXTRA_TARGET_FLAGS); do \
35301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35302 done; \
35303 (cd $(TARGET_SUBDIR)/libtermcap && \
35304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35306 "RANLIB=$${RANLIB}" \
35307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35308 pdf) \
35309 || exit 1
35311 @endif target-libtermcap
35313 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35314 maybe-html-target-libtermcap:
35315 @if target-libtermcap
35316 maybe-html-target-libtermcap: html-target-libtermcap
35318 html-target-libtermcap: \
35319 configure-target-libtermcap
35320 @: $(MAKE); $(unstage)
35321 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35322 r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(NORMAL_TARGET_EXPORTS) \
35325 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35326 for flag in $(EXTRA_TARGET_FLAGS); do \
35327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35328 done; \
35329 (cd $(TARGET_SUBDIR)/libtermcap && \
35330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35332 "RANLIB=$${RANLIB}" \
35333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35334 html) \
35335 || exit 1
35337 @endif target-libtermcap
35339 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35340 maybe-TAGS-target-libtermcap:
35341 @if target-libtermcap
35342 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35344 TAGS-target-libtermcap: \
35345 configure-target-libtermcap
35346 @: $(MAKE); $(unstage)
35347 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(NORMAL_TARGET_EXPORTS) \
35351 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35352 for flag in $(EXTRA_TARGET_FLAGS); do \
35353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35354 done; \
35355 (cd $(TARGET_SUBDIR)/libtermcap && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 TAGS) \
35361 || exit 1
35363 @endif target-libtermcap
35365 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35366 maybe-install-info-target-libtermcap:
35367 @if target-libtermcap
35368 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35370 install-info-target-libtermcap: \
35371 configure-target-libtermcap \
35372 info-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 install-info 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 install-info) \
35388 || exit 1
35390 @endif target-libtermcap
35392 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35393 maybe-install-pdf-target-libtermcap:
35394 @if target-libtermcap
35395 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35397 install-pdf-target-libtermcap: \
35398 configure-target-libtermcap \
35399 pdf-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-pdf 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-pdf) \
35415 || exit 1
35417 @endif target-libtermcap
35419 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35420 maybe-install-html-target-libtermcap:
35421 @if target-libtermcap
35422 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35424 install-html-target-libtermcap: \
35425 configure-target-libtermcap \
35426 html-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-html 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-html) \
35442 || exit 1
35444 @endif target-libtermcap
35446 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35447 maybe-installcheck-target-libtermcap:
35448 @if target-libtermcap
35449 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35451 installcheck-target-libtermcap: \
35452 configure-target-libtermcap
35453 @: $(MAKE); $(unstage)
35454 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35455 r=`${PWD_COMMAND}`; export r; \
35456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35457 $(NORMAL_TARGET_EXPORTS) \
35458 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35459 for flag in $(EXTRA_TARGET_FLAGS); do \
35460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35461 done; \
35462 (cd $(TARGET_SUBDIR)/libtermcap && \
35463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35465 "RANLIB=$${RANLIB}" \
35466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35467 installcheck) \
35468 || exit 1
35470 @endif target-libtermcap
35472 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35473 maybe-mostlyclean-target-libtermcap:
35474 @if target-libtermcap
35475 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35477 # libtermcap doesn't support mostlyclean.
35478 mostlyclean-target-libtermcap:
35480 @endif target-libtermcap
35482 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35483 maybe-clean-target-libtermcap:
35484 @if target-libtermcap
35485 maybe-clean-target-libtermcap: clean-target-libtermcap
35487 # libtermcap doesn't support clean.
35488 clean-target-libtermcap:
35490 @endif target-libtermcap
35492 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35493 maybe-distclean-target-libtermcap:
35494 @if target-libtermcap
35495 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35497 # libtermcap doesn't support distclean.
35498 distclean-target-libtermcap:
35500 @endif target-libtermcap
35502 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35503 maybe-maintainer-clean-target-libtermcap:
35504 @if target-libtermcap
35505 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35507 # libtermcap doesn't support maintainer-clean.
35508 maintainer-clean-target-libtermcap:
35510 @endif target-libtermcap
35516 .PHONY: configure-target-winsup maybe-configure-target-winsup
35517 maybe-configure-target-winsup:
35518 @if gcc-bootstrap
35519 configure-target-winsup: stage_current
35520 @endif gcc-bootstrap
35521 @if target-winsup
35522 maybe-configure-target-winsup: configure-target-winsup
35523 configure-target-winsup:
35524 @: $(MAKE); $(unstage)
35525 @r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 echo "Checking multilib configuration for winsup..."; \
35528 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35529 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35530 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35531 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35532 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35533 else \
35534 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35535 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35536 fi; \
35537 else \
35538 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35539 fi; \
35540 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35541 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35542 $(NORMAL_TARGET_EXPORTS) \
35543 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35544 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35545 case $(srcdir) in \
35546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35547 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35549 esac; \
35550 srcdiroption="--srcdir=$${topdir}/winsup"; \
35551 libsrcdir="$$s/winsup"; \
35552 rm -f no-such-file || : ; \
35553 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35554 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35555 --target=${target_alias} $${srcdiroption} \
35556 || exit 1
35557 @endif target-winsup
35563 .PHONY: all-target-winsup maybe-all-target-winsup
35564 maybe-all-target-winsup:
35565 @if gcc-bootstrap
35566 all-target-winsup: stage_current
35567 @endif gcc-bootstrap
35568 @if target-winsup
35569 TARGET-target-winsup=all
35570 maybe-all-target-winsup: all-target-winsup
35571 all-target-winsup: configure-target-winsup
35572 @: $(MAKE); $(unstage)
35573 @r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 $(NORMAL_TARGET_EXPORTS) \
35576 (cd $(TARGET_SUBDIR)/winsup && \
35577 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35578 $(TARGET-target-winsup))
35579 @endif target-winsup
35585 .PHONY: check-target-winsup maybe-check-target-winsup
35586 maybe-check-target-winsup:
35587 @if target-winsup
35588 maybe-check-target-winsup: check-target-winsup
35590 check-target-winsup:
35591 @: $(MAKE); $(unstage)
35592 @r=`${PWD_COMMAND}`; export r; \
35593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35594 $(NORMAL_TARGET_EXPORTS) \
35595 (cd $(TARGET_SUBDIR)/winsup && \
35596 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35598 @endif target-winsup
35600 .PHONY: install-target-winsup maybe-install-target-winsup
35601 maybe-install-target-winsup:
35602 @if target-winsup
35603 maybe-install-target-winsup: install-target-winsup
35605 install-target-winsup: installdirs
35606 @: $(MAKE); $(unstage)
35607 @r=`${PWD_COMMAND}`; export r; \
35608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35609 $(NORMAL_TARGET_EXPORTS) \
35610 (cd $(TARGET_SUBDIR)/winsup && \
35611 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35613 @endif target-winsup
35615 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35616 maybe-install-strip-target-winsup:
35617 @if target-winsup
35618 maybe-install-strip-target-winsup: install-strip-target-winsup
35620 install-strip-target-winsup: installdirs
35621 @: $(MAKE); $(unstage)
35622 @r=`${PWD_COMMAND}`; export r; \
35623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35624 $(NORMAL_TARGET_EXPORTS) \
35625 (cd $(TARGET_SUBDIR)/winsup && \
35626 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35628 @endif target-winsup
35630 # Other targets (info, dvi, pdf, etc.)
35632 .PHONY: maybe-info-target-winsup info-target-winsup
35633 maybe-info-target-winsup:
35634 @if target-winsup
35635 maybe-info-target-winsup: info-target-winsup
35637 info-target-winsup: \
35638 configure-target-winsup
35639 @: $(MAKE); $(unstage)
35640 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35641 r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(NORMAL_TARGET_EXPORTS) \
35644 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35645 for flag in $(EXTRA_TARGET_FLAGS); do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 (cd $(TARGET_SUBDIR)/winsup && \
35649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35651 "RANLIB=$${RANLIB}" \
35652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35653 info) \
35654 || exit 1
35656 @endif target-winsup
35658 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35659 maybe-dvi-target-winsup:
35660 @if target-winsup
35661 maybe-dvi-target-winsup: dvi-target-winsup
35663 dvi-target-winsup: \
35664 configure-target-winsup
35665 @: $(MAKE); $(unstage)
35666 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35667 r=`${PWD_COMMAND}`; export r; \
35668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35669 $(NORMAL_TARGET_EXPORTS) \
35670 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35671 for flag in $(EXTRA_TARGET_FLAGS); do \
35672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35673 done; \
35674 (cd $(TARGET_SUBDIR)/winsup && \
35675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35677 "RANLIB=$${RANLIB}" \
35678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35679 dvi) \
35680 || exit 1
35682 @endif target-winsup
35684 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35685 maybe-pdf-target-winsup:
35686 @if target-winsup
35687 maybe-pdf-target-winsup: pdf-target-winsup
35689 pdf-target-winsup: \
35690 configure-target-winsup
35691 @: $(MAKE); $(unstage)
35692 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35693 r=`${PWD_COMMAND}`; export r; \
35694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35695 $(NORMAL_TARGET_EXPORTS) \
35696 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35697 for flag in $(EXTRA_TARGET_FLAGS); do \
35698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35699 done; \
35700 (cd $(TARGET_SUBDIR)/winsup && \
35701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35703 "RANLIB=$${RANLIB}" \
35704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35705 pdf) \
35706 || exit 1
35708 @endif target-winsup
35710 .PHONY: maybe-html-target-winsup html-target-winsup
35711 maybe-html-target-winsup:
35712 @if target-winsup
35713 maybe-html-target-winsup: html-target-winsup
35715 html-target-winsup: \
35716 configure-target-winsup
35717 @: $(MAKE); $(unstage)
35718 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35719 r=`${PWD_COMMAND}`; export r; \
35720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35721 $(NORMAL_TARGET_EXPORTS) \
35722 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35723 for flag in $(EXTRA_TARGET_FLAGS); do \
35724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35725 done; \
35726 (cd $(TARGET_SUBDIR)/winsup && \
35727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35729 "RANLIB=$${RANLIB}" \
35730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35731 html) \
35732 || exit 1
35734 @endif target-winsup
35736 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35737 maybe-TAGS-target-winsup:
35738 @if target-winsup
35739 maybe-TAGS-target-winsup: TAGS-target-winsup
35741 TAGS-target-winsup: \
35742 configure-target-winsup
35743 @: $(MAKE); $(unstage)
35744 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35745 r=`${PWD_COMMAND}`; export r; \
35746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35747 $(NORMAL_TARGET_EXPORTS) \
35748 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35749 for flag in $(EXTRA_TARGET_FLAGS); do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 (cd $(TARGET_SUBDIR)/winsup && \
35753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35755 "RANLIB=$${RANLIB}" \
35756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35757 TAGS) \
35758 || exit 1
35760 @endif target-winsup
35762 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35763 maybe-install-info-target-winsup:
35764 @if target-winsup
35765 maybe-install-info-target-winsup: install-info-target-winsup
35767 install-info-target-winsup: \
35768 configure-target-winsup \
35769 info-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 install-info 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 install-info) \
35785 || exit 1
35787 @endif target-winsup
35789 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35790 maybe-install-pdf-target-winsup:
35791 @if target-winsup
35792 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35794 install-pdf-target-winsup: \
35795 configure-target-winsup \
35796 pdf-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-pdf 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-pdf) \
35812 || exit 1
35814 @endif target-winsup
35816 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35817 maybe-install-html-target-winsup:
35818 @if target-winsup
35819 maybe-install-html-target-winsup: install-html-target-winsup
35821 install-html-target-winsup: \
35822 configure-target-winsup \
35823 html-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-html 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-html) \
35839 || exit 1
35841 @endif target-winsup
35843 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35844 maybe-installcheck-target-winsup:
35845 @if target-winsup
35846 maybe-installcheck-target-winsup: installcheck-target-winsup
35848 installcheck-target-winsup: \
35849 configure-target-winsup
35850 @: $(MAKE); $(unstage)
35851 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35852 r=`${PWD_COMMAND}`; export r; \
35853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35854 $(NORMAL_TARGET_EXPORTS) \
35855 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35856 for flag in $(EXTRA_TARGET_FLAGS); do \
35857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35858 done; \
35859 (cd $(TARGET_SUBDIR)/winsup && \
35860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35862 "RANLIB=$${RANLIB}" \
35863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35864 installcheck) \
35865 || exit 1
35867 @endif target-winsup
35869 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35870 maybe-mostlyclean-target-winsup:
35871 @if target-winsup
35872 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35874 mostlyclean-target-winsup:
35875 @: $(MAKE); $(unstage)
35876 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35877 r=`${PWD_COMMAND}`; export r; \
35878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35879 $(NORMAL_TARGET_EXPORTS) \
35880 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35881 for flag in $(EXTRA_TARGET_FLAGS); do \
35882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35883 done; \
35884 (cd $(TARGET_SUBDIR)/winsup && \
35885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35887 "RANLIB=$${RANLIB}" \
35888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35889 mostlyclean) \
35890 || exit 1
35892 @endif target-winsup
35894 .PHONY: maybe-clean-target-winsup clean-target-winsup
35895 maybe-clean-target-winsup:
35896 @if target-winsup
35897 maybe-clean-target-winsup: clean-target-winsup
35899 clean-target-winsup:
35900 @: $(MAKE); $(unstage)
35901 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35902 r=`${PWD_COMMAND}`; export r; \
35903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35904 $(NORMAL_TARGET_EXPORTS) \
35905 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35906 for flag in $(EXTRA_TARGET_FLAGS); do \
35907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35908 done; \
35909 (cd $(TARGET_SUBDIR)/winsup && \
35910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35912 "RANLIB=$${RANLIB}" \
35913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35914 clean) \
35915 || exit 1
35917 @endif target-winsup
35919 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35920 maybe-distclean-target-winsup:
35921 @if target-winsup
35922 maybe-distclean-target-winsup: distclean-target-winsup
35924 distclean-target-winsup:
35925 @: $(MAKE); $(unstage)
35926 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35927 r=`${PWD_COMMAND}`; export r; \
35928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35929 $(NORMAL_TARGET_EXPORTS) \
35930 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35931 for flag in $(EXTRA_TARGET_FLAGS); do \
35932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35933 done; \
35934 (cd $(TARGET_SUBDIR)/winsup && \
35935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35937 "RANLIB=$${RANLIB}" \
35938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35939 distclean) \
35940 || exit 1
35942 @endif target-winsup
35944 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35945 maybe-maintainer-clean-target-winsup:
35946 @if target-winsup
35947 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35949 maintainer-clean-target-winsup:
35950 @: $(MAKE); $(unstage)
35951 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35952 r=`${PWD_COMMAND}`; export r; \
35953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35954 $(NORMAL_TARGET_EXPORTS) \
35955 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35956 for flag in $(EXTRA_TARGET_FLAGS); do \
35957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35958 done; \
35959 (cd $(TARGET_SUBDIR)/winsup && \
35960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35962 "RANLIB=$${RANLIB}" \
35963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35964 maintainer-clean) \
35965 || exit 1
35967 @endif target-winsup
35973 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
35974 maybe-configure-target-libgloss:
35975 @if gcc-bootstrap
35976 configure-target-libgloss: stage_current
35977 @endif gcc-bootstrap
35978 @if target-libgloss
35979 maybe-configure-target-libgloss: configure-target-libgloss
35980 configure-target-libgloss:
35981 @: $(MAKE); $(unstage)
35982 @r=`${PWD_COMMAND}`; export r; \
35983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35984 echo "Checking multilib configuration for libgloss..."; \
35985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35986 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
35987 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35988 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35989 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
35990 else \
35991 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
35992 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35993 fi; \
35994 else \
35995 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35996 fi; \
35997 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
35998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35999 $(NORMAL_TARGET_EXPORTS) \
36000 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36001 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36002 case $(srcdir) in \
36003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36004 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36006 esac; \
36007 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36008 libsrcdir="$$s/libgloss"; \
36009 rm -f no-such-file || : ; \
36010 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36012 --target=${target_alias} $${srcdiroption} \
36013 || exit 1
36014 @endif target-libgloss
36020 .PHONY: all-target-libgloss maybe-all-target-libgloss
36021 maybe-all-target-libgloss:
36022 @if gcc-bootstrap
36023 all-target-libgloss: stage_current
36024 @endif gcc-bootstrap
36025 @if target-libgloss
36026 TARGET-target-libgloss=all
36027 maybe-all-target-libgloss: all-target-libgloss
36028 all-target-libgloss: configure-target-libgloss
36029 @: $(MAKE); $(unstage)
36030 @r=`${PWD_COMMAND}`; export r; \
36031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36032 $(NORMAL_TARGET_EXPORTS) \
36033 (cd $(TARGET_SUBDIR)/libgloss && \
36034 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36035 $(TARGET-target-libgloss))
36036 @endif target-libgloss
36042 .PHONY: check-target-libgloss maybe-check-target-libgloss
36043 maybe-check-target-libgloss:
36044 @if target-libgloss
36045 maybe-check-target-libgloss: check-target-libgloss
36047 # Dummy target for uncheckable module.
36048 check-target-libgloss:
36050 @endif target-libgloss
36052 .PHONY: install-target-libgloss maybe-install-target-libgloss
36053 maybe-install-target-libgloss:
36054 @if target-libgloss
36055 maybe-install-target-libgloss: install-target-libgloss
36057 install-target-libgloss: installdirs
36058 @: $(MAKE); $(unstage)
36059 @r=`${PWD_COMMAND}`; export r; \
36060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36061 $(NORMAL_TARGET_EXPORTS) \
36062 (cd $(TARGET_SUBDIR)/libgloss && \
36063 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36065 @endif target-libgloss
36067 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36068 maybe-install-strip-target-libgloss:
36069 @if target-libgloss
36070 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36072 install-strip-target-libgloss: installdirs
36073 @: $(MAKE); $(unstage)
36074 @r=`${PWD_COMMAND}`; export r; \
36075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36076 $(NORMAL_TARGET_EXPORTS) \
36077 (cd $(TARGET_SUBDIR)/libgloss && \
36078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36080 @endif target-libgloss
36082 # Other targets (info, dvi, pdf, etc.)
36084 .PHONY: maybe-info-target-libgloss info-target-libgloss
36085 maybe-info-target-libgloss:
36086 @if target-libgloss
36087 maybe-info-target-libgloss: info-target-libgloss
36089 info-target-libgloss: \
36090 configure-target-libgloss
36091 @: $(MAKE); $(unstage)
36092 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36093 r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(NORMAL_TARGET_EXPORTS) \
36096 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36097 for flag in $(EXTRA_TARGET_FLAGS); do \
36098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36099 done; \
36100 (cd $(TARGET_SUBDIR)/libgloss && \
36101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36103 "RANLIB=$${RANLIB}" \
36104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36105 info) \
36106 || exit 1
36108 @endif target-libgloss
36110 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36111 maybe-dvi-target-libgloss:
36112 @if target-libgloss
36113 maybe-dvi-target-libgloss: dvi-target-libgloss
36115 dvi-target-libgloss: \
36116 configure-target-libgloss
36117 @: $(MAKE); $(unstage)
36118 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36123 for flag in $(EXTRA_TARGET_FLAGS); do \
36124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36125 done; \
36126 (cd $(TARGET_SUBDIR)/libgloss && \
36127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36129 "RANLIB=$${RANLIB}" \
36130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36131 dvi) \
36132 || exit 1
36134 @endif target-libgloss
36136 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36137 maybe-pdf-target-libgloss:
36138 @if target-libgloss
36139 maybe-pdf-target-libgloss: pdf-target-libgloss
36141 pdf-target-libgloss: \
36142 configure-target-libgloss
36143 @: $(MAKE); $(unstage)
36144 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36145 r=`${PWD_COMMAND}`; export r; \
36146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36147 $(NORMAL_TARGET_EXPORTS) \
36148 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36149 for flag in $(EXTRA_TARGET_FLAGS); do \
36150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36151 done; \
36152 (cd $(TARGET_SUBDIR)/libgloss && \
36153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36155 "RANLIB=$${RANLIB}" \
36156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36157 pdf) \
36158 || exit 1
36160 @endif target-libgloss
36162 .PHONY: maybe-html-target-libgloss html-target-libgloss
36163 maybe-html-target-libgloss:
36164 @if target-libgloss
36165 maybe-html-target-libgloss: html-target-libgloss
36167 html-target-libgloss: \
36168 configure-target-libgloss
36169 @: $(MAKE); $(unstage)
36170 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36171 r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 $(NORMAL_TARGET_EXPORTS) \
36174 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36175 for flag in $(EXTRA_TARGET_FLAGS); do \
36176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36177 done; \
36178 (cd $(TARGET_SUBDIR)/libgloss && \
36179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36181 "RANLIB=$${RANLIB}" \
36182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36183 html) \
36184 || exit 1
36186 @endif target-libgloss
36188 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36189 maybe-TAGS-target-libgloss:
36190 @if target-libgloss
36191 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36193 TAGS-target-libgloss: \
36194 configure-target-libgloss
36195 @: $(MAKE); $(unstage)
36196 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36197 r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(NORMAL_TARGET_EXPORTS) \
36200 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36201 for flag in $(EXTRA_TARGET_FLAGS); do \
36202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36203 done; \
36204 (cd $(TARGET_SUBDIR)/libgloss && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36207 "RANLIB=$${RANLIB}" \
36208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36209 TAGS) \
36210 || exit 1
36212 @endif target-libgloss
36214 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36215 maybe-install-info-target-libgloss:
36216 @if target-libgloss
36217 maybe-install-info-target-libgloss: install-info-target-libgloss
36219 install-info-target-libgloss: \
36220 configure-target-libgloss \
36221 info-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 install-info 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 install-info) \
36237 || exit 1
36239 @endif target-libgloss
36241 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36242 maybe-install-pdf-target-libgloss:
36243 @if target-libgloss
36244 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36246 install-pdf-target-libgloss: \
36247 configure-target-libgloss \
36248 pdf-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-pdf 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-pdf) \
36264 || exit 1
36266 @endif target-libgloss
36268 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36269 maybe-install-html-target-libgloss:
36270 @if target-libgloss
36271 maybe-install-html-target-libgloss: install-html-target-libgloss
36273 install-html-target-libgloss: \
36274 configure-target-libgloss \
36275 html-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-html 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-html) \
36291 || exit 1
36293 @endif target-libgloss
36295 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36296 maybe-installcheck-target-libgloss:
36297 @if target-libgloss
36298 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36300 installcheck-target-libgloss: \
36301 configure-target-libgloss
36302 @: $(MAKE); $(unstage)
36303 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36304 r=`${PWD_COMMAND}`; export r; \
36305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36306 $(NORMAL_TARGET_EXPORTS) \
36307 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36308 for flag in $(EXTRA_TARGET_FLAGS); do \
36309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36310 done; \
36311 (cd $(TARGET_SUBDIR)/libgloss && \
36312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36314 "RANLIB=$${RANLIB}" \
36315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36316 installcheck) \
36317 || exit 1
36319 @endif target-libgloss
36321 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36322 maybe-mostlyclean-target-libgloss:
36323 @if target-libgloss
36324 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36326 mostlyclean-target-libgloss:
36327 @: $(MAKE); $(unstage)
36328 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36329 r=`${PWD_COMMAND}`; export r; \
36330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36331 $(NORMAL_TARGET_EXPORTS) \
36332 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36333 for flag in $(EXTRA_TARGET_FLAGS); do \
36334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36335 done; \
36336 (cd $(TARGET_SUBDIR)/libgloss && \
36337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36339 "RANLIB=$${RANLIB}" \
36340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36341 mostlyclean) \
36342 || exit 1
36344 @endif target-libgloss
36346 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36347 maybe-clean-target-libgloss:
36348 @if target-libgloss
36349 maybe-clean-target-libgloss: clean-target-libgloss
36351 clean-target-libgloss:
36352 @: $(MAKE); $(unstage)
36353 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36354 r=`${PWD_COMMAND}`; export r; \
36355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36356 $(NORMAL_TARGET_EXPORTS) \
36357 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36358 for flag in $(EXTRA_TARGET_FLAGS); do \
36359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36360 done; \
36361 (cd $(TARGET_SUBDIR)/libgloss && \
36362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36364 "RANLIB=$${RANLIB}" \
36365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36366 clean) \
36367 || exit 1
36369 @endif target-libgloss
36371 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36372 maybe-distclean-target-libgloss:
36373 @if target-libgloss
36374 maybe-distclean-target-libgloss: distclean-target-libgloss
36376 distclean-target-libgloss:
36377 @: $(MAKE); $(unstage)
36378 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36379 r=`${PWD_COMMAND}`; export r; \
36380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36381 $(NORMAL_TARGET_EXPORTS) \
36382 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36383 for flag in $(EXTRA_TARGET_FLAGS); do \
36384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36385 done; \
36386 (cd $(TARGET_SUBDIR)/libgloss && \
36387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36389 "RANLIB=$${RANLIB}" \
36390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36391 distclean) \
36392 || exit 1
36394 @endif target-libgloss
36396 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36397 maybe-maintainer-clean-target-libgloss:
36398 @if target-libgloss
36399 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36401 maintainer-clean-target-libgloss:
36402 @: $(MAKE); $(unstage)
36403 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36404 r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 $(NORMAL_TARGET_EXPORTS) \
36407 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36408 for flag in $(EXTRA_TARGET_FLAGS); do \
36409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36410 done; \
36411 (cd $(TARGET_SUBDIR)/libgloss && \
36412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36414 "RANLIB=$${RANLIB}" \
36415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36416 maintainer-clean) \
36417 || exit 1
36419 @endif target-libgloss
36425 .PHONY: configure-target-libffi maybe-configure-target-libffi
36426 maybe-configure-target-libffi:
36427 @if gcc-bootstrap
36428 configure-target-libffi: stage_current
36429 @endif gcc-bootstrap
36430 @if target-libffi
36431 maybe-configure-target-libffi: configure-target-libffi
36432 configure-target-libffi:
36433 @: $(MAKE); $(unstage)
36434 @r=`${PWD_COMMAND}`; export r; \
36435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36436 echo "Checking multilib configuration for libffi..."; \
36437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36438 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36439 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36440 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36441 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36442 else \
36443 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36444 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36445 fi; \
36446 else \
36447 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36448 fi; \
36449 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36450 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36451 $(NORMAL_TARGET_EXPORTS) \
36452 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36453 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36454 case $(srcdir) in \
36455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36456 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36458 esac; \
36459 srcdiroption="--srcdir=$${topdir}/libffi"; \
36460 libsrcdir="$$s/libffi"; \
36461 rm -f no-such-file || : ; \
36462 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36464 --target=${target_alias} $${srcdiroption} \
36465 || exit 1
36466 @endif target-libffi
36472 .PHONY: all-target-libffi maybe-all-target-libffi
36473 maybe-all-target-libffi:
36474 @if gcc-bootstrap
36475 all-target-libffi: stage_current
36476 @endif gcc-bootstrap
36477 @if target-libffi
36478 TARGET-target-libffi=all
36479 maybe-all-target-libffi: all-target-libffi
36480 all-target-libffi: configure-target-libffi
36481 @: $(MAKE); $(unstage)
36482 @r=`${PWD_COMMAND}`; export r; \
36483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36484 $(NORMAL_TARGET_EXPORTS) \
36485 (cd $(TARGET_SUBDIR)/libffi && \
36486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36487 $(TARGET-target-libffi))
36488 @endif target-libffi
36494 .PHONY: check-target-libffi maybe-check-target-libffi
36495 maybe-check-target-libffi:
36496 @if target-libffi
36497 maybe-check-target-libffi: check-target-libffi
36499 check-target-libffi:
36500 @: $(MAKE); $(unstage)
36501 @r=`${PWD_COMMAND}`; export r; \
36502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36503 $(NORMAL_TARGET_EXPORTS) \
36504 (cd $(TARGET_SUBDIR)/libffi && \
36505 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36507 @endif target-libffi
36509 .PHONY: install-target-libffi maybe-install-target-libffi
36510 maybe-install-target-libffi:
36511 @if target-libffi
36512 maybe-install-target-libffi: install-target-libffi
36514 install-target-libffi: installdirs
36515 @: $(MAKE); $(unstage)
36516 @r=`${PWD_COMMAND}`; export r; \
36517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36518 $(NORMAL_TARGET_EXPORTS) \
36519 (cd $(TARGET_SUBDIR)/libffi && \
36520 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36522 @endif target-libffi
36524 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36525 maybe-install-strip-target-libffi:
36526 @if target-libffi
36527 maybe-install-strip-target-libffi: install-strip-target-libffi
36529 install-strip-target-libffi: installdirs
36530 @: $(MAKE); $(unstage)
36531 @r=`${PWD_COMMAND}`; export r; \
36532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36533 $(NORMAL_TARGET_EXPORTS) \
36534 (cd $(TARGET_SUBDIR)/libffi && \
36535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36537 @endif target-libffi
36539 # Other targets (info, dvi, pdf, etc.)
36541 .PHONY: maybe-info-target-libffi info-target-libffi
36542 maybe-info-target-libffi:
36543 @if target-libffi
36544 maybe-info-target-libffi: info-target-libffi
36546 info-target-libffi: \
36547 configure-target-libffi
36548 @: $(MAKE); $(unstage)
36549 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36550 r=`${PWD_COMMAND}`; export r; \
36551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36552 $(NORMAL_TARGET_EXPORTS) \
36553 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36554 for flag in $(EXTRA_TARGET_FLAGS); do \
36555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36556 done; \
36557 (cd $(TARGET_SUBDIR)/libffi && \
36558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36560 "RANLIB=$${RANLIB}" \
36561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36562 info) \
36563 || exit 1
36565 @endif target-libffi
36567 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36568 maybe-dvi-target-libffi:
36569 @if target-libffi
36570 maybe-dvi-target-libffi: dvi-target-libffi
36572 dvi-target-libffi: \
36573 configure-target-libffi
36574 @: $(MAKE); $(unstage)
36575 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36576 r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(NORMAL_TARGET_EXPORTS) \
36579 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36580 for flag in $(EXTRA_TARGET_FLAGS); do \
36581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36582 done; \
36583 (cd $(TARGET_SUBDIR)/libffi && \
36584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36586 "RANLIB=$${RANLIB}" \
36587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36588 dvi) \
36589 || exit 1
36591 @endif target-libffi
36593 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36594 maybe-pdf-target-libffi:
36595 @if target-libffi
36596 maybe-pdf-target-libffi: pdf-target-libffi
36598 pdf-target-libffi: \
36599 configure-target-libffi
36600 @: $(MAKE); $(unstage)
36601 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36602 r=`${PWD_COMMAND}`; export r; \
36603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36604 $(NORMAL_TARGET_EXPORTS) \
36605 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36606 for flag in $(EXTRA_TARGET_FLAGS); do \
36607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36608 done; \
36609 (cd $(TARGET_SUBDIR)/libffi && \
36610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36612 "RANLIB=$${RANLIB}" \
36613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36614 pdf) \
36615 || exit 1
36617 @endif target-libffi
36619 .PHONY: maybe-html-target-libffi html-target-libffi
36620 maybe-html-target-libffi:
36621 @if target-libffi
36622 maybe-html-target-libffi: html-target-libffi
36624 html-target-libffi: \
36625 configure-target-libffi
36626 @: $(MAKE); $(unstage)
36627 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36628 r=`${PWD_COMMAND}`; export r; \
36629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36630 $(NORMAL_TARGET_EXPORTS) \
36631 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36632 for flag in $(EXTRA_TARGET_FLAGS); do \
36633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36634 done; \
36635 (cd $(TARGET_SUBDIR)/libffi && \
36636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36638 "RANLIB=$${RANLIB}" \
36639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36640 html) \
36641 || exit 1
36643 @endif target-libffi
36645 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36646 maybe-TAGS-target-libffi:
36647 @if target-libffi
36648 maybe-TAGS-target-libffi: TAGS-target-libffi
36650 TAGS-target-libffi: \
36651 configure-target-libffi
36652 @: $(MAKE); $(unstage)
36653 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36654 r=`${PWD_COMMAND}`; export r; \
36655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36656 $(NORMAL_TARGET_EXPORTS) \
36657 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36658 for flag in $(EXTRA_TARGET_FLAGS); do \
36659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36660 done; \
36661 (cd $(TARGET_SUBDIR)/libffi && \
36662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36664 "RANLIB=$${RANLIB}" \
36665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36666 TAGS) \
36667 || exit 1
36669 @endif target-libffi
36671 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36672 maybe-install-info-target-libffi:
36673 @if target-libffi
36674 maybe-install-info-target-libffi: install-info-target-libffi
36676 install-info-target-libffi: \
36677 configure-target-libffi \
36678 info-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 install-info 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 install-info) \
36694 || exit 1
36696 @endif target-libffi
36698 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36699 maybe-install-pdf-target-libffi:
36700 @if target-libffi
36701 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36703 install-pdf-target-libffi: \
36704 configure-target-libffi \
36705 pdf-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-pdf 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-pdf) \
36721 || exit 1
36723 @endif target-libffi
36725 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36726 maybe-install-html-target-libffi:
36727 @if target-libffi
36728 maybe-install-html-target-libffi: install-html-target-libffi
36730 install-html-target-libffi: \
36731 configure-target-libffi \
36732 html-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-html 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-html) \
36748 || exit 1
36750 @endif target-libffi
36752 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36753 maybe-installcheck-target-libffi:
36754 @if target-libffi
36755 maybe-installcheck-target-libffi: installcheck-target-libffi
36757 installcheck-target-libffi: \
36758 configure-target-libffi
36759 @: $(MAKE); $(unstage)
36760 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36761 r=`${PWD_COMMAND}`; export r; \
36762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36763 $(NORMAL_TARGET_EXPORTS) \
36764 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36765 for flag in $(EXTRA_TARGET_FLAGS); do \
36766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36767 done; \
36768 (cd $(TARGET_SUBDIR)/libffi && \
36769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36771 "RANLIB=$${RANLIB}" \
36772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36773 installcheck) \
36774 || exit 1
36776 @endif target-libffi
36778 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36779 maybe-mostlyclean-target-libffi:
36780 @if target-libffi
36781 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36783 mostlyclean-target-libffi:
36784 @: $(MAKE); $(unstage)
36785 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36786 r=`${PWD_COMMAND}`; export r; \
36787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36788 $(NORMAL_TARGET_EXPORTS) \
36789 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36790 for flag in $(EXTRA_TARGET_FLAGS); do \
36791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36792 done; \
36793 (cd $(TARGET_SUBDIR)/libffi && \
36794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36796 "RANLIB=$${RANLIB}" \
36797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36798 mostlyclean) \
36799 || exit 1
36801 @endif target-libffi
36803 .PHONY: maybe-clean-target-libffi clean-target-libffi
36804 maybe-clean-target-libffi:
36805 @if target-libffi
36806 maybe-clean-target-libffi: clean-target-libffi
36808 clean-target-libffi:
36809 @: $(MAKE); $(unstage)
36810 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36811 r=`${PWD_COMMAND}`; export r; \
36812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36813 $(NORMAL_TARGET_EXPORTS) \
36814 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36815 for flag in $(EXTRA_TARGET_FLAGS); do \
36816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36817 done; \
36818 (cd $(TARGET_SUBDIR)/libffi && \
36819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36821 "RANLIB=$${RANLIB}" \
36822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36823 clean) \
36824 || exit 1
36826 @endif target-libffi
36828 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36829 maybe-distclean-target-libffi:
36830 @if target-libffi
36831 maybe-distclean-target-libffi: distclean-target-libffi
36833 distclean-target-libffi:
36834 @: $(MAKE); $(unstage)
36835 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36836 r=`${PWD_COMMAND}`; export r; \
36837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36838 $(NORMAL_TARGET_EXPORTS) \
36839 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36840 for flag in $(EXTRA_TARGET_FLAGS); do \
36841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36842 done; \
36843 (cd $(TARGET_SUBDIR)/libffi && \
36844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36846 "RANLIB=$${RANLIB}" \
36847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36848 distclean) \
36849 || exit 1
36851 @endif target-libffi
36853 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36854 maybe-maintainer-clean-target-libffi:
36855 @if target-libffi
36856 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36858 maintainer-clean-target-libffi:
36859 @: $(MAKE); $(unstage)
36860 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36861 r=`${PWD_COMMAND}`; export r; \
36862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36863 $(NORMAL_TARGET_EXPORTS) \
36864 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36865 for flag in $(EXTRA_TARGET_FLAGS); do \
36866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36867 done; \
36868 (cd $(TARGET_SUBDIR)/libffi && \
36869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36871 "RANLIB=$${RANLIB}" \
36872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36873 maintainer-clean) \
36874 || exit 1
36876 @endif target-libffi
36882 .PHONY: configure-target-libjava maybe-configure-target-libjava
36883 maybe-configure-target-libjava:
36884 @if gcc-bootstrap
36885 configure-target-libjava: stage_current
36886 @endif gcc-bootstrap
36887 @if target-libjava
36888 maybe-configure-target-libjava: configure-target-libjava
36889 configure-target-libjava:
36890 @: $(MAKE); $(unstage)
36891 @r=`${PWD_COMMAND}`; export r; \
36892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36893 echo "Checking multilib configuration for libjava..."; \
36894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36896 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36897 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36898 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36899 else \
36900 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36901 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36902 fi; \
36903 else \
36904 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36905 fi; \
36906 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36908 $(RAW_CXX_TARGET_EXPORTS) \
36909 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36910 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36911 case $(srcdir) in \
36912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36913 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36915 esac; \
36916 srcdiroption="--srcdir=$${topdir}/libjava"; \
36917 libsrcdir="$$s/libjava"; \
36918 rm -f no-such-file || : ; \
36919 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36920 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36921 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36922 || exit 1
36923 @endif target-libjava
36929 .PHONY: all-target-libjava maybe-all-target-libjava
36930 maybe-all-target-libjava:
36931 @if gcc-bootstrap
36932 all-target-libjava: stage_current
36933 @endif gcc-bootstrap
36934 @if target-libjava
36935 TARGET-target-libjava=all
36936 maybe-all-target-libjava: all-target-libjava
36937 all-target-libjava: configure-target-libjava
36938 @: $(MAKE); $(unstage)
36939 @r=`${PWD_COMMAND}`; export r; \
36940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36941 $(RAW_CXX_TARGET_EXPORTS) \
36942 (cd $(TARGET_SUBDIR)/libjava && \
36943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36944 $(TARGET-target-libjava))
36945 @endif target-libjava
36951 .PHONY: check-target-libjava maybe-check-target-libjava
36952 maybe-check-target-libjava:
36953 @if target-libjava
36954 maybe-check-target-libjava: check-target-libjava
36956 check-target-libjava:
36957 @: $(MAKE); $(unstage)
36958 @r=`${PWD_COMMAND}`; export r; \
36959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36960 $(RAW_CXX_TARGET_EXPORTS) \
36961 (cd $(TARGET_SUBDIR)/libjava && \
36962 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36964 @endif target-libjava
36966 .PHONY: install-target-libjava maybe-install-target-libjava
36967 maybe-install-target-libjava:
36968 @if target-libjava
36969 maybe-install-target-libjava: install-target-libjava
36971 install-target-libjava: installdirs
36972 @: $(MAKE); $(unstage)
36973 @r=`${PWD_COMMAND}`; export r; \
36974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36975 $(RAW_CXX_TARGET_EXPORTS) \
36976 (cd $(TARGET_SUBDIR)/libjava && \
36977 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36979 @endif target-libjava
36981 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
36982 maybe-install-strip-target-libjava:
36983 @if target-libjava
36984 maybe-install-strip-target-libjava: install-strip-target-libjava
36986 install-strip-target-libjava: installdirs
36987 @: $(MAKE); $(unstage)
36988 @r=`${PWD_COMMAND}`; export r; \
36989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36990 $(RAW_CXX_TARGET_EXPORTS) \
36991 (cd $(TARGET_SUBDIR)/libjava && \
36992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36994 @endif target-libjava
36996 # Other targets (info, dvi, pdf, etc.)
36998 .PHONY: maybe-info-target-libjava info-target-libjava
36999 maybe-info-target-libjava:
37000 @if target-libjava
37001 maybe-info-target-libjava: info-target-libjava
37003 info-target-libjava: \
37004 configure-target-libjava
37005 @: $(MAKE); $(unstage)
37006 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37007 r=`${PWD_COMMAND}`; export r; \
37008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37009 $(RAW_CXX_TARGET_EXPORTS) \
37010 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37011 for flag in $(EXTRA_TARGET_FLAGS); do \
37012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37013 done; \
37014 (cd $(TARGET_SUBDIR)/libjava && \
37015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37017 "RANLIB=$${RANLIB}" \
37018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37019 info) \
37020 || exit 1
37022 @endif target-libjava
37024 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37025 maybe-dvi-target-libjava:
37026 @if target-libjava
37027 maybe-dvi-target-libjava: dvi-target-libjava
37029 dvi-target-libjava: \
37030 configure-target-libjava
37031 @: $(MAKE); $(unstage)
37032 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37033 r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(RAW_CXX_TARGET_EXPORTS) \
37036 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37037 for flag in $(EXTRA_TARGET_FLAGS); do \
37038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37039 done; \
37040 (cd $(TARGET_SUBDIR)/libjava && \
37041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37043 "RANLIB=$${RANLIB}" \
37044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37045 dvi) \
37046 || exit 1
37048 @endif target-libjava
37050 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37051 maybe-pdf-target-libjava:
37052 @if target-libjava
37053 maybe-pdf-target-libjava: pdf-target-libjava
37055 pdf-target-libjava: \
37056 configure-target-libjava
37057 @: $(MAKE); $(unstage)
37058 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37059 r=`${PWD_COMMAND}`; export r; \
37060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37061 $(RAW_CXX_TARGET_EXPORTS) \
37062 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37063 for flag in $(EXTRA_TARGET_FLAGS); do \
37064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37065 done; \
37066 (cd $(TARGET_SUBDIR)/libjava && \
37067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37069 "RANLIB=$${RANLIB}" \
37070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37071 pdf) \
37072 || exit 1
37074 @endif target-libjava
37076 .PHONY: maybe-html-target-libjava html-target-libjava
37077 maybe-html-target-libjava:
37078 @if target-libjava
37079 maybe-html-target-libjava: html-target-libjava
37081 html-target-libjava: \
37082 configure-target-libjava
37083 @: $(MAKE); $(unstage)
37084 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37085 r=`${PWD_COMMAND}`; export r; \
37086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37087 $(RAW_CXX_TARGET_EXPORTS) \
37088 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37089 for flag in $(EXTRA_TARGET_FLAGS); do \
37090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37091 done; \
37092 (cd $(TARGET_SUBDIR)/libjava && \
37093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37095 "RANLIB=$${RANLIB}" \
37096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37097 html) \
37098 || exit 1
37100 @endif target-libjava
37102 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37103 maybe-TAGS-target-libjava:
37104 @if target-libjava
37105 maybe-TAGS-target-libjava: TAGS-target-libjava
37107 TAGS-target-libjava: \
37108 configure-target-libjava
37109 @: $(MAKE); $(unstage)
37110 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37111 r=`${PWD_COMMAND}`; export r; \
37112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37113 $(RAW_CXX_TARGET_EXPORTS) \
37114 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37115 for flag in $(EXTRA_TARGET_FLAGS); do \
37116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37117 done; \
37118 (cd $(TARGET_SUBDIR)/libjava && \
37119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37121 "RANLIB=$${RANLIB}" \
37122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37123 TAGS) \
37124 || exit 1
37126 @endif target-libjava
37128 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37129 maybe-install-info-target-libjava:
37130 @if target-libjava
37131 maybe-install-info-target-libjava: install-info-target-libjava
37133 install-info-target-libjava: \
37134 configure-target-libjava \
37135 info-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 install-info 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 install-info) \
37151 || exit 1
37153 @endif target-libjava
37155 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37156 maybe-install-pdf-target-libjava:
37157 @if target-libjava
37158 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37160 install-pdf-target-libjava: \
37161 configure-target-libjava \
37162 pdf-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-pdf 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-pdf) \
37178 || exit 1
37180 @endif target-libjava
37182 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37183 maybe-install-html-target-libjava:
37184 @if target-libjava
37185 maybe-install-html-target-libjava: install-html-target-libjava
37187 install-html-target-libjava: \
37188 configure-target-libjava \
37189 html-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-html 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-html) \
37205 || exit 1
37207 @endif target-libjava
37209 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37210 maybe-installcheck-target-libjava:
37211 @if target-libjava
37212 maybe-installcheck-target-libjava: installcheck-target-libjava
37214 installcheck-target-libjava: \
37215 configure-target-libjava
37216 @: $(MAKE); $(unstage)
37217 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37218 r=`${PWD_COMMAND}`; export r; \
37219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37220 $(RAW_CXX_TARGET_EXPORTS) \
37221 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37222 for flag in $(EXTRA_TARGET_FLAGS); do \
37223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37224 done; \
37225 (cd $(TARGET_SUBDIR)/libjava && \
37226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37228 "RANLIB=$${RANLIB}" \
37229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37230 installcheck) \
37231 || exit 1
37233 @endif target-libjava
37235 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37236 maybe-mostlyclean-target-libjava:
37237 @if target-libjava
37238 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37240 mostlyclean-target-libjava:
37241 @: $(MAKE); $(unstage)
37242 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37243 r=`${PWD_COMMAND}`; export r; \
37244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37245 $(RAW_CXX_TARGET_EXPORTS) \
37246 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37247 for flag in $(EXTRA_TARGET_FLAGS); do \
37248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37249 done; \
37250 (cd $(TARGET_SUBDIR)/libjava && \
37251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37253 "RANLIB=$${RANLIB}" \
37254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37255 mostlyclean) \
37256 || exit 1
37258 @endif target-libjava
37260 .PHONY: maybe-clean-target-libjava clean-target-libjava
37261 maybe-clean-target-libjava:
37262 @if target-libjava
37263 maybe-clean-target-libjava: clean-target-libjava
37265 clean-target-libjava:
37266 @: $(MAKE); $(unstage)
37267 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37268 r=`${PWD_COMMAND}`; export r; \
37269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37270 $(RAW_CXX_TARGET_EXPORTS) \
37271 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37272 for flag in $(EXTRA_TARGET_FLAGS); do \
37273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37274 done; \
37275 (cd $(TARGET_SUBDIR)/libjava && \
37276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37278 "RANLIB=$${RANLIB}" \
37279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37280 clean) \
37281 || exit 1
37283 @endif target-libjava
37285 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37286 maybe-distclean-target-libjava:
37287 @if target-libjava
37288 maybe-distclean-target-libjava: distclean-target-libjava
37290 distclean-target-libjava:
37291 @: $(MAKE); $(unstage)
37292 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37293 r=`${PWD_COMMAND}`; export r; \
37294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37295 $(RAW_CXX_TARGET_EXPORTS) \
37296 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37297 for flag in $(EXTRA_TARGET_FLAGS); do \
37298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37299 done; \
37300 (cd $(TARGET_SUBDIR)/libjava && \
37301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37303 "RANLIB=$${RANLIB}" \
37304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37305 distclean) \
37306 || exit 1
37308 @endif target-libjava
37310 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37311 maybe-maintainer-clean-target-libjava:
37312 @if target-libjava
37313 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37315 maintainer-clean-target-libjava:
37316 @: $(MAKE); $(unstage)
37317 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37318 r=`${PWD_COMMAND}`; export r; \
37319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37320 $(RAW_CXX_TARGET_EXPORTS) \
37321 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37322 for flag in $(EXTRA_TARGET_FLAGS); do \
37323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37324 done; \
37325 (cd $(TARGET_SUBDIR)/libjava && \
37326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37328 "RANLIB=$${RANLIB}" \
37329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37330 maintainer-clean) \
37331 || exit 1
37333 @endif target-libjava
37339 .PHONY: configure-target-zlib maybe-configure-target-zlib
37340 maybe-configure-target-zlib:
37341 @if gcc-bootstrap
37342 configure-target-zlib: stage_current
37343 @endif gcc-bootstrap
37344 @if target-zlib
37345 maybe-configure-target-zlib: configure-target-zlib
37346 configure-target-zlib:
37347 @: $(MAKE); $(unstage)
37348 @r=`${PWD_COMMAND}`; export r; \
37349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37350 echo "Checking multilib configuration for zlib..."; \
37351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37352 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37353 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37354 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37355 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37356 else \
37357 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37358 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37359 fi; \
37360 else \
37361 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37362 fi; \
37363 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37365 $(NORMAL_TARGET_EXPORTS) \
37366 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37367 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37368 case $(srcdir) in \
37369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37370 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37372 esac; \
37373 srcdiroption="--srcdir=$${topdir}/zlib"; \
37374 libsrcdir="$$s/zlib"; \
37375 rm -f no-such-file || : ; \
37376 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37377 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37378 --target=${target_alias} $${srcdiroption} \
37379 || exit 1
37380 @endif target-zlib
37386 .PHONY: all-target-zlib maybe-all-target-zlib
37387 maybe-all-target-zlib:
37388 @if gcc-bootstrap
37389 all-target-zlib: stage_current
37390 @endif gcc-bootstrap
37391 @if target-zlib
37392 TARGET-target-zlib=all
37393 maybe-all-target-zlib: all-target-zlib
37394 all-target-zlib: configure-target-zlib
37395 @: $(MAKE); $(unstage)
37396 @r=`${PWD_COMMAND}`; export r; \
37397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37398 $(NORMAL_TARGET_EXPORTS) \
37399 (cd $(TARGET_SUBDIR)/zlib && \
37400 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37401 $(TARGET-target-zlib))
37402 @endif target-zlib
37408 .PHONY: check-target-zlib maybe-check-target-zlib
37409 maybe-check-target-zlib:
37410 @if target-zlib
37411 maybe-check-target-zlib: check-target-zlib
37413 check-target-zlib:
37414 @: $(MAKE); $(unstage)
37415 @r=`${PWD_COMMAND}`; export r; \
37416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37417 $(NORMAL_TARGET_EXPORTS) \
37418 (cd $(TARGET_SUBDIR)/zlib && \
37419 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37421 @endif target-zlib
37423 .PHONY: install-target-zlib maybe-install-target-zlib
37424 maybe-install-target-zlib:
37425 @if target-zlib
37426 maybe-install-target-zlib: install-target-zlib
37428 install-target-zlib: installdirs
37429 @: $(MAKE); $(unstage)
37430 @r=`${PWD_COMMAND}`; export r; \
37431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37432 $(NORMAL_TARGET_EXPORTS) \
37433 (cd $(TARGET_SUBDIR)/zlib && \
37434 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37436 @endif target-zlib
37438 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37439 maybe-install-strip-target-zlib:
37440 @if target-zlib
37441 maybe-install-strip-target-zlib: install-strip-target-zlib
37443 install-strip-target-zlib: installdirs
37444 @: $(MAKE); $(unstage)
37445 @r=`${PWD_COMMAND}`; export r; \
37446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37447 $(NORMAL_TARGET_EXPORTS) \
37448 (cd $(TARGET_SUBDIR)/zlib && \
37449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37451 @endif target-zlib
37453 # Other targets (info, dvi, pdf, etc.)
37455 .PHONY: maybe-info-target-zlib info-target-zlib
37456 maybe-info-target-zlib:
37457 @if target-zlib
37458 maybe-info-target-zlib: info-target-zlib
37460 info-target-zlib: \
37461 configure-target-zlib
37462 @: $(MAKE); $(unstage)
37463 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37464 r=`${PWD_COMMAND}`; export r; \
37465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37466 $(NORMAL_TARGET_EXPORTS) \
37467 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37468 for flag in $(EXTRA_TARGET_FLAGS); do \
37469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37470 done; \
37471 (cd $(TARGET_SUBDIR)/zlib && \
37472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37474 "RANLIB=$${RANLIB}" \
37475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37476 info) \
37477 || exit 1
37479 @endif target-zlib
37481 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37482 maybe-dvi-target-zlib:
37483 @if target-zlib
37484 maybe-dvi-target-zlib: dvi-target-zlib
37486 dvi-target-zlib: \
37487 configure-target-zlib
37488 @: $(MAKE); $(unstage)
37489 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37490 r=`${PWD_COMMAND}`; export r; \
37491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37492 $(NORMAL_TARGET_EXPORTS) \
37493 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37494 for flag in $(EXTRA_TARGET_FLAGS); do \
37495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37496 done; \
37497 (cd $(TARGET_SUBDIR)/zlib && \
37498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37500 "RANLIB=$${RANLIB}" \
37501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37502 dvi) \
37503 || exit 1
37505 @endif target-zlib
37507 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37508 maybe-pdf-target-zlib:
37509 @if target-zlib
37510 maybe-pdf-target-zlib: pdf-target-zlib
37512 pdf-target-zlib: \
37513 configure-target-zlib
37514 @: $(MAKE); $(unstage)
37515 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37516 r=`${PWD_COMMAND}`; export r; \
37517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37518 $(NORMAL_TARGET_EXPORTS) \
37519 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37520 for flag in $(EXTRA_TARGET_FLAGS); do \
37521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37522 done; \
37523 (cd $(TARGET_SUBDIR)/zlib && \
37524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37526 "RANLIB=$${RANLIB}" \
37527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37528 pdf) \
37529 || exit 1
37531 @endif target-zlib
37533 .PHONY: maybe-html-target-zlib html-target-zlib
37534 maybe-html-target-zlib:
37535 @if target-zlib
37536 maybe-html-target-zlib: html-target-zlib
37538 html-target-zlib: \
37539 configure-target-zlib
37540 @: $(MAKE); $(unstage)
37541 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37542 r=`${PWD_COMMAND}`; export r; \
37543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37544 $(NORMAL_TARGET_EXPORTS) \
37545 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37546 for flag in $(EXTRA_TARGET_FLAGS); do \
37547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37548 done; \
37549 (cd $(TARGET_SUBDIR)/zlib && \
37550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37552 "RANLIB=$${RANLIB}" \
37553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37554 html) \
37555 || exit 1
37557 @endif target-zlib
37559 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37560 maybe-TAGS-target-zlib:
37561 @if target-zlib
37562 maybe-TAGS-target-zlib: TAGS-target-zlib
37564 TAGS-target-zlib: \
37565 configure-target-zlib
37566 @: $(MAKE); $(unstage)
37567 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37568 r=`${PWD_COMMAND}`; export r; \
37569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37570 $(NORMAL_TARGET_EXPORTS) \
37571 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37572 for flag in $(EXTRA_TARGET_FLAGS); do \
37573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37574 done; \
37575 (cd $(TARGET_SUBDIR)/zlib && \
37576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37578 "RANLIB=$${RANLIB}" \
37579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37580 TAGS) \
37581 || exit 1
37583 @endif target-zlib
37585 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37586 maybe-install-info-target-zlib:
37587 @if target-zlib
37588 maybe-install-info-target-zlib: install-info-target-zlib
37590 install-info-target-zlib: \
37591 configure-target-zlib \
37592 info-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 install-info 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 install-info) \
37608 || exit 1
37610 @endif target-zlib
37612 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37613 maybe-install-pdf-target-zlib:
37614 @if target-zlib
37615 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37617 install-pdf-target-zlib: \
37618 configure-target-zlib \
37619 pdf-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-pdf 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-pdf) \
37635 || exit 1
37637 @endif target-zlib
37639 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37640 maybe-install-html-target-zlib:
37641 @if target-zlib
37642 maybe-install-html-target-zlib: install-html-target-zlib
37644 install-html-target-zlib: \
37645 configure-target-zlib \
37646 html-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-html 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-html) \
37662 || exit 1
37664 @endif target-zlib
37666 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37667 maybe-installcheck-target-zlib:
37668 @if target-zlib
37669 maybe-installcheck-target-zlib: installcheck-target-zlib
37671 installcheck-target-zlib: \
37672 configure-target-zlib
37673 @: $(MAKE); $(unstage)
37674 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37675 r=`${PWD_COMMAND}`; export r; \
37676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37677 $(NORMAL_TARGET_EXPORTS) \
37678 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37679 for flag in $(EXTRA_TARGET_FLAGS); do \
37680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37681 done; \
37682 (cd $(TARGET_SUBDIR)/zlib && \
37683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37685 "RANLIB=$${RANLIB}" \
37686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37687 installcheck) \
37688 || exit 1
37690 @endif target-zlib
37692 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37693 maybe-mostlyclean-target-zlib:
37694 @if target-zlib
37695 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37697 mostlyclean-target-zlib:
37698 @: $(MAKE); $(unstage)
37699 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37700 r=`${PWD_COMMAND}`; export r; \
37701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37702 $(NORMAL_TARGET_EXPORTS) \
37703 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37704 for flag in $(EXTRA_TARGET_FLAGS); do \
37705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37706 done; \
37707 (cd $(TARGET_SUBDIR)/zlib && \
37708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37710 "RANLIB=$${RANLIB}" \
37711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37712 mostlyclean) \
37713 || exit 1
37715 @endif target-zlib
37717 .PHONY: maybe-clean-target-zlib clean-target-zlib
37718 maybe-clean-target-zlib:
37719 @if target-zlib
37720 maybe-clean-target-zlib: clean-target-zlib
37722 clean-target-zlib:
37723 @: $(MAKE); $(unstage)
37724 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37725 r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 $(NORMAL_TARGET_EXPORTS) \
37728 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37729 for flag in $(EXTRA_TARGET_FLAGS); do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 (cd $(TARGET_SUBDIR)/zlib && \
37733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37735 "RANLIB=$${RANLIB}" \
37736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37737 clean) \
37738 || exit 1
37740 @endif target-zlib
37742 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37743 maybe-distclean-target-zlib:
37744 @if target-zlib
37745 maybe-distclean-target-zlib: distclean-target-zlib
37747 distclean-target-zlib:
37748 @: $(MAKE); $(unstage)
37749 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37750 r=`${PWD_COMMAND}`; export r; \
37751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37752 $(NORMAL_TARGET_EXPORTS) \
37753 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37754 for flag in $(EXTRA_TARGET_FLAGS); do \
37755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37756 done; \
37757 (cd $(TARGET_SUBDIR)/zlib && \
37758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37760 "RANLIB=$${RANLIB}" \
37761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37762 distclean) \
37763 || exit 1
37765 @endif target-zlib
37767 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37768 maybe-maintainer-clean-target-zlib:
37769 @if target-zlib
37770 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37772 maintainer-clean-target-zlib:
37773 @: $(MAKE); $(unstage)
37774 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37775 r=`${PWD_COMMAND}`; export r; \
37776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37777 $(NORMAL_TARGET_EXPORTS) \
37778 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37779 for flag in $(EXTRA_TARGET_FLAGS); do \
37780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37781 done; \
37782 (cd $(TARGET_SUBDIR)/zlib && \
37783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37785 "RANLIB=$${RANLIB}" \
37786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37787 maintainer-clean) \
37788 || exit 1
37790 @endif target-zlib
37796 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37797 maybe-configure-target-boehm-gc:
37798 @if gcc-bootstrap
37799 configure-target-boehm-gc: stage_current
37800 @endif gcc-bootstrap
37801 @if target-boehm-gc
37802 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37803 configure-target-boehm-gc:
37804 @: $(MAKE); $(unstage)
37805 @r=`${PWD_COMMAND}`; export r; \
37806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37807 echo "Checking multilib configuration for boehm-gc..."; \
37808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37809 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37810 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37811 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37812 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37813 else \
37814 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37815 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37816 fi; \
37817 else \
37818 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37819 fi; \
37820 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37821 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37822 $(NORMAL_TARGET_EXPORTS) \
37823 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37824 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37825 case $(srcdir) in \
37826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37827 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37829 esac; \
37830 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37831 libsrcdir="$$s/boehm-gc"; \
37832 rm -f no-such-file || : ; \
37833 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37834 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37835 --target=${target_alias} $${srcdiroption} \
37836 || exit 1
37837 @endif target-boehm-gc
37843 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37844 maybe-all-target-boehm-gc:
37845 @if gcc-bootstrap
37846 all-target-boehm-gc: stage_current
37847 @endif gcc-bootstrap
37848 @if target-boehm-gc
37849 TARGET-target-boehm-gc=all
37850 maybe-all-target-boehm-gc: all-target-boehm-gc
37851 all-target-boehm-gc: configure-target-boehm-gc
37852 @: $(MAKE); $(unstage)
37853 @r=`${PWD_COMMAND}`; export r; \
37854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37855 $(NORMAL_TARGET_EXPORTS) \
37856 (cd $(TARGET_SUBDIR)/boehm-gc && \
37857 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37858 $(TARGET-target-boehm-gc))
37859 @endif target-boehm-gc
37865 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37866 maybe-check-target-boehm-gc:
37867 @if target-boehm-gc
37868 maybe-check-target-boehm-gc: check-target-boehm-gc
37870 check-target-boehm-gc:
37871 @: $(MAKE); $(unstage)
37872 @r=`${PWD_COMMAND}`; export r; \
37873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37874 $(NORMAL_TARGET_EXPORTS) \
37875 (cd $(TARGET_SUBDIR)/boehm-gc && \
37876 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37878 @endif target-boehm-gc
37880 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37881 maybe-install-target-boehm-gc:
37882 @if target-boehm-gc
37883 maybe-install-target-boehm-gc: install-target-boehm-gc
37885 install-target-boehm-gc: installdirs
37886 @: $(MAKE); $(unstage)
37887 @r=`${PWD_COMMAND}`; export r; \
37888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37889 $(NORMAL_TARGET_EXPORTS) \
37890 (cd $(TARGET_SUBDIR)/boehm-gc && \
37891 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37893 @endif target-boehm-gc
37895 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37896 maybe-install-strip-target-boehm-gc:
37897 @if target-boehm-gc
37898 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37900 install-strip-target-boehm-gc: installdirs
37901 @: $(MAKE); $(unstage)
37902 @r=`${PWD_COMMAND}`; export r; \
37903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37904 $(NORMAL_TARGET_EXPORTS) \
37905 (cd $(TARGET_SUBDIR)/boehm-gc && \
37906 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37908 @endif target-boehm-gc
37910 # Other targets (info, dvi, pdf, etc.)
37912 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37913 maybe-info-target-boehm-gc:
37914 @if target-boehm-gc
37915 maybe-info-target-boehm-gc: info-target-boehm-gc
37917 info-target-boehm-gc: \
37918 configure-target-boehm-gc
37919 @: $(MAKE); $(unstage)
37920 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37921 r=`${PWD_COMMAND}`; export r; \
37922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37923 $(NORMAL_TARGET_EXPORTS) \
37924 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37925 for flag in $(EXTRA_TARGET_FLAGS); do \
37926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37927 done; \
37928 (cd $(TARGET_SUBDIR)/boehm-gc && \
37929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37931 "RANLIB=$${RANLIB}" \
37932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37933 info) \
37934 || exit 1
37936 @endif target-boehm-gc
37938 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37939 maybe-dvi-target-boehm-gc:
37940 @if target-boehm-gc
37941 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37943 dvi-target-boehm-gc: \
37944 configure-target-boehm-gc
37945 @: $(MAKE); $(unstage)
37946 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37947 r=`${PWD_COMMAND}`; export r; \
37948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37949 $(NORMAL_TARGET_EXPORTS) \
37950 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37951 for flag in $(EXTRA_TARGET_FLAGS); do \
37952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37953 done; \
37954 (cd $(TARGET_SUBDIR)/boehm-gc && \
37955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37957 "RANLIB=$${RANLIB}" \
37958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37959 dvi) \
37960 || exit 1
37962 @endif target-boehm-gc
37964 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37965 maybe-pdf-target-boehm-gc:
37966 @if target-boehm-gc
37967 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37969 pdf-target-boehm-gc: \
37970 configure-target-boehm-gc
37971 @: $(MAKE); $(unstage)
37972 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37973 r=`${PWD_COMMAND}`; export r; \
37974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37975 $(NORMAL_TARGET_EXPORTS) \
37976 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
37977 for flag in $(EXTRA_TARGET_FLAGS); do \
37978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37979 done; \
37980 (cd $(TARGET_SUBDIR)/boehm-gc && \
37981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37983 "RANLIB=$${RANLIB}" \
37984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37985 pdf) \
37986 || exit 1
37988 @endif target-boehm-gc
37990 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37991 maybe-html-target-boehm-gc:
37992 @if target-boehm-gc
37993 maybe-html-target-boehm-gc: html-target-boehm-gc
37995 html-target-boehm-gc: \
37996 configure-target-boehm-gc
37997 @: $(MAKE); $(unstage)
37998 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37999 r=`${PWD_COMMAND}`; export r; \
38000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38001 $(NORMAL_TARGET_EXPORTS) \
38002 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38003 for flag in $(EXTRA_TARGET_FLAGS); do \
38004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38005 done; \
38006 (cd $(TARGET_SUBDIR)/boehm-gc && \
38007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38009 "RANLIB=$${RANLIB}" \
38010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38011 html) \
38012 || exit 1
38014 @endif target-boehm-gc
38016 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38017 maybe-TAGS-target-boehm-gc:
38018 @if target-boehm-gc
38019 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38021 TAGS-target-boehm-gc: \
38022 configure-target-boehm-gc
38023 @: $(MAKE); $(unstage)
38024 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38025 r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38029 for flag in $(EXTRA_TARGET_FLAGS); do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38031 done; \
38032 (cd $(TARGET_SUBDIR)/boehm-gc && \
38033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38035 "RANLIB=$${RANLIB}" \
38036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38037 TAGS) \
38038 || exit 1
38040 @endif target-boehm-gc
38042 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38043 maybe-install-info-target-boehm-gc:
38044 @if target-boehm-gc
38045 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38047 install-info-target-boehm-gc: \
38048 configure-target-boehm-gc \
38049 info-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 install-info 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 install-info) \
38065 || exit 1
38067 @endif target-boehm-gc
38069 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38070 maybe-install-pdf-target-boehm-gc:
38071 @if target-boehm-gc
38072 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38074 install-pdf-target-boehm-gc: \
38075 configure-target-boehm-gc \
38076 pdf-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-pdf 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-pdf) \
38092 || exit 1
38094 @endif target-boehm-gc
38096 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38097 maybe-install-html-target-boehm-gc:
38098 @if target-boehm-gc
38099 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38101 install-html-target-boehm-gc: \
38102 configure-target-boehm-gc \
38103 html-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-html 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-html) \
38119 || exit 1
38121 @endif target-boehm-gc
38123 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38124 maybe-installcheck-target-boehm-gc:
38125 @if target-boehm-gc
38126 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38128 installcheck-target-boehm-gc: \
38129 configure-target-boehm-gc
38130 @: $(MAKE); $(unstage)
38131 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38132 r=`${PWD_COMMAND}`; export r; \
38133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38134 $(NORMAL_TARGET_EXPORTS) \
38135 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38136 for flag in $(EXTRA_TARGET_FLAGS); do \
38137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38138 done; \
38139 (cd $(TARGET_SUBDIR)/boehm-gc && \
38140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38142 "RANLIB=$${RANLIB}" \
38143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38144 installcheck) \
38145 || exit 1
38147 @endif target-boehm-gc
38149 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38150 maybe-mostlyclean-target-boehm-gc:
38151 @if target-boehm-gc
38152 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38154 mostlyclean-target-boehm-gc:
38155 @: $(MAKE); $(unstage)
38156 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38157 r=`${PWD_COMMAND}`; export r; \
38158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38159 $(NORMAL_TARGET_EXPORTS) \
38160 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38161 for flag in $(EXTRA_TARGET_FLAGS); do \
38162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38163 done; \
38164 (cd $(TARGET_SUBDIR)/boehm-gc && \
38165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38167 "RANLIB=$${RANLIB}" \
38168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38169 mostlyclean) \
38170 || exit 1
38172 @endif target-boehm-gc
38174 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38175 maybe-clean-target-boehm-gc:
38176 @if target-boehm-gc
38177 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38179 clean-target-boehm-gc:
38180 @: $(MAKE); $(unstage)
38181 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38182 r=`${PWD_COMMAND}`; export r; \
38183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38184 $(NORMAL_TARGET_EXPORTS) \
38185 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38186 for flag in $(EXTRA_TARGET_FLAGS); do \
38187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38188 done; \
38189 (cd $(TARGET_SUBDIR)/boehm-gc && \
38190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38192 "RANLIB=$${RANLIB}" \
38193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38194 clean) \
38195 || exit 1
38197 @endif target-boehm-gc
38199 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38200 maybe-distclean-target-boehm-gc:
38201 @if target-boehm-gc
38202 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38204 distclean-target-boehm-gc:
38205 @: $(MAKE); $(unstage)
38206 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38207 r=`${PWD_COMMAND}`; export r; \
38208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38209 $(NORMAL_TARGET_EXPORTS) \
38210 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38211 for flag in $(EXTRA_TARGET_FLAGS); do \
38212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38213 done; \
38214 (cd $(TARGET_SUBDIR)/boehm-gc && \
38215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38217 "RANLIB=$${RANLIB}" \
38218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38219 distclean) \
38220 || exit 1
38222 @endif target-boehm-gc
38224 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38225 maybe-maintainer-clean-target-boehm-gc:
38226 @if target-boehm-gc
38227 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38229 maintainer-clean-target-boehm-gc:
38230 @: $(MAKE); $(unstage)
38231 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38232 r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 $(NORMAL_TARGET_EXPORTS) \
38235 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38236 for flag in $(EXTRA_TARGET_FLAGS); do \
38237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38238 done; \
38239 (cd $(TARGET_SUBDIR)/boehm-gc && \
38240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38242 "RANLIB=$${RANLIB}" \
38243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38244 maintainer-clean) \
38245 || exit 1
38247 @endif target-boehm-gc
38253 .PHONY: configure-target-rda maybe-configure-target-rda
38254 maybe-configure-target-rda:
38255 @if gcc-bootstrap
38256 configure-target-rda: stage_current
38257 @endif gcc-bootstrap
38258 @if target-rda
38259 maybe-configure-target-rda: configure-target-rda
38260 configure-target-rda:
38261 @: $(MAKE); $(unstage)
38262 @r=`${PWD_COMMAND}`; export r; \
38263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38264 echo "Checking multilib configuration for rda..."; \
38265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38267 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38268 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38269 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38270 else \
38271 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38272 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38273 fi; \
38274 else \
38275 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38276 fi; \
38277 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38278 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38279 $(NORMAL_TARGET_EXPORTS) \
38280 echo Configuring in $(TARGET_SUBDIR)/rda; \
38281 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38282 case $(srcdir) in \
38283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38284 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38286 esac; \
38287 srcdiroption="--srcdir=$${topdir}/rda"; \
38288 libsrcdir="$$s/rda"; \
38289 rm -f no-such-file || : ; \
38290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38292 --target=${target_alias} $${srcdiroption} \
38293 || exit 1
38294 @endif target-rda
38300 .PHONY: all-target-rda maybe-all-target-rda
38301 maybe-all-target-rda:
38302 @if gcc-bootstrap
38303 all-target-rda: stage_current
38304 @endif gcc-bootstrap
38305 @if target-rda
38306 TARGET-target-rda=all
38307 maybe-all-target-rda: all-target-rda
38308 all-target-rda: configure-target-rda
38309 @: $(MAKE); $(unstage)
38310 @r=`${PWD_COMMAND}`; export r; \
38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38312 $(NORMAL_TARGET_EXPORTS) \
38313 (cd $(TARGET_SUBDIR)/rda && \
38314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38315 $(TARGET-target-rda))
38316 @endif target-rda
38322 .PHONY: check-target-rda maybe-check-target-rda
38323 maybe-check-target-rda:
38324 @if target-rda
38325 maybe-check-target-rda: check-target-rda
38327 check-target-rda:
38328 @: $(MAKE); $(unstage)
38329 @r=`${PWD_COMMAND}`; export r; \
38330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38331 $(NORMAL_TARGET_EXPORTS) \
38332 (cd $(TARGET_SUBDIR)/rda && \
38333 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38335 @endif target-rda
38337 .PHONY: install-target-rda maybe-install-target-rda
38338 maybe-install-target-rda:
38339 @if target-rda
38340 maybe-install-target-rda: install-target-rda
38342 install-target-rda: installdirs
38343 @: $(MAKE); $(unstage)
38344 @r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(NORMAL_TARGET_EXPORTS) \
38347 (cd $(TARGET_SUBDIR)/rda && \
38348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38350 @endif target-rda
38352 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38353 maybe-install-strip-target-rda:
38354 @if target-rda
38355 maybe-install-strip-target-rda: install-strip-target-rda
38357 install-strip-target-rda: installdirs
38358 @: $(MAKE); $(unstage)
38359 @r=`${PWD_COMMAND}`; export r; \
38360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38361 $(NORMAL_TARGET_EXPORTS) \
38362 (cd $(TARGET_SUBDIR)/rda && \
38363 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38365 @endif target-rda
38367 # Other targets (info, dvi, pdf, etc.)
38369 .PHONY: maybe-info-target-rda info-target-rda
38370 maybe-info-target-rda:
38371 @if target-rda
38372 maybe-info-target-rda: info-target-rda
38374 info-target-rda: \
38375 configure-target-rda
38376 @: $(MAKE); $(unstage)
38377 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38378 r=`${PWD_COMMAND}`; export r; \
38379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38380 $(NORMAL_TARGET_EXPORTS) \
38381 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38382 for flag in $(EXTRA_TARGET_FLAGS); do \
38383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38384 done; \
38385 (cd $(TARGET_SUBDIR)/rda && \
38386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38388 "RANLIB=$${RANLIB}" \
38389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38390 info) \
38391 || exit 1
38393 @endif target-rda
38395 .PHONY: maybe-dvi-target-rda dvi-target-rda
38396 maybe-dvi-target-rda:
38397 @if target-rda
38398 maybe-dvi-target-rda: dvi-target-rda
38400 dvi-target-rda: \
38401 configure-target-rda
38402 @: $(MAKE); $(unstage)
38403 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38404 r=`${PWD_COMMAND}`; export r; \
38405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38406 $(NORMAL_TARGET_EXPORTS) \
38407 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38408 for flag in $(EXTRA_TARGET_FLAGS); do \
38409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38410 done; \
38411 (cd $(TARGET_SUBDIR)/rda && \
38412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38414 "RANLIB=$${RANLIB}" \
38415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38416 dvi) \
38417 || exit 1
38419 @endif target-rda
38421 .PHONY: maybe-pdf-target-rda pdf-target-rda
38422 maybe-pdf-target-rda:
38423 @if target-rda
38424 maybe-pdf-target-rda: pdf-target-rda
38426 pdf-target-rda: \
38427 configure-target-rda
38428 @: $(MAKE); $(unstage)
38429 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38430 r=`${PWD_COMMAND}`; export r; \
38431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38432 $(NORMAL_TARGET_EXPORTS) \
38433 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38434 for flag in $(EXTRA_TARGET_FLAGS); do \
38435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38436 done; \
38437 (cd $(TARGET_SUBDIR)/rda && \
38438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38440 "RANLIB=$${RANLIB}" \
38441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38442 pdf) \
38443 || exit 1
38445 @endif target-rda
38447 .PHONY: maybe-html-target-rda html-target-rda
38448 maybe-html-target-rda:
38449 @if target-rda
38450 maybe-html-target-rda: html-target-rda
38452 html-target-rda: \
38453 configure-target-rda
38454 @: $(MAKE); $(unstage)
38455 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38456 r=`${PWD_COMMAND}`; export r; \
38457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38458 $(NORMAL_TARGET_EXPORTS) \
38459 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38460 for flag in $(EXTRA_TARGET_FLAGS); do \
38461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38462 done; \
38463 (cd $(TARGET_SUBDIR)/rda && \
38464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38466 "RANLIB=$${RANLIB}" \
38467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38468 html) \
38469 || exit 1
38471 @endif target-rda
38473 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38474 maybe-TAGS-target-rda:
38475 @if target-rda
38476 maybe-TAGS-target-rda: TAGS-target-rda
38478 TAGS-target-rda: \
38479 configure-target-rda
38480 @: $(MAKE); $(unstage)
38481 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38482 r=`${PWD_COMMAND}`; export r; \
38483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38484 $(NORMAL_TARGET_EXPORTS) \
38485 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38486 for flag in $(EXTRA_TARGET_FLAGS); do \
38487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38488 done; \
38489 (cd $(TARGET_SUBDIR)/rda && \
38490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38492 "RANLIB=$${RANLIB}" \
38493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38494 TAGS) \
38495 || exit 1
38497 @endif target-rda
38499 .PHONY: maybe-install-info-target-rda install-info-target-rda
38500 maybe-install-info-target-rda:
38501 @if target-rda
38502 maybe-install-info-target-rda: install-info-target-rda
38504 install-info-target-rda: \
38505 configure-target-rda \
38506 info-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 install-info 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 install-info) \
38522 || exit 1
38524 @endif target-rda
38526 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38527 maybe-install-pdf-target-rda:
38528 @if target-rda
38529 maybe-install-pdf-target-rda: install-pdf-target-rda
38531 install-pdf-target-rda: \
38532 configure-target-rda \
38533 pdf-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-pdf 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-pdf) \
38549 || exit 1
38551 @endif target-rda
38553 .PHONY: maybe-install-html-target-rda install-html-target-rda
38554 maybe-install-html-target-rda:
38555 @if target-rda
38556 maybe-install-html-target-rda: install-html-target-rda
38558 install-html-target-rda: \
38559 configure-target-rda \
38560 html-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-html 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-html) \
38576 || exit 1
38578 @endif target-rda
38580 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38581 maybe-installcheck-target-rda:
38582 @if target-rda
38583 maybe-installcheck-target-rda: installcheck-target-rda
38585 installcheck-target-rda: \
38586 configure-target-rda
38587 @: $(MAKE); $(unstage)
38588 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38589 r=`${PWD_COMMAND}`; export r; \
38590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38591 $(NORMAL_TARGET_EXPORTS) \
38592 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38593 for flag in $(EXTRA_TARGET_FLAGS); do \
38594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38595 done; \
38596 (cd $(TARGET_SUBDIR)/rda && \
38597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38599 "RANLIB=$${RANLIB}" \
38600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38601 installcheck) \
38602 || exit 1
38604 @endif target-rda
38606 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38607 maybe-mostlyclean-target-rda:
38608 @if target-rda
38609 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38611 mostlyclean-target-rda:
38612 @: $(MAKE); $(unstage)
38613 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38614 r=`${PWD_COMMAND}`; export r; \
38615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38616 $(NORMAL_TARGET_EXPORTS) \
38617 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38618 for flag in $(EXTRA_TARGET_FLAGS); do \
38619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38620 done; \
38621 (cd $(TARGET_SUBDIR)/rda && \
38622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38624 "RANLIB=$${RANLIB}" \
38625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38626 mostlyclean) \
38627 || exit 1
38629 @endif target-rda
38631 .PHONY: maybe-clean-target-rda clean-target-rda
38632 maybe-clean-target-rda:
38633 @if target-rda
38634 maybe-clean-target-rda: clean-target-rda
38636 clean-target-rda:
38637 @: $(MAKE); $(unstage)
38638 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38639 r=`${PWD_COMMAND}`; export r; \
38640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38641 $(NORMAL_TARGET_EXPORTS) \
38642 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38643 for flag in $(EXTRA_TARGET_FLAGS); do \
38644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38645 done; \
38646 (cd $(TARGET_SUBDIR)/rda && \
38647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38649 "RANLIB=$${RANLIB}" \
38650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38651 clean) \
38652 || exit 1
38654 @endif target-rda
38656 .PHONY: maybe-distclean-target-rda distclean-target-rda
38657 maybe-distclean-target-rda:
38658 @if target-rda
38659 maybe-distclean-target-rda: distclean-target-rda
38661 distclean-target-rda:
38662 @: $(MAKE); $(unstage)
38663 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38664 r=`${PWD_COMMAND}`; export r; \
38665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38666 $(NORMAL_TARGET_EXPORTS) \
38667 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38668 for flag in $(EXTRA_TARGET_FLAGS); do \
38669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38670 done; \
38671 (cd $(TARGET_SUBDIR)/rda && \
38672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38674 "RANLIB=$${RANLIB}" \
38675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38676 distclean) \
38677 || exit 1
38679 @endif target-rda
38681 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38682 maybe-maintainer-clean-target-rda:
38683 @if target-rda
38684 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38686 maintainer-clean-target-rda:
38687 @: $(MAKE); $(unstage)
38688 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38689 r=`${PWD_COMMAND}`; export r; \
38690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38691 $(NORMAL_TARGET_EXPORTS) \
38692 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38693 for flag in $(EXTRA_TARGET_FLAGS); do \
38694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38695 done; \
38696 (cd $(TARGET_SUBDIR)/rda && \
38697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38699 "RANLIB=$${RANLIB}" \
38700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38701 maintainer-clean) \
38702 || exit 1
38704 @endif target-rda
38710 .PHONY: configure-target-libada maybe-configure-target-libada
38711 maybe-configure-target-libada:
38712 @if gcc-bootstrap
38713 configure-target-libada: stage_current
38714 @endif gcc-bootstrap
38715 @if target-libada
38716 maybe-configure-target-libada: configure-target-libada
38717 configure-target-libada:
38718 @: $(MAKE); $(unstage)
38719 @r=`${PWD_COMMAND}`; export r; \
38720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38721 echo "Checking multilib configuration for libada..."; \
38722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38724 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38725 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38726 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38727 else \
38728 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38729 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38730 fi; \
38731 else \
38732 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38733 fi; \
38734 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38735 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38736 $(NORMAL_TARGET_EXPORTS) \
38737 echo Configuring in $(TARGET_SUBDIR)/libada; \
38738 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38739 case $(srcdir) in \
38740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38741 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38743 esac; \
38744 srcdiroption="--srcdir=$${topdir}/libada"; \
38745 libsrcdir="$$s/libada"; \
38746 rm -f no-such-file || : ; \
38747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38748 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38749 --target=${target_alias} $${srcdiroption} \
38750 || exit 1
38751 @endif target-libada
38757 .PHONY: all-target-libada maybe-all-target-libada
38758 maybe-all-target-libada:
38759 @if gcc-bootstrap
38760 all-target-libada: stage_current
38761 @endif gcc-bootstrap
38762 @if target-libada
38763 TARGET-target-libada=all
38764 maybe-all-target-libada: all-target-libada
38765 all-target-libada: configure-target-libada
38766 @: $(MAKE); $(unstage)
38767 @r=`${PWD_COMMAND}`; export r; \
38768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38769 $(NORMAL_TARGET_EXPORTS) \
38770 (cd $(TARGET_SUBDIR)/libada && \
38771 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38772 $(TARGET-target-libada))
38773 @endif target-libada
38779 .PHONY: check-target-libada maybe-check-target-libada
38780 maybe-check-target-libada:
38781 @if target-libada
38782 maybe-check-target-libada: check-target-libada
38784 check-target-libada:
38785 @: $(MAKE); $(unstage)
38786 @r=`${PWD_COMMAND}`; export r; \
38787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38788 $(NORMAL_TARGET_EXPORTS) \
38789 (cd $(TARGET_SUBDIR)/libada && \
38790 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38792 @endif target-libada
38794 .PHONY: install-target-libada maybe-install-target-libada
38795 maybe-install-target-libada:
38796 @if target-libada
38797 maybe-install-target-libada: install-target-libada
38799 install-target-libada: installdirs
38800 @: $(MAKE); $(unstage)
38801 @r=`${PWD_COMMAND}`; export r; \
38802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38803 $(NORMAL_TARGET_EXPORTS) \
38804 (cd $(TARGET_SUBDIR)/libada && \
38805 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38807 @endif target-libada
38809 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38810 maybe-install-strip-target-libada:
38811 @if target-libada
38812 maybe-install-strip-target-libada: install-strip-target-libada
38814 install-strip-target-libada: installdirs
38815 @: $(MAKE); $(unstage)
38816 @r=`${PWD_COMMAND}`; export r; \
38817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38818 $(NORMAL_TARGET_EXPORTS) \
38819 (cd $(TARGET_SUBDIR)/libada && \
38820 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38822 @endif target-libada
38824 # Other targets (info, dvi, pdf, etc.)
38826 .PHONY: maybe-info-target-libada info-target-libada
38827 maybe-info-target-libada:
38828 @if target-libada
38829 maybe-info-target-libada: info-target-libada
38831 info-target-libada: \
38832 configure-target-libada
38833 @: $(MAKE); $(unstage)
38834 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38835 r=`${PWD_COMMAND}`; export r; \
38836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38837 $(NORMAL_TARGET_EXPORTS) \
38838 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38839 for flag in $(EXTRA_TARGET_FLAGS); do \
38840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38841 done; \
38842 (cd $(TARGET_SUBDIR)/libada && \
38843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38845 "RANLIB=$${RANLIB}" \
38846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38847 info) \
38848 || exit 1
38850 @endif target-libada
38852 .PHONY: maybe-dvi-target-libada dvi-target-libada
38853 maybe-dvi-target-libada:
38854 @if target-libada
38855 maybe-dvi-target-libada: dvi-target-libada
38857 dvi-target-libada: \
38858 configure-target-libada
38859 @: $(MAKE); $(unstage)
38860 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38861 r=`${PWD_COMMAND}`; export r; \
38862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38863 $(NORMAL_TARGET_EXPORTS) \
38864 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38865 for flag in $(EXTRA_TARGET_FLAGS); do \
38866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38867 done; \
38868 (cd $(TARGET_SUBDIR)/libada && \
38869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38871 "RANLIB=$${RANLIB}" \
38872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38873 dvi) \
38874 || exit 1
38876 @endif target-libada
38878 .PHONY: maybe-pdf-target-libada pdf-target-libada
38879 maybe-pdf-target-libada:
38880 @if target-libada
38881 maybe-pdf-target-libada: pdf-target-libada
38883 pdf-target-libada: \
38884 configure-target-libada
38885 @: $(MAKE); $(unstage)
38886 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38887 r=`${PWD_COMMAND}`; export r; \
38888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38889 $(NORMAL_TARGET_EXPORTS) \
38890 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38891 for flag in $(EXTRA_TARGET_FLAGS); do \
38892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38893 done; \
38894 (cd $(TARGET_SUBDIR)/libada && \
38895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38897 "RANLIB=$${RANLIB}" \
38898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38899 pdf) \
38900 || exit 1
38902 @endif target-libada
38904 .PHONY: maybe-html-target-libada html-target-libada
38905 maybe-html-target-libada:
38906 @if target-libada
38907 maybe-html-target-libada: html-target-libada
38909 html-target-libada: \
38910 configure-target-libada
38911 @: $(MAKE); $(unstage)
38912 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38913 r=`${PWD_COMMAND}`; export r; \
38914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38915 $(NORMAL_TARGET_EXPORTS) \
38916 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38917 for flag in $(EXTRA_TARGET_FLAGS); do \
38918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38919 done; \
38920 (cd $(TARGET_SUBDIR)/libada && \
38921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38923 "RANLIB=$${RANLIB}" \
38924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38925 html) \
38926 || exit 1
38928 @endif target-libada
38930 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38931 maybe-TAGS-target-libada:
38932 @if target-libada
38933 maybe-TAGS-target-libada: TAGS-target-libada
38935 TAGS-target-libada: \
38936 configure-target-libada
38937 @: $(MAKE); $(unstage)
38938 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38939 r=`${PWD_COMMAND}`; export r; \
38940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38941 $(NORMAL_TARGET_EXPORTS) \
38942 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38943 for flag in $(EXTRA_TARGET_FLAGS); do \
38944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38945 done; \
38946 (cd $(TARGET_SUBDIR)/libada && \
38947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38949 "RANLIB=$${RANLIB}" \
38950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38951 TAGS) \
38952 || exit 1
38954 @endif target-libada
38956 .PHONY: maybe-install-info-target-libada install-info-target-libada
38957 maybe-install-info-target-libada:
38958 @if target-libada
38959 maybe-install-info-target-libada: install-info-target-libada
38961 install-info-target-libada: \
38962 configure-target-libada \
38963 info-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 install-info 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 install-info) \
38979 || exit 1
38981 @endif target-libada
38983 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
38984 maybe-install-pdf-target-libada:
38985 @if target-libada
38986 maybe-install-pdf-target-libada: install-pdf-target-libada
38988 install-pdf-target-libada: \
38989 configure-target-libada \
38990 pdf-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-pdf 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-pdf) \
39006 || exit 1
39008 @endif target-libada
39010 .PHONY: maybe-install-html-target-libada install-html-target-libada
39011 maybe-install-html-target-libada:
39012 @if target-libada
39013 maybe-install-html-target-libada: install-html-target-libada
39015 install-html-target-libada: \
39016 configure-target-libada \
39017 html-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-html 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-html) \
39033 || exit 1
39035 @endif target-libada
39037 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39038 maybe-installcheck-target-libada:
39039 @if target-libada
39040 maybe-installcheck-target-libada: installcheck-target-libada
39042 installcheck-target-libada: \
39043 configure-target-libada
39044 @: $(MAKE); $(unstage)
39045 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39046 r=`${PWD_COMMAND}`; export r; \
39047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39048 $(NORMAL_TARGET_EXPORTS) \
39049 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39050 for flag in $(EXTRA_TARGET_FLAGS); do \
39051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39052 done; \
39053 (cd $(TARGET_SUBDIR)/libada && \
39054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39056 "RANLIB=$${RANLIB}" \
39057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39058 installcheck) \
39059 || exit 1
39061 @endif target-libada
39063 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39064 maybe-mostlyclean-target-libada:
39065 @if target-libada
39066 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39068 mostlyclean-target-libada:
39069 @: $(MAKE); $(unstage)
39070 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39071 r=`${PWD_COMMAND}`; export r; \
39072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39073 $(NORMAL_TARGET_EXPORTS) \
39074 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39075 for flag in $(EXTRA_TARGET_FLAGS); do \
39076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39077 done; \
39078 (cd $(TARGET_SUBDIR)/libada && \
39079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39081 "RANLIB=$${RANLIB}" \
39082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39083 mostlyclean) \
39084 || exit 1
39086 @endif target-libada
39088 .PHONY: maybe-clean-target-libada clean-target-libada
39089 maybe-clean-target-libada:
39090 @if target-libada
39091 maybe-clean-target-libada: clean-target-libada
39093 clean-target-libada:
39094 @: $(MAKE); $(unstage)
39095 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39096 r=`${PWD_COMMAND}`; export r; \
39097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39098 $(NORMAL_TARGET_EXPORTS) \
39099 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39100 for flag in $(EXTRA_TARGET_FLAGS); do \
39101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39102 done; \
39103 (cd $(TARGET_SUBDIR)/libada && \
39104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39106 "RANLIB=$${RANLIB}" \
39107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39108 clean) \
39109 || exit 1
39111 @endif target-libada
39113 .PHONY: maybe-distclean-target-libada distclean-target-libada
39114 maybe-distclean-target-libada:
39115 @if target-libada
39116 maybe-distclean-target-libada: distclean-target-libada
39118 distclean-target-libada:
39119 @: $(MAKE); $(unstage)
39120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39121 r=`${PWD_COMMAND}`; export r; \
39122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39123 $(NORMAL_TARGET_EXPORTS) \
39124 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39125 for flag in $(EXTRA_TARGET_FLAGS); do \
39126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39127 done; \
39128 (cd $(TARGET_SUBDIR)/libada && \
39129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39131 "RANLIB=$${RANLIB}" \
39132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39133 distclean) \
39134 || exit 1
39136 @endif target-libada
39138 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39139 maybe-maintainer-clean-target-libada:
39140 @if target-libada
39141 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39143 maintainer-clean-target-libada:
39144 @: $(MAKE); $(unstage)
39145 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39146 r=`${PWD_COMMAND}`; export r; \
39147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39148 $(NORMAL_TARGET_EXPORTS) \
39149 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39150 for flag in $(EXTRA_TARGET_FLAGS); do \
39151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39152 done; \
39153 (cd $(TARGET_SUBDIR)/libada && \
39154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39156 "RANLIB=$${RANLIB}" \
39157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39158 maintainer-clean) \
39159 || exit 1
39161 @endif target-libada
39167 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39168 maybe-configure-target-libgomp:
39169 @if gcc-bootstrap
39170 configure-target-libgomp: stage_current
39171 @endif gcc-bootstrap
39172 @if target-libgomp
39173 maybe-configure-target-libgomp: configure-target-libgomp
39174 configure-target-libgomp:
39175 @r=`${PWD_COMMAND}`; export r; \
39176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39177 echo "Checking multilib configuration for libgomp..."; \
39178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39179 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39180 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39181 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39182 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39183 else \
39184 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39185 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39186 fi; \
39187 else \
39188 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39189 fi; \
39190 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39192 $(NORMAL_TARGET_EXPORTS) \
39193 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39194 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39195 case $(srcdir) in \
39196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39197 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39199 esac; \
39200 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39201 libsrcdir="$$s/libgomp"; \
39202 rm -f no-such-file || : ; \
39203 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39204 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39205 --target=${target_alias} $${srcdiroption} \
39206 || exit 1
39207 @endif target-libgomp
39211 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39212 maybe-configure-stage1-target-libgomp:
39213 @if target-libgomp-bootstrap
39214 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39215 configure-stage1-target-libgomp:
39216 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39217 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39218 @r=`${PWD_COMMAND}`; export r; \
39219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39220 TFLAGS="$(STAGE1_TFLAGS)"; \
39221 echo "Checking multilib configuration for libgomp..."; \
39222 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39223 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39224 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39225 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39226 else \
39227 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39228 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39229 fi; \
39230 else \
39231 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39232 fi; \
39233 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39234 $(NORMAL_TARGET_EXPORTS) \
39235 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39237 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39238 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39240 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39241 case $(srcdir) in \
39242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39243 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39245 esac; \
39246 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39247 libsrcdir="$$s/libgomp"; \
39248 $(SHELL) $${libsrcdir}/configure \
39249 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39250 --target=${target_alias} $${srcdiroption} \
39251 $(STAGE1_CONFIGURE_FLAGS)
39252 @endif target-libgomp-bootstrap
39254 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39255 maybe-configure-stage2-target-libgomp:
39256 @if target-libgomp-bootstrap
39257 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39258 configure-stage2-target-libgomp:
39259 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39260 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39261 @r=`${PWD_COMMAND}`; export r; \
39262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39263 TFLAGS="$(STAGE2_TFLAGS)"; \
39264 echo "Checking multilib configuration for libgomp..."; \
39265 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39266 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39267 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39268 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39269 else \
39270 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39271 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39272 fi; \
39273 else \
39274 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39275 fi; \
39276 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39277 $(NORMAL_TARGET_EXPORTS) \
39279 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39280 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39281 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39282 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39284 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39285 case $(srcdir) in \
39286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39287 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39289 esac; \
39290 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39291 libsrcdir="$$s/libgomp"; \
39292 $(SHELL) $${libsrcdir}/configure \
39293 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39294 --target=${target_alias} $${srcdiroption} \
39295 --with-build-libsubdir=$(HOST_SUBDIR) \
39296 $(STAGE2_CONFIGURE_FLAGS)
39297 @endif target-libgomp-bootstrap
39299 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39300 maybe-configure-stage3-target-libgomp:
39301 @if target-libgomp-bootstrap
39302 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39303 configure-stage3-target-libgomp:
39304 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39305 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39306 @r=`${PWD_COMMAND}`; export r; \
39307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39308 TFLAGS="$(STAGE3_TFLAGS)"; \
39309 echo "Checking multilib configuration for libgomp..."; \
39310 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39311 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39312 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39313 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39314 else \
39315 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39316 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39317 fi; \
39318 else \
39319 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39320 fi; \
39321 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39322 $(NORMAL_TARGET_EXPORTS) \
39324 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39325 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39326 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39327 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39329 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39330 case $(srcdir) in \
39331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39332 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39334 esac; \
39335 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39336 libsrcdir="$$s/libgomp"; \
39337 $(SHELL) $${libsrcdir}/configure \
39338 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39339 --target=${target_alias} $${srcdiroption} \
39340 --with-build-libsubdir=$(HOST_SUBDIR) \
39341 $(STAGE3_CONFIGURE_FLAGS)
39342 @endif target-libgomp-bootstrap
39344 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39345 maybe-configure-stage4-target-libgomp:
39346 @if target-libgomp-bootstrap
39347 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39348 configure-stage4-target-libgomp:
39349 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39350 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39351 @r=`${PWD_COMMAND}`; export r; \
39352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39353 TFLAGS="$(STAGE4_TFLAGS)"; \
39354 echo "Checking multilib configuration for libgomp..."; \
39355 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39356 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39357 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39358 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39359 else \
39360 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39361 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39362 fi; \
39363 else \
39364 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39365 fi; \
39366 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39367 $(NORMAL_TARGET_EXPORTS) \
39369 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39370 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39371 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39372 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39373 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39374 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39375 case $(srcdir) in \
39376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39377 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39379 esac; \
39380 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39381 libsrcdir="$$s/libgomp"; \
39382 $(SHELL) $${libsrcdir}/configure \
39383 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39384 --target=${target_alias} $${srcdiroption} \
39385 --with-build-libsubdir=$(HOST_SUBDIR) \
39386 $(STAGE4_CONFIGURE_FLAGS)
39387 @endif target-libgomp-bootstrap
39389 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39390 maybe-configure-stageprofile-target-libgomp:
39391 @if target-libgomp-bootstrap
39392 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39393 configure-stageprofile-target-libgomp:
39394 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39395 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39396 @r=`${PWD_COMMAND}`; export r; \
39397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39398 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39399 echo "Checking multilib configuration for libgomp..."; \
39400 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39401 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39402 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39403 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39404 else \
39405 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39406 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39407 fi; \
39408 else \
39409 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39410 fi; \
39411 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39412 $(NORMAL_TARGET_EXPORTS) \
39414 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39415 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39416 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39417 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39418 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39419 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39420 case $(srcdir) in \
39421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39422 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39424 esac; \
39425 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39426 libsrcdir="$$s/libgomp"; \
39427 $(SHELL) $${libsrcdir}/configure \
39428 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39429 --target=${target_alias} $${srcdiroption} \
39430 --with-build-libsubdir=$(HOST_SUBDIR) \
39431 $(STAGEprofile_CONFIGURE_FLAGS)
39432 @endif target-libgomp-bootstrap
39434 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39435 maybe-configure-stagefeedback-target-libgomp:
39436 @if target-libgomp-bootstrap
39437 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39438 configure-stagefeedback-target-libgomp:
39439 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39440 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39441 @r=`${PWD_COMMAND}`; export r; \
39442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39443 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39444 echo "Checking multilib configuration for libgomp..."; \
39445 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39446 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39447 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39448 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39449 else \
39450 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39451 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39452 fi; \
39453 else \
39454 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39455 fi; \
39456 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39457 $(NORMAL_TARGET_EXPORTS) \
39459 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39460 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39461 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39462 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39463 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39464 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39465 case $(srcdir) in \
39466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39467 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39469 esac; \
39470 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39471 libsrcdir="$$s/libgomp"; \
39472 $(SHELL) $${libsrcdir}/configure \
39473 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39474 --target=${target_alias} $${srcdiroption} \
39475 --with-build-libsubdir=$(HOST_SUBDIR) \
39476 $(STAGEfeedback_CONFIGURE_FLAGS)
39477 @endif target-libgomp-bootstrap
39483 .PHONY: all-target-libgomp maybe-all-target-libgomp
39484 maybe-all-target-libgomp:
39485 @if gcc-bootstrap
39486 all-target-libgomp: stage_current
39487 @endif gcc-bootstrap
39488 @if target-libgomp
39489 TARGET-target-libgomp=all
39490 maybe-all-target-libgomp: all-target-libgomp
39491 all-target-libgomp: configure-target-libgomp
39492 @r=`${PWD_COMMAND}`; export r; \
39493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39494 $(NORMAL_TARGET_EXPORTS) \
39495 (cd $(TARGET_SUBDIR)/libgomp && \
39496 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39497 $(TARGET-target-libgomp))
39498 @endif target-libgomp
39502 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39503 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39504 maybe-all-stage1-target-libgomp:
39505 maybe-clean-stage1-target-libgomp:
39506 @if target-libgomp-bootstrap
39507 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39508 all-stage1: all-stage1-target-libgomp
39509 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39510 all-stage1-target-libgomp: configure-stage1-target-libgomp
39511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39512 @r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 TFLAGS="$(STAGE1_TFLAGS)"; \
39515 $(NORMAL_TARGET_EXPORTS) \
39516 cd $(TARGET_SUBDIR)/libgomp && \
39517 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39518 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39519 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39520 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39521 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39522 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39523 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39524 $(EXTRA_TARGET_FLAGS) \
39525 TFLAGS="$(STAGE1_TFLAGS)" \
39526 $(TARGET-stage1-target-libgomp)
39528 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39529 clean-stage1: clean-stage1-target-libgomp
39530 clean-stage1-target-libgomp:
39531 @if [ $(current_stage) = stage1 ]; then \
39532 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39533 else \
39534 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39535 $(MAKE) stage1-start; \
39536 fi; \
39537 cd $(TARGET_SUBDIR)/libgomp && \
39538 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39539 clean
39540 @endif target-libgomp-bootstrap
39543 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39544 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39545 maybe-all-stage2-target-libgomp:
39546 maybe-clean-stage2-target-libgomp:
39547 @if target-libgomp-bootstrap
39548 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39549 all-stage2: all-stage2-target-libgomp
39550 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39551 all-stage2-target-libgomp: configure-stage2-target-libgomp
39552 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39553 @r=`${PWD_COMMAND}`; export r; \
39554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39555 TFLAGS="$(STAGE2_TFLAGS)"; \
39556 $(NORMAL_TARGET_EXPORTS) \
39558 cd $(TARGET_SUBDIR)/libgomp && \
39559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39560 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39561 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39562 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39566 $(EXTRA_TARGET_FLAGS) \
39567 TFLAGS="$(STAGE2_TFLAGS)" \
39568 $(TARGET-stage2-target-libgomp)
39570 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39571 clean-stage2: clean-stage2-target-libgomp
39572 clean-stage2-target-libgomp:
39573 @if [ $(current_stage) = stage2 ]; then \
39574 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39575 else \
39576 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39577 $(MAKE) stage2-start; \
39578 fi; \
39579 cd $(TARGET_SUBDIR)/libgomp && \
39580 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39582 clean
39583 @endif target-libgomp-bootstrap
39586 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39587 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39588 maybe-all-stage3-target-libgomp:
39589 maybe-clean-stage3-target-libgomp:
39590 @if target-libgomp-bootstrap
39591 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39592 all-stage3: all-stage3-target-libgomp
39593 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39594 all-stage3-target-libgomp: configure-stage3-target-libgomp
39595 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39596 @r=`${PWD_COMMAND}`; export r; \
39597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39598 TFLAGS="$(STAGE3_TFLAGS)"; \
39599 $(NORMAL_TARGET_EXPORTS) \
39601 cd $(TARGET_SUBDIR)/libgomp && \
39602 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39603 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39606 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39607 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39608 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39609 $(EXTRA_TARGET_FLAGS) \
39610 TFLAGS="$(STAGE3_TFLAGS)" \
39611 $(TARGET-stage3-target-libgomp)
39613 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39614 clean-stage3: clean-stage3-target-libgomp
39615 clean-stage3-target-libgomp:
39616 @if [ $(current_stage) = stage3 ]; then \
39617 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39618 else \
39619 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39620 $(MAKE) stage3-start; \
39621 fi; \
39622 cd $(TARGET_SUBDIR)/libgomp && \
39623 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39625 clean
39626 @endif target-libgomp-bootstrap
39629 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39630 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39631 maybe-all-stage4-target-libgomp:
39632 maybe-clean-stage4-target-libgomp:
39633 @if target-libgomp-bootstrap
39634 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39635 all-stage4: all-stage4-target-libgomp
39636 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39637 all-stage4-target-libgomp: configure-stage4-target-libgomp
39638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39639 @r=`${PWD_COMMAND}`; export r; \
39640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39641 TFLAGS="$(STAGE4_TFLAGS)"; \
39642 $(NORMAL_TARGET_EXPORTS) \
39644 cd $(TARGET_SUBDIR)/libgomp && \
39645 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39646 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39647 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39648 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39649 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39650 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39651 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39652 $(EXTRA_TARGET_FLAGS) \
39653 TFLAGS="$(STAGE4_TFLAGS)" \
39654 $(TARGET-stage4-target-libgomp)
39656 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39657 clean-stage4: clean-stage4-target-libgomp
39658 clean-stage4-target-libgomp:
39659 @if [ $(current_stage) = stage4 ]; then \
39660 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39661 else \
39662 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39663 $(MAKE) stage4-start; \
39664 fi; \
39665 cd $(TARGET_SUBDIR)/libgomp && \
39666 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39668 clean
39669 @endif target-libgomp-bootstrap
39672 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39673 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39674 maybe-all-stageprofile-target-libgomp:
39675 maybe-clean-stageprofile-target-libgomp:
39676 @if target-libgomp-bootstrap
39677 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39678 all-stageprofile: all-stageprofile-target-libgomp
39679 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39680 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39681 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39682 @r=`${PWD_COMMAND}`; export r; \
39683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39684 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39685 $(NORMAL_TARGET_EXPORTS) \
39687 cd $(TARGET_SUBDIR)/libgomp && \
39688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39689 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39690 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39691 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39695 $(EXTRA_TARGET_FLAGS) \
39696 TFLAGS="$(STAGEprofile_TFLAGS)" \
39697 $(TARGET-stageprofile-target-libgomp)
39699 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39700 clean-stageprofile: clean-stageprofile-target-libgomp
39701 clean-stageprofile-target-libgomp:
39702 @if [ $(current_stage) = stageprofile ]; then \
39703 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39704 else \
39705 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39706 $(MAKE) stageprofile-start; \
39707 fi; \
39708 cd $(TARGET_SUBDIR)/libgomp && \
39709 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39711 clean
39712 @endif target-libgomp-bootstrap
39715 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39716 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39717 maybe-all-stagefeedback-target-libgomp:
39718 maybe-clean-stagefeedback-target-libgomp:
39719 @if target-libgomp-bootstrap
39720 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39721 all-stagefeedback: all-stagefeedback-target-libgomp
39722 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39723 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39724 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39725 @r=`${PWD_COMMAND}`; export r; \
39726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39727 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39728 $(NORMAL_TARGET_EXPORTS) \
39730 cd $(TARGET_SUBDIR)/libgomp && \
39731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39732 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39733 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39734 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39738 $(EXTRA_TARGET_FLAGS) \
39739 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39740 $(TARGET-stagefeedback-target-libgomp)
39742 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39743 clean-stagefeedback: clean-stagefeedback-target-libgomp
39744 clean-stagefeedback-target-libgomp:
39745 @if [ $(current_stage) = stagefeedback ]; then \
39746 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39747 else \
39748 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39749 $(MAKE) stagefeedback-start; \
39750 fi; \
39751 cd $(TARGET_SUBDIR)/libgomp && \
39752 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39754 clean
39755 @endif target-libgomp-bootstrap
39762 .PHONY: check-target-libgomp maybe-check-target-libgomp
39763 maybe-check-target-libgomp:
39764 @if target-libgomp
39765 maybe-check-target-libgomp: check-target-libgomp
39767 check-target-libgomp:
39768 @: $(MAKE); $(unstage)
39769 @r=`${PWD_COMMAND}`; export r; \
39770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39771 $(NORMAL_TARGET_EXPORTS) \
39772 (cd $(TARGET_SUBDIR)/libgomp && \
39773 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39775 @endif target-libgomp
39777 .PHONY: install-target-libgomp maybe-install-target-libgomp
39778 maybe-install-target-libgomp:
39779 @if target-libgomp
39780 maybe-install-target-libgomp: install-target-libgomp
39782 install-target-libgomp: installdirs
39783 @: $(MAKE); $(unstage)
39784 @r=`${PWD_COMMAND}`; export r; \
39785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39786 $(NORMAL_TARGET_EXPORTS) \
39787 (cd $(TARGET_SUBDIR)/libgomp && \
39788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39790 @endif target-libgomp
39792 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39793 maybe-install-strip-target-libgomp:
39794 @if target-libgomp
39795 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39797 install-strip-target-libgomp: installdirs
39798 @: $(MAKE); $(unstage)
39799 @r=`${PWD_COMMAND}`; export r; \
39800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39801 $(NORMAL_TARGET_EXPORTS) \
39802 (cd $(TARGET_SUBDIR)/libgomp && \
39803 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39805 @endif target-libgomp
39807 # Other targets (info, dvi, pdf, etc.)
39809 .PHONY: maybe-info-target-libgomp info-target-libgomp
39810 maybe-info-target-libgomp:
39811 @if target-libgomp
39812 maybe-info-target-libgomp: info-target-libgomp
39814 info-target-libgomp: \
39815 configure-target-libgomp
39816 @: $(MAKE); $(unstage)
39817 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39818 r=`${PWD_COMMAND}`; export r; \
39819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39820 $(NORMAL_TARGET_EXPORTS) \
39821 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39822 for flag in $(EXTRA_TARGET_FLAGS); do \
39823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39824 done; \
39825 (cd $(TARGET_SUBDIR)/libgomp && \
39826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39828 "RANLIB=$${RANLIB}" \
39829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39830 info) \
39831 || exit 1
39833 @endif target-libgomp
39835 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39836 maybe-dvi-target-libgomp:
39837 @if target-libgomp
39838 maybe-dvi-target-libgomp: dvi-target-libgomp
39840 dvi-target-libgomp: \
39841 configure-target-libgomp
39842 @: $(MAKE); $(unstage)
39843 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39844 r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 $(NORMAL_TARGET_EXPORTS) \
39847 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39848 for flag in $(EXTRA_TARGET_FLAGS); do \
39849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39850 done; \
39851 (cd $(TARGET_SUBDIR)/libgomp && \
39852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39854 "RANLIB=$${RANLIB}" \
39855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39856 dvi) \
39857 || exit 1
39859 @endif target-libgomp
39861 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39862 maybe-pdf-target-libgomp:
39863 @if target-libgomp
39864 maybe-pdf-target-libgomp: pdf-target-libgomp
39866 pdf-target-libgomp: \
39867 configure-target-libgomp
39868 @: $(MAKE); $(unstage)
39869 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39870 r=`${PWD_COMMAND}`; export r; \
39871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39872 $(NORMAL_TARGET_EXPORTS) \
39873 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39874 for flag in $(EXTRA_TARGET_FLAGS); do \
39875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39876 done; \
39877 (cd $(TARGET_SUBDIR)/libgomp && \
39878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39880 "RANLIB=$${RANLIB}" \
39881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39882 pdf) \
39883 || exit 1
39885 @endif target-libgomp
39887 .PHONY: maybe-html-target-libgomp html-target-libgomp
39888 maybe-html-target-libgomp:
39889 @if target-libgomp
39890 maybe-html-target-libgomp: html-target-libgomp
39892 html-target-libgomp: \
39893 configure-target-libgomp
39894 @: $(MAKE); $(unstage)
39895 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39896 r=`${PWD_COMMAND}`; export r; \
39897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39898 $(NORMAL_TARGET_EXPORTS) \
39899 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39900 for flag in $(EXTRA_TARGET_FLAGS); do \
39901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39902 done; \
39903 (cd $(TARGET_SUBDIR)/libgomp && \
39904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39906 "RANLIB=$${RANLIB}" \
39907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39908 html) \
39909 || exit 1
39911 @endif target-libgomp
39913 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39914 maybe-TAGS-target-libgomp:
39915 @if target-libgomp
39916 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39918 TAGS-target-libgomp: \
39919 configure-target-libgomp
39920 @: $(MAKE); $(unstage)
39921 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39922 r=`${PWD_COMMAND}`; export r; \
39923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39924 $(NORMAL_TARGET_EXPORTS) \
39925 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39926 for flag in $(EXTRA_TARGET_FLAGS); do \
39927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39928 done; \
39929 (cd $(TARGET_SUBDIR)/libgomp && \
39930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39932 "RANLIB=$${RANLIB}" \
39933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39934 TAGS) \
39935 || exit 1
39937 @endif target-libgomp
39939 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39940 maybe-install-info-target-libgomp:
39941 @if target-libgomp
39942 maybe-install-info-target-libgomp: install-info-target-libgomp
39944 install-info-target-libgomp: \
39945 configure-target-libgomp \
39946 info-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 install-info 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 install-info) \
39962 || exit 1
39964 @endif target-libgomp
39966 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39967 maybe-install-pdf-target-libgomp:
39968 @if target-libgomp
39969 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39971 install-pdf-target-libgomp: \
39972 configure-target-libgomp \
39973 pdf-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-pdf 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-pdf) \
39989 || exit 1
39991 @endif target-libgomp
39993 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
39994 maybe-install-html-target-libgomp:
39995 @if target-libgomp
39996 maybe-install-html-target-libgomp: install-html-target-libgomp
39998 install-html-target-libgomp: \
39999 configure-target-libgomp \
40000 html-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-html 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-html) \
40016 || exit 1
40018 @endif target-libgomp
40020 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40021 maybe-installcheck-target-libgomp:
40022 @if target-libgomp
40023 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40025 installcheck-target-libgomp: \
40026 configure-target-libgomp
40027 @: $(MAKE); $(unstage)
40028 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40029 r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(NORMAL_TARGET_EXPORTS) \
40032 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40033 for flag in $(EXTRA_TARGET_FLAGS); do \
40034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40035 done; \
40036 (cd $(TARGET_SUBDIR)/libgomp && \
40037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40039 "RANLIB=$${RANLIB}" \
40040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40041 installcheck) \
40042 || exit 1
40044 @endif target-libgomp
40046 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40047 maybe-mostlyclean-target-libgomp:
40048 @if target-libgomp
40049 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40051 mostlyclean-target-libgomp:
40052 @: $(MAKE); $(unstage)
40053 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40054 r=`${PWD_COMMAND}`; export r; \
40055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40056 $(NORMAL_TARGET_EXPORTS) \
40057 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40058 for flag in $(EXTRA_TARGET_FLAGS); do \
40059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40060 done; \
40061 (cd $(TARGET_SUBDIR)/libgomp && \
40062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40064 "RANLIB=$${RANLIB}" \
40065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40066 mostlyclean) \
40067 || exit 1
40069 @endif target-libgomp
40071 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40072 maybe-clean-target-libgomp:
40073 @if target-libgomp
40074 maybe-clean-target-libgomp: clean-target-libgomp
40076 clean-target-libgomp:
40077 @: $(MAKE); $(unstage)
40078 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40079 r=`${PWD_COMMAND}`; export r; \
40080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40081 $(NORMAL_TARGET_EXPORTS) \
40082 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40083 for flag in $(EXTRA_TARGET_FLAGS); do \
40084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40085 done; \
40086 (cd $(TARGET_SUBDIR)/libgomp && \
40087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40089 "RANLIB=$${RANLIB}" \
40090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40091 clean) \
40092 || exit 1
40094 @endif target-libgomp
40096 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40097 maybe-distclean-target-libgomp:
40098 @if target-libgomp
40099 maybe-distclean-target-libgomp: distclean-target-libgomp
40101 distclean-target-libgomp:
40102 @: $(MAKE); $(unstage)
40103 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40104 r=`${PWD_COMMAND}`; export r; \
40105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40106 $(NORMAL_TARGET_EXPORTS) \
40107 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40108 for flag in $(EXTRA_TARGET_FLAGS); do \
40109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40110 done; \
40111 (cd $(TARGET_SUBDIR)/libgomp && \
40112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40114 "RANLIB=$${RANLIB}" \
40115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40116 distclean) \
40117 || exit 1
40119 @endif target-libgomp
40121 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40122 maybe-maintainer-clean-target-libgomp:
40123 @if target-libgomp
40124 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40126 maintainer-clean-target-libgomp:
40127 @: $(MAKE); $(unstage)
40128 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40129 r=`${PWD_COMMAND}`; export r; \
40130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40131 $(NORMAL_TARGET_EXPORTS) \
40132 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40133 for flag in $(EXTRA_TARGET_FLAGS); do \
40134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40135 done; \
40136 (cd $(TARGET_SUBDIR)/libgomp && \
40137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40139 "RANLIB=$${RANLIB}" \
40140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40141 maintainer-clean) \
40142 || exit 1
40144 @endif target-libgomp
40148 @if target-libmudflap
40149 .PHONY: check-target-libmudflap-c++
40150 check-target-libmudflap-c++:
40151 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
40153 @endif target-libmudflap
40155 # ----------
40156 # GCC module
40157 # ----------
40159 @if gcc-no-bootstrap
40160 .PHONY: cross
40161 cross: all-build all-gas all-ld
40162 @r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 $(HOST_EXPORTS) \
40165 echo "Building the C and C++ compiler"; \
40166 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
40167 @r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40169 echo "Building runtime libraries"; \
40170 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
40171 @endif gcc-no-bootstrap
40173 @if gcc
40175 .PHONY: check-gcc-c check-c
40176 check-gcc-c:
40177 r=`${PWD_COMMAND}`; export r; \
40178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40179 $(HOST_EXPORTS) \
40180 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
40181 check-c: check-gcc-c
40183 .PHONY: check-gcc-c++ check-c++
40184 check-gcc-c++:
40185 r=`${PWD_COMMAND}`; export r; \
40186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40187 $(HOST_EXPORTS) \
40188 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++ check-c++0x);
40189 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
40191 .PHONY: check-gcc-fortran check-fortran
40192 check-gcc-fortran:
40193 r=`${PWD_COMMAND}`; export r; \
40194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40195 $(HOST_EXPORTS) \
40196 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
40197 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
40199 .PHONY: check-gcc-java check-java
40200 check-gcc-java:
40201 r=`${PWD_COMMAND}`; export r; \
40202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40203 $(HOST_EXPORTS) \
40204 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
40205 check-java: check-gcc-java check-target-libjava
40207 .PHONY: check-gcc-ada check-ada
40208 check-gcc-ada:
40209 r=`${PWD_COMMAND}`; export r; \
40210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40211 $(HOST_EXPORTS) \
40212 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
40213 check-ada: check-gcc-ada check-target-libada
40215 .PHONY: check-gcc-objc check-objc
40216 check-gcc-objc:
40217 r=`${PWD_COMMAND}`; export r; \
40218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40219 $(HOST_EXPORTS) \
40220 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
40221 check-objc: check-gcc-objc check-target-libobjc
40223 .PHONY: check-gcc-obj-c++ check-obj-c++
40224 check-gcc-obj-c++:
40225 r=`${PWD_COMMAND}`; export r; \
40226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40227 $(HOST_EXPORTS) \
40228 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
40229 check-obj-c++: check-gcc-obj-c++
40231 .PHONY: check-gcc-go check-go
40232 check-gcc-go:
40233 r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(HOST_EXPORTS) \
40236 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
40237 check-go: check-gcc-go check-target-libgo
40240 # Install the gcc headers files, but not the fixed include files,
40241 # which Cygnus is not allowed to distribute. This rule is very
40242 # dependent on the workings of the gcc Makefile.in.
40243 .PHONY: gcc-no-fixedincludes
40244 gcc-no-fixedincludes:
40245 @if [ -f ./gcc/Makefile ]; then \
40246 rm -rf gcc/tmp-include; \
40247 mv gcc/include gcc/tmp-include 2>/dev/null; \
40248 mkdir gcc/include; \
40249 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
40250 touch gcc/stmp-fixinc gcc/include/fixed; \
40251 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
40252 r=`${PWD_COMMAND}`; export r; \
40253 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40254 $(HOST_EXPORTS) \
40255 (cd ./gcc && \
40256 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
40257 rm -rf gcc/include; \
40258 mv gcc/tmp-include gcc/include 2>/dev/null; \
40259 else true; fi
40260 @endif gcc
40262 # ---------------------
40263 # GCC bootstrap support
40264 # ---------------------
40266 # We track the current stage (the one in 'gcc') in the stage_current file.
40267 # stage_last instead tracks the stage that was built last. These targets
40268 # are dummy when toplevel bootstrap is not active.
40270 # While making host and target tools, symlinks to the final stage must be
40271 # there, so $(unstage) should be run at various points. To avoid excessive
40272 # recursive invocations of make, we "inline" them using a variable. These
40273 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
40274 # to avoid warnings from the GNU Make job server.
40276 unstage = :
40277 stage = :
40278 current_stage = ""
40280 @if gcc-bootstrap
40281 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
40282 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
40283 current_stage = "`cat stage_current 2> /dev/null`"
40284 @endif gcc-bootstrap
40286 .PHONY: unstage stage
40287 unstage:
40288 @: $(MAKE); $(unstage)
40289 stage:
40290 @: $(MAKE); $(stage)
40292 # Disable commands for lean bootstrap.
40293 LEAN = false
40295 # We name the build directories for the various stages "stage1-gcc",
40296 # "stage2-gcc","stage3-gcc", etc.
40298 # Since the 'compare' process will fail (on debugging information) if any
40299 # directory names are different, we need to link the gcc directory for
40300 # the previous stage to a constant name ('prev-gcc'), and to make the name of
40301 # the build directories constant as well. For the latter, we use naked names
40302 # like 'gcc', because the scripts in that directory assume it. We use
40303 # mv on platforms where symlinks to directories do not work or are not
40304 # reliable.
40306 # 'touch' doesn't work right on some platforms.
40307 STAMP = echo timestamp >
40309 # We only want to compare .o files, so set this!
40310 objext = .o
40313 .PHONY: stage1-start stage1-end
40315 stage1-start::
40316 @: $(MAKE); $(stage); \
40317 echo stage1 > stage_current ; \
40318 echo stage1 > stage_last; \
40319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40320 @if bfd
40321 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
40322 mkdir stage1-bfd; \
40323 mv stage1-bfd bfd
40324 @endif bfd
40325 @if opcodes
40326 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
40327 mkdir stage1-opcodes; \
40328 mv stage1-opcodes opcodes
40329 @endif opcodes
40330 @if binutils
40331 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
40332 mkdir stage1-binutils; \
40333 mv stage1-binutils binutils
40334 @endif binutils
40335 @if gas
40336 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
40337 mkdir stage1-gas; \
40338 mv stage1-gas gas
40339 @endif gas
40340 @if gcc
40341 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
40342 mkdir stage1-gcc; \
40343 mv stage1-gcc gcc
40344 @endif gcc
40345 @if gmp
40346 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
40347 mkdir stage1-gmp; \
40348 mv stage1-gmp gmp
40349 @endif gmp
40350 @if mpfr
40351 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
40352 mkdir stage1-mpfr; \
40353 mv stage1-mpfr mpfr
40354 @endif mpfr
40355 @if mpc
40356 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
40357 mkdir stage1-mpc; \
40358 mv stage1-mpc mpc
40359 @endif mpc
40360 @if ppl
40361 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
40362 mkdir stage1-ppl; \
40363 mv stage1-ppl ppl
40364 @endif ppl
40365 @if cloog
40366 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
40367 mkdir stage1-cloog; \
40368 mv stage1-cloog cloog
40369 @endif cloog
40370 @if libelf
40371 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
40372 mkdir stage1-libelf; \
40373 mv stage1-libelf libelf
40374 @endif libelf
40375 @if gold
40376 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
40377 mkdir stage1-gold; \
40378 mv stage1-gold gold
40379 @endif gold
40380 @if intl
40381 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
40382 mkdir stage1-intl; \
40383 mv stage1-intl intl
40384 @endif intl
40385 @if ld
40386 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
40387 mkdir stage1-ld; \
40388 mv stage1-ld ld
40389 @endif ld
40390 @if libcpp
40391 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
40392 mkdir stage1-libcpp; \
40393 mv stage1-libcpp libcpp
40394 @endif libcpp
40395 @if libdecnumber
40396 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
40397 mkdir stage1-libdecnumber; \
40398 mv stage1-libdecnumber libdecnumber
40399 @endif libdecnumber
40400 @if libiberty
40401 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
40402 mkdir stage1-libiberty; \
40403 mv stage1-libiberty libiberty
40404 @endif libiberty
40405 @if zlib
40406 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
40407 mkdir stage1-zlib; \
40408 mv stage1-zlib zlib
40409 @endif zlib
40410 @if lto-plugin
40411 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
40412 mkdir stage1-lto-plugin; \
40413 mv stage1-lto-plugin lto-plugin
40414 @endif lto-plugin
40415 @[ -d stage1-$(TARGET_SUBDIR) ] || \
40416 mkdir stage1-$(TARGET_SUBDIR); \
40417 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
40419 stage1-end::
40420 @if bfd
40421 @if test -d $(HOST_SUBDIR)/bfd ; then \
40422 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
40424 @endif bfd
40425 @if opcodes
40426 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40427 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
40429 @endif opcodes
40430 @if binutils
40431 @if test -d $(HOST_SUBDIR)/binutils ; then \
40432 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
40434 @endif binutils
40435 @if gas
40436 @if test -d $(HOST_SUBDIR)/gas ; then \
40437 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
40439 @endif gas
40440 @if gcc
40441 @if test -d $(HOST_SUBDIR)/gcc ; then \
40442 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
40444 @endif gcc
40445 @if gmp
40446 @if test -d $(HOST_SUBDIR)/gmp ; then \
40447 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
40449 @endif gmp
40450 @if mpfr
40451 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40452 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
40454 @endif mpfr
40455 @if mpc
40456 @if test -d $(HOST_SUBDIR)/mpc ; then \
40457 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
40459 @endif mpc
40460 @if ppl
40461 @if test -d $(HOST_SUBDIR)/ppl ; then \
40462 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
40464 @endif ppl
40465 @if cloog
40466 @if test -d $(HOST_SUBDIR)/cloog ; then \
40467 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
40469 @endif cloog
40470 @if libelf
40471 @if test -d $(HOST_SUBDIR)/libelf ; then \
40472 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
40474 @endif libelf
40475 @if gold
40476 @if test -d $(HOST_SUBDIR)/gold ; then \
40477 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
40479 @endif gold
40480 @if intl
40481 @if test -d $(HOST_SUBDIR)/intl ; then \
40482 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
40484 @endif intl
40485 @if ld
40486 @if test -d $(HOST_SUBDIR)/ld ; then \
40487 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
40489 @endif ld
40490 @if libcpp
40491 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40492 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
40494 @endif libcpp
40495 @if libdecnumber
40496 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40497 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
40499 @endif libdecnumber
40500 @if libiberty
40501 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40502 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
40504 @endif libiberty
40505 @if zlib
40506 @if test -d $(HOST_SUBDIR)/zlib ; then \
40507 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
40509 @endif zlib
40510 @if lto-plugin
40511 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40512 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
40514 @endif lto-plugin
40515 @if test -d $(TARGET_SUBDIR) ; then \
40516 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
40518 rm -f stage_current
40520 # Bubble a bug fix through all the stages up to stage 1. They are
40521 # remade, but not reconfigured. The next stage (if any) will not be
40522 # reconfigured either.
40523 .PHONY: stage1-bubble
40524 stage1-bubble::
40525 @r=`${PWD_COMMAND}`; export r; \
40526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40527 if test -f stage1-lean ; then \
40528 echo Skipping rebuild of stage1 ; \
40529 else \
40530 $(MAKE) stage1-start; \
40531 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
40534 .PHONY: all-stage1 clean-stage1
40535 do-clean: clean-stage1
40537 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40538 # only possibility, but now it conflicts with no-bootstrap rules
40539 @if gcc-bootstrap
40544 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40546 .PHONY: distclean-stage1
40547 distclean-stage1::
40548 @: $(MAKE); $(stage)
40549 @test "`cat stage_last`" != stage1 || rm -f stage_last
40550 rm -rf stage1-*
40553 @endif gcc-bootstrap
40556 .PHONY: stage2-start stage2-end
40558 stage2-start::
40559 @: $(MAKE); $(stage); \
40560 echo stage2 > stage_current ; \
40561 echo stage2 > stage_last; \
40562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40563 @if bfd
40564 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
40565 mkdir stage2-bfd; \
40566 mv stage2-bfd bfd ; \
40567 mv stage1-bfd prev-bfd || test -f stage1-lean
40568 @endif bfd
40569 @if opcodes
40570 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
40571 mkdir stage2-opcodes; \
40572 mv stage2-opcodes opcodes ; \
40573 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40574 @endif opcodes
40575 @if binutils
40576 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
40577 mkdir stage2-binutils; \
40578 mv stage2-binutils binutils ; \
40579 mv stage1-binutils prev-binutils || test -f stage1-lean
40580 @endif binutils
40581 @if gas
40582 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
40583 mkdir stage2-gas; \
40584 mv stage2-gas gas ; \
40585 mv stage1-gas prev-gas || test -f stage1-lean
40586 @endif gas
40587 @if gcc
40588 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
40589 mkdir stage2-gcc; \
40590 mv stage2-gcc gcc ; \
40591 mv stage1-gcc prev-gcc || test -f stage1-lean
40592 @endif gcc
40593 @if gmp
40594 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
40595 mkdir stage2-gmp; \
40596 mv stage2-gmp gmp ; \
40597 mv stage1-gmp prev-gmp || test -f stage1-lean
40598 @endif gmp
40599 @if mpfr
40600 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
40601 mkdir stage2-mpfr; \
40602 mv stage2-mpfr mpfr ; \
40603 mv stage1-mpfr prev-mpfr || test -f stage1-lean
40604 @endif mpfr
40605 @if mpc
40606 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
40607 mkdir stage2-mpc; \
40608 mv stage2-mpc mpc ; \
40609 mv stage1-mpc prev-mpc || test -f stage1-lean
40610 @endif mpc
40611 @if ppl
40612 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
40613 mkdir stage2-ppl; \
40614 mv stage2-ppl ppl ; \
40615 mv stage1-ppl prev-ppl || test -f stage1-lean
40616 @endif ppl
40617 @if cloog
40618 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
40619 mkdir stage2-cloog; \
40620 mv stage2-cloog cloog ; \
40621 mv stage1-cloog prev-cloog || test -f stage1-lean
40622 @endif cloog
40623 @if libelf
40624 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
40625 mkdir stage2-libelf; \
40626 mv stage2-libelf libelf ; \
40627 mv stage1-libelf prev-libelf || test -f stage1-lean
40628 @endif libelf
40629 @if gold
40630 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
40631 mkdir stage2-gold; \
40632 mv stage2-gold gold ; \
40633 mv stage1-gold prev-gold || test -f stage1-lean
40634 @endif gold
40635 @if intl
40636 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
40637 mkdir stage2-intl; \
40638 mv stage2-intl intl ; \
40639 mv stage1-intl prev-intl || test -f stage1-lean
40640 @endif intl
40641 @if ld
40642 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
40643 mkdir stage2-ld; \
40644 mv stage2-ld ld ; \
40645 mv stage1-ld prev-ld || test -f stage1-lean
40646 @endif ld
40647 @if libcpp
40648 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
40649 mkdir stage2-libcpp; \
40650 mv stage2-libcpp libcpp ; \
40651 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40652 @endif libcpp
40653 @if libdecnumber
40654 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
40655 mkdir stage2-libdecnumber; \
40656 mv stage2-libdecnumber libdecnumber ; \
40657 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40658 @endif libdecnumber
40659 @if libiberty
40660 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
40661 mkdir stage2-libiberty; \
40662 mv stage2-libiberty libiberty ; \
40663 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40664 @endif libiberty
40665 @if zlib
40666 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
40667 mkdir stage2-zlib; \
40668 mv stage2-zlib zlib ; \
40669 mv stage1-zlib prev-zlib || test -f stage1-lean
40670 @endif zlib
40671 @if lto-plugin
40672 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
40673 mkdir stage2-lto-plugin; \
40674 mv stage2-lto-plugin lto-plugin ; \
40675 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
40676 @endif lto-plugin
40677 @[ -d stage2-$(TARGET_SUBDIR) ] || \
40678 mkdir stage2-$(TARGET_SUBDIR); \
40679 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40680 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40682 stage2-end::
40683 @if bfd
40684 @if test -d $(HOST_SUBDIR)/bfd ; then \
40685 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
40686 mv prev-bfd stage1-bfd ; : ; \
40688 @endif bfd
40689 @if opcodes
40690 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40691 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
40692 mv prev-opcodes stage1-opcodes ; : ; \
40694 @endif opcodes
40695 @if binutils
40696 @if test -d $(HOST_SUBDIR)/binutils ; then \
40697 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
40698 mv prev-binutils stage1-binutils ; : ; \
40700 @endif binutils
40701 @if gas
40702 @if test -d $(HOST_SUBDIR)/gas ; then \
40703 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
40704 mv prev-gas stage1-gas ; : ; \
40706 @endif gas
40707 @if gcc
40708 @if test -d $(HOST_SUBDIR)/gcc ; then \
40709 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
40710 mv prev-gcc stage1-gcc ; : ; \
40712 @endif gcc
40713 @if gmp
40714 @if test -d $(HOST_SUBDIR)/gmp ; then \
40715 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
40716 mv prev-gmp stage1-gmp ; : ; \
40718 @endif gmp
40719 @if mpfr
40720 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40721 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
40722 mv prev-mpfr stage1-mpfr ; : ; \
40724 @endif mpfr
40725 @if mpc
40726 @if test -d $(HOST_SUBDIR)/mpc ; then \
40727 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
40728 mv prev-mpc stage1-mpc ; : ; \
40730 @endif mpc
40731 @if ppl
40732 @if test -d $(HOST_SUBDIR)/ppl ; then \
40733 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
40734 mv prev-ppl stage1-ppl ; : ; \
40736 @endif ppl
40737 @if cloog
40738 @if test -d $(HOST_SUBDIR)/cloog ; then \
40739 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
40740 mv prev-cloog stage1-cloog ; : ; \
40742 @endif cloog
40743 @if libelf
40744 @if test -d $(HOST_SUBDIR)/libelf ; then \
40745 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
40746 mv prev-libelf stage1-libelf ; : ; \
40748 @endif libelf
40749 @if gold
40750 @if test -d $(HOST_SUBDIR)/gold ; then \
40751 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
40752 mv prev-gold stage1-gold ; : ; \
40754 @endif gold
40755 @if intl
40756 @if test -d $(HOST_SUBDIR)/intl ; then \
40757 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
40758 mv prev-intl stage1-intl ; : ; \
40760 @endif intl
40761 @if ld
40762 @if test -d $(HOST_SUBDIR)/ld ; then \
40763 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
40764 mv prev-ld stage1-ld ; : ; \
40766 @endif ld
40767 @if libcpp
40768 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40769 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
40770 mv prev-libcpp stage1-libcpp ; : ; \
40772 @endif libcpp
40773 @if libdecnumber
40774 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40775 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
40776 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40778 @endif libdecnumber
40779 @if libiberty
40780 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40781 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
40782 mv prev-libiberty stage1-libiberty ; : ; \
40784 @endif libiberty
40785 @if zlib
40786 @if test -d $(HOST_SUBDIR)/zlib ; then \
40787 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
40788 mv prev-zlib stage1-zlib ; : ; \
40790 @endif zlib
40791 @if lto-plugin
40792 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40793 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
40794 mv prev-lto-plugin stage1-lto-plugin ; : ; \
40796 @endif lto-plugin
40797 @if test -d $(TARGET_SUBDIR) ; then \
40798 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
40799 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40801 rm -f stage_current
40803 # Bubble a bug fix through all the stages up to stage 2. They are
40804 # remade, but not reconfigured. The next stage (if any) will not be
40805 # reconfigured either.
40806 .PHONY: stage2-bubble
40807 stage2-bubble:: stage1-bubble
40808 @r=`${PWD_COMMAND}`; export r; \
40809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40810 if test -f stage2-lean || test -f stage1-lean ; then \
40811 echo Skipping rebuild of stage2 ; \
40812 else \
40813 $(MAKE) stage2-start; \
40814 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
40817 .PHONY: all-stage2 clean-stage2
40818 do-clean: clean-stage2
40820 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40821 # only possibility, but now it conflicts with no-bootstrap rules
40822 @if gcc-bootstrap
40826 .PHONY: bootstrap2 bootstrap2-lean
40827 bootstrap2:
40828 echo stage2 > stage_final
40829 @r=`${PWD_COMMAND}`; export r; \
40830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40831 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
40832 @: $(MAKE); $(unstage)
40833 @r=`${PWD_COMMAND}`; export r; \
40834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40835 TFLAGS="$(STAGE2_TFLAGS)"; \
40836 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40838 bootstrap2-lean:
40839 echo stage2 > stage_final
40840 @r=`${PWD_COMMAND}`; export r; \
40841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40842 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
40843 @: $(MAKE); $(unstage)
40844 @r=`${PWD_COMMAND}`; export r; \
40845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40846 TFLAGS="$(STAGE2_TFLAGS)"; \
40847 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40850 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40851 distclean-stage1:: distclean-stage2
40852 .PHONY: distclean-stage2
40853 distclean-stage2::
40854 @: $(MAKE); $(stage)
40855 @test "`cat stage_last`" != stage2 || rm -f stage_last
40856 rm -rf stage2-*
40859 @endif gcc-bootstrap
40862 .PHONY: stage3-start stage3-end
40864 stage3-start::
40865 @: $(MAKE); $(stage); \
40866 echo stage3 > stage_current ; \
40867 echo stage3 > stage_last; \
40868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40869 @if bfd
40870 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
40871 mkdir stage3-bfd; \
40872 mv stage3-bfd bfd ; \
40873 mv stage2-bfd prev-bfd || test -f stage2-lean
40874 @endif bfd
40875 @if opcodes
40876 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
40877 mkdir stage3-opcodes; \
40878 mv stage3-opcodes opcodes ; \
40879 mv stage2-opcodes prev-opcodes || test -f stage2-lean
40880 @endif opcodes
40881 @if binutils
40882 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
40883 mkdir stage3-binutils; \
40884 mv stage3-binutils binutils ; \
40885 mv stage2-binutils prev-binutils || test -f stage2-lean
40886 @endif binutils
40887 @if gas
40888 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
40889 mkdir stage3-gas; \
40890 mv stage3-gas gas ; \
40891 mv stage2-gas prev-gas || test -f stage2-lean
40892 @endif gas
40893 @if gcc
40894 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
40895 mkdir stage3-gcc; \
40896 mv stage3-gcc gcc ; \
40897 mv stage2-gcc prev-gcc || test -f stage2-lean
40898 @endif gcc
40899 @if gmp
40900 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
40901 mkdir stage3-gmp; \
40902 mv stage3-gmp gmp ; \
40903 mv stage2-gmp prev-gmp || test -f stage2-lean
40904 @endif gmp
40905 @if mpfr
40906 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
40907 mkdir stage3-mpfr; \
40908 mv stage3-mpfr mpfr ; \
40909 mv stage2-mpfr prev-mpfr || test -f stage2-lean
40910 @endif mpfr
40911 @if mpc
40912 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
40913 mkdir stage3-mpc; \
40914 mv stage3-mpc mpc ; \
40915 mv stage2-mpc prev-mpc || test -f stage2-lean
40916 @endif mpc
40917 @if ppl
40918 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
40919 mkdir stage3-ppl; \
40920 mv stage3-ppl ppl ; \
40921 mv stage2-ppl prev-ppl || test -f stage2-lean
40922 @endif ppl
40923 @if cloog
40924 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
40925 mkdir stage3-cloog; \
40926 mv stage3-cloog cloog ; \
40927 mv stage2-cloog prev-cloog || test -f stage2-lean
40928 @endif cloog
40929 @if libelf
40930 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
40931 mkdir stage3-libelf; \
40932 mv stage3-libelf libelf ; \
40933 mv stage2-libelf prev-libelf || test -f stage2-lean
40934 @endif libelf
40935 @if gold
40936 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
40937 mkdir stage3-gold; \
40938 mv stage3-gold gold ; \
40939 mv stage2-gold prev-gold || test -f stage2-lean
40940 @endif gold
40941 @if intl
40942 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
40943 mkdir stage3-intl; \
40944 mv stage3-intl intl ; \
40945 mv stage2-intl prev-intl || test -f stage2-lean
40946 @endif intl
40947 @if ld
40948 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
40949 mkdir stage3-ld; \
40950 mv stage3-ld ld ; \
40951 mv stage2-ld prev-ld || test -f stage2-lean
40952 @endif ld
40953 @if libcpp
40954 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
40955 mkdir stage3-libcpp; \
40956 mv stage3-libcpp libcpp ; \
40957 mv stage2-libcpp prev-libcpp || test -f stage2-lean
40958 @endif libcpp
40959 @if libdecnumber
40960 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
40961 mkdir stage3-libdecnumber; \
40962 mv stage3-libdecnumber libdecnumber ; \
40963 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
40964 @endif libdecnumber
40965 @if libiberty
40966 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
40967 mkdir stage3-libiberty; \
40968 mv stage3-libiberty libiberty ; \
40969 mv stage2-libiberty prev-libiberty || test -f stage2-lean
40970 @endif libiberty
40971 @if zlib
40972 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
40973 mkdir stage3-zlib; \
40974 mv stage3-zlib zlib ; \
40975 mv stage2-zlib prev-zlib || test -f stage2-lean
40976 @endif zlib
40977 @if lto-plugin
40978 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
40979 mkdir stage3-lto-plugin; \
40980 mv stage3-lto-plugin lto-plugin ; \
40981 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
40982 @endif lto-plugin
40983 @[ -d stage3-$(TARGET_SUBDIR) ] || \
40984 mkdir stage3-$(TARGET_SUBDIR); \
40985 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40986 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
40988 stage3-end::
40989 @if bfd
40990 @if test -d $(HOST_SUBDIR)/bfd ; then \
40991 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
40992 mv prev-bfd stage2-bfd ; : ; \
40994 @endif bfd
40995 @if opcodes
40996 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40997 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
40998 mv prev-opcodes stage2-opcodes ; : ; \
41000 @endif opcodes
41001 @if binutils
41002 @if test -d $(HOST_SUBDIR)/binutils ; then \
41003 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41004 mv prev-binutils stage2-binutils ; : ; \
41006 @endif binutils
41007 @if gas
41008 @if test -d $(HOST_SUBDIR)/gas ; then \
41009 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41010 mv prev-gas stage2-gas ; : ; \
41012 @endif gas
41013 @if gcc
41014 @if test -d $(HOST_SUBDIR)/gcc ; then \
41015 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41016 mv prev-gcc stage2-gcc ; : ; \
41018 @endif gcc
41019 @if gmp
41020 @if test -d $(HOST_SUBDIR)/gmp ; then \
41021 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41022 mv prev-gmp stage2-gmp ; : ; \
41024 @endif gmp
41025 @if mpfr
41026 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41027 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41028 mv prev-mpfr stage2-mpfr ; : ; \
41030 @endif mpfr
41031 @if mpc
41032 @if test -d $(HOST_SUBDIR)/mpc ; then \
41033 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41034 mv prev-mpc stage2-mpc ; : ; \
41036 @endif mpc
41037 @if ppl
41038 @if test -d $(HOST_SUBDIR)/ppl ; then \
41039 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41040 mv prev-ppl stage2-ppl ; : ; \
41042 @endif ppl
41043 @if cloog
41044 @if test -d $(HOST_SUBDIR)/cloog ; then \
41045 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41046 mv prev-cloog stage2-cloog ; : ; \
41048 @endif cloog
41049 @if libelf
41050 @if test -d $(HOST_SUBDIR)/libelf ; then \
41051 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41052 mv prev-libelf stage2-libelf ; : ; \
41054 @endif libelf
41055 @if gold
41056 @if test -d $(HOST_SUBDIR)/gold ; then \
41057 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41058 mv prev-gold stage2-gold ; : ; \
41060 @endif gold
41061 @if intl
41062 @if test -d $(HOST_SUBDIR)/intl ; then \
41063 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41064 mv prev-intl stage2-intl ; : ; \
41066 @endif intl
41067 @if ld
41068 @if test -d $(HOST_SUBDIR)/ld ; then \
41069 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
41070 mv prev-ld stage2-ld ; : ; \
41072 @endif ld
41073 @if libcpp
41074 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41075 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
41076 mv prev-libcpp stage2-libcpp ; : ; \
41078 @endif libcpp
41079 @if libdecnumber
41080 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41081 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
41082 mv prev-libdecnumber stage2-libdecnumber ; : ; \
41084 @endif libdecnumber
41085 @if libiberty
41086 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41087 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
41088 mv prev-libiberty stage2-libiberty ; : ; \
41090 @endif libiberty
41091 @if zlib
41092 @if test -d $(HOST_SUBDIR)/zlib ; then \
41093 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
41094 mv prev-zlib stage2-zlib ; : ; \
41096 @endif zlib
41097 @if lto-plugin
41098 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41099 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
41100 mv prev-lto-plugin stage2-lto-plugin ; : ; \
41102 @endif lto-plugin
41103 @if test -d $(TARGET_SUBDIR) ; then \
41104 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
41105 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
41107 rm -f stage_current
41109 # Bubble a bug fix through all the stages up to stage 3. They are
41110 # remade, but not reconfigured. The next stage (if any) will not be
41111 # reconfigured either.
41112 .PHONY: stage3-bubble
41113 stage3-bubble:: stage2-bubble
41114 @r=`${PWD_COMMAND}`; export r; \
41115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41116 if test -f stage3-lean || test -f stage2-lean ; then \
41117 echo Skipping rebuild of stage3 ; \
41118 else \
41119 $(MAKE) stage3-start; \
41120 if $(LEAN); then \
41121 rm -rf stage1-* ; \
41122 $(STAMP) stage1-lean ; \
41123 fi; \
41124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
41126 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
41128 .PHONY: all-stage3 clean-stage3
41129 do-clean: clean-stage3
41131 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41132 # only possibility, but now it conflicts with no-bootstrap rules
41133 @if gcc-bootstrap
41135 compare:
41136 @r=`${PWD_COMMAND}`; export r; \
41137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41138 if test -f stage2-lean; then \
41139 echo Cannot compare object files as stage 2 was deleted. ; \
41140 exit 0 ; \
41141 fi; \
41142 : $(MAKE); $(stage); \
41143 rm -f .bad_compare ; \
41144 echo Comparing stages 2 and 3 ; \
41145 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
41146 files=`find stage3-* -name "*$(objext)" -print | \
41147 sed -n s,^stage$$sed-,,p` ; \
41148 for file in $${files} ; do \
41149 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
41150 if test ! -f $$f1; then continue; fi; \
41151 $(do-compare) > /dev/null 2>&1; \
41152 if test $$? -eq 1; then \
41153 case $$file in \
41154 @compare_exclusions@) \
41155 echo warning: $$file differs ;; \
41156 *) \
41157 echo $$file differs >> .bad_compare ;; \
41158 esac ; \
41159 fi ; \
41160 done ; \
41161 if [ -f .bad_compare ]; then \
41162 echo "Bootstrap comparison failure!"; \
41163 cat .bad_compare; \
41164 exit 1; \
41165 else \
41166 echo Comparison successful.; \
41167 fi ; \
41168 $(STAMP) compare
41169 if $(LEAN); then \
41170 rm -rf stage2-*; \
41171 $(STAMP) stage2-lean; \
41176 .PHONY: bootstrap bootstrap-lean
41177 bootstrap:
41178 echo stage3 > stage_final
41179 @r=`${PWD_COMMAND}`; export r; \
41180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41181 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41182 @: $(MAKE); $(unstage)
41183 @r=`${PWD_COMMAND}`; export r; \
41184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41185 TFLAGS="$(STAGE3_TFLAGS)"; \
41186 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41188 bootstrap-lean:
41189 echo stage3 > stage_final
41190 @r=`${PWD_COMMAND}`; export r; \
41191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41192 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
41193 @: $(MAKE); $(unstage)
41194 @r=`${PWD_COMMAND}`; export r; \
41195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41196 TFLAGS="$(STAGE3_TFLAGS)"; \
41197 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41200 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41201 distclean-stage2:: distclean-stage3
41202 .PHONY: distclean-stage3
41203 distclean-stage3::
41204 @: $(MAKE); $(stage)
41205 @test "`cat stage_last`" != stage3 || rm -f stage_last
41206 rm -rf stage3-* compare
41209 .PHONY: cleanstrap
41210 cleanstrap: do-distclean local-clean
41211 echo stage3 > stage_final
41212 @r=`${PWD_COMMAND}`; export r; \
41213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41215 @: $(MAKE); $(unstage)
41216 @r=`${PWD_COMMAND}`; export r; \
41217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41218 TFLAGS="$(STAGE3_TFLAGS)"; \
41219 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41221 @endif gcc-bootstrap
41224 .PHONY: stage4-start stage4-end
41226 stage4-start::
41227 @: $(MAKE); $(stage); \
41228 echo stage4 > stage_current ; \
41229 echo stage4 > stage_last; \
41230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41231 @if bfd
41232 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
41233 mkdir stage4-bfd; \
41234 mv stage4-bfd bfd ; \
41235 mv stage3-bfd prev-bfd || test -f stage3-lean
41236 @endif bfd
41237 @if opcodes
41238 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
41239 mkdir stage4-opcodes; \
41240 mv stage4-opcodes opcodes ; \
41241 mv stage3-opcodes prev-opcodes || test -f stage3-lean
41242 @endif opcodes
41243 @if binutils
41244 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
41245 mkdir stage4-binutils; \
41246 mv stage4-binutils binutils ; \
41247 mv stage3-binutils prev-binutils || test -f stage3-lean
41248 @endif binutils
41249 @if gas
41250 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
41251 mkdir stage4-gas; \
41252 mv stage4-gas gas ; \
41253 mv stage3-gas prev-gas || test -f stage3-lean
41254 @endif gas
41255 @if gcc
41256 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
41257 mkdir stage4-gcc; \
41258 mv stage4-gcc gcc ; \
41259 mv stage3-gcc prev-gcc || test -f stage3-lean
41260 @endif gcc
41261 @if gmp
41262 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
41263 mkdir stage4-gmp; \
41264 mv stage4-gmp gmp ; \
41265 mv stage3-gmp prev-gmp || test -f stage3-lean
41266 @endif gmp
41267 @if mpfr
41268 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
41269 mkdir stage4-mpfr; \
41270 mv stage4-mpfr mpfr ; \
41271 mv stage3-mpfr prev-mpfr || test -f stage3-lean
41272 @endif mpfr
41273 @if mpc
41274 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
41275 mkdir stage4-mpc; \
41276 mv stage4-mpc mpc ; \
41277 mv stage3-mpc prev-mpc || test -f stage3-lean
41278 @endif mpc
41279 @if ppl
41280 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
41281 mkdir stage4-ppl; \
41282 mv stage4-ppl ppl ; \
41283 mv stage3-ppl prev-ppl || test -f stage3-lean
41284 @endif ppl
41285 @if cloog
41286 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
41287 mkdir stage4-cloog; \
41288 mv stage4-cloog cloog ; \
41289 mv stage3-cloog prev-cloog || test -f stage3-lean
41290 @endif cloog
41291 @if libelf
41292 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
41293 mkdir stage4-libelf; \
41294 mv stage4-libelf libelf ; \
41295 mv stage3-libelf prev-libelf || test -f stage3-lean
41296 @endif libelf
41297 @if gold
41298 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
41299 mkdir stage4-gold; \
41300 mv stage4-gold gold ; \
41301 mv stage3-gold prev-gold || test -f stage3-lean
41302 @endif gold
41303 @if intl
41304 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
41305 mkdir stage4-intl; \
41306 mv stage4-intl intl ; \
41307 mv stage3-intl prev-intl || test -f stage3-lean
41308 @endif intl
41309 @if ld
41310 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
41311 mkdir stage4-ld; \
41312 mv stage4-ld ld ; \
41313 mv stage3-ld prev-ld || test -f stage3-lean
41314 @endif ld
41315 @if libcpp
41316 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
41317 mkdir stage4-libcpp; \
41318 mv stage4-libcpp libcpp ; \
41319 mv stage3-libcpp prev-libcpp || test -f stage3-lean
41320 @endif libcpp
41321 @if libdecnumber
41322 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
41323 mkdir stage4-libdecnumber; \
41324 mv stage4-libdecnumber libdecnumber ; \
41325 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
41326 @endif libdecnumber
41327 @if libiberty
41328 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
41329 mkdir stage4-libiberty; \
41330 mv stage4-libiberty libiberty ; \
41331 mv stage3-libiberty prev-libiberty || test -f stage3-lean
41332 @endif libiberty
41333 @if zlib
41334 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
41335 mkdir stage4-zlib; \
41336 mv stage4-zlib zlib ; \
41337 mv stage3-zlib prev-zlib || test -f stage3-lean
41338 @endif zlib
41339 @if lto-plugin
41340 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
41341 mkdir stage4-lto-plugin; \
41342 mv stage4-lto-plugin lto-plugin ; \
41343 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
41344 @endif lto-plugin
41345 @[ -d stage4-$(TARGET_SUBDIR) ] || \
41346 mkdir stage4-$(TARGET_SUBDIR); \
41347 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41348 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
41350 stage4-end::
41351 @if bfd
41352 @if test -d $(HOST_SUBDIR)/bfd ; then \
41353 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
41354 mv prev-bfd stage3-bfd ; : ; \
41356 @endif bfd
41357 @if opcodes
41358 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41359 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
41360 mv prev-opcodes stage3-opcodes ; : ; \
41362 @endif opcodes
41363 @if binutils
41364 @if test -d $(HOST_SUBDIR)/binutils ; then \
41365 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
41366 mv prev-binutils stage3-binutils ; : ; \
41368 @endif binutils
41369 @if gas
41370 @if test -d $(HOST_SUBDIR)/gas ; then \
41371 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
41372 mv prev-gas stage3-gas ; : ; \
41374 @endif gas
41375 @if gcc
41376 @if test -d $(HOST_SUBDIR)/gcc ; then \
41377 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
41378 mv prev-gcc stage3-gcc ; : ; \
41380 @endif gcc
41381 @if gmp
41382 @if test -d $(HOST_SUBDIR)/gmp ; then \
41383 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
41384 mv prev-gmp stage3-gmp ; : ; \
41386 @endif gmp
41387 @if mpfr
41388 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41389 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
41390 mv prev-mpfr stage3-mpfr ; : ; \
41392 @endif mpfr
41393 @if mpc
41394 @if test -d $(HOST_SUBDIR)/mpc ; then \
41395 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
41396 mv prev-mpc stage3-mpc ; : ; \
41398 @endif mpc
41399 @if ppl
41400 @if test -d $(HOST_SUBDIR)/ppl ; then \
41401 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
41402 mv prev-ppl stage3-ppl ; : ; \
41404 @endif ppl
41405 @if cloog
41406 @if test -d $(HOST_SUBDIR)/cloog ; then \
41407 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
41408 mv prev-cloog stage3-cloog ; : ; \
41410 @endif cloog
41411 @if libelf
41412 @if test -d $(HOST_SUBDIR)/libelf ; then \
41413 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
41414 mv prev-libelf stage3-libelf ; : ; \
41416 @endif libelf
41417 @if gold
41418 @if test -d $(HOST_SUBDIR)/gold ; then \
41419 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
41420 mv prev-gold stage3-gold ; : ; \
41422 @endif gold
41423 @if intl
41424 @if test -d $(HOST_SUBDIR)/intl ; then \
41425 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
41426 mv prev-intl stage3-intl ; : ; \
41428 @endif intl
41429 @if ld
41430 @if test -d $(HOST_SUBDIR)/ld ; then \
41431 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
41432 mv prev-ld stage3-ld ; : ; \
41434 @endif ld
41435 @if libcpp
41436 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41437 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
41438 mv prev-libcpp stage3-libcpp ; : ; \
41440 @endif libcpp
41441 @if libdecnumber
41442 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41443 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
41444 mv prev-libdecnumber stage3-libdecnumber ; : ; \
41446 @endif libdecnumber
41447 @if libiberty
41448 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41449 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
41450 mv prev-libiberty stage3-libiberty ; : ; \
41452 @endif libiberty
41453 @if zlib
41454 @if test -d $(HOST_SUBDIR)/zlib ; then \
41455 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
41456 mv prev-zlib stage3-zlib ; : ; \
41458 @endif zlib
41459 @if lto-plugin
41460 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41461 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
41462 mv prev-lto-plugin stage3-lto-plugin ; : ; \
41464 @endif lto-plugin
41465 @if test -d $(TARGET_SUBDIR) ; then \
41466 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
41467 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
41469 rm -f stage_current
41471 # Bubble a bug fix through all the stages up to stage 4. They are
41472 # remade, but not reconfigured. The next stage (if any) will not be
41473 # reconfigured either.
41474 .PHONY: stage4-bubble
41475 stage4-bubble:: stage3-bubble
41476 @r=`${PWD_COMMAND}`; export r; \
41477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41478 if test -f stage4-lean || test -f stage3-lean ; then \
41479 echo Skipping rebuild of stage4 ; \
41480 else \
41481 $(MAKE) stage4-start; \
41482 if $(LEAN); then \
41483 rm -rf stage2-* ; \
41484 $(STAMP) stage2-lean ; \
41485 fi; \
41486 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
41488 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
41490 .PHONY: all-stage4 clean-stage4
41491 do-clean: clean-stage4
41493 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41494 # only possibility, but now it conflicts with no-bootstrap rules
41495 @if gcc-bootstrap
41497 compare3:
41498 @r=`${PWD_COMMAND}`; export r; \
41499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41500 if test -f stage3-lean; then \
41501 echo Cannot compare object files as stage 3 was deleted. ; \
41502 exit 0 ; \
41503 fi; \
41504 : $(MAKE); $(stage); \
41505 rm -f .bad_compare ; \
41506 echo Comparing stages 3 and 4 ; \
41507 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
41508 files=`find stage4-* -name "*$(objext)" -print | \
41509 sed -n s,^stage$$sed-,,p` ; \
41510 for file in $${files} ; do \
41511 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
41512 if test ! -f $$f1; then continue; fi; \
41513 $(do-compare3) > /dev/null 2>&1; \
41514 if test $$? -eq 1; then \
41515 case $$file in \
41516 @compare_exclusions@) \
41517 echo warning: $$file differs ;; \
41518 *) \
41519 echo $$file differs >> .bad_compare ;; \
41520 esac ; \
41521 fi ; \
41522 done ; \
41523 if [ -f .bad_compare ]; then \
41524 echo "Bootstrap comparison failure!"; \
41525 cat .bad_compare; \
41526 exit 1; \
41527 else \
41528 echo Comparison successful.; \
41529 fi ; \
41530 $(STAMP) compare3
41531 if $(LEAN); then \
41532 rm -rf stage3-*; \
41533 $(STAMP) stage3-lean; \
41538 .PHONY: bootstrap4 bootstrap4-lean
41539 bootstrap4:
41540 echo stage4 > stage_final
41541 @r=`${PWD_COMMAND}`; export r; \
41542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41543 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
41544 @: $(MAKE); $(unstage)
41545 @r=`${PWD_COMMAND}`; export r; \
41546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41547 TFLAGS="$(STAGE4_TFLAGS)"; \
41548 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41550 bootstrap4-lean:
41551 echo stage4 > stage_final
41552 @r=`${PWD_COMMAND}`; export r; \
41553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
41555 @: $(MAKE); $(unstage)
41556 @r=`${PWD_COMMAND}`; export r; \
41557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41558 TFLAGS="$(STAGE4_TFLAGS)"; \
41559 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41562 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41563 distclean-stage3:: distclean-stage4
41564 .PHONY: distclean-stage4
41565 distclean-stage4::
41566 @: $(MAKE); $(stage)
41567 @test "`cat stage_last`" != stage4 || rm -f stage_last
41568 rm -rf stage4-* compare3
41571 @endif gcc-bootstrap
41574 .PHONY: stageprofile-start stageprofile-end
41576 stageprofile-start::
41577 @: $(MAKE); $(stage); \
41578 echo stageprofile > stage_current ; \
41579 echo stageprofile > stage_last; \
41580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41581 @if bfd
41582 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
41583 mkdir stageprofile-bfd; \
41584 mv stageprofile-bfd bfd ; \
41585 mv stage1-bfd prev-bfd || test -f stage1-lean
41586 @endif bfd
41587 @if opcodes
41588 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
41589 mkdir stageprofile-opcodes; \
41590 mv stageprofile-opcodes opcodes ; \
41591 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41592 @endif opcodes
41593 @if binutils
41594 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
41595 mkdir stageprofile-binutils; \
41596 mv stageprofile-binutils binutils ; \
41597 mv stage1-binutils prev-binutils || test -f stage1-lean
41598 @endif binutils
41599 @if gas
41600 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
41601 mkdir stageprofile-gas; \
41602 mv stageprofile-gas gas ; \
41603 mv stage1-gas prev-gas || test -f stage1-lean
41604 @endif gas
41605 @if gcc
41606 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
41607 mkdir stageprofile-gcc; \
41608 mv stageprofile-gcc gcc ; \
41609 mv stage1-gcc prev-gcc || test -f stage1-lean
41610 @endif gcc
41611 @if gmp
41612 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
41613 mkdir stageprofile-gmp; \
41614 mv stageprofile-gmp gmp ; \
41615 mv stage1-gmp prev-gmp || test -f stage1-lean
41616 @endif gmp
41617 @if mpfr
41618 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
41619 mkdir stageprofile-mpfr; \
41620 mv stageprofile-mpfr mpfr ; \
41621 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41622 @endif mpfr
41623 @if mpc
41624 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
41625 mkdir stageprofile-mpc; \
41626 mv stageprofile-mpc mpc ; \
41627 mv stage1-mpc prev-mpc || test -f stage1-lean
41628 @endif mpc
41629 @if ppl
41630 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
41631 mkdir stageprofile-ppl; \
41632 mv stageprofile-ppl ppl ; \
41633 mv stage1-ppl prev-ppl || test -f stage1-lean
41634 @endif ppl
41635 @if cloog
41636 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
41637 mkdir stageprofile-cloog; \
41638 mv stageprofile-cloog cloog ; \
41639 mv stage1-cloog prev-cloog || test -f stage1-lean
41640 @endif cloog
41641 @if libelf
41642 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
41643 mkdir stageprofile-libelf; \
41644 mv stageprofile-libelf libelf ; \
41645 mv stage1-libelf prev-libelf || test -f stage1-lean
41646 @endif libelf
41647 @if gold
41648 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
41649 mkdir stageprofile-gold; \
41650 mv stageprofile-gold gold ; \
41651 mv stage1-gold prev-gold || test -f stage1-lean
41652 @endif gold
41653 @if intl
41654 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
41655 mkdir stageprofile-intl; \
41656 mv stageprofile-intl intl ; \
41657 mv stage1-intl prev-intl || test -f stage1-lean
41658 @endif intl
41659 @if ld
41660 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
41661 mkdir stageprofile-ld; \
41662 mv stageprofile-ld ld ; \
41663 mv stage1-ld prev-ld || test -f stage1-lean
41664 @endif ld
41665 @if libcpp
41666 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
41667 mkdir stageprofile-libcpp; \
41668 mv stageprofile-libcpp libcpp ; \
41669 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41670 @endif libcpp
41671 @if libdecnumber
41672 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
41673 mkdir stageprofile-libdecnumber; \
41674 mv stageprofile-libdecnumber libdecnumber ; \
41675 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41676 @endif libdecnumber
41677 @if libiberty
41678 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
41679 mkdir stageprofile-libiberty; \
41680 mv stageprofile-libiberty libiberty ; \
41681 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41682 @endif libiberty
41683 @if zlib
41684 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
41685 mkdir stageprofile-zlib; \
41686 mv stageprofile-zlib zlib ; \
41687 mv stage1-zlib prev-zlib || test -f stage1-lean
41688 @endif zlib
41689 @if lto-plugin
41690 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
41691 mkdir stageprofile-lto-plugin; \
41692 mv stageprofile-lto-plugin lto-plugin ; \
41693 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41694 @endif lto-plugin
41695 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
41696 mkdir stageprofile-$(TARGET_SUBDIR); \
41697 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41698 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41700 stageprofile-end::
41701 @if bfd
41702 @if test -d $(HOST_SUBDIR)/bfd ; then \
41703 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
41704 mv prev-bfd stage1-bfd ; : ; \
41706 @endif bfd
41707 @if opcodes
41708 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41709 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
41710 mv prev-opcodes stage1-opcodes ; : ; \
41712 @endif opcodes
41713 @if binutils
41714 @if test -d $(HOST_SUBDIR)/binutils ; then \
41715 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
41716 mv prev-binutils stage1-binutils ; : ; \
41718 @endif binutils
41719 @if gas
41720 @if test -d $(HOST_SUBDIR)/gas ; then \
41721 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
41722 mv prev-gas stage1-gas ; : ; \
41724 @endif gas
41725 @if gcc
41726 @if test -d $(HOST_SUBDIR)/gcc ; then \
41727 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
41728 mv prev-gcc stage1-gcc ; : ; \
41730 @endif gcc
41731 @if gmp
41732 @if test -d $(HOST_SUBDIR)/gmp ; then \
41733 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
41734 mv prev-gmp stage1-gmp ; : ; \
41736 @endif gmp
41737 @if mpfr
41738 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41739 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
41740 mv prev-mpfr stage1-mpfr ; : ; \
41742 @endif mpfr
41743 @if mpc
41744 @if test -d $(HOST_SUBDIR)/mpc ; then \
41745 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
41746 mv prev-mpc stage1-mpc ; : ; \
41748 @endif mpc
41749 @if ppl
41750 @if test -d $(HOST_SUBDIR)/ppl ; then \
41751 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
41752 mv prev-ppl stage1-ppl ; : ; \
41754 @endif ppl
41755 @if cloog
41756 @if test -d $(HOST_SUBDIR)/cloog ; then \
41757 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
41758 mv prev-cloog stage1-cloog ; : ; \
41760 @endif cloog
41761 @if libelf
41762 @if test -d $(HOST_SUBDIR)/libelf ; then \
41763 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
41764 mv prev-libelf stage1-libelf ; : ; \
41766 @endif libelf
41767 @if gold
41768 @if test -d $(HOST_SUBDIR)/gold ; then \
41769 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
41770 mv prev-gold stage1-gold ; : ; \
41772 @endif gold
41773 @if intl
41774 @if test -d $(HOST_SUBDIR)/intl ; then \
41775 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
41776 mv prev-intl stage1-intl ; : ; \
41778 @endif intl
41779 @if ld
41780 @if test -d $(HOST_SUBDIR)/ld ; then \
41781 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
41782 mv prev-ld stage1-ld ; : ; \
41784 @endif ld
41785 @if libcpp
41786 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41787 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
41788 mv prev-libcpp stage1-libcpp ; : ; \
41790 @endif libcpp
41791 @if libdecnumber
41792 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41793 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
41794 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41796 @endif libdecnumber
41797 @if libiberty
41798 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41799 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
41800 mv prev-libiberty stage1-libiberty ; : ; \
41802 @endif libiberty
41803 @if zlib
41804 @if test -d $(HOST_SUBDIR)/zlib ; then \
41805 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
41806 mv prev-zlib stage1-zlib ; : ; \
41808 @endif zlib
41809 @if lto-plugin
41810 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41811 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
41812 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41814 @endif lto-plugin
41815 @if test -d $(TARGET_SUBDIR) ; then \
41816 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
41817 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41819 rm -f stage_current
41821 # Bubble a bug fix through all the stages up to stage profile. They are
41822 # remade, but not reconfigured. The next stage (if any) will not be
41823 # reconfigured either.
41824 .PHONY: stageprofile-bubble
41825 stageprofile-bubble:: stage1-bubble
41826 @r=`${PWD_COMMAND}`; export r; \
41827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41828 if test -f stageprofile-lean || test -f stage1-lean ; then \
41829 echo Skipping rebuild of stageprofile ; \
41830 else \
41831 $(MAKE) stageprofile-start; \
41832 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
41835 .PHONY: all-stageprofile clean-stageprofile
41836 do-clean: clean-stageprofile
41838 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41839 # only possibility, but now it conflicts with no-bootstrap rules
41840 @if gcc-bootstrap
41845 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41846 distclean-stage1:: distclean-stageprofile
41847 .PHONY: distclean-stageprofile
41848 distclean-stageprofile::
41849 @: $(MAKE); $(stage)
41850 @test "`cat stage_last`" != stageprofile || rm -f stage_last
41851 rm -rf stageprofile-*
41854 @endif gcc-bootstrap
41857 .PHONY: stagefeedback-start stagefeedback-end
41859 stagefeedback-start::
41860 @: $(MAKE); $(stage); \
41861 echo stagefeedback > stage_current ; \
41862 echo stagefeedback > stage_last; \
41863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41864 @if bfd
41865 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
41866 mkdir stagefeedback-bfd; \
41867 mv stagefeedback-bfd bfd ; \
41868 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
41869 @endif bfd
41870 @if opcodes
41871 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
41872 mkdir stagefeedback-opcodes; \
41873 mv stagefeedback-opcodes opcodes ; \
41874 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
41875 @endif opcodes
41876 @if binutils
41877 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
41878 mkdir stagefeedback-binutils; \
41879 mv stagefeedback-binutils binutils ; \
41880 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
41881 @endif binutils
41882 @if gas
41883 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
41884 mkdir stagefeedback-gas; \
41885 mv stagefeedback-gas gas ; \
41886 mv stageprofile-gas prev-gas || test -f stageprofile-lean
41887 @endif gas
41888 @if gcc
41889 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
41890 mkdir stagefeedback-gcc; \
41891 mv stagefeedback-gcc gcc ; \
41892 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
41893 @endif gcc
41894 @if gmp
41895 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
41896 mkdir stagefeedback-gmp; \
41897 mv stagefeedback-gmp gmp ; \
41898 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
41899 @endif gmp
41900 @if mpfr
41901 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
41902 mkdir stagefeedback-mpfr; \
41903 mv stagefeedback-mpfr mpfr ; \
41904 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
41905 @endif mpfr
41906 @if mpc
41907 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
41908 mkdir stagefeedback-mpc; \
41909 mv stagefeedback-mpc mpc ; \
41910 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
41911 @endif mpc
41912 @if ppl
41913 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
41914 mkdir stagefeedback-ppl; \
41915 mv stagefeedback-ppl ppl ; \
41916 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
41917 @endif ppl
41918 @if cloog
41919 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
41920 mkdir stagefeedback-cloog; \
41921 mv stagefeedback-cloog cloog ; \
41922 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
41923 @endif cloog
41924 @if libelf
41925 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
41926 mkdir stagefeedback-libelf; \
41927 mv stagefeedback-libelf libelf ; \
41928 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
41929 @endif libelf
41930 @if gold
41931 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
41932 mkdir stagefeedback-gold; \
41933 mv stagefeedback-gold gold ; \
41934 mv stageprofile-gold prev-gold || test -f stageprofile-lean
41935 @endif gold
41936 @if intl
41937 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
41938 mkdir stagefeedback-intl; \
41939 mv stagefeedback-intl intl ; \
41940 mv stageprofile-intl prev-intl || test -f stageprofile-lean
41941 @endif intl
41942 @if ld
41943 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
41944 mkdir stagefeedback-ld; \
41945 mv stagefeedback-ld ld ; \
41946 mv stageprofile-ld prev-ld || test -f stageprofile-lean
41947 @endif ld
41948 @if libcpp
41949 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
41950 mkdir stagefeedback-libcpp; \
41951 mv stagefeedback-libcpp libcpp ; \
41952 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
41953 @endif libcpp
41954 @if libdecnumber
41955 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
41956 mkdir stagefeedback-libdecnumber; \
41957 mv stagefeedback-libdecnumber libdecnumber ; \
41958 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
41959 @endif libdecnumber
41960 @if libiberty
41961 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
41962 mkdir stagefeedback-libiberty; \
41963 mv stagefeedback-libiberty libiberty ; \
41964 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
41965 @endif libiberty
41966 @if zlib
41967 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
41968 mkdir stagefeedback-zlib; \
41969 mv stagefeedback-zlib zlib ; \
41970 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
41971 @endif zlib
41972 @if lto-plugin
41973 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
41974 mkdir stagefeedback-lto-plugin; \
41975 mv stagefeedback-lto-plugin lto-plugin ; \
41976 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
41977 @endif lto-plugin
41978 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
41979 mkdir stagefeedback-$(TARGET_SUBDIR); \
41980 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41981 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
41983 stagefeedback-end::
41984 @if bfd
41985 @if test -d $(HOST_SUBDIR)/bfd ; then \
41986 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
41987 mv prev-bfd stageprofile-bfd ; : ; \
41989 @endif bfd
41990 @if opcodes
41991 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41992 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
41993 mv prev-opcodes stageprofile-opcodes ; : ; \
41995 @endif opcodes
41996 @if binutils
41997 @if test -d $(HOST_SUBDIR)/binutils ; then \
41998 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
41999 mv prev-binutils stageprofile-binutils ; : ; \
42001 @endif binutils
42002 @if gas
42003 @if test -d $(HOST_SUBDIR)/gas ; then \
42004 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42005 mv prev-gas stageprofile-gas ; : ; \
42007 @endif gas
42008 @if gcc
42009 @if test -d $(HOST_SUBDIR)/gcc ; then \
42010 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42011 mv prev-gcc stageprofile-gcc ; : ; \
42013 @endif gcc
42014 @if gmp
42015 @if test -d $(HOST_SUBDIR)/gmp ; then \
42016 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42017 mv prev-gmp stageprofile-gmp ; : ; \
42019 @endif gmp
42020 @if mpfr
42021 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42022 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42023 mv prev-mpfr stageprofile-mpfr ; : ; \
42025 @endif mpfr
42026 @if mpc
42027 @if test -d $(HOST_SUBDIR)/mpc ; then \
42028 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42029 mv prev-mpc stageprofile-mpc ; : ; \
42031 @endif mpc
42032 @if ppl
42033 @if test -d $(HOST_SUBDIR)/ppl ; then \
42034 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42035 mv prev-ppl stageprofile-ppl ; : ; \
42037 @endif ppl
42038 @if cloog
42039 @if test -d $(HOST_SUBDIR)/cloog ; then \
42040 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42041 mv prev-cloog stageprofile-cloog ; : ; \
42043 @endif cloog
42044 @if libelf
42045 @if test -d $(HOST_SUBDIR)/libelf ; then \
42046 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42047 mv prev-libelf stageprofile-libelf ; : ; \
42049 @endif libelf
42050 @if gold
42051 @if test -d $(HOST_SUBDIR)/gold ; then \
42052 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42053 mv prev-gold stageprofile-gold ; : ; \
42055 @endif gold
42056 @if intl
42057 @if test -d $(HOST_SUBDIR)/intl ; then \
42058 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42059 mv prev-intl stageprofile-intl ; : ; \
42061 @endif intl
42062 @if ld
42063 @if test -d $(HOST_SUBDIR)/ld ; then \
42064 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42065 mv prev-ld stageprofile-ld ; : ; \
42067 @endif ld
42068 @if libcpp
42069 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42070 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42071 mv prev-libcpp stageprofile-libcpp ; : ; \
42073 @endif libcpp
42074 @if libdecnumber
42075 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42076 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42077 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42079 @endif libdecnumber
42080 @if libiberty
42081 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42082 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42083 mv prev-libiberty stageprofile-libiberty ; : ; \
42085 @endif libiberty
42086 @if zlib
42087 @if test -d $(HOST_SUBDIR)/zlib ; then \
42088 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42089 mv prev-zlib stageprofile-zlib ; : ; \
42091 @endif zlib
42092 @if lto-plugin
42093 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42094 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
42095 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
42097 @endif lto-plugin
42098 @if test -d $(TARGET_SUBDIR) ; then \
42099 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42100 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42102 rm -f stage_current
42104 # Bubble a bug fix through all the stages up to stage feedback. They are
42105 # remade, but not reconfigured. The next stage (if any) will not be
42106 # reconfigured either.
42107 .PHONY: stagefeedback-bubble
42108 stagefeedback-bubble:: stageprofile-bubble
42109 @r=`${PWD_COMMAND}`; export r; \
42110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42111 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42112 echo Skipping rebuild of stagefeedback ; \
42113 else \
42114 $(MAKE) stagefeedback-start; \
42115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42118 .PHONY: all-stagefeedback clean-stagefeedback
42119 do-clean: clean-stagefeedback
42121 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42122 # only possibility, but now it conflicts with no-bootstrap rules
42123 @if gcc-bootstrap
42127 .PHONY: profiledbootstrap profiledbootstrap-lean
42128 profiledbootstrap:
42129 echo stagefeedback > stage_final
42130 @r=`${PWD_COMMAND}`; export r; \
42131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42132 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42133 @: $(MAKE); $(unstage)
42134 @r=`${PWD_COMMAND}`; export r; \
42135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42136 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42137 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42139 profiledbootstrap-lean:
42140 echo stagefeedback > stage_final
42141 @r=`${PWD_COMMAND}`; export r; \
42142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42144 @: $(MAKE); $(unstage)
42145 @r=`${PWD_COMMAND}`; export r; \
42146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42147 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42148 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42151 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42152 distclean-stageprofile:: distclean-stagefeedback
42153 .PHONY: distclean-stagefeedback
42154 distclean-stagefeedback::
42155 @: $(MAKE); $(stage)
42156 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
42157 rm -rf stagefeedback-*
42160 @endif gcc-bootstrap
42164 stageprofile-end::
42165 $(MAKE) distclean-stagefeedback
42167 stagefeedback-start::
42168 @r=`${PWD_COMMAND}`; export r; \
42169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42170 for i in prev-*; do \
42171 j=`echo $$i | sed s/^prev-//` ; \
42172 cd $$r/$$i && \
42173 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42174 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42175 done
42177 @if gcc-bootstrap
42178 do-distclean: distclean-stage1
42180 # Provide a GCC build when we're building target libraries. This does
42181 # not work as a dependency, just as the minimum necessary to avoid errors.
42182 stage_last:
42183 @r=`${PWD_COMMAND}`; export r; \
42184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42185 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42187 # Same as unstage, but not phony and defaulting to stage1-start. We place
42188 # it in the dependency so that for example `make -j3 all-gcc' works.
42189 stage_current:
42190 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42192 .PHONY: restrap
42193 restrap::
42194 @: $(MAKE); $(stage)
42195 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42196 restrap:: all
42197 @endif gcc-bootstrap
42199 # --------------------------------------
42200 # Dependencies between different modules
42201 # --------------------------------------
42203 # Generic dependencies for target modules on host stuff, especially gcc
42204 @if gcc-bootstrap
42205 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
42206 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
42207 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
42208 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
42209 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
42210 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
42211 configure-target-libmudflap: stage_last
42212 configure-target-libssp: stage_last
42213 configure-target-newlib: stage_last
42214 configure-stage1-target-libgcc: maybe-all-stage1-gcc
42215 configure-stage2-target-libgcc: maybe-all-stage2-gcc
42216 configure-stage3-target-libgcc: maybe-all-stage3-gcc
42217 configure-stage4-target-libgcc: maybe-all-stage4-gcc
42218 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
42219 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
42220 configure-target-libquadmath: stage_last
42221 configure-target-libgfortran: stage_last
42222 configure-target-libobjc: stage_last
42223 configure-target-libgo: stage_last
42224 configure-target-libtermcap: stage_last
42225 configure-target-winsup: stage_last
42226 configure-target-libgloss: stage_last
42227 configure-target-libffi: stage_last
42228 configure-target-libjava: stage_last
42229 configure-target-zlib: stage_last
42230 configure-target-boehm-gc: stage_last
42231 configure-target-rda: stage_last
42232 configure-target-libada: stage_last
42233 configure-stage1-target-libgomp: maybe-all-stage1-gcc
42234 configure-stage2-target-libgomp: maybe-all-stage2-gcc
42235 configure-stage3-target-libgomp: maybe-all-stage3-gcc
42236 configure-stage4-target-libgomp: maybe-all-stage4-gcc
42237 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
42238 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
42239 @endif gcc-bootstrap
42241 @if gcc-no-bootstrap
42242 configure-target-libstdc++-v3: maybe-all-gcc
42243 configure-target-libmudflap: maybe-all-gcc
42244 configure-target-libssp: maybe-all-gcc
42245 configure-target-newlib: maybe-all-gcc
42246 configure-target-libgcc: maybe-all-gcc
42247 configure-target-libquadmath: maybe-all-gcc
42248 configure-target-libgfortran: maybe-all-gcc
42249 configure-target-libobjc: maybe-all-gcc
42250 configure-target-libgo: maybe-all-gcc
42251 configure-target-libtermcap: maybe-all-gcc
42252 configure-target-winsup: maybe-all-gcc
42253 configure-target-libgloss: maybe-all-gcc
42254 configure-target-libffi: maybe-all-gcc
42255 configure-target-libjava: maybe-all-gcc
42256 configure-target-zlib: maybe-all-gcc
42257 configure-target-boehm-gc: maybe-all-gcc
42258 configure-target-rda: maybe-all-gcc
42259 configure-target-libada: maybe-all-gcc
42260 configure-target-libgomp: maybe-all-gcc
42261 @endif gcc-no-bootstrap
42264 # There are two types of dependencies here: 'hard' dependencies, where one
42265 # module simply won't build without the other; and 'soft' dependencies, where
42266 # if the depended-on module is missing, the depending module will do without
42267 # or find a substitute somewhere (perhaps installed). Soft dependencies
42268 # are made here to depend on a 'maybe-' target. If you're not sure,
42269 # it's safer to use a soft dependency.
42276 # With all the machinery above in place, it is pretty easy to generate
42277 # dependencies. Host dependencies are a bit more complex because we have
42278 # to check for bootstrap/prebootstrap dependencies. To resolve
42279 # prebootstrap dependencies, prebootstrap modules are gathered in
42280 # a hash table.
42281 all-build-bison: maybe-all-build-texinfo
42282 all-build-flex: maybe-all-build-texinfo
42283 all-build-flex: maybe-all-build-bison
42284 all-build-flex: maybe-all-build-m4
42285 all-build-libiberty: maybe-all-build-texinfo
42286 all-build-m4: maybe-all-build-texinfo
42287 all-build-fixincludes: maybe-all-build-libiberty
42288 configure-gcc: maybe-configure-intl
42290 configure-stage1-gcc: maybe-configure-stage1-intl
42291 configure-stage2-gcc: maybe-configure-stage2-intl
42292 configure-stage3-gcc: maybe-configure-stage3-intl
42293 configure-stage4-gcc: maybe-configure-stage4-intl
42294 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
42295 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
42296 configure-gcc: maybe-all-lto-plugin
42298 configure-stage1-gcc: maybe-all-stage1-lto-plugin
42299 configure-stage2-gcc: maybe-all-stage2-lto-plugin
42300 configure-stage3-gcc: maybe-all-stage3-lto-plugin
42301 configure-stage4-gcc: maybe-all-stage4-lto-plugin
42302 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42303 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42304 configure-gcc: maybe-all-binutils
42306 configure-stage1-gcc: maybe-all-stage1-binutils
42307 configure-stage2-gcc: maybe-all-stage2-binutils
42308 configure-stage3-gcc: maybe-all-stage3-binutils
42309 configure-stage4-gcc: maybe-all-stage4-binutils
42310 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
42311 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
42312 configure-gcc: maybe-all-gas
42314 configure-stage1-gcc: maybe-all-stage1-gas
42315 configure-stage2-gcc: maybe-all-stage2-gas
42316 configure-stage3-gcc: maybe-all-stage3-gas
42317 configure-stage4-gcc: maybe-all-stage4-gas
42318 configure-stageprofile-gcc: maybe-all-stageprofile-gas
42319 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
42320 configure-gcc: maybe-all-ld
42322 configure-stage1-gcc: maybe-all-stage1-ld
42323 configure-stage2-gcc: maybe-all-stage2-ld
42324 configure-stage3-gcc: maybe-all-stage3-ld
42325 configure-stage4-gcc: maybe-all-stage4-ld
42326 configure-stageprofile-gcc: maybe-all-stageprofile-ld
42327 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
42328 configure-gcc: maybe-all-gold
42330 configure-stage1-gcc: maybe-all-stage1-gold
42331 configure-stage2-gcc: maybe-all-stage2-gold
42332 configure-stage3-gcc: maybe-all-stage3-gold
42333 configure-stage4-gcc: maybe-all-stage4-gold
42334 configure-stageprofile-gcc: maybe-all-stageprofile-gold
42335 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
42336 configure-gcc: maybe-all-libelf
42338 configure-stage1-gcc: maybe-all-stage1-libelf
42339 configure-stage2-gcc: maybe-all-stage2-libelf
42340 configure-stage3-gcc: maybe-all-stage3-libelf
42341 configure-stage4-gcc: maybe-all-stage4-libelf
42342 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
42343 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
42344 all-gcc: all-libiberty
42346 all-stage1-gcc: all-stage1-libiberty
42347 all-stage2-gcc: all-stage2-libiberty
42348 all-stage3-gcc: all-stage3-libiberty
42349 all-stage4-gcc: all-stage4-libiberty
42350 all-stageprofile-gcc: all-stageprofile-libiberty
42351 all-stagefeedback-gcc: all-stagefeedback-libiberty
42352 all-gcc: maybe-all-gmp
42354 all-stage1-gcc: maybe-all-stage1-gmp
42355 all-stage2-gcc: maybe-all-stage2-gmp
42356 all-stage3-gcc: maybe-all-stage3-gmp
42357 all-stage4-gcc: maybe-all-stage4-gmp
42358 all-stageprofile-gcc: maybe-all-stageprofile-gmp
42359 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
42360 all-gcc: maybe-all-intl
42362 all-stage1-gcc: maybe-all-stage1-intl
42363 all-stage2-gcc: maybe-all-stage2-intl
42364 all-stage3-gcc: maybe-all-stage3-intl
42365 all-stage4-gcc: maybe-all-stage4-intl
42366 all-stageprofile-gcc: maybe-all-stageprofile-intl
42367 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
42368 all-gcc: maybe-all-mpfr
42370 all-stage1-gcc: maybe-all-stage1-mpfr
42371 all-stage2-gcc: maybe-all-stage2-mpfr
42372 all-stage3-gcc: maybe-all-stage3-mpfr
42373 all-stage4-gcc: maybe-all-stage4-mpfr
42374 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
42375 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
42376 all-gcc: maybe-all-mpc
42378 all-stage1-gcc: maybe-all-stage1-mpc
42379 all-stage2-gcc: maybe-all-stage2-mpc
42380 all-stage3-gcc: maybe-all-stage3-mpc
42381 all-stage4-gcc: maybe-all-stage4-mpc
42382 all-stageprofile-gcc: maybe-all-stageprofile-mpc
42383 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
42384 all-gcc: maybe-all-ppl
42386 all-stage1-gcc: maybe-all-stage1-ppl
42387 all-stage2-gcc: maybe-all-stage2-ppl
42388 all-stage3-gcc: maybe-all-stage3-ppl
42389 all-stage4-gcc: maybe-all-stage4-ppl
42390 all-stageprofile-gcc: maybe-all-stageprofile-ppl
42391 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
42392 all-gcc: maybe-all-cloog
42394 all-stage1-gcc: maybe-all-stage1-cloog
42395 all-stage2-gcc: maybe-all-stage2-cloog
42396 all-stage3-gcc: maybe-all-stage3-cloog
42397 all-stage4-gcc: maybe-all-stage4-cloog
42398 all-stageprofile-gcc: maybe-all-stageprofile-cloog
42399 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
42400 all-gcc: maybe-all-build-texinfo
42402 all-stage1-gcc: maybe-all-build-texinfo
42403 all-stage2-gcc: maybe-all-build-texinfo
42404 all-stage3-gcc: maybe-all-build-texinfo
42405 all-stage4-gcc: maybe-all-build-texinfo
42406 all-stageprofile-gcc: maybe-all-build-texinfo
42407 all-stagefeedback-gcc: maybe-all-build-texinfo
42408 all-gcc: maybe-all-build-bison
42410 all-stage1-gcc: maybe-all-build-bison
42411 all-stage2-gcc: maybe-all-build-bison
42412 all-stage3-gcc: maybe-all-build-bison
42413 all-stage4-gcc: maybe-all-build-bison
42414 all-stageprofile-gcc: maybe-all-build-bison
42415 all-stagefeedback-gcc: maybe-all-build-bison
42416 all-gcc: maybe-all-build-flex
42418 all-stage1-gcc: maybe-all-build-flex
42419 all-stage2-gcc: maybe-all-build-flex
42420 all-stage3-gcc: maybe-all-build-flex
42421 all-stage4-gcc: maybe-all-build-flex
42422 all-stageprofile-gcc: maybe-all-build-flex
42423 all-stagefeedback-gcc: maybe-all-build-flex
42424 all-gcc: maybe-all-build-libiberty
42426 all-stage1-gcc: maybe-all-build-libiberty
42427 all-stage2-gcc: maybe-all-build-libiberty
42428 all-stage3-gcc: maybe-all-build-libiberty
42429 all-stage4-gcc: maybe-all-build-libiberty
42430 all-stageprofile-gcc: maybe-all-build-libiberty
42431 all-stagefeedback-gcc: maybe-all-build-libiberty
42432 all-gcc: maybe-all-build-fixincludes
42434 all-stage1-gcc: maybe-all-build-fixincludes
42435 all-stage2-gcc: maybe-all-build-fixincludes
42436 all-stage3-gcc: maybe-all-build-fixincludes
42437 all-stage4-gcc: maybe-all-build-fixincludes
42438 all-stageprofile-gcc: maybe-all-build-fixincludes
42439 all-stagefeedback-gcc: maybe-all-build-fixincludes
42440 all-gcc: maybe-all-zlib
42442 all-stage1-gcc: maybe-all-stage1-zlib
42443 all-stage2-gcc: maybe-all-stage2-zlib
42444 all-stage3-gcc: maybe-all-stage3-zlib
42445 all-stage4-gcc: maybe-all-stage4-zlib
42446 all-stageprofile-gcc: maybe-all-stageprofile-zlib
42447 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
42448 all-gcc: all-libcpp
42450 all-stage1-gcc: all-stage1-libcpp
42451 all-stage2-gcc: all-stage2-libcpp
42452 all-stage3-gcc: all-stage3-libcpp
42453 all-stage4-gcc: all-stage4-libcpp
42454 all-stageprofile-gcc: all-stageprofile-libcpp
42455 all-stagefeedback-gcc: all-stagefeedback-libcpp
42456 all-gcc: all-libdecnumber
42458 all-stage1-gcc: all-stage1-libdecnumber
42459 all-stage2-gcc: all-stage2-libdecnumber
42460 all-stage3-gcc: all-stage3-libdecnumber
42461 all-stage4-gcc: all-stage4-libdecnumber
42462 all-stageprofile-gcc: all-stageprofile-libdecnumber
42463 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
42464 all-gcc: maybe-all-libiberty
42466 all-stage1-gcc: maybe-all-stage1-libiberty
42467 all-stage2-gcc: maybe-all-stage2-libiberty
42468 all-stage3-gcc: maybe-all-stage3-libiberty
42469 all-stage4-gcc: maybe-all-stage4-libiberty
42470 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
42471 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
42472 all-gcc: maybe-all-fixincludes
42473 all-gcc: maybe-all-lto-plugin
42475 all-stage1-gcc: maybe-all-stage1-lto-plugin
42476 all-stage2-gcc: maybe-all-stage2-lto-plugin
42477 all-stage3-gcc: maybe-all-stage3-lto-plugin
42478 all-stage4-gcc: maybe-all-stage4-lto-plugin
42479 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42480 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42481 info-gcc: maybe-all-build-libiberty
42483 info-stage1-gcc: maybe-all-build-libiberty
42484 info-stage2-gcc: maybe-all-build-libiberty
42485 info-stage3-gcc: maybe-all-build-libiberty
42486 info-stage4-gcc: maybe-all-build-libiberty
42487 info-stageprofile-gcc: maybe-all-build-libiberty
42488 info-stagefeedback-gcc: maybe-all-build-libiberty
42489 dvi-gcc: maybe-all-build-libiberty
42491 dvi-stage1-gcc: maybe-all-build-libiberty
42492 dvi-stage2-gcc: maybe-all-build-libiberty
42493 dvi-stage3-gcc: maybe-all-build-libiberty
42494 dvi-stage4-gcc: maybe-all-build-libiberty
42495 dvi-stageprofile-gcc: maybe-all-build-libiberty
42496 dvi-stagefeedback-gcc: maybe-all-build-libiberty
42497 pdf-gcc: maybe-all-build-libiberty
42499 pdf-stage1-gcc: maybe-all-build-libiberty
42500 pdf-stage2-gcc: maybe-all-build-libiberty
42501 pdf-stage3-gcc: maybe-all-build-libiberty
42502 pdf-stage4-gcc: maybe-all-build-libiberty
42503 pdf-stageprofile-gcc: maybe-all-build-libiberty
42504 pdf-stagefeedback-gcc: maybe-all-build-libiberty
42505 html-gcc: maybe-all-build-libiberty
42507 html-stage1-gcc: maybe-all-build-libiberty
42508 html-stage2-gcc: maybe-all-build-libiberty
42509 html-stage3-gcc: maybe-all-build-libiberty
42510 html-stage4-gcc: maybe-all-build-libiberty
42511 html-stageprofile-gcc: maybe-all-build-libiberty
42512 html-stagefeedback-gcc: maybe-all-build-libiberty
42513 install-gcc: maybe-install-fixincludes
42514 install-gcc: maybe-install-lto-plugin
42515 install-strip-gcc: maybe-install-strip-fixincludes
42516 configure-libcpp: configure-libiberty
42518 configure-stage1-libcpp: configure-stage1-libiberty
42519 configure-stage2-libcpp: configure-stage2-libiberty
42520 configure-stage3-libcpp: configure-stage3-libiberty
42521 configure-stage4-libcpp: configure-stage4-libiberty
42522 configure-stageprofile-libcpp: configure-stageprofile-libiberty
42523 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
42524 configure-libcpp: maybe-configure-intl
42526 configure-stage1-libcpp: maybe-configure-stage1-intl
42527 configure-stage2-libcpp: maybe-configure-stage2-intl
42528 configure-stage3-libcpp: maybe-configure-stage3-intl
42529 configure-stage4-libcpp: maybe-configure-stage4-intl
42530 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
42531 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
42532 all-libcpp: all-libiberty
42534 all-stage1-libcpp: all-stage1-libiberty
42535 all-stage2-libcpp: all-stage2-libiberty
42536 all-stage3-libcpp: all-stage3-libiberty
42537 all-stage4-libcpp: all-stage4-libiberty
42538 all-stageprofile-libcpp: all-stageprofile-libiberty
42539 all-stagefeedback-libcpp: all-stagefeedback-libiberty
42540 all-libcpp: maybe-all-intl
42542 all-stage1-libcpp: maybe-all-stage1-intl
42543 all-stage2-libcpp: maybe-all-stage2-intl
42544 all-stage3-libcpp: maybe-all-stage3-intl
42545 all-stage4-libcpp: maybe-all-stage4-intl
42546 all-stageprofile-libcpp: maybe-all-stageprofile-intl
42547 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
42548 all-fixincludes: maybe-all-libiberty
42549 all-gnattools: maybe-all-target-libada
42550 all-lto-plugin: maybe-all-libiberty
42552 all-stage1-lto-plugin: maybe-all-stage1-libiberty
42553 all-stage2-lto-plugin: maybe-all-stage2-libiberty
42554 all-stage3-lto-plugin: maybe-all-stage3-libiberty
42555 all-stage4-lto-plugin: maybe-all-stage4-libiberty
42556 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
42557 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
42558 all-utils: maybe-all-libiberty
42559 configure-mpfr: maybe-all-gmp
42561 configure-stage1-mpfr: maybe-all-stage1-gmp
42562 configure-stage2-mpfr: maybe-all-stage2-gmp
42563 configure-stage3-mpfr: maybe-all-stage3-gmp
42564 configure-stage4-mpfr: maybe-all-stage4-gmp
42565 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
42566 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
42567 configure-mpc: maybe-all-mpfr
42569 configure-stage1-mpc: maybe-all-stage1-mpfr
42570 configure-stage2-mpc: maybe-all-stage2-mpfr
42571 configure-stage3-mpc: maybe-all-stage3-mpfr
42572 configure-stage4-mpc: maybe-all-stage4-mpfr
42573 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
42574 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
42575 configure-ppl: maybe-all-gmp
42577 configure-stage1-ppl: maybe-all-stage1-gmp
42578 configure-stage2-ppl: maybe-all-stage2-gmp
42579 configure-stage3-ppl: maybe-all-stage3-gmp
42580 configure-stage4-ppl: maybe-all-stage4-gmp
42581 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
42582 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
42583 configure-ppl: maybe-all-mpfr
42585 configure-stage1-ppl: maybe-all-stage1-mpfr
42586 configure-stage2-ppl: maybe-all-stage2-mpfr
42587 configure-stage3-ppl: maybe-all-stage3-mpfr
42588 configure-stage4-ppl: maybe-all-stage4-mpfr
42589 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
42590 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
42591 configure-cloog: maybe-all-ppl
42593 configure-stage1-cloog: maybe-all-stage1-ppl
42594 configure-stage2-cloog: maybe-all-stage2-ppl
42595 configure-stage3-cloog: maybe-all-stage3-ppl
42596 configure-stage4-cloog: maybe-all-stage4-ppl
42597 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
42598 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
42599 configure-gdb: maybe-all-intl
42600 configure-gdb: maybe-configure-sim
42601 configure-gdb: maybe-all-bfd
42602 configure-gdb: maybe-all-libiconv
42603 all-gdb: maybe-all-libiberty
42604 all-gdb: maybe-all-libiconv
42605 all-gdb: maybe-all-opcodes
42606 all-gdb: maybe-all-readline
42607 all-gdb: maybe-all-build-bison
42608 all-gdb: maybe-all-sim
42609 all-gdb: maybe-all-libdecnumber
42610 all-gdb: maybe-all-libtermcap
42611 configure-libgui: maybe-configure-tcl
42612 configure-libgui: maybe-configure-tk
42613 all-libgui: maybe-all-tcl
42614 all-libgui: maybe-all-tk
42615 all-libgui: maybe-all-itcl
42616 configure-bfd: configure-libiberty
42618 configure-stage1-bfd: configure-stage1-libiberty
42619 configure-stage2-bfd: configure-stage2-libiberty
42620 configure-stage3-bfd: configure-stage3-libiberty
42621 configure-stage4-bfd: configure-stage4-libiberty
42622 configure-stageprofile-bfd: configure-stageprofile-libiberty
42623 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
42624 configure-bfd: maybe-configure-intl
42626 configure-stage1-bfd: maybe-configure-stage1-intl
42627 configure-stage2-bfd: maybe-configure-stage2-intl
42628 configure-stage3-bfd: maybe-configure-stage3-intl
42629 configure-stage4-bfd: maybe-configure-stage4-intl
42630 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
42631 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
42632 all-bfd: maybe-all-libiberty
42634 all-stage1-bfd: maybe-all-stage1-libiberty
42635 all-stage2-bfd: maybe-all-stage2-libiberty
42636 all-stage3-bfd: maybe-all-stage3-libiberty
42637 all-stage4-bfd: maybe-all-stage4-libiberty
42638 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
42639 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
42640 all-bfd: maybe-all-intl
42642 all-stage1-bfd: maybe-all-stage1-intl
42643 all-stage2-bfd: maybe-all-stage2-intl
42644 all-stage3-bfd: maybe-all-stage3-intl
42645 all-stage4-bfd: maybe-all-stage4-intl
42646 all-stageprofile-bfd: maybe-all-stageprofile-intl
42647 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
42648 configure-opcodes: configure-libiberty
42650 configure-stage1-opcodes: configure-stage1-libiberty
42651 configure-stage2-opcodes: configure-stage2-libiberty
42652 configure-stage3-opcodes: configure-stage3-libiberty
42653 configure-stage4-opcodes: configure-stage4-libiberty
42654 configure-stageprofile-opcodes: configure-stageprofile-libiberty
42655 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
42656 all-opcodes: maybe-all-libiberty
42658 all-stage1-opcodes: maybe-all-stage1-libiberty
42659 all-stage2-opcodes: maybe-all-stage2-libiberty
42660 all-stage3-opcodes: maybe-all-stage3-libiberty
42661 all-stage4-opcodes: maybe-all-stage4-libiberty
42662 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42663 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42664 configure-binutils: maybe-configure-intl
42666 configure-stage1-binutils: maybe-configure-stage1-intl
42667 configure-stage2-binutils: maybe-configure-stage2-intl
42668 configure-stage3-binutils: maybe-configure-stage3-intl
42669 configure-stage4-binutils: maybe-configure-stage4-intl
42670 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
42671 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
42672 all-binutils: maybe-all-libiberty
42674 all-stage1-binutils: maybe-all-stage1-libiberty
42675 all-stage2-binutils: maybe-all-stage2-libiberty
42676 all-stage3-binutils: maybe-all-stage3-libiberty
42677 all-stage4-binutils: maybe-all-stage4-libiberty
42678 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
42679 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
42680 all-binutils: maybe-all-opcodes
42682 all-stage1-binutils: maybe-all-stage1-opcodes
42683 all-stage2-binutils: maybe-all-stage2-opcodes
42684 all-stage3-binutils: maybe-all-stage3-opcodes
42685 all-stage4-binutils: maybe-all-stage4-opcodes
42686 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
42687 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
42688 all-binutils: maybe-all-bfd
42690 all-stage1-binutils: maybe-all-stage1-bfd
42691 all-stage2-binutils: maybe-all-stage2-bfd
42692 all-stage3-binutils: maybe-all-stage3-bfd
42693 all-stage4-binutils: maybe-all-stage4-bfd
42694 all-stageprofile-binutils: maybe-all-stageprofile-bfd
42695 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
42696 all-binutils: maybe-all-build-flex
42698 all-stage1-binutils: maybe-all-build-flex
42699 all-stage2-binutils: maybe-all-build-flex
42700 all-stage3-binutils: maybe-all-build-flex
42701 all-stage4-binutils: maybe-all-build-flex
42702 all-stageprofile-binutils: maybe-all-build-flex
42703 all-stagefeedback-binutils: maybe-all-build-flex
42704 all-binutils: maybe-all-build-bison
42706 all-stage1-binutils: maybe-all-build-bison
42707 all-stage2-binutils: maybe-all-build-bison
42708 all-stage3-binutils: maybe-all-build-bison
42709 all-stage4-binutils: maybe-all-build-bison
42710 all-stageprofile-binutils: maybe-all-build-bison
42711 all-stagefeedback-binutils: maybe-all-build-bison
42712 all-binutils: maybe-all-intl
42714 all-stage1-binutils: maybe-all-stage1-intl
42715 all-stage2-binutils: maybe-all-stage2-intl
42716 all-stage3-binutils: maybe-all-stage3-intl
42717 all-stage4-binutils: maybe-all-stage4-intl
42718 all-stageprofile-binutils: maybe-all-stageprofile-intl
42719 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
42720 install-binutils: maybe-install-opcodes
42721 install-strip-binutils: maybe-install-strip-opcodes
42722 install-opcodes: maybe-install-bfd
42723 install-strip-opcodes: maybe-install-strip-bfd
42724 configure-gas: maybe-configure-intl
42726 configure-stage1-gas: maybe-configure-stage1-intl
42727 configure-stage2-gas: maybe-configure-stage2-intl
42728 configure-stage3-gas: maybe-configure-stage3-intl
42729 configure-stage4-gas: maybe-configure-stage4-intl
42730 configure-stageprofile-gas: maybe-configure-stageprofile-intl
42731 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
42732 all-gas: maybe-all-libiberty
42734 all-stage1-gas: maybe-all-stage1-libiberty
42735 all-stage2-gas: maybe-all-stage2-libiberty
42736 all-stage3-gas: maybe-all-stage3-libiberty
42737 all-stage4-gas: maybe-all-stage4-libiberty
42738 all-stageprofile-gas: maybe-all-stageprofile-libiberty
42739 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
42740 all-gas: maybe-all-opcodes
42742 all-stage1-gas: maybe-all-stage1-opcodes
42743 all-stage2-gas: maybe-all-stage2-opcodes
42744 all-stage3-gas: maybe-all-stage3-opcodes
42745 all-stage4-gas: maybe-all-stage4-opcodes
42746 all-stageprofile-gas: maybe-all-stageprofile-opcodes
42747 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
42748 all-gas: maybe-all-bfd
42750 all-stage1-gas: maybe-all-stage1-bfd
42751 all-stage2-gas: maybe-all-stage2-bfd
42752 all-stage3-gas: maybe-all-stage3-bfd
42753 all-stage4-gas: maybe-all-stage4-bfd
42754 all-stageprofile-gas: maybe-all-stageprofile-bfd
42755 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
42756 all-gas: maybe-all-intl
42758 all-stage1-gas: maybe-all-stage1-intl
42759 all-stage2-gas: maybe-all-stage2-intl
42760 all-stage3-gas: maybe-all-stage3-intl
42761 all-stage4-gas: maybe-all-stage4-intl
42762 all-stageprofile-gas: maybe-all-stageprofile-intl
42763 all-stagefeedback-gas: maybe-all-stagefeedback-intl
42764 configure-gprof: maybe-configure-intl
42765 all-gprof: maybe-all-libiberty
42766 all-gprof: maybe-all-bfd
42767 all-gprof: maybe-all-opcodes
42768 all-gprof: maybe-all-intl
42769 configure-ld: maybe-configure-intl
42771 configure-stage1-ld: maybe-configure-stage1-intl
42772 configure-stage2-ld: maybe-configure-stage2-intl
42773 configure-stage3-ld: maybe-configure-stage3-intl
42774 configure-stage4-ld: maybe-configure-stage4-intl
42775 configure-stageprofile-ld: maybe-configure-stageprofile-intl
42776 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
42777 all-ld: maybe-all-libiberty
42779 all-stage1-ld: maybe-all-stage1-libiberty
42780 all-stage2-ld: maybe-all-stage2-libiberty
42781 all-stage3-ld: maybe-all-stage3-libiberty
42782 all-stage4-ld: maybe-all-stage4-libiberty
42783 all-stageprofile-ld: maybe-all-stageprofile-libiberty
42784 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
42785 all-ld: maybe-all-bfd
42787 all-stage1-ld: maybe-all-stage1-bfd
42788 all-stage2-ld: maybe-all-stage2-bfd
42789 all-stage3-ld: maybe-all-stage3-bfd
42790 all-stage4-ld: maybe-all-stage4-bfd
42791 all-stageprofile-ld: maybe-all-stageprofile-bfd
42792 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
42793 all-ld: maybe-all-opcodes
42795 all-stage1-ld: maybe-all-stage1-opcodes
42796 all-stage2-ld: maybe-all-stage2-opcodes
42797 all-stage3-ld: maybe-all-stage3-opcodes
42798 all-stage4-ld: maybe-all-stage4-opcodes
42799 all-stageprofile-ld: maybe-all-stageprofile-opcodes
42800 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
42801 all-ld: maybe-all-build-bison
42803 all-stage1-ld: maybe-all-build-bison
42804 all-stage2-ld: maybe-all-build-bison
42805 all-stage3-ld: maybe-all-build-bison
42806 all-stage4-ld: maybe-all-build-bison
42807 all-stageprofile-ld: maybe-all-build-bison
42808 all-stagefeedback-ld: maybe-all-build-bison
42809 all-ld: maybe-all-build-flex
42811 all-stage1-ld: maybe-all-build-flex
42812 all-stage2-ld: maybe-all-build-flex
42813 all-stage3-ld: maybe-all-build-flex
42814 all-stage4-ld: maybe-all-build-flex
42815 all-stageprofile-ld: maybe-all-build-flex
42816 all-stagefeedback-ld: maybe-all-build-flex
42817 all-ld: maybe-all-intl
42819 all-stage1-ld: maybe-all-stage1-intl
42820 all-stage2-ld: maybe-all-stage2-intl
42821 all-stage3-ld: maybe-all-stage3-intl
42822 all-stage4-ld: maybe-all-stage4-intl
42823 all-stageprofile-ld: maybe-all-stageprofile-intl
42824 all-stagefeedback-ld: maybe-all-stagefeedback-intl
42825 install-ld: maybe-install-gold
42826 install-strip-ld: maybe-install-strip-gold
42827 configure-gold: maybe-configure-intl
42829 configure-stage1-gold: maybe-configure-stage1-intl
42830 configure-stage2-gold: maybe-configure-stage2-intl
42831 configure-stage3-gold: maybe-configure-stage3-intl
42832 configure-stage4-gold: maybe-configure-stage4-intl
42833 configure-stageprofile-gold: maybe-configure-stageprofile-intl
42834 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
42835 all-gold: maybe-all-libiberty
42837 all-stage1-gold: maybe-all-stage1-libiberty
42838 all-stage2-gold: maybe-all-stage2-libiberty
42839 all-stage3-gold: maybe-all-stage3-libiberty
42840 all-stage4-gold: maybe-all-stage4-libiberty
42841 all-stageprofile-gold: maybe-all-stageprofile-libiberty
42842 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
42843 all-gold: maybe-all-intl
42845 all-stage1-gold: maybe-all-stage1-intl
42846 all-stage2-gold: maybe-all-stage2-intl
42847 all-stage3-gold: maybe-all-stage3-intl
42848 all-stage4-gold: maybe-all-stage4-intl
42849 all-stageprofile-gold: maybe-all-stageprofile-intl
42850 all-stagefeedback-gold: maybe-all-stagefeedback-intl
42851 all-gold: maybe-all-bfd
42853 all-stage1-gold: maybe-all-stage1-bfd
42854 all-stage2-gold: maybe-all-stage2-bfd
42855 all-stage3-gold: maybe-all-stage3-bfd
42856 all-stage4-gold: maybe-all-stage4-bfd
42857 all-stageprofile-gold: maybe-all-stageprofile-bfd
42858 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
42859 all-gold: maybe-all-build-bison
42861 all-stage1-gold: maybe-all-build-bison
42862 all-stage2-gold: maybe-all-build-bison
42863 all-stage3-gold: maybe-all-build-bison
42864 all-stage4-gold: maybe-all-build-bison
42865 all-stageprofile-gold: maybe-all-build-bison
42866 all-stagefeedback-gold: maybe-all-build-bison
42867 check-gold: maybe-all-binutils
42869 check-stage1-gold: maybe-all-stage1-binutils
42870 check-stage2-gold: maybe-all-stage2-binutils
42871 check-stage3-gold: maybe-all-stage3-binutils
42872 check-stage4-gold: maybe-all-stage4-binutils
42873 check-stageprofile-gold: maybe-all-stageprofile-binutils
42874 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
42875 check-gold: maybe-all-gas
42877 check-stage1-gold: maybe-all-stage1-gas
42878 check-stage2-gold: maybe-all-stage2-gas
42879 check-stage3-gold: maybe-all-stage3-gas
42880 check-stage4-gold: maybe-all-stage4-gas
42881 check-stageprofile-gold: maybe-all-stageprofile-gas
42882 check-stagefeedback-gold: maybe-all-stagefeedback-gas
42883 configure-opcodes: maybe-configure-intl
42885 configure-stage1-opcodes: maybe-configure-stage1-intl
42886 configure-stage2-opcodes: maybe-configure-stage2-intl
42887 configure-stage3-opcodes: maybe-configure-stage3-intl
42888 configure-stage4-opcodes: maybe-configure-stage4-intl
42889 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
42890 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
42891 all-opcodes: maybe-all-bfd
42893 all-stage1-opcodes: maybe-all-stage1-bfd
42894 all-stage2-opcodes: maybe-all-stage2-bfd
42895 all-stage3-opcodes: maybe-all-stage3-bfd
42896 all-stage4-opcodes: maybe-all-stage4-bfd
42897 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
42898 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
42899 all-opcodes: maybe-all-libiberty
42901 all-stage1-opcodes: maybe-all-stage1-libiberty
42902 all-stage2-opcodes: maybe-all-stage2-libiberty
42903 all-stage3-opcodes: maybe-all-stage3-libiberty
42904 all-stage4-opcodes: maybe-all-stage4-libiberty
42905 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42906 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42907 all-opcodes: maybe-all-intl
42909 all-stage1-opcodes: maybe-all-stage1-intl
42910 all-stage2-opcodes: maybe-all-stage2-intl
42911 all-stage3-opcodes: maybe-all-stage3-intl
42912 all-stage4-opcodes: maybe-all-stage4-intl
42913 all-stageprofile-opcodes: maybe-all-stageprofile-intl
42914 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
42915 all-dejagnu: maybe-all-tcl
42916 all-dejagnu: maybe-all-expect
42917 all-dejagnu: maybe-all-tk
42918 configure-expect: maybe-configure-tcl
42919 configure-expect: maybe-configure-tk
42920 all-expect: maybe-all-tcl
42921 all-expect: maybe-all-tk
42922 configure-itcl: maybe-configure-tcl
42923 configure-itcl: maybe-configure-tk
42924 all-itcl: maybe-all-tcl
42925 all-itcl: maybe-all-tk
42926 install-itcl: maybe-install-tcl
42927 install-strip-itcl: maybe-install-strip-tcl
42928 configure-tk: maybe-configure-tcl
42929 all-tk: maybe-all-tcl
42930 all-sid: maybe-all-libiberty
42931 all-sid: maybe-all-bfd
42932 all-sid: maybe-all-opcodes
42933 all-sid: maybe-all-tcl
42934 all-sid: maybe-all-tk
42935 install-sid: maybe-install-tcl
42936 install-strip-sid: maybe-install-strip-tcl
42937 install-sid: maybe-install-tk
42938 install-strip-sid: maybe-install-strip-tk
42939 configure-sim: maybe-configure-intl
42940 all-sim: maybe-all-intl
42941 all-sim: maybe-all-libiberty
42942 all-sim: maybe-all-bfd
42943 all-sim: maybe-all-opcodes
42944 all-sim: maybe-all-readline
42945 all-sim: maybe-configure-gdb
42946 all-fastjar: maybe-all-zlib
42947 all-fastjar: maybe-all-build-texinfo
42948 all-fastjar: maybe-all-libiberty
42949 all-bison: maybe-all-intl
42950 all-bison: maybe-all-build-texinfo
42951 all-flex: maybe-all-build-bison
42952 all-flex: maybe-all-intl
42953 all-flex: maybe-all-m4
42954 all-flex: maybe-all-build-texinfo
42955 all-m4: maybe-all-intl
42956 all-m4: maybe-all-build-texinfo
42957 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
42958 configure-target-fastjar: maybe-configure-target-zlib
42959 all-target-fastjar: maybe-all-target-zlib
42960 configure-target-libgo: maybe-configure-target-libffi
42961 configure-target-libgo: maybe-all-target-libstdc++-v3
42962 all-target-libgo: maybe-all-target-libffi
42963 configure-target-libjava: maybe-configure-target-zlib
42964 configure-target-libjava: maybe-configure-target-boehm-gc
42965 configure-target-libjava: maybe-configure-target-libffi
42966 all-target-libjava: maybe-all-fastjar
42967 all-target-libjava: maybe-all-target-zlib
42968 all-target-libjava: maybe-all-target-boehm-gc
42969 all-target-libjava: maybe-all-target-libffi
42970 configure-target-libobjc: maybe-configure-target-boehm-gc
42971 all-target-libobjc: maybe-all-target-boehm-gc
42972 configure-target-libstdc++-v3: maybe-configure-target-libgomp
42974 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42975 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42976 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42977 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42978 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42979 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42980 all-target-libstdc++-v3: maybe-configure-target-libgomp
42982 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42983 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42984 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42985 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42986 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42987 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42988 all-target-libgloss: maybe-all-target-newlib
42989 all-target-winsup: maybe-all-target-libtermcap
42990 configure-target-newlib: maybe-all-binutils
42991 configure-target-newlib: maybe-all-ld
42992 configure-target-libgfortran: maybe-all-target-libquadmath
42995 # Dependencies for target modules on other target modules are
42996 # described by lang_env_dependencies; the defaults apply to anything
42997 # not mentioned there.
43000 @if gcc-bootstrap
43001 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43002 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43003 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43004 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43005 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43006 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43007 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43008 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43009 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43010 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43011 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43012 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43013 @endif gcc-bootstrap
43015 @if gcc-no-bootstrap
43016 configure-target-libstdc++-v3: maybe-all-target-libgcc
43017 configure-target-libmudflap: maybe-all-target-libgcc
43018 configure-target-libssp: maybe-all-target-libgcc
43019 configure-target-newlib: maybe-all-target-libgcc
43020 configure-target-libquadmath: maybe-all-target-libgcc
43021 configure-target-libgfortran: maybe-all-target-libgcc
43022 configure-target-libobjc: maybe-all-target-libgcc
43023 configure-target-libgo: maybe-all-target-libgcc
43024 configure-target-libtermcap: maybe-all-target-libgcc
43025 configure-target-winsup: maybe-all-target-libgcc
43026 configure-target-libgloss: maybe-all-target-libgcc
43027 configure-target-libffi: maybe-all-target-libgcc
43028 configure-target-libjava: maybe-all-target-libgcc
43029 configure-target-zlib: maybe-all-target-libgcc
43030 configure-target-boehm-gc: maybe-all-target-libgcc
43031 configure-target-rda: maybe-all-target-libgcc
43032 configure-target-libada: maybe-all-target-libgcc
43033 configure-target-libgomp: maybe-all-target-libgcc
43034 @endif gcc-no-bootstrap
43037 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43039 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43041 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43045 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43047 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43049 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43051 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43053 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43055 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43058 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43060 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43061 configure-target-libjava: maybe-all-target-libstdc++-v3
43063 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43065 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43067 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43069 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43071 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
43074 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43075 GDB_TK = @GDB_TK@
43076 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43077 configure-gdb: $(CONFIGURE_GDB_TK)
43078 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43079 install-gdb: $(INSTALL_GDB_TK)
43081 # Serialization dependencies. Host configures don't work well in parallel to
43082 # each other, due to contention over config.cache. Target configures and
43083 # build configures are similar.
43084 @serialization_dependencies@
43086 # --------------------------------
43087 # Regenerating top level configury
43088 # --------------------------------
43090 # Rebuilding Makefile.in, using autogen.
43091 AUTOGEN = autogen
43092 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43093 cd $(srcdir) && $(AUTOGEN) Makefile.def
43095 # Rebuilding Makefile.
43096 Makefile: $(srcdir)/Makefile.in config.status
43097 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43099 config.status: configure
43100 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43102 # Rebuilding configure.
43103 AUTOCONF = autoconf
43104 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
43105 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
43106 cd $(srcdir) && $(AUTOCONF)
43108 # ------------------------------
43109 # Special directives to GNU Make
43110 # ------------------------------
43112 # Don't pass command-line variables to submakes.
43113 .NOEXPORT:
43114 MAKEOVERRIDES=
43116 # end of Makefile.in