PR c++/61945
[official-gcc.git] / Makefile.in
blobd6105b34924f2b7d5fe0cdd005020d1c36339ba2
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
223 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 export CXX; \
249 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
250 @endif target-libstdc++-v3-bootstrap
252 # Similar, for later GCC stages.
253 POSTSTAGE1_HOST_EXPORTS = \
254 $(HOST_EXPORTS) \
255 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
257 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
258 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
259 $(POSTSTAGE1_CXX_EXPORT) \
260 $(LTO_EXPORTS) \
261 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
262 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
263 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
265 # Target libraries are put under this directory:
266 TARGET_SUBDIR = @target_subdir@
267 # This is set by the configure script to the arguments to use when configuring
268 # directories built for the target.
269 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
270 # This is the list of variables to export in the environment when
271 # configuring subdirectories for the target system.
272 BASE_TARGET_EXPORTS = \
273 $(BASE_EXPORTS) \
274 AR="$(AR_FOR_TARGET)"; export AR; \
275 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
276 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
277 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
278 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
279 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
280 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
281 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
282 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
283 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
284 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
285 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
286 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
287 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
288 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
289 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
290 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
291 READELF="$(READELF_FOR_TARGET)"; export READELF; \
292 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
293 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
294 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
295 @if gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 @endif gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
301 RAW_CXX_TARGET_EXPORTS = \
302 $(BASE_TARGET_EXPORTS) \
303 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
304 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
306 NORMAL_TARGET_EXPORTS = \
307 $(BASE_TARGET_EXPORTS) \
308 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
310 # Where to find GMP
311 HOST_GMPLIBS = @gmplibs@
312 HOST_GMPINC = @gmpinc@
314 # Where to find ISL
315 HOST_ISLLIBS = @isllibs@
316 HOST_ISLINC = @islinc@
318 # Where to find CLOOG
319 HOST_CLOOGLIBS = @clooglibs@
320 HOST_CLOOGINC = @clooginc@
322 # Where to find libelf
323 HOST_LIBELFLIBS = @libelflibs@
324 HOST_LIBELFINC = @libelfinc@
326 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
328 # ----------------------------------------------
329 # Programs producing files for the BUILD machine
330 # ----------------------------------------------
332 SHELL = @SHELL@
334 # pwd command to use. Allow user to override default by setting PWDCMD in
335 # the environment to account for automounters. The make variable must not
336 # be called PWDCMD, otherwise the value set here is passed to make
337 # subprocesses and overrides the setting from the user's environment.
338 # Don't use PWD since it is a common shell environment variable and we
339 # don't want to corrupt it.
340 PWD_COMMAND = $${PWDCMD-pwd}
342 # compilers to use to create programs which must be run in the build
343 # environment.
344 AR_FOR_BUILD = @AR_FOR_BUILD@
345 AS_FOR_BUILD = @AS_FOR_BUILD@
346 CC_FOR_BUILD = @CC_FOR_BUILD@
347 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
348 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
349 CXX_FOR_BUILD = @CXX_FOR_BUILD@
350 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
351 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
352 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
353 GOC_FOR_BUILD = @GOC_FOR_BUILD@
354 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
355 LD_FOR_BUILD = @LD_FOR_BUILD@
356 NM_FOR_BUILD = @NM_FOR_BUILD@
357 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
358 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
359 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
361 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
362 # here so that they can be overridden by Makefile fragments.
363 BUILD_PREFIX = @BUILD_PREFIX@
364 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
366 # Flags to pass to stage2 and later makes. They are defined
367 # here so that they can be overridden by Makefile fragments.
368 BOOT_CFLAGS= -g -O2
369 BOOT_LDFLAGS=
370 BOOT_ADAFLAGS= -gnatpg
372 AWK = @AWK@
373 SED = @SED@
374 BISON = @BISON@
375 YACC = @YACC@
376 FLEX = @FLEX@
377 LEX = @LEX@
378 M4 = @M4@
379 MAKEINFO = @MAKEINFO@
380 EXPECT = @EXPECT@
381 RUNTEST = @RUNTEST@
383 # This just becomes part of the MAKEINFO definition passed down to
384 # sub-makes. It lets flags be given on the command line while still
385 # using the makeinfo from the object tree.
386 # (Default to avoid splitting info files by setting the threshold high.)
387 MAKEINFOFLAGS = --split-size=5000000
389 # ---------------------------------------------
390 # Programs producing files for the HOST machine
391 # ---------------------------------------------
393 AS = @AS@
394 AR = @AR@
395 AR_FLAGS = rc
396 CC = @CC@
397 CXX = @CXX@
398 DLLTOOL = @DLLTOOL@
399 LD = @LD@
400 LIPO = @LIPO@
401 NM = @NM@
402 OBJDUMP = @OBJDUMP@
403 RANLIB = @RANLIB@
404 READELF = @READELF@
405 STRIP = @STRIP@
406 WINDRES = @WINDRES@
407 WINDMC = @WINDMC@
409 GNATBIND = @GNATBIND@
410 GNATMAKE = @GNATMAKE@
412 CFLAGS = @CFLAGS@
413 LDFLAGS = @LDFLAGS@
414 LIBCFLAGS = $(CFLAGS)
415 CXXFLAGS = @CXXFLAGS@
416 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
417 GOCFLAGS = $(CFLAGS)
419 TFLAGS =
421 # Defaults for all stages; some are overridden below.
423 STAGE_CFLAGS = $(BOOT_CFLAGS)
424 STAGE_TFLAGS = $(TFLAGS)
425 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
428 # Defaults for stage 1; some are overridden below.
429 STAGE1_CFLAGS = $(STAGE_CFLAGS)
430 STAGE1_CXXFLAGS = $(CXXFLAGS)
431 @if target-libstdc++-v3-bootstrap
432 # Override the above if we're bootstrapping C++.
433 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
434 @endif target-libstdc++-v3-bootstrap
435 STAGE1_TFLAGS = $(STAGE_TFLAGS)
436 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
438 # Defaults for stage 2; some are overridden below.
439 STAGE2_CFLAGS = $(STAGE_CFLAGS)
440 STAGE2_CXXFLAGS = $(CXXFLAGS)
441 @if target-libstdc++-v3-bootstrap
442 # Override the above if we're bootstrapping C++.
443 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
444 @endif target-libstdc++-v3-bootstrap
445 STAGE2_TFLAGS = $(STAGE_TFLAGS)
446 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
448 # Defaults for stage 3; some are overridden below.
449 STAGE3_CFLAGS = $(STAGE_CFLAGS)
450 STAGE3_CXXFLAGS = $(CXXFLAGS)
451 @if target-libstdc++-v3-bootstrap
452 # Override the above if we're bootstrapping C++.
453 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
454 @endif target-libstdc++-v3-bootstrap
455 STAGE3_TFLAGS = $(STAGE_TFLAGS)
456 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
458 # Defaults for stage 4; some are overridden below.
459 STAGE4_CFLAGS = $(STAGE_CFLAGS)
460 STAGE4_CXXFLAGS = $(CXXFLAGS)
461 @if target-libstdc++-v3-bootstrap
462 # Override the above if we're bootstrapping C++.
463 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
464 @endif target-libstdc++-v3-bootstrap
465 STAGE4_TFLAGS = $(STAGE_TFLAGS)
466 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
468 # Defaults for stage profile; some are overridden below.
469 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
470 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
471 @if target-libstdc++-v3-bootstrap
472 # Override the above if we're bootstrapping C++.
473 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
474 @endif target-libstdc++-v3-bootstrap
475 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
476 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
478 # Defaults for stage feedback; some are overridden below.
479 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
480 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
481 @if target-libstdc++-v3-bootstrap
482 # Override the above if we're bootstrapping C++.
483 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
484 @endif target-libstdc++-v3-bootstrap
485 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
486 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
489 # Only build the C compiler for stage1, because that is the only one that
490 # we can guarantee will build with the native compiler, and also it is the
491 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
492 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
493 # overrideable (for a bootstrap build stage1 also builds gcc.info).
495 STAGE1_CFLAGS = @stage1_cflags@
496 STAGE1_CHECKING = @stage1_checking@
497 STAGE1_LANGUAGES = @stage1_languages@
498 # * We force-disable intermodule optimizations, even if
499 # --enable-intermodule was passed, since the installed compiler
500 # probably can't handle them. Luckily, autoconf always respects
501 # the last argument when conflicting --enable arguments are passed.
502 # * Likewise, we force-disable coverage flags, since the installed
503 # compiler probably has never heard of them.
504 # * We also disable -Wformat, since older GCCs don't understand newer %s.
505 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
506 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
507 --disable-build-format-warnings
509 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
510 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
512 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
513 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
515 do-compare = @do_compare@
516 do-compare3 = $(do-compare)
518 # -----------------------------------------------
519 # Programs producing files for the TARGET machine
520 # -----------------------------------------------
522 AR_FOR_TARGET=@AR_FOR_TARGET@
523 AS_FOR_TARGET=@AS_FOR_TARGET@
524 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
526 # If GCC_FOR_TARGET is not overriden on the command line, then this
527 # variable is passed down to the gcc Makefile, where it is used to
528 # build libgcc2.a. We define it here so that it can itself be
529 # overridden on the command line.
530 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
531 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
532 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
533 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
534 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
535 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
536 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
537 LD_FOR_TARGET=@LD_FOR_TARGET@
539 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
540 NM_FOR_TARGET=@NM_FOR_TARGET@
541 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
542 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
543 READELF_FOR_TARGET=@READELF_FOR_TARGET@
544 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
545 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
546 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
548 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
549 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
550 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
552 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
553 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
555 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
556 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
557 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
558 GOCFLAGS_FOR_TARGET = -O2 -g
560 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
561 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
562 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
564 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
566 # ------------------------------------
567 # Miscellaneous targets and flag lists
568 # ------------------------------------
570 # The first rule in the file had better be this one. Don't put any above it.
571 # This lives here to allow makefile fragments to contain dependencies.
572 all:
574 #### host and target specific makefile fragments come in here.
575 @target_makefile_frag@
576 @alphaieee_frag@
577 @ospace_frag@
578 @host_makefile_frag@
581 # This is the list of directories that may be needed in RPATH_ENVVAR
582 # so that programs built for the target machine work.
583 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
585 @if target-libstdc++-v3
586 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
587 @endif target-libstdc++-v3
589 @if target-libsanitizer
590 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
591 @endif target-libsanitizer
593 @if target-libvtv
594 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
595 @endif target-libvtv
597 @if target-libcilkrts
598 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
599 @endif target-libcilkrts
601 @if target-libssp
602 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
603 @endif target-libssp
605 @if target-libgomp
606 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
607 @endif target-libgomp
609 @if target-libitm
610 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
611 @endif target-libitm
613 @if target-libatomic
614 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
615 @endif target-libatomic
619 # This is the list of directories that may be needed in RPATH_ENVVAR
620 # so that programs built for the host machine work.
621 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
623 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
624 @if gcc
625 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
626 @endif gcc
629 @if gmp
630 HOST_LIB_PATH_gmp = \
631 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
632 @endif gmp
634 @if mpfr
635 HOST_LIB_PATH_mpfr = \
636 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
637 @endif mpfr
639 @if mpc
640 HOST_LIB_PATH_mpc = \
641 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
642 @endif mpc
644 @if isl
645 HOST_LIB_PATH_isl = \
646 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
647 @endif isl
649 @if cloog
650 HOST_LIB_PATH_cloog = \
651 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
652 @endif cloog
654 @if libelf
655 HOST_LIB_PATH_libelf = \
656 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
657 @endif libelf
660 CXX_FOR_TARGET_FLAG_TO_PASS = \
661 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
662 @if target-libstdc++-v3
663 # CXX_FOR_TARGET is tricky to get right for target libs that require a
664 # functional C++ compiler. When we recurse, if we expand
665 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
666 # libstdc++ include flags from the script. Instead, we get an
667 # -funconfigured-* word, so that we'll get errors if this invalid C++
668 # command line is used for anything, but also so that we can use the
669 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
670 # don't pass it on, sub-make will use the default definition, that
671 # re-expands it at the time of use, so we'll get it right when we need
672 # it. One potential exception is the expansion of CXX_FOR_TARGET
673 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
674 # really work, for C++ host programs can't depend on the current-stage
675 # C++ target library.
676 CXX_FOR_TARGET_FLAG_TO_PASS = \
677 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
678 @endif target-libstdc++-v3
680 # Flags to pass down to all sub-makes.
681 BASE_FLAGS_TO_PASS = \
682 "DESTDIR=$(DESTDIR)" \
683 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
684 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
685 "bindir=$(bindir)" \
686 "datadir=$(datadir)" \
687 "exec_prefix=$(exec_prefix)" \
688 "includedir=$(includedir)" \
689 "datarootdir=$(datarootdir)" \
690 "docdir=$(docdir)" \
691 "infodir=$(infodir)" \
692 "pdfdir=$(pdfdir)" \
693 "htmldir=$(htmldir)" \
694 "libdir=$(libdir)" \
695 "libexecdir=$(libexecdir)" \
696 "lispdir=$(lispdir)" \
697 "localstatedir=$(localstatedir)" \
698 "mandir=$(mandir)" \
699 "oldincludedir=$(oldincludedir)" \
700 "prefix=$(prefix)" \
701 "sbindir=$(sbindir)" \
702 "sharedstatedir=$(sharedstatedir)" \
703 "sysconfdir=$(sysconfdir)" \
704 "tooldir=$(tooldir)" \
705 "build_tooldir=$(build_tooldir)" \
706 "target_alias=$(target_alias)" \
707 "AWK=$(AWK)" \
708 "BISON=$(BISON)" \
709 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
710 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
711 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
712 "EXPECT=$(EXPECT)" \
713 "FLEX=$(FLEX)" \
714 "INSTALL=$(INSTALL)" \
715 "INSTALL_DATA=$(INSTALL_DATA)" \
716 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
717 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
718 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
719 "LEX=$(LEX)" \
720 "M4=$(M4)" \
721 "MAKE=$(MAKE)" \
722 "RUNTEST=$(RUNTEST)" \
723 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
724 "SED=$(SED)" \
725 "SHELL=$(SHELL)" \
726 "YACC=$(YACC)" \
727 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
728 "ADA_CFLAGS=$(ADA_CFLAGS)" \
729 "AR_FLAGS=$(AR_FLAGS)" \
730 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
731 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
732 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
733 "CFLAGS=$(CFLAGS)" \
734 "CXXFLAGS=$(CXXFLAGS)" \
735 "LDFLAGS=$(LDFLAGS)" \
736 "LIBCFLAGS=$(LIBCFLAGS)" \
737 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
738 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
739 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
740 "GNATBIND=$(GNATBIND)" \
741 "GNATMAKE=$(GNATMAKE)" \
742 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
743 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
744 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
745 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
746 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
747 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
748 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
749 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
750 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
751 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
752 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
753 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
754 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
755 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
756 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
757 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
758 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
759 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
760 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
761 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
762 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
763 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
764 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
765 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
766 "BUILD_CONFIG=$(BUILD_CONFIG)" \
767 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
768 "LEAN=$(LEAN)" \
769 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
770 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
771 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
772 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
773 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
774 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
775 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
776 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
777 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
778 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
779 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
780 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
781 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
782 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
783 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
784 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
785 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
786 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
787 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
788 "TFLAGS=$(TFLAGS)" \
789 "CONFIG_SHELL=$(SHELL)" \
790 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
792 # We leave this in just in case, but it is not needed anymore.
793 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
795 # Flags to pass down to most sub-makes, in which we're building with
796 # the host environment.
797 EXTRA_HOST_FLAGS = \
798 'AR=$(AR)' \
799 'AS=$(AS)' \
800 'CC=$(CC)' \
801 'CXX=$(CXX)' \
802 'DLLTOOL=$(DLLTOOL)' \
803 'GCJ=$(GCJ)' \
804 'GFORTRAN=$(GFORTRAN)' \
805 'GOC=$(GOC)' \
806 'LD=$(LD)' \
807 'LIPO=$(LIPO)' \
808 'NM=$(NM)' \
809 'OBJDUMP=$(OBJDUMP)' \
810 'RANLIB=$(RANLIB)' \
811 'READELF=$(READELF)' \
812 'STRIP=$(STRIP)' \
813 'WINDRES=$(WINDRES)' \
814 'WINDMC=$(WINDMC)'
816 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
818 # Flags to pass to stage1 or when not bootstrapping.
820 STAGE1_FLAGS_TO_PASS = \
821 LDFLAGS="$${LDFLAGS}" \
822 HOST_LIBS="$${HOST_LIBS}"
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 $(LTO_FLAGS_TO_PASS) \
833 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
835 # Flags to pass down to makes which are built with the target environment.
836 # The double $ decreases the length of the command line; those variables
837 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
838 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
839 # so we expand them here.
840 EXTRA_TARGET_FLAGS = \
841 'AR=$$(AR_FOR_TARGET)' \
842 'AS=$(COMPILER_AS_FOR_TARGET)' \
843 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
845 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
846 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
847 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
848 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
849 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
850 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
851 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
852 'LD=$(COMPILER_LD_FOR_TARGET)' \
853 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
854 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
855 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
856 'NM=$(COMPILER_NM_FOR_TARGET)' \
857 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
858 'RANLIB=$$(RANLIB_FOR_TARGET)' \
859 'READELF=$$(READELF_FOR_TARGET)' \
860 'WINDRES=$$(WINDRES_FOR_TARGET)' \
861 'WINDMC=$$(WINDMC_FOR_TARGET)' \
862 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
863 "TFLAGS=$$TFLAGS"
865 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
867 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
868 # unfortunately needs the native compiler and the target ar and
869 # ranlib.
870 # If any variables are added here, they must be added to do-*, below.
871 # The BUILD_* variables are a special case, which are used for the gcc
872 # cross-building scheme.
873 EXTRA_GCC_FLAGS = \
874 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
875 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
876 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
878 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
880 @if gcc
881 BUILD_CONFIG = @BUILD_CONFIG@
882 ifneq ($(BUILD_CONFIG),)
883 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
884 endif
885 @endif gcc
887 .PHONY: configure-host
888 configure-host: \
889 maybe-configure-bfd \
890 maybe-configure-opcodes \
891 maybe-configure-binutils \
892 maybe-configure-bison \
893 maybe-configure-cgen \
894 maybe-configure-dejagnu \
895 maybe-configure-etc \
896 maybe-configure-fastjar \
897 maybe-configure-fixincludes \
898 maybe-configure-flex \
899 maybe-configure-gas \
900 maybe-configure-gcc \
901 maybe-configure-gmp \
902 maybe-configure-mpfr \
903 maybe-configure-mpc \
904 maybe-configure-isl \
905 maybe-configure-cloog \
906 maybe-configure-libelf \
907 maybe-configure-gold \
908 maybe-configure-gprof \
909 maybe-configure-intl \
910 maybe-configure-tcl \
911 maybe-configure-itcl \
912 maybe-configure-ld \
913 maybe-configure-libbacktrace \
914 maybe-configure-libcpp \
915 maybe-configure-libdecnumber \
916 maybe-configure-libgui \
917 maybe-configure-libiberty \
918 maybe-configure-libiberty-linker-plugin \
919 maybe-configure-libiconv \
920 maybe-configure-m4 \
921 maybe-configure-readline \
922 maybe-configure-sid \
923 maybe-configure-sim \
924 maybe-configure-texinfo \
925 maybe-configure-zlib \
926 maybe-configure-gdb \
927 maybe-configure-expect \
928 maybe-configure-guile \
929 maybe-configure-tk \
930 maybe-configure-libtermcap \
931 maybe-configure-utils \
932 maybe-configure-gnattools \
933 maybe-configure-lto-plugin
934 .PHONY: configure-target
935 configure-target: \
936 maybe-configure-target-libstdc++-v3 \
937 maybe-configure-target-libsanitizer \
938 maybe-configure-target-libvtv \
939 maybe-configure-target-libcilkrts \
940 maybe-configure-target-libssp \
941 maybe-configure-target-newlib \
942 maybe-configure-target-libgcc \
943 maybe-configure-target-libbacktrace \
944 maybe-configure-target-libquadmath \
945 maybe-configure-target-libgfortran \
946 maybe-configure-target-libobjc \
947 maybe-configure-target-libgo \
948 maybe-configure-target-libtermcap \
949 maybe-configure-target-winsup \
950 maybe-configure-target-libgloss \
951 maybe-configure-target-libffi \
952 maybe-configure-target-libjava \
953 maybe-configure-target-zlib \
954 maybe-configure-target-boehm-gc \
955 maybe-configure-target-rda \
956 maybe-configure-target-libada \
957 maybe-configure-target-libgomp \
958 maybe-configure-target-libitm \
959 maybe-configure-target-libatomic
961 # The target built for a native non-bootstrap build.
962 .PHONY: all
963 all:
964 @if gcc-bootstrap
965 [ -f stage_final ] || echo stage3 > stage_final
966 @r=`${PWD_COMMAND}`; export r; \
967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
968 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
969 @endif gcc-bootstrap
970 @: $(MAKE); $(unstage)
971 @r=`${PWD_COMMAND}`; export r; \
972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
973 @if gcc-bootstrap
974 if [ -f stage_last ]; then \
975 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
976 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
977 else \
978 @endif gcc-bootstrap
979 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
980 @if gcc-bootstrap
982 fi \
983 @endif gcc-bootstrap
984 && :
986 .PHONY: all-build
988 all-build: maybe-all-build-libiberty
989 all-build: maybe-all-build-bison
990 all-build: maybe-all-build-flex
991 all-build: maybe-all-build-m4
992 all-build: maybe-all-build-texinfo
993 all-build: maybe-all-build-fixincludes
995 .PHONY: all-host
997 @if bfd-no-bootstrap
998 all-host: maybe-all-bfd
999 @endif bfd-no-bootstrap
1000 @if opcodes-no-bootstrap
1001 all-host: maybe-all-opcodes
1002 @endif opcodes-no-bootstrap
1003 @if binutils-no-bootstrap
1004 all-host: maybe-all-binutils
1005 @endif binutils-no-bootstrap
1006 all-host: maybe-all-bison
1007 all-host: maybe-all-cgen
1008 all-host: maybe-all-dejagnu
1009 all-host: maybe-all-etc
1010 all-host: maybe-all-fastjar
1011 @if fixincludes-no-bootstrap
1012 all-host: maybe-all-fixincludes
1013 @endif fixincludes-no-bootstrap
1014 all-host: maybe-all-flex
1015 @if gas-no-bootstrap
1016 all-host: maybe-all-gas
1017 @endif gas-no-bootstrap
1018 @if gcc-no-bootstrap
1019 all-host: maybe-all-gcc
1020 @endif gcc-no-bootstrap
1021 @if gmp-no-bootstrap
1022 all-host: maybe-all-gmp
1023 @endif gmp-no-bootstrap
1024 @if mpfr-no-bootstrap
1025 all-host: maybe-all-mpfr
1026 @endif mpfr-no-bootstrap
1027 @if mpc-no-bootstrap
1028 all-host: maybe-all-mpc
1029 @endif mpc-no-bootstrap
1030 @if isl-no-bootstrap
1031 all-host: maybe-all-isl
1032 @endif isl-no-bootstrap
1033 @if cloog-no-bootstrap
1034 all-host: maybe-all-cloog
1035 @endif cloog-no-bootstrap
1036 @if libelf-no-bootstrap
1037 all-host: maybe-all-libelf
1038 @endif libelf-no-bootstrap
1039 @if gold-no-bootstrap
1040 all-host: maybe-all-gold
1041 @endif gold-no-bootstrap
1042 all-host: maybe-all-gprof
1043 @if intl-no-bootstrap
1044 all-host: maybe-all-intl
1045 @endif intl-no-bootstrap
1046 all-host: maybe-all-tcl
1047 all-host: maybe-all-itcl
1048 @if ld-no-bootstrap
1049 all-host: maybe-all-ld
1050 @endif ld-no-bootstrap
1051 @if libbacktrace-no-bootstrap
1052 all-host: maybe-all-libbacktrace
1053 @endif libbacktrace-no-bootstrap
1054 @if libcpp-no-bootstrap
1055 all-host: maybe-all-libcpp
1056 @endif libcpp-no-bootstrap
1057 @if libdecnumber-no-bootstrap
1058 all-host: maybe-all-libdecnumber
1059 @endif libdecnumber-no-bootstrap
1060 all-host: maybe-all-libgui
1061 @if libiberty-no-bootstrap
1062 all-host: maybe-all-libiberty
1063 @endif libiberty-no-bootstrap
1064 @if libiberty-linker-plugin-no-bootstrap
1065 all-host: maybe-all-libiberty-linker-plugin
1066 @endif libiberty-linker-plugin-no-bootstrap
1067 all-host: maybe-all-libiconv
1068 all-host: maybe-all-m4
1069 all-host: maybe-all-readline
1070 all-host: maybe-all-sid
1071 all-host: maybe-all-sim
1072 all-host: maybe-all-texinfo
1073 @if zlib-no-bootstrap
1074 all-host: maybe-all-zlib
1075 @endif zlib-no-bootstrap
1076 all-host: maybe-all-gdb
1077 all-host: maybe-all-expect
1078 all-host: maybe-all-guile
1079 all-host: maybe-all-tk
1080 all-host: maybe-all-libtermcap
1081 all-host: maybe-all-utils
1082 all-host: maybe-all-gnattools
1083 @if lto-plugin-no-bootstrap
1084 all-host: maybe-all-lto-plugin
1085 @endif lto-plugin-no-bootstrap
1087 .PHONY: all-target
1089 @if target-libstdc++-v3-no-bootstrap
1090 all-target: maybe-all-target-libstdc++-v3
1091 @endif target-libstdc++-v3-no-bootstrap
1092 @if target-libsanitizer-no-bootstrap
1093 all-target: maybe-all-target-libsanitizer
1094 @endif target-libsanitizer-no-bootstrap
1095 @if target-libvtv-no-bootstrap
1096 all-target: maybe-all-target-libvtv
1097 @endif target-libvtv-no-bootstrap
1098 all-target: maybe-all-target-libcilkrts
1099 all-target: maybe-all-target-libssp
1100 all-target: maybe-all-target-newlib
1101 @if target-libgcc-no-bootstrap
1102 all-target: maybe-all-target-libgcc
1103 @endif target-libgcc-no-bootstrap
1104 all-target: maybe-all-target-libbacktrace
1105 all-target: maybe-all-target-libquadmath
1106 all-target: maybe-all-target-libgfortran
1107 all-target: maybe-all-target-libobjc
1108 all-target: maybe-all-target-libgo
1109 all-target: maybe-all-target-libtermcap
1110 all-target: maybe-all-target-winsup
1111 all-target: maybe-all-target-libgloss
1112 all-target: maybe-all-target-libffi
1113 all-target: maybe-all-target-libjava
1114 all-target: maybe-all-target-zlib
1115 all-target: maybe-all-target-boehm-gc
1116 all-target: maybe-all-target-rda
1117 all-target: maybe-all-target-libada
1118 @if target-libgomp-no-bootstrap
1119 all-target: maybe-all-target-libgomp
1120 @endif target-libgomp-no-bootstrap
1121 all-target: maybe-all-target-libitm
1122 all-target: maybe-all-target-libatomic
1124 # Do a target for all the subdirectories. A ``make do-X'' will do a
1125 # ``make X'' in all subdirectories (because, in general, there is a
1126 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1127 # but it may do additional work as well).
1129 .PHONY: do-info
1130 do-info:
1131 @: $(MAKE); $(unstage)
1132 @r=`${PWD_COMMAND}`; export r; \
1133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1134 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1135 info-target
1138 .PHONY: info-host
1140 info-host: maybe-info-bfd
1141 info-host: maybe-info-opcodes
1142 info-host: maybe-info-binutils
1143 info-host: maybe-info-bison
1144 info-host: maybe-info-cgen
1145 info-host: maybe-info-dejagnu
1146 info-host: maybe-info-etc
1147 info-host: maybe-info-fastjar
1148 info-host: maybe-info-fixincludes
1149 info-host: maybe-info-flex
1150 info-host: maybe-info-gas
1151 info-host: maybe-info-gcc
1152 info-host: maybe-info-gmp
1153 info-host: maybe-info-mpfr
1154 info-host: maybe-info-mpc
1155 info-host: maybe-info-isl
1156 info-host: maybe-info-cloog
1157 info-host: maybe-info-libelf
1158 info-host: maybe-info-gold
1159 info-host: maybe-info-gprof
1160 info-host: maybe-info-intl
1161 info-host: maybe-info-tcl
1162 info-host: maybe-info-itcl
1163 info-host: maybe-info-ld
1164 info-host: maybe-info-libbacktrace
1165 info-host: maybe-info-libcpp
1166 info-host: maybe-info-libdecnumber
1167 info-host: maybe-info-libgui
1168 info-host: maybe-info-libiberty
1169 info-host: maybe-info-libiberty-linker-plugin
1170 info-host: maybe-info-libiconv
1171 info-host: maybe-info-m4
1172 info-host: maybe-info-readline
1173 info-host: maybe-info-sid
1174 info-host: maybe-info-sim
1175 info-host: maybe-info-texinfo
1176 info-host: maybe-info-zlib
1177 info-host: maybe-info-gdb
1178 info-host: maybe-info-expect
1179 info-host: maybe-info-guile
1180 info-host: maybe-info-tk
1181 info-host: maybe-info-libtermcap
1182 info-host: maybe-info-utils
1183 info-host: maybe-info-gnattools
1184 info-host: maybe-info-lto-plugin
1186 .PHONY: info-target
1188 info-target: maybe-info-target-libstdc++-v3
1189 info-target: maybe-info-target-libsanitizer
1190 info-target: maybe-info-target-libvtv
1191 info-target: maybe-info-target-libcilkrts
1192 info-target: maybe-info-target-libssp
1193 info-target: maybe-info-target-newlib
1194 info-target: maybe-info-target-libgcc
1195 info-target: maybe-info-target-libbacktrace
1196 info-target: maybe-info-target-libquadmath
1197 info-target: maybe-info-target-libgfortran
1198 info-target: maybe-info-target-libobjc
1199 info-target: maybe-info-target-libgo
1200 info-target: maybe-info-target-libtermcap
1201 info-target: maybe-info-target-winsup
1202 info-target: maybe-info-target-libgloss
1203 info-target: maybe-info-target-libffi
1204 info-target: maybe-info-target-libjava
1205 info-target: maybe-info-target-zlib
1206 info-target: maybe-info-target-boehm-gc
1207 info-target: maybe-info-target-rda
1208 info-target: maybe-info-target-libada
1209 info-target: maybe-info-target-libgomp
1210 info-target: maybe-info-target-libitm
1211 info-target: maybe-info-target-libatomic
1213 .PHONY: do-dvi
1214 do-dvi:
1215 @: $(MAKE); $(unstage)
1216 @r=`${PWD_COMMAND}`; export r; \
1217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1218 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1219 dvi-target
1222 .PHONY: dvi-host
1224 dvi-host: maybe-dvi-bfd
1225 dvi-host: maybe-dvi-opcodes
1226 dvi-host: maybe-dvi-binutils
1227 dvi-host: maybe-dvi-bison
1228 dvi-host: maybe-dvi-cgen
1229 dvi-host: maybe-dvi-dejagnu
1230 dvi-host: maybe-dvi-etc
1231 dvi-host: maybe-dvi-fastjar
1232 dvi-host: maybe-dvi-fixincludes
1233 dvi-host: maybe-dvi-flex
1234 dvi-host: maybe-dvi-gas
1235 dvi-host: maybe-dvi-gcc
1236 dvi-host: maybe-dvi-gmp
1237 dvi-host: maybe-dvi-mpfr
1238 dvi-host: maybe-dvi-mpc
1239 dvi-host: maybe-dvi-isl
1240 dvi-host: maybe-dvi-cloog
1241 dvi-host: maybe-dvi-libelf
1242 dvi-host: maybe-dvi-gold
1243 dvi-host: maybe-dvi-gprof
1244 dvi-host: maybe-dvi-intl
1245 dvi-host: maybe-dvi-tcl
1246 dvi-host: maybe-dvi-itcl
1247 dvi-host: maybe-dvi-ld
1248 dvi-host: maybe-dvi-libbacktrace
1249 dvi-host: maybe-dvi-libcpp
1250 dvi-host: maybe-dvi-libdecnumber
1251 dvi-host: maybe-dvi-libgui
1252 dvi-host: maybe-dvi-libiberty
1253 dvi-host: maybe-dvi-libiberty-linker-plugin
1254 dvi-host: maybe-dvi-libiconv
1255 dvi-host: maybe-dvi-m4
1256 dvi-host: maybe-dvi-readline
1257 dvi-host: maybe-dvi-sid
1258 dvi-host: maybe-dvi-sim
1259 dvi-host: maybe-dvi-texinfo
1260 dvi-host: maybe-dvi-zlib
1261 dvi-host: maybe-dvi-gdb
1262 dvi-host: maybe-dvi-expect
1263 dvi-host: maybe-dvi-guile
1264 dvi-host: maybe-dvi-tk
1265 dvi-host: maybe-dvi-libtermcap
1266 dvi-host: maybe-dvi-utils
1267 dvi-host: maybe-dvi-gnattools
1268 dvi-host: maybe-dvi-lto-plugin
1270 .PHONY: dvi-target
1272 dvi-target: maybe-dvi-target-libstdc++-v3
1273 dvi-target: maybe-dvi-target-libsanitizer
1274 dvi-target: maybe-dvi-target-libvtv
1275 dvi-target: maybe-dvi-target-libcilkrts
1276 dvi-target: maybe-dvi-target-libssp
1277 dvi-target: maybe-dvi-target-newlib
1278 dvi-target: maybe-dvi-target-libgcc
1279 dvi-target: maybe-dvi-target-libbacktrace
1280 dvi-target: maybe-dvi-target-libquadmath
1281 dvi-target: maybe-dvi-target-libgfortran
1282 dvi-target: maybe-dvi-target-libobjc
1283 dvi-target: maybe-dvi-target-libgo
1284 dvi-target: maybe-dvi-target-libtermcap
1285 dvi-target: maybe-dvi-target-winsup
1286 dvi-target: maybe-dvi-target-libgloss
1287 dvi-target: maybe-dvi-target-libffi
1288 dvi-target: maybe-dvi-target-libjava
1289 dvi-target: maybe-dvi-target-zlib
1290 dvi-target: maybe-dvi-target-boehm-gc
1291 dvi-target: maybe-dvi-target-rda
1292 dvi-target: maybe-dvi-target-libada
1293 dvi-target: maybe-dvi-target-libgomp
1294 dvi-target: maybe-dvi-target-libitm
1295 dvi-target: maybe-dvi-target-libatomic
1297 .PHONY: do-pdf
1298 do-pdf:
1299 @: $(MAKE); $(unstage)
1300 @r=`${PWD_COMMAND}`; export r; \
1301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1302 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1303 pdf-target
1306 .PHONY: pdf-host
1308 pdf-host: maybe-pdf-bfd
1309 pdf-host: maybe-pdf-opcodes
1310 pdf-host: maybe-pdf-binutils
1311 pdf-host: maybe-pdf-bison
1312 pdf-host: maybe-pdf-cgen
1313 pdf-host: maybe-pdf-dejagnu
1314 pdf-host: maybe-pdf-etc
1315 pdf-host: maybe-pdf-fastjar
1316 pdf-host: maybe-pdf-fixincludes
1317 pdf-host: maybe-pdf-flex
1318 pdf-host: maybe-pdf-gas
1319 pdf-host: maybe-pdf-gcc
1320 pdf-host: maybe-pdf-gmp
1321 pdf-host: maybe-pdf-mpfr
1322 pdf-host: maybe-pdf-mpc
1323 pdf-host: maybe-pdf-isl
1324 pdf-host: maybe-pdf-cloog
1325 pdf-host: maybe-pdf-libelf
1326 pdf-host: maybe-pdf-gold
1327 pdf-host: maybe-pdf-gprof
1328 pdf-host: maybe-pdf-intl
1329 pdf-host: maybe-pdf-tcl
1330 pdf-host: maybe-pdf-itcl
1331 pdf-host: maybe-pdf-ld
1332 pdf-host: maybe-pdf-libbacktrace
1333 pdf-host: maybe-pdf-libcpp
1334 pdf-host: maybe-pdf-libdecnumber
1335 pdf-host: maybe-pdf-libgui
1336 pdf-host: maybe-pdf-libiberty
1337 pdf-host: maybe-pdf-libiberty-linker-plugin
1338 pdf-host: maybe-pdf-libiconv
1339 pdf-host: maybe-pdf-m4
1340 pdf-host: maybe-pdf-readline
1341 pdf-host: maybe-pdf-sid
1342 pdf-host: maybe-pdf-sim
1343 pdf-host: maybe-pdf-texinfo
1344 pdf-host: maybe-pdf-zlib
1345 pdf-host: maybe-pdf-gdb
1346 pdf-host: maybe-pdf-expect
1347 pdf-host: maybe-pdf-guile
1348 pdf-host: maybe-pdf-tk
1349 pdf-host: maybe-pdf-libtermcap
1350 pdf-host: maybe-pdf-utils
1351 pdf-host: maybe-pdf-gnattools
1352 pdf-host: maybe-pdf-lto-plugin
1354 .PHONY: pdf-target
1356 pdf-target: maybe-pdf-target-libstdc++-v3
1357 pdf-target: maybe-pdf-target-libsanitizer
1358 pdf-target: maybe-pdf-target-libvtv
1359 pdf-target: maybe-pdf-target-libcilkrts
1360 pdf-target: maybe-pdf-target-libssp
1361 pdf-target: maybe-pdf-target-newlib
1362 pdf-target: maybe-pdf-target-libgcc
1363 pdf-target: maybe-pdf-target-libbacktrace
1364 pdf-target: maybe-pdf-target-libquadmath
1365 pdf-target: maybe-pdf-target-libgfortran
1366 pdf-target: maybe-pdf-target-libobjc
1367 pdf-target: maybe-pdf-target-libgo
1368 pdf-target: maybe-pdf-target-libtermcap
1369 pdf-target: maybe-pdf-target-winsup
1370 pdf-target: maybe-pdf-target-libgloss
1371 pdf-target: maybe-pdf-target-libffi
1372 pdf-target: maybe-pdf-target-libjava
1373 pdf-target: maybe-pdf-target-zlib
1374 pdf-target: maybe-pdf-target-boehm-gc
1375 pdf-target: maybe-pdf-target-rda
1376 pdf-target: maybe-pdf-target-libada
1377 pdf-target: maybe-pdf-target-libgomp
1378 pdf-target: maybe-pdf-target-libitm
1379 pdf-target: maybe-pdf-target-libatomic
1381 .PHONY: do-html
1382 do-html:
1383 @: $(MAKE); $(unstage)
1384 @r=`${PWD_COMMAND}`; export r; \
1385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1386 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1387 html-target
1390 .PHONY: html-host
1392 html-host: maybe-html-bfd
1393 html-host: maybe-html-opcodes
1394 html-host: maybe-html-binutils
1395 html-host: maybe-html-bison
1396 html-host: maybe-html-cgen
1397 html-host: maybe-html-dejagnu
1398 html-host: maybe-html-etc
1399 html-host: maybe-html-fastjar
1400 html-host: maybe-html-fixincludes
1401 html-host: maybe-html-flex
1402 html-host: maybe-html-gas
1403 html-host: maybe-html-gcc
1404 html-host: maybe-html-gmp
1405 html-host: maybe-html-mpfr
1406 html-host: maybe-html-mpc
1407 html-host: maybe-html-isl
1408 html-host: maybe-html-cloog
1409 html-host: maybe-html-libelf
1410 html-host: maybe-html-gold
1411 html-host: maybe-html-gprof
1412 html-host: maybe-html-intl
1413 html-host: maybe-html-tcl
1414 html-host: maybe-html-itcl
1415 html-host: maybe-html-ld
1416 html-host: maybe-html-libbacktrace
1417 html-host: maybe-html-libcpp
1418 html-host: maybe-html-libdecnumber
1419 html-host: maybe-html-libgui
1420 html-host: maybe-html-libiberty
1421 html-host: maybe-html-libiberty-linker-plugin
1422 html-host: maybe-html-libiconv
1423 html-host: maybe-html-m4
1424 html-host: maybe-html-readline
1425 html-host: maybe-html-sid
1426 html-host: maybe-html-sim
1427 html-host: maybe-html-texinfo
1428 html-host: maybe-html-zlib
1429 html-host: maybe-html-gdb
1430 html-host: maybe-html-expect
1431 html-host: maybe-html-guile
1432 html-host: maybe-html-tk
1433 html-host: maybe-html-libtermcap
1434 html-host: maybe-html-utils
1435 html-host: maybe-html-gnattools
1436 html-host: maybe-html-lto-plugin
1438 .PHONY: html-target
1440 html-target: maybe-html-target-libstdc++-v3
1441 html-target: maybe-html-target-libsanitizer
1442 html-target: maybe-html-target-libvtv
1443 html-target: maybe-html-target-libcilkrts
1444 html-target: maybe-html-target-libssp
1445 html-target: maybe-html-target-newlib
1446 html-target: maybe-html-target-libgcc
1447 html-target: maybe-html-target-libbacktrace
1448 html-target: maybe-html-target-libquadmath
1449 html-target: maybe-html-target-libgfortran
1450 html-target: maybe-html-target-libobjc
1451 html-target: maybe-html-target-libgo
1452 html-target: maybe-html-target-libtermcap
1453 html-target: maybe-html-target-winsup
1454 html-target: maybe-html-target-libgloss
1455 html-target: maybe-html-target-libffi
1456 html-target: maybe-html-target-libjava
1457 html-target: maybe-html-target-zlib
1458 html-target: maybe-html-target-boehm-gc
1459 html-target: maybe-html-target-rda
1460 html-target: maybe-html-target-libada
1461 html-target: maybe-html-target-libgomp
1462 html-target: maybe-html-target-libitm
1463 html-target: maybe-html-target-libatomic
1465 .PHONY: do-TAGS
1466 do-TAGS:
1467 @: $(MAKE); $(unstage)
1468 @r=`${PWD_COMMAND}`; export r; \
1469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1470 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1471 TAGS-target
1474 .PHONY: TAGS-host
1476 TAGS-host: maybe-TAGS-bfd
1477 TAGS-host: maybe-TAGS-opcodes
1478 TAGS-host: maybe-TAGS-binutils
1479 TAGS-host: maybe-TAGS-bison
1480 TAGS-host: maybe-TAGS-cgen
1481 TAGS-host: maybe-TAGS-dejagnu
1482 TAGS-host: maybe-TAGS-etc
1483 TAGS-host: maybe-TAGS-fastjar
1484 TAGS-host: maybe-TAGS-fixincludes
1485 TAGS-host: maybe-TAGS-flex
1486 TAGS-host: maybe-TAGS-gas
1487 TAGS-host: maybe-TAGS-gcc
1488 TAGS-host: maybe-TAGS-gmp
1489 TAGS-host: maybe-TAGS-mpfr
1490 TAGS-host: maybe-TAGS-mpc
1491 TAGS-host: maybe-TAGS-isl
1492 TAGS-host: maybe-TAGS-cloog
1493 TAGS-host: maybe-TAGS-libelf
1494 TAGS-host: maybe-TAGS-gold
1495 TAGS-host: maybe-TAGS-gprof
1496 TAGS-host: maybe-TAGS-intl
1497 TAGS-host: maybe-TAGS-tcl
1498 TAGS-host: maybe-TAGS-itcl
1499 TAGS-host: maybe-TAGS-ld
1500 TAGS-host: maybe-TAGS-libbacktrace
1501 TAGS-host: maybe-TAGS-libcpp
1502 TAGS-host: maybe-TAGS-libdecnumber
1503 TAGS-host: maybe-TAGS-libgui
1504 TAGS-host: maybe-TAGS-libiberty
1505 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1506 TAGS-host: maybe-TAGS-libiconv
1507 TAGS-host: maybe-TAGS-m4
1508 TAGS-host: maybe-TAGS-readline
1509 TAGS-host: maybe-TAGS-sid
1510 TAGS-host: maybe-TAGS-sim
1511 TAGS-host: maybe-TAGS-texinfo
1512 TAGS-host: maybe-TAGS-zlib
1513 TAGS-host: maybe-TAGS-gdb
1514 TAGS-host: maybe-TAGS-expect
1515 TAGS-host: maybe-TAGS-guile
1516 TAGS-host: maybe-TAGS-tk
1517 TAGS-host: maybe-TAGS-libtermcap
1518 TAGS-host: maybe-TAGS-utils
1519 TAGS-host: maybe-TAGS-gnattools
1520 TAGS-host: maybe-TAGS-lto-plugin
1522 .PHONY: TAGS-target
1524 TAGS-target: maybe-TAGS-target-libstdc++-v3
1525 TAGS-target: maybe-TAGS-target-libsanitizer
1526 TAGS-target: maybe-TAGS-target-libvtv
1527 TAGS-target: maybe-TAGS-target-libcilkrts
1528 TAGS-target: maybe-TAGS-target-libssp
1529 TAGS-target: maybe-TAGS-target-newlib
1530 TAGS-target: maybe-TAGS-target-libgcc
1531 TAGS-target: maybe-TAGS-target-libbacktrace
1532 TAGS-target: maybe-TAGS-target-libquadmath
1533 TAGS-target: maybe-TAGS-target-libgfortran
1534 TAGS-target: maybe-TAGS-target-libobjc
1535 TAGS-target: maybe-TAGS-target-libgo
1536 TAGS-target: maybe-TAGS-target-libtermcap
1537 TAGS-target: maybe-TAGS-target-winsup
1538 TAGS-target: maybe-TAGS-target-libgloss
1539 TAGS-target: maybe-TAGS-target-libffi
1540 TAGS-target: maybe-TAGS-target-libjava
1541 TAGS-target: maybe-TAGS-target-zlib
1542 TAGS-target: maybe-TAGS-target-boehm-gc
1543 TAGS-target: maybe-TAGS-target-rda
1544 TAGS-target: maybe-TAGS-target-libada
1545 TAGS-target: maybe-TAGS-target-libgomp
1546 TAGS-target: maybe-TAGS-target-libitm
1547 TAGS-target: maybe-TAGS-target-libatomic
1549 .PHONY: do-install-info
1550 do-install-info:
1551 @: $(MAKE); $(unstage)
1552 @r=`${PWD_COMMAND}`; export r; \
1553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1555 install-info-target
1558 .PHONY: install-info-host
1560 install-info-host: maybe-install-info-bfd
1561 install-info-host: maybe-install-info-opcodes
1562 install-info-host: maybe-install-info-binutils
1563 install-info-host: maybe-install-info-bison
1564 install-info-host: maybe-install-info-cgen
1565 install-info-host: maybe-install-info-dejagnu
1566 install-info-host: maybe-install-info-etc
1567 install-info-host: maybe-install-info-fastjar
1568 install-info-host: maybe-install-info-fixincludes
1569 install-info-host: maybe-install-info-flex
1570 install-info-host: maybe-install-info-gas
1571 install-info-host: maybe-install-info-gcc
1572 install-info-host: maybe-install-info-gmp
1573 install-info-host: maybe-install-info-mpfr
1574 install-info-host: maybe-install-info-mpc
1575 install-info-host: maybe-install-info-isl
1576 install-info-host: maybe-install-info-cloog
1577 install-info-host: maybe-install-info-libelf
1578 install-info-host: maybe-install-info-gold
1579 install-info-host: maybe-install-info-gprof
1580 install-info-host: maybe-install-info-intl
1581 install-info-host: maybe-install-info-tcl
1582 install-info-host: maybe-install-info-itcl
1583 install-info-host: maybe-install-info-ld
1584 install-info-host: maybe-install-info-libbacktrace
1585 install-info-host: maybe-install-info-libcpp
1586 install-info-host: maybe-install-info-libdecnumber
1587 install-info-host: maybe-install-info-libgui
1588 install-info-host: maybe-install-info-libiberty
1589 install-info-host: maybe-install-info-libiberty-linker-plugin
1590 install-info-host: maybe-install-info-libiconv
1591 install-info-host: maybe-install-info-m4
1592 install-info-host: maybe-install-info-readline
1593 install-info-host: maybe-install-info-sid
1594 install-info-host: maybe-install-info-sim
1595 install-info-host: maybe-install-info-texinfo
1596 install-info-host: maybe-install-info-zlib
1597 install-info-host: maybe-install-info-gdb
1598 install-info-host: maybe-install-info-expect
1599 install-info-host: maybe-install-info-guile
1600 install-info-host: maybe-install-info-tk
1601 install-info-host: maybe-install-info-libtermcap
1602 install-info-host: maybe-install-info-utils
1603 install-info-host: maybe-install-info-gnattools
1604 install-info-host: maybe-install-info-lto-plugin
1606 .PHONY: install-info-target
1608 install-info-target: maybe-install-info-target-libstdc++-v3
1609 install-info-target: maybe-install-info-target-libsanitizer
1610 install-info-target: maybe-install-info-target-libvtv
1611 install-info-target: maybe-install-info-target-libcilkrts
1612 install-info-target: maybe-install-info-target-libssp
1613 install-info-target: maybe-install-info-target-newlib
1614 install-info-target: maybe-install-info-target-libgcc
1615 install-info-target: maybe-install-info-target-libbacktrace
1616 install-info-target: maybe-install-info-target-libquadmath
1617 install-info-target: maybe-install-info-target-libgfortran
1618 install-info-target: maybe-install-info-target-libobjc
1619 install-info-target: maybe-install-info-target-libgo
1620 install-info-target: maybe-install-info-target-libtermcap
1621 install-info-target: maybe-install-info-target-winsup
1622 install-info-target: maybe-install-info-target-libgloss
1623 install-info-target: maybe-install-info-target-libffi
1624 install-info-target: maybe-install-info-target-libjava
1625 install-info-target: maybe-install-info-target-zlib
1626 install-info-target: maybe-install-info-target-boehm-gc
1627 install-info-target: maybe-install-info-target-rda
1628 install-info-target: maybe-install-info-target-libada
1629 install-info-target: maybe-install-info-target-libgomp
1630 install-info-target: maybe-install-info-target-libitm
1631 install-info-target: maybe-install-info-target-libatomic
1633 .PHONY: do-install-pdf
1634 do-install-pdf:
1635 @: $(MAKE); $(unstage)
1636 @r=`${PWD_COMMAND}`; export r; \
1637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1639 install-pdf-target
1642 .PHONY: install-pdf-host
1644 install-pdf-host: maybe-install-pdf-bfd
1645 install-pdf-host: maybe-install-pdf-opcodes
1646 install-pdf-host: maybe-install-pdf-binutils
1647 install-pdf-host: maybe-install-pdf-bison
1648 install-pdf-host: maybe-install-pdf-cgen
1649 install-pdf-host: maybe-install-pdf-dejagnu
1650 install-pdf-host: maybe-install-pdf-etc
1651 install-pdf-host: maybe-install-pdf-fastjar
1652 install-pdf-host: maybe-install-pdf-fixincludes
1653 install-pdf-host: maybe-install-pdf-flex
1654 install-pdf-host: maybe-install-pdf-gas
1655 install-pdf-host: maybe-install-pdf-gcc
1656 install-pdf-host: maybe-install-pdf-gmp
1657 install-pdf-host: maybe-install-pdf-mpfr
1658 install-pdf-host: maybe-install-pdf-mpc
1659 install-pdf-host: maybe-install-pdf-isl
1660 install-pdf-host: maybe-install-pdf-cloog
1661 install-pdf-host: maybe-install-pdf-libelf
1662 install-pdf-host: maybe-install-pdf-gold
1663 install-pdf-host: maybe-install-pdf-gprof
1664 install-pdf-host: maybe-install-pdf-intl
1665 install-pdf-host: maybe-install-pdf-tcl
1666 install-pdf-host: maybe-install-pdf-itcl
1667 install-pdf-host: maybe-install-pdf-ld
1668 install-pdf-host: maybe-install-pdf-libbacktrace
1669 install-pdf-host: maybe-install-pdf-libcpp
1670 install-pdf-host: maybe-install-pdf-libdecnumber
1671 install-pdf-host: maybe-install-pdf-libgui
1672 install-pdf-host: maybe-install-pdf-libiberty
1673 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1674 install-pdf-host: maybe-install-pdf-libiconv
1675 install-pdf-host: maybe-install-pdf-m4
1676 install-pdf-host: maybe-install-pdf-readline
1677 install-pdf-host: maybe-install-pdf-sid
1678 install-pdf-host: maybe-install-pdf-sim
1679 install-pdf-host: maybe-install-pdf-texinfo
1680 install-pdf-host: maybe-install-pdf-zlib
1681 install-pdf-host: maybe-install-pdf-gdb
1682 install-pdf-host: maybe-install-pdf-expect
1683 install-pdf-host: maybe-install-pdf-guile
1684 install-pdf-host: maybe-install-pdf-tk
1685 install-pdf-host: maybe-install-pdf-libtermcap
1686 install-pdf-host: maybe-install-pdf-utils
1687 install-pdf-host: maybe-install-pdf-gnattools
1688 install-pdf-host: maybe-install-pdf-lto-plugin
1690 .PHONY: install-pdf-target
1692 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1693 install-pdf-target: maybe-install-pdf-target-libsanitizer
1694 install-pdf-target: maybe-install-pdf-target-libvtv
1695 install-pdf-target: maybe-install-pdf-target-libcilkrts
1696 install-pdf-target: maybe-install-pdf-target-libssp
1697 install-pdf-target: maybe-install-pdf-target-newlib
1698 install-pdf-target: maybe-install-pdf-target-libgcc
1699 install-pdf-target: maybe-install-pdf-target-libbacktrace
1700 install-pdf-target: maybe-install-pdf-target-libquadmath
1701 install-pdf-target: maybe-install-pdf-target-libgfortran
1702 install-pdf-target: maybe-install-pdf-target-libobjc
1703 install-pdf-target: maybe-install-pdf-target-libgo
1704 install-pdf-target: maybe-install-pdf-target-libtermcap
1705 install-pdf-target: maybe-install-pdf-target-winsup
1706 install-pdf-target: maybe-install-pdf-target-libgloss
1707 install-pdf-target: maybe-install-pdf-target-libffi
1708 install-pdf-target: maybe-install-pdf-target-libjava
1709 install-pdf-target: maybe-install-pdf-target-zlib
1710 install-pdf-target: maybe-install-pdf-target-boehm-gc
1711 install-pdf-target: maybe-install-pdf-target-rda
1712 install-pdf-target: maybe-install-pdf-target-libada
1713 install-pdf-target: maybe-install-pdf-target-libgomp
1714 install-pdf-target: maybe-install-pdf-target-libitm
1715 install-pdf-target: maybe-install-pdf-target-libatomic
1717 .PHONY: do-install-html
1718 do-install-html:
1719 @: $(MAKE); $(unstage)
1720 @r=`${PWD_COMMAND}`; export r; \
1721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1722 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1723 install-html-target
1726 .PHONY: install-html-host
1728 install-html-host: maybe-install-html-bfd
1729 install-html-host: maybe-install-html-opcodes
1730 install-html-host: maybe-install-html-binutils
1731 install-html-host: maybe-install-html-bison
1732 install-html-host: maybe-install-html-cgen
1733 install-html-host: maybe-install-html-dejagnu
1734 install-html-host: maybe-install-html-etc
1735 install-html-host: maybe-install-html-fastjar
1736 install-html-host: maybe-install-html-fixincludes
1737 install-html-host: maybe-install-html-flex
1738 install-html-host: maybe-install-html-gas
1739 install-html-host: maybe-install-html-gcc
1740 install-html-host: maybe-install-html-gmp
1741 install-html-host: maybe-install-html-mpfr
1742 install-html-host: maybe-install-html-mpc
1743 install-html-host: maybe-install-html-isl
1744 install-html-host: maybe-install-html-cloog
1745 install-html-host: maybe-install-html-libelf
1746 install-html-host: maybe-install-html-gold
1747 install-html-host: maybe-install-html-gprof
1748 install-html-host: maybe-install-html-intl
1749 install-html-host: maybe-install-html-tcl
1750 install-html-host: maybe-install-html-itcl
1751 install-html-host: maybe-install-html-ld
1752 install-html-host: maybe-install-html-libbacktrace
1753 install-html-host: maybe-install-html-libcpp
1754 install-html-host: maybe-install-html-libdecnumber
1755 install-html-host: maybe-install-html-libgui
1756 install-html-host: maybe-install-html-libiberty
1757 install-html-host: maybe-install-html-libiberty-linker-plugin
1758 install-html-host: maybe-install-html-libiconv
1759 install-html-host: maybe-install-html-m4
1760 install-html-host: maybe-install-html-readline
1761 install-html-host: maybe-install-html-sid
1762 install-html-host: maybe-install-html-sim
1763 install-html-host: maybe-install-html-texinfo
1764 install-html-host: maybe-install-html-zlib
1765 install-html-host: maybe-install-html-gdb
1766 install-html-host: maybe-install-html-expect
1767 install-html-host: maybe-install-html-guile
1768 install-html-host: maybe-install-html-tk
1769 install-html-host: maybe-install-html-libtermcap
1770 install-html-host: maybe-install-html-utils
1771 install-html-host: maybe-install-html-gnattools
1772 install-html-host: maybe-install-html-lto-plugin
1774 .PHONY: install-html-target
1776 install-html-target: maybe-install-html-target-libstdc++-v3
1777 install-html-target: maybe-install-html-target-libsanitizer
1778 install-html-target: maybe-install-html-target-libvtv
1779 install-html-target: maybe-install-html-target-libcilkrts
1780 install-html-target: maybe-install-html-target-libssp
1781 install-html-target: maybe-install-html-target-newlib
1782 install-html-target: maybe-install-html-target-libgcc
1783 install-html-target: maybe-install-html-target-libbacktrace
1784 install-html-target: maybe-install-html-target-libquadmath
1785 install-html-target: maybe-install-html-target-libgfortran
1786 install-html-target: maybe-install-html-target-libobjc
1787 install-html-target: maybe-install-html-target-libgo
1788 install-html-target: maybe-install-html-target-libtermcap
1789 install-html-target: maybe-install-html-target-winsup
1790 install-html-target: maybe-install-html-target-libgloss
1791 install-html-target: maybe-install-html-target-libffi
1792 install-html-target: maybe-install-html-target-libjava
1793 install-html-target: maybe-install-html-target-zlib
1794 install-html-target: maybe-install-html-target-boehm-gc
1795 install-html-target: maybe-install-html-target-rda
1796 install-html-target: maybe-install-html-target-libada
1797 install-html-target: maybe-install-html-target-libgomp
1798 install-html-target: maybe-install-html-target-libitm
1799 install-html-target: maybe-install-html-target-libatomic
1801 .PHONY: do-installcheck
1802 do-installcheck:
1803 @: $(MAKE); $(unstage)
1804 @r=`${PWD_COMMAND}`; export r; \
1805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1806 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1807 installcheck-target
1810 .PHONY: installcheck-host
1812 installcheck-host: maybe-installcheck-bfd
1813 installcheck-host: maybe-installcheck-opcodes
1814 installcheck-host: maybe-installcheck-binutils
1815 installcheck-host: maybe-installcheck-bison
1816 installcheck-host: maybe-installcheck-cgen
1817 installcheck-host: maybe-installcheck-dejagnu
1818 installcheck-host: maybe-installcheck-etc
1819 installcheck-host: maybe-installcheck-fastjar
1820 installcheck-host: maybe-installcheck-fixincludes
1821 installcheck-host: maybe-installcheck-flex
1822 installcheck-host: maybe-installcheck-gas
1823 installcheck-host: maybe-installcheck-gcc
1824 installcheck-host: maybe-installcheck-gmp
1825 installcheck-host: maybe-installcheck-mpfr
1826 installcheck-host: maybe-installcheck-mpc
1827 installcheck-host: maybe-installcheck-isl
1828 installcheck-host: maybe-installcheck-cloog
1829 installcheck-host: maybe-installcheck-libelf
1830 installcheck-host: maybe-installcheck-gold
1831 installcheck-host: maybe-installcheck-gprof
1832 installcheck-host: maybe-installcheck-intl
1833 installcheck-host: maybe-installcheck-tcl
1834 installcheck-host: maybe-installcheck-itcl
1835 installcheck-host: maybe-installcheck-ld
1836 installcheck-host: maybe-installcheck-libbacktrace
1837 installcheck-host: maybe-installcheck-libcpp
1838 installcheck-host: maybe-installcheck-libdecnumber
1839 installcheck-host: maybe-installcheck-libgui
1840 installcheck-host: maybe-installcheck-libiberty
1841 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1842 installcheck-host: maybe-installcheck-libiconv
1843 installcheck-host: maybe-installcheck-m4
1844 installcheck-host: maybe-installcheck-readline
1845 installcheck-host: maybe-installcheck-sid
1846 installcheck-host: maybe-installcheck-sim
1847 installcheck-host: maybe-installcheck-texinfo
1848 installcheck-host: maybe-installcheck-zlib
1849 installcheck-host: maybe-installcheck-gdb
1850 installcheck-host: maybe-installcheck-expect
1851 installcheck-host: maybe-installcheck-guile
1852 installcheck-host: maybe-installcheck-tk
1853 installcheck-host: maybe-installcheck-libtermcap
1854 installcheck-host: maybe-installcheck-utils
1855 installcheck-host: maybe-installcheck-gnattools
1856 installcheck-host: maybe-installcheck-lto-plugin
1858 .PHONY: installcheck-target
1860 installcheck-target: maybe-installcheck-target-libstdc++-v3
1861 installcheck-target: maybe-installcheck-target-libsanitizer
1862 installcheck-target: maybe-installcheck-target-libvtv
1863 installcheck-target: maybe-installcheck-target-libcilkrts
1864 installcheck-target: maybe-installcheck-target-libssp
1865 installcheck-target: maybe-installcheck-target-newlib
1866 installcheck-target: maybe-installcheck-target-libgcc
1867 installcheck-target: maybe-installcheck-target-libbacktrace
1868 installcheck-target: maybe-installcheck-target-libquadmath
1869 installcheck-target: maybe-installcheck-target-libgfortran
1870 installcheck-target: maybe-installcheck-target-libobjc
1871 installcheck-target: maybe-installcheck-target-libgo
1872 installcheck-target: maybe-installcheck-target-libtermcap
1873 installcheck-target: maybe-installcheck-target-winsup
1874 installcheck-target: maybe-installcheck-target-libgloss
1875 installcheck-target: maybe-installcheck-target-libffi
1876 installcheck-target: maybe-installcheck-target-libjava
1877 installcheck-target: maybe-installcheck-target-zlib
1878 installcheck-target: maybe-installcheck-target-boehm-gc
1879 installcheck-target: maybe-installcheck-target-rda
1880 installcheck-target: maybe-installcheck-target-libada
1881 installcheck-target: maybe-installcheck-target-libgomp
1882 installcheck-target: maybe-installcheck-target-libitm
1883 installcheck-target: maybe-installcheck-target-libatomic
1885 .PHONY: do-mostlyclean
1886 do-mostlyclean:
1887 @: $(MAKE); $(unstage)
1888 @r=`${PWD_COMMAND}`; export r; \
1889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1891 mostlyclean-target
1894 .PHONY: mostlyclean-host
1896 mostlyclean-host: maybe-mostlyclean-bfd
1897 mostlyclean-host: maybe-mostlyclean-opcodes
1898 mostlyclean-host: maybe-mostlyclean-binutils
1899 mostlyclean-host: maybe-mostlyclean-bison
1900 mostlyclean-host: maybe-mostlyclean-cgen
1901 mostlyclean-host: maybe-mostlyclean-dejagnu
1902 mostlyclean-host: maybe-mostlyclean-etc
1903 mostlyclean-host: maybe-mostlyclean-fastjar
1904 mostlyclean-host: maybe-mostlyclean-fixincludes
1905 mostlyclean-host: maybe-mostlyclean-flex
1906 mostlyclean-host: maybe-mostlyclean-gas
1907 mostlyclean-host: maybe-mostlyclean-gcc
1908 mostlyclean-host: maybe-mostlyclean-gmp
1909 mostlyclean-host: maybe-mostlyclean-mpfr
1910 mostlyclean-host: maybe-mostlyclean-mpc
1911 mostlyclean-host: maybe-mostlyclean-isl
1912 mostlyclean-host: maybe-mostlyclean-cloog
1913 mostlyclean-host: maybe-mostlyclean-libelf
1914 mostlyclean-host: maybe-mostlyclean-gold
1915 mostlyclean-host: maybe-mostlyclean-gprof
1916 mostlyclean-host: maybe-mostlyclean-intl
1917 mostlyclean-host: maybe-mostlyclean-tcl
1918 mostlyclean-host: maybe-mostlyclean-itcl
1919 mostlyclean-host: maybe-mostlyclean-ld
1920 mostlyclean-host: maybe-mostlyclean-libbacktrace
1921 mostlyclean-host: maybe-mostlyclean-libcpp
1922 mostlyclean-host: maybe-mostlyclean-libdecnumber
1923 mostlyclean-host: maybe-mostlyclean-libgui
1924 mostlyclean-host: maybe-mostlyclean-libiberty
1925 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1926 mostlyclean-host: maybe-mostlyclean-libiconv
1927 mostlyclean-host: maybe-mostlyclean-m4
1928 mostlyclean-host: maybe-mostlyclean-readline
1929 mostlyclean-host: maybe-mostlyclean-sid
1930 mostlyclean-host: maybe-mostlyclean-sim
1931 mostlyclean-host: maybe-mostlyclean-texinfo
1932 mostlyclean-host: maybe-mostlyclean-zlib
1933 mostlyclean-host: maybe-mostlyclean-gdb
1934 mostlyclean-host: maybe-mostlyclean-expect
1935 mostlyclean-host: maybe-mostlyclean-guile
1936 mostlyclean-host: maybe-mostlyclean-tk
1937 mostlyclean-host: maybe-mostlyclean-libtermcap
1938 mostlyclean-host: maybe-mostlyclean-utils
1939 mostlyclean-host: maybe-mostlyclean-gnattools
1940 mostlyclean-host: maybe-mostlyclean-lto-plugin
1942 .PHONY: mostlyclean-target
1944 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1945 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1946 mostlyclean-target: maybe-mostlyclean-target-libvtv
1947 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1948 mostlyclean-target: maybe-mostlyclean-target-libssp
1949 mostlyclean-target: maybe-mostlyclean-target-newlib
1950 mostlyclean-target: maybe-mostlyclean-target-libgcc
1951 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1952 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1953 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1954 mostlyclean-target: maybe-mostlyclean-target-libobjc
1955 mostlyclean-target: maybe-mostlyclean-target-libgo
1956 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1957 mostlyclean-target: maybe-mostlyclean-target-winsup
1958 mostlyclean-target: maybe-mostlyclean-target-libgloss
1959 mostlyclean-target: maybe-mostlyclean-target-libffi
1960 mostlyclean-target: maybe-mostlyclean-target-libjava
1961 mostlyclean-target: maybe-mostlyclean-target-zlib
1962 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1963 mostlyclean-target: maybe-mostlyclean-target-rda
1964 mostlyclean-target: maybe-mostlyclean-target-libada
1965 mostlyclean-target: maybe-mostlyclean-target-libgomp
1966 mostlyclean-target: maybe-mostlyclean-target-libitm
1967 mostlyclean-target: maybe-mostlyclean-target-libatomic
1969 .PHONY: do-clean
1970 do-clean:
1971 @: $(MAKE); $(unstage)
1972 @r=`${PWD_COMMAND}`; export r; \
1973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1974 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1975 clean-target
1978 .PHONY: clean-host
1980 clean-host: maybe-clean-bfd
1981 clean-host: maybe-clean-opcodes
1982 clean-host: maybe-clean-binutils
1983 clean-host: maybe-clean-bison
1984 clean-host: maybe-clean-cgen
1985 clean-host: maybe-clean-dejagnu
1986 clean-host: maybe-clean-etc
1987 clean-host: maybe-clean-fastjar
1988 clean-host: maybe-clean-fixincludes
1989 clean-host: maybe-clean-flex
1990 clean-host: maybe-clean-gas
1991 clean-host: maybe-clean-gcc
1992 clean-host: maybe-clean-gmp
1993 clean-host: maybe-clean-mpfr
1994 clean-host: maybe-clean-mpc
1995 clean-host: maybe-clean-isl
1996 clean-host: maybe-clean-cloog
1997 clean-host: maybe-clean-libelf
1998 clean-host: maybe-clean-gold
1999 clean-host: maybe-clean-gprof
2000 clean-host: maybe-clean-intl
2001 clean-host: maybe-clean-tcl
2002 clean-host: maybe-clean-itcl
2003 clean-host: maybe-clean-ld
2004 clean-host: maybe-clean-libbacktrace
2005 clean-host: maybe-clean-libcpp
2006 clean-host: maybe-clean-libdecnumber
2007 clean-host: maybe-clean-libgui
2008 clean-host: maybe-clean-libiberty
2009 clean-host: maybe-clean-libiberty-linker-plugin
2010 clean-host: maybe-clean-libiconv
2011 clean-host: maybe-clean-m4
2012 clean-host: maybe-clean-readline
2013 clean-host: maybe-clean-sid
2014 clean-host: maybe-clean-sim
2015 clean-host: maybe-clean-texinfo
2016 clean-host: maybe-clean-zlib
2017 clean-host: maybe-clean-gdb
2018 clean-host: maybe-clean-expect
2019 clean-host: maybe-clean-guile
2020 clean-host: maybe-clean-tk
2021 clean-host: maybe-clean-libtermcap
2022 clean-host: maybe-clean-utils
2023 clean-host: maybe-clean-gnattools
2024 clean-host: maybe-clean-lto-plugin
2026 .PHONY: clean-target
2028 clean-target: maybe-clean-target-libstdc++-v3
2029 clean-target: maybe-clean-target-libsanitizer
2030 clean-target: maybe-clean-target-libvtv
2031 clean-target: maybe-clean-target-libcilkrts
2032 clean-target: maybe-clean-target-libssp
2033 clean-target: maybe-clean-target-newlib
2034 clean-target: maybe-clean-target-libgcc
2035 clean-target: maybe-clean-target-libbacktrace
2036 clean-target: maybe-clean-target-libquadmath
2037 clean-target: maybe-clean-target-libgfortran
2038 clean-target: maybe-clean-target-libobjc
2039 clean-target: maybe-clean-target-libgo
2040 clean-target: maybe-clean-target-libtermcap
2041 clean-target: maybe-clean-target-winsup
2042 clean-target: maybe-clean-target-libgloss
2043 clean-target: maybe-clean-target-libffi
2044 clean-target: maybe-clean-target-libjava
2045 clean-target: maybe-clean-target-zlib
2046 clean-target: maybe-clean-target-boehm-gc
2047 clean-target: maybe-clean-target-rda
2048 clean-target: maybe-clean-target-libada
2049 clean-target: maybe-clean-target-libgomp
2050 clean-target: maybe-clean-target-libitm
2051 clean-target: maybe-clean-target-libatomic
2053 .PHONY: do-distclean
2054 do-distclean:
2055 @: $(MAKE); $(unstage)
2056 @r=`${PWD_COMMAND}`; export r; \
2057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2058 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2059 distclean-target
2062 .PHONY: distclean-host
2064 distclean-host: maybe-distclean-bfd
2065 distclean-host: maybe-distclean-opcodes
2066 distclean-host: maybe-distclean-binutils
2067 distclean-host: maybe-distclean-bison
2068 distclean-host: maybe-distclean-cgen
2069 distclean-host: maybe-distclean-dejagnu
2070 distclean-host: maybe-distclean-etc
2071 distclean-host: maybe-distclean-fastjar
2072 distclean-host: maybe-distclean-fixincludes
2073 distclean-host: maybe-distclean-flex
2074 distclean-host: maybe-distclean-gas
2075 distclean-host: maybe-distclean-gcc
2076 distclean-host: maybe-distclean-gmp
2077 distclean-host: maybe-distclean-mpfr
2078 distclean-host: maybe-distclean-mpc
2079 distclean-host: maybe-distclean-isl
2080 distclean-host: maybe-distclean-cloog
2081 distclean-host: maybe-distclean-libelf
2082 distclean-host: maybe-distclean-gold
2083 distclean-host: maybe-distclean-gprof
2084 distclean-host: maybe-distclean-intl
2085 distclean-host: maybe-distclean-tcl
2086 distclean-host: maybe-distclean-itcl
2087 distclean-host: maybe-distclean-ld
2088 distclean-host: maybe-distclean-libbacktrace
2089 distclean-host: maybe-distclean-libcpp
2090 distclean-host: maybe-distclean-libdecnumber
2091 distclean-host: maybe-distclean-libgui
2092 distclean-host: maybe-distclean-libiberty
2093 distclean-host: maybe-distclean-libiberty-linker-plugin
2094 distclean-host: maybe-distclean-libiconv
2095 distclean-host: maybe-distclean-m4
2096 distclean-host: maybe-distclean-readline
2097 distclean-host: maybe-distclean-sid
2098 distclean-host: maybe-distclean-sim
2099 distclean-host: maybe-distclean-texinfo
2100 distclean-host: maybe-distclean-zlib
2101 distclean-host: maybe-distclean-gdb
2102 distclean-host: maybe-distclean-expect
2103 distclean-host: maybe-distclean-guile
2104 distclean-host: maybe-distclean-tk
2105 distclean-host: maybe-distclean-libtermcap
2106 distclean-host: maybe-distclean-utils
2107 distclean-host: maybe-distclean-gnattools
2108 distclean-host: maybe-distclean-lto-plugin
2110 .PHONY: distclean-target
2112 distclean-target: maybe-distclean-target-libstdc++-v3
2113 distclean-target: maybe-distclean-target-libsanitizer
2114 distclean-target: maybe-distclean-target-libvtv
2115 distclean-target: maybe-distclean-target-libcilkrts
2116 distclean-target: maybe-distclean-target-libssp
2117 distclean-target: maybe-distclean-target-newlib
2118 distclean-target: maybe-distclean-target-libgcc
2119 distclean-target: maybe-distclean-target-libbacktrace
2120 distclean-target: maybe-distclean-target-libquadmath
2121 distclean-target: maybe-distclean-target-libgfortran
2122 distclean-target: maybe-distclean-target-libobjc
2123 distclean-target: maybe-distclean-target-libgo
2124 distclean-target: maybe-distclean-target-libtermcap
2125 distclean-target: maybe-distclean-target-winsup
2126 distclean-target: maybe-distclean-target-libgloss
2127 distclean-target: maybe-distclean-target-libffi
2128 distclean-target: maybe-distclean-target-libjava
2129 distclean-target: maybe-distclean-target-zlib
2130 distclean-target: maybe-distclean-target-boehm-gc
2131 distclean-target: maybe-distclean-target-rda
2132 distclean-target: maybe-distclean-target-libada
2133 distclean-target: maybe-distclean-target-libgomp
2134 distclean-target: maybe-distclean-target-libitm
2135 distclean-target: maybe-distclean-target-libatomic
2137 .PHONY: do-maintainer-clean
2138 do-maintainer-clean:
2139 @: $(MAKE); $(unstage)
2140 @r=`${PWD_COMMAND}`; export r; \
2141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2142 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2143 maintainer-clean-target
2146 .PHONY: maintainer-clean-host
2148 maintainer-clean-host: maybe-maintainer-clean-bfd
2149 maintainer-clean-host: maybe-maintainer-clean-opcodes
2150 maintainer-clean-host: maybe-maintainer-clean-binutils
2151 maintainer-clean-host: maybe-maintainer-clean-bison
2152 maintainer-clean-host: maybe-maintainer-clean-cgen
2153 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2154 maintainer-clean-host: maybe-maintainer-clean-etc
2155 maintainer-clean-host: maybe-maintainer-clean-fastjar
2156 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2157 maintainer-clean-host: maybe-maintainer-clean-flex
2158 maintainer-clean-host: maybe-maintainer-clean-gas
2159 maintainer-clean-host: maybe-maintainer-clean-gcc
2160 maintainer-clean-host: maybe-maintainer-clean-gmp
2161 maintainer-clean-host: maybe-maintainer-clean-mpfr
2162 maintainer-clean-host: maybe-maintainer-clean-mpc
2163 maintainer-clean-host: maybe-maintainer-clean-isl
2164 maintainer-clean-host: maybe-maintainer-clean-cloog
2165 maintainer-clean-host: maybe-maintainer-clean-libelf
2166 maintainer-clean-host: maybe-maintainer-clean-gold
2167 maintainer-clean-host: maybe-maintainer-clean-gprof
2168 maintainer-clean-host: maybe-maintainer-clean-intl
2169 maintainer-clean-host: maybe-maintainer-clean-tcl
2170 maintainer-clean-host: maybe-maintainer-clean-itcl
2171 maintainer-clean-host: maybe-maintainer-clean-ld
2172 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2173 maintainer-clean-host: maybe-maintainer-clean-libcpp
2174 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2175 maintainer-clean-host: maybe-maintainer-clean-libgui
2176 maintainer-clean-host: maybe-maintainer-clean-libiberty
2177 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2178 maintainer-clean-host: maybe-maintainer-clean-libiconv
2179 maintainer-clean-host: maybe-maintainer-clean-m4
2180 maintainer-clean-host: maybe-maintainer-clean-readline
2181 maintainer-clean-host: maybe-maintainer-clean-sid
2182 maintainer-clean-host: maybe-maintainer-clean-sim
2183 maintainer-clean-host: maybe-maintainer-clean-texinfo
2184 maintainer-clean-host: maybe-maintainer-clean-zlib
2185 maintainer-clean-host: maybe-maintainer-clean-gdb
2186 maintainer-clean-host: maybe-maintainer-clean-expect
2187 maintainer-clean-host: maybe-maintainer-clean-guile
2188 maintainer-clean-host: maybe-maintainer-clean-tk
2189 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2190 maintainer-clean-host: maybe-maintainer-clean-utils
2191 maintainer-clean-host: maybe-maintainer-clean-gnattools
2192 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2194 .PHONY: maintainer-clean-target
2196 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2197 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2198 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2199 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2200 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2201 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2202 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2203 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2204 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2205 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2206 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2207 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2208 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2209 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2210 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2211 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2212 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2213 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2214 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2215 maintainer-clean-target: maybe-maintainer-clean-target-rda
2216 maintainer-clean-target: maybe-maintainer-clean-target-libada
2217 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2218 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2219 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2222 # Here are the targets which correspond to the do-X targets.
2224 .PHONY: info installcheck dvi pdf html
2225 .PHONY: install-info install-pdf install-html
2226 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2227 .PHONY: local-clean local-distclean local-maintainer-clean
2228 info: do-info
2229 installcheck: do-installcheck
2230 dvi: do-dvi
2231 pdf: do-pdf
2232 html: do-html
2234 # Make sure makeinfo is built before we do a `make info', if we're
2235 # in fact building texinfo.
2236 do-info: maybe-all-texinfo
2238 install-info: do-install-info dir.info
2239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240 if [ -f dir.info ] ; then \
2241 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2242 else true ; fi
2244 install-pdf: do-install-pdf
2246 install-html: do-install-html
2248 local-clean:
2249 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2251 local-distclean:
2252 -rm -f Makefile config.status config.cache mh-frag mt-frag
2253 -rm -f maybedep.tmp serdep.tmp
2254 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2255 rm -rf $(TARGET_SUBDIR); \
2256 else true; fi
2257 -rm -rf $(BUILD_SUBDIR)
2258 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2259 rm -rf $(HOST_SUBDIR); \
2260 else true; fi
2261 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2262 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2263 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2264 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2265 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2266 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2268 local-maintainer-clean:
2269 @echo "This command is intended for maintainers to use;"
2270 @echo "it deletes files that may require special tools to rebuild."
2272 clean: do-clean local-clean
2273 mostlyclean: do-mostlyclean local-clean
2274 distclean: do-distclean local-clean local-distclean
2275 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2276 maintainer-clean: local-distclean
2277 realclean: maintainer-clean
2279 # Check target.
2281 .PHONY: check do-check
2282 check: do-check
2284 # Only include modules actually being configured and built.
2285 .PHONY: check-host
2286 check-host: \
2287 maybe-check-bfd \
2288 maybe-check-opcodes \
2289 maybe-check-binutils \
2290 maybe-check-bison \
2291 maybe-check-cgen \
2292 maybe-check-dejagnu \
2293 maybe-check-etc \
2294 maybe-check-fastjar \
2295 maybe-check-fixincludes \
2296 maybe-check-flex \
2297 maybe-check-gas \
2298 maybe-check-gcc \
2299 maybe-check-gmp \
2300 maybe-check-mpfr \
2301 maybe-check-mpc \
2302 maybe-check-isl \
2303 maybe-check-cloog \
2304 maybe-check-libelf \
2305 maybe-check-gold \
2306 maybe-check-gprof \
2307 maybe-check-intl \
2308 maybe-check-tcl \
2309 maybe-check-itcl \
2310 maybe-check-ld \
2311 maybe-check-libbacktrace \
2312 maybe-check-libcpp \
2313 maybe-check-libdecnumber \
2314 maybe-check-libgui \
2315 maybe-check-libiberty \
2316 maybe-check-libiberty-linker-plugin \
2317 maybe-check-libiconv \
2318 maybe-check-m4 \
2319 maybe-check-readline \
2320 maybe-check-sid \
2321 maybe-check-sim \
2322 maybe-check-texinfo \
2323 maybe-check-zlib \
2324 maybe-check-gdb \
2325 maybe-check-expect \
2326 maybe-check-guile \
2327 maybe-check-tk \
2328 maybe-check-libtermcap \
2329 maybe-check-utils \
2330 maybe-check-gnattools \
2331 maybe-check-lto-plugin
2333 .PHONY: check-target
2334 check-target: \
2335 maybe-check-target-libstdc++-v3 \
2336 maybe-check-target-libsanitizer \
2337 maybe-check-target-libvtv \
2338 maybe-check-target-libcilkrts \
2339 maybe-check-target-libssp \
2340 maybe-check-target-newlib \
2341 maybe-check-target-libgcc \
2342 maybe-check-target-libbacktrace \
2343 maybe-check-target-libquadmath \
2344 maybe-check-target-libgfortran \
2345 maybe-check-target-libobjc \
2346 maybe-check-target-libgo \
2347 maybe-check-target-libtermcap \
2348 maybe-check-target-winsup \
2349 maybe-check-target-libgloss \
2350 maybe-check-target-libffi \
2351 maybe-check-target-libjava \
2352 maybe-check-target-zlib \
2353 maybe-check-target-boehm-gc \
2354 maybe-check-target-rda \
2355 maybe-check-target-libada \
2356 maybe-check-target-libgomp \
2357 maybe-check-target-libitm \
2358 maybe-check-target-libatomic
2360 do-check:
2361 @: $(MAKE); $(unstage)
2362 @r=`${PWD_COMMAND}`; export r; \
2363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2364 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2366 # Automated reporting of test results.
2368 warning.log: build.log
2369 $(srcdir)/contrib/warn_summary build.log > $@
2371 mail-report.log:
2372 if test x'$(BOOT_CFLAGS)' != x''; then \
2373 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2374 fi; \
2375 $(srcdir)/contrib/test_summary -t >$@
2376 chmod +x $@
2377 echo If you really want to send e-mail, run ./$@ now
2379 mail-report-with-warnings.log: warning.log
2380 if test x'$(BOOT_CFLAGS)' != x''; then \
2381 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2382 fi; \
2383 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2384 chmod +x $@
2385 echo If you really want to send e-mail, run ./$@ now
2387 # Installation targets.
2389 .PHONY: install uninstall
2390 install:
2391 @: $(MAKE); $(unstage)
2392 @r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2396 .PHONY: install-host-nogcc
2397 install-host-nogcc: \
2398 maybe-install-bfd \
2399 maybe-install-opcodes \
2400 maybe-install-binutils \
2401 maybe-install-bison \
2402 maybe-install-cgen \
2403 maybe-install-dejagnu \
2404 maybe-install-etc \
2405 maybe-install-fastjar \
2406 maybe-install-fixincludes \
2407 maybe-install-flex \
2408 maybe-install-gas \
2409 maybe-install-gmp \
2410 maybe-install-mpfr \
2411 maybe-install-mpc \
2412 maybe-install-isl \
2413 maybe-install-cloog \
2414 maybe-install-libelf \
2415 maybe-install-gold \
2416 maybe-install-gprof \
2417 maybe-install-intl \
2418 maybe-install-tcl \
2419 maybe-install-itcl \
2420 maybe-install-ld \
2421 maybe-install-libbacktrace \
2422 maybe-install-libcpp \
2423 maybe-install-libdecnumber \
2424 maybe-install-libgui \
2425 maybe-install-libiberty \
2426 maybe-install-libiberty-linker-plugin \
2427 maybe-install-libiconv \
2428 maybe-install-m4 \
2429 maybe-install-readline \
2430 maybe-install-sid \
2431 maybe-install-sim \
2432 maybe-install-texinfo \
2433 maybe-install-zlib \
2434 maybe-install-gdb \
2435 maybe-install-expect \
2436 maybe-install-guile \
2437 maybe-install-tk \
2438 maybe-install-libtermcap \
2439 maybe-install-utils \
2440 maybe-install-gnattools \
2441 maybe-install-lto-plugin
2443 .PHONY: install-host
2444 install-host: \
2445 maybe-install-bfd \
2446 maybe-install-opcodes \
2447 maybe-install-binutils \
2448 maybe-install-bison \
2449 maybe-install-cgen \
2450 maybe-install-dejagnu \
2451 maybe-install-etc \
2452 maybe-install-fastjar \
2453 maybe-install-fixincludes \
2454 maybe-install-flex \
2455 maybe-install-gas \
2456 maybe-install-gcc \
2457 maybe-install-gmp \
2458 maybe-install-mpfr \
2459 maybe-install-mpc \
2460 maybe-install-isl \
2461 maybe-install-cloog \
2462 maybe-install-libelf \
2463 maybe-install-gold \
2464 maybe-install-gprof \
2465 maybe-install-intl \
2466 maybe-install-tcl \
2467 maybe-install-itcl \
2468 maybe-install-ld \
2469 maybe-install-libbacktrace \
2470 maybe-install-libcpp \
2471 maybe-install-libdecnumber \
2472 maybe-install-libgui \
2473 maybe-install-libiberty \
2474 maybe-install-libiberty-linker-plugin \
2475 maybe-install-libiconv \
2476 maybe-install-m4 \
2477 maybe-install-readline \
2478 maybe-install-sid \
2479 maybe-install-sim \
2480 maybe-install-texinfo \
2481 maybe-install-zlib \
2482 maybe-install-gdb \
2483 maybe-install-expect \
2484 maybe-install-guile \
2485 maybe-install-tk \
2486 maybe-install-libtermcap \
2487 maybe-install-utils \
2488 maybe-install-gnattools \
2489 maybe-install-lto-plugin
2491 .PHONY: install-target
2492 install-target: \
2493 maybe-install-target-libstdc++-v3 \
2494 maybe-install-target-libsanitizer \
2495 maybe-install-target-libvtv \
2496 maybe-install-target-libcilkrts \
2497 maybe-install-target-libssp \
2498 maybe-install-target-newlib \
2499 maybe-install-target-libgcc \
2500 maybe-install-target-libbacktrace \
2501 maybe-install-target-libquadmath \
2502 maybe-install-target-libgfortran \
2503 maybe-install-target-libobjc \
2504 maybe-install-target-libgo \
2505 maybe-install-target-libtermcap \
2506 maybe-install-target-winsup \
2507 maybe-install-target-libgloss \
2508 maybe-install-target-libffi \
2509 maybe-install-target-libjava \
2510 maybe-install-target-zlib \
2511 maybe-install-target-boehm-gc \
2512 maybe-install-target-rda \
2513 maybe-install-target-libada \
2514 maybe-install-target-libgomp \
2515 maybe-install-target-libitm \
2516 maybe-install-target-libatomic
2518 uninstall:
2519 @echo "the uninstall target is not supported in this tree"
2521 .PHONY: install.all
2522 install.all: install-no-fixedincludes
2523 @if [ -f ./gcc/Makefile ] ; then \
2524 r=`${PWD_COMMAND}` ; export r ; \
2525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2526 $(HOST_EXPORTS) \
2527 (cd ./gcc && \
2528 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2529 else \
2530 true ; \
2533 # install-no-fixedincludes is used to allow the elaboration of binary packages
2534 # suitable for distribution, where we cannot include the fixed system header
2535 # files.
2536 .PHONY: install-no-fixedincludes
2537 install-no-fixedincludes: installdirs install-host-nogcc \
2538 install-target gcc-install-no-fixedincludes
2540 .PHONY: install-strip
2541 install-strip:
2542 @: $(MAKE); $(unstage)
2543 @r=`${PWD_COMMAND}`; export r; \
2544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2545 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2547 .PHONY: install-strip-host
2548 install-strip-host: \
2549 maybe-install-strip-bfd \
2550 maybe-install-strip-opcodes \
2551 maybe-install-strip-binutils \
2552 maybe-install-strip-bison \
2553 maybe-install-strip-cgen \
2554 maybe-install-strip-dejagnu \
2555 maybe-install-strip-etc \
2556 maybe-install-strip-fastjar \
2557 maybe-install-strip-fixincludes \
2558 maybe-install-strip-flex \
2559 maybe-install-strip-gas \
2560 maybe-install-strip-gcc \
2561 maybe-install-strip-gmp \
2562 maybe-install-strip-mpfr \
2563 maybe-install-strip-mpc \
2564 maybe-install-strip-isl \
2565 maybe-install-strip-cloog \
2566 maybe-install-strip-libelf \
2567 maybe-install-strip-gold \
2568 maybe-install-strip-gprof \
2569 maybe-install-strip-intl \
2570 maybe-install-strip-tcl \
2571 maybe-install-strip-itcl \
2572 maybe-install-strip-ld \
2573 maybe-install-strip-libbacktrace \
2574 maybe-install-strip-libcpp \
2575 maybe-install-strip-libdecnumber \
2576 maybe-install-strip-libgui \
2577 maybe-install-strip-libiberty \
2578 maybe-install-strip-libiberty-linker-plugin \
2579 maybe-install-strip-libiconv \
2580 maybe-install-strip-m4 \
2581 maybe-install-strip-readline \
2582 maybe-install-strip-sid \
2583 maybe-install-strip-sim \
2584 maybe-install-strip-texinfo \
2585 maybe-install-strip-zlib \
2586 maybe-install-strip-gdb \
2587 maybe-install-strip-expect \
2588 maybe-install-strip-guile \
2589 maybe-install-strip-tk \
2590 maybe-install-strip-libtermcap \
2591 maybe-install-strip-utils \
2592 maybe-install-strip-gnattools \
2593 maybe-install-strip-lto-plugin
2595 .PHONY: install-strip-target
2596 install-strip-target: \
2597 maybe-install-strip-target-libstdc++-v3 \
2598 maybe-install-strip-target-libsanitizer \
2599 maybe-install-strip-target-libvtv \
2600 maybe-install-strip-target-libcilkrts \
2601 maybe-install-strip-target-libssp \
2602 maybe-install-strip-target-newlib \
2603 maybe-install-strip-target-libgcc \
2604 maybe-install-strip-target-libbacktrace \
2605 maybe-install-strip-target-libquadmath \
2606 maybe-install-strip-target-libgfortran \
2607 maybe-install-strip-target-libobjc \
2608 maybe-install-strip-target-libgo \
2609 maybe-install-strip-target-libtermcap \
2610 maybe-install-strip-target-winsup \
2611 maybe-install-strip-target-libgloss \
2612 maybe-install-strip-target-libffi \
2613 maybe-install-strip-target-libjava \
2614 maybe-install-strip-target-zlib \
2615 maybe-install-strip-target-boehm-gc \
2616 maybe-install-strip-target-rda \
2617 maybe-install-strip-target-libada \
2618 maybe-install-strip-target-libgomp \
2619 maybe-install-strip-target-libitm \
2620 maybe-install-strip-target-libatomic
2623 ### other supporting targets
2625 MAKEDIRS= \
2626 $(DESTDIR)$(prefix) \
2627 $(DESTDIR)$(exec_prefix)
2628 .PHONY: installdirs
2629 installdirs: mkinstalldirs
2630 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2632 dir.info: do-install-info
2633 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2634 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2635 mv -f dir.info.new dir.info ; \
2636 else true ; \
2639 dist:
2640 @echo "Building a full distribution of this tree isn't done"
2641 @echo "via 'make dist'. Check out the etc/ subdirectory"
2643 etags tags: TAGS
2645 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2646 # ability to use several tags files at once, so there is probably no need
2647 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2648 # (if we felt like it) have this Makefile write a piece of elisp which
2649 # the user could load to tell emacs19 where all the TAGS files we just
2650 # built are.
2651 TAGS: do-TAGS
2653 # ------------------------------------
2654 # Macros for configure and all targets
2655 # ------------------------------------
2661 # --------------------------------------
2662 # Modules which run on the build machine
2663 # --------------------------------------
2666 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2667 maybe-configure-build-libiberty:
2668 @if gcc-bootstrap
2669 configure-build-libiberty: stage_current
2670 @endif gcc-bootstrap
2671 @if build-libiberty
2672 maybe-configure-build-libiberty: configure-build-libiberty
2673 configure-build-libiberty:
2674 @: $(MAKE); $(unstage)
2675 @r=`${PWD_COMMAND}`; export r; \
2676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2678 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2679 $(BUILD_EXPORTS) \
2680 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2681 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2682 case $(srcdir) in \
2683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2684 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2686 esac; \
2687 module_srcdir=libiberty; \
2688 rm -f no-such-file || : ; \
2689 CONFIG_SITE=no-such-file $(SHELL) \
2690 $$s/$$module_srcdir/configure \
2691 --srcdir=$${topdir}/$$module_srcdir \
2692 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2693 --target=${target_alias} \
2694 || exit 1
2695 @endif build-libiberty
2701 .PHONY: all-build-libiberty maybe-all-build-libiberty
2702 maybe-all-build-libiberty:
2703 @if gcc-bootstrap
2704 all-build-libiberty: stage_current
2705 @endif gcc-bootstrap
2706 @if build-libiberty
2707 TARGET-build-libiberty=all
2708 maybe-all-build-libiberty: all-build-libiberty
2709 all-build-libiberty: configure-build-libiberty
2710 @: $(MAKE); $(unstage)
2711 @r=`${PWD_COMMAND}`; export r; \
2712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2713 $(BUILD_EXPORTS) \
2714 (cd $(BUILD_SUBDIR)/libiberty && \
2715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2716 $(TARGET-build-libiberty))
2717 @endif build-libiberty
2723 .PHONY: configure-build-bison maybe-configure-build-bison
2724 maybe-configure-build-bison:
2725 @if gcc-bootstrap
2726 configure-build-bison: stage_current
2727 @endif gcc-bootstrap
2728 @if build-bison
2729 maybe-configure-build-bison: configure-build-bison
2730 configure-build-bison:
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2735 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2736 $(BUILD_EXPORTS) \
2737 echo Configuring in $(BUILD_SUBDIR)/bison; \
2738 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2739 case $(srcdir) in \
2740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2741 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2743 esac; \
2744 module_srcdir=bison; \
2745 rm -f no-such-file || : ; \
2746 CONFIG_SITE=no-such-file $(SHELL) \
2747 $$s/$$module_srcdir/configure \
2748 --srcdir=$${topdir}/$$module_srcdir \
2749 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2750 --target=${target_alias} \
2751 || exit 1
2752 @endif build-bison
2758 .PHONY: all-build-bison maybe-all-build-bison
2759 maybe-all-build-bison:
2760 @if gcc-bootstrap
2761 all-build-bison: stage_current
2762 @endif gcc-bootstrap
2763 @if build-bison
2764 TARGET-build-bison=all
2765 maybe-all-build-bison: all-build-bison
2766 all-build-bison: configure-build-bison
2767 @: $(MAKE); $(unstage)
2768 @r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770 $(BUILD_EXPORTS) \
2771 (cd $(BUILD_SUBDIR)/bison && \
2772 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2773 $(TARGET-build-bison))
2774 @endif build-bison
2780 .PHONY: configure-build-flex maybe-configure-build-flex
2781 maybe-configure-build-flex:
2782 @if gcc-bootstrap
2783 configure-build-flex: stage_current
2784 @endif gcc-bootstrap
2785 @if build-flex
2786 maybe-configure-build-flex: configure-build-flex
2787 configure-build-flex:
2788 @: $(MAKE); $(unstage)
2789 @r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2792 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2793 $(BUILD_EXPORTS) \
2794 echo Configuring in $(BUILD_SUBDIR)/flex; \
2795 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2796 case $(srcdir) in \
2797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2798 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2800 esac; \
2801 module_srcdir=flex; \
2802 rm -f no-such-file || : ; \
2803 CONFIG_SITE=no-such-file $(SHELL) \
2804 $$s/$$module_srcdir/configure \
2805 --srcdir=$${topdir}/$$module_srcdir \
2806 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2807 --target=${target_alias} \
2808 || exit 1
2809 @endif build-flex
2815 .PHONY: all-build-flex maybe-all-build-flex
2816 maybe-all-build-flex:
2817 @if gcc-bootstrap
2818 all-build-flex: stage_current
2819 @endif gcc-bootstrap
2820 @if build-flex
2821 TARGET-build-flex=all
2822 maybe-all-build-flex: all-build-flex
2823 all-build-flex: configure-build-flex
2824 @: $(MAKE); $(unstage)
2825 @r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(BUILD_EXPORTS) \
2828 (cd $(BUILD_SUBDIR)/flex && \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2830 $(TARGET-build-flex))
2831 @endif build-flex
2837 .PHONY: configure-build-m4 maybe-configure-build-m4
2838 maybe-configure-build-m4:
2839 @if gcc-bootstrap
2840 configure-build-m4: stage_current
2841 @endif gcc-bootstrap
2842 @if build-m4
2843 maybe-configure-build-m4: configure-build-m4
2844 configure-build-m4:
2845 @: $(MAKE); $(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2849 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2850 $(BUILD_EXPORTS) \
2851 echo Configuring in $(BUILD_SUBDIR)/m4; \
2852 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2853 case $(srcdir) in \
2854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2855 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2857 esac; \
2858 module_srcdir=m4; \
2859 rm -f no-such-file || : ; \
2860 CONFIG_SITE=no-such-file $(SHELL) \
2861 $$s/$$module_srcdir/configure \
2862 --srcdir=$${topdir}/$$module_srcdir \
2863 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2864 --target=${target_alias} \
2865 || exit 1
2866 @endif build-m4
2872 .PHONY: all-build-m4 maybe-all-build-m4
2873 maybe-all-build-m4:
2874 @if gcc-bootstrap
2875 all-build-m4: stage_current
2876 @endif gcc-bootstrap
2877 @if build-m4
2878 TARGET-build-m4=all
2879 maybe-all-build-m4: all-build-m4
2880 all-build-m4: configure-build-m4
2881 @: $(MAKE); $(unstage)
2882 @r=`${PWD_COMMAND}`; export r; \
2883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2884 $(BUILD_EXPORTS) \
2885 (cd $(BUILD_SUBDIR)/m4 && \
2886 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2887 $(TARGET-build-m4))
2888 @endif build-m4
2894 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2895 maybe-configure-build-texinfo:
2896 @if gcc-bootstrap
2897 configure-build-texinfo: stage_current
2898 @endif gcc-bootstrap
2899 @if build-texinfo
2900 maybe-configure-build-texinfo: configure-build-texinfo
2901 configure-build-texinfo:
2902 @: $(MAKE); $(unstage)
2903 @r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2906 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2907 $(BUILD_EXPORTS) \
2908 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2909 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2910 case $(srcdir) in \
2911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2912 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2914 esac; \
2915 module_srcdir=texinfo; \
2916 rm -f no-such-file || : ; \
2917 CONFIG_SITE=no-such-file $(SHELL) \
2918 $$s/$$module_srcdir/configure \
2919 --srcdir=$${topdir}/$$module_srcdir \
2920 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2921 --target=${target_alias} \
2922 || exit 1
2923 @endif build-texinfo
2929 .PHONY: all-build-texinfo maybe-all-build-texinfo
2930 maybe-all-build-texinfo:
2931 @if gcc-bootstrap
2932 all-build-texinfo: stage_current
2933 @endif gcc-bootstrap
2934 @if build-texinfo
2935 TARGET-build-texinfo=all
2936 maybe-all-build-texinfo: all-build-texinfo
2937 all-build-texinfo: configure-build-texinfo
2938 @: $(MAKE); $(unstage)
2939 @r=`${PWD_COMMAND}`; export r; \
2940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2941 $(BUILD_EXPORTS) \
2942 (cd $(BUILD_SUBDIR)/texinfo && \
2943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2944 $(TARGET-build-texinfo))
2945 @endif build-texinfo
2951 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2952 maybe-configure-build-fixincludes:
2953 @if gcc-bootstrap
2954 configure-build-fixincludes: stage_current
2955 @endif gcc-bootstrap
2956 @if build-fixincludes
2957 maybe-configure-build-fixincludes: configure-build-fixincludes
2958 configure-build-fixincludes:
2959 @: $(MAKE); $(unstage)
2960 @r=`${PWD_COMMAND}`; export r; \
2961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2962 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2963 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2964 $(BUILD_EXPORTS) \
2965 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2966 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2967 case $(srcdir) in \
2968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2969 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2971 esac; \
2972 module_srcdir=fixincludes; \
2973 rm -f no-such-file || : ; \
2974 CONFIG_SITE=no-such-file $(SHELL) \
2975 $$s/$$module_srcdir/configure \
2976 --srcdir=$${topdir}/$$module_srcdir \
2977 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2978 --target=${target_alias} \
2979 || exit 1
2980 @endif build-fixincludes
2986 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2987 maybe-all-build-fixincludes:
2988 @if gcc-bootstrap
2989 all-build-fixincludes: stage_current
2990 @endif gcc-bootstrap
2991 @if build-fixincludes
2992 TARGET-build-fixincludes=all
2993 maybe-all-build-fixincludes: all-build-fixincludes
2994 all-build-fixincludes: configure-build-fixincludes
2995 @: $(MAKE); $(unstage)
2996 @r=`${PWD_COMMAND}`; export r; \
2997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2998 $(BUILD_EXPORTS) \
2999 (cd $(BUILD_SUBDIR)/fixincludes && \
3000 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3001 $(TARGET-build-fixincludes))
3002 @endif build-fixincludes
3008 # --------------------------------------
3009 # Modules which run on the host machine
3010 # --------------------------------------
3013 .PHONY: configure-bfd maybe-configure-bfd
3014 maybe-configure-bfd:
3015 @if gcc-bootstrap
3016 configure-bfd: stage_current
3017 @endif gcc-bootstrap
3018 @if bfd
3019 maybe-configure-bfd: configure-bfd
3020 configure-bfd:
3021 @r=`${PWD_COMMAND}`; export r; \
3022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3023 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3025 $(HOST_EXPORTS) \
3026 echo Configuring in $(HOST_SUBDIR)/bfd; \
3027 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3028 case $(srcdir) in \
3029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3030 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3032 esac; \
3033 module_srcdir=bfd; \
3034 $(SHELL) \
3035 $$s/$$module_srcdir/configure \
3036 --srcdir=$${topdir}/$$module_srcdir \
3037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3038 --target=${target_alias} \
3039 || exit 1
3040 @endif bfd
3044 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3045 maybe-configure-stage1-bfd:
3046 @if bfd-bootstrap
3047 maybe-configure-stage1-bfd: configure-stage1-bfd
3048 configure-stage1-bfd:
3049 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3051 @r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 TFLAGS="$(STAGE1_TFLAGS)"; \
3054 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3055 $(HOST_EXPORTS) \
3056 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3057 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3058 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3059 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3061 cd $(HOST_SUBDIR)/bfd || exit 1; \
3062 case $(srcdir) in \
3063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3064 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3066 esac; \
3067 module_srcdir=bfd; \
3068 $(SHELL) $$s/$$module_srcdir/configure \
3069 --srcdir=$${topdir}/$$module_srcdir \
3070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3071 --target=${target_alias} \
3073 $(STAGE1_CONFIGURE_FLAGS)
3074 @endif bfd-bootstrap
3076 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3077 maybe-configure-stage2-bfd:
3078 @if bfd-bootstrap
3079 maybe-configure-stage2-bfd: configure-stage2-bfd
3080 configure-stage2-bfd:
3081 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3083 @r=`${PWD_COMMAND}`; export r; \
3084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 TFLAGS="$(STAGE2_TFLAGS)"; \
3086 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3087 $(HOST_EXPORTS) \
3088 $(POSTSTAGE1_HOST_EXPORTS) \
3089 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3090 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3091 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3092 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3094 cd $(HOST_SUBDIR)/bfd || exit 1; \
3095 case $(srcdir) in \
3096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3097 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3099 esac; \
3100 module_srcdir=bfd; \
3101 $(SHELL) $$s/$$module_srcdir/configure \
3102 --srcdir=$${topdir}/$$module_srcdir \
3103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3104 --target=${target_alias} \
3105 --with-build-libsubdir=$(HOST_SUBDIR) \
3106 $(STAGE2_CONFIGURE_FLAGS)
3107 @endif bfd-bootstrap
3109 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3110 maybe-configure-stage3-bfd:
3111 @if bfd-bootstrap
3112 maybe-configure-stage3-bfd: configure-stage3-bfd
3113 configure-stage3-bfd:
3114 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3116 @r=`${PWD_COMMAND}`; export r; \
3117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 TFLAGS="$(STAGE3_TFLAGS)"; \
3119 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3120 $(HOST_EXPORTS) \
3121 $(POSTSTAGE1_HOST_EXPORTS) \
3122 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3123 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3124 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3125 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3127 cd $(HOST_SUBDIR)/bfd || exit 1; \
3128 case $(srcdir) in \
3129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3130 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3132 esac; \
3133 module_srcdir=bfd; \
3134 $(SHELL) $$s/$$module_srcdir/configure \
3135 --srcdir=$${topdir}/$$module_srcdir \
3136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3137 --target=${target_alias} \
3138 --with-build-libsubdir=$(HOST_SUBDIR) \
3139 $(STAGE3_CONFIGURE_FLAGS)
3140 @endif bfd-bootstrap
3142 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3143 maybe-configure-stage4-bfd:
3144 @if bfd-bootstrap
3145 maybe-configure-stage4-bfd: configure-stage4-bfd
3146 configure-stage4-bfd:
3147 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3149 @r=`${PWD_COMMAND}`; export r; \
3150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3151 TFLAGS="$(STAGE4_TFLAGS)"; \
3152 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3153 $(HOST_EXPORTS) \
3154 $(POSTSTAGE1_HOST_EXPORTS) \
3155 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3156 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3157 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3158 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3160 cd $(HOST_SUBDIR)/bfd || exit 1; \
3161 case $(srcdir) in \
3162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3163 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3165 esac; \
3166 module_srcdir=bfd; \
3167 $(SHELL) $$s/$$module_srcdir/configure \
3168 --srcdir=$${topdir}/$$module_srcdir \
3169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3170 --target=${target_alias} \
3171 --with-build-libsubdir=$(HOST_SUBDIR) \
3172 $(STAGE4_CONFIGURE_FLAGS)
3173 @endif bfd-bootstrap
3175 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3176 maybe-configure-stageprofile-bfd:
3177 @if bfd-bootstrap
3178 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3179 configure-stageprofile-bfd:
3180 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3182 @r=`${PWD_COMMAND}`; export r; \
3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3184 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3185 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3186 $(HOST_EXPORTS) \
3187 $(POSTSTAGE1_HOST_EXPORTS) \
3188 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3189 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3190 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3191 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3193 cd $(HOST_SUBDIR)/bfd || exit 1; \
3194 case $(srcdir) in \
3195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3196 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3198 esac; \
3199 module_srcdir=bfd; \
3200 $(SHELL) $$s/$$module_srcdir/configure \
3201 --srcdir=$${topdir}/$$module_srcdir \
3202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3203 --target=${target_alias} \
3204 --with-build-libsubdir=$(HOST_SUBDIR) \
3205 $(STAGEprofile_CONFIGURE_FLAGS)
3206 @endif bfd-bootstrap
3208 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3209 maybe-configure-stagefeedback-bfd:
3210 @if bfd-bootstrap
3211 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3212 configure-stagefeedback-bfd:
3213 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3215 @r=`${PWD_COMMAND}`; export r; \
3216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3217 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3218 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3219 $(HOST_EXPORTS) \
3220 $(POSTSTAGE1_HOST_EXPORTS) \
3221 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3222 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3223 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3224 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3226 cd $(HOST_SUBDIR)/bfd || exit 1; \
3227 case $(srcdir) in \
3228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3229 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3231 esac; \
3232 module_srcdir=bfd; \
3233 $(SHELL) $$s/$$module_srcdir/configure \
3234 --srcdir=$${topdir}/$$module_srcdir \
3235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3236 --target=${target_alias} \
3237 --with-build-libsubdir=$(HOST_SUBDIR) \
3238 $(STAGEfeedback_CONFIGURE_FLAGS)
3239 @endif bfd-bootstrap
3245 .PHONY: all-bfd maybe-all-bfd
3246 maybe-all-bfd:
3247 @if gcc-bootstrap
3248 all-bfd: stage_current
3249 @endif gcc-bootstrap
3250 @if bfd
3251 TARGET-bfd=all
3252 maybe-all-bfd: all-bfd
3253 all-bfd: configure-bfd
3254 @r=`${PWD_COMMAND}`; export r; \
3255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3256 $(HOST_EXPORTS) \
3257 (cd $(HOST_SUBDIR)/bfd && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3259 $(TARGET-bfd))
3260 @endif bfd
3264 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3265 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3266 maybe-all-stage1-bfd:
3267 maybe-clean-stage1-bfd:
3268 @if bfd-bootstrap
3269 maybe-all-stage1-bfd: all-stage1-bfd
3270 all-stage1: all-stage1-bfd
3271 TARGET-stage1-bfd = $(TARGET-bfd)
3272 all-stage1-bfd: configure-stage1-bfd
3273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3274 @r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276 TFLAGS="$(STAGE1_TFLAGS)"; \
3277 $(HOST_EXPORTS) \
3278 cd $(HOST_SUBDIR)/bfd && \
3279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3280 CFLAGS="$(STAGE1_CFLAGS)" \
3281 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3282 LIBCFLAGS="$(LIBCFLAGS)" \
3283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3286 $(EXTRA_HOST_FLAGS) \
3287 $(STAGE1_FLAGS_TO_PASS) \
3288 TFLAGS="$(STAGE1_TFLAGS)" \
3289 $(TARGET-stage1-bfd)
3291 maybe-clean-stage1-bfd: clean-stage1-bfd
3292 clean-stage1: clean-stage1-bfd
3293 clean-stage1-bfd:
3294 @if [ $(current_stage) = stage1 ]; then \
3295 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3296 else \
3297 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3298 $(MAKE) stage1-start; \
3299 fi; \
3300 cd $(HOST_SUBDIR)/bfd && \
3301 $(MAKE) $(EXTRA_HOST_FLAGS) \
3302 $(STAGE1_FLAGS_TO_PASS) clean
3303 @endif bfd-bootstrap
3306 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3307 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3308 maybe-all-stage2-bfd:
3309 maybe-clean-stage2-bfd:
3310 @if bfd-bootstrap
3311 maybe-all-stage2-bfd: all-stage2-bfd
3312 all-stage2: all-stage2-bfd
3313 TARGET-stage2-bfd = $(TARGET-bfd)
3314 all-stage2-bfd: configure-stage2-bfd
3315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3316 @r=`${PWD_COMMAND}`; export r; \
3317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3318 TFLAGS="$(STAGE2_TFLAGS)"; \
3319 $(HOST_EXPORTS) \
3320 $(POSTSTAGE1_HOST_EXPORTS) \
3321 cd $(HOST_SUBDIR)/bfd && \
3322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3323 CFLAGS="$(STAGE2_CFLAGS)" \
3324 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3325 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3329 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3330 TFLAGS="$(STAGE2_TFLAGS)" \
3331 $(TARGET-stage2-bfd)
3333 maybe-clean-stage2-bfd: clean-stage2-bfd
3334 clean-stage2: clean-stage2-bfd
3335 clean-stage2-bfd:
3336 @if [ $(current_stage) = stage2 ]; then \
3337 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3338 else \
3339 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3340 $(MAKE) stage2-start; \
3341 fi; \
3342 cd $(HOST_SUBDIR)/bfd && \
3343 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3344 @endif bfd-bootstrap
3347 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3348 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3349 maybe-all-stage3-bfd:
3350 maybe-clean-stage3-bfd:
3351 @if bfd-bootstrap
3352 maybe-all-stage3-bfd: all-stage3-bfd
3353 all-stage3: all-stage3-bfd
3354 TARGET-stage3-bfd = $(TARGET-bfd)
3355 all-stage3-bfd: configure-stage3-bfd
3356 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 TFLAGS="$(STAGE3_TFLAGS)"; \
3360 $(HOST_EXPORTS) \
3361 $(POSTSTAGE1_HOST_EXPORTS) \
3362 cd $(HOST_SUBDIR)/bfd && \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3364 CFLAGS="$(STAGE3_CFLAGS)" \
3365 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3366 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3371 TFLAGS="$(STAGE3_TFLAGS)" \
3372 $(TARGET-stage3-bfd)
3374 maybe-clean-stage3-bfd: clean-stage3-bfd
3375 clean-stage3: clean-stage3-bfd
3376 clean-stage3-bfd:
3377 @if [ $(current_stage) = stage3 ]; then \
3378 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3379 else \
3380 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3381 $(MAKE) stage3-start; \
3382 fi; \
3383 cd $(HOST_SUBDIR)/bfd && \
3384 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3385 @endif bfd-bootstrap
3388 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3389 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3390 maybe-all-stage4-bfd:
3391 maybe-clean-stage4-bfd:
3392 @if bfd-bootstrap
3393 maybe-all-stage4-bfd: all-stage4-bfd
3394 all-stage4: all-stage4-bfd
3395 TARGET-stage4-bfd = $(TARGET-bfd)
3396 all-stage4-bfd: configure-stage4-bfd
3397 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3398 @r=`${PWD_COMMAND}`; export r; \
3399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 TFLAGS="$(STAGE4_TFLAGS)"; \
3401 $(HOST_EXPORTS) \
3402 $(POSTSTAGE1_HOST_EXPORTS) \
3403 cd $(HOST_SUBDIR)/bfd && \
3404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3405 CFLAGS="$(STAGE4_CFLAGS)" \
3406 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3407 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3411 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3412 TFLAGS="$(STAGE4_TFLAGS)" \
3413 $(TARGET-stage4-bfd)
3415 maybe-clean-stage4-bfd: clean-stage4-bfd
3416 clean-stage4: clean-stage4-bfd
3417 clean-stage4-bfd:
3418 @if [ $(current_stage) = stage4 ]; then \
3419 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3420 else \
3421 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3422 $(MAKE) stage4-start; \
3423 fi; \
3424 cd $(HOST_SUBDIR)/bfd && \
3425 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3426 @endif bfd-bootstrap
3429 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3430 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3431 maybe-all-stageprofile-bfd:
3432 maybe-clean-stageprofile-bfd:
3433 @if bfd-bootstrap
3434 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3435 all-stageprofile: all-stageprofile-bfd
3436 TARGET-stageprofile-bfd = $(TARGET-bfd)
3437 all-stageprofile-bfd: configure-stageprofile-bfd
3438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3439 @r=`${PWD_COMMAND}`; export r; \
3440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3442 $(HOST_EXPORTS) \
3443 $(POSTSTAGE1_HOST_EXPORTS) \
3444 cd $(HOST_SUBDIR)/bfd && \
3445 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3446 CFLAGS="$(STAGEprofile_CFLAGS)" \
3447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3448 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3452 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3453 TFLAGS="$(STAGEprofile_TFLAGS)" \
3454 $(TARGET-stageprofile-bfd)
3456 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3457 clean-stageprofile: clean-stageprofile-bfd
3458 clean-stageprofile-bfd:
3459 @if [ $(current_stage) = stageprofile ]; then \
3460 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3461 else \
3462 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3463 $(MAKE) stageprofile-start; \
3464 fi; \
3465 cd $(HOST_SUBDIR)/bfd && \
3466 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3467 @endif bfd-bootstrap
3470 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3471 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3472 maybe-all-stagefeedback-bfd:
3473 maybe-clean-stagefeedback-bfd:
3474 @if bfd-bootstrap
3475 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3476 all-stagefeedback: all-stagefeedback-bfd
3477 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3478 all-stagefeedback-bfd: configure-stagefeedback-bfd
3479 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3480 @r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3483 $(HOST_EXPORTS) \
3484 $(POSTSTAGE1_HOST_EXPORTS) \
3485 cd $(HOST_SUBDIR)/bfd && \
3486 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3487 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3488 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3489 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3494 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3495 $(TARGET-stagefeedback-bfd)
3497 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3498 clean-stagefeedback: clean-stagefeedback-bfd
3499 clean-stagefeedback-bfd:
3500 @if [ $(current_stage) = stagefeedback ]; then \
3501 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3502 else \
3503 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3504 $(MAKE) stagefeedback-start; \
3505 fi; \
3506 cd $(HOST_SUBDIR)/bfd && \
3507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3508 @endif bfd-bootstrap
3514 .PHONY: check-bfd maybe-check-bfd
3515 maybe-check-bfd:
3516 @if bfd
3517 maybe-check-bfd: check-bfd
3519 check-bfd:
3520 @: $(MAKE); $(unstage)
3521 @r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523 $(HOST_EXPORTS) \
3524 (cd $(HOST_SUBDIR)/bfd && \
3525 $(MAKE) $(FLAGS_TO_PASS) check)
3527 @endif bfd
3529 .PHONY: install-bfd maybe-install-bfd
3530 maybe-install-bfd:
3531 @if bfd
3532 maybe-install-bfd: install-bfd
3534 install-bfd: installdirs
3535 @: $(MAKE); $(unstage)
3536 @r=`${PWD_COMMAND}`; export r; \
3537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3538 $(HOST_EXPORTS) \
3539 (cd $(HOST_SUBDIR)/bfd && \
3540 $(MAKE) $(FLAGS_TO_PASS) install)
3542 @endif bfd
3544 .PHONY: install-strip-bfd maybe-install-strip-bfd
3545 maybe-install-strip-bfd:
3546 @if bfd
3547 maybe-install-strip-bfd: install-strip-bfd
3549 install-strip-bfd: installdirs
3550 @: $(MAKE); $(unstage)
3551 @r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 $(HOST_EXPORTS) \
3554 (cd $(HOST_SUBDIR)/bfd && \
3555 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3557 @endif bfd
3559 # Other targets (info, dvi, pdf, etc.)
3561 .PHONY: maybe-info-bfd info-bfd
3562 maybe-info-bfd:
3563 @if bfd
3564 maybe-info-bfd: info-bfd
3566 info-bfd: \
3567 configure-bfd
3568 @[ -f ./bfd/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3571 $(HOST_EXPORTS) \
3572 for flag in $(EXTRA_HOST_FLAGS) ; do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3574 done; \
3575 echo "Doing info in bfd" ; \
3576 (cd $(HOST_SUBDIR)/bfd && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3581 info) \
3582 || exit 1
3584 @endif bfd
3586 .PHONY: maybe-dvi-bfd dvi-bfd
3587 maybe-dvi-bfd:
3588 @if bfd
3589 maybe-dvi-bfd: dvi-bfd
3591 dvi-bfd: \
3592 configure-bfd
3593 @[ -f ./bfd/Makefile ] || exit 0; \
3594 r=`${PWD_COMMAND}`; export r; \
3595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 $(HOST_EXPORTS) \
3597 for flag in $(EXTRA_HOST_FLAGS) ; do \
3598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3599 done; \
3600 echo "Doing dvi in bfd" ; \
3601 (cd $(HOST_SUBDIR)/bfd && \
3602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3604 "RANLIB=$${RANLIB}" \
3605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3606 dvi) \
3607 || exit 1
3609 @endif bfd
3611 .PHONY: maybe-pdf-bfd pdf-bfd
3612 maybe-pdf-bfd:
3613 @if bfd
3614 maybe-pdf-bfd: pdf-bfd
3616 pdf-bfd: \
3617 configure-bfd
3618 @[ -f ./bfd/Makefile ] || exit 0; \
3619 r=`${PWD_COMMAND}`; export r; \
3620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3621 $(HOST_EXPORTS) \
3622 for flag in $(EXTRA_HOST_FLAGS) ; do \
3623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3624 done; \
3625 echo "Doing pdf in bfd" ; \
3626 (cd $(HOST_SUBDIR)/bfd && \
3627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3629 "RANLIB=$${RANLIB}" \
3630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3631 pdf) \
3632 || exit 1
3634 @endif bfd
3636 .PHONY: maybe-html-bfd html-bfd
3637 maybe-html-bfd:
3638 @if bfd
3639 maybe-html-bfd: html-bfd
3641 html-bfd: \
3642 configure-bfd
3643 @[ -f ./bfd/Makefile ] || exit 0; \
3644 r=`${PWD_COMMAND}`; export r; \
3645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3646 $(HOST_EXPORTS) \
3647 for flag in $(EXTRA_HOST_FLAGS) ; do \
3648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3649 done; \
3650 echo "Doing html in bfd" ; \
3651 (cd $(HOST_SUBDIR)/bfd && \
3652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3654 "RANLIB=$${RANLIB}" \
3655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3656 html) \
3657 || exit 1
3659 @endif bfd
3661 .PHONY: maybe-TAGS-bfd TAGS-bfd
3662 maybe-TAGS-bfd:
3663 @if bfd
3664 maybe-TAGS-bfd: TAGS-bfd
3666 TAGS-bfd: \
3667 configure-bfd
3668 @[ -f ./bfd/Makefile ] || exit 0; \
3669 r=`${PWD_COMMAND}`; export r; \
3670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3671 $(HOST_EXPORTS) \
3672 for flag in $(EXTRA_HOST_FLAGS) ; do \
3673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3674 done; \
3675 echo "Doing TAGS in bfd" ; \
3676 (cd $(HOST_SUBDIR)/bfd && \
3677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3679 "RANLIB=$${RANLIB}" \
3680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3681 TAGS) \
3682 || exit 1
3684 @endif bfd
3686 .PHONY: maybe-install-info-bfd install-info-bfd
3687 maybe-install-info-bfd:
3688 @if bfd
3689 maybe-install-info-bfd: install-info-bfd
3691 install-info-bfd: \
3692 configure-bfd \
3693 info-bfd
3694 @[ -f ./bfd/Makefile ] || exit 0; \
3695 r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 $(HOST_EXPORTS) \
3698 for flag in $(EXTRA_HOST_FLAGS) ; do \
3699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3700 done; \
3701 echo "Doing install-info in bfd" ; \
3702 (cd $(HOST_SUBDIR)/bfd && \
3703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3705 "RANLIB=$${RANLIB}" \
3706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3707 install-info) \
3708 || exit 1
3710 @endif bfd
3712 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3713 maybe-install-pdf-bfd:
3714 @if bfd
3715 maybe-install-pdf-bfd: install-pdf-bfd
3717 install-pdf-bfd: \
3718 configure-bfd \
3719 pdf-bfd
3720 @[ -f ./bfd/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(HOST_EXPORTS) \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726 done; \
3727 echo "Doing install-pdf in bfd" ; \
3728 (cd $(HOST_SUBDIR)/bfd && \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3733 install-pdf) \
3734 || exit 1
3736 @endif bfd
3738 .PHONY: maybe-install-html-bfd install-html-bfd
3739 maybe-install-html-bfd:
3740 @if bfd
3741 maybe-install-html-bfd: install-html-bfd
3743 install-html-bfd: \
3744 configure-bfd \
3745 html-bfd
3746 @[ -f ./bfd/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing install-html in bfd" ; \
3754 (cd $(HOST_SUBDIR)/bfd && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3759 install-html) \
3760 || exit 1
3762 @endif bfd
3764 .PHONY: maybe-installcheck-bfd installcheck-bfd
3765 maybe-installcheck-bfd:
3766 @if bfd
3767 maybe-installcheck-bfd: installcheck-bfd
3769 installcheck-bfd: \
3770 configure-bfd
3771 @[ -f ./bfd/Makefile ] || exit 0; \
3772 r=`${PWD_COMMAND}`; export r; \
3773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3774 $(HOST_EXPORTS) \
3775 for flag in $(EXTRA_HOST_FLAGS) ; do \
3776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3777 done; \
3778 echo "Doing installcheck in bfd" ; \
3779 (cd $(HOST_SUBDIR)/bfd && \
3780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3782 "RANLIB=$${RANLIB}" \
3783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3784 installcheck) \
3785 || exit 1
3787 @endif bfd
3789 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3790 maybe-mostlyclean-bfd:
3791 @if bfd
3792 maybe-mostlyclean-bfd: mostlyclean-bfd
3794 mostlyclean-bfd:
3795 @[ -f ./bfd/Makefile ] || exit 0; \
3796 r=`${PWD_COMMAND}`; export r; \
3797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3798 $(HOST_EXPORTS) \
3799 for flag in $(EXTRA_HOST_FLAGS) ; do \
3800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3801 done; \
3802 echo "Doing mostlyclean in bfd" ; \
3803 (cd $(HOST_SUBDIR)/bfd && \
3804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3806 "RANLIB=$${RANLIB}" \
3807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3808 mostlyclean) \
3809 || exit 1
3811 @endif bfd
3813 .PHONY: maybe-clean-bfd clean-bfd
3814 maybe-clean-bfd:
3815 @if bfd
3816 maybe-clean-bfd: clean-bfd
3818 clean-bfd:
3819 @[ -f ./bfd/Makefile ] || exit 0; \
3820 r=`${PWD_COMMAND}`; export r; \
3821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3822 $(HOST_EXPORTS) \
3823 for flag in $(EXTRA_HOST_FLAGS) ; do \
3824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3825 done; \
3826 echo "Doing clean in bfd" ; \
3827 (cd $(HOST_SUBDIR)/bfd && \
3828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3830 "RANLIB=$${RANLIB}" \
3831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3832 clean) \
3833 || exit 1
3835 @endif bfd
3837 .PHONY: maybe-distclean-bfd distclean-bfd
3838 maybe-distclean-bfd:
3839 @if bfd
3840 maybe-distclean-bfd: distclean-bfd
3842 distclean-bfd:
3843 @[ -f ./bfd/Makefile ] || exit 0; \
3844 r=`${PWD_COMMAND}`; export r; \
3845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3846 $(HOST_EXPORTS) \
3847 for flag in $(EXTRA_HOST_FLAGS) ; do \
3848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3849 done; \
3850 echo "Doing distclean in bfd" ; \
3851 (cd $(HOST_SUBDIR)/bfd && \
3852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3854 "RANLIB=$${RANLIB}" \
3855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3856 distclean) \
3857 || exit 1
3859 @endif bfd
3861 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3862 maybe-maintainer-clean-bfd:
3863 @if bfd
3864 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3866 maintainer-clean-bfd:
3867 @[ -f ./bfd/Makefile ] || exit 0; \
3868 r=`${PWD_COMMAND}`; export r; \
3869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3870 $(HOST_EXPORTS) \
3871 for flag in $(EXTRA_HOST_FLAGS) ; do \
3872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3873 done; \
3874 echo "Doing maintainer-clean in bfd" ; \
3875 (cd $(HOST_SUBDIR)/bfd && \
3876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3878 "RANLIB=$${RANLIB}" \
3879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3880 maintainer-clean) \
3881 || exit 1
3883 @endif bfd
3887 .PHONY: configure-opcodes maybe-configure-opcodes
3888 maybe-configure-opcodes:
3889 @if gcc-bootstrap
3890 configure-opcodes: stage_current
3891 @endif gcc-bootstrap
3892 @if opcodes
3893 maybe-configure-opcodes: configure-opcodes
3894 configure-opcodes:
3895 @r=`${PWD_COMMAND}`; export r; \
3896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3897 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3899 $(HOST_EXPORTS) \
3900 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3901 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3902 case $(srcdir) in \
3903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3904 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3906 esac; \
3907 module_srcdir=opcodes; \
3908 $(SHELL) \
3909 $$s/$$module_srcdir/configure \
3910 --srcdir=$${topdir}/$$module_srcdir \
3911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3912 --target=${target_alias} \
3913 || exit 1
3914 @endif opcodes
3918 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3919 maybe-configure-stage1-opcodes:
3920 @if opcodes-bootstrap
3921 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3922 configure-stage1-opcodes:
3923 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3925 @r=`${PWD_COMMAND}`; export r; \
3926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3927 TFLAGS="$(STAGE1_TFLAGS)"; \
3928 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3929 $(HOST_EXPORTS) \
3930 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3931 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3932 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3933 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3935 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3936 case $(srcdir) in \
3937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3938 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3940 esac; \
3941 module_srcdir=opcodes; \
3942 $(SHELL) $$s/$$module_srcdir/configure \
3943 --srcdir=$${topdir}/$$module_srcdir \
3944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3945 --target=${target_alias} \
3947 $(STAGE1_CONFIGURE_FLAGS)
3948 @endif opcodes-bootstrap
3950 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3951 maybe-configure-stage2-opcodes:
3952 @if opcodes-bootstrap
3953 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3954 configure-stage2-opcodes:
3955 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3957 @r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3959 TFLAGS="$(STAGE2_TFLAGS)"; \
3960 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3961 $(HOST_EXPORTS) \
3962 $(POSTSTAGE1_HOST_EXPORTS) \
3963 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3964 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3965 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3966 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3968 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3969 case $(srcdir) in \
3970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3971 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3973 esac; \
3974 module_srcdir=opcodes; \
3975 $(SHELL) $$s/$$module_srcdir/configure \
3976 --srcdir=$${topdir}/$$module_srcdir \
3977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3978 --target=${target_alias} \
3979 --with-build-libsubdir=$(HOST_SUBDIR) \
3980 $(STAGE2_CONFIGURE_FLAGS)
3981 @endif opcodes-bootstrap
3983 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3984 maybe-configure-stage3-opcodes:
3985 @if opcodes-bootstrap
3986 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3987 configure-stage3-opcodes:
3988 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3990 @r=`${PWD_COMMAND}`; export r; \
3991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3992 TFLAGS="$(STAGE3_TFLAGS)"; \
3993 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3994 $(HOST_EXPORTS) \
3995 $(POSTSTAGE1_HOST_EXPORTS) \
3996 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3997 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3998 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3999 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4001 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4002 case $(srcdir) in \
4003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4004 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4006 esac; \
4007 module_srcdir=opcodes; \
4008 $(SHELL) $$s/$$module_srcdir/configure \
4009 --srcdir=$${topdir}/$$module_srcdir \
4010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4011 --target=${target_alias} \
4012 --with-build-libsubdir=$(HOST_SUBDIR) \
4013 $(STAGE3_CONFIGURE_FLAGS)
4014 @endif opcodes-bootstrap
4016 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4017 maybe-configure-stage4-opcodes:
4018 @if opcodes-bootstrap
4019 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4020 configure-stage4-opcodes:
4021 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4023 @r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4025 TFLAGS="$(STAGE4_TFLAGS)"; \
4026 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4027 $(HOST_EXPORTS) \
4028 $(POSTSTAGE1_HOST_EXPORTS) \
4029 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4030 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4031 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4032 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4034 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4035 case $(srcdir) in \
4036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4037 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4039 esac; \
4040 module_srcdir=opcodes; \
4041 $(SHELL) $$s/$$module_srcdir/configure \
4042 --srcdir=$${topdir}/$$module_srcdir \
4043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4044 --target=${target_alias} \
4045 --with-build-libsubdir=$(HOST_SUBDIR) \
4046 $(STAGE4_CONFIGURE_FLAGS)
4047 @endif opcodes-bootstrap
4049 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4050 maybe-configure-stageprofile-opcodes:
4051 @if opcodes-bootstrap
4052 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4053 configure-stageprofile-opcodes:
4054 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4056 @r=`${PWD_COMMAND}`; export r; \
4057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4058 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4059 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4060 $(HOST_EXPORTS) \
4061 $(POSTSTAGE1_HOST_EXPORTS) \
4062 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4063 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4064 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4065 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4067 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4068 case $(srcdir) in \
4069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4070 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4072 esac; \
4073 module_srcdir=opcodes; \
4074 $(SHELL) $$s/$$module_srcdir/configure \
4075 --srcdir=$${topdir}/$$module_srcdir \
4076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4077 --target=${target_alias} \
4078 --with-build-libsubdir=$(HOST_SUBDIR) \
4079 $(STAGEprofile_CONFIGURE_FLAGS)
4080 @endif opcodes-bootstrap
4082 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4083 maybe-configure-stagefeedback-opcodes:
4084 @if opcodes-bootstrap
4085 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4086 configure-stagefeedback-opcodes:
4087 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4089 @r=`${PWD_COMMAND}`; export r; \
4090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4092 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4093 $(HOST_EXPORTS) \
4094 $(POSTSTAGE1_HOST_EXPORTS) \
4095 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4096 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4097 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4098 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4100 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4101 case $(srcdir) in \
4102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4103 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4105 esac; \
4106 module_srcdir=opcodes; \
4107 $(SHELL) $$s/$$module_srcdir/configure \
4108 --srcdir=$${topdir}/$$module_srcdir \
4109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4110 --target=${target_alias} \
4111 --with-build-libsubdir=$(HOST_SUBDIR) \
4112 $(STAGEfeedback_CONFIGURE_FLAGS)
4113 @endif opcodes-bootstrap
4119 .PHONY: all-opcodes maybe-all-opcodes
4120 maybe-all-opcodes:
4121 @if gcc-bootstrap
4122 all-opcodes: stage_current
4123 @endif gcc-bootstrap
4124 @if opcodes
4125 TARGET-opcodes=all
4126 maybe-all-opcodes: all-opcodes
4127 all-opcodes: configure-opcodes
4128 @r=`${PWD_COMMAND}`; export r; \
4129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4130 $(HOST_EXPORTS) \
4131 (cd $(HOST_SUBDIR)/opcodes && \
4132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4133 $(TARGET-opcodes))
4134 @endif opcodes
4138 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4139 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4140 maybe-all-stage1-opcodes:
4141 maybe-clean-stage1-opcodes:
4142 @if opcodes-bootstrap
4143 maybe-all-stage1-opcodes: all-stage1-opcodes
4144 all-stage1: all-stage1-opcodes
4145 TARGET-stage1-opcodes = $(TARGET-opcodes)
4146 all-stage1-opcodes: configure-stage1-opcodes
4147 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4148 @r=`${PWD_COMMAND}`; export r; \
4149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4150 TFLAGS="$(STAGE1_TFLAGS)"; \
4151 $(HOST_EXPORTS) \
4152 cd $(HOST_SUBDIR)/opcodes && \
4153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4154 CFLAGS="$(STAGE1_CFLAGS)" \
4155 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4156 LIBCFLAGS="$(LIBCFLAGS)" \
4157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4160 $(EXTRA_HOST_FLAGS) \
4161 $(STAGE1_FLAGS_TO_PASS) \
4162 TFLAGS="$(STAGE1_TFLAGS)" \
4163 $(TARGET-stage1-opcodes)
4165 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4166 clean-stage1: clean-stage1-opcodes
4167 clean-stage1-opcodes:
4168 @if [ $(current_stage) = stage1 ]; then \
4169 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4170 else \
4171 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4172 $(MAKE) stage1-start; \
4173 fi; \
4174 cd $(HOST_SUBDIR)/opcodes && \
4175 $(MAKE) $(EXTRA_HOST_FLAGS) \
4176 $(STAGE1_FLAGS_TO_PASS) clean
4177 @endif opcodes-bootstrap
4180 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4181 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4182 maybe-all-stage2-opcodes:
4183 maybe-clean-stage2-opcodes:
4184 @if opcodes-bootstrap
4185 maybe-all-stage2-opcodes: all-stage2-opcodes
4186 all-stage2: all-stage2-opcodes
4187 TARGET-stage2-opcodes = $(TARGET-opcodes)
4188 all-stage2-opcodes: configure-stage2-opcodes
4189 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4190 @r=`${PWD_COMMAND}`; export r; \
4191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192 TFLAGS="$(STAGE2_TFLAGS)"; \
4193 $(HOST_EXPORTS) \
4194 $(POSTSTAGE1_HOST_EXPORTS) \
4195 cd $(HOST_SUBDIR)/opcodes && \
4196 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4197 CFLAGS="$(STAGE2_CFLAGS)" \
4198 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4199 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4200 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4201 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4202 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4203 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4204 TFLAGS="$(STAGE2_TFLAGS)" \
4205 $(TARGET-stage2-opcodes)
4207 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4208 clean-stage2: clean-stage2-opcodes
4209 clean-stage2-opcodes:
4210 @if [ $(current_stage) = stage2 ]; then \
4211 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4212 else \
4213 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4214 $(MAKE) stage2-start; \
4215 fi; \
4216 cd $(HOST_SUBDIR)/opcodes && \
4217 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4218 @endif opcodes-bootstrap
4221 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4222 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4223 maybe-all-stage3-opcodes:
4224 maybe-clean-stage3-opcodes:
4225 @if opcodes-bootstrap
4226 maybe-all-stage3-opcodes: all-stage3-opcodes
4227 all-stage3: all-stage3-opcodes
4228 TARGET-stage3-opcodes = $(TARGET-opcodes)
4229 all-stage3-opcodes: configure-stage3-opcodes
4230 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4231 @r=`${PWD_COMMAND}`; export r; \
4232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4233 TFLAGS="$(STAGE3_TFLAGS)"; \
4234 $(HOST_EXPORTS) \
4235 $(POSTSTAGE1_HOST_EXPORTS) \
4236 cd $(HOST_SUBDIR)/opcodes && \
4237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4238 CFLAGS="$(STAGE3_CFLAGS)" \
4239 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4240 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4245 TFLAGS="$(STAGE3_TFLAGS)" \
4246 $(TARGET-stage3-opcodes)
4248 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4249 clean-stage3: clean-stage3-opcodes
4250 clean-stage3-opcodes:
4251 @if [ $(current_stage) = stage3 ]; then \
4252 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4253 else \
4254 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4255 $(MAKE) stage3-start; \
4256 fi; \
4257 cd $(HOST_SUBDIR)/opcodes && \
4258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4259 @endif opcodes-bootstrap
4262 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4263 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4264 maybe-all-stage4-opcodes:
4265 maybe-clean-stage4-opcodes:
4266 @if opcodes-bootstrap
4267 maybe-all-stage4-opcodes: all-stage4-opcodes
4268 all-stage4: all-stage4-opcodes
4269 TARGET-stage4-opcodes = $(TARGET-opcodes)
4270 all-stage4-opcodes: configure-stage4-opcodes
4271 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4272 @r=`${PWD_COMMAND}`; export r; \
4273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4274 TFLAGS="$(STAGE4_TFLAGS)"; \
4275 $(HOST_EXPORTS) \
4276 $(POSTSTAGE1_HOST_EXPORTS) \
4277 cd $(HOST_SUBDIR)/opcodes && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4279 CFLAGS="$(STAGE4_CFLAGS)" \
4280 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4281 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4286 TFLAGS="$(STAGE4_TFLAGS)" \
4287 $(TARGET-stage4-opcodes)
4289 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4290 clean-stage4: clean-stage4-opcodes
4291 clean-stage4-opcodes:
4292 @if [ $(current_stage) = stage4 ]; then \
4293 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4294 else \
4295 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4296 $(MAKE) stage4-start; \
4297 fi; \
4298 cd $(HOST_SUBDIR)/opcodes && \
4299 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4300 @endif opcodes-bootstrap
4303 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4304 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4305 maybe-all-stageprofile-opcodes:
4306 maybe-clean-stageprofile-opcodes:
4307 @if opcodes-bootstrap
4308 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4309 all-stageprofile: all-stageprofile-opcodes
4310 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4311 all-stageprofile-opcodes: configure-stageprofile-opcodes
4312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4313 @r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4316 $(HOST_EXPORTS) \
4317 $(POSTSTAGE1_HOST_EXPORTS) \
4318 cd $(HOST_SUBDIR)/opcodes && \
4319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4320 CFLAGS="$(STAGEprofile_CFLAGS)" \
4321 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4322 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4327 TFLAGS="$(STAGEprofile_TFLAGS)" \
4328 $(TARGET-stageprofile-opcodes)
4330 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4331 clean-stageprofile: clean-stageprofile-opcodes
4332 clean-stageprofile-opcodes:
4333 @if [ $(current_stage) = stageprofile ]; then \
4334 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4335 else \
4336 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4337 $(MAKE) stageprofile-start; \
4338 fi; \
4339 cd $(HOST_SUBDIR)/opcodes && \
4340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4341 @endif opcodes-bootstrap
4344 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4345 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4346 maybe-all-stagefeedback-opcodes:
4347 maybe-clean-stagefeedback-opcodes:
4348 @if opcodes-bootstrap
4349 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4350 all-stagefeedback: all-stagefeedback-opcodes
4351 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4352 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4353 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4354 @r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4357 $(HOST_EXPORTS) \
4358 $(POSTSTAGE1_HOST_EXPORTS) \
4359 cd $(HOST_SUBDIR)/opcodes && \
4360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4361 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4362 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4363 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4368 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4369 $(TARGET-stagefeedback-opcodes)
4371 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4372 clean-stagefeedback: clean-stagefeedback-opcodes
4373 clean-stagefeedback-opcodes:
4374 @if [ $(current_stage) = stagefeedback ]; then \
4375 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4376 else \
4377 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4378 $(MAKE) stagefeedback-start; \
4379 fi; \
4380 cd $(HOST_SUBDIR)/opcodes && \
4381 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4382 @endif opcodes-bootstrap
4388 .PHONY: check-opcodes maybe-check-opcodes
4389 maybe-check-opcodes:
4390 @if opcodes
4391 maybe-check-opcodes: check-opcodes
4393 check-opcodes:
4394 @: $(MAKE); $(unstage)
4395 @r=`${PWD_COMMAND}`; export r; \
4396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4397 $(HOST_EXPORTS) \
4398 (cd $(HOST_SUBDIR)/opcodes && \
4399 $(MAKE) $(FLAGS_TO_PASS) check)
4401 @endif opcodes
4403 .PHONY: install-opcodes maybe-install-opcodes
4404 maybe-install-opcodes:
4405 @if opcodes
4406 maybe-install-opcodes: install-opcodes
4408 install-opcodes: installdirs
4409 @: $(MAKE); $(unstage)
4410 @r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 $(HOST_EXPORTS) \
4413 (cd $(HOST_SUBDIR)/opcodes && \
4414 $(MAKE) $(FLAGS_TO_PASS) install)
4416 @endif opcodes
4418 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4419 maybe-install-strip-opcodes:
4420 @if opcodes
4421 maybe-install-strip-opcodes: install-strip-opcodes
4423 install-strip-opcodes: installdirs
4424 @: $(MAKE); $(unstage)
4425 @r=`${PWD_COMMAND}`; export r; \
4426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4427 $(HOST_EXPORTS) \
4428 (cd $(HOST_SUBDIR)/opcodes && \
4429 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4431 @endif opcodes
4433 # Other targets (info, dvi, pdf, etc.)
4435 .PHONY: maybe-info-opcodes info-opcodes
4436 maybe-info-opcodes:
4437 @if opcodes
4438 maybe-info-opcodes: info-opcodes
4440 info-opcodes: \
4441 configure-opcodes
4442 @[ -f ./opcodes/Makefile ] || exit 0; \
4443 r=`${PWD_COMMAND}`; export r; \
4444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4445 $(HOST_EXPORTS) \
4446 for flag in $(EXTRA_HOST_FLAGS) ; do \
4447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4448 done; \
4449 echo "Doing info in opcodes" ; \
4450 (cd $(HOST_SUBDIR)/opcodes && \
4451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4453 "RANLIB=$${RANLIB}" \
4454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4455 info) \
4456 || exit 1
4458 @endif opcodes
4460 .PHONY: maybe-dvi-opcodes dvi-opcodes
4461 maybe-dvi-opcodes:
4462 @if opcodes
4463 maybe-dvi-opcodes: dvi-opcodes
4465 dvi-opcodes: \
4466 configure-opcodes
4467 @[ -f ./opcodes/Makefile ] || exit 0; \
4468 r=`${PWD_COMMAND}`; export r; \
4469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4470 $(HOST_EXPORTS) \
4471 for flag in $(EXTRA_HOST_FLAGS) ; do \
4472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4473 done; \
4474 echo "Doing dvi in opcodes" ; \
4475 (cd $(HOST_SUBDIR)/opcodes && \
4476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4478 "RANLIB=$${RANLIB}" \
4479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4480 dvi) \
4481 || exit 1
4483 @endif opcodes
4485 .PHONY: maybe-pdf-opcodes pdf-opcodes
4486 maybe-pdf-opcodes:
4487 @if opcodes
4488 maybe-pdf-opcodes: pdf-opcodes
4490 pdf-opcodes: \
4491 configure-opcodes
4492 @[ -f ./opcodes/Makefile ] || exit 0; \
4493 r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 $(HOST_EXPORTS) \
4496 for flag in $(EXTRA_HOST_FLAGS) ; do \
4497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4498 done; \
4499 echo "Doing pdf in opcodes" ; \
4500 (cd $(HOST_SUBDIR)/opcodes && \
4501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4503 "RANLIB=$${RANLIB}" \
4504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4505 pdf) \
4506 || exit 1
4508 @endif opcodes
4510 .PHONY: maybe-html-opcodes html-opcodes
4511 maybe-html-opcodes:
4512 @if opcodes
4513 maybe-html-opcodes: html-opcodes
4515 html-opcodes: \
4516 configure-opcodes
4517 @[ -f ./opcodes/Makefile ] || exit 0; \
4518 r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4520 $(HOST_EXPORTS) \
4521 for flag in $(EXTRA_HOST_FLAGS) ; do \
4522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4523 done; \
4524 echo "Doing html in opcodes" ; \
4525 (cd $(HOST_SUBDIR)/opcodes && \
4526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4528 "RANLIB=$${RANLIB}" \
4529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4530 html) \
4531 || exit 1
4533 @endif opcodes
4535 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4536 maybe-TAGS-opcodes:
4537 @if opcodes
4538 maybe-TAGS-opcodes: TAGS-opcodes
4540 TAGS-opcodes: \
4541 configure-opcodes
4542 @[ -f ./opcodes/Makefile ] || exit 0; \
4543 r=`${PWD_COMMAND}`; export r; \
4544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4545 $(HOST_EXPORTS) \
4546 for flag in $(EXTRA_HOST_FLAGS) ; do \
4547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 done; \
4549 echo "Doing TAGS in opcodes" ; \
4550 (cd $(HOST_SUBDIR)/opcodes && \
4551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4553 "RANLIB=$${RANLIB}" \
4554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4555 TAGS) \
4556 || exit 1
4558 @endif opcodes
4560 .PHONY: maybe-install-info-opcodes install-info-opcodes
4561 maybe-install-info-opcodes:
4562 @if opcodes
4563 maybe-install-info-opcodes: install-info-opcodes
4565 install-info-opcodes: \
4566 configure-opcodes \
4567 info-opcodes
4568 @[ -f ./opcodes/Makefile ] || exit 0; \
4569 r=`${PWD_COMMAND}`; export r; \
4570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4571 $(HOST_EXPORTS) \
4572 for flag in $(EXTRA_HOST_FLAGS) ; do \
4573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4574 done; \
4575 echo "Doing install-info in opcodes" ; \
4576 (cd $(HOST_SUBDIR)/opcodes && \
4577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4579 "RANLIB=$${RANLIB}" \
4580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4581 install-info) \
4582 || exit 1
4584 @endif opcodes
4586 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4587 maybe-install-pdf-opcodes:
4588 @if opcodes
4589 maybe-install-pdf-opcodes: install-pdf-opcodes
4591 install-pdf-opcodes: \
4592 configure-opcodes \
4593 pdf-opcodes
4594 @[ -f ./opcodes/Makefile ] || exit 0; \
4595 r=`${PWD_COMMAND}`; export r; \
4596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4597 $(HOST_EXPORTS) \
4598 for flag in $(EXTRA_HOST_FLAGS) ; do \
4599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4600 done; \
4601 echo "Doing install-pdf in opcodes" ; \
4602 (cd $(HOST_SUBDIR)/opcodes && \
4603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4605 "RANLIB=$${RANLIB}" \
4606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4607 install-pdf) \
4608 || exit 1
4610 @endif opcodes
4612 .PHONY: maybe-install-html-opcodes install-html-opcodes
4613 maybe-install-html-opcodes:
4614 @if opcodes
4615 maybe-install-html-opcodes: install-html-opcodes
4617 install-html-opcodes: \
4618 configure-opcodes \
4619 html-opcodes
4620 @[ -f ./opcodes/Makefile ] || exit 0; \
4621 r=`${PWD_COMMAND}`; export r; \
4622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4623 $(HOST_EXPORTS) \
4624 for flag in $(EXTRA_HOST_FLAGS) ; do \
4625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4626 done; \
4627 echo "Doing install-html in opcodes" ; \
4628 (cd $(HOST_SUBDIR)/opcodes && \
4629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4631 "RANLIB=$${RANLIB}" \
4632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4633 install-html) \
4634 || exit 1
4636 @endif opcodes
4638 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4639 maybe-installcheck-opcodes:
4640 @if opcodes
4641 maybe-installcheck-opcodes: installcheck-opcodes
4643 installcheck-opcodes: \
4644 configure-opcodes
4645 @[ -f ./opcodes/Makefile ] || exit 0; \
4646 r=`${PWD_COMMAND}`; export r; \
4647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4648 $(HOST_EXPORTS) \
4649 for flag in $(EXTRA_HOST_FLAGS) ; do \
4650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4651 done; \
4652 echo "Doing installcheck in opcodes" ; \
4653 (cd $(HOST_SUBDIR)/opcodes && \
4654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4656 "RANLIB=$${RANLIB}" \
4657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4658 installcheck) \
4659 || exit 1
4661 @endif opcodes
4663 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4664 maybe-mostlyclean-opcodes:
4665 @if opcodes
4666 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4668 mostlyclean-opcodes:
4669 @[ -f ./opcodes/Makefile ] || exit 0; \
4670 r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672 $(HOST_EXPORTS) \
4673 for flag in $(EXTRA_HOST_FLAGS) ; do \
4674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4675 done; \
4676 echo "Doing mostlyclean in opcodes" ; \
4677 (cd $(HOST_SUBDIR)/opcodes && \
4678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4680 "RANLIB=$${RANLIB}" \
4681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4682 mostlyclean) \
4683 || exit 1
4685 @endif opcodes
4687 .PHONY: maybe-clean-opcodes clean-opcodes
4688 maybe-clean-opcodes:
4689 @if opcodes
4690 maybe-clean-opcodes: clean-opcodes
4692 clean-opcodes:
4693 @[ -f ./opcodes/Makefile ] || exit 0; \
4694 r=`${PWD_COMMAND}`; export r; \
4695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696 $(HOST_EXPORTS) \
4697 for flag in $(EXTRA_HOST_FLAGS) ; do \
4698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4699 done; \
4700 echo "Doing clean in opcodes" ; \
4701 (cd $(HOST_SUBDIR)/opcodes && \
4702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4704 "RANLIB=$${RANLIB}" \
4705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4706 clean) \
4707 || exit 1
4709 @endif opcodes
4711 .PHONY: maybe-distclean-opcodes distclean-opcodes
4712 maybe-distclean-opcodes:
4713 @if opcodes
4714 maybe-distclean-opcodes: distclean-opcodes
4716 distclean-opcodes:
4717 @[ -f ./opcodes/Makefile ] || exit 0; \
4718 r=`${PWD_COMMAND}`; export r; \
4719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4720 $(HOST_EXPORTS) \
4721 for flag in $(EXTRA_HOST_FLAGS) ; do \
4722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4723 done; \
4724 echo "Doing distclean in opcodes" ; \
4725 (cd $(HOST_SUBDIR)/opcodes && \
4726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4728 "RANLIB=$${RANLIB}" \
4729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4730 distclean) \
4731 || exit 1
4733 @endif opcodes
4735 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4736 maybe-maintainer-clean-opcodes:
4737 @if opcodes
4738 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4740 maintainer-clean-opcodes:
4741 @[ -f ./opcodes/Makefile ] || exit 0; \
4742 r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 $(HOST_EXPORTS) \
4745 for flag in $(EXTRA_HOST_FLAGS) ; do \
4746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4747 done; \
4748 echo "Doing maintainer-clean in opcodes" ; \
4749 (cd $(HOST_SUBDIR)/opcodes && \
4750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4752 "RANLIB=$${RANLIB}" \
4753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4754 maintainer-clean) \
4755 || exit 1
4757 @endif opcodes
4761 .PHONY: configure-binutils maybe-configure-binutils
4762 maybe-configure-binutils:
4763 @if gcc-bootstrap
4764 configure-binutils: stage_current
4765 @endif gcc-bootstrap
4766 @if binutils
4767 maybe-configure-binutils: configure-binutils
4768 configure-binutils:
4769 @r=`${PWD_COMMAND}`; export r; \
4770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4771 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4773 $(HOST_EXPORTS) \
4774 echo Configuring in $(HOST_SUBDIR)/binutils; \
4775 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4776 case $(srcdir) in \
4777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4778 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4780 esac; \
4781 module_srcdir=binutils; \
4782 $(SHELL) \
4783 $$s/$$module_srcdir/configure \
4784 --srcdir=$${topdir}/$$module_srcdir \
4785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4786 --target=${target_alias} \
4787 || exit 1
4788 @endif binutils
4792 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4793 maybe-configure-stage1-binutils:
4794 @if binutils-bootstrap
4795 maybe-configure-stage1-binutils: configure-stage1-binutils
4796 configure-stage1-binutils:
4797 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4799 @r=`${PWD_COMMAND}`; export r; \
4800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4801 TFLAGS="$(STAGE1_TFLAGS)"; \
4802 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4803 $(HOST_EXPORTS) \
4804 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4805 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4806 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4807 echo Configuring stage 1 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 module_srcdir=binutils; \
4816 $(SHELL) $$s/$$module_srcdir/configure \
4817 --srcdir=$${topdir}/$$module_srcdir \
4818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4819 --target=${target_alias} \
4821 $(STAGE1_CONFIGURE_FLAGS)
4822 @endif binutils-bootstrap
4824 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4825 maybe-configure-stage2-binutils:
4826 @if binutils-bootstrap
4827 maybe-configure-stage2-binutils: configure-stage2-binutils
4828 configure-stage2-binutils:
4829 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4831 @r=`${PWD_COMMAND}`; export r; \
4832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4833 TFLAGS="$(STAGE2_TFLAGS)"; \
4834 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4835 $(HOST_EXPORTS) \
4836 $(POSTSTAGE1_HOST_EXPORTS) \
4837 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4838 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4839 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4840 echo Configuring stage 2 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 module_srcdir=binutils; \
4849 $(SHELL) $$s/$$module_srcdir/configure \
4850 --srcdir=$${topdir}/$$module_srcdir \
4851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4852 --target=${target_alias} \
4853 --with-build-libsubdir=$(HOST_SUBDIR) \
4854 $(STAGE2_CONFIGURE_FLAGS)
4855 @endif binutils-bootstrap
4857 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4858 maybe-configure-stage3-binutils:
4859 @if binutils-bootstrap
4860 maybe-configure-stage3-binutils: configure-stage3-binutils
4861 configure-stage3-binutils:
4862 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4864 @r=`${PWD_COMMAND}`; export r; \
4865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4866 TFLAGS="$(STAGE3_TFLAGS)"; \
4867 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4868 $(HOST_EXPORTS) \
4869 $(POSTSTAGE1_HOST_EXPORTS) \
4870 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4871 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4872 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4873 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4875 cd $(HOST_SUBDIR)/binutils || exit 1; \
4876 case $(srcdir) in \
4877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4878 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4880 esac; \
4881 module_srcdir=binutils; \
4882 $(SHELL) $$s/$$module_srcdir/configure \
4883 --srcdir=$${topdir}/$$module_srcdir \
4884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4885 --target=${target_alias} \
4886 --with-build-libsubdir=$(HOST_SUBDIR) \
4887 $(STAGE3_CONFIGURE_FLAGS)
4888 @endif binutils-bootstrap
4890 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4891 maybe-configure-stage4-binutils:
4892 @if binutils-bootstrap
4893 maybe-configure-stage4-binutils: configure-stage4-binutils
4894 configure-stage4-binutils:
4895 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4896 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4897 @r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 TFLAGS="$(STAGE4_TFLAGS)"; \
4900 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4901 $(HOST_EXPORTS) \
4902 $(POSTSTAGE1_HOST_EXPORTS) \
4903 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4904 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4905 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4906 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4908 cd $(HOST_SUBDIR)/binutils || exit 1; \
4909 case $(srcdir) in \
4910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4911 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4913 esac; \
4914 module_srcdir=binutils; \
4915 $(SHELL) $$s/$$module_srcdir/configure \
4916 --srcdir=$${topdir}/$$module_srcdir \
4917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4918 --target=${target_alias} \
4919 --with-build-libsubdir=$(HOST_SUBDIR) \
4920 $(STAGE4_CONFIGURE_FLAGS)
4921 @endif binutils-bootstrap
4923 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4924 maybe-configure-stageprofile-binutils:
4925 @if binutils-bootstrap
4926 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4927 configure-stageprofile-binutils:
4928 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4930 @r=`${PWD_COMMAND}`; export r; \
4931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4932 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4933 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4934 $(HOST_EXPORTS) \
4935 $(POSTSTAGE1_HOST_EXPORTS) \
4936 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4937 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4938 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4939 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4941 cd $(HOST_SUBDIR)/binutils || exit 1; \
4942 case $(srcdir) in \
4943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4944 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4946 esac; \
4947 module_srcdir=binutils; \
4948 $(SHELL) $$s/$$module_srcdir/configure \
4949 --srcdir=$${topdir}/$$module_srcdir \
4950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4951 --target=${target_alias} \
4952 --with-build-libsubdir=$(HOST_SUBDIR) \
4953 $(STAGEprofile_CONFIGURE_FLAGS)
4954 @endif binutils-bootstrap
4956 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4957 maybe-configure-stagefeedback-binutils:
4958 @if binutils-bootstrap
4959 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4960 configure-stagefeedback-binutils:
4961 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4963 @r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4966 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4967 $(HOST_EXPORTS) \
4968 $(POSTSTAGE1_HOST_EXPORTS) \
4969 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4970 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4971 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4972 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4974 cd $(HOST_SUBDIR)/binutils || exit 1; \
4975 case $(srcdir) in \
4976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4977 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4979 esac; \
4980 module_srcdir=binutils; \
4981 $(SHELL) $$s/$$module_srcdir/configure \
4982 --srcdir=$${topdir}/$$module_srcdir \
4983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4984 --target=${target_alias} \
4985 --with-build-libsubdir=$(HOST_SUBDIR) \
4986 $(STAGEfeedback_CONFIGURE_FLAGS)
4987 @endif binutils-bootstrap
4993 .PHONY: all-binutils maybe-all-binutils
4994 maybe-all-binutils:
4995 @if gcc-bootstrap
4996 all-binutils: stage_current
4997 @endif gcc-bootstrap
4998 @if binutils
4999 TARGET-binutils=all
5000 maybe-all-binutils: all-binutils
5001 all-binutils: configure-binutils
5002 @r=`${PWD_COMMAND}`; export r; \
5003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5004 $(HOST_EXPORTS) \
5005 (cd $(HOST_SUBDIR)/binutils && \
5006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5007 $(TARGET-binutils))
5008 @endif binutils
5012 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5013 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5014 maybe-all-stage1-binutils:
5015 maybe-clean-stage1-binutils:
5016 @if binutils-bootstrap
5017 maybe-all-stage1-binutils: all-stage1-binutils
5018 all-stage1: all-stage1-binutils
5019 TARGET-stage1-binutils = $(TARGET-binutils)
5020 all-stage1-binutils: configure-stage1-binutils
5021 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5022 @r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 TFLAGS="$(STAGE1_TFLAGS)"; \
5025 $(HOST_EXPORTS) \
5026 cd $(HOST_SUBDIR)/binutils && \
5027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5028 CFLAGS="$(STAGE1_CFLAGS)" \
5029 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5030 LIBCFLAGS="$(LIBCFLAGS)" \
5031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5034 $(EXTRA_HOST_FLAGS) \
5035 $(STAGE1_FLAGS_TO_PASS) \
5036 TFLAGS="$(STAGE1_TFLAGS)" \
5037 $(TARGET-stage1-binutils)
5039 maybe-clean-stage1-binutils: clean-stage1-binutils
5040 clean-stage1: clean-stage1-binutils
5041 clean-stage1-binutils:
5042 @if [ $(current_stage) = stage1 ]; then \
5043 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5044 else \
5045 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5046 $(MAKE) stage1-start; \
5047 fi; \
5048 cd $(HOST_SUBDIR)/binutils && \
5049 $(MAKE) $(EXTRA_HOST_FLAGS) \
5050 $(STAGE1_FLAGS_TO_PASS) clean
5051 @endif binutils-bootstrap
5054 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5055 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5056 maybe-all-stage2-binutils:
5057 maybe-clean-stage2-binutils:
5058 @if binutils-bootstrap
5059 maybe-all-stage2-binutils: all-stage2-binutils
5060 all-stage2: all-stage2-binutils
5061 TARGET-stage2-binutils = $(TARGET-binutils)
5062 all-stage2-binutils: configure-stage2-binutils
5063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5064 @r=`${PWD_COMMAND}`; export r; \
5065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5066 TFLAGS="$(STAGE2_TFLAGS)"; \
5067 $(HOST_EXPORTS) \
5068 $(POSTSTAGE1_HOST_EXPORTS) \
5069 cd $(HOST_SUBDIR)/binutils && \
5070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5071 CFLAGS="$(STAGE2_CFLAGS)" \
5072 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5073 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5078 TFLAGS="$(STAGE2_TFLAGS)" \
5079 $(TARGET-stage2-binutils)
5081 maybe-clean-stage2-binutils: clean-stage2-binutils
5082 clean-stage2: clean-stage2-binutils
5083 clean-stage2-binutils:
5084 @if [ $(current_stage) = stage2 ]; then \
5085 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5086 else \
5087 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5088 $(MAKE) stage2-start; \
5089 fi; \
5090 cd $(HOST_SUBDIR)/binutils && \
5091 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5092 @endif binutils-bootstrap
5095 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5096 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5097 maybe-all-stage3-binutils:
5098 maybe-clean-stage3-binutils:
5099 @if binutils-bootstrap
5100 maybe-all-stage3-binutils: all-stage3-binutils
5101 all-stage3: all-stage3-binutils
5102 TARGET-stage3-binutils = $(TARGET-binutils)
5103 all-stage3-binutils: configure-stage3-binutils
5104 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5105 @r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 TFLAGS="$(STAGE3_TFLAGS)"; \
5108 $(HOST_EXPORTS) \
5109 $(POSTSTAGE1_HOST_EXPORTS) \
5110 cd $(HOST_SUBDIR)/binutils && \
5111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5112 CFLAGS="$(STAGE3_CFLAGS)" \
5113 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5114 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5119 TFLAGS="$(STAGE3_TFLAGS)" \
5120 $(TARGET-stage3-binutils)
5122 maybe-clean-stage3-binutils: clean-stage3-binutils
5123 clean-stage3: clean-stage3-binutils
5124 clean-stage3-binutils:
5125 @if [ $(current_stage) = stage3 ]; then \
5126 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5127 else \
5128 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5129 $(MAKE) stage3-start; \
5130 fi; \
5131 cd $(HOST_SUBDIR)/binutils && \
5132 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5133 @endif binutils-bootstrap
5136 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5137 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5138 maybe-all-stage4-binutils:
5139 maybe-clean-stage4-binutils:
5140 @if binutils-bootstrap
5141 maybe-all-stage4-binutils: all-stage4-binutils
5142 all-stage4: all-stage4-binutils
5143 TARGET-stage4-binutils = $(TARGET-binutils)
5144 all-stage4-binutils: configure-stage4-binutils
5145 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5146 @r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 TFLAGS="$(STAGE4_TFLAGS)"; \
5149 $(HOST_EXPORTS) \
5150 $(POSTSTAGE1_HOST_EXPORTS) \
5151 cd $(HOST_SUBDIR)/binutils && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5153 CFLAGS="$(STAGE4_CFLAGS)" \
5154 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5155 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5160 TFLAGS="$(STAGE4_TFLAGS)" \
5161 $(TARGET-stage4-binutils)
5163 maybe-clean-stage4-binutils: clean-stage4-binutils
5164 clean-stage4: clean-stage4-binutils
5165 clean-stage4-binutils:
5166 @if [ $(current_stage) = stage4 ]; then \
5167 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5168 else \
5169 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5170 $(MAKE) stage4-start; \
5171 fi; \
5172 cd $(HOST_SUBDIR)/binutils && \
5173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5174 @endif binutils-bootstrap
5177 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5178 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5179 maybe-all-stageprofile-binutils:
5180 maybe-clean-stageprofile-binutils:
5181 @if binutils-bootstrap
5182 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5183 all-stageprofile: all-stageprofile-binutils
5184 TARGET-stageprofile-binutils = $(TARGET-binutils)
5185 all-stageprofile-binutils: configure-stageprofile-binutils
5186 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5187 @r=`${PWD_COMMAND}`; export r; \
5188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5189 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5190 $(HOST_EXPORTS) \
5191 $(POSTSTAGE1_HOST_EXPORTS) \
5192 cd $(HOST_SUBDIR)/binutils && \
5193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5194 CFLAGS="$(STAGEprofile_CFLAGS)" \
5195 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5196 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5201 TFLAGS="$(STAGEprofile_TFLAGS)" \
5202 $(TARGET-stageprofile-binutils)
5204 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5205 clean-stageprofile: clean-stageprofile-binutils
5206 clean-stageprofile-binutils:
5207 @if [ $(current_stage) = stageprofile ]; then \
5208 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5209 else \
5210 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5211 $(MAKE) stageprofile-start; \
5212 fi; \
5213 cd $(HOST_SUBDIR)/binutils && \
5214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5215 @endif binutils-bootstrap
5218 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5219 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5220 maybe-all-stagefeedback-binutils:
5221 maybe-clean-stagefeedback-binutils:
5222 @if binutils-bootstrap
5223 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5224 all-stagefeedback: all-stagefeedback-binutils
5225 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5226 all-stagefeedback-binutils: configure-stagefeedback-binutils
5227 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5228 @r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5231 $(HOST_EXPORTS) \
5232 $(POSTSTAGE1_HOST_EXPORTS) \
5233 cd $(HOST_SUBDIR)/binutils && \
5234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5235 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5236 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5237 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5242 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5243 $(TARGET-stagefeedback-binutils)
5245 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5246 clean-stagefeedback: clean-stagefeedback-binutils
5247 clean-stagefeedback-binutils:
5248 @if [ $(current_stage) = stagefeedback ]; then \
5249 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5250 else \
5251 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5252 $(MAKE) stagefeedback-start; \
5253 fi; \
5254 cd $(HOST_SUBDIR)/binutils && \
5255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5256 @endif binutils-bootstrap
5262 .PHONY: check-binutils maybe-check-binutils
5263 maybe-check-binutils:
5264 @if binutils
5265 maybe-check-binutils: check-binutils
5267 check-binutils:
5268 @: $(MAKE); $(unstage)
5269 @r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 $(HOST_EXPORTS) \
5272 (cd $(HOST_SUBDIR)/binutils && \
5273 $(MAKE) $(FLAGS_TO_PASS) check)
5275 @endif binutils
5277 .PHONY: install-binutils maybe-install-binutils
5278 maybe-install-binutils:
5279 @if binutils
5280 maybe-install-binutils: install-binutils
5282 install-binutils: installdirs
5283 @: $(MAKE); $(unstage)
5284 @r=`${PWD_COMMAND}`; export r; \
5285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5286 $(HOST_EXPORTS) \
5287 (cd $(HOST_SUBDIR)/binutils && \
5288 $(MAKE) $(FLAGS_TO_PASS) install)
5290 @endif binutils
5292 .PHONY: install-strip-binutils maybe-install-strip-binutils
5293 maybe-install-strip-binutils:
5294 @if binutils
5295 maybe-install-strip-binutils: install-strip-binutils
5297 install-strip-binutils: installdirs
5298 @: $(MAKE); $(unstage)
5299 @r=`${PWD_COMMAND}`; export r; \
5300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5301 $(HOST_EXPORTS) \
5302 (cd $(HOST_SUBDIR)/binutils && \
5303 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5305 @endif binutils
5307 # Other targets (info, dvi, pdf, etc.)
5309 .PHONY: maybe-info-binutils info-binutils
5310 maybe-info-binutils:
5311 @if binutils
5312 maybe-info-binutils: info-binutils
5314 info-binutils: \
5315 configure-binutils
5316 @[ -f ./binutils/Makefile ] || exit 0; \
5317 r=`${PWD_COMMAND}`; export r; \
5318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5319 $(HOST_EXPORTS) \
5320 for flag in $(EXTRA_HOST_FLAGS) ; do \
5321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5322 done; \
5323 echo "Doing info in binutils" ; \
5324 (cd $(HOST_SUBDIR)/binutils && \
5325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5327 "RANLIB=$${RANLIB}" \
5328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5329 info) \
5330 || exit 1
5332 @endif binutils
5334 .PHONY: maybe-dvi-binutils dvi-binutils
5335 maybe-dvi-binutils:
5336 @if binutils
5337 maybe-dvi-binutils: dvi-binutils
5339 dvi-binutils: \
5340 configure-binutils
5341 @[ -f ./binutils/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 $(HOST_EXPORTS) \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5347 done; \
5348 echo "Doing dvi in binutils" ; \
5349 (cd $(HOST_SUBDIR)/binutils && \
5350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5352 "RANLIB=$${RANLIB}" \
5353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5354 dvi) \
5355 || exit 1
5357 @endif binutils
5359 .PHONY: maybe-pdf-binutils pdf-binutils
5360 maybe-pdf-binutils:
5361 @if binutils
5362 maybe-pdf-binutils: pdf-binutils
5364 pdf-binutils: \
5365 configure-binutils
5366 @[ -f ./binutils/Makefile ] || exit 0; \
5367 r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 $(HOST_EXPORTS) \
5370 for flag in $(EXTRA_HOST_FLAGS) ; do \
5371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5372 done; \
5373 echo "Doing pdf in binutils" ; \
5374 (cd $(HOST_SUBDIR)/binutils && \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377 "RANLIB=$${RANLIB}" \
5378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5379 pdf) \
5380 || exit 1
5382 @endif binutils
5384 .PHONY: maybe-html-binutils html-binutils
5385 maybe-html-binutils:
5386 @if binutils
5387 maybe-html-binutils: html-binutils
5389 html-binutils: \
5390 configure-binutils
5391 @[ -f ./binutils/Makefile ] || exit 0; \
5392 r=`${PWD_COMMAND}`; export r; \
5393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5394 $(HOST_EXPORTS) \
5395 for flag in $(EXTRA_HOST_FLAGS) ; do \
5396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5397 done; \
5398 echo "Doing html in binutils" ; \
5399 (cd $(HOST_SUBDIR)/binutils && \
5400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5402 "RANLIB=$${RANLIB}" \
5403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5404 html) \
5405 || exit 1
5407 @endif binutils
5409 .PHONY: maybe-TAGS-binutils TAGS-binutils
5410 maybe-TAGS-binutils:
5411 @if binutils
5412 maybe-TAGS-binutils: TAGS-binutils
5414 TAGS-binutils: \
5415 configure-binutils
5416 @[ -f ./binutils/Makefile ] || exit 0; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5419 $(HOST_EXPORTS) \
5420 for flag in $(EXTRA_HOST_FLAGS) ; do \
5421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5422 done; \
5423 echo "Doing TAGS in binutils" ; \
5424 (cd $(HOST_SUBDIR)/binutils && \
5425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5427 "RANLIB=$${RANLIB}" \
5428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5429 TAGS) \
5430 || exit 1
5432 @endif binutils
5434 .PHONY: maybe-install-info-binutils install-info-binutils
5435 maybe-install-info-binutils:
5436 @if binutils
5437 maybe-install-info-binutils: install-info-binutils
5439 install-info-binutils: \
5440 configure-binutils \
5441 info-binutils
5442 @[ -f ./binutils/Makefile ] || exit 0; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 for flag in $(EXTRA_HOST_FLAGS) ; do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 done; \
5449 echo "Doing install-info in binutils" ; \
5450 (cd $(HOST_SUBDIR)/binutils && \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5455 install-info) \
5456 || exit 1
5458 @endif binutils
5460 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5461 maybe-install-pdf-binutils:
5462 @if binutils
5463 maybe-install-pdf-binutils: install-pdf-binutils
5465 install-pdf-binutils: \
5466 configure-binutils \
5467 pdf-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 install-pdf 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 install-pdf) \
5482 || exit 1
5484 @endif binutils
5486 .PHONY: maybe-install-html-binutils install-html-binutils
5487 maybe-install-html-binutils:
5488 @if binutils
5489 maybe-install-html-binutils: install-html-binutils
5491 install-html-binutils: \
5492 configure-binutils \
5493 html-binutils
5494 @[ -f ./binutils/Makefile ] || exit 0; \
5495 r=`${PWD_COMMAND}`; export r; \
5496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5497 $(HOST_EXPORTS) \
5498 for flag in $(EXTRA_HOST_FLAGS) ; do \
5499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5500 done; \
5501 echo "Doing install-html in binutils" ; \
5502 (cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5505 "RANLIB=$${RANLIB}" \
5506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5507 install-html) \
5508 || exit 1
5510 @endif binutils
5512 .PHONY: maybe-installcheck-binutils installcheck-binutils
5513 maybe-installcheck-binutils:
5514 @if binutils
5515 maybe-installcheck-binutils: installcheck-binutils
5517 installcheck-binutils: \
5518 configure-binutils
5519 @[ -f ./binutils/Makefile ] || exit 0; \
5520 r=`${PWD_COMMAND}`; export r; \
5521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5522 $(HOST_EXPORTS) \
5523 for flag in $(EXTRA_HOST_FLAGS) ; do \
5524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5525 done; \
5526 echo "Doing installcheck in binutils" ; \
5527 (cd $(HOST_SUBDIR)/binutils && \
5528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5530 "RANLIB=$${RANLIB}" \
5531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5532 installcheck) \
5533 || exit 1
5535 @endif binutils
5537 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5538 maybe-mostlyclean-binutils:
5539 @if binutils
5540 maybe-mostlyclean-binutils: mostlyclean-binutils
5542 mostlyclean-binutils:
5543 @[ -f ./binutils/Makefile ] || exit 0; \
5544 r=`${PWD_COMMAND}`; export r; \
5545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5546 $(HOST_EXPORTS) \
5547 for flag in $(EXTRA_HOST_FLAGS) ; do \
5548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5549 done; \
5550 echo "Doing mostlyclean in binutils" ; \
5551 (cd $(HOST_SUBDIR)/binutils && \
5552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5554 "RANLIB=$${RANLIB}" \
5555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5556 mostlyclean) \
5557 || exit 1
5559 @endif binutils
5561 .PHONY: maybe-clean-binutils clean-binutils
5562 maybe-clean-binutils:
5563 @if binutils
5564 maybe-clean-binutils: clean-binutils
5566 clean-binutils:
5567 @[ -f ./binutils/Makefile ] || exit 0; \
5568 r=`${PWD_COMMAND}`; export r; \
5569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5570 $(HOST_EXPORTS) \
5571 for flag in $(EXTRA_HOST_FLAGS) ; do \
5572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5573 done; \
5574 echo "Doing clean in binutils" ; \
5575 (cd $(HOST_SUBDIR)/binutils && \
5576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5578 "RANLIB=$${RANLIB}" \
5579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5580 clean) \
5581 || exit 1
5583 @endif binutils
5585 .PHONY: maybe-distclean-binutils distclean-binutils
5586 maybe-distclean-binutils:
5587 @if binutils
5588 maybe-distclean-binutils: distclean-binutils
5590 distclean-binutils:
5591 @[ -f ./binutils/Makefile ] || exit 0; \
5592 r=`${PWD_COMMAND}`; export r; \
5593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 $(HOST_EXPORTS) \
5595 for flag in $(EXTRA_HOST_FLAGS) ; do \
5596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5597 done; \
5598 echo "Doing distclean in binutils" ; \
5599 (cd $(HOST_SUBDIR)/binutils && \
5600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5602 "RANLIB=$${RANLIB}" \
5603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5604 distclean) \
5605 || exit 1
5607 @endif binutils
5609 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5610 maybe-maintainer-clean-binutils:
5611 @if binutils
5612 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5614 maintainer-clean-binutils:
5615 @[ -f ./binutils/Makefile ] || exit 0; \
5616 r=`${PWD_COMMAND}`; export r; \
5617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 $(HOST_EXPORTS) \
5619 for flag in $(EXTRA_HOST_FLAGS) ; do \
5620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5621 done; \
5622 echo "Doing maintainer-clean in binutils" ; \
5623 (cd $(HOST_SUBDIR)/binutils && \
5624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5626 "RANLIB=$${RANLIB}" \
5627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5628 maintainer-clean) \
5629 || exit 1
5631 @endif binutils
5635 .PHONY: configure-bison maybe-configure-bison
5636 maybe-configure-bison:
5637 @if gcc-bootstrap
5638 configure-bison: stage_current
5639 @endif gcc-bootstrap
5640 @if bison
5641 maybe-configure-bison: configure-bison
5642 configure-bison:
5643 @: $(MAKE); $(unstage)
5644 @r=`${PWD_COMMAND}`; export r; \
5645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5646 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5648 $(HOST_EXPORTS) \
5649 echo Configuring in $(HOST_SUBDIR)/bison; \
5650 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5651 case $(srcdir) in \
5652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5653 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5655 esac; \
5656 module_srcdir=bison; \
5657 $(SHELL) \
5658 $$s/$$module_srcdir/configure \
5659 --srcdir=$${topdir}/$$module_srcdir \
5660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5661 --target=${target_alias} \
5662 || exit 1
5663 @endif bison
5669 .PHONY: all-bison maybe-all-bison
5670 maybe-all-bison:
5671 @if gcc-bootstrap
5672 all-bison: stage_current
5673 @endif gcc-bootstrap
5674 @if bison
5675 TARGET-bison=all
5676 maybe-all-bison: all-bison
5677 all-bison: configure-bison
5678 @: $(MAKE); $(unstage)
5679 @r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(HOST_EXPORTS) \
5682 (cd $(HOST_SUBDIR)/bison && \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5684 $(TARGET-bison))
5685 @endif bison
5690 .PHONY: check-bison maybe-check-bison
5691 maybe-check-bison:
5692 @if bison
5693 maybe-check-bison: check-bison
5695 # This module is only tested in a native toolchain.
5696 check-bison:
5697 @: $(MAKE); $(unstage)
5698 @if [ '$(host)' = '$(target)' ] ; then \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 $(HOST_EXPORTS) \
5702 (cd $(HOST_SUBDIR)/bison && \
5703 $(MAKE) $(FLAGS_TO_PASS) check); \
5706 @endif bison
5708 .PHONY: install-bison maybe-install-bison
5709 maybe-install-bison:
5710 @if bison
5711 maybe-install-bison: install-bison
5713 install-bison: installdirs
5714 @: $(MAKE); $(unstage)
5715 @r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 $(HOST_EXPORTS) \
5718 (cd $(HOST_SUBDIR)/bison && \
5719 $(MAKE) $(FLAGS_TO_PASS) install)
5721 @endif bison
5723 .PHONY: install-strip-bison maybe-install-strip-bison
5724 maybe-install-strip-bison:
5725 @if bison
5726 maybe-install-strip-bison: install-strip-bison
5728 install-strip-bison: installdirs
5729 @: $(MAKE); $(unstage)
5730 @r=`${PWD_COMMAND}`; export r; \
5731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5732 $(HOST_EXPORTS) \
5733 (cd $(HOST_SUBDIR)/bison && \
5734 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5736 @endif bison
5738 # Other targets (info, dvi, pdf, etc.)
5740 .PHONY: maybe-info-bison info-bison
5741 maybe-info-bison:
5742 @if bison
5743 maybe-info-bison: info-bison
5745 info-bison: \
5746 configure-bison
5747 @: $(MAKE); $(unstage)
5748 @[ -f ./bison/Makefile ] || exit 0; \
5749 r=`${PWD_COMMAND}`; export r; \
5750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5751 $(HOST_EXPORTS) \
5752 for flag in $(EXTRA_HOST_FLAGS) ; do \
5753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5754 done; \
5755 echo "Doing info in bison" ; \
5756 (cd $(HOST_SUBDIR)/bison && \
5757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5759 "RANLIB=$${RANLIB}" \
5760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5761 info) \
5762 || exit 1
5764 @endif bison
5766 .PHONY: maybe-dvi-bison dvi-bison
5767 maybe-dvi-bison:
5768 @if bison
5769 maybe-dvi-bison: dvi-bison
5771 dvi-bison: \
5772 configure-bison
5773 @: $(MAKE); $(unstage)
5774 @[ -f ./bison/Makefile ] || exit 0; \
5775 r=`${PWD_COMMAND}`; export r; \
5776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5777 $(HOST_EXPORTS) \
5778 for flag in $(EXTRA_HOST_FLAGS) ; do \
5779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5780 done; \
5781 echo "Doing dvi in bison" ; \
5782 (cd $(HOST_SUBDIR)/bison && \
5783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5785 "RANLIB=$${RANLIB}" \
5786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5787 dvi) \
5788 || exit 1
5790 @endif bison
5792 .PHONY: maybe-pdf-bison pdf-bison
5793 maybe-pdf-bison:
5794 @if bison
5795 maybe-pdf-bison: pdf-bison
5797 pdf-bison: \
5798 configure-bison
5799 @: $(MAKE); $(unstage)
5800 @[ -f ./bison/Makefile ] || exit 0; \
5801 r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(HOST_EXPORTS) \
5804 for flag in $(EXTRA_HOST_FLAGS) ; do \
5805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5806 done; \
5807 echo "Doing pdf in bison" ; \
5808 (cd $(HOST_SUBDIR)/bison && \
5809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811 "RANLIB=$${RANLIB}" \
5812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5813 pdf) \
5814 || exit 1
5816 @endif bison
5818 .PHONY: maybe-html-bison html-bison
5819 maybe-html-bison:
5820 @if bison
5821 maybe-html-bison: html-bison
5823 html-bison: \
5824 configure-bison
5825 @: $(MAKE); $(unstage)
5826 @[ -f ./bison/Makefile ] || exit 0; \
5827 r=`${PWD_COMMAND}`; export r; \
5828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing html in bison" ; \
5834 (cd $(HOST_SUBDIR)/bison && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5839 html) \
5840 || exit 1
5842 @endif bison
5844 .PHONY: maybe-TAGS-bison TAGS-bison
5845 maybe-TAGS-bison:
5846 @if bison
5847 maybe-TAGS-bison: TAGS-bison
5849 TAGS-bison: \
5850 configure-bison
5851 @: $(MAKE); $(unstage)
5852 @[ -f ./bison/Makefile ] || exit 0; \
5853 r=`${PWD_COMMAND}`; export r; \
5854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855 $(HOST_EXPORTS) \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858 done; \
5859 echo "Doing TAGS in bison" ; \
5860 (cd $(HOST_SUBDIR)/bison && \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5865 TAGS) \
5866 || exit 1
5868 @endif bison
5870 .PHONY: maybe-install-info-bison install-info-bison
5871 maybe-install-info-bison:
5872 @if bison
5873 maybe-install-info-bison: install-info-bison
5875 install-info-bison: \
5876 configure-bison \
5877 info-bison
5878 @: $(MAKE); $(unstage)
5879 @[ -f ./bison/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 $(HOST_EXPORTS) \
5883 for flag in $(EXTRA_HOST_FLAGS) ; do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 done; \
5886 echo "Doing install-info in bison" ; \
5887 (cd $(HOST_SUBDIR)/bison && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5892 install-info) \
5893 || exit 1
5895 @endif bison
5897 .PHONY: maybe-install-pdf-bison install-pdf-bison
5898 maybe-install-pdf-bison:
5899 @if bison
5900 maybe-install-pdf-bison: install-pdf-bison
5902 install-pdf-bison: \
5903 configure-bison \
5904 pdf-bison
5905 @: $(MAKE); $(unstage)
5906 @[ -f ./bison/Makefile ] || exit 0; \
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5909 $(HOST_EXPORTS) \
5910 for flag in $(EXTRA_HOST_FLAGS) ; do \
5911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5912 done; \
5913 echo "Doing install-pdf in bison" ; \
5914 (cd $(HOST_SUBDIR)/bison && \
5915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5917 "RANLIB=$${RANLIB}" \
5918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5919 install-pdf) \
5920 || exit 1
5922 @endif bison
5924 .PHONY: maybe-install-html-bison install-html-bison
5925 maybe-install-html-bison:
5926 @if bison
5927 maybe-install-html-bison: install-html-bison
5929 install-html-bison: \
5930 configure-bison \
5931 html-bison
5932 @: $(MAKE); $(unstage)
5933 @[ -f ./bison/Makefile ] || exit 0; \
5934 r=`${PWD_COMMAND}`; export r; \
5935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 $(HOST_EXPORTS) \
5937 for flag in $(EXTRA_HOST_FLAGS) ; do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing install-html in bison" ; \
5941 (cd $(HOST_SUBDIR)/bison && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5946 install-html) \
5947 || exit 1
5949 @endif bison
5951 .PHONY: maybe-installcheck-bison installcheck-bison
5952 maybe-installcheck-bison:
5953 @if bison
5954 maybe-installcheck-bison: installcheck-bison
5956 installcheck-bison: \
5957 configure-bison
5958 @: $(MAKE); $(unstage)
5959 @[ -f ./bison/Makefile ] || exit 0; \
5960 r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 $(HOST_EXPORTS) \
5963 for flag in $(EXTRA_HOST_FLAGS) ; do \
5964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5965 done; \
5966 echo "Doing installcheck in bison" ; \
5967 (cd $(HOST_SUBDIR)/bison && \
5968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5970 "RANLIB=$${RANLIB}" \
5971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5972 installcheck) \
5973 || exit 1
5975 @endif bison
5977 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5978 maybe-mostlyclean-bison:
5979 @if bison
5980 maybe-mostlyclean-bison: mostlyclean-bison
5982 mostlyclean-bison:
5983 @: $(MAKE); $(unstage)
5984 @[ -f ./bison/Makefile ] || exit 0; \
5985 r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5987 $(HOST_EXPORTS) \
5988 for flag in $(EXTRA_HOST_FLAGS) ; do \
5989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5990 done; \
5991 echo "Doing mostlyclean in bison" ; \
5992 (cd $(HOST_SUBDIR)/bison && \
5993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5995 "RANLIB=$${RANLIB}" \
5996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5997 mostlyclean) \
5998 || exit 1
6000 @endif bison
6002 .PHONY: maybe-clean-bison clean-bison
6003 maybe-clean-bison:
6004 @if bison
6005 maybe-clean-bison: clean-bison
6007 clean-bison:
6008 @: $(MAKE); $(unstage)
6009 @[ -f ./bison/Makefile ] || exit 0; \
6010 r=`${PWD_COMMAND}`; export r; \
6011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6012 $(HOST_EXPORTS) \
6013 for flag in $(EXTRA_HOST_FLAGS) ; do \
6014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6015 done; \
6016 echo "Doing clean in bison" ; \
6017 (cd $(HOST_SUBDIR)/bison && \
6018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6020 "RANLIB=$${RANLIB}" \
6021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6022 clean) \
6023 || exit 1
6025 @endif bison
6027 .PHONY: maybe-distclean-bison distclean-bison
6028 maybe-distclean-bison:
6029 @if bison
6030 maybe-distclean-bison: distclean-bison
6032 distclean-bison:
6033 @: $(MAKE); $(unstage)
6034 @[ -f ./bison/Makefile ] || exit 0; \
6035 r=`${PWD_COMMAND}`; export r; \
6036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6037 $(HOST_EXPORTS) \
6038 for flag in $(EXTRA_HOST_FLAGS) ; do \
6039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6040 done; \
6041 echo "Doing distclean in bison" ; \
6042 (cd $(HOST_SUBDIR)/bison && \
6043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6045 "RANLIB=$${RANLIB}" \
6046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6047 distclean) \
6048 || exit 1
6050 @endif bison
6052 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6053 maybe-maintainer-clean-bison:
6054 @if bison
6055 maybe-maintainer-clean-bison: maintainer-clean-bison
6057 maintainer-clean-bison:
6058 @: $(MAKE); $(unstage)
6059 @[ -f ./bison/Makefile ] || exit 0; \
6060 r=`${PWD_COMMAND}`; export r; \
6061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6062 $(HOST_EXPORTS) \
6063 for flag in $(EXTRA_HOST_FLAGS) ; do \
6064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6065 done; \
6066 echo "Doing maintainer-clean in bison" ; \
6067 (cd $(HOST_SUBDIR)/bison && \
6068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6070 "RANLIB=$${RANLIB}" \
6071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6072 maintainer-clean) \
6073 || exit 1
6075 @endif bison
6079 .PHONY: configure-cgen maybe-configure-cgen
6080 maybe-configure-cgen:
6081 @if gcc-bootstrap
6082 configure-cgen: stage_current
6083 @endif gcc-bootstrap
6084 @if cgen
6085 maybe-configure-cgen: configure-cgen
6086 configure-cgen:
6087 @: $(MAKE); $(unstage)
6088 @r=`${PWD_COMMAND}`; export r; \
6089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6090 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6092 $(HOST_EXPORTS) \
6093 echo Configuring in $(HOST_SUBDIR)/cgen; \
6094 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6095 case $(srcdir) in \
6096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6097 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6099 esac; \
6100 module_srcdir=cgen; \
6101 $(SHELL) \
6102 $$s/$$module_srcdir/configure \
6103 --srcdir=$${topdir}/$$module_srcdir \
6104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6105 --target=${target_alias} \
6106 || exit 1
6107 @endif cgen
6113 .PHONY: all-cgen maybe-all-cgen
6114 maybe-all-cgen:
6115 @if gcc-bootstrap
6116 all-cgen: stage_current
6117 @endif gcc-bootstrap
6118 @if cgen
6119 TARGET-cgen=all
6120 maybe-all-cgen: all-cgen
6121 all-cgen: configure-cgen
6122 @: $(MAKE); $(unstage)
6123 @r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 $(HOST_EXPORTS) \
6126 (cd $(HOST_SUBDIR)/cgen && \
6127 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6128 $(TARGET-cgen))
6129 @endif cgen
6134 .PHONY: check-cgen maybe-check-cgen
6135 maybe-check-cgen:
6136 @if cgen
6137 maybe-check-cgen: check-cgen
6139 check-cgen:
6140 @: $(MAKE); $(unstage)
6141 @r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 $(HOST_EXPORTS) \
6144 (cd $(HOST_SUBDIR)/cgen && \
6145 $(MAKE) $(FLAGS_TO_PASS) check)
6147 @endif cgen
6149 .PHONY: install-cgen maybe-install-cgen
6150 maybe-install-cgen:
6151 @if cgen
6152 maybe-install-cgen: install-cgen
6154 install-cgen: installdirs
6155 @: $(MAKE); $(unstage)
6156 @r=`${PWD_COMMAND}`; export r; \
6157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 $(HOST_EXPORTS) \
6159 (cd $(HOST_SUBDIR)/cgen && \
6160 $(MAKE) $(FLAGS_TO_PASS) install)
6162 @endif cgen
6164 .PHONY: install-strip-cgen maybe-install-strip-cgen
6165 maybe-install-strip-cgen:
6166 @if cgen
6167 maybe-install-strip-cgen: install-strip-cgen
6169 install-strip-cgen: installdirs
6170 @: $(MAKE); $(unstage)
6171 @r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 $(HOST_EXPORTS) \
6174 (cd $(HOST_SUBDIR)/cgen && \
6175 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6177 @endif cgen
6179 # Other targets (info, dvi, pdf, etc.)
6181 .PHONY: maybe-info-cgen info-cgen
6182 maybe-info-cgen:
6183 @if cgen
6184 maybe-info-cgen: info-cgen
6186 info-cgen: \
6187 configure-cgen
6188 @: $(MAKE); $(unstage)
6189 @[ -f ./cgen/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 for flag in $(EXTRA_HOST_FLAGS) ; do \
6194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6195 done; \
6196 echo "Doing info in cgen" ; \
6197 (cd $(HOST_SUBDIR)/cgen && \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6200 "RANLIB=$${RANLIB}" \
6201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6202 info) \
6203 || exit 1
6205 @endif cgen
6207 .PHONY: maybe-dvi-cgen dvi-cgen
6208 maybe-dvi-cgen:
6209 @if cgen
6210 maybe-dvi-cgen: dvi-cgen
6212 dvi-cgen: \
6213 configure-cgen
6214 @: $(MAKE); $(unstage)
6215 @[ -f ./cgen/Makefile ] || exit 0; \
6216 r=`${PWD_COMMAND}`; export r; \
6217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6218 $(HOST_EXPORTS) \
6219 for flag in $(EXTRA_HOST_FLAGS) ; do \
6220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6221 done; \
6222 echo "Doing dvi in cgen" ; \
6223 (cd $(HOST_SUBDIR)/cgen && \
6224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6226 "RANLIB=$${RANLIB}" \
6227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6228 dvi) \
6229 || exit 1
6231 @endif cgen
6233 .PHONY: maybe-pdf-cgen pdf-cgen
6234 maybe-pdf-cgen:
6235 @if cgen
6236 maybe-pdf-cgen: pdf-cgen
6238 pdf-cgen: \
6239 configure-cgen
6240 @: $(MAKE); $(unstage)
6241 @[ -f ./cgen/Makefile ] || exit 0; \
6242 r=`${PWD_COMMAND}`; export r; \
6243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6244 $(HOST_EXPORTS) \
6245 for flag in $(EXTRA_HOST_FLAGS) ; do \
6246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6247 done; \
6248 echo "Doing pdf in cgen" ; \
6249 (cd $(HOST_SUBDIR)/cgen && \
6250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6252 "RANLIB=$${RANLIB}" \
6253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6254 pdf) \
6255 || exit 1
6257 @endif cgen
6259 .PHONY: maybe-html-cgen html-cgen
6260 maybe-html-cgen:
6261 @if cgen
6262 maybe-html-cgen: html-cgen
6264 html-cgen: \
6265 configure-cgen
6266 @: $(MAKE); $(unstage)
6267 @[ -f ./cgen/Makefile ] || exit 0; \
6268 r=`${PWD_COMMAND}`; export r; \
6269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6270 $(HOST_EXPORTS) \
6271 for flag in $(EXTRA_HOST_FLAGS) ; do \
6272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6273 done; \
6274 echo "Doing html in cgen" ; \
6275 (cd $(HOST_SUBDIR)/cgen && \
6276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6278 "RANLIB=$${RANLIB}" \
6279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6280 html) \
6281 || exit 1
6283 @endif cgen
6285 .PHONY: maybe-TAGS-cgen TAGS-cgen
6286 maybe-TAGS-cgen:
6287 @if cgen
6288 maybe-TAGS-cgen: TAGS-cgen
6290 TAGS-cgen: \
6291 configure-cgen
6292 @: $(MAKE); $(unstage)
6293 @[ -f ./cgen/Makefile ] || exit 0; \
6294 r=`${PWD_COMMAND}`; export r; \
6295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 $(HOST_EXPORTS) \
6297 for flag in $(EXTRA_HOST_FLAGS) ; do \
6298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6299 done; \
6300 echo "Doing TAGS in cgen" ; \
6301 (cd $(HOST_SUBDIR)/cgen && \
6302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6304 "RANLIB=$${RANLIB}" \
6305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6306 TAGS) \
6307 || exit 1
6309 @endif cgen
6311 .PHONY: maybe-install-info-cgen install-info-cgen
6312 maybe-install-info-cgen:
6313 @if cgen
6314 maybe-install-info-cgen: install-info-cgen
6316 install-info-cgen: \
6317 configure-cgen \
6318 info-cgen
6319 @: $(MAKE); $(unstage)
6320 @[ -f ./cgen/Makefile ] || exit 0; \
6321 r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(HOST_EXPORTS) \
6324 for flag in $(EXTRA_HOST_FLAGS) ; do \
6325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6326 done; \
6327 echo "Doing install-info in cgen" ; \
6328 (cd $(HOST_SUBDIR)/cgen && \
6329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6331 "RANLIB=$${RANLIB}" \
6332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6333 install-info) \
6334 || exit 1
6336 @endif cgen
6338 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6339 maybe-install-pdf-cgen:
6340 @if cgen
6341 maybe-install-pdf-cgen: install-pdf-cgen
6343 install-pdf-cgen: \
6344 configure-cgen \
6345 pdf-cgen
6346 @: $(MAKE); $(unstage)
6347 @[ -f ./cgen/Makefile ] || exit 0; \
6348 r=`${PWD_COMMAND}`; export r; \
6349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6350 $(HOST_EXPORTS) \
6351 for flag in $(EXTRA_HOST_FLAGS) ; do \
6352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6353 done; \
6354 echo "Doing install-pdf in cgen" ; \
6355 (cd $(HOST_SUBDIR)/cgen && \
6356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6358 "RANLIB=$${RANLIB}" \
6359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6360 install-pdf) \
6361 || exit 1
6363 @endif cgen
6365 .PHONY: maybe-install-html-cgen install-html-cgen
6366 maybe-install-html-cgen:
6367 @if cgen
6368 maybe-install-html-cgen: install-html-cgen
6370 install-html-cgen: \
6371 configure-cgen \
6372 html-cgen
6373 @: $(MAKE); $(unstage)
6374 @[ -f ./cgen/Makefile ] || exit 0; \
6375 r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(HOST_EXPORTS) \
6378 for flag in $(EXTRA_HOST_FLAGS) ; do \
6379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380 done; \
6381 echo "Doing install-html in cgen" ; \
6382 (cd $(HOST_SUBDIR)/cgen && \
6383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385 "RANLIB=$${RANLIB}" \
6386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6387 install-html) \
6388 || exit 1
6390 @endif cgen
6392 .PHONY: maybe-installcheck-cgen installcheck-cgen
6393 maybe-installcheck-cgen:
6394 @if cgen
6395 maybe-installcheck-cgen: installcheck-cgen
6397 installcheck-cgen: \
6398 configure-cgen
6399 @: $(MAKE); $(unstage)
6400 @[ -f ./cgen/Makefile ] || exit 0; \
6401 r=`${PWD_COMMAND}`; export r; \
6402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 $(HOST_EXPORTS) \
6404 for flag in $(EXTRA_HOST_FLAGS) ; do \
6405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 done; \
6407 echo "Doing installcheck in cgen" ; \
6408 (cd $(HOST_SUBDIR)/cgen && \
6409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6411 "RANLIB=$${RANLIB}" \
6412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6413 installcheck) \
6414 || exit 1
6416 @endif cgen
6418 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6419 maybe-mostlyclean-cgen:
6420 @if cgen
6421 maybe-mostlyclean-cgen: mostlyclean-cgen
6423 mostlyclean-cgen:
6424 @: $(MAKE); $(unstage)
6425 @[ -f ./cgen/Makefile ] || exit 0; \
6426 r=`${PWD_COMMAND}`; export r; \
6427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing mostlyclean in cgen" ; \
6433 (cd $(HOST_SUBDIR)/cgen && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6438 mostlyclean) \
6439 || exit 1
6441 @endif cgen
6443 .PHONY: maybe-clean-cgen clean-cgen
6444 maybe-clean-cgen:
6445 @if cgen
6446 maybe-clean-cgen: clean-cgen
6448 clean-cgen:
6449 @: $(MAKE); $(unstage)
6450 @[ -f ./cgen/Makefile ] || exit 0; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 $(HOST_EXPORTS) \
6454 for flag in $(EXTRA_HOST_FLAGS) ; do \
6455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6456 done; \
6457 echo "Doing clean in cgen" ; \
6458 (cd $(HOST_SUBDIR)/cgen && \
6459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6461 "RANLIB=$${RANLIB}" \
6462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6463 clean) \
6464 || exit 1
6466 @endif cgen
6468 .PHONY: maybe-distclean-cgen distclean-cgen
6469 maybe-distclean-cgen:
6470 @if cgen
6471 maybe-distclean-cgen: distclean-cgen
6473 distclean-cgen:
6474 @: $(MAKE); $(unstage)
6475 @[ -f ./cgen/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(HOST_EXPORTS) \
6479 for flag in $(EXTRA_HOST_FLAGS) ; do \
6480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6481 done; \
6482 echo "Doing distclean in cgen" ; \
6483 (cd $(HOST_SUBDIR)/cgen && \
6484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6486 "RANLIB=$${RANLIB}" \
6487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6488 distclean) \
6489 || exit 1
6491 @endif cgen
6493 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6494 maybe-maintainer-clean-cgen:
6495 @if cgen
6496 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6498 maintainer-clean-cgen:
6499 @: $(MAKE); $(unstage)
6500 @[ -f ./cgen/Makefile ] || exit 0; \
6501 r=`${PWD_COMMAND}`; export r; \
6502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6503 $(HOST_EXPORTS) \
6504 for flag in $(EXTRA_HOST_FLAGS) ; do \
6505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6506 done; \
6507 echo "Doing maintainer-clean in cgen" ; \
6508 (cd $(HOST_SUBDIR)/cgen && \
6509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6511 "RANLIB=$${RANLIB}" \
6512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6513 maintainer-clean) \
6514 || exit 1
6516 @endif cgen
6520 .PHONY: configure-dejagnu maybe-configure-dejagnu
6521 maybe-configure-dejagnu:
6522 @if gcc-bootstrap
6523 configure-dejagnu: stage_current
6524 @endif gcc-bootstrap
6525 @if dejagnu
6526 maybe-configure-dejagnu: configure-dejagnu
6527 configure-dejagnu:
6528 @: $(MAKE); $(unstage)
6529 @r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6533 $(HOST_EXPORTS) \
6534 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6535 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6536 case $(srcdir) in \
6537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6538 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6540 esac; \
6541 module_srcdir=dejagnu; \
6542 $(SHELL) \
6543 $$s/$$module_srcdir/configure \
6544 --srcdir=$${topdir}/$$module_srcdir \
6545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6546 --target=${target_alias} \
6547 || exit 1
6548 @endif dejagnu
6554 .PHONY: all-dejagnu maybe-all-dejagnu
6555 maybe-all-dejagnu:
6556 @if gcc-bootstrap
6557 all-dejagnu: stage_current
6558 @endif gcc-bootstrap
6559 @if dejagnu
6560 TARGET-dejagnu=all
6561 maybe-all-dejagnu: all-dejagnu
6562 all-dejagnu: configure-dejagnu
6563 @: $(MAKE); $(unstage)
6564 @r=`${PWD_COMMAND}`; export r; \
6565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 $(HOST_EXPORTS) \
6567 (cd $(HOST_SUBDIR)/dejagnu && \
6568 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6569 $(TARGET-dejagnu))
6570 @endif dejagnu
6575 .PHONY: check-dejagnu maybe-check-dejagnu
6576 maybe-check-dejagnu:
6577 @if dejagnu
6578 maybe-check-dejagnu: check-dejagnu
6580 check-dejagnu:
6581 @: $(MAKE); $(unstage)
6582 @r=`${PWD_COMMAND}`; export r; \
6583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 $(HOST_EXPORTS) \
6585 (cd $(HOST_SUBDIR)/dejagnu && \
6586 $(MAKE) $(FLAGS_TO_PASS) check)
6588 @endif dejagnu
6590 .PHONY: install-dejagnu maybe-install-dejagnu
6591 maybe-install-dejagnu:
6592 @if dejagnu
6593 maybe-install-dejagnu: install-dejagnu
6595 install-dejagnu: installdirs
6596 @: $(MAKE); $(unstage)
6597 @r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 (cd $(HOST_SUBDIR)/dejagnu && \
6601 $(MAKE) $(FLAGS_TO_PASS) install)
6603 @endif dejagnu
6605 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6606 maybe-install-strip-dejagnu:
6607 @if dejagnu
6608 maybe-install-strip-dejagnu: install-strip-dejagnu
6610 install-strip-dejagnu: installdirs
6611 @: $(MAKE); $(unstage)
6612 @r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 $(HOST_EXPORTS) \
6615 (cd $(HOST_SUBDIR)/dejagnu && \
6616 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6618 @endif dejagnu
6620 # Other targets (info, dvi, pdf, etc.)
6622 .PHONY: maybe-info-dejagnu info-dejagnu
6623 maybe-info-dejagnu:
6624 @if dejagnu
6625 maybe-info-dejagnu: info-dejagnu
6627 info-dejagnu: \
6628 configure-dejagnu
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./dejagnu/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing info in dejagnu" ; \
6638 (cd $(HOST_SUBDIR)/dejagnu && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 info) \
6644 || exit 1
6646 @endif dejagnu
6648 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6649 maybe-dvi-dejagnu:
6650 @if dejagnu
6651 maybe-dvi-dejagnu: dvi-dejagnu
6653 dvi-dejagnu: \
6654 configure-dejagnu
6655 @: $(MAKE); $(unstage)
6656 @[ -f ./dejagnu/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing dvi in dejagnu" ; \
6664 (cd $(HOST_SUBDIR)/dejagnu && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6669 dvi) \
6670 || exit 1
6672 @endif dejagnu
6674 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6675 maybe-pdf-dejagnu:
6676 @if dejagnu
6677 maybe-pdf-dejagnu: pdf-dejagnu
6679 pdf-dejagnu: \
6680 configure-dejagnu
6681 @: $(MAKE); $(unstage)
6682 @[ -f ./dejagnu/Makefile ] || exit 0; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing pdf in dejagnu" ; \
6690 (cd $(HOST_SUBDIR)/dejagnu && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6695 pdf) \
6696 || exit 1
6698 @endif dejagnu
6700 .PHONY: maybe-html-dejagnu html-dejagnu
6701 maybe-html-dejagnu:
6702 @if dejagnu
6703 maybe-html-dejagnu: html-dejagnu
6705 html-dejagnu: \
6706 configure-dejagnu
6707 @: $(MAKE); $(unstage)
6708 @[ -f ./dejagnu/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing html in dejagnu" ; \
6716 (cd $(HOST_SUBDIR)/dejagnu && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6721 html) \
6722 || exit 1
6724 @endif dejagnu
6726 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6727 maybe-TAGS-dejagnu:
6728 @if dejagnu
6729 maybe-TAGS-dejagnu: TAGS-dejagnu
6731 TAGS-dejagnu: \
6732 configure-dejagnu
6733 @: $(MAKE); $(unstage)
6734 @[ -f ./dejagnu/Makefile ] || exit 0; \
6735 r=`${PWD_COMMAND}`; export r; \
6736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737 $(HOST_EXPORTS) \
6738 for flag in $(EXTRA_HOST_FLAGS) ; do \
6739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6740 done; \
6741 echo "Doing TAGS in dejagnu" ; \
6742 (cd $(HOST_SUBDIR)/dejagnu && \
6743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745 "RANLIB=$${RANLIB}" \
6746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6747 TAGS) \
6748 || exit 1
6750 @endif dejagnu
6752 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6753 maybe-install-info-dejagnu:
6754 @if dejagnu
6755 maybe-install-info-dejagnu: install-info-dejagnu
6757 install-info-dejagnu: \
6758 configure-dejagnu \
6759 info-dejagnu
6760 @: $(MAKE); $(unstage)
6761 @[ -f ./dejagnu/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing install-info in dejagnu" ; \
6769 (cd $(HOST_SUBDIR)/dejagnu && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6774 install-info) \
6775 || exit 1
6777 @endif dejagnu
6779 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6780 maybe-install-pdf-dejagnu:
6781 @if dejagnu
6782 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6784 install-pdf-dejagnu: \
6785 configure-dejagnu \
6786 pdf-dejagnu
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./dejagnu/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing install-pdf in dejagnu" ; \
6796 (cd $(HOST_SUBDIR)/dejagnu && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6801 install-pdf) \
6802 || exit 1
6804 @endif dejagnu
6806 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6807 maybe-install-html-dejagnu:
6808 @if dejagnu
6809 maybe-install-html-dejagnu: install-html-dejagnu
6811 install-html-dejagnu: \
6812 configure-dejagnu \
6813 html-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 install-html 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 install-html) \
6829 || exit 1
6831 @endif dejagnu
6833 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6834 maybe-installcheck-dejagnu:
6835 @if dejagnu
6836 maybe-installcheck-dejagnu: installcheck-dejagnu
6838 installcheck-dejagnu: \
6839 configure-dejagnu
6840 @: $(MAKE); $(unstage)
6841 @[ -f ./dejagnu/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing installcheck in dejagnu" ; \
6849 (cd $(HOST_SUBDIR)/dejagnu && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6854 installcheck) \
6855 || exit 1
6857 @endif dejagnu
6859 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6860 maybe-mostlyclean-dejagnu:
6861 @if dejagnu
6862 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6864 mostlyclean-dejagnu:
6865 @: $(MAKE); $(unstage)
6866 @[ -f ./dejagnu/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing mostlyclean in dejagnu" ; \
6874 (cd $(HOST_SUBDIR)/dejagnu && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6879 mostlyclean) \
6880 || exit 1
6882 @endif dejagnu
6884 .PHONY: maybe-clean-dejagnu clean-dejagnu
6885 maybe-clean-dejagnu:
6886 @if dejagnu
6887 maybe-clean-dejagnu: clean-dejagnu
6889 clean-dejagnu:
6890 @: $(MAKE); $(unstage)
6891 @[ -f ./dejagnu/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(HOST_EXPORTS) \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 done; \
6898 echo "Doing clean in dejagnu" ; \
6899 (cd $(HOST_SUBDIR)/dejagnu && \
6900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6902 "RANLIB=$${RANLIB}" \
6903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6904 clean) \
6905 || exit 1
6907 @endif dejagnu
6909 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6910 maybe-distclean-dejagnu:
6911 @if dejagnu
6912 maybe-distclean-dejagnu: distclean-dejagnu
6914 distclean-dejagnu:
6915 @: $(MAKE); $(unstage)
6916 @[ -f ./dejagnu/Makefile ] || exit 0; \
6917 r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 for flag in $(EXTRA_HOST_FLAGS) ; do \
6921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6922 done; \
6923 echo "Doing distclean in dejagnu" ; \
6924 (cd $(HOST_SUBDIR)/dejagnu && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6927 "RANLIB=$${RANLIB}" \
6928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6929 distclean) \
6930 || exit 1
6932 @endif dejagnu
6934 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6935 maybe-maintainer-clean-dejagnu:
6936 @if dejagnu
6937 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6939 maintainer-clean-dejagnu:
6940 @: $(MAKE); $(unstage)
6941 @[ -f ./dejagnu/Makefile ] || exit 0; \
6942 r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 $(HOST_EXPORTS) \
6945 for flag in $(EXTRA_HOST_FLAGS) ; do \
6946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6947 done; \
6948 echo "Doing maintainer-clean in dejagnu" ; \
6949 (cd $(HOST_SUBDIR)/dejagnu && \
6950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6952 "RANLIB=$${RANLIB}" \
6953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6954 maintainer-clean) \
6955 || exit 1
6957 @endif dejagnu
6961 .PHONY: configure-etc maybe-configure-etc
6962 maybe-configure-etc:
6963 @if gcc-bootstrap
6964 configure-etc: stage_current
6965 @endif gcc-bootstrap
6966 @if etc
6967 maybe-configure-etc: configure-etc
6968 configure-etc:
6969 @: $(MAKE); $(unstage)
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6974 $(HOST_EXPORTS) \
6975 echo Configuring in $(HOST_SUBDIR)/etc; \
6976 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6977 case $(srcdir) in \
6978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6979 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6981 esac; \
6982 module_srcdir=etc; \
6983 $(SHELL) \
6984 $$s/$$module_srcdir/configure \
6985 --srcdir=$${topdir}/$$module_srcdir \
6986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6987 --target=${target_alias} \
6988 || exit 1
6989 @endif etc
6995 .PHONY: all-etc maybe-all-etc
6996 maybe-all-etc:
6997 @if gcc-bootstrap
6998 all-etc: stage_current
6999 @endif gcc-bootstrap
7000 @if etc
7001 TARGET-etc=all
7002 maybe-all-etc: all-etc
7003 all-etc: configure-etc
7004 @: $(MAKE); $(unstage)
7005 @r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 (cd $(HOST_SUBDIR)/etc && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7010 $(TARGET-etc))
7011 @endif etc
7016 .PHONY: check-etc maybe-check-etc
7017 maybe-check-etc:
7018 @if etc
7019 maybe-check-etc: check-etc
7021 check-etc:
7022 @: $(MAKE); $(unstage)
7023 @r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025 $(HOST_EXPORTS) \
7026 (cd $(HOST_SUBDIR)/etc && \
7027 $(MAKE) $(FLAGS_TO_PASS) check)
7029 @endif etc
7031 .PHONY: install-etc maybe-install-etc
7032 maybe-install-etc:
7033 @if etc
7034 maybe-install-etc: install-etc
7036 install-etc: installdirs
7037 @: $(MAKE); $(unstage)
7038 @r=`${PWD_COMMAND}`; export r; \
7039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7040 $(HOST_EXPORTS) \
7041 (cd $(HOST_SUBDIR)/etc && \
7042 $(MAKE) $(FLAGS_TO_PASS) install)
7044 @endif etc
7046 .PHONY: install-strip-etc maybe-install-strip-etc
7047 maybe-install-strip-etc:
7048 @if etc
7049 maybe-install-strip-etc: install-strip-etc
7051 install-strip-etc: installdirs
7052 @: $(MAKE); $(unstage)
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(HOST_EXPORTS) \
7056 (cd $(HOST_SUBDIR)/etc && \
7057 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7059 @endif etc
7061 # Other targets (info, dvi, pdf, etc.)
7063 .PHONY: maybe-info-etc info-etc
7064 maybe-info-etc:
7065 @if etc
7066 maybe-info-etc: info-etc
7068 info-etc: \
7069 configure-etc
7070 @: $(MAKE); $(unstage)
7071 @[ -f ./etc/Makefile ] || exit 0; \
7072 r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 for flag in $(EXTRA_HOST_FLAGS) ; do \
7076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7077 done; \
7078 echo "Doing info in etc" ; \
7079 (cd $(HOST_SUBDIR)/etc && \
7080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7082 "RANLIB=$${RANLIB}" \
7083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7084 info) \
7085 || exit 1
7087 @endif etc
7089 .PHONY: maybe-dvi-etc dvi-etc
7090 maybe-dvi-etc:
7091 @if etc
7092 maybe-dvi-etc: dvi-etc
7094 dvi-etc: \
7095 configure-etc
7096 @: $(MAKE); $(unstage)
7097 @[ -f ./etc/Makefile ] || exit 0; \
7098 r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 $(HOST_EXPORTS) \
7101 for flag in $(EXTRA_HOST_FLAGS) ; do \
7102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7103 done; \
7104 echo "Doing dvi in etc" ; \
7105 (cd $(HOST_SUBDIR)/etc && \
7106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7108 "RANLIB=$${RANLIB}" \
7109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7110 dvi) \
7111 || exit 1
7113 @endif etc
7115 .PHONY: maybe-pdf-etc pdf-etc
7116 maybe-pdf-etc:
7117 @if etc
7118 maybe-pdf-etc: pdf-etc
7120 pdf-etc: \
7121 configure-etc
7122 @: $(MAKE); $(unstage)
7123 @[ -f ./etc/Makefile ] || exit 0; \
7124 r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(HOST_EXPORTS) \
7127 for flag in $(EXTRA_HOST_FLAGS) ; do \
7128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7129 done; \
7130 echo "Doing pdf in etc" ; \
7131 (cd $(HOST_SUBDIR)/etc && \
7132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7134 "RANLIB=$${RANLIB}" \
7135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7136 pdf) \
7137 || exit 1
7139 @endif etc
7141 .PHONY: maybe-html-etc html-etc
7142 maybe-html-etc:
7143 @if etc
7144 maybe-html-etc: html-etc
7146 html-etc: \
7147 configure-etc
7148 @: $(MAKE); $(unstage)
7149 @[ -f ./etc/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing html in etc" ; \
7157 (cd $(HOST_SUBDIR)/etc && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7162 html) \
7163 || exit 1
7165 @endif etc
7167 .PHONY: maybe-TAGS-etc TAGS-etc
7168 maybe-TAGS-etc:
7169 @if etc
7170 maybe-TAGS-etc: TAGS-etc
7172 TAGS-etc: \
7173 configure-etc
7174 @: $(MAKE); $(unstage)
7175 @[ -f ./etc/Makefile ] || exit 0; \
7176 r=`${PWD_COMMAND}`; export r; \
7177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing TAGS in etc" ; \
7183 (cd $(HOST_SUBDIR)/etc && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7188 TAGS) \
7189 || exit 1
7191 @endif etc
7193 .PHONY: maybe-install-info-etc install-info-etc
7194 maybe-install-info-etc:
7195 @if etc
7196 maybe-install-info-etc: install-info-etc
7198 install-info-etc: \
7199 configure-etc \
7200 info-etc
7201 @: $(MAKE); $(unstage)
7202 @[ -f ./etc/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing install-info in etc" ; \
7210 (cd $(HOST_SUBDIR)/etc && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7215 install-info) \
7216 || exit 1
7218 @endif etc
7220 .PHONY: maybe-install-pdf-etc install-pdf-etc
7221 maybe-install-pdf-etc:
7222 @if etc
7223 maybe-install-pdf-etc: install-pdf-etc
7225 install-pdf-etc: \
7226 configure-etc \
7227 pdf-etc
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./etc/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing install-pdf in etc" ; \
7237 (cd $(HOST_SUBDIR)/etc && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7242 install-pdf) \
7243 || exit 1
7245 @endif etc
7247 .PHONY: maybe-install-html-etc install-html-etc
7248 maybe-install-html-etc:
7249 @if etc
7250 maybe-install-html-etc: install-html-etc
7252 install-html-etc: \
7253 configure-etc \
7254 html-etc
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./etc/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing install-html in etc" ; \
7264 (cd $(HOST_SUBDIR)/etc && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 install-html) \
7270 || exit 1
7272 @endif etc
7274 .PHONY: maybe-installcheck-etc installcheck-etc
7275 maybe-installcheck-etc:
7276 @if etc
7277 maybe-installcheck-etc: installcheck-etc
7279 installcheck-etc: \
7280 configure-etc
7281 @: $(MAKE); $(unstage)
7282 @[ -f ./etc/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing installcheck in etc" ; \
7290 (cd $(HOST_SUBDIR)/etc && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7295 installcheck) \
7296 || exit 1
7298 @endif etc
7300 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7301 maybe-mostlyclean-etc:
7302 @if etc
7303 maybe-mostlyclean-etc: mostlyclean-etc
7305 mostlyclean-etc:
7306 @: $(MAKE); $(unstage)
7307 @[ -f ./etc/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing mostlyclean in etc" ; \
7315 (cd $(HOST_SUBDIR)/etc && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7320 mostlyclean) \
7321 || exit 1
7323 @endif etc
7325 .PHONY: maybe-clean-etc clean-etc
7326 maybe-clean-etc:
7327 @if etc
7328 maybe-clean-etc: clean-etc
7330 clean-etc:
7331 @: $(MAKE); $(unstage)
7332 @[ -f ./etc/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing clean in etc" ; \
7340 (cd $(HOST_SUBDIR)/etc && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7345 clean) \
7346 || exit 1
7348 @endif etc
7350 .PHONY: maybe-distclean-etc distclean-etc
7351 maybe-distclean-etc:
7352 @if etc
7353 maybe-distclean-etc: distclean-etc
7355 distclean-etc:
7356 @: $(MAKE); $(unstage)
7357 @[ -f ./etc/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing distclean in etc" ; \
7365 (cd $(HOST_SUBDIR)/etc && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7370 distclean) \
7371 || exit 1
7373 @endif etc
7375 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7376 maybe-maintainer-clean-etc:
7377 @if etc
7378 maybe-maintainer-clean-etc: maintainer-clean-etc
7380 maintainer-clean-etc:
7381 @: $(MAKE); $(unstage)
7382 @[ -f ./etc/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing maintainer-clean in etc" ; \
7390 (cd $(HOST_SUBDIR)/etc && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7395 maintainer-clean) \
7396 || exit 1
7398 @endif etc
7402 .PHONY: configure-fastjar maybe-configure-fastjar
7403 maybe-configure-fastjar:
7404 @if gcc-bootstrap
7405 configure-fastjar: stage_current
7406 @endif gcc-bootstrap
7407 @if fastjar
7408 maybe-configure-fastjar: configure-fastjar
7409 configure-fastjar:
7410 @: $(MAKE); $(unstage)
7411 @r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7415 $(HOST_EXPORTS) \
7416 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7417 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7418 case $(srcdir) in \
7419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7420 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7422 esac; \
7423 module_srcdir=fastjar; \
7424 $(SHELL) \
7425 $$s/$$module_srcdir/configure \
7426 --srcdir=$${topdir}/$$module_srcdir \
7427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7428 --target=${target_alias} \
7429 || exit 1
7430 @endif fastjar
7436 .PHONY: all-fastjar maybe-all-fastjar
7437 maybe-all-fastjar:
7438 @if gcc-bootstrap
7439 all-fastjar: stage_current
7440 @endif gcc-bootstrap
7441 @if fastjar
7442 TARGET-fastjar=all
7443 maybe-all-fastjar: all-fastjar
7444 all-fastjar: configure-fastjar
7445 @: $(MAKE); $(unstage)
7446 @r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 (cd $(HOST_SUBDIR)/fastjar && \
7450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7451 $(TARGET-fastjar))
7452 @endif fastjar
7457 .PHONY: check-fastjar maybe-check-fastjar
7458 maybe-check-fastjar:
7459 @if fastjar
7460 maybe-check-fastjar: check-fastjar
7462 # This module is only tested in a native toolchain.
7463 check-fastjar:
7464 @: $(MAKE); $(unstage)
7465 @if [ '$(host)' = '$(target)' ] ; then \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 (cd $(HOST_SUBDIR)/fastjar && \
7470 $(MAKE) $(FLAGS_TO_PASS) check); \
7473 @endif fastjar
7475 .PHONY: install-fastjar maybe-install-fastjar
7476 maybe-install-fastjar:
7477 @if fastjar
7478 maybe-install-fastjar: install-fastjar
7480 install-fastjar: installdirs
7481 @: $(MAKE); $(unstage)
7482 @r=`${PWD_COMMAND}`; export r; \
7483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7484 $(HOST_EXPORTS) \
7485 (cd $(HOST_SUBDIR)/fastjar && \
7486 $(MAKE) $(FLAGS_TO_PASS) install)
7488 @endif fastjar
7490 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7491 maybe-install-strip-fastjar:
7492 @if fastjar
7493 maybe-install-strip-fastjar: install-strip-fastjar
7495 install-strip-fastjar: installdirs
7496 @: $(MAKE); $(unstage)
7497 @r=`${PWD_COMMAND}`; export r; \
7498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499 $(HOST_EXPORTS) \
7500 (cd $(HOST_SUBDIR)/fastjar && \
7501 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7503 @endif fastjar
7505 # Other targets (info, dvi, pdf, etc.)
7507 .PHONY: maybe-info-fastjar info-fastjar
7508 maybe-info-fastjar:
7509 @if fastjar
7510 maybe-info-fastjar: info-fastjar
7512 info-fastjar: \
7513 configure-fastjar
7514 @: $(MAKE); $(unstage)
7515 @[ -f ./fastjar/Makefile ] || exit 0; \
7516 r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 $(HOST_EXPORTS) \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 done; \
7522 echo "Doing info in fastjar" ; \
7523 (cd $(HOST_SUBDIR)/fastjar && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7528 info) \
7529 || exit 1
7531 @endif fastjar
7533 .PHONY: maybe-dvi-fastjar dvi-fastjar
7534 maybe-dvi-fastjar:
7535 @if fastjar
7536 maybe-dvi-fastjar: dvi-fastjar
7538 dvi-fastjar: \
7539 configure-fastjar
7540 @: $(MAKE); $(unstage)
7541 @[ -f ./fastjar/Makefile ] || exit 0; \
7542 r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing dvi in fastjar" ; \
7549 (cd $(HOST_SUBDIR)/fastjar && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7554 dvi) \
7555 || exit 1
7557 @endif fastjar
7559 .PHONY: maybe-pdf-fastjar pdf-fastjar
7560 maybe-pdf-fastjar:
7561 @if fastjar
7562 maybe-pdf-fastjar: pdf-fastjar
7564 pdf-fastjar: \
7565 configure-fastjar
7566 @: $(MAKE); $(unstage)
7567 @[ -f ./fastjar/Makefile ] || exit 0; \
7568 r=`${PWD_COMMAND}`; export r; \
7569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7570 $(HOST_EXPORTS) \
7571 for flag in $(EXTRA_HOST_FLAGS) ; do \
7572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7573 done; \
7574 echo "Doing pdf in fastjar" ; \
7575 (cd $(HOST_SUBDIR)/fastjar && \
7576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7578 "RANLIB=$${RANLIB}" \
7579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7580 pdf) \
7581 || exit 1
7583 @endif fastjar
7585 .PHONY: maybe-html-fastjar html-fastjar
7586 maybe-html-fastjar:
7587 @if fastjar
7588 maybe-html-fastjar: html-fastjar
7590 html-fastjar: \
7591 configure-fastjar
7592 @: $(MAKE); $(unstage)
7593 @[ -f ./fastjar/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 for flag in $(EXTRA_HOST_FLAGS) ; do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing html in fastjar" ; \
7601 (cd $(HOST_SUBDIR)/fastjar && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7606 html) \
7607 || exit 1
7609 @endif fastjar
7611 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7612 maybe-TAGS-fastjar:
7613 @if fastjar
7614 maybe-TAGS-fastjar: TAGS-fastjar
7616 TAGS-fastjar: \
7617 configure-fastjar
7618 @: $(MAKE); $(unstage)
7619 @[ -f ./fastjar/Makefile ] || exit 0; \
7620 r=`${PWD_COMMAND}`; export r; \
7621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 $(HOST_EXPORTS) \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 done; \
7626 echo "Doing TAGS in fastjar" ; \
7627 (cd $(HOST_SUBDIR)/fastjar && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7632 TAGS) \
7633 || exit 1
7635 @endif fastjar
7637 .PHONY: maybe-install-info-fastjar install-info-fastjar
7638 maybe-install-info-fastjar:
7639 @if fastjar
7640 maybe-install-info-fastjar: install-info-fastjar
7642 install-info-fastjar: \
7643 configure-fastjar \
7644 info-fastjar
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing install-info in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 install-info) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7665 maybe-install-pdf-fastjar:
7666 @if fastjar
7667 maybe-install-pdf-fastjar: install-pdf-fastjar
7669 install-pdf-fastjar: \
7670 configure-fastjar \
7671 pdf-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 install-pdf 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 install-pdf) \
7687 || exit 1
7689 @endif fastjar
7691 .PHONY: maybe-install-html-fastjar install-html-fastjar
7692 maybe-install-html-fastjar:
7693 @if fastjar
7694 maybe-install-html-fastjar: install-html-fastjar
7696 install-html-fastjar: \
7697 configure-fastjar \
7698 html-fastjar
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./fastjar/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing install-html in fastjar" ; \
7708 (cd $(HOST_SUBDIR)/fastjar && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7713 install-html) \
7714 || exit 1
7716 @endif fastjar
7718 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7719 maybe-installcheck-fastjar:
7720 @if fastjar
7721 maybe-installcheck-fastjar: installcheck-fastjar
7723 installcheck-fastjar: \
7724 configure-fastjar
7725 @: $(MAKE); $(unstage)
7726 @[ -f ./fastjar/Makefile ] || exit 0; \
7727 r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS) ; do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing installcheck in fastjar" ; \
7734 (cd $(HOST_SUBDIR)/fastjar && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7739 installcheck) \
7740 || exit 1
7742 @endif fastjar
7744 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7745 maybe-mostlyclean-fastjar:
7746 @if fastjar
7747 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7749 mostlyclean-fastjar:
7750 @: $(MAKE); $(unstage)
7751 @[ -f ./fastjar/Makefile ] || exit 0; \
7752 r=`${PWD_COMMAND}`; export r; \
7753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7754 $(HOST_EXPORTS) \
7755 for flag in $(EXTRA_HOST_FLAGS) ; do \
7756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7757 done; \
7758 echo "Doing mostlyclean in fastjar" ; \
7759 (cd $(HOST_SUBDIR)/fastjar && \
7760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7762 "RANLIB=$${RANLIB}" \
7763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7764 mostlyclean) \
7765 || exit 1
7767 @endif fastjar
7769 .PHONY: maybe-clean-fastjar clean-fastjar
7770 maybe-clean-fastjar:
7771 @if fastjar
7772 maybe-clean-fastjar: clean-fastjar
7774 clean-fastjar:
7775 @: $(MAKE); $(unstage)
7776 @[ -f ./fastjar/Makefile ] || exit 0; \
7777 r=`${PWD_COMMAND}`; export r; \
7778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 $(HOST_EXPORTS) \
7780 for flag in $(EXTRA_HOST_FLAGS) ; do \
7781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7782 done; \
7783 echo "Doing clean in fastjar" ; \
7784 (cd $(HOST_SUBDIR)/fastjar && \
7785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7787 "RANLIB=$${RANLIB}" \
7788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7789 clean) \
7790 || exit 1
7792 @endif fastjar
7794 .PHONY: maybe-distclean-fastjar distclean-fastjar
7795 maybe-distclean-fastjar:
7796 @if fastjar
7797 maybe-distclean-fastjar: distclean-fastjar
7799 distclean-fastjar:
7800 @: $(MAKE); $(unstage)
7801 @[ -f ./fastjar/Makefile ] || exit 0; \
7802 r=`${PWD_COMMAND}`; export r; \
7803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7804 $(HOST_EXPORTS) \
7805 for flag in $(EXTRA_HOST_FLAGS) ; do \
7806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7807 done; \
7808 echo "Doing distclean in fastjar" ; \
7809 (cd $(HOST_SUBDIR)/fastjar && \
7810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7812 "RANLIB=$${RANLIB}" \
7813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7814 distclean) \
7815 || exit 1
7817 @endif fastjar
7819 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7820 maybe-maintainer-clean-fastjar:
7821 @if fastjar
7822 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7824 maintainer-clean-fastjar:
7825 @: $(MAKE); $(unstage)
7826 @[ -f ./fastjar/Makefile ] || exit 0; \
7827 r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(HOST_EXPORTS) \
7830 for flag in $(EXTRA_HOST_FLAGS) ; do \
7831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 done; \
7833 echo "Doing maintainer-clean in fastjar" ; \
7834 (cd $(HOST_SUBDIR)/fastjar && \
7835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837 "RANLIB=$${RANLIB}" \
7838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7839 maintainer-clean) \
7840 || exit 1
7842 @endif fastjar
7846 .PHONY: configure-fixincludes maybe-configure-fixincludes
7847 maybe-configure-fixincludes:
7848 @if gcc-bootstrap
7849 configure-fixincludes: stage_current
7850 @endif gcc-bootstrap
7851 @if fixincludes
7852 maybe-configure-fixincludes: configure-fixincludes
7853 configure-fixincludes:
7854 @r=`${PWD_COMMAND}`; export r; \
7855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7856 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7858 $(HOST_EXPORTS) \
7859 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7860 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7861 case $(srcdir) in \
7862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7863 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7865 esac; \
7866 module_srcdir=fixincludes; \
7867 $(SHELL) \
7868 $$s/$$module_srcdir/configure \
7869 --srcdir=$${topdir}/$$module_srcdir \
7870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7871 --target=${target_alias} \
7872 || exit 1
7873 @endif fixincludes
7877 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7878 maybe-configure-stage1-fixincludes:
7879 @if fixincludes-bootstrap
7880 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7881 configure-stage1-fixincludes:
7882 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7884 @r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 TFLAGS="$(STAGE1_TFLAGS)"; \
7887 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7888 $(HOST_EXPORTS) \
7889 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7890 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7891 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7892 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7894 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7895 case $(srcdir) in \
7896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7897 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7899 esac; \
7900 module_srcdir=fixincludes; \
7901 $(SHELL) $$s/$$module_srcdir/configure \
7902 --srcdir=$${topdir}/$$module_srcdir \
7903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7904 --target=${target_alias} \
7906 $(STAGE1_CONFIGURE_FLAGS)
7907 @endif fixincludes-bootstrap
7909 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7910 maybe-configure-stage2-fixincludes:
7911 @if fixincludes-bootstrap
7912 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7913 configure-stage2-fixincludes:
7914 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7916 @r=`${PWD_COMMAND}`; export r; \
7917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918 TFLAGS="$(STAGE2_TFLAGS)"; \
7919 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7920 $(HOST_EXPORTS) \
7921 $(POSTSTAGE1_HOST_EXPORTS) \
7922 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7923 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7924 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7925 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
7926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7927 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7928 case $(srcdir) in \
7929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7930 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7932 esac; \
7933 module_srcdir=fixincludes; \
7934 $(SHELL) $$s/$$module_srcdir/configure \
7935 --srcdir=$${topdir}/$$module_srcdir \
7936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7937 --target=${target_alias} \
7938 --with-build-libsubdir=$(HOST_SUBDIR) \
7939 $(STAGE2_CONFIGURE_FLAGS)
7940 @endif fixincludes-bootstrap
7942 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
7943 maybe-configure-stage3-fixincludes:
7944 @if fixincludes-bootstrap
7945 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
7946 configure-stage3-fixincludes:
7947 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7949 @r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 TFLAGS="$(STAGE3_TFLAGS)"; \
7952 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7953 $(HOST_EXPORTS) \
7954 $(POSTSTAGE1_HOST_EXPORTS) \
7955 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7956 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7957 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7958 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
7959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7960 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7961 case $(srcdir) in \
7962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7963 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7965 esac; \
7966 module_srcdir=fixincludes; \
7967 $(SHELL) $$s/$$module_srcdir/configure \
7968 --srcdir=$${topdir}/$$module_srcdir \
7969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7970 --target=${target_alias} \
7971 --with-build-libsubdir=$(HOST_SUBDIR) \
7972 $(STAGE3_CONFIGURE_FLAGS)
7973 @endif fixincludes-bootstrap
7975 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
7976 maybe-configure-stage4-fixincludes:
7977 @if fixincludes-bootstrap
7978 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
7979 configure-stage4-fixincludes:
7980 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7982 @r=`${PWD_COMMAND}`; export r; \
7983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7984 TFLAGS="$(STAGE4_TFLAGS)"; \
7985 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7986 $(HOST_EXPORTS) \
7987 $(POSTSTAGE1_HOST_EXPORTS) \
7988 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7989 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7990 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7991 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
7992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7993 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7994 case $(srcdir) in \
7995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7996 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7998 esac; \
7999 module_srcdir=fixincludes; \
8000 $(SHELL) $$s/$$module_srcdir/configure \
8001 --srcdir=$${topdir}/$$module_srcdir \
8002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8003 --target=${target_alias} \
8004 --with-build-libsubdir=$(HOST_SUBDIR) \
8005 $(STAGE4_CONFIGURE_FLAGS)
8006 @endif fixincludes-bootstrap
8008 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8009 maybe-configure-stageprofile-fixincludes:
8010 @if fixincludes-bootstrap
8011 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8012 configure-stageprofile-fixincludes:
8013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8015 @r=`${PWD_COMMAND}`; export r; \
8016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8017 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8018 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8019 $(HOST_EXPORTS) \
8020 $(POSTSTAGE1_HOST_EXPORTS) \
8021 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8022 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8023 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8024 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8026 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8027 case $(srcdir) in \
8028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8029 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8031 esac; \
8032 module_srcdir=fixincludes; \
8033 $(SHELL) $$s/$$module_srcdir/configure \
8034 --srcdir=$${topdir}/$$module_srcdir \
8035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8036 --target=${target_alias} \
8037 --with-build-libsubdir=$(HOST_SUBDIR) \
8038 $(STAGEprofile_CONFIGURE_FLAGS)
8039 @endif fixincludes-bootstrap
8041 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8042 maybe-configure-stagefeedback-fixincludes:
8043 @if fixincludes-bootstrap
8044 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8045 configure-stagefeedback-fixincludes:
8046 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8048 @r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8051 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8052 $(HOST_EXPORTS) \
8053 $(POSTSTAGE1_HOST_EXPORTS) \
8054 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8055 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8056 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8057 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8059 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8060 case $(srcdir) in \
8061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8062 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8064 esac; \
8065 module_srcdir=fixincludes; \
8066 $(SHELL) $$s/$$module_srcdir/configure \
8067 --srcdir=$${topdir}/$$module_srcdir \
8068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8069 --target=${target_alias} \
8070 --with-build-libsubdir=$(HOST_SUBDIR) \
8071 $(STAGEfeedback_CONFIGURE_FLAGS)
8072 @endif fixincludes-bootstrap
8078 .PHONY: all-fixincludes maybe-all-fixincludes
8079 maybe-all-fixincludes:
8080 @if gcc-bootstrap
8081 all-fixincludes: stage_current
8082 @endif gcc-bootstrap
8083 @if fixincludes
8084 TARGET-fixincludes=all
8085 maybe-all-fixincludes: all-fixincludes
8086 all-fixincludes: configure-fixincludes
8087 @r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 $(HOST_EXPORTS) \
8090 (cd $(HOST_SUBDIR)/fixincludes && \
8091 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8092 $(TARGET-fixincludes))
8093 @endif fixincludes
8097 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8098 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8099 maybe-all-stage1-fixincludes:
8100 maybe-clean-stage1-fixincludes:
8101 @if fixincludes-bootstrap
8102 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8103 all-stage1: all-stage1-fixincludes
8104 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8105 all-stage1-fixincludes: configure-stage1-fixincludes
8106 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8107 @r=`${PWD_COMMAND}`; export r; \
8108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8109 TFLAGS="$(STAGE1_TFLAGS)"; \
8110 $(HOST_EXPORTS) \
8111 cd $(HOST_SUBDIR)/fixincludes && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8113 CFLAGS="$(STAGE1_CFLAGS)" \
8114 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8115 LIBCFLAGS="$(LIBCFLAGS)" \
8116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8119 $(EXTRA_HOST_FLAGS) \
8120 $(STAGE1_FLAGS_TO_PASS) \
8121 TFLAGS="$(STAGE1_TFLAGS)" \
8122 $(TARGET-stage1-fixincludes)
8124 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8125 clean-stage1: clean-stage1-fixincludes
8126 clean-stage1-fixincludes:
8127 @if [ $(current_stage) = stage1 ]; then \
8128 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8129 else \
8130 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8131 $(MAKE) stage1-start; \
8132 fi; \
8133 cd $(HOST_SUBDIR)/fixincludes && \
8134 $(MAKE) $(EXTRA_HOST_FLAGS) \
8135 $(STAGE1_FLAGS_TO_PASS) clean
8136 @endif fixincludes-bootstrap
8139 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8140 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8141 maybe-all-stage2-fixincludes:
8142 maybe-clean-stage2-fixincludes:
8143 @if fixincludes-bootstrap
8144 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8145 all-stage2: all-stage2-fixincludes
8146 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8147 all-stage2-fixincludes: configure-stage2-fixincludes
8148 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8149 @r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 TFLAGS="$(STAGE2_TFLAGS)"; \
8152 $(HOST_EXPORTS) \
8153 $(POSTSTAGE1_HOST_EXPORTS) \
8154 cd $(HOST_SUBDIR)/fixincludes && \
8155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8156 CFLAGS="$(STAGE2_CFLAGS)" \
8157 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8158 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8162 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8163 TFLAGS="$(STAGE2_TFLAGS)" \
8164 $(TARGET-stage2-fixincludes)
8166 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8167 clean-stage2: clean-stage2-fixincludes
8168 clean-stage2-fixincludes:
8169 @if [ $(current_stage) = stage2 ]; then \
8170 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8171 else \
8172 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8173 $(MAKE) stage2-start; \
8174 fi; \
8175 cd $(HOST_SUBDIR)/fixincludes && \
8176 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8177 @endif fixincludes-bootstrap
8180 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8181 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8182 maybe-all-stage3-fixincludes:
8183 maybe-clean-stage3-fixincludes:
8184 @if fixincludes-bootstrap
8185 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8186 all-stage3: all-stage3-fixincludes
8187 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8188 all-stage3-fixincludes: configure-stage3-fixincludes
8189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8190 @r=`${PWD_COMMAND}`; export r; \
8191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8192 TFLAGS="$(STAGE3_TFLAGS)"; \
8193 $(HOST_EXPORTS) \
8194 $(POSTSTAGE1_HOST_EXPORTS) \
8195 cd $(HOST_SUBDIR)/fixincludes && \
8196 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8197 CFLAGS="$(STAGE3_CFLAGS)" \
8198 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8199 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8200 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8201 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8202 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8203 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8204 TFLAGS="$(STAGE3_TFLAGS)" \
8205 $(TARGET-stage3-fixincludes)
8207 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8208 clean-stage3: clean-stage3-fixincludes
8209 clean-stage3-fixincludes:
8210 @if [ $(current_stage) = stage3 ]; then \
8211 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8212 else \
8213 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8214 $(MAKE) stage3-start; \
8215 fi; \
8216 cd $(HOST_SUBDIR)/fixincludes && \
8217 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8218 @endif fixincludes-bootstrap
8221 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8222 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8223 maybe-all-stage4-fixincludes:
8224 maybe-clean-stage4-fixincludes:
8225 @if fixincludes-bootstrap
8226 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8227 all-stage4: all-stage4-fixincludes
8228 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8229 all-stage4-fixincludes: configure-stage4-fixincludes
8230 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8231 @r=`${PWD_COMMAND}`; export r; \
8232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8233 TFLAGS="$(STAGE4_TFLAGS)"; \
8234 $(HOST_EXPORTS) \
8235 $(POSTSTAGE1_HOST_EXPORTS) \
8236 cd $(HOST_SUBDIR)/fixincludes && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8238 CFLAGS="$(STAGE4_CFLAGS)" \
8239 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8240 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8245 TFLAGS="$(STAGE4_TFLAGS)" \
8246 $(TARGET-stage4-fixincludes)
8248 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8249 clean-stage4: clean-stage4-fixincludes
8250 clean-stage4-fixincludes:
8251 @if [ $(current_stage) = stage4 ]; then \
8252 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8253 else \
8254 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8255 $(MAKE) stage4-start; \
8256 fi; \
8257 cd $(HOST_SUBDIR)/fixincludes && \
8258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8259 @endif fixincludes-bootstrap
8262 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8263 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8264 maybe-all-stageprofile-fixincludes:
8265 maybe-clean-stageprofile-fixincludes:
8266 @if fixincludes-bootstrap
8267 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8268 all-stageprofile: all-stageprofile-fixincludes
8269 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8270 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8271 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8272 @r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8275 $(HOST_EXPORTS) \
8276 $(POSTSTAGE1_HOST_EXPORTS) \
8277 cd $(HOST_SUBDIR)/fixincludes && \
8278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8279 CFLAGS="$(STAGEprofile_CFLAGS)" \
8280 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8281 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8286 TFLAGS="$(STAGEprofile_TFLAGS)" \
8287 $(TARGET-stageprofile-fixincludes)
8289 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8290 clean-stageprofile: clean-stageprofile-fixincludes
8291 clean-stageprofile-fixincludes:
8292 @if [ $(current_stage) = stageprofile ]; then \
8293 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8294 else \
8295 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8296 $(MAKE) stageprofile-start; \
8297 fi; \
8298 cd $(HOST_SUBDIR)/fixincludes && \
8299 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8300 @endif fixincludes-bootstrap
8303 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8304 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8305 maybe-all-stagefeedback-fixincludes:
8306 maybe-clean-stagefeedback-fixincludes:
8307 @if fixincludes-bootstrap
8308 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8309 all-stagefeedback: all-stagefeedback-fixincludes
8310 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8311 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8312 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8313 @r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8316 $(HOST_EXPORTS) \
8317 $(POSTSTAGE1_HOST_EXPORTS) \
8318 cd $(HOST_SUBDIR)/fixincludes && \
8319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8320 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8321 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8322 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8327 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8328 $(TARGET-stagefeedback-fixincludes)
8330 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8331 clean-stagefeedback: clean-stagefeedback-fixincludes
8332 clean-stagefeedback-fixincludes:
8333 @if [ $(current_stage) = stagefeedback ]; then \
8334 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8335 else \
8336 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8337 $(MAKE) stagefeedback-start; \
8338 fi; \
8339 cd $(HOST_SUBDIR)/fixincludes && \
8340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8341 @endif fixincludes-bootstrap
8347 .PHONY: check-fixincludes maybe-check-fixincludes
8348 maybe-check-fixincludes:
8349 @if fixincludes
8350 maybe-check-fixincludes: check-fixincludes
8352 check-fixincludes:
8353 @: $(MAKE); $(unstage)
8354 @r=`${PWD_COMMAND}`; export r; \
8355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356 $(HOST_EXPORTS) \
8357 (cd $(HOST_SUBDIR)/fixincludes && \
8358 $(MAKE) $(FLAGS_TO_PASS) check)
8360 @endif fixincludes
8362 .PHONY: install-fixincludes maybe-install-fixincludes
8363 maybe-install-fixincludes:
8364 @if fixincludes
8365 maybe-install-fixincludes: install-fixincludes
8367 install-fixincludes: installdirs
8368 @: $(MAKE); $(unstage)
8369 @r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(HOST_EXPORTS) \
8372 (cd $(HOST_SUBDIR)/fixincludes && \
8373 $(MAKE) $(FLAGS_TO_PASS) install)
8375 @endif fixincludes
8377 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8378 maybe-install-strip-fixincludes:
8379 @if fixincludes
8380 maybe-install-strip-fixincludes: install-strip-fixincludes
8382 install-strip-fixincludes: installdirs
8383 @: $(MAKE); $(unstage)
8384 @r=`${PWD_COMMAND}`; export r; \
8385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8386 $(HOST_EXPORTS) \
8387 (cd $(HOST_SUBDIR)/fixincludes && \
8388 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8390 @endif fixincludes
8392 # Other targets (info, dvi, pdf, etc.)
8394 .PHONY: maybe-info-fixincludes info-fixincludes
8395 maybe-info-fixincludes:
8396 @if fixincludes
8397 maybe-info-fixincludes: info-fixincludes
8399 info-fixincludes: \
8400 configure-fixincludes
8401 @[ -f ./fixincludes/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing info in fixincludes" ; \
8409 (cd $(HOST_SUBDIR)/fixincludes && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8414 info) \
8415 || exit 1
8417 @endif fixincludes
8419 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8420 maybe-dvi-fixincludes:
8421 @if fixincludes
8422 maybe-dvi-fixincludes: dvi-fixincludes
8424 dvi-fixincludes: \
8425 configure-fixincludes
8426 @[ -f ./fixincludes/Makefile ] || exit 0; \
8427 r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(HOST_EXPORTS) \
8430 for flag in $(EXTRA_HOST_FLAGS) ; do \
8431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8432 done; \
8433 echo "Doing dvi in fixincludes" ; \
8434 (cd $(HOST_SUBDIR)/fixincludes && \
8435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8437 "RANLIB=$${RANLIB}" \
8438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8439 dvi) \
8440 || exit 1
8442 @endif fixincludes
8444 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8445 maybe-pdf-fixincludes:
8446 @if fixincludes
8447 maybe-pdf-fixincludes: pdf-fixincludes
8449 pdf-fixincludes: \
8450 configure-fixincludes
8451 @[ -f ./fixincludes/Makefile ] || exit 0; \
8452 r=`${PWD_COMMAND}`; export r; \
8453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8454 $(HOST_EXPORTS) \
8455 for flag in $(EXTRA_HOST_FLAGS) ; do \
8456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 done; \
8458 echo "Doing pdf in fixincludes" ; \
8459 (cd $(HOST_SUBDIR)/fixincludes && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8462 "RANLIB=$${RANLIB}" \
8463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8464 pdf) \
8465 || exit 1
8467 @endif fixincludes
8469 .PHONY: maybe-html-fixincludes html-fixincludes
8470 maybe-html-fixincludes:
8471 @if fixincludes
8472 maybe-html-fixincludes: html-fixincludes
8474 html-fixincludes: \
8475 configure-fixincludes
8476 @[ -f ./fixincludes/Makefile ] || exit 0; \
8477 r=`${PWD_COMMAND}`; export r; \
8478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8479 $(HOST_EXPORTS) \
8480 for flag in $(EXTRA_HOST_FLAGS) ; do \
8481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8482 done; \
8483 echo "Doing html in fixincludes" ; \
8484 (cd $(HOST_SUBDIR)/fixincludes && \
8485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8487 "RANLIB=$${RANLIB}" \
8488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8489 html) \
8490 || exit 1
8492 @endif fixincludes
8494 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8495 maybe-TAGS-fixincludes:
8496 @if fixincludes
8497 maybe-TAGS-fixincludes: TAGS-fixincludes
8499 # fixincludes doesn't support TAGS.
8500 TAGS-fixincludes:
8502 @endif fixincludes
8504 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8505 maybe-install-info-fixincludes:
8506 @if fixincludes
8507 maybe-install-info-fixincludes: install-info-fixincludes
8509 install-info-fixincludes: \
8510 configure-fixincludes \
8511 info-fixincludes
8512 @[ -f ./fixincludes/Makefile ] || exit 0; \
8513 r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 $(HOST_EXPORTS) \
8516 for flag in $(EXTRA_HOST_FLAGS) ; do \
8517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8518 done; \
8519 echo "Doing install-info in fixincludes" ; \
8520 (cd $(HOST_SUBDIR)/fixincludes && \
8521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8523 "RANLIB=$${RANLIB}" \
8524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8525 install-info) \
8526 || exit 1
8528 @endif fixincludes
8530 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8531 maybe-install-pdf-fixincludes:
8532 @if fixincludes
8533 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8535 install-pdf-fixincludes: \
8536 configure-fixincludes \
8537 pdf-fixincludes
8538 @[ -f ./fixincludes/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing install-pdf in fixincludes" ; \
8546 (cd $(HOST_SUBDIR)/fixincludes && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8551 install-pdf) \
8552 || exit 1
8554 @endif fixincludes
8556 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8557 maybe-install-html-fixincludes:
8558 @if fixincludes
8559 maybe-install-html-fixincludes: install-html-fixincludes
8561 install-html-fixincludes: \
8562 configure-fixincludes \
8563 html-fixincludes
8564 @[ -f ./fixincludes/Makefile ] || exit 0; \
8565 r=`${PWD_COMMAND}`; export r; \
8566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8567 $(HOST_EXPORTS) \
8568 for flag in $(EXTRA_HOST_FLAGS) ; do \
8569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8570 done; \
8571 echo "Doing install-html in fixincludes" ; \
8572 (cd $(HOST_SUBDIR)/fixincludes && \
8573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8575 "RANLIB=$${RANLIB}" \
8576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8577 install-html) \
8578 || exit 1
8580 @endif fixincludes
8582 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8583 maybe-installcheck-fixincludes:
8584 @if fixincludes
8585 maybe-installcheck-fixincludes: installcheck-fixincludes
8587 installcheck-fixincludes: \
8588 configure-fixincludes
8589 @[ -f ./fixincludes/Makefile ] || exit 0; \
8590 r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 for flag in $(EXTRA_HOST_FLAGS) ; do \
8594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8595 done; \
8596 echo "Doing installcheck in fixincludes" ; \
8597 (cd $(HOST_SUBDIR)/fixincludes && \
8598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8600 "RANLIB=$${RANLIB}" \
8601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8602 installcheck) \
8603 || exit 1
8605 @endif fixincludes
8607 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8608 maybe-mostlyclean-fixincludes:
8609 @if fixincludes
8610 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8612 mostlyclean-fixincludes:
8613 @[ -f ./fixincludes/Makefile ] || exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(HOST_EXPORTS) \
8617 for flag in $(EXTRA_HOST_FLAGS) ; do \
8618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8619 done; \
8620 echo "Doing mostlyclean in fixincludes" ; \
8621 (cd $(HOST_SUBDIR)/fixincludes && \
8622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8624 "RANLIB=$${RANLIB}" \
8625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8626 mostlyclean) \
8627 || exit 1
8629 @endif fixincludes
8631 .PHONY: maybe-clean-fixincludes clean-fixincludes
8632 maybe-clean-fixincludes:
8633 @if fixincludes
8634 maybe-clean-fixincludes: clean-fixincludes
8636 clean-fixincludes:
8637 @[ -f ./fixincludes/Makefile ] || exit 0; \
8638 r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 $(HOST_EXPORTS) \
8641 for flag in $(EXTRA_HOST_FLAGS) ; do \
8642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8643 done; \
8644 echo "Doing clean in fixincludes" ; \
8645 (cd $(HOST_SUBDIR)/fixincludes && \
8646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8648 "RANLIB=$${RANLIB}" \
8649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8650 clean) \
8651 || exit 1
8653 @endif fixincludes
8655 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8656 maybe-distclean-fixincludes:
8657 @if fixincludes
8658 maybe-distclean-fixincludes: distclean-fixincludes
8660 distclean-fixincludes:
8661 @[ -f ./fixincludes/Makefile ] || exit 0; \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664 $(HOST_EXPORTS) \
8665 for flag in $(EXTRA_HOST_FLAGS) ; do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667 done; \
8668 echo "Doing distclean in fixincludes" ; \
8669 (cd $(HOST_SUBDIR)/fixincludes && \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8674 distclean) \
8675 || exit 1
8677 @endif fixincludes
8679 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8680 maybe-maintainer-clean-fixincludes:
8681 @if fixincludes
8682 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8684 maintainer-clean-fixincludes:
8685 @[ -f ./fixincludes/Makefile ] || exit 0; \
8686 r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8688 $(HOST_EXPORTS) \
8689 for flag in $(EXTRA_HOST_FLAGS) ; do \
8690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8691 done; \
8692 echo "Doing maintainer-clean in fixincludes" ; \
8693 (cd $(HOST_SUBDIR)/fixincludes && \
8694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8696 "RANLIB=$${RANLIB}" \
8697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8698 maintainer-clean) \
8699 || exit 1
8701 @endif fixincludes
8705 .PHONY: configure-flex maybe-configure-flex
8706 maybe-configure-flex:
8707 @if gcc-bootstrap
8708 configure-flex: stage_current
8709 @endif gcc-bootstrap
8710 @if flex
8711 maybe-configure-flex: configure-flex
8712 configure-flex:
8713 @: $(MAKE); $(unstage)
8714 @r=`${PWD_COMMAND}`; export r; \
8715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8716 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8718 $(HOST_EXPORTS) \
8719 echo Configuring in $(HOST_SUBDIR)/flex; \
8720 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8721 case $(srcdir) in \
8722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8723 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8725 esac; \
8726 module_srcdir=flex; \
8727 $(SHELL) \
8728 $$s/$$module_srcdir/configure \
8729 --srcdir=$${topdir}/$$module_srcdir \
8730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8731 --target=${target_alias} \
8732 || exit 1
8733 @endif flex
8739 .PHONY: all-flex maybe-all-flex
8740 maybe-all-flex:
8741 @if gcc-bootstrap
8742 all-flex: stage_current
8743 @endif gcc-bootstrap
8744 @if flex
8745 TARGET-flex=all
8746 maybe-all-flex: all-flex
8747 all-flex: configure-flex
8748 @: $(MAKE); $(unstage)
8749 @r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 $(HOST_EXPORTS) \
8752 (cd $(HOST_SUBDIR)/flex && \
8753 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8754 $(TARGET-flex))
8755 @endif flex
8760 .PHONY: check-flex maybe-check-flex
8761 maybe-check-flex:
8762 @if flex
8763 maybe-check-flex: check-flex
8765 # This module is only tested in a native toolchain.
8766 check-flex:
8767 @: $(MAKE); $(unstage)
8768 @if [ '$(host)' = '$(target)' ] ; then \
8769 r=`${PWD_COMMAND}`; export r; \
8770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8771 $(HOST_EXPORTS) \
8772 (cd $(HOST_SUBDIR)/flex && \
8773 $(MAKE) $(FLAGS_TO_PASS) check); \
8776 @endif flex
8778 .PHONY: install-flex maybe-install-flex
8779 maybe-install-flex:
8780 @if flex
8781 maybe-install-flex: install-flex
8783 install-flex: installdirs
8784 @: $(MAKE); $(unstage)
8785 @r=`${PWD_COMMAND}`; export r; \
8786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 $(HOST_EXPORTS) \
8788 (cd $(HOST_SUBDIR)/flex && \
8789 $(MAKE) $(FLAGS_TO_PASS) install)
8791 @endif flex
8793 .PHONY: install-strip-flex maybe-install-strip-flex
8794 maybe-install-strip-flex:
8795 @if flex
8796 maybe-install-strip-flex: install-strip-flex
8798 install-strip-flex: installdirs
8799 @: $(MAKE); $(unstage)
8800 @r=`${PWD_COMMAND}`; export r; \
8801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8802 $(HOST_EXPORTS) \
8803 (cd $(HOST_SUBDIR)/flex && \
8804 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8806 @endif flex
8808 # Other targets (info, dvi, pdf, etc.)
8810 .PHONY: maybe-info-flex info-flex
8811 maybe-info-flex:
8812 @if flex
8813 maybe-info-flex: info-flex
8815 info-flex: \
8816 configure-flex
8817 @: $(MAKE); $(unstage)
8818 @[ -f ./flex/Makefile ] || exit 0; \
8819 r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 $(HOST_EXPORTS) \
8822 for flag in $(EXTRA_HOST_FLAGS) ; do \
8823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8824 done; \
8825 echo "Doing info in flex" ; \
8826 (cd $(HOST_SUBDIR)/flex && \
8827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8829 "RANLIB=$${RANLIB}" \
8830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8831 info) \
8832 || exit 1
8834 @endif flex
8836 .PHONY: maybe-dvi-flex dvi-flex
8837 maybe-dvi-flex:
8838 @if flex
8839 maybe-dvi-flex: dvi-flex
8841 dvi-flex: \
8842 configure-flex
8843 @: $(MAKE); $(unstage)
8844 @[ -f ./flex/Makefile ] || exit 0; \
8845 r=`${PWD_COMMAND}`; export r; \
8846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8847 $(HOST_EXPORTS) \
8848 for flag in $(EXTRA_HOST_FLAGS) ; do \
8849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8850 done; \
8851 echo "Doing dvi in flex" ; \
8852 (cd $(HOST_SUBDIR)/flex && \
8853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855 "RANLIB=$${RANLIB}" \
8856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8857 dvi) \
8858 || exit 1
8860 @endif flex
8862 .PHONY: maybe-pdf-flex pdf-flex
8863 maybe-pdf-flex:
8864 @if flex
8865 maybe-pdf-flex: pdf-flex
8867 pdf-flex: \
8868 configure-flex
8869 @: $(MAKE); $(unstage)
8870 @[ -f ./flex/Makefile ] || exit 0; \
8871 r=`${PWD_COMMAND}`; export r; \
8872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8873 $(HOST_EXPORTS) \
8874 for flag in $(EXTRA_HOST_FLAGS) ; do \
8875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8876 done; \
8877 echo "Doing pdf in flex" ; \
8878 (cd $(HOST_SUBDIR)/flex && \
8879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8881 "RANLIB=$${RANLIB}" \
8882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8883 pdf) \
8884 || exit 1
8886 @endif flex
8888 .PHONY: maybe-html-flex html-flex
8889 maybe-html-flex:
8890 @if flex
8891 maybe-html-flex: html-flex
8893 html-flex: \
8894 configure-flex
8895 @: $(MAKE); $(unstage)
8896 @[ -f ./flex/Makefile ] || exit 0; \
8897 r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 $(HOST_EXPORTS) \
8900 for flag in $(EXTRA_HOST_FLAGS) ; do \
8901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8902 done; \
8903 echo "Doing html in flex" ; \
8904 (cd $(HOST_SUBDIR)/flex && \
8905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8907 "RANLIB=$${RANLIB}" \
8908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8909 html) \
8910 || exit 1
8912 @endif flex
8914 .PHONY: maybe-TAGS-flex TAGS-flex
8915 maybe-TAGS-flex:
8916 @if flex
8917 maybe-TAGS-flex: TAGS-flex
8919 TAGS-flex: \
8920 configure-flex
8921 @: $(MAKE); $(unstage)
8922 @[ -f ./flex/Makefile ] || exit 0; \
8923 r=`${PWD_COMMAND}`; export r; \
8924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8925 $(HOST_EXPORTS) \
8926 for flag in $(EXTRA_HOST_FLAGS) ; do \
8927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8928 done; \
8929 echo "Doing TAGS in flex" ; \
8930 (cd $(HOST_SUBDIR)/flex && \
8931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8933 "RANLIB=$${RANLIB}" \
8934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8935 TAGS) \
8936 || exit 1
8938 @endif flex
8940 .PHONY: maybe-install-info-flex install-info-flex
8941 maybe-install-info-flex:
8942 @if flex
8943 maybe-install-info-flex: install-info-flex
8945 install-info-flex: \
8946 configure-flex \
8947 info-flex
8948 @: $(MAKE); $(unstage)
8949 @[ -f ./flex/Makefile ] || exit 0; \
8950 r=`${PWD_COMMAND}`; export r; \
8951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952 $(HOST_EXPORTS) \
8953 for flag in $(EXTRA_HOST_FLAGS) ; do \
8954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 done; \
8956 echo "Doing install-info in flex" ; \
8957 (cd $(HOST_SUBDIR)/flex && \
8958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8960 "RANLIB=$${RANLIB}" \
8961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8962 install-info) \
8963 || exit 1
8965 @endif flex
8967 .PHONY: maybe-install-pdf-flex install-pdf-flex
8968 maybe-install-pdf-flex:
8969 @if flex
8970 maybe-install-pdf-flex: install-pdf-flex
8972 install-pdf-flex: \
8973 configure-flex \
8974 pdf-flex
8975 @: $(MAKE); $(unstage)
8976 @[ -f ./flex/Makefile ] || exit 0; \
8977 r=`${PWD_COMMAND}`; export r; \
8978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8979 $(HOST_EXPORTS) \
8980 for flag in $(EXTRA_HOST_FLAGS) ; do \
8981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8982 done; \
8983 echo "Doing install-pdf in flex" ; \
8984 (cd $(HOST_SUBDIR)/flex && \
8985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8987 "RANLIB=$${RANLIB}" \
8988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8989 install-pdf) \
8990 || exit 1
8992 @endif flex
8994 .PHONY: maybe-install-html-flex install-html-flex
8995 maybe-install-html-flex:
8996 @if flex
8997 maybe-install-html-flex: install-html-flex
8999 install-html-flex: \
9000 configure-flex \
9001 html-flex
9002 @: $(MAKE); $(unstage)
9003 @[ -f ./flex/Makefile ] || exit 0; \
9004 r=`${PWD_COMMAND}`; export r; \
9005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9006 $(HOST_EXPORTS) \
9007 for flag in $(EXTRA_HOST_FLAGS) ; do \
9008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9009 done; \
9010 echo "Doing install-html in flex" ; \
9011 (cd $(HOST_SUBDIR)/flex && \
9012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9014 "RANLIB=$${RANLIB}" \
9015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9016 install-html) \
9017 || exit 1
9019 @endif flex
9021 .PHONY: maybe-installcheck-flex installcheck-flex
9022 maybe-installcheck-flex:
9023 @if flex
9024 maybe-installcheck-flex: installcheck-flex
9026 installcheck-flex: \
9027 configure-flex
9028 @: $(MAKE); $(unstage)
9029 @[ -f ./flex/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(HOST_EXPORTS) \
9033 for flag in $(EXTRA_HOST_FLAGS) ; do \
9034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9035 done; \
9036 echo "Doing installcheck in flex" ; \
9037 (cd $(HOST_SUBDIR)/flex && \
9038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9040 "RANLIB=$${RANLIB}" \
9041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9042 installcheck) \
9043 || exit 1
9045 @endif flex
9047 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9048 maybe-mostlyclean-flex:
9049 @if flex
9050 maybe-mostlyclean-flex: mostlyclean-flex
9052 mostlyclean-flex:
9053 @: $(MAKE); $(unstage)
9054 @[ -f ./flex/Makefile ] || exit 0; \
9055 r=`${PWD_COMMAND}`; export r; \
9056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 $(HOST_EXPORTS) \
9058 for flag in $(EXTRA_HOST_FLAGS) ; do \
9059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9060 done; \
9061 echo "Doing mostlyclean in flex" ; \
9062 (cd $(HOST_SUBDIR)/flex && \
9063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9065 "RANLIB=$${RANLIB}" \
9066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9067 mostlyclean) \
9068 || exit 1
9070 @endif flex
9072 .PHONY: maybe-clean-flex clean-flex
9073 maybe-clean-flex:
9074 @if flex
9075 maybe-clean-flex: clean-flex
9077 clean-flex:
9078 @: $(MAKE); $(unstage)
9079 @[ -f ./flex/Makefile ] || exit 0; \
9080 r=`${PWD_COMMAND}`; export r; \
9081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9082 $(HOST_EXPORTS) \
9083 for flag in $(EXTRA_HOST_FLAGS) ; do \
9084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9085 done; \
9086 echo "Doing clean in flex" ; \
9087 (cd $(HOST_SUBDIR)/flex && \
9088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9090 "RANLIB=$${RANLIB}" \
9091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9092 clean) \
9093 || exit 1
9095 @endif flex
9097 .PHONY: maybe-distclean-flex distclean-flex
9098 maybe-distclean-flex:
9099 @if flex
9100 maybe-distclean-flex: distclean-flex
9102 distclean-flex:
9103 @: $(MAKE); $(unstage)
9104 @[ -f ./flex/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(HOST_EXPORTS) \
9108 for flag in $(EXTRA_HOST_FLAGS) ; do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 done; \
9111 echo "Doing distclean in flex" ; \
9112 (cd $(HOST_SUBDIR)/flex && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9117 distclean) \
9118 || exit 1
9120 @endif flex
9122 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9123 maybe-maintainer-clean-flex:
9124 @if flex
9125 maybe-maintainer-clean-flex: maintainer-clean-flex
9127 maintainer-clean-flex:
9128 @: $(MAKE); $(unstage)
9129 @[ -f ./flex/Makefile ] || exit 0; \
9130 r=`${PWD_COMMAND}`; export r; \
9131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9132 $(HOST_EXPORTS) \
9133 for flag in $(EXTRA_HOST_FLAGS) ; do \
9134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9135 done; \
9136 echo "Doing maintainer-clean in flex" ; \
9137 (cd $(HOST_SUBDIR)/flex && \
9138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9140 "RANLIB=$${RANLIB}" \
9141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9142 maintainer-clean) \
9143 || exit 1
9145 @endif flex
9149 .PHONY: configure-gas maybe-configure-gas
9150 maybe-configure-gas:
9151 @if gcc-bootstrap
9152 configure-gas: stage_current
9153 @endif gcc-bootstrap
9154 @if gas
9155 maybe-configure-gas: configure-gas
9156 configure-gas:
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9161 $(HOST_EXPORTS) \
9162 echo Configuring in $(HOST_SUBDIR)/gas; \
9163 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9164 case $(srcdir) in \
9165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9166 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9168 esac; \
9169 module_srcdir=gas; \
9170 $(SHELL) \
9171 $$s/$$module_srcdir/configure \
9172 --srcdir=$${topdir}/$$module_srcdir \
9173 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9174 --target=${target_alias} \
9175 || exit 1
9176 @endif gas
9180 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9181 maybe-configure-stage1-gas:
9182 @if gas-bootstrap
9183 maybe-configure-stage1-gas: configure-stage1-gas
9184 configure-stage1-gas:
9185 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9187 @r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 TFLAGS="$(STAGE1_TFLAGS)"; \
9190 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9191 $(HOST_EXPORTS) \
9192 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9193 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9194 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9195 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9197 cd $(HOST_SUBDIR)/gas || exit 1; \
9198 case $(srcdir) in \
9199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9200 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9202 esac; \
9203 module_srcdir=gas; \
9204 $(SHELL) $$s/$$module_srcdir/configure \
9205 --srcdir=$${topdir}/$$module_srcdir \
9206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9207 --target=${target_alias} \
9209 $(STAGE1_CONFIGURE_FLAGS)
9210 @endif gas-bootstrap
9212 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9213 maybe-configure-stage2-gas:
9214 @if gas-bootstrap
9215 maybe-configure-stage2-gas: configure-stage2-gas
9216 configure-stage2-gas:
9217 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9218 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9219 @r=`${PWD_COMMAND}`; export r; \
9220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 TFLAGS="$(STAGE2_TFLAGS)"; \
9222 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9223 $(HOST_EXPORTS) \
9224 $(POSTSTAGE1_HOST_EXPORTS) \
9225 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9226 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9227 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9228 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9230 cd $(HOST_SUBDIR)/gas || exit 1; \
9231 case $(srcdir) in \
9232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9233 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9235 esac; \
9236 module_srcdir=gas; \
9237 $(SHELL) $$s/$$module_srcdir/configure \
9238 --srcdir=$${topdir}/$$module_srcdir \
9239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9240 --target=${target_alias} \
9241 --with-build-libsubdir=$(HOST_SUBDIR) \
9242 $(STAGE2_CONFIGURE_FLAGS)
9243 @endif gas-bootstrap
9245 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9246 maybe-configure-stage3-gas:
9247 @if gas-bootstrap
9248 maybe-configure-stage3-gas: configure-stage3-gas
9249 configure-stage3-gas:
9250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9252 @r=`${PWD_COMMAND}`; export r; \
9253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9254 TFLAGS="$(STAGE3_TFLAGS)"; \
9255 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9256 $(HOST_EXPORTS) \
9257 $(POSTSTAGE1_HOST_EXPORTS) \
9258 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9259 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9260 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9261 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9263 cd $(HOST_SUBDIR)/gas || exit 1; \
9264 case $(srcdir) in \
9265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9266 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9268 esac; \
9269 module_srcdir=gas; \
9270 $(SHELL) $$s/$$module_srcdir/configure \
9271 --srcdir=$${topdir}/$$module_srcdir \
9272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9273 --target=${target_alias} \
9274 --with-build-libsubdir=$(HOST_SUBDIR) \
9275 $(STAGE3_CONFIGURE_FLAGS)
9276 @endif gas-bootstrap
9278 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9279 maybe-configure-stage4-gas:
9280 @if gas-bootstrap
9281 maybe-configure-stage4-gas: configure-stage4-gas
9282 configure-stage4-gas:
9283 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9285 @r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 TFLAGS="$(STAGE4_TFLAGS)"; \
9288 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9289 $(HOST_EXPORTS) \
9290 $(POSTSTAGE1_HOST_EXPORTS) \
9291 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9292 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9293 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9294 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9296 cd $(HOST_SUBDIR)/gas || exit 1; \
9297 case $(srcdir) in \
9298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9299 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9301 esac; \
9302 module_srcdir=gas; \
9303 $(SHELL) $$s/$$module_srcdir/configure \
9304 --srcdir=$${topdir}/$$module_srcdir \
9305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9306 --target=${target_alias} \
9307 --with-build-libsubdir=$(HOST_SUBDIR) \
9308 $(STAGE4_CONFIGURE_FLAGS)
9309 @endif gas-bootstrap
9311 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9312 maybe-configure-stageprofile-gas:
9313 @if gas-bootstrap
9314 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9315 configure-stageprofile-gas:
9316 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9318 @r=`${PWD_COMMAND}`; export r; \
9319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9321 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9322 $(HOST_EXPORTS) \
9323 $(POSTSTAGE1_HOST_EXPORTS) \
9324 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9325 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9326 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9327 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9329 cd $(HOST_SUBDIR)/gas || exit 1; \
9330 case $(srcdir) in \
9331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9332 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9334 esac; \
9335 module_srcdir=gas; \
9336 $(SHELL) $$s/$$module_srcdir/configure \
9337 --srcdir=$${topdir}/$$module_srcdir \
9338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9339 --target=${target_alias} \
9340 --with-build-libsubdir=$(HOST_SUBDIR) \
9341 $(STAGEprofile_CONFIGURE_FLAGS)
9342 @endif gas-bootstrap
9344 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9345 maybe-configure-stagefeedback-gas:
9346 @if gas-bootstrap
9347 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9348 configure-stagefeedback-gas:
9349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9351 @r=`${PWD_COMMAND}`; export r; \
9352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9354 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9355 $(HOST_EXPORTS) \
9356 $(POSTSTAGE1_HOST_EXPORTS) \
9357 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9358 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9359 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9360 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9362 cd $(HOST_SUBDIR)/gas || exit 1; \
9363 case $(srcdir) in \
9364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9365 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9367 esac; \
9368 module_srcdir=gas; \
9369 $(SHELL) $$s/$$module_srcdir/configure \
9370 --srcdir=$${topdir}/$$module_srcdir \
9371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9372 --target=${target_alias} \
9373 --with-build-libsubdir=$(HOST_SUBDIR) \
9374 $(STAGEfeedback_CONFIGURE_FLAGS)
9375 @endif gas-bootstrap
9381 .PHONY: all-gas maybe-all-gas
9382 maybe-all-gas:
9383 @if gcc-bootstrap
9384 all-gas: stage_current
9385 @endif gcc-bootstrap
9386 @if gas
9387 TARGET-gas=all
9388 maybe-all-gas: all-gas
9389 all-gas: configure-gas
9390 @r=`${PWD_COMMAND}`; export r; \
9391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9392 $(HOST_EXPORTS) \
9393 (cd $(HOST_SUBDIR)/gas && \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9395 $(TARGET-gas))
9396 @endif gas
9400 .PHONY: all-stage1-gas maybe-all-stage1-gas
9401 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9402 maybe-all-stage1-gas:
9403 maybe-clean-stage1-gas:
9404 @if gas-bootstrap
9405 maybe-all-stage1-gas: all-stage1-gas
9406 all-stage1: all-stage1-gas
9407 TARGET-stage1-gas = $(TARGET-gas)
9408 all-stage1-gas: configure-stage1-gas
9409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9410 @r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 TFLAGS="$(STAGE1_TFLAGS)"; \
9413 $(HOST_EXPORTS) \
9414 cd $(HOST_SUBDIR)/gas && \
9415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9416 CFLAGS="$(STAGE1_CFLAGS)" \
9417 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9418 LIBCFLAGS="$(LIBCFLAGS)" \
9419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9422 $(EXTRA_HOST_FLAGS) \
9423 $(STAGE1_FLAGS_TO_PASS) \
9424 TFLAGS="$(STAGE1_TFLAGS)" \
9425 $(TARGET-stage1-gas)
9427 maybe-clean-stage1-gas: clean-stage1-gas
9428 clean-stage1: clean-stage1-gas
9429 clean-stage1-gas:
9430 @if [ $(current_stage) = stage1 ]; then \
9431 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9432 else \
9433 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9434 $(MAKE) stage1-start; \
9435 fi; \
9436 cd $(HOST_SUBDIR)/gas && \
9437 $(MAKE) $(EXTRA_HOST_FLAGS) \
9438 $(STAGE1_FLAGS_TO_PASS) clean
9439 @endif gas-bootstrap
9442 .PHONY: all-stage2-gas maybe-all-stage2-gas
9443 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9444 maybe-all-stage2-gas:
9445 maybe-clean-stage2-gas:
9446 @if gas-bootstrap
9447 maybe-all-stage2-gas: all-stage2-gas
9448 all-stage2: all-stage2-gas
9449 TARGET-stage2-gas = $(TARGET-gas)
9450 all-stage2-gas: configure-stage2-gas
9451 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9452 @r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 TFLAGS="$(STAGE2_TFLAGS)"; \
9455 $(HOST_EXPORTS) \
9456 $(POSTSTAGE1_HOST_EXPORTS) \
9457 cd $(HOST_SUBDIR)/gas && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9459 CFLAGS="$(STAGE2_CFLAGS)" \
9460 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9461 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9466 TFLAGS="$(STAGE2_TFLAGS)" \
9467 $(TARGET-stage2-gas)
9469 maybe-clean-stage2-gas: clean-stage2-gas
9470 clean-stage2: clean-stage2-gas
9471 clean-stage2-gas:
9472 @if [ $(current_stage) = stage2 ]; then \
9473 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9474 else \
9475 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9476 $(MAKE) stage2-start; \
9477 fi; \
9478 cd $(HOST_SUBDIR)/gas && \
9479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9480 @endif gas-bootstrap
9483 .PHONY: all-stage3-gas maybe-all-stage3-gas
9484 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9485 maybe-all-stage3-gas:
9486 maybe-clean-stage3-gas:
9487 @if gas-bootstrap
9488 maybe-all-stage3-gas: all-stage3-gas
9489 all-stage3: all-stage3-gas
9490 TARGET-stage3-gas = $(TARGET-gas)
9491 all-stage3-gas: configure-stage3-gas
9492 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9493 @r=`${PWD_COMMAND}`; export r; \
9494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9495 TFLAGS="$(STAGE3_TFLAGS)"; \
9496 $(HOST_EXPORTS) \
9497 $(POSTSTAGE1_HOST_EXPORTS) \
9498 cd $(HOST_SUBDIR)/gas && \
9499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9500 CFLAGS="$(STAGE3_CFLAGS)" \
9501 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9502 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9506 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9507 TFLAGS="$(STAGE3_TFLAGS)" \
9508 $(TARGET-stage3-gas)
9510 maybe-clean-stage3-gas: clean-stage3-gas
9511 clean-stage3: clean-stage3-gas
9512 clean-stage3-gas:
9513 @if [ $(current_stage) = stage3 ]; then \
9514 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9515 else \
9516 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9517 $(MAKE) stage3-start; \
9518 fi; \
9519 cd $(HOST_SUBDIR)/gas && \
9520 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9521 @endif gas-bootstrap
9524 .PHONY: all-stage4-gas maybe-all-stage4-gas
9525 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9526 maybe-all-stage4-gas:
9527 maybe-clean-stage4-gas:
9528 @if gas-bootstrap
9529 maybe-all-stage4-gas: all-stage4-gas
9530 all-stage4: all-stage4-gas
9531 TARGET-stage4-gas = $(TARGET-gas)
9532 all-stage4-gas: configure-stage4-gas
9533 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9534 @r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 TFLAGS="$(STAGE4_TFLAGS)"; \
9537 $(HOST_EXPORTS) \
9538 $(POSTSTAGE1_HOST_EXPORTS) \
9539 cd $(HOST_SUBDIR)/gas && \
9540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9541 CFLAGS="$(STAGE4_CFLAGS)" \
9542 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9543 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9548 TFLAGS="$(STAGE4_TFLAGS)" \
9549 $(TARGET-stage4-gas)
9551 maybe-clean-stage4-gas: clean-stage4-gas
9552 clean-stage4: clean-stage4-gas
9553 clean-stage4-gas:
9554 @if [ $(current_stage) = stage4 ]; then \
9555 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9556 else \
9557 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9558 $(MAKE) stage4-start; \
9559 fi; \
9560 cd $(HOST_SUBDIR)/gas && \
9561 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9562 @endif gas-bootstrap
9565 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9566 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9567 maybe-all-stageprofile-gas:
9568 maybe-clean-stageprofile-gas:
9569 @if gas-bootstrap
9570 maybe-all-stageprofile-gas: all-stageprofile-gas
9571 all-stageprofile: all-stageprofile-gas
9572 TARGET-stageprofile-gas = $(TARGET-gas)
9573 all-stageprofile-gas: configure-stageprofile-gas
9574 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9575 @r=`${PWD_COMMAND}`; export r; \
9576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9577 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9578 $(HOST_EXPORTS) \
9579 $(POSTSTAGE1_HOST_EXPORTS) \
9580 cd $(HOST_SUBDIR)/gas && \
9581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9582 CFLAGS="$(STAGEprofile_CFLAGS)" \
9583 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9584 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9589 TFLAGS="$(STAGEprofile_TFLAGS)" \
9590 $(TARGET-stageprofile-gas)
9592 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9593 clean-stageprofile: clean-stageprofile-gas
9594 clean-stageprofile-gas:
9595 @if [ $(current_stage) = stageprofile ]; then \
9596 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9597 else \
9598 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9599 $(MAKE) stageprofile-start; \
9600 fi; \
9601 cd $(HOST_SUBDIR)/gas && \
9602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9603 @endif gas-bootstrap
9606 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9607 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9608 maybe-all-stagefeedback-gas:
9609 maybe-clean-stagefeedback-gas:
9610 @if gas-bootstrap
9611 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9612 all-stagefeedback: all-stagefeedback-gas
9613 TARGET-stagefeedback-gas = $(TARGET-gas)
9614 all-stagefeedback-gas: configure-stagefeedback-gas
9615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9616 @r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9619 $(HOST_EXPORTS) \
9620 $(POSTSTAGE1_HOST_EXPORTS) \
9621 cd $(HOST_SUBDIR)/gas && \
9622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9623 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9624 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9625 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9630 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9631 $(TARGET-stagefeedback-gas)
9633 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9634 clean-stagefeedback: clean-stagefeedback-gas
9635 clean-stagefeedback-gas:
9636 @if [ $(current_stage) = stagefeedback ]; then \
9637 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9638 else \
9639 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9640 $(MAKE) stagefeedback-start; \
9641 fi; \
9642 cd $(HOST_SUBDIR)/gas && \
9643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9644 @endif gas-bootstrap
9650 .PHONY: check-gas maybe-check-gas
9651 maybe-check-gas:
9652 @if gas
9653 maybe-check-gas: check-gas
9655 check-gas:
9656 @: $(MAKE); $(unstage)
9657 @r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 $(HOST_EXPORTS) \
9660 (cd $(HOST_SUBDIR)/gas && \
9661 $(MAKE) $(FLAGS_TO_PASS) check)
9663 @endif gas
9665 .PHONY: install-gas maybe-install-gas
9666 maybe-install-gas:
9667 @if gas
9668 maybe-install-gas: install-gas
9670 install-gas: installdirs
9671 @: $(MAKE); $(unstage)
9672 @r=`${PWD_COMMAND}`; export r; \
9673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9674 $(HOST_EXPORTS) \
9675 (cd $(HOST_SUBDIR)/gas && \
9676 $(MAKE) $(FLAGS_TO_PASS) install)
9678 @endif gas
9680 .PHONY: install-strip-gas maybe-install-strip-gas
9681 maybe-install-strip-gas:
9682 @if gas
9683 maybe-install-strip-gas: install-strip-gas
9685 install-strip-gas: installdirs
9686 @: $(MAKE); $(unstage)
9687 @r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(HOST_EXPORTS) \
9690 (cd $(HOST_SUBDIR)/gas && \
9691 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9693 @endif gas
9695 # Other targets (info, dvi, pdf, etc.)
9697 .PHONY: maybe-info-gas info-gas
9698 maybe-info-gas:
9699 @if gas
9700 maybe-info-gas: info-gas
9702 info-gas: \
9703 configure-gas
9704 @[ -f ./gas/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 for flag in $(EXTRA_HOST_FLAGS) ; do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing info in gas" ; \
9712 (cd $(HOST_SUBDIR)/gas && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9717 info) \
9718 || exit 1
9720 @endif gas
9722 .PHONY: maybe-dvi-gas dvi-gas
9723 maybe-dvi-gas:
9724 @if gas
9725 maybe-dvi-gas: dvi-gas
9727 dvi-gas: \
9728 configure-gas
9729 @[ -f ./gas/Makefile ] || exit 0; \
9730 r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 $(HOST_EXPORTS) \
9733 for flag in $(EXTRA_HOST_FLAGS) ; do \
9734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9735 done; \
9736 echo "Doing dvi in gas" ; \
9737 (cd $(HOST_SUBDIR)/gas && \
9738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9740 "RANLIB=$${RANLIB}" \
9741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9742 dvi) \
9743 || exit 1
9745 @endif gas
9747 .PHONY: maybe-pdf-gas pdf-gas
9748 maybe-pdf-gas:
9749 @if gas
9750 maybe-pdf-gas: pdf-gas
9752 pdf-gas: \
9753 configure-gas
9754 @[ -f ./gas/Makefile ] || exit 0; \
9755 r=`${PWD_COMMAND}`; export r; \
9756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 $(HOST_EXPORTS) \
9758 for flag in $(EXTRA_HOST_FLAGS) ; do \
9759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9760 done; \
9761 echo "Doing pdf in gas" ; \
9762 (cd $(HOST_SUBDIR)/gas && \
9763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9765 "RANLIB=$${RANLIB}" \
9766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9767 pdf) \
9768 || exit 1
9770 @endif gas
9772 .PHONY: maybe-html-gas html-gas
9773 maybe-html-gas:
9774 @if gas
9775 maybe-html-gas: html-gas
9777 html-gas: \
9778 configure-gas
9779 @[ -f ./gas/Makefile ] || exit 0; \
9780 r=`${PWD_COMMAND}`; export r; \
9781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9782 $(HOST_EXPORTS) \
9783 for flag in $(EXTRA_HOST_FLAGS) ; do \
9784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9785 done; \
9786 echo "Doing html in gas" ; \
9787 (cd $(HOST_SUBDIR)/gas && \
9788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9790 "RANLIB=$${RANLIB}" \
9791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9792 html) \
9793 || exit 1
9795 @endif gas
9797 .PHONY: maybe-TAGS-gas TAGS-gas
9798 maybe-TAGS-gas:
9799 @if gas
9800 maybe-TAGS-gas: TAGS-gas
9802 TAGS-gas: \
9803 configure-gas
9804 @[ -f ./gas/Makefile ] || exit 0; \
9805 r=`${PWD_COMMAND}`; export r; \
9806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9807 $(HOST_EXPORTS) \
9808 for flag in $(EXTRA_HOST_FLAGS) ; do \
9809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9810 done; \
9811 echo "Doing TAGS in gas" ; \
9812 (cd $(HOST_SUBDIR)/gas && \
9813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9815 "RANLIB=$${RANLIB}" \
9816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9817 TAGS) \
9818 || exit 1
9820 @endif gas
9822 .PHONY: maybe-install-info-gas install-info-gas
9823 maybe-install-info-gas:
9824 @if gas
9825 maybe-install-info-gas: install-info-gas
9827 install-info-gas: \
9828 configure-gas \
9829 info-gas
9830 @[ -f ./gas/Makefile ] || exit 0; \
9831 r=`${PWD_COMMAND}`; export r; \
9832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9833 $(HOST_EXPORTS) \
9834 for flag in $(EXTRA_HOST_FLAGS) ; do \
9835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9836 done; \
9837 echo "Doing install-info in gas" ; \
9838 (cd $(HOST_SUBDIR)/gas && \
9839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9841 "RANLIB=$${RANLIB}" \
9842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9843 install-info) \
9844 || exit 1
9846 @endif gas
9848 .PHONY: maybe-install-pdf-gas install-pdf-gas
9849 maybe-install-pdf-gas:
9850 @if gas
9851 maybe-install-pdf-gas: install-pdf-gas
9853 install-pdf-gas: \
9854 configure-gas \
9855 pdf-gas
9856 @[ -f ./gas/Makefile ] || exit 0; \
9857 r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 $(HOST_EXPORTS) \
9860 for flag in $(EXTRA_HOST_FLAGS) ; do \
9861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9862 done; \
9863 echo "Doing install-pdf in gas" ; \
9864 (cd $(HOST_SUBDIR)/gas && \
9865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9867 "RANLIB=$${RANLIB}" \
9868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9869 install-pdf) \
9870 || exit 1
9872 @endif gas
9874 .PHONY: maybe-install-html-gas install-html-gas
9875 maybe-install-html-gas:
9876 @if gas
9877 maybe-install-html-gas: install-html-gas
9879 install-html-gas: \
9880 configure-gas \
9881 html-gas
9882 @[ -f ./gas/Makefile ] || exit 0; \
9883 r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9885 $(HOST_EXPORTS) \
9886 for flag in $(EXTRA_HOST_FLAGS) ; do \
9887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9888 done; \
9889 echo "Doing install-html in gas" ; \
9890 (cd $(HOST_SUBDIR)/gas && \
9891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9893 "RANLIB=$${RANLIB}" \
9894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9895 install-html) \
9896 || exit 1
9898 @endif gas
9900 .PHONY: maybe-installcheck-gas installcheck-gas
9901 maybe-installcheck-gas:
9902 @if gas
9903 maybe-installcheck-gas: installcheck-gas
9905 installcheck-gas: \
9906 configure-gas
9907 @[ -f ./gas/Makefile ] || exit 0; \
9908 r=`${PWD_COMMAND}`; export r; \
9909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9910 $(HOST_EXPORTS) \
9911 for flag in $(EXTRA_HOST_FLAGS) ; do \
9912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9913 done; \
9914 echo "Doing installcheck in gas" ; \
9915 (cd $(HOST_SUBDIR)/gas && \
9916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9918 "RANLIB=$${RANLIB}" \
9919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9920 installcheck) \
9921 || exit 1
9923 @endif gas
9925 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9926 maybe-mostlyclean-gas:
9927 @if gas
9928 maybe-mostlyclean-gas: mostlyclean-gas
9930 mostlyclean-gas:
9931 @[ -f ./gas/Makefile ] || exit 0; \
9932 r=`${PWD_COMMAND}`; export r; \
9933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9934 $(HOST_EXPORTS) \
9935 for flag in $(EXTRA_HOST_FLAGS) ; do \
9936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9937 done; \
9938 echo "Doing mostlyclean in gas" ; \
9939 (cd $(HOST_SUBDIR)/gas && \
9940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9942 "RANLIB=$${RANLIB}" \
9943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9944 mostlyclean) \
9945 || exit 1
9947 @endif gas
9949 .PHONY: maybe-clean-gas clean-gas
9950 maybe-clean-gas:
9951 @if gas
9952 maybe-clean-gas: clean-gas
9954 clean-gas:
9955 @[ -f ./gas/Makefile ] || exit 0; \
9956 r=`${PWD_COMMAND}`; export r; \
9957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9958 $(HOST_EXPORTS) \
9959 for flag in $(EXTRA_HOST_FLAGS) ; do \
9960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9961 done; \
9962 echo "Doing clean in gas" ; \
9963 (cd $(HOST_SUBDIR)/gas && \
9964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9966 "RANLIB=$${RANLIB}" \
9967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9968 clean) \
9969 || exit 1
9971 @endif gas
9973 .PHONY: maybe-distclean-gas distclean-gas
9974 maybe-distclean-gas:
9975 @if gas
9976 maybe-distclean-gas: distclean-gas
9978 distclean-gas:
9979 @[ -f ./gas/Makefile ] || exit 0; \
9980 r=`${PWD_COMMAND}`; export r; \
9981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9982 $(HOST_EXPORTS) \
9983 for flag in $(EXTRA_HOST_FLAGS) ; do \
9984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9985 done; \
9986 echo "Doing distclean in gas" ; \
9987 (cd $(HOST_SUBDIR)/gas && \
9988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9990 "RANLIB=$${RANLIB}" \
9991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9992 distclean) \
9993 || exit 1
9995 @endif gas
9997 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9998 maybe-maintainer-clean-gas:
9999 @if gas
10000 maybe-maintainer-clean-gas: maintainer-clean-gas
10002 maintainer-clean-gas:
10003 @[ -f ./gas/Makefile ] || exit 0; \
10004 r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 for flag in $(EXTRA_HOST_FLAGS) ; do \
10008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10009 done; \
10010 echo "Doing maintainer-clean in gas" ; \
10011 (cd $(HOST_SUBDIR)/gas && \
10012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10014 "RANLIB=$${RANLIB}" \
10015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10016 maintainer-clean) \
10017 || exit 1
10019 @endif gas
10023 .PHONY: configure-gcc maybe-configure-gcc
10024 maybe-configure-gcc:
10025 @if gcc-bootstrap
10026 configure-gcc: stage_current
10027 @endif gcc-bootstrap
10028 @if gcc
10029 maybe-configure-gcc: configure-gcc
10030 configure-gcc:
10031 @r=`${PWD_COMMAND}`; export r; \
10032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10033 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10035 $(HOST_EXPORTS) \
10036 echo Configuring in $(HOST_SUBDIR)/gcc; \
10037 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10038 case $(srcdir) in \
10039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10040 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10042 esac; \
10043 module_srcdir=gcc; \
10044 $(SHELL) \
10045 $$s/$$module_srcdir/configure \
10046 --srcdir=$${topdir}/$$module_srcdir \
10047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10048 --target=${target_alias} \
10049 || exit 1
10050 @endif gcc
10054 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10055 maybe-configure-stage1-gcc:
10056 @if gcc-bootstrap
10057 maybe-configure-stage1-gcc: configure-stage1-gcc
10058 configure-stage1-gcc:
10059 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10061 @r=`${PWD_COMMAND}`; export r; \
10062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10063 TFLAGS="$(STAGE1_TFLAGS)"; \
10064 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10065 $(HOST_EXPORTS) \
10066 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10067 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10068 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10069 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10071 cd $(HOST_SUBDIR)/gcc || exit 1; \
10072 case $(srcdir) in \
10073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10074 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10076 esac; \
10077 module_srcdir=gcc; \
10078 $(SHELL) $$s/$$module_srcdir/configure \
10079 --srcdir=$${topdir}/$$module_srcdir \
10080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10081 --target=${target_alias} \
10083 $(STAGE1_CONFIGURE_FLAGS)
10084 @endif gcc-bootstrap
10086 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10087 maybe-configure-stage2-gcc:
10088 @if gcc-bootstrap
10089 maybe-configure-stage2-gcc: configure-stage2-gcc
10090 configure-stage2-gcc:
10091 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10093 @r=`${PWD_COMMAND}`; export r; \
10094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10095 TFLAGS="$(STAGE2_TFLAGS)"; \
10096 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10097 $(HOST_EXPORTS) \
10098 $(POSTSTAGE1_HOST_EXPORTS) \
10099 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10100 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10101 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10102 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10104 cd $(HOST_SUBDIR)/gcc || exit 1; \
10105 case $(srcdir) in \
10106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10107 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10109 esac; \
10110 module_srcdir=gcc; \
10111 $(SHELL) $$s/$$module_srcdir/configure \
10112 --srcdir=$${topdir}/$$module_srcdir \
10113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10114 --target=${target_alias} \
10115 --with-build-libsubdir=$(HOST_SUBDIR) \
10116 $(STAGE2_CONFIGURE_FLAGS)
10117 @endif gcc-bootstrap
10119 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10120 maybe-configure-stage3-gcc:
10121 @if gcc-bootstrap
10122 maybe-configure-stage3-gcc: configure-stage3-gcc
10123 configure-stage3-gcc:
10124 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10126 @r=`${PWD_COMMAND}`; export r; \
10127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10128 TFLAGS="$(STAGE3_TFLAGS)"; \
10129 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10130 $(HOST_EXPORTS) \
10131 $(POSTSTAGE1_HOST_EXPORTS) \
10132 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10133 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10134 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10135 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10137 cd $(HOST_SUBDIR)/gcc || exit 1; \
10138 case $(srcdir) in \
10139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10140 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10142 esac; \
10143 module_srcdir=gcc; \
10144 $(SHELL) $$s/$$module_srcdir/configure \
10145 --srcdir=$${topdir}/$$module_srcdir \
10146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10147 --target=${target_alias} \
10148 --with-build-libsubdir=$(HOST_SUBDIR) \
10149 $(STAGE3_CONFIGURE_FLAGS)
10150 @endif gcc-bootstrap
10152 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10153 maybe-configure-stage4-gcc:
10154 @if gcc-bootstrap
10155 maybe-configure-stage4-gcc: configure-stage4-gcc
10156 configure-stage4-gcc:
10157 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10159 @r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 TFLAGS="$(STAGE4_TFLAGS)"; \
10162 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10163 $(HOST_EXPORTS) \
10164 $(POSTSTAGE1_HOST_EXPORTS) \
10165 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10166 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10167 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10168 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10170 cd $(HOST_SUBDIR)/gcc || exit 1; \
10171 case $(srcdir) in \
10172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10173 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10175 esac; \
10176 module_srcdir=gcc; \
10177 $(SHELL) $$s/$$module_srcdir/configure \
10178 --srcdir=$${topdir}/$$module_srcdir \
10179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10180 --target=${target_alias} \
10181 --with-build-libsubdir=$(HOST_SUBDIR) \
10182 $(STAGE4_CONFIGURE_FLAGS)
10183 @endif gcc-bootstrap
10185 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10186 maybe-configure-stageprofile-gcc:
10187 @if gcc-bootstrap
10188 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10189 configure-stageprofile-gcc:
10190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10192 @r=`${PWD_COMMAND}`; export r; \
10193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10194 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10195 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10196 $(HOST_EXPORTS) \
10197 $(POSTSTAGE1_HOST_EXPORTS) \
10198 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10199 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10200 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10201 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10203 cd $(HOST_SUBDIR)/gcc || exit 1; \
10204 case $(srcdir) in \
10205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10206 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10208 esac; \
10209 module_srcdir=gcc; \
10210 $(SHELL) $$s/$$module_srcdir/configure \
10211 --srcdir=$${topdir}/$$module_srcdir \
10212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10213 --target=${target_alias} \
10214 --with-build-libsubdir=$(HOST_SUBDIR) \
10215 $(STAGEprofile_CONFIGURE_FLAGS)
10216 @endif gcc-bootstrap
10218 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10219 maybe-configure-stagefeedback-gcc:
10220 @if gcc-bootstrap
10221 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10222 configure-stagefeedback-gcc:
10223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10225 @r=`${PWD_COMMAND}`; export r; \
10226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10227 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10228 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10229 $(HOST_EXPORTS) \
10230 $(POSTSTAGE1_HOST_EXPORTS) \
10231 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10232 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10233 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10234 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10236 cd $(HOST_SUBDIR)/gcc || exit 1; \
10237 case $(srcdir) in \
10238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10239 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10241 esac; \
10242 module_srcdir=gcc; \
10243 $(SHELL) $$s/$$module_srcdir/configure \
10244 --srcdir=$${topdir}/$$module_srcdir \
10245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10246 --target=${target_alias} \
10247 --with-build-libsubdir=$(HOST_SUBDIR) \
10248 $(STAGEfeedback_CONFIGURE_FLAGS)
10249 @endif gcc-bootstrap
10255 .PHONY: all-gcc maybe-all-gcc
10256 maybe-all-gcc:
10257 @if gcc-bootstrap
10258 all-gcc: stage_current
10259 @endif gcc-bootstrap
10260 @if gcc
10261 TARGET-gcc=all
10262 maybe-all-gcc: all-gcc
10263 all-gcc: configure-gcc
10264 @r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266 $(HOST_EXPORTS) \
10267 (cd $(HOST_SUBDIR)/gcc && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10269 $(TARGET-gcc))
10270 @endif gcc
10274 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10275 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10276 maybe-all-stage1-gcc:
10277 maybe-clean-stage1-gcc:
10278 @if gcc-bootstrap
10279 maybe-all-stage1-gcc: all-stage1-gcc
10280 all-stage1: all-stage1-gcc
10281 TARGET-stage1-gcc = $(TARGET-gcc)
10282 all-stage1-gcc: configure-stage1-gcc
10283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10284 @r=`${PWD_COMMAND}`; export r; \
10285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 TFLAGS="$(STAGE1_TFLAGS)"; \
10287 $(HOST_EXPORTS) \
10288 cd $(HOST_SUBDIR)/gcc && \
10289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10290 CFLAGS="$(STAGE1_CFLAGS)" \
10291 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10292 LIBCFLAGS="$(LIBCFLAGS)" \
10293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10296 $(EXTRA_HOST_FLAGS) \
10297 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10298 TFLAGS="$(STAGE1_TFLAGS)" \
10299 $(TARGET-stage1-gcc)
10301 maybe-clean-stage1-gcc: clean-stage1-gcc
10302 clean-stage1: clean-stage1-gcc
10303 clean-stage1-gcc:
10304 @if [ $(current_stage) = stage1 ]; then \
10305 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10306 else \
10307 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10308 $(MAKE) stage1-start; \
10309 fi; \
10310 cd $(HOST_SUBDIR)/gcc && \
10311 $(MAKE) $(EXTRA_HOST_FLAGS) \
10312 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10313 @endif gcc-bootstrap
10316 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10317 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10318 maybe-all-stage2-gcc:
10319 maybe-clean-stage2-gcc:
10320 @if gcc-bootstrap
10321 maybe-all-stage2-gcc: all-stage2-gcc
10322 all-stage2: all-stage2-gcc
10323 TARGET-stage2-gcc = $(TARGET-gcc)
10324 all-stage2-gcc: configure-stage2-gcc
10325 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10326 @r=`${PWD_COMMAND}`; export r; \
10327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10328 TFLAGS="$(STAGE2_TFLAGS)"; \
10329 $(HOST_EXPORTS) \
10330 $(POSTSTAGE1_HOST_EXPORTS) \
10331 cd $(HOST_SUBDIR)/gcc && \
10332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10333 CFLAGS="$(STAGE2_CFLAGS)" \
10334 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10335 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10340 TFLAGS="$(STAGE2_TFLAGS)" \
10341 $(TARGET-stage2-gcc)
10343 maybe-clean-stage2-gcc: clean-stage2-gcc
10344 clean-stage2: clean-stage2-gcc
10345 clean-stage2-gcc:
10346 @if [ $(current_stage) = stage2 ]; then \
10347 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10348 else \
10349 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10350 $(MAKE) stage2-start; \
10351 fi; \
10352 cd $(HOST_SUBDIR)/gcc && \
10353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10354 @endif gcc-bootstrap
10357 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10358 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10359 maybe-all-stage3-gcc:
10360 maybe-clean-stage3-gcc:
10361 @if gcc-bootstrap
10362 maybe-all-stage3-gcc: all-stage3-gcc
10363 all-stage3: all-stage3-gcc
10364 TARGET-stage3-gcc = $(TARGET-gcc)
10365 all-stage3-gcc: configure-stage3-gcc
10366 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10367 @r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369 TFLAGS="$(STAGE3_TFLAGS)"; \
10370 $(HOST_EXPORTS) \
10371 $(POSTSTAGE1_HOST_EXPORTS) \
10372 cd $(HOST_SUBDIR)/gcc && \
10373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10374 CFLAGS="$(STAGE3_CFLAGS)" \
10375 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10376 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10381 TFLAGS="$(STAGE3_TFLAGS)" \
10382 $(TARGET-stage3-gcc)
10384 maybe-clean-stage3-gcc: clean-stage3-gcc
10385 clean-stage3: clean-stage3-gcc
10386 clean-stage3-gcc:
10387 @if [ $(current_stage) = stage3 ]; then \
10388 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10389 else \
10390 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10391 $(MAKE) stage3-start; \
10392 fi; \
10393 cd $(HOST_SUBDIR)/gcc && \
10394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10395 @endif gcc-bootstrap
10398 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10399 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10400 maybe-all-stage4-gcc:
10401 maybe-clean-stage4-gcc:
10402 @if gcc-bootstrap
10403 maybe-all-stage4-gcc: all-stage4-gcc
10404 all-stage4: all-stage4-gcc
10405 TARGET-stage4-gcc = $(TARGET-gcc)
10406 all-stage4-gcc: configure-stage4-gcc
10407 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10408 @r=`${PWD_COMMAND}`; export r; \
10409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 TFLAGS="$(STAGE4_TFLAGS)"; \
10411 $(HOST_EXPORTS) \
10412 $(POSTSTAGE1_HOST_EXPORTS) \
10413 cd $(HOST_SUBDIR)/gcc && \
10414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10415 CFLAGS="$(STAGE4_CFLAGS)" \
10416 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10417 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10422 TFLAGS="$(STAGE4_TFLAGS)" \
10423 $(TARGET-stage4-gcc)
10425 maybe-clean-stage4-gcc: clean-stage4-gcc
10426 clean-stage4: clean-stage4-gcc
10427 clean-stage4-gcc:
10428 @if [ $(current_stage) = stage4 ]; then \
10429 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10430 else \
10431 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10432 $(MAKE) stage4-start; \
10433 fi; \
10434 cd $(HOST_SUBDIR)/gcc && \
10435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10436 @endif gcc-bootstrap
10439 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10440 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10441 maybe-all-stageprofile-gcc:
10442 maybe-clean-stageprofile-gcc:
10443 @if gcc-bootstrap
10444 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10445 all-stageprofile: all-stageprofile-gcc
10446 TARGET-stageprofile-gcc = $(TARGET-gcc)
10447 all-stageprofile-gcc: configure-stageprofile-gcc
10448 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10449 @r=`${PWD_COMMAND}`; export r; \
10450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10452 $(HOST_EXPORTS) \
10453 $(POSTSTAGE1_HOST_EXPORTS) \
10454 cd $(HOST_SUBDIR)/gcc && \
10455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10456 CFLAGS="$(STAGEprofile_CFLAGS)" \
10457 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10458 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10463 TFLAGS="$(STAGEprofile_TFLAGS)" \
10464 $(TARGET-stageprofile-gcc)
10466 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10467 clean-stageprofile: clean-stageprofile-gcc
10468 clean-stageprofile-gcc:
10469 @if [ $(current_stage) = stageprofile ]; then \
10470 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10471 else \
10472 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10473 $(MAKE) stageprofile-start; \
10474 fi; \
10475 cd $(HOST_SUBDIR)/gcc && \
10476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10477 @endif gcc-bootstrap
10480 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10481 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10482 maybe-all-stagefeedback-gcc:
10483 maybe-clean-stagefeedback-gcc:
10484 @if gcc-bootstrap
10485 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10486 all-stagefeedback: all-stagefeedback-gcc
10487 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10488 all-stagefeedback-gcc: configure-stagefeedback-gcc
10489 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10490 @r=`${PWD_COMMAND}`; export r; \
10491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10493 $(HOST_EXPORTS) \
10494 $(POSTSTAGE1_HOST_EXPORTS) \
10495 cd $(HOST_SUBDIR)/gcc && \
10496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10497 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10498 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10499 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10504 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10505 $(TARGET-stagefeedback-gcc)
10507 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10508 clean-stagefeedback: clean-stagefeedback-gcc
10509 clean-stagefeedback-gcc:
10510 @if [ $(current_stage) = stagefeedback ]; then \
10511 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10512 else \
10513 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10514 $(MAKE) stagefeedback-start; \
10515 fi; \
10516 cd $(HOST_SUBDIR)/gcc && \
10517 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10518 @endif gcc-bootstrap
10524 .PHONY: check-gcc maybe-check-gcc
10525 maybe-check-gcc:
10526 @if gcc
10527 maybe-check-gcc: check-gcc
10529 check-gcc:
10530 @: $(MAKE); $(unstage)
10531 @r=`${PWD_COMMAND}`; export r; \
10532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533 $(HOST_EXPORTS) \
10534 (cd $(HOST_SUBDIR)/gcc && \
10535 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10537 @endif gcc
10539 .PHONY: install-gcc maybe-install-gcc
10540 maybe-install-gcc:
10541 @if gcc
10542 maybe-install-gcc: install-gcc
10544 install-gcc: installdirs
10545 @: $(MAKE); $(unstage)
10546 @r=`${PWD_COMMAND}`; export r; \
10547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10548 $(HOST_EXPORTS) \
10549 (cd $(HOST_SUBDIR)/gcc && \
10550 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10552 @endif gcc
10554 .PHONY: install-strip-gcc maybe-install-strip-gcc
10555 maybe-install-strip-gcc:
10556 @if gcc
10557 maybe-install-strip-gcc: install-strip-gcc
10559 install-strip-gcc: installdirs
10560 @: $(MAKE); $(unstage)
10561 @r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(HOST_EXPORTS) \
10564 (cd $(HOST_SUBDIR)/gcc && \
10565 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10567 @endif gcc
10569 # Other targets (info, dvi, pdf, etc.)
10571 .PHONY: maybe-info-gcc info-gcc
10572 maybe-info-gcc:
10573 @if gcc
10574 maybe-info-gcc: info-gcc
10576 info-gcc: \
10577 configure-gcc
10578 @[ -f ./gcc/Makefile ] || exit 0; \
10579 r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(HOST_EXPORTS) \
10582 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10584 done; \
10585 echo "Doing info in gcc" ; \
10586 (cd $(HOST_SUBDIR)/gcc && \
10587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10589 "RANLIB=$${RANLIB}" \
10590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10591 info) \
10592 || exit 1
10594 @endif gcc
10596 .PHONY: maybe-dvi-gcc dvi-gcc
10597 maybe-dvi-gcc:
10598 @if gcc
10599 maybe-dvi-gcc: dvi-gcc
10601 dvi-gcc: \
10602 configure-gcc
10603 @[ -f ./gcc/Makefile ] || exit 0; \
10604 r=`${PWD_COMMAND}`; export r; \
10605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 $(HOST_EXPORTS) \
10607 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10609 done; \
10610 echo "Doing dvi in gcc" ; \
10611 (cd $(HOST_SUBDIR)/gcc && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10614 "RANLIB=$${RANLIB}" \
10615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10616 dvi) \
10617 || exit 1
10619 @endif gcc
10621 .PHONY: maybe-pdf-gcc pdf-gcc
10622 maybe-pdf-gcc:
10623 @if gcc
10624 maybe-pdf-gcc: pdf-gcc
10626 pdf-gcc: \
10627 configure-gcc
10628 @[ -f ./gcc/Makefile ] || exit 0; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634 done; \
10635 echo "Doing pdf in gcc" ; \
10636 (cd $(HOST_SUBDIR)/gcc && \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639 "RANLIB=$${RANLIB}" \
10640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10641 pdf) \
10642 || exit 1
10644 @endif gcc
10646 .PHONY: maybe-html-gcc html-gcc
10647 maybe-html-gcc:
10648 @if gcc
10649 maybe-html-gcc: html-gcc
10651 html-gcc: \
10652 configure-gcc
10653 @[ -f ./gcc/Makefile ] || exit 0; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10659 done; \
10660 echo "Doing html in gcc" ; \
10661 (cd $(HOST_SUBDIR)/gcc && \
10662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10664 "RANLIB=$${RANLIB}" \
10665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10666 html) \
10667 || exit 1
10669 @endif gcc
10671 .PHONY: maybe-TAGS-gcc TAGS-gcc
10672 maybe-TAGS-gcc:
10673 @if gcc
10674 maybe-TAGS-gcc: TAGS-gcc
10676 TAGS-gcc: \
10677 configure-gcc
10678 @[ -f ./gcc/Makefile ] || exit 0; \
10679 r=`${PWD_COMMAND}`; export r; \
10680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 $(HOST_EXPORTS) \
10682 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10684 done; \
10685 echo "Doing TAGS in gcc" ; \
10686 (cd $(HOST_SUBDIR)/gcc && \
10687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10689 "RANLIB=$${RANLIB}" \
10690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10691 TAGS) \
10692 || exit 1
10694 @endif gcc
10696 .PHONY: maybe-install-info-gcc install-info-gcc
10697 maybe-install-info-gcc:
10698 @if gcc
10699 maybe-install-info-gcc: install-info-gcc
10701 install-info-gcc: \
10702 configure-gcc \
10703 info-gcc
10704 @[ -f ./gcc/Makefile ] || exit 0; \
10705 r=`${PWD_COMMAND}`; export r; \
10706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10707 $(HOST_EXPORTS) \
10708 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10710 done; \
10711 echo "Doing install-info in gcc" ; \
10712 (cd $(HOST_SUBDIR)/gcc && \
10713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10715 "RANLIB=$${RANLIB}" \
10716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10717 install-info) \
10718 || exit 1
10720 @endif gcc
10722 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10723 maybe-install-pdf-gcc:
10724 @if gcc
10725 maybe-install-pdf-gcc: install-pdf-gcc
10727 install-pdf-gcc: \
10728 configure-gcc \
10729 pdf-gcc
10730 @[ -f ./gcc/Makefile ] || exit 0; \
10731 r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10733 $(HOST_EXPORTS) \
10734 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10736 done; \
10737 echo "Doing install-pdf in gcc" ; \
10738 (cd $(HOST_SUBDIR)/gcc && \
10739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10741 "RANLIB=$${RANLIB}" \
10742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10743 install-pdf) \
10744 || exit 1
10746 @endif gcc
10748 .PHONY: maybe-install-html-gcc install-html-gcc
10749 maybe-install-html-gcc:
10750 @if gcc
10751 maybe-install-html-gcc: install-html-gcc
10753 install-html-gcc: \
10754 configure-gcc \
10755 html-gcc
10756 @[ -f ./gcc/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10762 done; \
10763 echo "Doing install-html in gcc" ; \
10764 (cd $(HOST_SUBDIR)/gcc && \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10767 "RANLIB=$${RANLIB}" \
10768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10769 install-html) \
10770 || exit 1
10772 @endif gcc
10774 .PHONY: maybe-installcheck-gcc installcheck-gcc
10775 maybe-installcheck-gcc:
10776 @if gcc
10777 maybe-installcheck-gcc: installcheck-gcc
10779 installcheck-gcc: \
10780 configure-gcc
10781 @[ -f ./gcc/Makefile ] || exit 0; \
10782 r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 $(HOST_EXPORTS) \
10785 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10787 done; \
10788 echo "Doing installcheck in gcc" ; \
10789 (cd $(HOST_SUBDIR)/gcc && \
10790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10792 "RANLIB=$${RANLIB}" \
10793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10794 installcheck) \
10795 || exit 1
10797 @endif gcc
10799 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10800 maybe-mostlyclean-gcc:
10801 @if gcc
10802 maybe-mostlyclean-gcc: mostlyclean-gcc
10804 mostlyclean-gcc:
10805 @[ -f ./gcc/Makefile ] || exit 0; \
10806 r=`${PWD_COMMAND}`; export r; \
10807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10808 $(HOST_EXPORTS) \
10809 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10811 done; \
10812 echo "Doing mostlyclean in gcc" ; \
10813 (cd $(HOST_SUBDIR)/gcc && \
10814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10816 "RANLIB=$${RANLIB}" \
10817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10818 mostlyclean) \
10819 || exit 1
10821 @endif gcc
10823 .PHONY: maybe-clean-gcc clean-gcc
10824 maybe-clean-gcc:
10825 @if gcc
10826 maybe-clean-gcc: clean-gcc
10828 clean-gcc:
10829 @[ -f ./gcc/Makefile ] || exit 0; \
10830 r=`${PWD_COMMAND}`; export r; \
10831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 $(HOST_EXPORTS) \
10833 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10835 done; \
10836 echo "Doing clean in gcc" ; \
10837 (cd $(HOST_SUBDIR)/gcc && \
10838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10840 "RANLIB=$${RANLIB}" \
10841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10842 clean) \
10843 || exit 1
10845 @endif gcc
10847 .PHONY: maybe-distclean-gcc distclean-gcc
10848 maybe-distclean-gcc:
10849 @if gcc
10850 maybe-distclean-gcc: distclean-gcc
10852 distclean-gcc:
10853 @[ -f ./gcc/Makefile ] || exit 0; \
10854 r=`${PWD_COMMAND}`; export r; \
10855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10856 $(HOST_EXPORTS) \
10857 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10859 done; \
10860 echo "Doing distclean in gcc" ; \
10861 (cd $(HOST_SUBDIR)/gcc && \
10862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10864 "RANLIB=$${RANLIB}" \
10865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10866 distclean) \
10867 || exit 1
10869 @endif gcc
10871 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10872 maybe-maintainer-clean-gcc:
10873 @if gcc
10874 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10876 maintainer-clean-gcc:
10877 @[ -f ./gcc/Makefile ] || exit 0; \
10878 r=`${PWD_COMMAND}`; export r; \
10879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10880 $(HOST_EXPORTS) \
10881 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10883 done; \
10884 echo "Doing maintainer-clean in gcc" ; \
10885 (cd $(HOST_SUBDIR)/gcc && \
10886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10888 "RANLIB=$${RANLIB}" \
10889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10890 maintainer-clean) \
10891 || exit 1
10893 @endif gcc
10897 .PHONY: configure-gmp maybe-configure-gmp
10898 maybe-configure-gmp:
10899 @if gcc-bootstrap
10900 configure-gmp: stage_current
10901 @endif gcc-bootstrap
10902 @if gmp
10903 maybe-configure-gmp: configure-gmp
10904 configure-gmp:
10905 @r=`${PWD_COMMAND}`; export r; \
10906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10907 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10909 $(HOST_EXPORTS) \
10910 echo Configuring in $(HOST_SUBDIR)/gmp; \
10911 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10912 case $(srcdir) in \
10913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10914 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10916 esac; \
10917 module_srcdir=gmp; \
10918 $(SHELL) \
10919 $$s/$$module_srcdir/configure \
10920 --srcdir=$${topdir}/$$module_srcdir \
10921 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10922 --target=none-${host_vendor}-${host_os} --disable-shared \
10923 || exit 1
10924 @endif gmp
10928 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10929 maybe-configure-stage1-gmp:
10930 @if gmp-bootstrap
10931 maybe-configure-stage1-gmp: configure-stage1-gmp
10932 configure-stage1-gmp:
10933 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10934 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10935 @r=`${PWD_COMMAND}`; export r; \
10936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10937 TFLAGS="$(STAGE1_TFLAGS)"; \
10938 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10939 $(HOST_EXPORTS) \
10940 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10941 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10942 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10943 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10945 cd $(HOST_SUBDIR)/gmp || exit 1; \
10946 case $(srcdir) in \
10947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10948 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10950 esac; \
10951 module_srcdir=gmp; \
10952 $(SHELL) $$s/$$module_srcdir/configure \
10953 --srcdir=$${topdir}/$$module_srcdir \
10954 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10955 --target=none-${host_vendor}-${host_os} \
10957 $(STAGE1_CONFIGURE_FLAGS) \
10958 --disable-shared
10959 @endif gmp-bootstrap
10961 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10962 maybe-configure-stage2-gmp:
10963 @if gmp-bootstrap
10964 maybe-configure-stage2-gmp: configure-stage2-gmp
10965 configure-stage2-gmp:
10966 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10968 @r=`${PWD_COMMAND}`; export r; \
10969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10970 TFLAGS="$(STAGE2_TFLAGS)"; \
10971 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10972 $(HOST_EXPORTS) \
10973 $(POSTSTAGE1_HOST_EXPORTS) \
10974 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10975 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10976 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10977 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10979 cd $(HOST_SUBDIR)/gmp || exit 1; \
10980 case $(srcdir) in \
10981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10982 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10984 esac; \
10985 module_srcdir=gmp; \
10986 $(SHELL) $$s/$$module_srcdir/configure \
10987 --srcdir=$${topdir}/$$module_srcdir \
10988 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10989 --target=none-${host_vendor}-${host_os} \
10990 --with-build-libsubdir=$(HOST_SUBDIR) \
10991 $(STAGE2_CONFIGURE_FLAGS) \
10992 --disable-shared
10993 @endif gmp-bootstrap
10995 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10996 maybe-configure-stage3-gmp:
10997 @if gmp-bootstrap
10998 maybe-configure-stage3-gmp: configure-stage3-gmp
10999 configure-stage3-gmp:
11000 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11002 @r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 TFLAGS="$(STAGE3_TFLAGS)"; \
11005 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11006 $(HOST_EXPORTS) \
11007 $(POSTSTAGE1_HOST_EXPORTS) \
11008 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11009 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11010 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11011 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11013 cd $(HOST_SUBDIR)/gmp || exit 1; \
11014 case $(srcdir) in \
11015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11016 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11018 esac; \
11019 module_srcdir=gmp; \
11020 $(SHELL) $$s/$$module_srcdir/configure \
11021 --srcdir=$${topdir}/$$module_srcdir \
11022 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11023 --target=none-${host_vendor}-${host_os} \
11024 --with-build-libsubdir=$(HOST_SUBDIR) \
11025 $(STAGE3_CONFIGURE_FLAGS) \
11026 --disable-shared
11027 @endif gmp-bootstrap
11029 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11030 maybe-configure-stage4-gmp:
11031 @if gmp-bootstrap
11032 maybe-configure-stage4-gmp: configure-stage4-gmp
11033 configure-stage4-gmp:
11034 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11036 @r=`${PWD_COMMAND}`; export r; \
11037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11038 TFLAGS="$(STAGE4_TFLAGS)"; \
11039 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11040 $(HOST_EXPORTS) \
11041 $(POSTSTAGE1_HOST_EXPORTS) \
11042 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11043 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11044 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11045 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11047 cd $(HOST_SUBDIR)/gmp || exit 1; \
11048 case $(srcdir) in \
11049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11050 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11052 esac; \
11053 module_srcdir=gmp; \
11054 $(SHELL) $$s/$$module_srcdir/configure \
11055 --srcdir=$${topdir}/$$module_srcdir \
11056 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11057 --target=none-${host_vendor}-${host_os} \
11058 --with-build-libsubdir=$(HOST_SUBDIR) \
11059 $(STAGE4_CONFIGURE_FLAGS) \
11060 --disable-shared
11061 @endif gmp-bootstrap
11063 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11064 maybe-configure-stageprofile-gmp:
11065 @if gmp-bootstrap
11066 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11067 configure-stageprofile-gmp:
11068 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11070 @r=`${PWD_COMMAND}`; export r; \
11071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11072 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11073 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11074 $(HOST_EXPORTS) \
11075 $(POSTSTAGE1_HOST_EXPORTS) \
11076 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11077 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11078 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11079 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11081 cd $(HOST_SUBDIR)/gmp || exit 1; \
11082 case $(srcdir) in \
11083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11084 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11086 esac; \
11087 module_srcdir=gmp; \
11088 $(SHELL) $$s/$$module_srcdir/configure \
11089 --srcdir=$${topdir}/$$module_srcdir \
11090 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11091 --target=none-${host_vendor}-${host_os} \
11092 --with-build-libsubdir=$(HOST_SUBDIR) \
11093 $(STAGEprofile_CONFIGURE_FLAGS) \
11094 --disable-shared
11095 @endif gmp-bootstrap
11097 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11098 maybe-configure-stagefeedback-gmp:
11099 @if gmp-bootstrap
11100 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11101 configure-stagefeedback-gmp:
11102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11104 @r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11107 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11108 $(HOST_EXPORTS) \
11109 $(POSTSTAGE1_HOST_EXPORTS) \
11110 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11111 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11112 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11113 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11115 cd $(HOST_SUBDIR)/gmp || exit 1; \
11116 case $(srcdir) in \
11117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11118 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11120 esac; \
11121 module_srcdir=gmp; \
11122 $(SHELL) $$s/$$module_srcdir/configure \
11123 --srcdir=$${topdir}/$$module_srcdir \
11124 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11125 --target=none-${host_vendor}-${host_os} \
11126 --with-build-libsubdir=$(HOST_SUBDIR) \
11127 $(STAGEfeedback_CONFIGURE_FLAGS) \
11128 --disable-shared
11129 @endif gmp-bootstrap
11135 .PHONY: all-gmp maybe-all-gmp
11136 maybe-all-gmp:
11137 @if gcc-bootstrap
11138 all-gmp: stage_current
11139 @endif gcc-bootstrap
11140 @if gmp
11141 TARGET-gmp=all
11142 maybe-all-gmp: all-gmp
11143 all-gmp: configure-gmp
11144 @r=`${PWD_COMMAND}`; export r; \
11145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11146 $(HOST_EXPORTS) \
11147 (cd $(HOST_SUBDIR)/gmp && \
11148 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11149 $(TARGET-gmp))
11150 @endif gmp
11154 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11155 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11156 maybe-all-stage1-gmp:
11157 maybe-clean-stage1-gmp:
11158 @if gmp-bootstrap
11159 maybe-all-stage1-gmp: all-stage1-gmp
11160 all-stage1: all-stage1-gmp
11161 TARGET-stage1-gmp = $(TARGET-gmp)
11162 all-stage1-gmp: configure-stage1-gmp
11163 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11164 @r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 TFLAGS="$(STAGE1_TFLAGS)"; \
11167 $(HOST_EXPORTS) \
11168 cd $(HOST_SUBDIR)/gmp && \
11169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11170 CFLAGS="$(STAGE1_CFLAGS)" \
11171 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11172 LIBCFLAGS="$(LIBCFLAGS)" \
11173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11176 $(EXTRA_HOST_FLAGS) \
11177 $(STAGE1_FLAGS_TO_PASS) \
11178 TFLAGS="$(STAGE1_TFLAGS)" \
11179 $(TARGET-stage1-gmp)
11181 maybe-clean-stage1-gmp: clean-stage1-gmp
11182 clean-stage1: clean-stage1-gmp
11183 clean-stage1-gmp:
11184 @if [ $(current_stage) = stage1 ]; then \
11185 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11186 else \
11187 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11188 $(MAKE) stage1-start; \
11189 fi; \
11190 cd $(HOST_SUBDIR)/gmp && \
11191 $(MAKE) $(EXTRA_HOST_FLAGS) \
11192 $(STAGE1_FLAGS_TO_PASS) clean
11193 @endif gmp-bootstrap
11196 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11197 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11198 maybe-all-stage2-gmp:
11199 maybe-clean-stage2-gmp:
11200 @if gmp-bootstrap
11201 maybe-all-stage2-gmp: all-stage2-gmp
11202 all-stage2: all-stage2-gmp
11203 TARGET-stage2-gmp = $(TARGET-gmp)
11204 all-stage2-gmp: configure-stage2-gmp
11205 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11206 @r=`${PWD_COMMAND}`; export r; \
11207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11208 TFLAGS="$(STAGE2_TFLAGS)"; \
11209 $(HOST_EXPORTS) \
11210 $(POSTSTAGE1_HOST_EXPORTS) \
11211 cd $(HOST_SUBDIR)/gmp && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11213 CFLAGS="$(STAGE2_CFLAGS)" \
11214 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11215 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11220 TFLAGS="$(STAGE2_TFLAGS)" \
11221 $(TARGET-stage2-gmp)
11223 maybe-clean-stage2-gmp: clean-stage2-gmp
11224 clean-stage2: clean-stage2-gmp
11225 clean-stage2-gmp:
11226 @if [ $(current_stage) = stage2 ]; then \
11227 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11228 else \
11229 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11230 $(MAKE) stage2-start; \
11231 fi; \
11232 cd $(HOST_SUBDIR)/gmp && \
11233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11234 @endif gmp-bootstrap
11237 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11238 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11239 maybe-all-stage3-gmp:
11240 maybe-clean-stage3-gmp:
11241 @if gmp-bootstrap
11242 maybe-all-stage3-gmp: all-stage3-gmp
11243 all-stage3: all-stage3-gmp
11244 TARGET-stage3-gmp = $(TARGET-gmp)
11245 all-stage3-gmp: configure-stage3-gmp
11246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11247 @r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 TFLAGS="$(STAGE3_TFLAGS)"; \
11250 $(HOST_EXPORTS) \
11251 $(POSTSTAGE1_HOST_EXPORTS) \
11252 cd $(HOST_SUBDIR)/gmp && \
11253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11254 CFLAGS="$(STAGE3_CFLAGS)" \
11255 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11256 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11260 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11261 TFLAGS="$(STAGE3_TFLAGS)" \
11262 $(TARGET-stage3-gmp)
11264 maybe-clean-stage3-gmp: clean-stage3-gmp
11265 clean-stage3: clean-stage3-gmp
11266 clean-stage3-gmp:
11267 @if [ $(current_stage) = stage3 ]; then \
11268 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11269 else \
11270 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11271 $(MAKE) stage3-start; \
11272 fi; \
11273 cd $(HOST_SUBDIR)/gmp && \
11274 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11275 @endif gmp-bootstrap
11278 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11279 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11280 maybe-all-stage4-gmp:
11281 maybe-clean-stage4-gmp:
11282 @if gmp-bootstrap
11283 maybe-all-stage4-gmp: all-stage4-gmp
11284 all-stage4: all-stage4-gmp
11285 TARGET-stage4-gmp = $(TARGET-gmp)
11286 all-stage4-gmp: configure-stage4-gmp
11287 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11288 @r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290 TFLAGS="$(STAGE4_TFLAGS)"; \
11291 $(HOST_EXPORTS) \
11292 $(POSTSTAGE1_HOST_EXPORTS) \
11293 cd $(HOST_SUBDIR)/gmp && \
11294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11295 CFLAGS="$(STAGE4_CFLAGS)" \
11296 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11297 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11302 TFLAGS="$(STAGE4_TFLAGS)" \
11303 $(TARGET-stage4-gmp)
11305 maybe-clean-stage4-gmp: clean-stage4-gmp
11306 clean-stage4: clean-stage4-gmp
11307 clean-stage4-gmp:
11308 @if [ $(current_stage) = stage4 ]; then \
11309 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11310 else \
11311 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11312 $(MAKE) stage4-start; \
11313 fi; \
11314 cd $(HOST_SUBDIR)/gmp && \
11315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11316 @endif gmp-bootstrap
11319 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11320 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11321 maybe-all-stageprofile-gmp:
11322 maybe-clean-stageprofile-gmp:
11323 @if gmp-bootstrap
11324 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11325 all-stageprofile: all-stageprofile-gmp
11326 TARGET-stageprofile-gmp = $(TARGET-gmp)
11327 all-stageprofile-gmp: configure-stageprofile-gmp
11328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11329 @r=`${PWD_COMMAND}`; export r; \
11330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11331 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11332 $(HOST_EXPORTS) \
11333 $(POSTSTAGE1_HOST_EXPORTS) \
11334 cd $(HOST_SUBDIR)/gmp && \
11335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11336 CFLAGS="$(STAGEprofile_CFLAGS)" \
11337 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11338 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11339 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11340 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11341 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11342 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11343 TFLAGS="$(STAGEprofile_TFLAGS)" \
11344 $(TARGET-stageprofile-gmp)
11346 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11347 clean-stageprofile: clean-stageprofile-gmp
11348 clean-stageprofile-gmp:
11349 @if [ $(current_stage) = stageprofile ]; then \
11350 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11351 else \
11352 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11353 $(MAKE) stageprofile-start; \
11354 fi; \
11355 cd $(HOST_SUBDIR)/gmp && \
11356 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11357 @endif gmp-bootstrap
11360 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11361 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11362 maybe-all-stagefeedback-gmp:
11363 maybe-clean-stagefeedback-gmp:
11364 @if gmp-bootstrap
11365 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11366 all-stagefeedback: all-stagefeedback-gmp
11367 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11368 all-stagefeedback-gmp: configure-stagefeedback-gmp
11369 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11370 @r=`${PWD_COMMAND}`; export r; \
11371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11372 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11373 $(HOST_EXPORTS) \
11374 $(POSTSTAGE1_HOST_EXPORTS) \
11375 cd $(HOST_SUBDIR)/gmp && \
11376 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11377 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11378 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11379 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11380 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11381 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11382 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11383 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11384 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11385 $(TARGET-stagefeedback-gmp)
11387 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11388 clean-stagefeedback: clean-stagefeedback-gmp
11389 clean-stagefeedback-gmp:
11390 @if [ $(current_stage) = stagefeedback ]; then \
11391 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11392 else \
11393 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11394 $(MAKE) stagefeedback-start; \
11395 fi; \
11396 cd $(HOST_SUBDIR)/gmp && \
11397 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11398 @endif gmp-bootstrap
11404 .PHONY: check-gmp maybe-check-gmp
11405 maybe-check-gmp:
11406 @if gmp
11407 maybe-check-gmp: check-gmp
11409 check-gmp:
11410 @: $(MAKE); $(unstage)
11411 @r=`${PWD_COMMAND}`; export r; \
11412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11413 $(HOST_EXPORTS) \
11414 (cd $(HOST_SUBDIR)/gmp && \
11415 $(MAKE) $(FLAGS_TO_PASS) check)
11417 @endif gmp
11419 .PHONY: install-gmp maybe-install-gmp
11420 maybe-install-gmp:
11421 @if gmp
11422 maybe-install-gmp: install-gmp
11424 install-gmp:
11426 @endif gmp
11428 .PHONY: install-strip-gmp maybe-install-strip-gmp
11429 maybe-install-strip-gmp:
11430 @if gmp
11431 maybe-install-strip-gmp: install-strip-gmp
11433 install-strip-gmp:
11435 @endif gmp
11437 # Other targets (info, dvi, pdf, etc.)
11439 .PHONY: maybe-info-gmp info-gmp
11440 maybe-info-gmp:
11441 @if gmp
11442 maybe-info-gmp: info-gmp
11444 info-gmp: \
11445 configure-gmp
11446 @[ -f ./gmp/Makefile ] || exit 0; \
11447 r=`${PWD_COMMAND}`; export r; \
11448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11449 $(HOST_EXPORTS) \
11450 for flag in $(EXTRA_HOST_FLAGS) ; do \
11451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11452 done; \
11453 echo "Doing info in gmp" ; \
11454 (cd $(HOST_SUBDIR)/gmp && \
11455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11457 "RANLIB=$${RANLIB}" \
11458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11459 info) \
11460 || exit 1
11462 @endif gmp
11464 .PHONY: maybe-dvi-gmp dvi-gmp
11465 maybe-dvi-gmp:
11466 @if gmp
11467 maybe-dvi-gmp: dvi-gmp
11469 dvi-gmp: \
11470 configure-gmp
11471 @[ -f ./gmp/Makefile ] || exit 0; \
11472 r=`${PWD_COMMAND}`; export r; \
11473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11474 $(HOST_EXPORTS) \
11475 for flag in $(EXTRA_HOST_FLAGS) ; do \
11476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11477 done; \
11478 echo "Doing dvi in gmp" ; \
11479 (cd $(HOST_SUBDIR)/gmp && \
11480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11482 "RANLIB=$${RANLIB}" \
11483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11484 dvi) \
11485 || exit 1
11487 @endif gmp
11489 .PHONY: maybe-pdf-gmp pdf-gmp
11490 maybe-pdf-gmp:
11491 @if gmp
11492 maybe-pdf-gmp: pdf-gmp
11494 pdf-gmp: \
11495 configure-gmp
11496 @[ -f ./gmp/Makefile ] || exit 0; \
11497 r=`${PWD_COMMAND}`; export r; \
11498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11499 $(HOST_EXPORTS) \
11500 for flag in $(EXTRA_HOST_FLAGS) ; do \
11501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11502 done; \
11503 echo "Doing pdf in gmp" ; \
11504 (cd $(HOST_SUBDIR)/gmp && \
11505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11507 "RANLIB=$${RANLIB}" \
11508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11509 pdf) \
11510 || exit 1
11512 @endif gmp
11514 .PHONY: maybe-html-gmp html-gmp
11515 maybe-html-gmp:
11516 @if gmp
11517 maybe-html-gmp: html-gmp
11519 html-gmp: \
11520 configure-gmp
11521 @[ -f ./gmp/Makefile ] || exit 0; \
11522 r=`${PWD_COMMAND}`; export r; \
11523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11524 $(HOST_EXPORTS) \
11525 for flag in $(EXTRA_HOST_FLAGS) ; do \
11526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11527 done; \
11528 echo "Doing html in gmp" ; \
11529 (cd $(HOST_SUBDIR)/gmp && \
11530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11532 "RANLIB=$${RANLIB}" \
11533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11534 html) \
11535 || exit 1
11537 @endif gmp
11539 .PHONY: maybe-TAGS-gmp TAGS-gmp
11540 maybe-TAGS-gmp:
11541 @if gmp
11542 maybe-TAGS-gmp: TAGS-gmp
11544 TAGS-gmp: \
11545 configure-gmp
11546 @[ -f ./gmp/Makefile ] || exit 0; \
11547 r=`${PWD_COMMAND}`; export r; \
11548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11549 $(HOST_EXPORTS) \
11550 for flag in $(EXTRA_HOST_FLAGS) ; do \
11551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11552 done; \
11553 echo "Doing TAGS in gmp" ; \
11554 (cd $(HOST_SUBDIR)/gmp && \
11555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11557 "RANLIB=$${RANLIB}" \
11558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11559 TAGS) \
11560 || exit 1
11562 @endif gmp
11564 .PHONY: maybe-install-info-gmp install-info-gmp
11565 maybe-install-info-gmp:
11566 @if gmp
11567 maybe-install-info-gmp: install-info-gmp
11569 install-info-gmp: \
11570 configure-gmp \
11571 info-gmp
11572 @[ -f ./gmp/Makefile ] || exit 0; \
11573 r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(HOST_EXPORTS) \
11576 for flag in $(EXTRA_HOST_FLAGS) ; do \
11577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11578 done; \
11579 echo "Doing install-info in gmp" ; \
11580 (cd $(HOST_SUBDIR)/gmp && \
11581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11583 "RANLIB=$${RANLIB}" \
11584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11585 install-info) \
11586 || exit 1
11588 @endif gmp
11590 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11591 maybe-install-pdf-gmp:
11592 @if gmp
11593 maybe-install-pdf-gmp: install-pdf-gmp
11595 install-pdf-gmp: \
11596 configure-gmp \
11597 pdf-gmp
11598 @[ -f ./gmp/Makefile ] || exit 0; \
11599 r=`${PWD_COMMAND}`; export r; \
11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11601 $(HOST_EXPORTS) \
11602 for flag in $(EXTRA_HOST_FLAGS) ; do \
11603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11604 done; \
11605 echo "Doing install-pdf in gmp" ; \
11606 (cd $(HOST_SUBDIR)/gmp && \
11607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11609 "RANLIB=$${RANLIB}" \
11610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11611 install-pdf) \
11612 || exit 1
11614 @endif gmp
11616 .PHONY: maybe-install-html-gmp install-html-gmp
11617 maybe-install-html-gmp:
11618 @if gmp
11619 maybe-install-html-gmp: install-html-gmp
11621 install-html-gmp: \
11622 configure-gmp \
11623 html-gmp
11624 @[ -f ./gmp/Makefile ] || exit 0; \
11625 r=`${PWD_COMMAND}`; export r; \
11626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11627 $(HOST_EXPORTS) \
11628 for flag in $(EXTRA_HOST_FLAGS) ; do \
11629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11630 done; \
11631 echo "Doing install-html in gmp" ; \
11632 (cd $(HOST_SUBDIR)/gmp && \
11633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11635 "RANLIB=$${RANLIB}" \
11636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11637 install-html) \
11638 || exit 1
11640 @endif gmp
11642 .PHONY: maybe-installcheck-gmp installcheck-gmp
11643 maybe-installcheck-gmp:
11644 @if gmp
11645 maybe-installcheck-gmp: installcheck-gmp
11647 installcheck-gmp: \
11648 configure-gmp
11649 @[ -f ./gmp/Makefile ] || exit 0; \
11650 r=`${PWD_COMMAND}`; export r; \
11651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11652 $(HOST_EXPORTS) \
11653 for flag in $(EXTRA_HOST_FLAGS) ; do \
11654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11655 done; \
11656 echo "Doing installcheck in gmp" ; \
11657 (cd $(HOST_SUBDIR)/gmp && \
11658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11660 "RANLIB=$${RANLIB}" \
11661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11662 installcheck) \
11663 || exit 1
11665 @endif gmp
11667 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11668 maybe-mostlyclean-gmp:
11669 @if gmp
11670 maybe-mostlyclean-gmp: mostlyclean-gmp
11672 mostlyclean-gmp:
11673 @[ -f ./gmp/Makefile ] || exit 0; \
11674 r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 $(HOST_EXPORTS) \
11677 for flag in $(EXTRA_HOST_FLAGS) ; do \
11678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11679 done; \
11680 echo "Doing mostlyclean in gmp" ; \
11681 (cd $(HOST_SUBDIR)/gmp && \
11682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11684 "RANLIB=$${RANLIB}" \
11685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11686 mostlyclean) \
11687 || exit 1
11689 @endif gmp
11691 .PHONY: maybe-clean-gmp clean-gmp
11692 maybe-clean-gmp:
11693 @if gmp
11694 maybe-clean-gmp: clean-gmp
11696 clean-gmp:
11697 @[ -f ./gmp/Makefile ] || exit 0; \
11698 r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 $(HOST_EXPORTS) \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703 done; \
11704 echo "Doing clean in gmp" ; \
11705 (cd $(HOST_SUBDIR)/gmp && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11710 clean) \
11711 || exit 1
11713 @endif gmp
11715 .PHONY: maybe-distclean-gmp distclean-gmp
11716 maybe-distclean-gmp:
11717 @if gmp
11718 maybe-distclean-gmp: distclean-gmp
11720 distclean-gmp:
11721 @[ -f ./gmp/Makefile ] || exit 0; \
11722 r=`${PWD_COMMAND}`; export r; \
11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11724 $(HOST_EXPORTS) \
11725 for flag in $(EXTRA_HOST_FLAGS) ; do \
11726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11727 done; \
11728 echo "Doing distclean in gmp" ; \
11729 (cd $(HOST_SUBDIR)/gmp && \
11730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11732 "RANLIB=$${RANLIB}" \
11733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11734 distclean) \
11735 || exit 1
11737 @endif gmp
11739 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11740 maybe-maintainer-clean-gmp:
11741 @if gmp
11742 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11744 maintainer-clean-gmp:
11745 @[ -f ./gmp/Makefile ] || exit 0; \
11746 r=`${PWD_COMMAND}`; export r; \
11747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11748 $(HOST_EXPORTS) \
11749 for flag in $(EXTRA_HOST_FLAGS) ; do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11751 done; \
11752 echo "Doing maintainer-clean in gmp" ; \
11753 (cd $(HOST_SUBDIR)/gmp && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11758 maintainer-clean) \
11759 || exit 1
11761 @endif gmp
11765 .PHONY: configure-mpfr maybe-configure-mpfr
11766 maybe-configure-mpfr:
11767 @if gcc-bootstrap
11768 configure-mpfr: stage_current
11769 @endif gcc-bootstrap
11770 @if mpfr
11771 maybe-configure-mpfr: configure-mpfr
11772 configure-mpfr:
11773 @r=`${PWD_COMMAND}`; export r; \
11774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11775 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11777 $(HOST_EXPORTS) \
11778 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11779 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11780 case $(srcdir) in \
11781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11782 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11784 esac; \
11785 module_srcdir=mpfr; \
11786 $(SHELL) \
11787 $$s/$$module_srcdir/configure \
11788 --srcdir=$${topdir}/$$module_srcdir \
11789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11790 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11791 || exit 1
11792 @endif mpfr
11796 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11797 maybe-configure-stage1-mpfr:
11798 @if mpfr-bootstrap
11799 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11800 configure-stage1-mpfr:
11801 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11803 @r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 TFLAGS="$(STAGE1_TFLAGS)"; \
11806 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11807 $(HOST_EXPORTS) \
11808 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11809 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11810 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11811 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11813 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11814 case $(srcdir) in \
11815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11816 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11818 esac; \
11819 module_srcdir=mpfr; \
11820 $(SHELL) $$s/$$module_srcdir/configure \
11821 --srcdir=$${topdir}/$$module_srcdir \
11822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11823 --target=${target_alias} \
11825 $(STAGE1_CONFIGURE_FLAGS) \
11826 --disable-shared @extra_mpfr_configure_flags@
11827 @endif mpfr-bootstrap
11829 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11830 maybe-configure-stage2-mpfr:
11831 @if mpfr-bootstrap
11832 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11833 configure-stage2-mpfr:
11834 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11836 @r=`${PWD_COMMAND}`; export r; \
11837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11838 TFLAGS="$(STAGE2_TFLAGS)"; \
11839 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11840 $(HOST_EXPORTS) \
11841 $(POSTSTAGE1_HOST_EXPORTS) \
11842 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11843 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11844 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11845 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11847 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11848 case $(srcdir) in \
11849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11850 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11852 esac; \
11853 module_srcdir=mpfr; \
11854 $(SHELL) $$s/$$module_srcdir/configure \
11855 --srcdir=$${topdir}/$$module_srcdir \
11856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11857 --target=${target_alias} \
11858 --with-build-libsubdir=$(HOST_SUBDIR) \
11859 $(STAGE2_CONFIGURE_FLAGS) \
11860 --disable-shared @extra_mpfr_configure_flags@
11861 @endif mpfr-bootstrap
11863 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11864 maybe-configure-stage3-mpfr:
11865 @if mpfr-bootstrap
11866 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11867 configure-stage3-mpfr:
11868 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11870 @r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 TFLAGS="$(STAGE3_TFLAGS)"; \
11873 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11874 $(HOST_EXPORTS) \
11875 $(POSTSTAGE1_HOST_EXPORTS) \
11876 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11877 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11878 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11879 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11881 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11882 case $(srcdir) in \
11883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11884 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11886 esac; \
11887 module_srcdir=mpfr; \
11888 $(SHELL) $$s/$$module_srcdir/configure \
11889 --srcdir=$${topdir}/$$module_srcdir \
11890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11891 --target=${target_alias} \
11892 --with-build-libsubdir=$(HOST_SUBDIR) \
11893 $(STAGE3_CONFIGURE_FLAGS) \
11894 --disable-shared @extra_mpfr_configure_flags@
11895 @endif mpfr-bootstrap
11897 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11898 maybe-configure-stage4-mpfr:
11899 @if mpfr-bootstrap
11900 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11901 configure-stage4-mpfr:
11902 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11904 @r=`${PWD_COMMAND}`; export r; \
11905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11906 TFLAGS="$(STAGE4_TFLAGS)"; \
11907 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11908 $(HOST_EXPORTS) \
11909 $(POSTSTAGE1_HOST_EXPORTS) \
11910 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11911 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11912 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11913 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11915 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11916 case $(srcdir) in \
11917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11918 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11920 esac; \
11921 module_srcdir=mpfr; \
11922 $(SHELL) $$s/$$module_srcdir/configure \
11923 --srcdir=$${topdir}/$$module_srcdir \
11924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11925 --target=${target_alias} \
11926 --with-build-libsubdir=$(HOST_SUBDIR) \
11927 $(STAGE4_CONFIGURE_FLAGS) \
11928 --disable-shared @extra_mpfr_configure_flags@
11929 @endif mpfr-bootstrap
11931 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11932 maybe-configure-stageprofile-mpfr:
11933 @if mpfr-bootstrap
11934 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11935 configure-stageprofile-mpfr:
11936 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11941 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11942 $(HOST_EXPORTS) \
11943 $(POSTSTAGE1_HOST_EXPORTS) \
11944 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11945 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11946 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11947 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11949 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11950 case $(srcdir) in \
11951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11952 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11954 esac; \
11955 module_srcdir=mpfr; \
11956 $(SHELL) $$s/$$module_srcdir/configure \
11957 --srcdir=$${topdir}/$$module_srcdir \
11958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11959 --target=${target_alias} \
11960 --with-build-libsubdir=$(HOST_SUBDIR) \
11961 $(STAGEprofile_CONFIGURE_FLAGS) \
11962 --disable-shared @extra_mpfr_configure_flags@
11963 @endif mpfr-bootstrap
11965 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11966 maybe-configure-stagefeedback-mpfr:
11967 @if mpfr-bootstrap
11968 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11969 configure-stagefeedback-mpfr:
11970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11972 @r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11975 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11976 $(HOST_EXPORTS) \
11977 $(POSTSTAGE1_HOST_EXPORTS) \
11978 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11979 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11980 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11981 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11983 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11984 case $(srcdir) in \
11985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11986 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11988 esac; \
11989 module_srcdir=mpfr; \
11990 $(SHELL) $$s/$$module_srcdir/configure \
11991 --srcdir=$${topdir}/$$module_srcdir \
11992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11993 --target=${target_alias} \
11994 --with-build-libsubdir=$(HOST_SUBDIR) \
11995 $(STAGEfeedback_CONFIGURE_FLAGS) \
11996 --disable-shared @extra_mpfr_configure_flags@
11997 @endif mpfr-bootstrap
12003 .PHONY: all-mpfr maybe-all-mpfr
12004 maybe-all-mpfr:
12005 @if gcc-bootstrap
12006 all-mpfr: stage_current
12007 @endif gcc-bootstrap
12008 @if mpfr
12009 TARGET-mpfr=all
12010 maybe-all-mpfr: all-mpfr
12011 all-mpfr: configure-mpfr
12012 @r=`${PWD_COMMAND}`; export r; \
12013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12014 $(HOST_EXPORTS) \
12015 (cd $(HOST_SUBDIR)/mpfr && \
12016 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12017 $(TARGET-mpfr))
12018 @endif mpfr
12022 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12023 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12024 maybe-all-stage1-mpfr:
12025 maybe-clean-stage1-mpfr:
12026 @if mpfr-bootstrap
12027 maybe-all-stage1-mpfr: all-stage1-mpfr
12028 all-stage1: all-stage1-mpfr
12029 TARGET-stage1-mpfr = $(TARGET-mpfr)
12030 all-stage1-mpfr: configure-stage1-mpfr
12031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12032 @r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 TFLAGS="$(STAGE1_TFLAGS)"; \
12035 $(HOST_EXPORTS) \
12036 cd $(HOST_SUBDIR)/mpfr && \
12037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12038 CFLAGS="$(STAGE1_CFLAGS)" \
12039 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12040 LIBCFLAGS="$(LIBCFLAGS)" \
12041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12044 $(EXTRA_HOST_FLAGS) \
12045 $(STAGE1_FLAGS_TO_PASS) \
12046 TFLAGS="$(STAGE1_TFLAGS)" \
12047 $(TARGET-stage1-mpfr)
12049 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12050 clean-stage1: clean-stage1-mpfr
12051 clean-stage1-mpfr:
12052 @if [ $(current_stage) = stage1 ]; then \
12053 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12054 else \
12055 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12056 $(MAKE) stage1-start; \
12057 fi; \
12058 cd $(HOST_SUBDIR)/mpfr && \
12059 $(MAKE) $(EXTRA_HOST_FLAGS) \
12060 $(STAGE1_FLAGS_TO_PASS) clean
12061 @endif mpfr-bootstrap
12064 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12065 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12066 maybe-all-stage2-mpfr:
12067 maybe-clean-stage2-mpfr:
12068 @if mpfr-bootstrap
12069 maybe-all-stage2-mpfr: all-stage2-mpfr
12070 all-stage2: all-stage2-mpfr
12071 TARGET-stage2-mpfr = $(TARGET-mpfr)
12072 all-stage2-mpfr: configure-stage2-mpfr
12073 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12074 @r=`${PWD_COMMAND}`; export r; \
12075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 TFLAGS="$(STAGE2_TFLAGS)"; \
12077 $(HOST_EXPORTS) \
12078 $(POSTSTAGE1_HOST_EXPORTS) \
12079 cd $(HOST_SUBDIR)/mpfr && \
12080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12081 CFLAGS="$(STAGE2_CFLAGS)" \
12082 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12083 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12088 TFLAGS="$(STAGE2_TFLAGS)" \
12089 $(TARGET-stage2-mpfr)
12091 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12092 clean-stage2: clean-stage2-mpfr
12093 clean-stage2-mpfr:
12094 @if [ $(current_stage) = stage2 ]; then \
12095 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12096 else \
12097 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12098 $(MAKE) stage2-start; \
12099 fi; \
12100 cd $(HOST_SUBDIR)/mpfr && \
12101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12102 @endif mpfr-bootstrap
12105 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12106 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12107 maybe-all-stage3-mpfr:
12108 maybe-clean-stage3-mpfr:
12109 @if mpfr-bootstrap
12110 maybe-all-stage3-mpfr: all-stage3-mpfr
12111 all-stage3: all-stage3-mpfr
12112 TARGET-stage3-mpfr = $(TARGET-mpfr)
12113 all-stage3-mpfr: configure-stage3-mpfr
12114 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12115 @r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12117 TFLAGS="$(STAGE3_TFLAGS)"; \
12118 $(HOST_EXPORTS) \
12119 $(POSTSTAGE1_HOST_EXPORTS) \
12120 cd $(HOST_SUBDIR)/mpfr && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12122 CFLAGS="$(STAGE3_CFLAGS)" \
12123 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12124 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12128 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12129 TFLAGS="$(STAGE3_TFLAGS)" \
12130 $(TARGET-stage3-mpfr)
12132 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12133 clean-stage3: clean-stage3-mpfr
12134 clean-stage3-mpfr:
12135 @if [ $(current_stage) = stage3 ]; then \
12136 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12137 else \
12138 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12139 $(MAKE) stage3-start; \
12140 fi; \
12141 cd $(HOST_SUBDIR)/mpfr && \
12142 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12143 @endif mpfr-bootstrap
12146 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12147 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12148 maybe-all-stage4-mpfr:
12149 maybe-clean-stage4-mpfr:
12150 @if mpfr-bootstrap
12151 maybe-all-stage4-mpfr: all-stage4-mpfr
12152 all-stage4: all-stage4-mpfr
12153 TARGET-stage4-mpfr = $(TARGET-mpfr)
12154 all-stage4-mpfr: configure-stage4-mpfr
12155 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12156 @r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 TFLAGS="$(STAGE4_TFLAGS)"; \
12159 $(HOST_EXPORTS) \
12160 $(POSTSTAGE1_HOST_EXPORTS) \
12161 cd $(HOST_SUBDIR)/mpfr && \
12162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12163 CFLAGS="$(STAGE4_CFLAGS)" \
12164 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12165 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12170 TFLAGS="$(STAGE4_TFLAGS)" \
12171 $(TARGET-stage4-mpfr)
12173 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12174 clean-stage4: clean-stage4-mpfr
12175 clean-stage4-mpfr:
12176 @if [ $(current_stage) = stage4 ]; then \
12177 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12178 else \
12179 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12180 $(MAKE) stage4-start; \
12181 fi; \
12182 cd $(HOST_SUBDIR)/mpfr && \
12183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12184 @endif mpfr-bootstrap
12187 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12188 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12189 maybe-all-stageprofile-mpfr:
12190 maybe-clean-stageprofile-mpfr:
12191 @if mpfr-bootstrap
12192 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12193 all-stageprofile: all-stageprofile-mpfr
12194 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12195 all-stageprofile-mpfr: configure-stageprofile-mpfr
12196 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12197 @r=`${PWD_COMMAND}`; export r; \
12198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12199 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12200 $(HOST_EXPORTS) \
12201 $(POSTSTAGE1_HOST_EXPORTS) \
12202 cd $(HOST_SUBDIR)/mpfr && \
12203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12204 CFLAGS="$(STAGEprofile_CFLAGS)" \
12205 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12206 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12211 TFLAGS="$(STAGEprofile_TFLAGS)" \
12212 $(TARGET-stageprofile-mpfr)
12214 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12215 clean-stageprofile: clean-stageprofile-mpfr
12216 clean-stageprofile-mpfr:
12217 @if [ $(current_stage) = stageprofile ]; then \
12218 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12219 else \
12220 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12221 $(MAKE) stageprofile-start; \
12222 fi; \
12223 cd $(HOST_SUBDIR)/mpfr && \
12224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12225 @endif mpfr-bootstrap
12228 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12229 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12230 maybe-all-stagefeedback-mpfr:
12231 maybe-clean-stagefeedback-mpfr:
12232 @if mpfr-bootstrap
12233 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12234 all-stagefeedback: all-stagefeedback-mpfr
12235 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12236 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12237 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12238 @r=`${PWD_COMMAND}`; export r; \
12239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12240 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12241 $(HOST_EXPORTS) \
12242 $(POSTSTAGE1_HOST_EXPORTS) \
12243 cd $(HOST_SUBDIR)/mpfr && \
12244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12245 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12246 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12247 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12252 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12253 $(TARGET-stagefeedback-mpfr)
12255 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12256 clean-stagefeedback: clean-stagefeedback-mpfr
12257 clean-stagefeedback-mpfr:
12258 @if [ $(current_stage) = stagefeedback ]; then \
12259 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12260 else \
12261 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12262 $(MAKE) stagefeedback-start; \
12263 fi; \
12264 cd $(HOST_SUBDIR)/mpfr && \
12265 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12266 @endif mpfr-bootstrap
12272 .PHONY: check-mpfr maybe-check-mpfr
12273 maybe-check-mpfr:
12274 @if mpfr
12275 maybe-check-mpfr: check-mpfr
12277 check-mpfr:
12278 @: $(MAKE); $(unstage)
12279 @r=`${PWD_COMMAND}`; export r; \
12280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12281 $(HOST_EXPORTS) \
12282 (cd $(HOST_SUBDIR)/mpfr && \
12283 $(MAKE) $(FLAGS_TO_PASS) check)
12285 @endif mpfr
12287 .PHONY: install-mpfr maybe-install-mpfr
12288 maybe-install-mpfr:
12289 @if mpfr
12290 maybe-install-mpfr: install-mpfr
12292 install-mpfr:
12294 @endif mpfr
12296 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12297 maybe-install-strip-mpfr:
12298 @if mpfr
12299 maybe-install-strip-mpfr: install-strip-mpfr
12301 install-strip-mpfr:
12303 @endif mpfr
12305 # Other targets (info, dvi, pdf, etc.)
12307 .PHONY: maybe-info-mpfr info-mpfr
12308 maybe-info-mpfr:
12309 @if mpfr
12310 maybe-info-mpfr: info-mpfr
12312 info-mpfr: \
12313 configure-mpfr
12314 @[ -f ./mpfr/Makefile ] || exit 0; \
12315 r=`${PWD_COMMAND}`; export r; \
12316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 $(HOST_EXPORTS) \
12318 for flag in $(EXTRA_HOST_FLAGS) ; do \
12319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 done; \
12321 echo "Doing info in mpfr" ; \
12322 (cd $(HOST_SUBDIR)/mpfr && \
12323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12325 "RANLIB=$${RANLIB}" \
12326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12327 info) \
12328 || exit 1
12330 @endif mpfr
12332 .PHONY: maybe-dvi-mpfr dvi-mpfr
12333 maybe-dvi-mpfr:
12334 @if mpfr
12335 maybe-dvi-mpfr: dvi-mpfr
12337 dvi-mpfr: \
12338 configure-mpfr
12339 @[ -f ./mpfr/Makefile ] || exit 0; \
12340 r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342 $(HOST_EXPORTS) \
12343 for flag in $(EXTRA_HOST_FLAGS) ; do \
12344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12345 done; \
12346 echo "Doing dvi in mpfr" ; \
12347 (cd $(HOST_SUBDIR)/mpfr && \
12348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12350 "RANLIB=$${RANLIB}" \
12351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12352 dvi) \
12353 || exit 1
12355 @endif mpfr
12357 .PHONY: maybe-pdf-mpfr pdf-mpfr
12358 maybe-pdf-mpfr:
12359 @if mpfr
12360 maybe-pdf-mpfr: pdf-mpfr
12362 pdf-mpfr: \
12363 configure-mpfr
12364 @[ -f ./mpfr/Makefile ] || exit 0; \
12365 r=`${PWD_COMMAND}`; export r; \
12366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12367 $(HOST_EXPORTS) \
12368 for flag in $(EXTRA_HOST_FLAGS) ; do \
12369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12370 done; \
12371 echo "Doing pdf in mpfr" ; \
12372 (cd $(HOST_SUBDIR)/mpfr && \
12373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12375 "RANLIB=$${RANLIB}" \
12376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12377 pdf) \
12378 || exit 1
12380 @endif mpfr
12382 .PHONY: maybe-html-mpfr html-mpfr
12383 maybe-html-mpfr:
12384 @if mpfr
12385 maybe-html-mpfr: html-mpfr
12387 html-mpfr: \
12388 configure-mpfr
12389 @[ -f ./mpfr/Makefile ] || exit 0; \
12390 r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 $(HOST_EXPORTS) \
12393 for flag in $(EXTRA_HOST_FLAGS) ; do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395 done; \
12396 echo "Doing html in mpfr" ; \
12397 (cd $(HOST_SUBDIR)/mpfr && \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12402 html) \
12403 || exit 1
12405 @endif mpfr
12407 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12408 maybe-TAGS-mpfr:
12409 @if mpfr
12410 maybe-TAGS-mpfr: TAGS-mpfr
12412 TAGS-mpfr: \
12413 configure-mpfr
12414 @[ -f ./mpfr/Makefile ] || exit 0; \
12415 r=`${PWD_COMMAND}`; export r; \
12416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12417 $(HOST_EXPORTS) \
12418 for flag in $(EXTRA_HOST_FLAGS) ; do \
12419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12420 done; \
12421 echo "Doing TAGS in mpfr" ; \
12422 (cd $(HOST_SUBDIR)/mpfr && \
12423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12425 "RANLIB=$${RANLIB}" \
12426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12427 TAGS) \
12428 || exit 1
12430 @endif mpfr
12432 .PHONY: maybe-install-info-mpfr install-info-mpfr
12433 maybe-install-info-mpfr:
12434 @if mpfr
12435 maybe-install-info-mpfr: install-info-mpfr
12437 install-info-mpfr: \
12438 configure-mpfr \
12439 info-mpfr
12440 @[ -f ./mpfr/Makefile ] || exit 0; \
12441 r=`${PWD_COMMAND}`; export r; \
12442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12443 $(HOST_EXPORTS) \
12444 for flag in $(EXTRA_HOST_FLAGS) ; do \
12445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12446 done; \
12447 echo "Doing install-info in mpfr" ; \
12448 (cd $(HOST_SUBDIR)/mpfr && \
12449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12451 "RANLIB=$${RANLIB}" \
12452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12453 install-info) \
12454 || exit 1
12456 @endif mpfr
12458 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12459 maybe-install-pdf-mpfr:
12460 @if mpfr
12461 maybe-install-pdf-mpfr: install-pdf-mpfr
12463 install-pdf-mpfr: \
12464 configure-mpfr \
12465 pdf-mpfr
12466 @[ -f ./mpfr/Makefile ] || exit 0; \
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 $(HOST_EXPORTS) \
12470 for flag in $(EXTRA_HOST_FLAGS) ; do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472 done; \
12473 echo "Doing install-pdf in mpfr" ; \
12474 (cd $(HOST_SUBDIR)/mpfr && \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12479 install-pdf) \
12480 || exit 1
12482 @endif mpfr
12484 .PHONY: maybe-install-html-mpfr install-html-mpfr
12485 maybe-install-html-mpfr:
12486 @if mpfr
12487 maybe-install-html-mpfr: install-html-mpfr
12489 install-html-mpfr: \
12490 configure-mpfr \
12491 html-mpfr
12492 @[ -f ./mpfr/Makefile ] || exit 0; \
12493 r=`${PWD_COMMAND}`; export r; \
12494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12495 $(HOST_EXPORTS) \
12496 for flag in $(EXTRA_HOST_FLAGS) ; do \
12497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12498 done; \
12499 echo "Doing install-html in mpfr" ; \
12500 (cd $(HOST_SUBDIR)/mpfr && \
12501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12503 "RANLIB=$${RANLIB}" \
12504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12505 install-html) \
12506 || exit 1
12508 @endif mpfr
12510 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12511 maybe-installcheck-mpfr:
12512 @if mpfr
12513 maybe-installcheck-mpfr: installcheck-mpfr
12515 installcheck-mpfr: \
12516 configure-mpfr
12517 @[ -f ./mpfr/Makefile ] || exit 0; \
12518 r=`${PWD_COMMAND}`; export r; \
12519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12520 $(HOST_EXPORTS) \
12521 for flag in $(EXTRA_HOST_FLAGS) ; do \
12522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12523 done; \
12524 echo "Doing installcheck in mpfr" ; \
12525 (cd $(HOST_SUBDIR)/mpfr && \
12526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12528 "RANLIB=$${RANLIB}" \
12529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12530 installcheck) \
12531 || exit 1
12533 @endif mpfr
12535 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12536 maybe-mostlyclean-mpfr:
12537 @if mpfr
12538 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12540 mostlyclean-mpfr:
12541 @[ -f ./mpfr/Makefile ] || exit 0; \
12542 r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12544 $(HOST_EXPORTS) \
12545 for flag in $(EXTRA_HOST_FLAGS) ; do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547 done; \
12548 echo "Doing mostlyclean in mpfr" ; \
12549 (cd $(HOST_SUBDIR)/mpfr && \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12554 mostlyclean) \
12555 || exit 1
12557 @endif mpfr
12559 .PHONY: maybe-clean-mpfr clean-mpfr
12560 maybe-clean-mpfr:
12561 @if mpfr
12562 maybe-clean-mpfr: clean-mpfr
12564 clean-mpfr:
12565 @[ -f ./mpfr/Makefile ] || exit 0; \
12566 r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 $(HOST_EXPORTS) \
12569 for flag in $(EXTRA_HOST_FLAGS) ; do \
12570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12571 done; \
12572 echo "Doing clean in mpfr" ; \
12573 (cd $(HOST_SUBDIR)/mpfr && \
12574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12576 "RANLIB=$${RANLIB}" \
12577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12578 clean) \
12579 || exit 1
12581 @endif mpfr
12583 .PHONY: maybe-distclean-mpfr distclean-mpfr
12584 maybe-distclean-mpfr:
12585 @if mpfr
12586 maybe-distclean-mpfr: distclean-mpfr
12588 distclean-mpfr:
12589 @[ -f ./mpfr/Makefile ] || exit 0; \
12590 r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 $(HOST_EXPORTS) \
12593 for flag in $(EXTRA_HOST_FLAGS) ; do \
12594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12595 done; \
12596 echo "Doing distclean in mpfr" ; \
12597 (cd $(HOST_SUBDIR)/mpfr && \
12598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12600 "RANLIB=$${RANLIB}" \
12601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12602 distclean) \
12603 || exit 1
12605 @endif mpfr
12607 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12608 maybe-maintainer-clean-mpfr:
12609 @if mpfr
12610 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12612 maintainer-clean-mpfr:
12613 @[ -f ./mpfr/Makefile ] || exit 0; \
12614 r=`${PWD_COMMAND}`; export r; \
12615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12616 $(HOST_EXPORTS) \
12617 for flag in $(EXTRA_HOST_FLAGS) ; do \
12618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12619 done; \
12620 echo "Doing maintainer-clean in mpfr" ; \
12621 (cd $(HOST_SUBDIR)/mpfr && \
12622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12624 "RANLIB=$${RANLIB}" \
12625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12626 maintainer-clean) \
12627 || exit 1
12629 @endif mpfr
12633 .PHONY: configure-mpc maybe-configure-mpc
12634 maybe-configure-mpc:
12635 @if gcc-bootstrap
12636 configure-mpc: stage_current
12637 @endif gcc-bootstrap
12638 @if mpc
12639 maybe-configure-mpc: configure-mpc
12640 configure-mpc:
12641 @r=`${PWD_COMMAND}`; export r; \
12642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12643 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12645 $(HOST_EXPORTS) \
12646 echo Configuring in $(HOST_SUBDIR)/mpc; \
12647 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12648 case $(srcdir) in \
12649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12650 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12652 esac; \
12653 module_srcdir=mpc; \
12654 $(SHELL) \
12655 $$s/$$module_srcdir/configure \
12656 --srcdir=$${topdir}/$$module_srcdir \
12657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12658 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12659 || exit 1
12660 @endif mpc
12664 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12665 maybe-configure-stage1-mpc:
12666 @if mpc-bootstrap
12667 maybe-configure-stage1-mpc: configure-stage1-mpc
12668 configure-stage1-mpc:
12669 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12671 @r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673 TFLAGS="$(STAGE1_TFLAGS)"; \
12674 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12675 $(HOST_EXPORTS) \
12676 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12677 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12678 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12679 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12681 cd $(HOST_SUBDIR)/mpc || exit 1; \
12682 case $(srcdir) in \
12683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12684 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12686 esac; \
12687 module_srcdir=mpc; \
12688 $(SHELL) $$s/$$module_srcdir/configure \
12689 --srcdir=$${topdir}/$$module_srcdir \
12690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12691 --target=${target_alias} \
12693 $(STAGE1_CONFIGURE_FLAGS) \
12694 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12695 @endif mpc-bootstrap
12697 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12698 maybe-configure-stage2-mpc:
12699 @if mpc-bootstrap
12700 maybe-configure-stage2-mpc: configure-stage2-mpc
12701 configure-stage2-mpc:
12702 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12704 @r=`${PWD_COMMAND}`; export r; \
12705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12706 TFLAGS="$(STAGE2_TFLAGS)"; \
12707 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12708 $(HOST_EXPORTS) \
12709 $(POSTSTAGE1_HOST_EXPORTS) \
12710 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12711 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12712 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12713 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12715 cd $(HOST_SUBDIR)/mpc || exit 1; \
12716 case $(srcdir) in \
12717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12718 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12720 esac; \
12721 module_srcdir=mpc; \
12722 $(SHELL) $$s/$$module_srcdir/configure \
12723 --srcdir=$${topdir}/$$module_srcdir \
12724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12725 --target=${target_alias} \
12726 --with-build-libsubdir=$(HOST_SUBDIR) \
12727 $(STAGE2_CONFIGURE_FLAGS) \
12728 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12729 @endif mpc-bootstrap
12731 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12732 maybe-configure-stage3-mpc:
12733 @if mpc-bootstrap
12734 maybe-configure-stage3-mpc: configure-stage3-mpc
12735 configure-stage3-mpc:
12736 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12738 @r=`${PWD_COMMAND}`; export r; \
12739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12740 TFLAGS="$(STAGE3_TFLAGS)"; \
12741 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12742 $(HOST_EXPORTS) \
12743 $(POSTSTAGE1_HOST_EXPORTS) \
12744 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12745 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12746 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12747 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12749 cd $(HOST_SUBDIR)/mpc || exit 1; \
12750 case $(srcdir) in \
12751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12752 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12754 esac; \
12755 module_srcdir=mpc; \
12756 $(SHELL) $$s/$$module_srcdir/configure \
12757 --srcdir=$${topdir}/$$module_srcdir \
12758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12759 --target=${target_alias} \
12760 --with-build-libsubdir=$(HOST_SUBDIR) \
12761 $(STAGE3_CONFIGURE_FLAGS) \
12762 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12763 @endif mpc-bootstrap
12765 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12766 maybe-configure-stage4-mpc:
12767 @if mpc-bootstrap
12768 maybe-configure-stage4-mpc: configure-stage4-mpc
12769 configure-stage4-mpc:
12770 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12771 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12772 @r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 TFLAGS="$(STAGE4_TFLAGS)"; \
12775 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12776 $(HOST_EXPORTS) \
12777 $(POSTSTAGE1_HOST_EXPORTS) \
12778 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12779 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12780 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12781 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12783 cd $(HOST_SUBDIR)/mpc || exit 1; \
12784 case $(srcdir) in \
12785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12786 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12788 esac; \
12789 module_srcdir=mpc; \
12790 $(SHELL) $$s/$$module_srcdir/configure \
12791 --srcdir=$${topdir}/$$module_srcdir \
12792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12793 --target=${target_alias} \
12794 --with-build-libsubdir=$(HOST_SUBDIR) \
12795 $(STAGE4_CONFIGURE_FLAGS) \
12796 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12797 @endif mpc-bootstrap
12799 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12800 maybe-configure-stageprofile-mpc:
12801 @if mpc-bootstrap
12802 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12803 configure-stageprofile-mpc:
12804 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12806 @r=`${PWD_COMMAND}`; export r; \
12807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12809 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12810 $(HOST_EXPORTS) \
12811 $(POSTSTAGE1_HOST_EXPORTS) \
12812 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12813 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12814 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12815 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12817 cd $(HOST_SUBDIR)/mpc || exit 1; \
12818 case $(srcdir) in \
12819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12820 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12822 esac; \
12823 module_srcdir=mpc; \
12824 $(SHELL) $$s/$$module_srcdir/configure \
12825 --srcdir=$${topdir}/$$module_srcdir \
12826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12827 --target=${target_alias} \
12828 --with-build-libsubdir=$(HOST_SUBDIR) \
12829 $(STAGEprofile_CONFIGURE_FLAGS) \
12830 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12831 @endif mpc-bootstrap
12833 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12834 maybe-configure-stagefeedback-mpc:
12835 @if mpc-bootstrap
12836 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12837 configure-stagefeedback-mpc:
12838 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12843 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12844 $(HOST_EXPORTS) \
12845 $(POSTSTAGE1_HOST_EXPORTS) \
12846 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12847 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12848 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12849 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12851 cd $(HOST_SUBDIR)/mpc || exit 1; \
12852 case $(srcdir) in \
12853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12854 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12856 esac; \
12857 module_srcdir=mpc; \
12858 $(SHELL) $$s/$$module_srcdir/configure \
12859 --srcdir=$${topdir}/$$module_srcdir \
12860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12861 --target=${target_alias} \
12862 --with-build-libsubdir=$(HOST_SUBDIR) \
12863 $(STAGEfeedback_CONFIGURE_FLAGS) \
12864 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12865 @endif mpc-bootstrap
12871 .PHONY: all-mpc maybe-all-mpc
12872 maybe-all-mpc:
12873 @if gcc-bootstrap
12874 all-mpc: stage_current
12875 @endif gcc-bootstrap
12876 @if mpc
12877 TARGET-mpc=all
12878 maybe-all-mpc: all-mpc
12879 all-mpc: configure-mpc
12880 @r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 (cd $(HOST_SUBDIR)/mpc && \
12884 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12885 $(TARGET-mpc))
12886 @endif mpc
12890 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12891 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12892 maybe-all-stage1-mpc:
12893 maybe-clean-stage1-mpc:
12894 @if mpc-bootstrap
12895 maybe-all-stage1-mpc: all-stage1-mpc
12896 all-stage1: all-stage1-mpc
12897 TARGET-stage1-mpc = $(TARGET-mpc)
12898 all-stage1-mpc: configure-stage1-mpc
12899 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12900 @r=`${PWD_COMMAND}`; export r; \
12901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12902 TFLAGS="$(STAGE1_TFLAGS)"; \
12903 $(HOST_EXPORTS) \
12904 cd $(HOST_SUBDIR)/mpc && \
12905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12906 CFLAGS="$(STAGE1_CFLAGS)" \
12907 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12908 LIBCFLAGS="$(LIBCFLAGS)" \
12909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12912 $(EXTRA_HOST_FLAGS) \
12913 $(STAGE1_FLAGS_TO_PASS) \
12914 TFLAGS="$(STAGE1_TFLAGS)" \
12915 $(TARGET-stage1-mpc)
12917 maybe-clean-stage1-mpc: clean-stage1-mpc
12918 clean-stage1: clean-stage1-mpc
12919 clean-stage1-mpc:
12920 @if [ $(current_stage) = stage1 ]; then \
12921 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12922 else \
12923 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12924 $(MAKE) stage1-start; \
12925 fi; \
12926 cd $(HOST_SUBDIR)/mpc && \
12927 $(MAKE) $(EXTRA_HOST_FLAGS) \
12928 $(STAGE1_FLAGS_TO_PASS) clean
12929 @endif mpc-bootstrap
12932 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12933 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12934 maybe-all-stage2-mpc:
12935 maybe-clean-stage2-mpc:
12936 @if mpc-bootstrap
12937 maybe-all-stage2-mpc: all-stage2-mpc
12938 all-stage2: all-stage2-mpc
12939 TARGET-stage2-mpc = $(TARGET-mpc)
12940 all-stage2-mpc: configure-stage2-mpc
12941 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12942 @r=`${PWD_COMMAND}`; export r; \
12943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12944 TFLAGS="$(STAGE2_TFLAGS)"; \
12945 $(HOST_EXPORTS) \
12946 $(POSTSTAGE1_HOST_EXPORTS) \
12947 cd $(HOST_SUBDIR)/mpc && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12949 CFLAGS="$(STAGE2_CFLAGS)" \
12950 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12951 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12956 TFLAGS="$(STAGE2_TFLAGS)" \
12957 $(TARGET-stage2-mpc)
12959 maybe-clean-stage2-mpc: clean-stage2-mpc
12960 clean-stage2: clean-stage2-mpc
12961 clean-stage2-mpc:
12962 @if [ $(current_stage) = stage2 ]; then \
12963 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12964 else \
12965 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12966 $(MAKE) stage2-start; \
12967 fi; \
12968 cd $(HOST_SUBDIR)/mpc && \
12969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12970 @endif mpc-bootstrap
12973 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12974 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12975 maybe-all-stage3-mpc:
12976 maybe-clean-stage3-mpc:
12977 @if mpc-bootstrap
12978 maybe-all-stage3-mpc: all-stage3-mpc
12979 all-stage3: all-stage3-mpc
12980 TARGET-stage3-mpc = $(TARGET-mpc)
12981 all-stage3-mpc: configure-stage3-mpc
12982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12983 @r=`${PWD_COMMAND}`; export r; \
12984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12985 TFLAGS="$(STAGE3_TFLAGS)"; \
12986 $(HOST_EXPORTS) \
12987 $(POSTSTAGE1_HOST_EXPORTS) \
12988 cd $(HOST_SUBDIR)/mpc && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12990 CFLAGS="$(STAGE3_CFLAGS)" \
12991 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12992 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12997 TFLAGS="$(STAGE3_TFLAGS)" \
12998 $(TARGET-stage3-mpc)
13000 maybe-clean-stage3-mpc: clean-stage3-mpc
13001 clean-stage3: clean-stage3-mpc
13002 clean-stage3-mpc:
13003 @if [ $(current_stage) = stage3 ]; then \
13004 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13005 else \
13006 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13007 $(MAKE) stage3-start; \
13008 fi; \
13009 cd $(HOST_SUBDIR)/mpc && \
13010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13011 @endif mpc-bootstrap
13014 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13015 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13016 maybe-all-stage4-mpc:
13017 maybe-clean-stage4-mpc:
13018 @if mpc-bootstrap
13019 maybe-all-stage4-mpc: all-stage4-mpc
13020 all-stage4: all-stage4-mpc
13021 TARGET-stage4-mpc = $(TARGET-mpc)
13022 all-stage4-mpc: configure-stage4-mpc
13023 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13024 @r=`${PWD_COMMAND}`; export r; \
13025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13026 TFLAGS="$(STAGE4_TFLAGS)"; \
13027 $(HOST_EXPORTS) \
13028 $(POSTSTAGE1_HOST_EXPORTS) \
13029 cd $(HOST_SUBDIR)/mpc && \
13030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13031 CFLAGS="$(STAGE4_CFLAGS)" \
13032 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13033 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13038 TFLAGS="$(STAGE4_TFLAGS)" \
13039 $(TARGET-stage4-mpc)
13041 maybe-clean-stage4-mpc: clean-stage4-mpc
13042 clean-stage4: clean-stage4-mpc
13043 clean-stage4-mpc:
13044 @if [ $(current_stage) = stage4 ]; then \
13045 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13046 else \
13047 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13048 $(MAKE) stage4-start; \
13049 fi; \
13050 cd $(HOST_SUBDIR)/mpc && \
13051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13052 @endif mpc-bootstrap
13055 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13056 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13057 maybe-all-stageprofile-mpc:
13058 maybe-clean-stageprofile-mpc:
13059 @if mpc-bootstrap
13060 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13061 all-stageprofile: all-stageprofile-mpc
13062 TARGET-stageprofile-mpc = $(TARGET-mpc)
13063 all-stageprofile-mpc: configure-stageprofile-mpc
13064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13065 @r=`${PWD_COMMAND}`; export r; \
13066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13067 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13068 $(HOST_EXPORTS) \
13069 $(POSTSTAGE1_HOST_EXPORTS) \
13070 cd $(HOST_SUBDIR)/mpc && \
13071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13072 CFLAGS="$(STAGEprofile_CFLAGS)" \
13073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13074 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13079 TFLAGS="$(STAGEprofile_TFLAGS)" \
13080 $(TARGET-stageprofile-mpc)
13082 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13083 clean-stageprofile: clean-stageprofile-mpc
13084 clean-stageprofile-mpc:
13085 @if [ $(current_stage) = stageprofile ]; then \
13086 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13087 else \
13088 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13089 $(MAKE) stageprofile-start; \
13090 fi; \
13091 cd $(HOST_SUBDIR)/mpc && \
13092 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13093 @endif mpc-bootstrap
13096 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13097 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13098 maybe-all-stagefeedback-mpc:
13099 maybe-clean-stagefeedback-mpc:
13100 @if mpc-bootstrap
13101 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13102 all-stagefeedback: all-stagefeedback-mpc
13103 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13104 all-stagefeedback-mpc: configure-stagefeedback-mpc
13105 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13106 @r=`${PWD_COMMAND}`; export r; \
13107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13108 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13109 $(HOST_EXPORTS) \
13110 $(POSTSTAGE1_HOST_EXPORTS) \
13111 cd $(HOST_SUBDIR)/mpc && \
13112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13113 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13114 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13115 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13120 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13121 $(TARGET-stagefeedback-mpc)
13123 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13124 clean-stagefeedback: clean-stagefeedback-mpc
13125 clean-stagefeedback-mpc:
13126 @if [ $(current_stage) = stagefeedback ]; then \
13127 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13128 else \
13129 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13130 $(MAKE) stagefeedback-start; \
13131 fi; \
13132 cd $(HOST_SUBDIR)/mpc && \
13133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13134 @endif mpc-bootstrap
13140 .PHONY: check-mpc maybe-check-mpc
13141 maybe-check-mpc:
13142 @if mpc
13143 maybe-check-mpc: check-mpc
13145 check-mpc:
13146 @: $(MAKE); $(unstage)
13147 @r=`${PWD_COMMAND}`; export r; \
13148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149 $(HOST_EXPORTS) \
13150 (cd $(HOST_SUBDIR)/mpc && \
13151 $(MAKE) $(FLAGS_TO_PASS) check)
13153 @endif mpc
13155 .PHONY: install-mpc maybe-install-mpc
13156 maybe-install-mpc:
13157 @if mpc
13158 maybe-install-mpc: install-mpc
13160 install-mpc:
13162 @endif mpc
13164 .PHONY: install-strip-mpc maybe-install-strip-mpc
13165 maybe-install-strip-mpc:
13166 @if mpc
13167 maybe-install-strip-mpc: install-strip-mpc
13169 install-strip-mpc:
13171 @endif mpc
13173 # Other targets (info, dvi, pdf, etc.)
13175 .PHONY: maybe-info-mpc info-mpc
13176 maybe-info-mpc:
13177 @if mpc
13178 maybe-info-mpc: info-mpc
13180 info-mpc: \
13181 configure-mpc
13182 @[ -f ./mpc/Makefile ] || exit 0; \
13183 r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185 $(HOST_EXPORTS) \
13186 for flag in $(EXTRA_HOST_FLAGS) ; do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188 done; \
13189 echo "Doing info in mpc" ; \
13190 (cd $(HOST_SUBDIR)/mpc && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13195 info) \
13196 || exit 1
13198 @endif mpc
13200 .PHONY: maybe-dvi-mpc dvi-mpc
13201 maybe-dvi-mpc:
13202 @if mpc
13203 maybe-dvi-mpc: dvi-mpc
13205 dvi-mpc: \
13206 configure-mpc
13207 @[ -f ./mpc/Makefile ] || exit 0; \
13208 r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 $(HOST_EXPORTS) \
13211 for flag in $(EXTRA_HOST_FLAGS) ; do \
13212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13213 done; \
13214 echo "Doing dvi in mpc" ; \
13215 (cd $(HOST_SUBDIR)/mpc && \
13216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13218 "RANLIB=$${RANLIB}" \
13219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13220 dvi) \
13221 || exit 1
13223 @endif mpc
13225 .PHONY: maybe-pdf-mpc pdf-mpc
13226 maybe-pdf-mpc:
13227 @if mpc
13228 maybe-pdf-mpc: pdf-mpc
13230 pdf-mpc: \
13231 configure-mpc
13232 @[ -f ./mpc/Makefile ] || exit 0; \
13233 r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) ; do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing pdf in mpc" ; \
13240 (cd $(HOST_SUBDIR)/mpc && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13245 pdf) \
13246 || exit 1
13248 @endif mpc
13250 .PHONY: maybe-html-mpc html-mpc
13251 maybe-html-mpc:
13252 @if mpc
13253 maybe-html-mpc: html-mpc
13255 html-mpc: \
13256 configure-mpc
13257 @[ -f ./mpc/Makefile ] || exit 0; \
13258 r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 $(HOST_EXPORTS) \
13261 for flag in $(EXTRA_HOST_FLAGS) ; do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing html in mpc" ; \
13265 (cd $(HOST_SUBDIR)/mpc && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13270 html) \
13271 || exit 1
13273 @endif mpc
13275 .PHONY: maybe-TAGS-mpc TAGS-mpc
13276 maybe-TAGS-mpc:
13277 @if mpc
13278 maybe-TAGS-mpc: TAGS-mpc
13280 TAGS-mpc: \
13281 configure-mpc
13282 @[ -f ./mpc/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(HOST_EXPORTS) \
13286 for flag in $(EXTRA_HOST_FLAGS) ; do \
13287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13288 done; \
13289 echo "Doing TAGS in mpc" ; \
13290 (cd $(HOST_SUBDIR)/mpc && \
13291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13293 "RANLIB=$${RANLIB}" \
13294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13295 TAGS) \
13296 || exit 1
13298 @endif mpc
13300 .PHONY: maybe-install-info-mpc install-info-mpc
13301 maybe-install-info-mpc:
13302 @if mpc
13303 maybe-install-info-mpc: install-info-mpc
13305 install-info-mpc: \
13306 configure-mpc \
13307 info-mpc
13308 @[ -f ./mpc/Makefile ] || exit 0; \
13309 r=`${PWD_COMMAND}`; export r; \
13310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13311 $(HOST_EXPORTS) \
13312 for flag in $(EXTRA_HOST_FLAGS) ; do \
13313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13314 done; \
13315 echo "Doing install-info in mpc" ; \
13316 (cd $(HOST_SUBDIR)/mpc && \
13317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13319 "RANLIB=$${RANLIB}" \
13320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13321 install-info) \
13322 || exit 1
13324 @endif mpc
13326 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13327 maybe-install-pdf-mpc:
13328 @if mpc
13329 maybe-install-pdf-mpc: install-pdf-mpc
13331 install-pdf-mpc: \
13332 configure-mpc \
13333 pdf-mpc
13334 @[ -f ./mpc/Makefile ] || exit 0; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 for flag in $(EXTRA_HOST_FLAGS) ; do \
13339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13340 done; \
13341 echo "Doing install-pdf in mpc" ; \
13342 (cd $(HOST_SUBDIR)/mpc && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13345 "RANLIB=$${RANLIB}" \
13346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13347 install-pdf) \
13348 || exit 1
13350 @endif mpc
13352 .PHONY: maybe-install-html-mpc install-html-mpc
13353 maybe-install-html-mpc:
13354 @if mpc
13355 maybe-install-html-mpc: install-html-mpc
13357 install-html-mpc: \
13358 configure-mpc \
13359 html-mpc
13360 @[ -f ./mpc/Makefile ] || exit 0; \
13361 r=`${PWD_COMMAND}`; export r; \
13362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13363 $(HOST_EXPORTS) \
13364 for flag in $(EXTRA_HOST_FLAGS) ; do \
13365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13366 done; \
13367 echo "Doing install-html in mpc" ; \
13368 (cd $(HOST_SUBDIR)/mpc && \
13369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13371 "RANLIB=$${RANLIB}" \
13372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13373 install-html) \
13374 || exit 1
13376 @endif mpc
13378 .PHONY: maybe-installcheck-mpc installcheck-mpc
13379 maybe-installcheck-mpc:
13380 @if mpc
13381 maybe-installcheck-mpc: installcheck-mpc
13383 installcheck-mpc: \
13384 configure-mpc
13385 @[ -f ./mpc/Makefile ] || exit 0; \
13386 r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 $(HOST_EXPORTS) \
13389 for flag in $(EXTRA_HOST_FLAGS) ; do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 done; \
13392 echo "Doing installcheck in mpc" ; \
13393 (cd $(HOST_SUBDIR)/mpc && \
13394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396 "RANLIB=$${RANLIB}" \
13397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13398 installcheck) \
13399 || exit 1
13401 @endif mpc
13403 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13404 maybe-mostlyclean-mpc:
13405 @if mpc
13406 maybe-mostlyclean-mpc: mostlyclean-mpc
13408 mostlyclean-mpc:
13409 @[ -f ./mpc/Makefile ] || exit 0; \
13410 r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412 $(HOST_EXPORTS) \
13413 for flag in $(EXTRA_HOST_FLAGS) ; do \
13414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13415 done; \
13416 echo "Doing mostlyclean in mpc" ; \
13417 (cd $(HOST_SUBDIR)/mpc && \
13418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13420 "RANLIB=$${RANLIB}" \
13421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13422 mostlyclean) \
13423 || exit 1
13425 @endif mpc
13427 .PHONY: maybe-clean-mpc clean-mpc
13428 maybe-clean-mpc:
13429 @if mpc
13430 maybe-clean-mpc: clean-mpc
13432 clean-mpc:
13433 @[ -f ./mpc/Makefile ] || exit 0; \
13434 r=`${PWD_COMMAND}`; export r; \
13435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13436 $(HOST_EXPORTS) \
13437 for flag in $(EXTRA_HOST_FLAGS) ; do \
13438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13439 done; \
13440 echo "Doing clean in mpc" ; \
13441 (cd $(HOST_SUBDIR)/mpc && \
13442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13444 "RANLIB=$${RANLIB}" \
13445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13446 clean) \
13447 || exit 1
13449 @endif mpc
13451 .PHONY: maybe-distclean-mpc distclean-mpc
13452 maybe-distclean-mpc:
13453 @if mpc
13454 maybe-distclean-mpc: distclean-mpc
13456 distclean-mpc:
13457 @[ -f ./mpc/Makefile ] || exit 0; \
13458 r=`${PWD_COMMAND}`; export r; \
13459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13460 $(HOST_EXPORTS) \
13461 for flag in $(EXTRA_HOST_FLAGS) ; do \
13462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13463 done; \
13464 echo "Doing distclean in mpc" ; \
13465 (cd $(HOST_SUBDIR)/mpc && \
13466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13468 "RANLIB=$${RANLIB}" \
13469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13470 distclean) \
13471 || exit 1
13473 @endif mpc
13475 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13476 maybe-maintainer-clean-mpc:
13477 @if mpc
13478 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13480 maintainer-clean-mpc:
13481 @[ -f ./mpc/Makefile ] || exit 0; \
13482 r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484 $(HOST_EXPORTS) \
13485 for flag in $(EXTRA_HOST_FLAGS) ; do \
13486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13487 done; \
13488 echo "Doing maintainer-clean in mpc" ; \
13489 (cd $(HOST_SUBDIR)/mpc && \
13490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13492 "RANLIB=$${RANLIB}" \
13493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13494 maintainer-clean) \
13495 || exit 1
13497 @endif mpc
13501 .PHONY: configure-isl maybe-configure-isl
13502 maybe-configure-isl:
13503 @if gcc-bootstrap
13504 configure-isl: stage_current
13505 @endif gcc-bootstrap
13506 @if isl
13507 maybe-configure-isl: configure-isl
13508 configure-isl:
13509 @r=`${PWD_COMMAND}`; export r; \
13510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13511 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13513 $(HOST_EXPORTS) \
13514 echo Configuring in $(HOST_SUBDIR)/isl; \
13515 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13516 case $(srcdir) in \
13517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13518 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13520 esac; \
13521 module_srcdir=isl; \
13522 $(SHELL) \
13523 $$s/$$module_srcdir/configure \
13524 --srcdir=$${topdir}/$$module_srcdir \
13525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13526 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13527 || exit 1
13528 @endif isl
13532 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13533 maybe-configure-stage1-isl:
13534 @if isl-bootstrap
13535 maybe-configure-stage1-isl: configure-stage1-isl
13536 configure-stage1-isl:
13537 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13539 @r=`${PWD_COMMAND}`; export r; \
13540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13541 TFLAGS="$(STAGE1_TFLAGS)"; \
13542 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13543 $(HOST_EXPORTS) \
13544 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13545 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13546 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13547 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13549 cd $(HOST_SUBDIR)/isl || exit 1; \
13550 case $(srcdir) in \
13551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13552 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13554 esac; \
13555 module_srcdir=isl; \
13556 $(SHELL) $$s/$$module_srcdir/configure \
13557 --srcdir=$${topdir}/$$module_srcdir \
13558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13559 --target=${target_alias} \
13561 $(STAGE1_CONFIGURE_FLAGS) \
13562 --disable-shared @extra_isl_gmp_configure_flags@
13563 @endif isl-bootstrap
13565 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13566 maybe-configure-stage2-isl:
13567 @if isl-bootstrap
13568 maybe-configure-stage2-isl: configure-stage2-isl
13569 configure-stage2-isl:
13570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13572 @r=`${PWD_COMMAND}`; export r; \
13573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13574 TFLAGS="$(STAGE2_TFLAGS)"; \
13575 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13576 $(HOST_EXPORTS) \
13577 $(POSTSTAGE1_HOST_EXPORTS) \
13578 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13579 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13580 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13581 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13583 cd $(HOST_SUBDIR)/isl || exit 1; \
13584 case $(srcdir) in \
13585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13586 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13588 esac; \
13589 module_srcdir=isl; \
13590 $(SHELL) $$s/$$module_srcdir/configure \
13591 --srcdir=$${topdir}/$$module_srcdir \
13592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13593 --target=${target_alias} \
13594 --with-build-libsubdir=$(HOST_SUBDIR) \
13595 $(STAGE2_CONFIGURE_FLAGS) \
13596 --disable-shared @extra_isl_gmp_configure_flags@
13597 @endif isl-bootstrap
13599 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13600 maybe-configure-stage3-isl:
13601 @if isl-bootstrap
13602 maybe-configure-stage3-isl: configure-stage3-isl
13603 configure-stage3-isl:
13604 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13606 @r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 TFLAGS="$(STAGE3_TFLAGS)"; \
13609 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13610 $(HOST_EXPORTS) \
13611 $(POSTSTAGE1_HOST_EXPORTS) \
13612 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13613 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13614 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13615 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13617 cd $(HOST_SUBDIR)/isl || exit 1; \
13618 case $(srcdir) in \
13619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13620 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13622 esac; \
13623 module_srcdir=isl; \
13624 $(SHELL) $$s/$$module_srcdir/configure \
13625 --srcdir=$${topdir}/$$module_srcdir \
13626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13627 --target=${target_alias} \
13628 --with-build-libsubdir=$(HOST_SUBDIR) \
13629 $(STAGE3_CONFIGURE_FLAGS) \
13630 --disable-shared @extra_isl_gmp_configure_flags@
13631 @endif isl-bootstrap
13633 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13634 maybe-configure-stage4-isl:
13635 @if isl-bootstrap
13636 maybe-configure-stage4-isl: configure-stage4-isl
13637 configure-stage4-isl:
13638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13640 @r=`${PWD_COMMAND}`; export r; \
13641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13642 TFLAGS="$(STAGE4_TFLAGS)"; \
13643 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13644 $(HOST_EXPORTS) \
13645 $(POSTSTAGE1_HOST_EXPORTS) \
13646 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13647 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13648 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13649 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13651 cd $(HOST_SUBDIR)/isl || exit 1; \
13652 case $(srcdir) in \
13653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13654 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13656 esac; \
13657 module_srcdir=isl; \
13658 $(SHELL) $$s/$$module_srcdir/configure \
13659 --srcdir=$${topdir}/$$module_srcdir \
13660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13661 --target=${target_alias} \
13662 --with-build-libsubdir=$(HOST_SUBDIR) \
13663 $(STAGE4_CONFIGURE_FLAGS) \
13664 --disable-shared @extra_isl_gmp_configure_flags@
13665 @endif isl-bootstrap
13667 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13668 maybe-configure-stageprofile-isl:
13669 @if isl-bootstrap
13670 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13671 configure-stageprofile-isl:
13672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13674 @r=`${PWD_COMMAND}`; export r; \
13675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13676 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13677 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13678 $(HOST_EXPORTS) \
13679 $(POSTSTAGE1_HOST_EXPORTS) \
13680 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13681 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13682 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13683 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13685 cd $(HOST_SUBDIR)/isl || exit 1; \
13686 case $(srcdir) in \
13687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13688 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13690 esac; \
13691 module_srcdir=isl; \
13692 $(SHELL) $$s/$$module_srcdir/configure \
13693 --srcdir=$${topdir}/$$module_srcdir \
13694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13695 --target=${target_alias} \
13696 --with-build-libsubdir=$(HOST_SUBDIR) \
13697 $(STAGEprofile_CONFIGURE_FLAGS) \
13698 --disable-shared @extra_isl_gmp_configure_flags@
13699 @endif isl-bootstrap
13701 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13702 maybe-configure-stagefeedback-isl:
13703 @if isl-bootstrap
13704 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13705 configure-stagefeedback-isl:
13706 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13708 @r=`${PWD_COMMAND}`; export r; \
13709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13710 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13711 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13712 $(HOST_EXPORTS) \
13713 $(POSTSTAGE1_HOST_EXPORTS) \
13714 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13715 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13716 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13717 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13719 cd $(HOST_SUBDIR)/isl || exit 1; \
13720 case $(srcdir) in \
13721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13722 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13724 esac; \
13725 module_srcdir=isl; \
13726 $(SHELL) $$s/$$module_srcdir/configure \
13727 --srcdir=$${topdir}/$$module_srcdir \
13728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13729 --target=${target_alias} \
13730 --with-build-libsubdir=$(HOST_SUBDIR) \
13731 $(STAGEfeedback_CONFIGURE_FLAGS) \
13732 --disable-shared @extra_isl_gmp_configure_flags@
13733 @endif isl-bootstrap
13739 .PHONY: all-isl maybe-all-isl
13740 maybe-all-isl:
13741 @if gcc-bootstrap
13742 all-isl: stage_current
13743 @endif gcc-bootstrap
13744 @if isl
13745 TARGET-isl=all
13746 maybe-all-isl: all-isl
13747 all-isl: configure-isl
13748 @r=`${PWD_COMMAND}`; export r; \
13749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13750 $(HOST_EXPORTS) \
13751 (cd $(HOST_SUBDIR)/isl && \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13753 $(TARGET-isl))
13754 @endif isl
13758 .PHONY: all-stage1-isl maybe-all-stage1-isl
13759 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13760 maybe-all-stage1-isl:
13761 maybe-clean-stage1-isl:
13762 @if isl-bootstrap
13763 maybe-all-stage1-isl: all-stage1-isl
13764 all-stage1: all-stage1-isl
13765 TARGET-stage1-isl = $(TARGET-isl)
13766 all-stage1-isl: configure-stage1-isl
13767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13768 @r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 TFLAGS="$(STAGE1_TFLAGS)"; \
13771 $(HOST_EXPORTS) \
13772 cd $(HOST_SUBDIR)/isl && \
13773 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13774 CFLAGS="$(STAGE1_CFLAGS)" \
13775 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13776 LIBCFLAGS="$(LIBCFLAGS)" \
13777 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13778 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13779 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13780 $(EXTRA_HOST_FLAGS) \
13781 $(STAGE1_FLAGS_TO_PASS) V=1 \
13782 TFLAGS="$(STAGE1_TFLAGS)" \
13783 $(TARGET-stage1-isl)
13785 maybe-clean-stage1-isl: clean-stage1-isl
13786 clean-stage1: clean-stage1-isl
13787 clean-stage1-isl:
13788 @if [ $(current_stage) = stage1 ]; then \
13789 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13790 else \
13791 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13792 $(MAKE) stage1-start; \
13793 fi; \
13794 cd $(HOST_SUBDIR)/isl && \
13795 $(MAKE) $(EXTRA_HOST_FLAGS) \
13796 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13797 @endif isl-bootstrap
13800 .PHONY: all-stage2-isl maybe-all-stage2-isl
13801 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13802 maybe-all-stage2-isl:
13803 maybe-clean-stage2-isl:
13804 @if isl-bootstrap
13805 maybe-all-stage2-isl: all-stage2-isl
13806 all-stage2: all-stage2-isl
13807 TARGET-stage2-isl = $(TARGET-isl)
13808 all-stage2-isl: configure-stage2-isl
13809 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13810 @r=`${PWD_COMMAND}`; export r; \
13811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 TFLAGS="$(STAGE2_TFLAGS)"; \
13813 $(HOST_EXPORTS) \
13814 $(POSTSTAGE1_HOST_EXPORTS) \
13815 cd $(HOST_SUBDIR)/isl && \
13816 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13817 CFLAGS="$(STAGE2_CFLAGS)" \
13818 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13819 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13820 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13821 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13822 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13823 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13824 TFLAGS="$(STAGE2_TFLAGS)" \
13825 $(TARGET-stage2-isl)
13827 maybe-clean-stage2-isl: clean-stage2-isl
13828 clean-stage2: clean-stage2-isl
13829 clean-stage2-isl:
13830 @if [ $(current_stage) = stage2 ]; then \
13831 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13832 else \
13833 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13834 $(MAKE) stage2-start; \
13835 fi; \
13836 cd $(HOST_SUBDIR)/isl && \
13837 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13838 @endif isl-bootstrap
13841 .PHONY: all-stage3-isl maybe-all-stage3-isl
13842 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13843 maybe-all-stage3-isl:
13844 maybe-clean-stage3-isl:
13845 @if isl-bootstrap
13846 maybe-all-stage3-isl: all-stage3-isl
13847 all-stage3: all-stage3-isl
13848 TARGET-stage3-isl = $(TARGET-isl)
13849 all-stage3-isl: configure-stage3-isl
13850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13851 @r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 TFLAGS="$(STAGE3_TFLAGS)"; \
13854 $(HOST_EXPORTS) \
13855 $(POSTSTAGE1_HOST_EXPORTS) \
13856 cd $(HOST_SUBDIR)/isl && \
13857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13858 CFLAGS="$(STAGE3_CFLAGS)" \
13859 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13860 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13864 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13865 TFLAGS="$(STAGE3_TFLAGS)" \
13866 $(TARGET-stage3-isl)
13868 maybe-clean-stage3-isl: clean-stage3-isl
13869 clean-stage3: clean-stage3-isl
13870 clean-stage3-isl:
13871 @if [ $(current_stage) = stage3 ]; then \
13872 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13873 else \
13874 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13875 $(MAKE) stage3-start; \
13876 fi; \
13877 cd $(HOST_SUBDIR)/isl && \
13878 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13879 @endif isl-bootstrap
13882 .PHONY: all-stage4-isl maybe-all-stage4-isl
13883 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13884 maybe-all-stage4-isl:
13885 maybe-clean-stage4-isl:
13886 @if isl-bootstrap
13887 maybe-all-stage4-isl: all-stage4-isl
13888 all-stage4: all-stage4-isl
13889 TARGET-stage4-isl = $(TARGET-isl)
13890 all-stage4-isl: configure-stage4-isl
13891 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13892 @r=`${PWD_COMMAND}`; export r; \
13893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13894 TFLAGS="$(STAGE4_TFLAGS)"; \
13895 $(HOST_EXPORTS) \
13896 $(POSTSTAGE1_HOST_EXPORTS) \
13897 cd $(HOST_SUBDIR)/isl && \
13898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13899 CFLAGS="$(STAGE4_CFLAGS)" \
13900 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13901 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13905 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13906 TFLAGS="$(STAGE4_TFLAGS)" \
13907 $(TARGET-stage4-isl)
13909 maybe-clean-stage4-isl: clean-stage4-isl
13910 clean-stage4: clean-stage4-isl
13911 clean-stage4-isl:
13912 @if [ $(current_stage) = stage4 ]; then \
13913 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13914 else \
13915 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13916 $(MAKE) stage4-start; \
13917 fi; \
13918 cd $(HOST_SUBDIR)/isl && \
13919 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13920 @endif isl-bootstrap
13923 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13924 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13925 maybe-all-stageprofile-isl:
13926 maybe-clean-stageprofile-isl:
13927 @if isl-bootstrap
13928 maybe-all-stageprofile-isl: all-stageprofile-isl
13929 all-stageprofile: all-stageprofile-isl
13930 TARGET-stageprofile-isl = $(TARGET-isl)
13931 all-stageprofile-isl: configure-stageprofile-isl
13932 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13933 @r=`${PWD_COMMAND}`; export r; \
13934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13935 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13936 $(HOST_EXPORTS) \
13937 $(POSTSTAGE1_HOST_EXPORTS) \
13938 cd $(HOST_SUBDIR)/isl && \
13939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13940 CFLAGS="$(STAGEprofile_CFLAGS)" \
13941 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13942 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13947 TFLAGS="$(STAGEprofile_TFLAGS)" \
13948 $(TARGET-stageprofile-isl)
13950 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13951 clean-stageprofile: clean-stageprofile-isl
13952 clean-stageprofile-isl:
13953 @if [ $(current_stage) = stageprofile ]; then \
13954 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13955 else \
13956 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13957 $(MAKE) stageprofile-start; \
13958 fi; \
13959 cd $(HOST_SUBDIR)/isl && \
13960 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13961 @endif isl-bootstrap
13964 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13965 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13966 maybe-all-stagefeedback-isl:
13967 maybe-clean-stagefeedback-isl:
13968 @if isl-bootstrap
13969 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13970 all-stagefeedback: all-stagefeedback-isl
13971 TARGET-stagefeedback-isl = $(TARGET-isl)
13972 all-stagefeedback-isl: configure-stagefeedback-isl
13973 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13974 @r=`${PWD_COMMAND}`; export r; \
13975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13977 $(HOST_EXPORTS) \
13978 $(POSTSTAGE1_HOST_EXPORTS) \
13979 cd $(HOST_SUBDIR)/isl && \
13980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13981 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13982 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13983 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13988 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13989 $(TARGET-stagefeedback-isl)
13991 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13992 clean-stagefeedback: clean-stagefeedback-isl
13993 clean-stagefeedback-isl:
13994 @if [ $(current_stage) = stagefeedback ]; then \
13995 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13996 else \
13997 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13998 $(MAKE) stagefeedback-start; \
13999 fi; \
14000 cd $(HOST_SUBDIR)/isl && \
14001 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14002 @endif isl-bootstrap
14008 .PHONY: check-isl maybe-check-isl
14009 maybe-check-isl:
14010 @if isl
14011 maybe-check-isl: check-isl
14013 check-isl:
14014 @: $(MAKE); $(unstage)
14015 @r=`${PWD_COMMAND}`; export r; \
14016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14017 $(HOST_EXPORTS) \
14018 (cd $(HOST_SUBDIR)/isl && \
14019 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14021 @endif isl
14023 .PHONY: install-isl maybe-install-isl
14024 maybe-install-isl:
14025 @if isl
14026 maybe-install-isl: install-isl
14028 install-isl:
14030 @endif isl
14032 .PHONY: install-strip-isl maybe-install-strip-isl
14033 maybe-install-strip-isl:
14034 @if isl
14035 maybe-install-strip-isl: install-strip-isl
14037 install-strip-isl:
14039 @endif isl
14041 # Other targets (info, dvi, pdf, etc.)
14043 .PHONY: maybe-info-isl info-isl
14044 maybe-info-isl:
14045 @if isl
14046 maybe-info-isl: info-isl
14048 info-isl: \
14049 configure-isl
14050 @[ -f ./isl/Makefile ] || exit 0; \
14051 r=`${PWD_COMMAND}`; export r; \
14052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14053 $(HOST_EXPORTS) \
14054 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14056 done; \
14057 echo "Doing info in isl" ; \
14058 (cd $(HOST_SUBDIR)/isl && \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14061 "RANLIB=$${RANLIB}" \
14062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14063 info) \
14064 || exit 1
14066 @endif isl
14068 .PHONY: maybe-dvi-isl dvi-isl
14069 maybe-dvi-isl:
14070 @if isl
14071 maybe-dvi-isl: dvi-isl
14073 dvi-isl: \
14074 configure-isl
14075 @[ -f ./isl/Makefile ] || exit 0; \
14076 r=`${PWD_COMMAND}`; export r; \
14077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 $(HOST_EXPORTS) \
14079 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14081 done; \
14082 echo "Doing dvi in isl" ; \
14083 (cd $(HOST_SUBDIR)/isl && \
14084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14086 "RANLIB=$${RANLIB}" \
14087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14088 dvi) \
14089 || exit 1
14091 @endif isl
14093 .PHONY: maybe-pdf-isl pdf-isl
14094 maybe-pdf-isl:
14095 @if isl
14096 maybe-pdf-isl: pdf-isl
14098 pdf-isl: \
14099 configure-isl
14100 @[ -f ./isl/Makefile ] || exit 0; \
14101 r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 $(HOST_EXPORTS) \
14104 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14106 done; \
14107 echo "Doing pdf in isl" ; \
14108 (cd $(HOST_SUBDIR)/isl && \
14109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14111 "RANLIB=$${RANLIB}" \
14112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14113 pdf) \
14114 || exit 1
14116 @endif isl
14118 .PHONY: maybe-html-isl html-isl
14119 maybe-html-isl:
14120 @if isl
14121 maybe-html-isl: html-isl
14123 html-isl: \
14124 configure-isl
14125 @[ -f ./isl/Makefile ] || exit 0; \
14126 r=`${PWD_COMMAND}`; export r; \
14127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14128 $(HOST_EXPORTS) \
14129 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14131 done; \
14132 echo "Doing html in isl" ; \
14133 (cd $(HOST_SUBDIR)/isl && \
14134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14136 "RANLIB=$${RANLIB}" \
14137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14138 html) \
14139 || exit 1
14141 @endif isl
14143 .PHONY: maybe-TAGS-isl TAGS-isl
14144 maybe-TAGS-isl:
14145 @if isl
14146 maybe-TAGS-isl: TAGS-isl
14148 TAGS-isl: \
14149 configure-isl
14150 @[ -f ./isl/Makefile ] || exit 0; \
14151 r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 $(HOST_EXPORTS) \
14154 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14156 done; \
14157 echo "Doing TAGS in isl" ; \
14158 (cd $(HOST_SUBDIR)/isl && \
14159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14161 "RANLIB=$${RANLIB}" \
14162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14163 TAGS) \
14164 || exit 1
14166 @endif isl
14168 .PHONY: maybe-install-info-isl install-info-isl
14169 maybe-install-info-isl:
14170 @if isl
14171 maybe-install-info-isl: install-info-isl
14173 install-info-isl: \
14174 configure-isl \
14175 info-isl
14176 @[ -f ./isl/Makefile ] || exit 0; \
14177 r=`${PWD_COMMAND}`; export r; \
14178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14179 $(HOST_EXPORTS) \
14180 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14182 done; \
14183 echo "Doing install-info in isl" ; \
14184 (cd $(HOST_SUBDIR)/isl && \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14187 "RANLIB=$${RANLIB}" \
14188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14189 install-info) \
14190 || exit 1
14192 @endif isl
14194 .PHONY: maybe-install-pdf-isl install-pdf-isl
14195 maybe-install-pdf-isl:
14196 @if isl
14197 maybe-install-pdf-isl: install-pdf-isl
14199 install-pdf-isl: \
14200 configure-isl \
14201 pdf-isl
14202 @[ -f ./isl/Makefile ] || exit 0; \
14203 r=`${PWD_COMMAND}`; export r; \
14204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205 $(HOST_EXPORTS) \
14206 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14208 done; \
14209 echo "Doing install-pdf in isl" ; \
14210 (cd $(HOST_SUBDIR)/isl && \
14211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14213 "RANLIB=$${RANLIB}" \
14214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14215 install-pdf) \
14216 || exit 1
14218 @endif isl
14220 .PHONY: maybe-install-html-isl install-html-isl
14221 maybe-install-html-isl:
14222 @if isl
14223 maybe-install-html-isl: install-html-isl
14225 install-html-isl: \
14226 configure-isl \
14227 html-isl
14228 @[ -f ./isl/Makefile ] || exit 0; \
14229 r=`${PWD_COMMAND}`; export r; \
14230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14231 $(HOST_EXPORTS) \
14232 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14234 done; \
14235 echo "Doing install-html in isl" ; \
14236 (cd $(HOST_SUBDIR)/isl && \
14237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14239 "RANLIB=$${RANLIB}" \
14240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14241 install-html) \
14242 || exit 1
14244 @endif isl
14246 .PHONY: maybe-installcheck-isl installcheck-isl
14247 maybe-installcheck-isl:
14248 @if isl
14249 maybe-installcheck-isl: installcheck-isl
14251 installcheck-isl: \
14252 configure-isl
14253 @[ -f ./isl/Makefile ] || exit 0; \
14254 r=`${PWD_COMMAND}`; export r; \
14255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14256 $(HOST_EXPORTS) \
14257 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14259 done; \
14260 echo "Doing installcheck in isl" ; \
14261 (cd $(HOST_SUBDIR)/isl && \
14262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14264 "RANLIB=$${RANLIB}" \
14265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14266 installcheck) \
14267 || exit 1
14269 @endif isl
14271 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14272 maybe-mostlyclean-isl:
14273 @if isl
14274 maybe-mostlyclean-isl: mostlyclean-isl
14276 mostlyclean-isl:
14277 @[ -f ./isl/Makefile ] || exit 0; \
14278 r=`${PWD_COMMAND}`; export r; \
14279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 $(HOST_EXPORTS) \
14281 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 done; \
14284 echo "Doing mostlyclean in isl" ; \
14285 (cd $(HOST_SUBDIR)/isl && \
14286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14288 "RANLIB=$${RANLIB}" \
14289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14290 mostlyclean) \
14291 || exit 1
14293 @endif isl
14295 .PHONY: maybe-clean-isl clean-isl
14296 maybe-clean-isl:
14297 @if isl
14298 maybe-clean-isl: clean-isl
14300 clean-isl:
14301 @[ -f ./isl/Makefile ] || exit 0; \
14302 r=`${PWD_COMMAND}`; export r; \
14303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14304 $(HOST_EXPORTS) \
14305 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14307 done; \
14308 echo "Doing clean in isl" ; \
14309 (cd $(HOST_SUBDIR)/isl && \
14310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14312 "RANLIB=$${RANLIB}" \
14313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14314 clean) \
14315 || exit 1
14317 @endif isl
14319 .PHONY: maybe-distclean-isl distclean-isl
14320 maybe-distclean-isl:
14321 @if isl
14322 maybe-distclean-isl: distclean-isl
14324 distclean-isl:
14325 @[ -f ./isl/Makefile ] || exit 0; \
14326 r=`${PWD_COMMAND}`; export r; \
14327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14328 $(HOST_EXPORTS) \
14329 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14331 done; \
14332 echo "Doing distclean in isl" ; \
14333 (cd $(HOST_SUBDIR)/isl && \
14334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14336 "RANLIB=$${RANLIB}" \
14337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14338 distclean) \
14339 || exit 1
14341 @endif isl
14343 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14344 maybe-maintainer-clean-isl:
14345 @if isl
14346 maybe-maintainer-clean-isl: maintainer-clean-isl
14348 maintainer-clean-isl:
14349 @[ -f ./isl/Makefile ] || exit 0; \
14350 r=`${PWD_COMMAND}`; export r; \
14351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352 $(HOST_EXPORTS) \
14353 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14355 done; \
14356 echo "Doing maintainer-clean in isl" ; \
14357 (cd $(HOST_SUBDIR)/isl && \
14358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14360 "RANLIB=$${RANLIB}" \
14361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14362 maintainer-clean) \
14363 || exit 1
14365 @endif isl
14369 .PHONY: configure-cloog maybe-configure-cloog
14370 maybe-configure-cloog:
14371 @if gcc-bootstrap
14372 configure-cloog: stage_current
14373 @endif gcc-bootstrap
14374 @if cloog
14375 maybe-configure-cloog: configure-cloog
14376 configure-cloog:
14377 @r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14381 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14382 echo Configuring in $(HOST_SUBDIR)/cloog; \
14383 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
14384 case $(srcdir) in \
14385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14386 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14388 esac; \
14389 module_srcdir=cloog; \
14390 $(SHELL) \
14391 $$s/$$module_srcdir/configure \
14392 --srcdir=$${topdir}/$$module_srcdir \
14393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14394 --target=${target_alias} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
14395 || exit 1
14396 @endif cloog
14400 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
14401 maybe-configure-stage1-cloog:
14402 @if cloog-bootstrap
14403 maybe-configure-stage1-cloog: configure-stage1-cloog
14404 configure-stage1-cloog:
14405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14407 @r=`${PWD_COMMAND}`; export r; \
14408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14409 TFLAGS="$(STAGE1_TFLAGS)"; \
14410 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14411 $(HOST_EXPORTS) \
14412 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14413 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14414 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14415 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
14416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14417 cd $(HOST_SUBDIR)/cloog || exit 1; \
14418 case $(srcdir) in \
14419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14420 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14422 esac; \
14423 module_srcdir=cloog; \
14424 $(SHELL) $$s/$$module_srcdir/configure \
14425 --srcdir=$${topdir}/$$module_srcdir \
14426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14427 --target=${target_alias} \
14429 $(STAGE1_CONFIGURE_FLAGS) \
14430 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14431 @endif cloog-bootstrap
14433 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
14434 maybe-configure-stage2-cloog:
14435 @if cloog-bootstrap
14436 maybe-configure-stage2-cloog: configure-stage2-cloog
14437 configure-stage2-cloog:
14438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14440 @r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 TFLAGS="$(STAGE2_TFLAGS)"; \
14443 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14444 $(HOST_EXPORTS) \
14445 $(POSTSTAGE1_HOST_EXPORTS) \
14446 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14447 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14448 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14449 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
14450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14451 cd $(HOST_SUBDIR)/cloog || exit 1; \
14452 case $(srcdir) in \
14453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14454 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14456 esac; \
14457 module_srcdir=cloog; \
14458 $(SHELL) $$s/$$module_srcdir/configure \
14459 --srcdir=$${topdir}/$$module_srcdir \
14460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14461 --target=${target_alias} \
14462 --with-build-libsubdir=$(HOST_SUBDIR) \
14463 $(STAGE2_CONFIGURE_FLAGS) \
14464 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14465 @endif cloog-bootstrap
14467 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
14468 maybe-configure-stage3-cloog:
14469 @if cloog-bootstrap
14470 maybe-configure-stage3-cloog: configure-stage3-cloog
14471 configure-stage3-cloog:
14472 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14474 @r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 TFLAGS="$(STAGE3_TFLAGS)"; \
14477 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14478 $(HOST_EXPORTS) \
14479 $(POSTSTAGE1_HOST_EXPORTS) \
14480 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14481 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14482 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14483 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14485 cd $(HOST_SUBDIR)/cloog || exit 1; \
14486 case $(srcdir) in \
14487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14488 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14490 esac; \
14491 module_srcdir=cloog; \
14492 $(SHELL) $$s/$$module_srcdir/configure \
14493 --srcdir=$${topdir}/$$module_srcdir \
14494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14495 --target=${target_alias} \
14496 --with-build-libsubdir=$(HOST_SUBDIR) \
14497 $(STAGE3_CONFIGURE_FLAGS) \
14498 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14499 @endif cloog-bootstrap
14501 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14502 maybe-configure-stage4-cloog:
14503 @if cloog-bootstrap
14504 maybe-configure-stage4-cloog: configure-stage4-cloog
14505 configure-stage4-cloog:
14506 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14508 @r=`${PWD_COMMAND}`; export r; \
14509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14510 TFLAGS="$(STAGE4_TFLAGS)"; \
14511 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14512 $(HOST_EXPORTS) \
14513 $(POSTSTAGE1_HOST_EXPORTS) \
14514 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14515 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14516 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14517 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14519 cd $(HOST_SUBDIR)/cloog || exit 1; \
14520 case $(srcdir) in \
14521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14522 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14524 esac; \
14525 module_srcdir=cloog; \
14526 $(SHELL) $$s/$$module_srcdir/configure \
14527 --srcdir=$${topdir}/$$module_srcdir \
14528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14529 --target=${target_alias} \
14530 --with-build-libsubdir=$(HOST_SUBDIR) \
14531 $(STAGE4_CONFIGURE_FLAGS) \
14532 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14533 @endif cloog-bootstrap
14535 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14536 maybe-configure-stageprofile-cloog:
14537 @if cloog-bootstrap
14538 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14539 configure-stageprofile-cloog:
14540 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14542 @r=`${PWD_COMMAND}`; export r; \
14543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14545 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14546 $(HOST_EXPORTS) \
14547 $(POSTSTAGE1_HOST_EXPORTS) \
14548 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14549 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14550 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14551 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14553 cd $(HOST_SUBDIR)/cloog || exit 1; \
14554 case $(srcdir) in \
14555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14556 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14558 esac; \
14559 module_srcdir=cloog; \
14560 $(SHELL) $$s/$$module_srcdir/configure \
14561 --srcdir=$${topdir}/$$module_srcdir \
14562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14563 --target=${target_alias} \
14564 --with-build-libsubdir=$(HOST_SUBDIR) \
14565 $(STAGEprofile_CONFIGURE_FLAGS) \
14566 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14567 @endif cloog-bootstrap
14569 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14570 maybe-configure-stagefeedback-cloog:
14571 @if cloog-bootstrap
14572 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14573 configure-stagefeedback-cloog:
14574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14576 @r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14579 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14580 $(HOST_EXPORTS) \
14581 $(POSTSTAGE1_HOST_EXPORTS) \
14582 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14585 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14587 cd $(HOST_SUBDIR)/cloog || exit 1; \
14588 case $(srcdir) in \
14589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14590 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14592 esac; \
14593 module_srcdir=cloog; \
14594 $(SHELL) $$s/$$module_srcdir/configure \
14595 --srcdir=$${topdir}/$$module_srcdir \
14596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14597 --target=${target_alias} \
14598 --with-build-libsubdir=$(HOST_SUBDIR) \
14599 $(STAGEfeedback_CONFIGURE_FLAGS) \
14600 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14601 @endif cloog-bootstrap
14607 .PHONY: all-cloog maybe-all-cloog
14608 maybe-all-cloog:
14609 @if gcc-bootstrap
14610 all-cloog: stage_current
14611 @endif gcc-bootstrap
14612 @if cloog
14613 TARGET-cloog=all
14614 maybe-all-cloog: all-cloog
14615 all-cloog: configure-cloog
14616 @r=`${PWD_COMMAND}`; export r; \
14617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14618 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14619 (cd $(HOST_SUBDIR)/cloog && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14621 $(TARGET-cloog))
14622 @endif cloog
14626 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14627 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14628 maybe-all-stage1-cloog:
14629 maybe-clean-stage1-cloog:
14630 @if cloog-bootstrap
14631 maybe-all-stage1-cloog: all-stage1-cloog
14632 all-stage1: all-stage1-cloog
14633 TARGET-stage1-cloog = $(TARGET-cloog)
14634 all-stage1-cloog: configure-stage1-cloog
14635 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14636 @r=`${PWD_COMMAND}`; export r; \
14637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638 TFLAGS="$(STAGE1_TFLAGS)"; \
14639 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14640 cd $(HOST_SUBDIR)/cloog && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14642 CFLAGS="$(STAGE1_CFLAGS)" \
14643 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14644 LIBCFLAGS="$(LIBCFLAGS)" \
14645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14648 $(EXTRA_HOST_FLAGS) \
14649 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14650 TFLAGS="$(STAGE1_TFLAGS)" \
14651 $(TARGET-stage1-cloog)
14653 maybe-clean-stage1-cloog: clean-stage1-cloog
14654 clean-stage1: clean-stage1-cloog
14655 clean-stage1-cloog:
14656 @if [ $(current_stage) = stage1 ]; then \
14657 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14658 else \
14659 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14660 $(MAKE) stage1-start; \
14661 fi; \
14662 cd $(HOST_SUBDIR)/cloog && \
14663 $(MAKE) $(EXTRA_HOST_FLAGS) \
14664 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14665 @endif cloog-bootstrap
14668 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14669 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14670 maybe-all-stage2-cloog:
14671 maybe-clean-stage2-cloog:
14672 @if cloog-bootstrap
14673 maybe-all-stage2-cloog: all-stage2-cloog
14674 all-stage2: all-stage2-cloog
14675 TARGET-stage2-cloog = $(TARGET-cloog)
14676 all-stage2-cloog: configure-stage2-cloog
14677 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14678 @r=`${PWD_COMMAND}`; export r; \
14679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14680 TFLAGS="$(STAGE2_TFLAGS)"; \
14681 $(HOST_EXPORTS) \
14682 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14683 cd $(HOST_SUBDIR)/cloog && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14685 CFLAGS="$(STAGE2_CFLAGS)" \
14686 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14687 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14692 TFLAGS="$(STAGE2_TFLAGS)" \
14693 $(TARGET-stage2-cloog)
14695 maybe-clean-stage2-cloog: clean-stage2-cloog
14696 clean-stage2: clean-stage2-cloog
14697 clean-stage2-cloog:
14698 @if [ $(current_stage) = stage2 ]; then \
14699 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14700 else \
14701 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14702 $(MAKE) stage2-start; \
14703 fi; \
14704 cd $(HOST_SUBDIR)/cloog && \
14705 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14706 @endif cloog-bootstrap
14709 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14710 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14711 maybe-all-stage3-cloog:
14712 maybe-clean-stage3-cloog:
14713 @if cloog-bootstrap
14714 maybe-all-stage3-cloog: all-stage3-cloog
14715 all-stage3: all-stage3-cloog
14716 TARGET-stage3-cloog = $(TARGET-cloog)
14717 all-stage3-cloog: configure-stage3-cloog
14718 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14719 @r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 TFLAGS="$(STAGE3_TFLAGS)"; \
14722 $(HOST_EXPORTS) \
14723 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14724 cd $(HOST_SUBDIR)/cloog && \
14725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14726 CFLAGS="$(STAGE3_CFLAGS)" \
14727 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14728 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14733 TFLAGS="$(STAGE3_TFLAGS)" \
14734 $(TARGET-stage3-cloog)
14736 maybe-clean-stage3-cloog: clean-stage3-cloog
14737 clean-stage3: clean-stage3-cloog
14738 clean-stage3-cloog:
14739 @if [ $(current_stage) = stage3 ]; then \
14740 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14741 else \
14742 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14743 $(MAKE) stage3-start; \
14744 fi; \
14745 cd $(HOST_SUBDIR)/cloog && \
14746 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14747 @endif cloog-bootstrap
14750 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14751 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14752 maybe-all-stage4-cloog:
14753 maybe-clean-stage4-cloog:
14754 @if cloog-bootstrap
14755 maybe-all-stage4-cloog: all-stage4-cloog
14756 all-stage4: all-stage4-cloog
14757 TARGET-stage4-cloog = $(TARGET-cloog)
14758 all-stage4-cloog: configure-stage4-cloog
14759 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14760 @r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 TFLAGS="$(STAGE4_TFLAGS)"; \
14763 $(HOST_EXPORTS) \
14764 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14765 cd $(HOST_SUBDIR)/cloog && \
14766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14767 CFLAGS="$(STAGE4_CFLAGS)" \
14768 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14769 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14774 TFLAGS="$(STAGE4_TFLAGS)" \
14775 $(TARGET-stage4-cloog)
14777 maybe-clean-stage4-cloog: clean-stage4-cloog
14778 clean-stage4: clean-stage4-cloog
14779 clean-stage4-cloog:
14780 @if [ $(current_stage) = stage4 ]; then \
14781 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14782 else \
14783 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14784 $(MAKE) stage4-start; \
14785 fi; \
14786 cd $(HOST_SUBDIR)/cloog && \
14787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14788 @endif cloog-bootstrap
14791 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14792 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14793 maybe-all-stageprofile-cloog:
14794 maybe-clean-stageprofile-cloog:
14795 @if cloog-bootstrap
14796 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14797 all-stageprofile: all-stageprofile-cloog
14798 TARGET-stageprofile-cloog = $(TARGET-cloog)
14799 all-stageprofile-cloog: configure-stageprofile-cloog
14800 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14801 @r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14803 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14804 $(HOST_EXPORTS) \
14805 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14806 cd $(HOST_SUBDIR)/cloog && \
14807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14808 CFLAGS="$(STAGEprofile_CFLAGS)" \
14809 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14810 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14815 TFLAGS="$(STAGEprofile_TFLAGS)" \
14816 $(TARGET-stageprofile-cloog)
14818 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14819 clean-stageprofile: clean-stageprofile-cloog
14820 clean-stageprofile-cloog:
14821 @if [ $(current_stage) = stageprofile ]; then \
14822 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14823 else \
14824 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14825 $(MAKE) stageprofile-start; \
14826 fi; \
14827 cd $(HOST_SUBDIR)/cloog && \
14828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14829 @endif cloog-bootstrap
14832 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14833 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14834 maybe-all-stagefeedback-cloog:
14835 maybe-clean-stagefeedback-cloog:
14836 @if cloog-bootstrap
14837 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14838 all-stagefeedback: all-stagefeedback-cloog
14839 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14840 all-stagefeedback-cloog: configure-stagefeedback-cloog
14841 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14842 @r=`${PWD_COMMAND}`; export r; \
14843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14844 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14845 $(HOST_EXPORTS) \
14846 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14847 cd $(HOST_SUBDIR)/cloog && \
14848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14849 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14850 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14851 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14852 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14853 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14854 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14855 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14856 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14857 $(TARGET-stagefeedback-cloog)
14859 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14860 clean-stagefeedback: clean-stagefeedback-cloog
14861 clean-stagefeedback-cloog:
14862 @if [ $(current_stage) = stagefeedback ]; then \
14863 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14864 else \
14865 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14866 $(MAKE) stagefeedback-start; \
14867 fi; \
14868 cd $(HOST_SUBDIR)/cloog && \
14869 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14870 @endif cloog-bootstrap
14876 .PHONY: check-cloog maybe-check-cloog
14877 maybe-check-cloog:
14878 @if cloog
14879 maybe-check-cloog: check-cloog
14881 check-cloog:
14882 @: $(MAKE); $(unstage)
14883 @r=`${PWD_COMMAND}`; export r; \
14884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14885 $(HOST_EXPORTS) \
14886 (cd $(HOST_SUBDIR)/cloog && \
14887 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14889 @endif cloog
14891 .PHONY: install-cloog maybe-install-cloog
14892 maybe-install-cloog:
14893 @if cloog
14894 maybe-install-cloog: install-cloog
14896 install-cloog:
14898 @endif cloog
14900 .PHONY: install-strip-cloog maybe-install-strip-cloog
14901 maybe-install-strip-cloog:
14902 @if cloog
14903 maybe-install-strip-cloog: install-strip-cloog
14905 install-strip-cloog:
14907 @endif cloog
14909 # Other targets (info, dvi, pdf, etc.)
14911 .PHONY: maybe-info-cloog info-cloog
14912 maybe-info-cloog:
14913 @if cloog
14914 maybe-info-cloog: info-cloog
14916 info-cloog: \
14917 configure-cloog
14918 @[ -f ./cloog/Makefile ] || exit 0; \
14919 r=`${PWD_COMMAND}`; export r; \
14920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14921 $(HOST_EXPORTS) \
14922 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14924 done; \
14925 echo "Doing info in cloog" ; \
14926 (cd $(HOST_SUBDIR)/cloog && \
14927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14929 "RANLIB=$${RANLIB}" \
14930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14931 info) \
14932 || exit 1
14934 @endif cloog
14936 .PHONY: maybe-dvi-cloog dvi-cloog
14937 maybe-dvi-cloog:
14938 @if cloog
14939 maybe-dvi-cloog: dvi-cloog
14941 dvi-cloog: \
14942 configure-cloog
14943 @[ -f ./cloog/Makefile ] || exit 0; \
14944 r=`${PWD_COMMAND}`; export r; \
14945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14946 $(HOST_EXPORTS) \
14947 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14949 done; \
14950 echo "Doing dvi in cloog" ; \
14951 (cd $(HOST_SUBDIR)/cloog && \
14952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14954 "RANLIB=$${RANLIB}" \
14955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14956 dvi) \
14957 || exit 1
14959 @endif cloog
14961 .PHONY: maybe-pdf-cloog pdf-cloog
14962 maybe-pdf-cloog:
14963 @if cloog
14964 maybe-pdf-cloog: pdf-cloog
14966 pdf-cloog: \
14967 configure-cloog
14968 @[ -f ./cloog/Makefile ] || exit 0; \
14969 r=`${PWD_COMMAND}`; export r; \
14970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14971 $(HOST_EXPORTS) \
14972 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14974 done; \
14975 echo "Doing pdf in cloog" ; \
14976 (cd $(HOST_SUBDIR)/cloog && \
14977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14979 "RANLIB=$${RANLIB}" \
14980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14981 pdf) \
14982 || exit 1
14984 @endif cloog
14986 .PHONY: maybe-html-cloog html-cloog
14987 maybe-html-cloog:
14988 @if cloog
14989 maybe-html-cloog: html-cloog
14991 html-cloog: \
14992 configure-cloog
14993 @[ -f ./cloog/Makefile ] || exit 0; \
14994 r=`${PWD_COMMAND}`; export r; \
14995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14996 $(HOST_EXPORTS) \
14997 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14999 done; \
15000 echo "Doing html in cloog" ; \
15001 (cd $(HOST_SUBDIR)/cloog && \
15002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15004 "RANLIB=$${RANLIB}" \
15005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15006 html) \
15007 || exit 1
15009 @endif cloog
15011 .PHONY: maybe-TAGS-cloog TAGS-cloog
15012 maybe-TAGS-cloog:
15013 @if cloog
15014 maybe-TAGS-cloog: TAGS-cloog
15016 TAGS-cloog: \
15017 configure-cloog
15018 @[ -f ./cloog/Makefile ] || exit 0; \
15019 r=`${PWD_COMMAND}`; export r; \
15020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15021 $(HOST_EXPORTS) \
15022 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15024 done; \
15025 echo "Doing TAGS in cloog" ; \
15026 (cd $(HOST_SUBDIR)/cloog && \
15027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15029 "RANLIB=$${RANLIB}" \
15030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15031 TAGS) \
15032 || exit 1
15034 @endif cloog
15036 .PHONY: maybe-install-info-cloog install-info-cloog
15037 maybe-install-info-cloog:
15038 @if cloog
15039 maybe-install-info-cloog: install-info-cloog
15041 install-info-cloog: \
15042 configure-cloog \
15043 info-cloog
15044 @[ -f ./cloog/Makefile ] || exit 0; \
15045 r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 $(HOST_EXPORTS) \
15048 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15050 done; \
15051 echo "Doing install-info in cloog" ; \
15052 (cd $(HOST_SUBDIR)/cloog && \
15053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15055 "RANLIB=$${RANLIB}" \
15056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15057 install-info) \
15058 || exit 1
15060 @endif cloog
15062 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
15063 maybe-install-pdf-cloog:
15064 @if cloog
15065 maybe-install-pdf-cloog: install-pdf-cloog
15067 install-pdf-cloog: \
15068 configure-cloog \
15069 pdf-cloog
15070 @[ -f ./cloog/Makefile ] || exit 0; \
15071 r=`${PWD_COMMAND}`; export r; \
15072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15073 $(HOST_EXPORTS) \
15074 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15076 done; \
15077 echo "Doing install-pdf in cloog" ; \
15078 (cd $(HOST_SUBDIR)/cloog && \
15079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15081 "RANLIB=$${RANLIB}" \
15082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15083 install-pdf) \
15084 || exit 1
15086 @endif cloog
15088 .PHONY: maybe-install-html-cloog install-html-cloog
15089 maybe-install-html-cloog:
15090 @if cloog
15091 maybe-install-html-cloog: install-html-cloog
15093 install-html-cloog: \
15094 configure-cloog \
15095 html-cloog
15096 @[ -f ./cloog/Makefile ] || exit 0; \
15097 r=`${PWD_COMMAND}`; export r; \
15098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15099 $(HOST_EXPORTS) \
15100 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15102 done; \
15103 echo "Doing install-html in cloog" ; \
15104 (cd $(HOST_SUBDIR)/cloog && \
15105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15107 "RANLIB=$${RANLIB}" \
15108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15109 install-html) \
15110 || exit 1
15112 @endif cloog
15114 .PHONY: maybe-installcheck-cloog installcheck-cloog
15115 maybe-installcheck-cloog:
15116 @if cloog
15117 maybe-installcheck-cloog: installcheck-cloog
15119 installcheck-cloog: \
15120 configure-cloog
15121 @[ -f ./cloog/Makefile ] || exit 0; \
15122 r=`${PWD_COMMAND}`; export r; \
15123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15124 $(HOST_EXPORTS) \
15125 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15127 done; \
15128 echo "Doing installcheck in cloog" ; \
15129 (cd $(HOST_SUBDIR)/cloog && \
15130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15132 "RANLIB=$${RANLIB}" \
15133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15134 installcheck) \
15135 || exit 1
15137 @endif cloog
15139 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
15140 maybe-mostlyclean-cloog:
15141 @if cloog
15142 maybe-mostlyclean-cloog: mostlyclean-cloog
15144 mostlyclean-cloog:
15145 @[ -f ./cloog/Makefile ] || exit 0; \
15146 r=`${PWD_COMMAND}`; export r; \
15147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15148 $(HOST_EXPORTS) \
15149 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15151 done; \
15152 echo "Doing mostlyclean in cloog" ; \
15153 (cd $(HOST_SUBDIR)/cloog && \
15154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15156 "RANLIB=$${RANLIB}" \
15157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15158 mostlyclean) \
15159 || exit 1
15161 @endif cloog
15163 .PHONY: maybe-clean-cloog clean-cloog
15164 maybe-clean-cloog:
15165 @if cloog
15166 maybe-clean-cloog: clean-cloog
15168 clean-cloog:
15169 @[ -f ./cloog/Makefile ] || exit 0; \
15170 r=`${PWD_COMMAND}`; export r; \
15171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15172 $(HOST_EXPORTS) \
15173 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15175 done; \
15176 echo "Doing clean in cloog" ; \
15177 (cd $(HOST_SUBDIR)/cloog && \
15178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15180 "RANLIB=$${RANLIB}" \
15181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15182 clean) \
15183 || exit 1
15185 @endif cloog
15187 .PHONY: maybe-distclean-cloog distclean-cloog
15188 maybe-distclean-cloog:
15189 @if cloog
15190 maybe-distclean-cloog: distclean-cloog
15192 distclean-cloog:
15193 @[ -f ./cloog/Makefile ] || exit 0; \
15194 r=`${PWD_COMMAND}`; export r; \
15195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15196 $(HOST_EXPORTS) \
15197 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15199 done; \
15200 echo "Doing distclean in cloog" ; \
15201 (cd $(HOST_SUBDIR)/cloog && \
15202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15204 "RANLIB=$${RANLIB}" \
15205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15206 distclean) \
15207 || exit 1
15209 @endif cloog
15211 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
15212 maybe-maintainer-clean-cloog:
15213 @if cloog
15214 maybe-maintainer-clean-cloog: maintainer-clean-cloog
15216 maintainer-clean-cloog:
15217 @[ -f ./cloog/Makefile ] || exit 0; \
15218 r=`${PWD_COMMAND}`; export r; \
15219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15220 $(HOST_EXPORTS) \
15221 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15223 done; \
15224 echo "Doing maintainer-clean in cloog" ; \
15225 (cd $(HOST_SUBDIR)/cloog && \
15226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15228 "RANLIB=$${RANLIB}" \
15229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15230 maintainer-clean) \
15231 || exit 1
15233 @endif cloog
15237 .PHONY: configure-libelf maybe-configure-libelf
15238 maybe-configure-libelf:
15239 @if gcc-bootstrap
15240 configure-libelf: stage_current
15241 @endif gcc-bootstrap
15242 @if libelf
15243 maybe-configure-libelf: configure-libelf
15244 configure-libelf:
15245 @r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15249 $(HOST_EXPORTS) \
15250 echo Configuring in $(HOST_SUBDIR)/libelf; \
15251 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
15252 case $(srcdir) in \
15253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15254 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15256 esac; \
15257 module_srcdir=libelf; \
15258 $(SHELL) \
15259 $$s/$$module_srcdir/configure \
15260 --srcdir=$${topdir}/$$module_srcdir \
15261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15262 --target=${target_alias} --disable-shared \
15263 || exit 1
15264 @endif libelf
15268 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
15269 maybe-configure-stage1-libelf:
15270 @if libelf-bootstrap
15271 maybe-configure-stage1-libelf: configure-stage1-libelf
15272 configure-stage1-libelf:
15273 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15275 @r=`${PWD_COMMAND}`; export r; \
15276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15277 TFLAGS="$(STAGE1_TFLAGS)"; \
15278 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15279 $(HOST_EXPORTS) \
15280 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15281 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15282 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15283 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
15284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15285 cd $(HOST_SUBDIR)/libelf || exit 1; \
15286 case $(srcdir) in \
15287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15288 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15290 esac; \
15291 module_srcdir=libelf; \
15292 $(SHELL) $$s/$$module_srcdir/configure \
15293 --srcdir=$${topdir}/$$module_srcdir \
15294 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15295 --target=${target_alias} \
15297 $(STAGE1_CONFIGURE_FLAGS) \
15298 --disable-shared
15299 @endif libelf-bootstrap
15301 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
15302 maybe-configure-stage2-libelf:
15303 @if libelf-bootstrap
15304 maybe-configure-stage2-libelf: configure-stage2-libelf
15305 configure-stage2-libelf:
15306 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15308 @r=`${PWD_COMMAND}`; export r; \
15309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15310 TFLAGS="$(STAGE2_TFLAGS)"; \
15311 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15312 $(HOST_EXPORTS) \
15313 $(POSTSTAGE1_HOST_EXPORTS) \
15314 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15315 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15316 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15317 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
15318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15319 cd $(HOST_SUBDIR)/libelf || exit 1; \
15320 case $(srcdir) in \
15321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15322 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15324 esac; \
15325 module_srcdir=libelf; \
15326 $(SHELL) $$s/$$module_srcdir/configure \
15327 --srcdir=$${topdir}/$$module_srcdir \
15328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15329 --target=${target_alias} \
15330 --with-build-libsubdir=$(HOST_SUBDIR) \
15331 $(STAGE2_CONFIGURE_FLAGS) \
15332 --disable-shared
15333 @endif libelf-bootstrap
15335 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
15336 maybe-configure-stage3-libelf:
15337 @if libelf-bootstrap
15338 maybe-configure-stage3-libelf: configure-stage3-libelf
15339 configure-stage3-libelf:
15340 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15342 @r=`${PWD_COMMAND}`; export r; \
15343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15344 TFLAGS="$(STAGE3_TFLAGS)"; \
15345 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15346 $(HOST_EXPORTS) \
15347 $(POSTSTAGE1_HOST_EXPORTS) \
15348 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15349 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15350 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15351 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
15352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15353 cd $(HOST_SUBDIR)/libelf || exit 1; \
15354 case $(srcdir) in \
15355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15356 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15358 esac; \
15359 module_srcdir=libelf; \
15360 $(SHELL) $$s/$$module_srcdir/configure \
15361 --srcdir=$${topdir}/$$module_srcdir \
15362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15363 --target=${target_alias} \
15364 --with-build-libsubdir=$(HOST_SUBDIR) \
15365 $(STAGE3_CONFIGURE_FLAGS) \
15366 --disable-shared
15367 @endif libelf-bootstrap
15369 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
15370 maybe-configure-stage4-libelf:
15371 @if libelf-bootstrap
15372 maybe-configure-stage4-libelf: configure-stage4-libelf
15373 configure-stage4-libelf:
15374 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15375 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15376 @r=`${PWD_COMMAND}`; export r; \
15377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15378 TFLAGS="$(STAGE4_TFLAGS)"; \
15379 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15380 $(HOST_EXPORTS) \
15381 $(POSTSTAGE1_HOST_EXPORTS) \
15382 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15383 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15384 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15385 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
15386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15387 cd $(HOST_SUBDIR)/libelf || exit 1; \
15388 case $(srcdir) in \
15389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15390 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15392 esac; \
15393 module_srcdir=libelf; \
15394 $(SHELL) $$s/$$module_srcdir/configure \
15395 --srcdir=$${topdir}/$$module_srcdir \
15396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15397 --target=${target_alias} \
15398 --with-build-libsubdir=$(HOST_SUBDIR) \
15399 $(STAGE4_CONFIGURE_FLAGS) \
15400 --disable-shared
15401 @endif libelf-bootstrap
15403 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
15404 maybe-configure-stageprofile-libelf:
15405 @if libelf-bootstrap
15406 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
15407 configure-stageprofile-libelf:
15408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15410 @r=`${PWD_COMMAND}`; export r; \
15411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15412 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15413 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15414 $(HOST_EXPORTS) \
15415 $(POSTSTAGE1_HOST_EXPORTS) \
15416 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15417 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15418 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15419 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
15420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15421 cd $(HOST_SUBDIR)/libelf || exit 1; \
15422 case $(srcdir) in \
15423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15424 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15426 esac; \
15427 module_srcdir=libelf; \
15428 $(SHELL) $$s/$$module_srcdir/configure \
15429 --srcdir=$${topdir}/$$module_srcdir \
15430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15431 --target=${target_alias} \
15432 --with-build-libsubdir=$(HOST_SUBDIR) \
15433 $(STAGEprofile_CONFIGURE_FLAGS) \
15434 --disable-shared
15435 @endif libelf-bootstrap
15437 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
15438 maybe-configure-stagefeedback-libelf:
15439 @if libelf-bootstrap
15440 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
15441 configure-stagefeedback-libelf:
15442 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15443 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15444 @r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15447 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15448 $(HOST_EXPORTS) \
15449 $(POSTSTAGE1_HOST_EXPORTS) \
15450 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15451 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15452 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15453 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
15454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15455 cd $(HOST_SUBDIR)/libelf || exit 1; \
15456 case $(srcdir) in \
15457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15458 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15460 esac; \
15461 module_srcdir=libelf; \
15462 $(SHELL) $$s/$$module_srcdir/configure \
15463 --srcdir=$${topdir}/$$module_srcdir \
15464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15465 --target=${target_alias} \
15466 --with-build-libsubdir=$(HOST_SUBDIR) \
15467 $(STAGEfeedback_CONFIGURE_FLAGS) \
15468 --disable-shared
15469 @endif libelf-bootstrap
15475 .PHONY: all-libelf maybe-all-libelf
15476 maybe-all-libelf:
15477 @if gcc-bootstrap
15478 all-libelf: stage_current
15479 @endif gcc-bootstrap
15480 @if libelf
15481 TARGET-libelf=all
15482 maybe-all-libelf: all-libelf
15483 all-libelf: configure-libelf
15484 @r=`${PWD_COMMAND}`; export r; \
15485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15486 $(HOST_EXPORTS) \
15487 (cd $(HOST_SUBDIR)/libelf && \
15488 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15489 $(TARGET-libelf))
15490 @endif libelf
15494 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15495 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15496 maybe-all-stage1-libelf:
15497 maybe-clean-stage1-libelf:
15498 @if libelf-bootstrap
15499 maybe-all-stage1-libelf: all-stage1-libelf
15500 all-stage1: all-stage1-libelf
15501 TARGET-stage1-libelf = $(TARGET-libelf)
15502 all-stage1-libelf: configure-stage1-libelf
15503 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15504 @r=`${PWD_COMMAND}`; export r; \
15505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15506 TFLAGS="$(STAGE1_TFLAGS)"; \
15507 $(HOST_EXPORTS) \
15508 cd $(HOST_SUBDIR)/libelf && \
15509 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15510 CFLAGS="$(STAGE1_CFLAGS)" \
15511 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15512 LIBCFLAGS="$(LIBCFLAGS)" \
15513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15516 $(EXTRA_HOST_FLAGS) \
15517 $(STAGE1_FLAGS_TO_PASS) \
15518 TFLAGS="$(STAGE1_TFLAGS)" \
15519 $(TARGET-stage1-libelf)
15521 maybe-clean-stage1-libelf: clean-stage1-libelf
15522 clean-stage1: clean-stage1-libelf
15523 clean-stage1-libelf:
15524 @if [ $(current_stage) = stage1 ]; then \
15525 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15526 else \
15527 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15528 $(MAKE) stage1-start; \
15529 fi; \
15530 cd $(HOST_SUBDIR)/libelf && \
15531 $(MAKE) $(EXTRA_HOST_FLAGS) \
15532 $(STAGE1_FLAGS_TO_PASS) clean
15533 @endif libelf-bootstrap
15536 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15537 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15538 maybe-all-stage2-libelf:
15539 maybe-clean-stage2-libelf:
15540 @if libelf-bootstrap
15541 maybe-all-stage2-libelf: all-stage2-libelf
15542 all-stage2: all-stage2-libelf
15543 TARGET-stage2-libelf = $(TARGET-libelf)
15544 all-stage2-libelf: configure-stage2-libelf
15545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15546 @r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 TFLAGS="$(STAGE2_TFLAGS)"; \
15549 $(HOST_EXPORTS) \
15550 $(POSTSTAGE1_HOST_EXPORTS) \
15551 cd $(HOST_SUBDIR)/libelf && \
15552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15553 CFLAGS="$(STAGE2_CFLAGS)" \
15554 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15555 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15560 TFLAGS="$(STAGE2_TFLAGS)" \
15561 $(TARGET-stage2-libelf)
15563 maybe-clean-stage2-libelf: clean-stage2-libelf
15564 clean-stage2: clean-stage2-libelf
15565 clean-stage2-libelf:
15566 @if [ $(current_stage) = stage2 ]; then \
15567 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15568 else \
15569 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15570 $(MAKE) stage2-start; \
15571 fi; \
15572 cd $(HOST_SUBDIR)/libelf && \
15573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15574 @endif libelf-bootstrap
15577 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15578 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15579 maybe-all-stage3-libelf:
15580 maybe-clean-stage3-libelf:
15581 @if libelf-bootstrap
15582 maybe-all-stage3-libelf: all-stage3-libelf
15583 all-stage3: all-stage3-libelf
15584 TARGET-stage3-libelf = $(TARGET-libelf)
15585 all-stage3-libelf: configure-stage3-libelf
15586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15587 @r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 TFLAGS="$(STAGE3_TFLAGS)"; \
15590 $(HOST_EXPORTS) \
15591 $(POSTSTAGE1_HOST_EXPORTS) \
15592 cd $(HOST_SUBDIR)/libelf && \
15593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15594 CFLAGS="$(STAGE3_CFLAGS)" \
15595 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15596 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15601 TFLAGS="$(STAGE3_TFLAGS)" \
15602 $(TARGET-stage3-libelf)
15604 maybe-clean-stage3-libelf: clean-stage3-libelf
15605 clean-stage3: clean-stage3-libelf
15606 clean-stage3-libelf:
15607 @if [ $(current_stage) = stage3 ]; then \
15608 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15609 else \
15610 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15611 $(MAKE) stage3-start; \
15612 fi; \
15613 cd $(HOST_SUBDIR)/libelf && \
15614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15615 @endif libelf-bootstrap
15618 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15619 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15620 maybe-all-stage4-libelf:
15621 maybe-clean-stage4-libelf:
15622 @if libelf-bootstrap
15623 maybe-all-stage4-libelf: all-stage4-libelf
15624 all-stage4: all-stage4-libelf
15625 TARGET-stage4-libelf = $(TARGET-libelf)
15626 all-stage4-libelf: configure-stage4-libelf
15627 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15628 @r=`${PWD_COMMAND}`; export r; \
15629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15630 TFLAGS="$(STAGE4_TFLAGS)"; \
15631 $(HOST_EXPORTS) \
15632 $(POSTSTAGE1_HOST_EXPORTS) \
15633 cd $(HOST_SUBDIR)/libelf && \
15634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15635 CFLAGS="$(STAGE4_CFLAGS)" \
15636 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15637 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15642 TFLAGS="$(STAGE4_TFLAGS)" \
15643 $(TARGET-stage4-libelf)
15645 maybe-clean-stage4-libelf: clean-stage4-libelf
15646 clean-stage4: clean-stage4-libelf
15647 clean-stage4-libelf:
15648 @if [ $(current_stage) = stage4 ]; then \
15649 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15650 else \
15651 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15652 $(MAKE) stage4-start; \
15653 fi; \
15654 cd $(HOST_SUBDIR)/libelf && \
15655 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15656 @endif libelf-bootstrap
15659 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15660 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15661 maybe-all-stageprofile-libelf:
15662 maybe-clean-stageprofile-libelf:
15663 @if libelf-bootstrap
15664 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15665 all-stageprofile: all-stageprofile-libelf
15666 TARGET-stageprofile-libelf = $(TARGET-libelf)
15667 all-stageprofile-libelf: configure-stageprofile-libelf
15668 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15669 @r=`${PWD_COMMAND}`; export r; \
15670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15671 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15672 $(HOST_EXPORTS) \
15673 $(POSTSTAGE1_HOST_EXPORTS) \
15674 cd $(HOST_SUBDIR)/libelf && \
15675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15676 CFLAGS="$(STAGEprofile_CFLAGS)" \
15677 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15678 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15683 TFLAGS="$(STAGEprofile_TFLAGS)" \
15684 $(TARGET-stageprofile-libelf)
15686 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15687 clean-stageprofile: clean-stageprofile-libelf
15688 clean-stageprofile-libelf:
15689 @if [ $(current_stage) = stageprofile ]; then \
15690 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15691 else \
15692 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15693 $(MAKE) stageprofile-start; \
15694 fi; \
15695 cd $(HOST_SUBDIR)/libelf && \
15696 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15697 @endif libelf-bootstrap
15700 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15701 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15702 maybe-all-stagefeedback-libelf:
15703 maybe-clean-stagefeedback-libelf:
15704 @if libelf-bootstrap
15705 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15706 all-stagefeedback: all-stagefeedback-libelf
15707 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15708 all-stagefeedback-libelf: configure-stagefeedback-libelf
15709 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15710 @r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15713 $(HOST_EXPORTS) \
15714 $(POSTSTAGE1_HOST_EXPORTS) \
15715 cd $(HOST_SUBDIR)/libelf && \
15716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15717 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15718 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15719 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15724 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15725 $(TARGET-stagefeedback-libelf)
15727 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15728 clean-stagefeedback: clean-stagefeedback-libelf
15729 clean-stagefeedback-libelf:
15730 @if [ $(current_stage) = stagefeedback ]; then \
15731 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15732 else \
15733 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15734 $(MAKE) stagefeedback-start; \
15735 fi; \
15736 cd $(HOST_SUBDIR)/libelf && \
15737 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15738 @endif libelf-bootstrap
15744 .PHONY: check-libelf maybe-check-libelf
15745 maybe-check-libelf:
15746 @if libelf
15747 maybe-check-libelf: check-libelf
15749 check-libelf:
15750 @: $(MAKE); $(unstage)
15751 @r=`${PWD_COMMAND}`; export r; \
15752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15753 $(HOST_EXPORTS) \
15754 (cd $(HOST_SUBDIR)/libelf && \
15755 $(MAKE) $(FLAGS_TO_PASS) check)
15757 @endif libelf
15759 .PHONY: install-libelf maybe-install-libelf
15760 maybe-install-libelf:
15761 @if libelf
15762 maybe-install-libelf: install-libelf
15764 install-libelf:
15766 @endif libelf
15768 .PHONY: install-strip-libelf maybe-install-strip-libelf
15769 maybe-install-strip-libelf:
15770 @if libelf
15771 maybe-install-strip-libelf: install-strip-libelf
15773 install-strip-libelf:
15775 @endif libelf
15777 # Other targets (info, dvi, pdf, etc.)
15779 .PHONY: maybe-info-libelf info-libelf
15780 maybe-info-libelf:
15781 @if libelf
15782 maybe-info-libelf: info-libelf
15784 info-libelf: \
15785 configure-libelf
15786 @[ -f ./libelf/Makefile ] || exit 0; \
15787 r=`${PWD_COMMAND}`; export r; \
15788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15789 $(HOST_EXPORTS) \
15790 for flag in $(EXTRA_HOST_FLAGS) ; do \
15791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15792 done; \
15793 echo "Doing info in libelf" ; \
15794 (cd $(HOST_SUBDIR)/libelf && \
15795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15797 "RANLIB=$${RANLIB}" \
15798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15799 info) \
15800 || exit 1
15802 @endif libelf
15804 .PHONY: maybe-dvi-libelf dvi-libelf
15805 maybe-dvi-libelf:
15806 @if libelf
15807 maybe-dvi-libelf: dvi-libelf
15809 dvi-libelf: \
15810 configure-libelf
15811 @[ -f ./libelf/Makefile ] || exit 0; \
15812 r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 $(HOST_EXPORTS) \
15815 for flag in $(EXTRA_HOST_FLAGS) ; do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15817 done; \
15818 echo "Doing dvi in libelf" ; \
15819 (cd $(HOST_SUBDIR)/libelf && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15822 "RANLIB=$${RANLIB}" \
15823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15824 dvi) \
15825 || exit 1
15827 @endif libelf
15829 .PHONY: maybe-pdf-libelf pdf-libelf
15830 maybe-pdf-libelf:
15831 @if libelf
15832 maybe-pdf-libelf: pdf-libelf
15834 pdf-libelf: \
15835 configure-libelf
15836 @[ -f ./libelf/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(HOST_EXPORTS) \
15840 for flag in $(EXTRA_HOST_FLAGS) ; do \
15841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15842 done; \
15843 echo "Doing pdf in libelf" ; \
15844 (cd $(HOST_SUBDIR)/libelf && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15847 "RANLIB=$${RANLIB}" \
15848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15849 pdf) \
15850 || exit 1
15852 @endif libelf
15854 .PHONY: maybe-html-libelf html-libelf
15855 maybe-html-libelf:
15856 @if libelf
15857 maybe-html-libelf: html-libelf
15859 html-libelf: \
15860 configure-libelf
15861 @[ -f ./libelf/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15867 done; \
15868 echo "Doing html in libelf" ; \
15869 (cd $(HOST_SUBDIR)/libelf && \
15870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15872 "RANLIB=$${RANLIB}" \
15873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15874 html) \
15875 || exit 1
15877 @endif libelf
15879 .PHONY: maybe-TAGS-libelf TAGS-libelf
15880 maybe-TAGS-libelf:
15881 @if libelf
15882 maybe-TAGS-libelf: TAGS-libelf
15884 TAGS-libelf: \
15885 configure-libelf
15886 @[ -f ./libelf/Makefile ] || exit 0; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 $(HOST_EXPORTS) \
15890 for flag in $(EXTRA_HOST_FLAGS) ; do \
15891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15892 done; \
15893 echo "Doing TAGS in libelf" ; \
15894 (cd $(HOST_SUBDIR)/libelf && \
15895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15897 "RANLIB=$${RANLIB}" \
15898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15899 TAGS) \
15900 || exit 1
15902 @endif libelf
15904 .PHONY: maybe-install-info-libelf install-info-libelf
15905 maybe-install-info-libelf:
15906 @if libelf
15907 maybe-install-info-libelf: install-info-libelf
15909 install-info-libelf: \
15910 configure-libelf \
15911 info-libelf
15912 @[ -f ./libelf/Makefile ] || exit 0; \
15913 r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15915 $(HOST_EXPORTS) \
15916 for flag in $(EXTRA_HOST_FLAGS) ; do \
15917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15918 done; \
15919 echo "Doing install-info in libelf" ; \
15920 (cd $(HOST_SUBDIR)/libelf && \
15921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15923 "RANLIB=$${RANLIB}" \
15924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15925 install-info) \
15926 || exit 1
15928 @endif libelf
15930 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15931 maybe-install-pdf-libelf:
15932 @if libelf
15933 maybe-install-pdf-libelf: install-pdf-libelf
15935 install-pdf-libelf: \
15936 configure-libelf \
15937 pdf-libelf
15938 @[ -f ./libelf/Makefile ] || exit 0; \
15939 r=`${PWD_COMMAND}`; export r; \
15940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15941 $(HOST_EXPORTS) \
15942 for flag in $(EXTRA_HOST_FLAGS) ; do \
15943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15944 done; \
15945 echo "Doing install-pdf in libelf" ; \
15946 (cd $(HOST_SUBDIR)/libelf && \
15947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15949 "RANLIB=$${RANLIB}" \
15950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15951 install-pdf) \
15952 || exit 1
15954 @endif libelf
15956 .PHONY: maybe-install-html-libelf install-html-libelf
15957 maybe-install-html-libelf:
15958 @if libelf
15959 maybe-install-html-libelf: install-html-libelf
15961 install-html-libelf: \
15962 configure-libelf \
15963 html-libelf
15964 @[ -f ./libelf/Makefile ] || exit 0; \
15965 r=`${PWD_COMMAND}`; export r; \
15966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15967 $(HOST_EXPORTS) \
15968 for flag in $(EXTRA_HOST_FLAGS) ; do \
15969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15970 done; \
15971 echo "Doing install-html in libelf" ; \
15972 (cd $(HOST_SUBDIR)/libelf && \
15973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15975 "RANLIB=$${RANLIB}" \
15976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15977 install-html) \
15978 || exit 1
15980 @endif libelf
15982 .PHONY: maybe-installcheck-libelf installcheck-libelf
15983 maybe-installcheck-libelf:
15984 @if libelf
15985 maybe-installcheck-libelf: installcheck-libelf
15987 installcheck-libelf: \
15988 configure-libelf
15989 @[ -f ./libelf/Makefile ] || exit 0; \
15990 r=`${PWD_COMMAND}`; export r; \
15991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15992 $(HOST_EXPORTS) \
15993 for flag in $(EXTRA_HOST_FLAGS) ; do \
15994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15995 done; \
15996 echo "Doing installcheck in libelf" ; \
15997 (cd $(HOST_SUBDIR)/libelf && \
15998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16000 "RANLIB=$${RANLIB}" \
16001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16002 installcheck) \
16003 || exit 1
16005 @endif libelf
16007 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
16008 maybe-mostlyclean-libelf:
16009 @if libelf
16010 maybe-mostlyclean-libelf: mostlyclean-libelf
16012 mostlyclean-libelf:
16013 @[ -f ./libelf/Makefile ] || exit 0; \
16014 r=`${PWD_COMMAND}`; export r; \
16015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16016 $(HOST_EXPORTS) \
16017 for flag in $(EXTRA_HOST_FLAGS) ; do \
16018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16019 done; \
16020 echo "Doing mostlyclean in libelf" ; \
16021 (cd $(HOST_SUBDIR)/libelf && \
16022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16024 "RANLIB=$${RANLIB}" \
16025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16026 mostlyclean) \
16027 || exit 1
16029 @endif libelf
16031 .PHONY: maybe-clean-libelf clean-libelf
16032 maybe-clean-libelf:
16033 @if libelf
16034 maybe-clean-libelf: clean-libelf
16036 clean-libelf:
16037 @[ -f ./libelf/Makefile ] || exit 0; \
16038 r=`${PWD_COMMAND}`; export r; \
16039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16040 $(HOST_EXPORTS) \
16041 for flag in $(EXTRA_HOST_FLAGS) ; do \
16042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16043 done; \
16044 echo "Doing clean in libelf" ; \
16045 (cd $(HOST_SUBDIR)/libelf && \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048 "RANLIB=$${RANLIB}" \
16049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16050 clean) \
16051 || exit 1
16053 @endif libelf
16055 .PHONY: maybe-distclean-libelf distclean-libelf
16056 maybe-distclean-libelf:
16057 @if libelf
16058 maybe-distclean-libelf: distclean-libelf
16060 distclean-libelf:
16061 @[ -f ./libelf/Makefile ] || exit 0; \
16062 r=`${PWD_COMMAND}`; export r; \
16063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064 $(HOST_EXPORTS) \
16065 for flag in $(EXTRA_HOST_FLAGS) ; do \
16066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16067 done; \
16068 echo "Doing distclean in libelf" ; \
16069 (cd $(HOST_SUBDIR)/libelf && \
16070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16072 "RANLIB=$${RANLIB}" \
16073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16074 distclean) \
16075 || exit 1
16077 @endif libelf
16079 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
16080 maybe-maintainer-clean-libelf:
16081 @if libelf
16082 maybe-maintainer-clean-libelf: maintainer-clean-libelf
16084 maintainer-clean-libelf:
16085 @[ -f ./libelf/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 for flag in $(EXTRA_HOST_FLAGS) ; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091 done; \
16092 echo "Doing maintainer-clean in libelf" ; \
16093 (cd $(HOST_SUBDIR)/libelf && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16098 maintainer-clean) \
16099 || exit 1
16101 @endif libelf
16105 .PHONY: configure-gold maybe-configure-gold
16106 maybe-configure-gold:
16107 @if gcc-bootstrap
16108 configure-gold: stage_current
16109 @endif gcc-bootstrap
16110 @if gold
16111 maybe-configure-gold: configure-gold
16112 configure-gold:
16113 @r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16115 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16117 $(HOST_EXPORTS) \
16118 echo Configuring in $(HOST_SUBDIR)/gold; \
16119 cd "$(HOST_SUBDIR)/gold" || exit 1; \
16120 case $(srcdir) in \
16121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16122 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16124 esac; \
16125 module_srcdir=gold; \
16126 $(SHELL) \
16127 $$s/$$module_srcdir/configure \
16128 --srcdir=$${topdir}/$$module_srcdir \
16129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16130 --target=${target_alias} \
16131 || exit 1
16132 @endif gold
16136 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
16137 maybe-configure-stage1-gold:
16138 @if gold-bootstrap
16139 maybe-configure-stage1-gold: configure-stage1-gold
16140 configure-stage1-gold:
16141 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 TFLAGS="$(STAGE1_TFLAGS)"; \
16146 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16147 $(HOST_EXPORTS) \
16148 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16149 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16150 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16151 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
16152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16153 cd $(HOST_SUBDIR)/gold || exit 1; \
16154 case $(srcdir) in \
16155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16156 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16158 esac; \
16159 module_srcdir=gold; \
16160 $(SHELL) $$s/$$module_srcdir/configure \
16161 --srcdir=$${topdir}/$$module_srcdir \
16162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16163 --target=${target_alias} \
16165 $(STAGE1_CONFIGURE_FLAGS)
16166 @endif gold-bootstrap
16168 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
16169 maybe-configure-stage2-gold:
16170 @if gold-bootstrap
16171 maybe-configure-stage2-gold: configure-stage2-gold
16172 configure-stage2-gold:
16173 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16175 @r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 TFLAGS="$(STAGE2_TFLAGS)"; \
16178 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16179 $(HOST_EXPORTS) \
16180 $(POSTSTAGE1_HOST_EXPORTS) \
16181 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16182 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16183 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16184 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
16185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16186 cd $(HOST_SUBDIR)/gold || exit 1; \
16187 case $(srcdir) in \
16188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16189 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16191 esac; \
16192 module_srcdir=gold; \
16193 $(SHELL) $$s/$$module_srcdir/configure \
16194 --srcdir=$${topdir}/$$module_srcdir \
16195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16196 --target=${target_alias} \
16197 --with-build-libsubdir=$(HOST_SUBDIR) \
16198 $(STAGE2_CONFIGURE_FLAGS)
16199 @endif gold-bootstrap
16201 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
16202 maybe-configure-stage3-gold:
16203 @if gold-bootstrap
16204 maybe-configure-stage3-gold: configure-stage3-gold
16205 configure-stage3-gold:
16206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16208 @r=`${PWD_COMMAND}`; export r; \
16209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16210 TFLAGS="$(STAGE3_TFLAGS)"; \
16211 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16212 $(HOST_EXPORTS) \
16213 $(POSTSTAGE1_HOST_EXPORTS) \
16214 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16215 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16216 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16217 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
16218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16219 cd $(HOST_SUBDIR)/gold || exit 1; \
16220 case $(srcdir) in \
16221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16222 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16224 esac; \
16225 module_srcdir=gold; \
16226 $(SHELL) $$s/$$module_srcdir/configure \
16227 --srcdir=$${topdir}/$$module_srcdir \
16228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16229 --target=${target_alias} \
16230 --with-build-libsubdir=$(HOST_SUBDIR) \
16231 $(STAGE3_CONFIGURE_FLAGS)
16232 @endif gold-bootstrap
16234 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
16235 maybe-configure-stage4-gold:
16236 @if gold-bootstrap
16237 maybe-configure-stage4-gold: configure-stage4-gold
16238 configure-stage4-gold:
16239 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16241 @r=`${PWD_COMMAND}`; export r; \
16242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16243 TFLAGS="$(STAGE4_TFLAGS)"; \
16244 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16245 $(HOST_EXPORTS) \
16246 $(POSTSTAGE1_HOST_EXPORTS) \
16247 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16248 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16249 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16250 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
16251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16252 cd $(HOST_SUBDIR)/gold || exit 1; \
16253 case $(srcdir) in \
16254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16255 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16257 esac; \
16258 module_srcdir=gold; \
16259 $(SHELL) $$s/$$module_srcdir/configure \
16260 --srcdir=$${topdir}/$$module_srcdir \
16261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16262 --target=${target_alias} \
16263 --with-build-libsubdir=$(HOST_SUBDIR) \
16264 $(STAGE4_CONFIGURE_FLAGS)
16265 @endif gold-bootstrap
16267 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
16268 maybe-configure-stageprofile-gold:
16269 @if gold-bootstrap
16270 maybe-configure-stageprofile-gold: configure-stageprofile-gold
16271 configure-stageprofile-gold:
16272 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16273 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16274 @r=`${PWD_COMMAND}`; export r; \
16275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16276 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16277 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16278 $(HOST_EXPORTS) \
16279 $(POSTSTAGE1_HOST_EXPORTS) \
16280 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16281 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16282 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16283 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
16284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16285 cd $(HOST_SUBDIR)/gold || exit 1; \
16286 case $(srcdir) in \
16287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16288 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16290 esac; \
16291 module_srcdir=gold; \
16292 $(SHELL) $$s/$$module_srcdir/configure \
16293 --srcdir=$${topdir}/$$module_srcdir \
16294 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16295 --target=${target_alias} \
16296 --with-build-libsubdir=$(HOST_SUBDIR) \
16297 $(STAGEprofile_CONFIGURE_FLAGS)
16298 @endif gold-bootstrap
16300 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
16301 maybe-configure-stagefeedback-gold:
16302 @if gold-bootstrap
16303 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
16304 configure-stagefeedback-gold:
16305 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16306 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16307 @r=`${PWD_COMMAND}`; export r; \
16308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16309 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16310 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16311 $(HOST_EXPORTS) \
16312 $(POSTSTAGE1_HOST_EXPORTS) \
16313 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16314 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16315 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16316 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
16317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16318 cd $(HOST_SUBDIR)/gold || exit 1; \
16319 case $(srcdir) in \
16320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16321 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16323 esac; \
16324 module_srcdir=gold; \
16325 $(SHELL) $$s/$$module_srcdir/configure \
16326 --srcdir=$${topdir}/$$module_srcdir \
16327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16328 --target=${target_alias} \
16329 --with-build-libsubdir=$(HOST_SUBDIR) \
16330 $(STAGEfeedback_CONFIGURE_FLAGS)
16331 @endif gold-bootstrap
16337 .PHONY: all-gold maybe-all-gold
16338 maybe-all-gold:
16339 @if gcc-bootstrap
16340 all-gold: stage_current
16341 @endif gcc-bootstrap
16342 @if gold
16343 TARGET-gold=all
16344 maybe-all-gold: all-gold
16345 all-gold: configure-gold
16346 @r=`${PWD_COMMAND}`; export r; \
16347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16348 $(HOST_EXPORTS) \
16349 (cd $(HOST_SUBDIR)/gold && \
16350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16351 $(TARGET-gold))
16352 @endif gold
16356 .PHONY: all-stage1-gold maybe-all-stage1-gold
16357 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
16358 maybe-all-stage1-gold:
16359 maybe-clean-stage1-gold:
16360 @if gold-bootstrap
16361 maybe-all-stage1-gold: all-stage1-gold
16362 all-stage1: all-stage1-gold
16363 TARGET-stage1-gold = $(TARGET-gold)
16364 all-stage1-gold: configure-stage1-gold
16365 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16366 @r=`${PWD_COMMAND}`; export r; \
16367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 TFLAGS="$(STAGE1_TFLAGS)"; \
16369 $(HOST_EXPORTS) \
16370 cd $(HOST_SUBDIR)/gold && \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16372 CFLAGS="$(STAGE1_CFLAGS)" \
16373 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16374 LIBCFLAGS="$(LIBCFLAGS)" \
16375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16378 $(EXTRA_HOST_FLAGS) \
16379 $(STAGE1_FLAGS_TO_PASS) \
16380 TFLAGS="$(STAGE1_TFLAGS)" \
16381 $(TARGET-stage1-gold)
16383 maybe-clean-stage1-gold: clean-stage1-gold
16384 clean-stage1: clean-stage1-gold
16385 clean-stage1-gold:
16386 @if [ $(current_stage) = stage1 ]; then \
16387 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16388 else \
16389 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
16390 $(MAKE) stage1-start; \
16391 fi; \
16392 cd $(HOST_SUBDIR)/gold && \
16393 $(MAKE) $(EXTRA_HOST_FLAGS) \
16394 $(STAGE1_FLAGS_TO_PASS) clean
16395 @endif gold-bootstrap
16398 .PHONY: all-stage2-gold maybe-all-stage2-gold
16399 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
16400 maybe-all-stage2-gold:
16401 maybe-clean-stage2-gold:
16402 @if gold-bootstrap
16403 maybe-all-stage2-gold: all-stage2-gold
16404 all-stage2: all-stage2-gold
16405 TARGET-stage2-gold = $(TARGET-gold)
16406 all-stage2-gold: configure-stage2-gold
16407 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16408 @r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 TFLAGS="$(STAGE2_TFLAGS)"; \
16411 $(HOST_EXPORTS) \
16412 $(POSTSTAGE1_HOST_EXPORTS) \
16413 cd $(HOST_SUBDIR)/gold && \
16414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16415 CFLAGS="$(STAGE2_CFLAGS)" \
16416 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16417 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16422 TFLAGS="$(STAGE2_TFLAGS)" \
16423 $(TARGET-stage2-gold)
16425 maybe-clean-stage2-gold: clean-stage2-gold
16426 clean-stage2: clean-stage2-gold
16427 clean-stage2-gold:
16428 @if [ $(current_stage) = stage2 ]; then \
16429 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16430 else \
16431 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
16432 $(MAKE) stage2-start; \
16433 fi; \
16434 cd $(HOST_SUBDIR)/gold && \
16435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16436 @endif gold-bootstrap
16439 .PHONY: all-stage3-gold maybe-all-stage3-gold
16440 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
16441 maybe-all-stage3-gold:
16442 maybe-clean-stage3-gold:
16443 @if gold-bootstrap
16444 maybe-all-stage3-gold: all-stage3-gold
16445 all-stage3: all-stage3-gold
16446 TARGET-stage3-gold = $(TARGET-gold)
16447 all-stage3-gold: configure-stage3-gold
16448 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16449 @r=`${PWD_COMMAND}`; export r; \
16450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16451 TFLAGS="$(STAGE3_TFLAGS)"; \
16452 $(HOST_EXPORTS) \
16453 $(POSTSTAGE1_HOST_EXPORTS) \
16454 cd $(HOST_SUBDIR)/gold && \
16455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16456 CFLAGS="$(STAGE3_CFLAGS)" \
16457 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16458 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16463 TFLAGS="$(STAGE3_TFLAGS)" \
16464 $(TARGET-stage3-gold)
16466 maybe-clean-stage3-gold: clean-stage3-gold
16467 clean-stage3: clean-stage3-gold
16468 clean-stage3-gold:
16469 @if [ $(current_stage) = stage3 ]; then \
16470 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16471 else \
16472 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16473 $(MAKE) stage3-start; \
16474 fi; \
16475 cd $(HOST_SUBDIR)/gold && \
16476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16477 @endif gold-bootstrap
16480 .PHONY: all-stage4-gold maybe-all-stage4-gold
16481 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16482 maybe-all-stage4-gold:
16483 maybe-clean-stage4-gold:
16484 @if gold-bootstrap
16485 maybe-all-stage4-gold: all-stage4-gold
16486 all-stage4: all-stage4-gold
16487 TARGET-stage4-gold = $(TARGET-gold)
16488 all-stage4-gold: configure-stage4-gold
16489 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16490 @r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 TFLAGS="$(STAGE4_TFLAGS)"; \
16493 $(HOST_EXPORTS) \
16494 $(POSTSTAGE1_HOST_EXPORTS) \
16495 cd $(HOST_SUBDIR)/gold && \
16496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16497 CFLAGS="$(STAGE4_CFLAGS)" \
16498 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16499 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16504 TFLAGS="$(STAGE4_TFLAGS)" \
16505 $(TARGET-stage4-gold)
16507 maybe-clean-stage4-gold: clean-stage4-gold
16508 clean-stage4: clean-stage4-gold
16509 clean-stage4-gold:
16510 @if [ $(current_stage) = stage4 ]; then \
16511 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16512 else \
16513 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16514 $(MAKE) stage4-start; \
16515 fi; \
16516 cd $(HOST_SUBDIR)/gold && \
16517 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16518 @endif gold-bootstrap
16521 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16522 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16523 maybe-all-stageprofile-gold:
16524 maybe-clean-stageprofile-gold:
16525 @if gold-bootstrap
16526 maybe-all-stageprofile-gold: all-stageprofile-gold
16527 all-stageprofile: all-stageprofile-gold
16528 TARGET-stageprofile-gold = $(TARGET-gold)
16529 all-stageprofile-gold: configure-stageprofile-gold
16530 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16531 @r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16533 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16534 $(HOST_EXPORTS) \
16535 $(POSTSTAGE1_HOST_EXPORTS) \
16536 cd $(HOST_SUBDIR)/gold && \
16537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16538 CFLAGS="$(STAGEprofile_CFLAGS)" \
16539 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16540 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16545 TFLAGS="$(STAGEprofile_TFLAGS)" \
16546 $(TARGET-stageprofile-gold)
16548 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16549 clean-stageprofile: clean-stageprofile-gold
16550 clean-stageprofile-gold:
16551 @if [ $(current_stage) = stageprofile ]; then \
16552 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16553 else \
16554 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16555 $(MAKE) stageprofile-start; \
16556 fi; \
16557 cd $(HOST_SUBDIR)/gold && \
16558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16559 @endif gold-bootstrap
16562 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16563 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16564 maybe-all-stagefeedback-gold:
16565 maybe-clean-stagefeedback-gold:
16566 @if gold-bootstrap
16567 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16568 all-stagefeedback: all-stagefeedback-gold
16569 TARGET-stagefeedback-gold = $(TARGET-gold)
16570 all-stagefeedback-gold: configure-stagefeedback-gold
16571 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16572 @r=`${PWD_COMMAND}`; export r; \
16573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16574 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16575 $(HOST_EXPORTS) \
16576 $(POSTSTAGE1_HOST_EXPORTS) \
16577 cd $(HOST_SUBDIR)/gold && \
16578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16579 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16580 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16581 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16586 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16587 $(TARGET-stagefeedback-gold)
16589 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16590 clean-stagefeedback: clean-stagefeedback-gold
16591 clean-stagefeedback-gold:
16592 @if [ $(current_stage) = stagefeedback ]; then \
16593 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16594 else \
16595 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16596 $(MAKE) stagefeedback-start; \
16597 fi; \
16598 cd $(HOST_SUBDIR)/gold && \
16599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16600 @endif gold-bootstrap
16606 .PHONY: check-gold maybe-check-gold
16607 maybe-check-gold:
16608 @if gold
16609 maybe-check-gold: check-gold
16611 check-gold:
16612 @: $(MAKE); $(unstage)
16613 @r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 (cd $(HOST_SUBDIR)/gold && \
16617 $(MAKE) $(FLAGS_TO_PASS) check)
16619 @endif gold
16621 .PHONY: install-gold maybe-install-gold
16622 maybe-install-gold:
16623 @if gold
16624 maybe-install-gold: install-gold
16626 install-gold: installdirs
16627 @: $(MAKE); $(unstage)
16628 @r=`${PWD_COMMAND}`; export r; \
16629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16630 $(HOST_EXPORTS) \
16631 (cd $(HOST_SUBDIR)/gold && \
16632 $(MAKE) $(FLAGS_TO_PASS) install)
16634 @endif gold
16636 .PHONY: install-strip-gold maybe-install-strip-gold
16637 maybe-install-strip-gold:
16638 @if gold
16639 maybe-install-strip-gold: install-strip-gold
16641 install-strip-gold: installdirs
16642 @: $(MAKE); $(unstage)
16643 @r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(HOST_EXPORTS) \
16646 (cd $(HOST_SUBDIR)/gold && \
16647 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16649 @endif gold
16651 # Other targets (info, dvi, pdf, etc.)
16653 .PHONY: maybe-info-gold info-gold
16654 maybe-info-gold:
16655 @if gold
16656 maybe-info-gold: info-gold
16658 info-gold: \
16659 configure-gold
16660 @[ -f ./gold/Makefile ] || exit 0; \
16661 r=`${PWD_COMMAND}`; export r; \
16662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16663 $(HOST_EXPORTS) \
16664 for flag in $(EXTRA_HOST_FLAGS) ; do \
16665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16666 done; \
16667 echo "Doing info in gold" ; \
16668 (cd $(HOST_SUBDIR)/gold && \
16669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16671 "RANLIB=$${RANLIB}" \
16672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16673 info) \
16674 || exit 1
16676 @endif gold
16678 .PHONY: maybe-dvi-gold dvi-gold
16679 maybe-dvi-gold:
16680 @if gold
16681 maybe-dvi-gold: dvi-gold
16683 dvi-gold: \
16684 configure-gold
16685 @[ -f ./gold/Makefile ] || exit 0; \
16686 r=`${PWD_COMMAND}`; export r; \
16687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16688 $(HOST_EXPORTS) \
16689 for flag in $(EXTRA_HOST_FLAGS) ; do \
16690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16691 done; \
16692 echo "Doing dvi in gold" ; \
16693 (cd $(HOST_SUBDIR)/gold && \
16694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16696 "RANLIB=$${RANLIB}" \
16697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16698 dvi) \
16699 || exit 1
16701 @endif gold
16703 .PHONY: maybe-pdf-gold pdf-gold
16704 maybe-pdf-gold:
16705 @if gold
16706 maybe-pdf-gold: pdf-gold
16708 pdf-gold: \
16709 configure-gold
16710 @[ -f ./gold/Makefile ] || exit 0; \
16711 r=`${PWD_COMMAND}`; export r; \
16712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16713 $(HOST_EXPORTS) \
16714 for flag in $(EXTRA_HOST_FLAGS) ; do \
16715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16716 done; \
16717 echo "Doing pdf in gold" ; \
16718 (cd $(HOST_SUBDIR)/gold && \
16719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16721 "RANLIB=$${RANLIB}" \
16722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16723 pdf) \
16724 || exit 1
16726 @endif gold
16728 .PHONY: maybe-html-gold html-gold
16729 maybe-html-gold:
16730 @if gold
16731 maybe-html-gold: html-gold
16733 html-gold: \
16734 configure-gold
16735 @[ -f ./gold/Makefile ] || exit 0; \
16736 r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16738 $(HOST_EXPORTS) \
16739 for flag in $(EXTRA_HOST_FLAGS) ; do \
16740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16741 done; \
16742 echo "Doing html in gold" ; \
16743 (cd $(HOST_SUBDIR)/gold && \
16744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16746 "RANLIB=$${RANLIB}" \
16747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16748 html) \
16749 || exit 1
16751 @endif gold
16753 .PHONY: maybe-TAGS-gold TAGS-gold
16754 maybe-TAGS-gold:
16755 @if gold
16756 maybe-TAGS-gold: TAGS-gold
16758 TAGS-gold: \
16759 configure-gold
16760 @[ -f ./gold/Makefile ] || exit 0; \
16761 r=`${PWD_COMMAND}`; export r; \
16762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16763 $(HOST_EXPORTS) \
16764 for flag in $(EXTRA_HOST_FLAGS) ; do \
16765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16766 done; \
16767 echo "Doing TAGS in gold" ; \
16768 (cd $(HOST_SUBDIR)/gold && \
16769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16771 "RANLIB=$${RANLIB}" \
16772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16773 TAGS) \
16774 || exit 1
16776 @endif gold
16778 .PHONY: maybe-install-info-gold install-info-gold
16779 maybe-install-info-gold:
16780 @if gold
16781 maybe-install-info-gold: install-info-gold
16783 install-info-gold: \
16784 configure-gold \
16785 info-gold
16786 @[ -f ./gold/Makefile ] || exit 0; \
16787 r=`${PWD_COMMAND}`; export r; \
16788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16789 $(HOST_EXPORTS) \
16790 for flag in $(EXTRA_HOST_FLAGS) ; do \
16791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16792 done; \
16793 echo "Doing install-info in gold" ; \
16794 (cd $(HOST_SUBDIR)/gold && \
16795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16797 "RANLIB=$${RANLIB}" \
16798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16799 install-info) \
16800 || exit 1
16802 @endif gold
16804 .PHONY: maybe-install-pdf-gold install-pdf-gold
16805 maybe-install-pdf-gold:
16806 @if gold
16807 maybe-install-pdf-gold: install-pdf-gold
16809 install-pdf-gold: \
16810 configure-gold \
16811 pdf-gold
16812 @[ -f ./gold/Makefile ] || exit 0; \
16813 r=`${PWD_COMMAND}`; export r; \
16814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16815 $(HOST_EXPORTS) \
16816 for flag in $(EXTRA_HOST_FLAGS) ; do \
16817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16818 done; \
16819 echo "Doing install-pdf in gold" ; \
16820 (cd $(HOST_SUBDIR)/gold && \
16821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16823 "RANLIB=$${RANLIB}" \
16824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16825 install-pdf) \
16826 || exit 1
16828 @endif gold
16830 .PHONY: maybe-install-html-gold install-html-gold
16831 maybe-install-html-gold:
16832 @if gold
16833 maybe-install-html-gold: install-html-gold
16835 install-html-gold: \
16836 configure-gold \
16837 html-gold
16838 @[ -f ./gold/Makefile ] || exit 0; \
16839 r=`${PWD_COMMAND}`; export r; \
16840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16841 $(HOST_EXPORTS) \
16842 for flag in $(EXTRA_HOST_FLAGS) ; do \
16843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16844 done; \
16845 echo "Doing install-html in gold" ; \
16846 (cd $(HOST_SUBDIR)/gold && \
16847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16849 "RANLIB=$${RANLIB}" \
16850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16851 install-html) \
16852 || exit 1
16854 @endif gold
16856 .PHONY: maybe-installcheck-gold installcheck-gold
16857 maybe-installcheck-gold:
16858 @if gold
16859 maybe-installcheck-gold: installcheck-gold
16861 installcheck-gold: \
16862 configure-gold
16863 @[ -f ./gold/Makefile ] || exit 0; \
16864 r=`${PWD_COMMAND}`; export r; \
16865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16866 $(HOST_EXPORTS) \
16867 for flag in $(EXTRA_HOST_FLAGS) ; do \
16868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16869 done; \
16870 echo "Doing installcheck in gold" ; \
16871 (cd $(HOST_SUBDIR)/gold && \
16872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16874 "RANLIB=$${RANLIB}" \
16875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16876 installcheck) \
16877 || exit 1
16879 @endif gold
16881 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16882 maybe-mostlyclean-gold:
16883 @if gold
16884 maybe-mostlyclean-gold: mostlyclean-gold
16886 mostlyclean-gold:
16887 @[ -f ./gold/Makefile ] || exit 0; \
16888 r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 $(HOST_EXPORTS) \
16891 for flag in $(EXTRA_HOST_FLAGS) ; do \
16892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16893 done; \
16894 echo "Doing mostlyclean in gold" ; \
16895 (cd $(HOST_SUBDIR)/gold && \
16896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16898 "RANLIB=$${RANLIB}" \
16899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16900 mostlyclean) \
16901 || exit 1
16903 @endif gold
16905 .PHONY: maybe-clean-gold clean-gold
16906 maybe-clean-gold:
16907 @if gold
16908 maybe-clean-gold: clean-gold
16910 clean-gold:
16911 @[ -f ./gold/Makefile ] || exit 0; \
16912 r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16914 $(HOST_EXPORTS) \
16915 for flag in $(EXTRA_HOST_FLAGS) ; do \
16916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16917 done; \
16918 echo "Doing clean in gold" ; \
16919 (cd $(HOST_SUBDIR)/gold && \
16920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16922 "RANLIB=$${RANLIB}" \
16923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16924 clean) \
16925 || exit 1
16927 @endif gold
16929 .PHONY: maybe-distclean-gold distclean-gold
16930 maybe-distclean-gold:
16931 @if gold
16932 maybe-distclean-gold: distclean-gold
16934 distclean-gold:
16935 @[ -f ./gold/Makefile ] || exit 0; \
16936 r=`${PWD_COMMAND}`; export r; \
16937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16938 $(HOST_EXPORTS) \
16939 for flag in $(EXTRA_HOST_FLAGS) ; do \
16940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16941 done; \
16942 echo "Doing distclean in gold" ; \
16943 (cd $(HOST_SUBDIR)/gold && \
16944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16946 "RANLIB=$${RANLIB}" \
16947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16948 distclean) \
16949 || exit 1
16951 @endif gold
16953 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16954 maybe-maintainer-clean-gold:
16955 @if gold
16956 maybe-maintainer-clean-gold: maintainer-clean-gold
16958 maintainer-clean-gold:
16959 @[ -f ./gold/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing maintainer-clean in gold" ; \
16967 (cd $(HOST_SUBDIR)/gold && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16972 maintainer-clean) \
16973 || exit 1
16975 @endif gold
16979 .PHONY: configure-gprof maybe-configure-gprof
16980 maybe-configure-gprof:
16981 @if gcc-bootstrap
16982 configure-gprof: stage_current
16983 @endif gcc-bootstrap
16984 @if gprof
16985 maybe-configure-gprof: configure-gprof
16986 configure-gprof:
16987 @: $(MAKE); $(unstage)
16988 @r=`${PWD_COMMAND}`; export r; \
16989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16990 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16992 $(HOST_EXPORTS) \
16993 echo Configuring in $(HOST_SUBDIR)/gprof; \
16994 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16995 case $(srcdir) in \
16996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16997 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16999 esac; \
17000 module_srcdir=gprof; \
17001 $(SHELL) \
17002 $$s/$$module_srcdir/configure \
17003 --srcdir=$${topdir}/$$module_srcdir \
17004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17005 --target=${target_alias} \
17006 || exit 1
17007 @endif gprof
17013 .PHONY: all-gprof maybe-all-gprof
17014 maybe-all-gprof:
17015 @if gcc-bootstrap
17016 all-gprof: stage_current
17017 @endif gcc-bootstrap
17018 @if gprof
17019 TARGET-gprof=all
17020 maybe-all-gprof: all-gprof
17021 all-gprof: configure-gprof
17022 @: $(MAKE); $(unstage)
17023 @r=`${PWD_COMMAND}`; export r; \
17024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17025 $(HOST_EXPORTS) \
17026 (cd $(HOST_SUBDIR)/gprof && \
17027 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17028 $(TARGET-gprof))
17029 @endif gprof
17034 .PHONY: check-gprof maybe-check-gprof
17035 maybe-check-gprof:
17036 @if gprof
17037 maybe-check-gprof: check-gprof
17039 check-gprof:
17040 @: $(MAKE); $(unstage)
17041 @r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17043 $(HOST_EXPORTS) \
17044 (cd $(HOST_SUBDIR)/gprof && \
17045 $(MAKE) $(FLAGS_TO_PASS) check)
17047 @endif gprof
17049 .PHONY: install-gprof maybe-install-gprof
17050 maybe-install-gprof:
17051 @if gprof
17052 maybe-install-gprof: install-gprof
17054 install-gprof: installdirs
17055 @: $(MAKE); $(unstage)
17056 @r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 $(HOST_EXPORTS) \
17059 (cd $(HOST_SUBDIR)/gprof && \
17060 $(MAKE) $(FLAGS_TO_PASS) install)
17062 @endif gprof
17064 .PHONY: install-strip-gprof maybe-install-strip-gprof
17065 maybe-install-strip-gprof:
17066 @if gprof
17067 maybe-install-strip-gprof: install-strip-gprof
17069 install-strip-gprof: installdirs
17070 @: $(MAKE); $(unstage)
17071 @r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(HOST_EXPORTS) \
17074 (cd $(HOST_SUBDIR)/gprof && \
17075 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17077 @endif gprof
17079 # Other targets (info, dvi, pdf, etc.)
17081 .PHONY: maybe-info-gprof info-gprof
17082 maybe-info-gprof:
17083 @if gprof
17084 maybe-info-gprof: info-gprof
17086 info-gprof: \
17087 configure-gprof
17088 @: $(MAKE); $(unstage)
17089 @[ -f ./gprof/Makefile ] || exit 0; \
17090 r=`${PWD_COMMAND}`; export r; \
17091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17092 $(HOST_EXPORTS) \
17093 for flag in $(EXTRA_HOST_FLAGS) ; do \
17094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17095 done; \
17096 echo "Doing info in gprof" ; \
17097 (cd $(HOST_SUBDIR)/gprof && \
17098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17100 "RANLIB=$${RANLIB}" \
17101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17102 info) \
17103 || exit 1
17105 @endif gprof
17107 .PHONY: maybe-dvi-gprof dvi-gprof
17108 maybe-dvi-gprof:
17109 @if gprof
17110 maybe-dvi-gprof: dvi-gprof
17112 dvi-gprof: \
17113 configure-gprof
17114 @: $(MAKE); $(unstage)
17115 @[ -f ./gprof/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing dvi in gprof" ; \
17123 (cd $(HOST_SUBDIR)/gprof && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17128 dvi) \
17129 || exit 1
17131 @endif gprof
17133 .PHONY: maybe-pdf-gprof pdf-gprof
17134 maybe-pdf-gprof:
17135 @if gprof
17136 maybe-pdf-gprof: pdf-gprof
17138 pdf-gprof: \
17139 configure-gprof
17140 @: $(MAKE); $(unstage)
17141 @[ -f ./gprof/Makefile ] || exit 0; \
17142 r=`${PWD_COMMAND}`; export r; \
17143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17144 $(HOST_EXPORTS) \
17145 for flag in $(EXTRA_HOST_FLAGS) ; do \
17146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17147 done; \
17148 echo "Doing pdf in gprof" ; \
17149 (cd $(HOST_SUBDIR)/gprof && \
17150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17152 "RANLIB=$${RANLIB}" \
17153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17154 pdf) \
17155 || exit 1
17157 @endif gprof
17159 .PHONY: maybe-html-gprof html-gprof
17160 maybe-html-gprof:
17161 @if gprof
17162 maybe-html-gprof: html-gprof
17164 html-gprof: \
17165 configure-gprof
17166 @: $(MAKE); $(unstage)
17167 @[ -f ./gprof/Makefile ] || exit 0; \
17168 r=`${PWD_COMMAND}`; export r; \
17169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17170 $(HOST_EXPORTS) \
17171 for flag in $(EXTRA_HOST_FLAGS) ; do \
17172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17173 done; \
17174 echo "Doing html in gprof" ; \
17175 (cd $(HOST_SUBDIR)/gprof && \
17176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17178 "RANLIB=$${RANLIB}" \
17179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17180 html) \
17181 || exit 1
17183 @endif gprof
17185 .PHONY: maybe-TAGS-gprof TAGS-gprof
17186 maybe-TAGS-gprof:
17187 @if gprof
17188 maybe-TAGS-gprof: TAGS-gprof
17190 TAGS-gprof: \
17191 configure-gprof
17192 @: $(MAKE); $(unstage)
17193 @[ -f ./gprof/Makefile ] || exit 0; \
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 $(HOST_EXPORTS) \
17197 for flag in $(EXTRA_HOST_FLAGS) ; do \
17198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17199 done; \
17200 echo "Doing TAGS in gprof" ; \
17201 (cd $(HOST_SUBDIR)/gprof && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17204 "RANLIB=$${RANLIB}" \
17205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17206 TAGS) \
17207 || exit 1
17209 @endif gprof
17211 .PHONY: maybe-install-info-gprof install-info-gprof
17212 maybe-install-info-gprof:
17213 @if gprof
17214 maybe-install-info-gprof: install-info-gprof
17216 install-info-gprof: \
17217 configure-gprof \
17218 info-gprof
17219 @: $(MAKE); $(unstage)
17220 @[ -f ./gprof/Makefile ] || exit 0; \
17221 r=`${PWD_COMMAND}`; export r; \
17222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17223 $(HOST_EXPORTS) \
17224 for flag in $(EXTRA_HOST_FLAGS) ; do \
17225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17226 done; \
17227 echo "Doing install-info in gprof" ; \
17228 (cd $(HOST_SUBDIR)/gprof && \
17229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17231 "RANLIB=$${RANLIB}" \
17232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17233 install-info) \
17234 || exit 1
17236 @endif gprof
17238 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
17239 maybe-install-pdf-gprof:
17240 @if gprof
17241 maybe-install-pdf-gprof: install-pdf-gprof
17243 install-pdf-gprof: \
17244 configure-gprof \
17245 pdf-gprof
17246 @: $(MAKE); $(unstage)
17247 @[ -f ./gprof/Makefile ] || exit 0; \
17248 r=`${PWD_COMMAND}`; export r; \
17249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17250 $(HOST_EXPORTS) \
17251 for flag in $(EXTRA_HOST_FLAGS) ; do \
17252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17253 done; \
17254 echo "Doing install-pdf in gprof" ; \
17255 (cd $(HOST_SUBDIR)/gprof && \
17256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17258 "RANLIB=$${RANLIB}" \
17259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17260 install-pdf) \
17261 || exit 1
17263 @endif gprof
17265 .PHONY: maybe-install-html-gprof install-html-gprof
17266 maybe-install-html-gprof:
17267 @if gprof
17268 maybe-install-html-gprof: install-html-gprof
17270 install-html-gprof: \
17271 configure-gprof \
17272 html-gprof
17273 @: $(MAKE); $(unstage)
17274 @[ -f ./gprof/Makefile ] || exit 0; \
17275 r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17277 $(HOST_EXPORTS) \
17278 for flag in $(EXTRA_HOST_FLAGS) ; do \
17279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17280 done; \
17281 echo "Doing install-html in gprof" ; \
17282 (cd $(HOST_SUBDIR)/gprof && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17285 "RANLIB=$${RANLIB}" \
17286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17287 install-html) \
17288 || exit 1
17290 @endif gprof
17292 .PHONY: maybe-installcheck-gprof installcheck-gprof
17293 maybe-installcheck-gprof:
17294 @if gprof
17295 maybe-installcheck-gprof: installcheck-gprof
17297 installcheck-gprof: \
17298 configure-gprof
17299 @: $(MAKE); $(unstage)
17300 @[ -f ./gprof/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303 $(HOST_EXPORTS) \
17304 for flag in $(EXTRA_HOST_FLAGS) ; do \
17305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17306 done; \
17307 echo "Doing installcheck in gprof" ; \
17308 (cd $(HOST_SUBDIR)/gprof && \
17309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311 "RANLIB=$${RANLIB}" \
17312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17313 installcheck) \
17314 || exit 1
17316 @endif gprof
17318 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
17319 maybe-mostlyclean-gprof:
17320 @if gprof
17321 maybe-mostlyclean-gprof: mostlyclean-gprof
17323 mostlyclean-gprof:
17324 @: $(MAKE); $(unstage)
17325 @[ -f ./gprof/Makefile ] || exit 0; \
17326 r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17328 $(HOST_EXPORTS) \
17329 for flag in $(EXTRA_HOST_FLAGS) ; do \
17330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17331 done; \
17332 echo "Doing mostlyclean in gprof" ; \
17333 (cd $(HOST_SUBDIR)/gprof && \
17334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17336 "RANLIB=$${RANLIB}" \
17337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17338 mostlyclean) \
17339 || exit 1
17341 @endif gprof
17343 .PHONY: maybe-clean-gprof clean-gprof
17344 maybe-clean-gprof:
17345 @if gprof
17346 maybe-clean-gprof: clean-gprof
17348 clean-gprof:
17349 @: $(MAKE); $(unstage)
17350 @[ -f ./gprof/Makefile ] || exit 0; \
17351 r=`${PWD_COMMAND}`; export r; \
17352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17353 $(HOST_EXPORTS) \
17354 for flag in $(EXTRA_HOST_FLAGS) ; do \
17355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17356 done; \
17357 echo "Doing clean in gprof" ; \
17358 (cd $(HOST_SUBDIR)/gprof && \
17359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17361 "RANLIB=$${RANLIB}" \
17362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17363 clean) \
17364 || exit 1
17366 @endif gprof
17368 .PHONY: maybe-distclean-gprof distclean-gprof
17369 maybe-distclean-gprof:
17370 @if gprof
17371 maybe-distclean-gprof: distclean-gprof
17373 distclean-gprof:
17374 @: $(MAKE); $(unstage)
17375 @[ -f ./gprof/Makefile ] || exit 0; \
17376 r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17378 $(HOST_EXPORTS) \
17379 for flag in $(EXTRA_HOST_FLAGS) ; do \
17380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17381 done; \
17382 echo "Doing distclean in gprof" ; \
17383 (cd $(HOST_SUBDIR)/gprof && \
17384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17386 "RANLIB=$${RANLIB}" \
17387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17388 distclean) \
17389 || exit 1
17391 @endif gprof
17393 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
17394 maybe-maintainer-clean-gprof:
17395 @if gprof
17396 maybe-maintainer-clean-gprof: maintainer-clean-gprof
17398 maintainer-clean-gprof:
17399 @: $(MAKE); $(unstage)
17400 @[ -f ./gprof/Makefile ] || exit 0; \
17401 r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17403 $(HOST_EXPORTS) \
17404 for flag in $(EXTRA_HOST_FLAGS) ; do \
17405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17406 done; \
17407 echo "Doing maintainer-clean in gprof" ; \
17408 (cd $(HOST_SUBDIR)/gprof && \
17409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17411 "RANLIB=$${RANLIB}" \
17412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17413 maintainer-clean) \
17414 || exit 1
17416 @endif gprof
17420 .PHONY: configure-intl maybe-configure-intl
17421 maybe-configure-intl:
17422 @if gcc-bootstrap
17423 configure-intl: stage_current
17424 @endif gcc-bootstrap
17425 @if intl
17426 maybe-configure-intl: configure-intl
17427 configure-intl:
17428 @r=`${PWD_COMMAND}`; export r; \
17429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17430 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17432 $(HOST_EXPORTS) \
17433 echo Configuring in $(HOST_SUBDIR)/intl; \
17434 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17435 case $(srcdir) in \
17436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17437 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17439 esac; \
17440 module_srcdir=intl; \
17441 $(SHELL) \
17442 $$s/$$module_srcdir/configure \
17443 --srcdir=$${topdir}/$$module_srcdir \
17444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17445 --target=${target_alias} \
17446 || exit 1
17447 @endif intl
17451 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17452 maybe-configure-stage1-intl:
17453 @if intl-bootstrap
17454 maybe-configure-stage1-intl: configure-stage1-intl
17455 configure-stage1-intl:
17456 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17458 @r=`${PWD_COMMAND}`; export r; \
17459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17460 TFLAGS="$(STAGE1_TFLAGS)"; \
17461 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17462 $(HOST_EXPORTS) \
17463 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17464 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17465 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17466 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17468 cd $(HOST_SUBDIR)/intl || exit 1; \
17469 case $(srcdir) in \
17470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17471 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17473 esac; \
17474 module_srcdir=intl; \
17475 $(SHELL) $$s/$$module_srcdir/configure \
17476 --srcdir=$${topdir}/$$module_srcdir \
17477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17478 --target=${target_alias} \
17480 $(STAGE1_CONFIGURE_FLAGS)
17481 @endif intl-bootstrap
17483 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17484 maybe-configure-stage2-intl:
17485 @if intl-bootstrap
17486 maybe-configure-stage2-intl: configure-stage2-intl
17487 configure-stage2-intl:
17488 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17490 @r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 TFLAGS="$(STAGE2_TFLAGS)"; \
17493 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17494 $(HOST_EXPORTS) \
17495 $(POSTSTAGE1_HOST_EXPORTS) \
17496 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17497 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17498 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17499 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17501 cd $(HOST_SUBDIR)/intl || exit 1; \
17502 case $(srcdir) in \
17503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17504 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17506 esac; \
17507 module_srcdir=intl; \
17508 $(SHELL) $$s/$$module_srcdir/configure \
17509 --srcdir=$${topdir}/$$module_srcdir \
17510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17511 --target=${target_alias} \
17512 --with-build-libsubdir=$(HOST_SUBDIR) \
17513 $(STAGE2_CONFIGURE_FLAGS)
17514 @endif intl-bootstrap
17516 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17517 maybe-configure-stage3-intl:
17518 @if intl-bootstrap
17519 maybe-configure-stage3-intl: configure-stage3-intl
17520 configure-stage3-intl:
17521 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17523 @r=`${PWD_COMMAND}`; export r; \
17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 TFLAGS="$(STAGE3_TFLAGS)"; \
17526 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17527 $(HOST_EXPORTS) \
17528 $(POSTSTAGE1_HOST_EXPORTS) \
17529 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17530 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17531 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17532 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17534 cd $(HOST_SUBDIR)/intl || exit 1; \
17535 case $(srcdir) in \
17536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17537 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17539 esac; \
17540 module_srcdir=intl; \
17541 $(SHELL) $$s/$$module_srcdir/configure \
17542 --srcdir=$${topdir}/$$module_srcdir \
17543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17544 --target=${target_alias} \
17545 --with-build-libsubdir=$(HOST_SUBDIR) \
17546 $(STAGE3_CONFIGURE_FLAGS)
17547 @endif intl-bootstrap
17549 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17550 maybe-configure-stage4-intl:
17551 @if intl-bootstrap
17552 maybe-configure-stage4-intl: configure-stage4-intl
17553 configure-stage4-intl:
17554 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17556 @r=`${PWD_COMMAND}`; export r; \
17557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17558 TFLAGS="$(STAGE4_TFLAGS)"; \
17559 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17560 $(HOST_EXPORTS) \
17561 $(POSTSTAGE1_HOST_EXPORTS) \
17562 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17563 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17564 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17565 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17567 cd $(HOST_SUBDIR)/intl || exit 1; \
17568 case $(srcdir) in \
17569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17570 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17572 esac; \
17573 module_srcdir=intl; \
17574 $(SHELL) $$s/$$module_srcdir/configure \
17575 --srcdir=$${topdir}/$$module_srcdir \
17576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17577 --target=${target_alias} \
17578 --with-build-libsubdir=$(HOST_SUBDIR) \
17579 $(STAGE4_CONFIGURE_FLAGS)
17580 @endif intl-bootstrap
17582 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17583 maybe-configure-stageprofile-intl:
17584 @if intl-bootstrap
17585 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17586 configure-stageprofile-intl:
17587 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17589 @r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17592 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17593 $(HOST_EXPORTS) \
17594 $(POSTSTAGE1_HOST_EXPORTS) \
17595 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17596 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17597 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17598 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17600 cd $(HOST_SUBDIR)/intl || exit 1; \
17601 case $(srcdir) in \
17602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17603 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17605 esac; \
17606 module_srcdir=intl; \
17607 $(SHELL) $$s/$$module_srcdir/configure \
17608 --srcdir=$${topdir}/$$module_srcdir \
17609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17610 --target=${target_alias} \
17611 --with-build-libsubdir=$(HOST_SUBDIR) \
17612 $(STAGEprofile_CONFIGURE_FLAGS)
17613 @endif intl-bootstrap
17615 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17616 maybe-configure-stagefeedback-intl:
17617 @if intl-bootstrap
17618 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17619 configure-stagefeedback-intl:
17620 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17622 @r=`${PWD_COMMAND}`; export r; \
17623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17624 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17625 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17626 $(HOST_EXPORTS) \
17627 $(POSTSTAGE1_HOST_EXPORTS) \
17628 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17629 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17630 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17631 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17633 cd $(HOST_SUBDIR)/intl || exit 1; \
17634 case $(srcdir) in \
17635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17636 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17638 esac; \
17639 module_srcdir=intl; \
17640 $(SHELL) $$s/$$module_srcdir/configure \
17641 --srcdir=$${topdir}/$$module_srcdir \
17642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17643 --target=${target_alias} \
17644 --with-build-libsubdir=$(HOST_SUBDIR) \
17645 $(STAGEfeedback_CONFIGURE_FLAGS)
17646 @endif intl-bootstrap
17652 .PHONY: all-intl maybe-all-intl
17653 maybe-all-intl:
17654 @if gcc-bootstrap
17655 all-intl: stage_current
17656 @endif gcc-bootstrap
17657 @if intl
17658 TARGET-intl=all
17659 maybe-all-intl: all-intl
17660 all-intl: configure-intl
17661 @r=`${PWD_COMMAND}`; export r; \
17662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17663 $(HOST_EXPORTS) \
17664 (cd $(HOST_SUBDIR)/intl && \
17665 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17666 $(TARGET-intl))
17667 @endif intl
17671 .PHONY: all-stage1-intl maybe-all-stage1-intl
17672 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17673 maybe-all-stage1-intl:
17674 maybe-clean-stage1-intl:
17675 @if intl-bootstrap
17676 maybe-all-stage1-intl: all-stage1-intl
17677 all-stage1: all-stage1-intl
17678 TARGET-stage1-intl = $(TARGET-intl)
17679 all-stage1-intl: configure-stage1-intl
17680 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17681 @r=`${PWD_COMMAND}`; export r; \
17682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17683 TFLAGS="$(STAGE1_TFLAGS)"; \
17684 $(HOST_EXPORTS) \
17685 cd $(HOST_SUBDIR)/intl && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17687 CFLAGS="$(STAGE1_CFLAGS)" \
17688 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17689 LIBCFLAGS="$(LIBCFLAGS)" \
17690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17693 $(EXTRA_HOST_FLAGS) \
17694 $(STAGE1_FLAGS_TO_PASS) \
17695 TFLAGS="$(STAGE1_TFLAGS)" \
17696 $(TARGET-stage1-intl)
17698 maybe-clean-stage1-intl: clean-stage1-intl
17699 clean-stage1: clean-stage1-intl
17700 clean-stage1-intl:
17701 @if [ $(current_stage) = stage1 ]; then \
17702 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17703 else \
17704 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17705 $(MAKE) stage1-start; \
17706 fi; \
17707 cd $(HOST_SUBDIR)/intl && \
17708 $(MAKE) $(EXTRA_HOST_FLAGS) \
17709 $(STAGE1_FLAGS_TO_PASS) clean
17710 @endif intl-bootstrap
17713 .PHONY: all-stage2-intl maybe-all-stage2-intl
17714 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17715 maybe-all-stage2-intl:
17716 maybe-clean-stage2-intl:
17717 @if intl-bootstrap
17718 maybe-all-stage2-intl: all-stage2-intl
17719 all-stage2: all-stage2-intl
17720 TARGET-stage2-intl = $(TARGET-intl)
17721 all-stage2-intl: configure-stage2-intl
17722 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17723 @r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725 TFLAGS="$(STAGE2_TFLAGS)"; \
17726 $(HOST_EXPORTS) \
17727 $(POSTSTAGE1_HOST_EXPORTS) \
17728 cd $(HOST_SUBDIR)/intl && \
17729 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17730 CFLAGS="$(STAGE2_CFLAGS)" \
17731 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17732 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17737 TFLAGS="$(STAGE2_TFLAGS)" \
17738 $(TARGET-stage2-intl)
17740 maybe-clean-stage2-intl: clean-stage2-intl
17741 clean-stage2: clean-stage2-intl
17742 clean-stage2-intl:
17743 @if [ $(current_stage) = stage2 ]; then \
17744 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17745 else \
17746 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17747 $(MAKE) stage2-start; \
17748 fi; \
17749 cd $(HOST_SUBDIR)/intl && \
17750 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17751 @endif intl-bootstrap
17754 .PHONY: all-stage3-intl maybe-all-stage3-intl
17755 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17756 maybe-all-stage3-intl:
17757 maybe-clean-stage3-intl:
17758 @if intl-bootstrap
17759 maybe-all-stage3-intl: all-stage3-intl
17760 all-stage3: all-stage3-intl
17761 TARGET-stage3-intl = $(TARGET-intl)
17762 all-stage3-intl: configure-stage3-intl
17763 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17764 @r=`${PWD_COMMAND}`; export r; \
17765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17766 TFLAGS="$(STAGE3_TFLAGS)"; \
17767 $(HOST_EXPORTS) \
17768 $(POSTSTAGE1_HOST_EXPORTS) \
17769 cd $(HOST_SUBDIR)/intl && \
17770 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17771 CFLAGS="$(STAGE3_CFLAGS)" \
17772 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17773 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17774 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17775 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17776 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17777 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17778 TFLAGS="$(STAGE3_TFLAGS)" \
17779 $(TARGET-stage3-intl)
17781 maybe-clean-stage3-intl: clean-stage3-intl
17782 clean-stage3: clean-stage3-intl
17783 clean-stage3-intl:
17784 @if [ $(current_stage) = stage3 ]; then \
17785 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17786 else \
17787 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17788 $(MAKE) stage3-start; \
17789 fi; \
17790 cd $(HOST_SUBDIR)/intl && \
17791 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17792 @endif intl-bootstrap
17795 .PHONY: all-stage4-intl maybe-all-stage4-intl
17796 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17797 maybe-all-stage4-intl:
17798 maybe-clean-stage4-intl:
17799 @if intl-bootstrap
17800 maybe-all-stage4-intl: all-stage4-intl
17801 all-stage4: all-stage4-intl
17802 TARGET-stage4-intl = $(TARGET-intl)
17803 all-stage4-intl: configure-stage4-intl
17804 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17805 @r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 TFLAGS="$(STAGE4_TFLAGS)"; \
17808 $(HOST_EXPORTS) \
17809 $(POSTSTAGE1_HOST_EXPORTS) \
17810 cd $(HOST_SUBDIR)/intl && \
17811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17812 CFLAGS="$(STAGE4_CFLAGS)" \
17813 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17814 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17819 TFLAGS="$(STAGE4_TFLAGS)" \
17820 $(TARGET-stage4-intl)
17822 maybe-clean-stage4-intl: clean-stage4-intl
17823 clean-stage4: clean-stage4-intl
17824 clean-stage4-intl:
17825 @if [ $(current_stage) = stage4 ]; then \
17826 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17827 else \
17828 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17829 $(MAKE) stage4-start; \
17830 fi; \
17831 cd $(HOST_SUBDIR)/intl && \
17832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17833 @endif intl-bootstrap
17836 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17837 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17838 maybe-all-stageprofile-intl:
17839 maybe-clean-stageprofile-intl:
17840 @if intl-bootstrap
17841 maybe-all-stageprofile-intl: all-stageprofile-intl
17842 all-stageprofile: all-stageprofile-intl
17843 TARGET-stageprofile-intl = $(TARGET-intl)
17844 all-stageprofile-intl: configure-stageprofile-intl
17845 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17846 @r=`${PWD_COMMAND}`; export r; \
17847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17848 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17849 $(HOST_EXPORTS) \
17850 $(POSTSTAGE1_HOST_EXPORTS) \
17851 cd $(HOST_SUBDIR)/intl && \
17852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17853 CFLAGS="$(STAGEprofile_CFLAGS)" \
17854 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17855 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17860 TFLAGS="$(STAGEprofile_TFLAGS)" \
17861 $(TARGET-stageprofile-intl)
17863 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17864 clean-stageprofile: clean-stageprofile-intl
17865 clean-stageprofile-intl:
17866 @if [ $(current_stage) = stageprofile ]; then \
17867 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17868 else \
17869 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17870 $(MAKE) stageprofile-start; \
17871 fi; \
17872 cd $(HOST_SUBDIR)/intl && \
17873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17874 @endif intl-bootstrap
17877 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17878 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17879 maybe-all-stagefeedback-intl:
17880 maybe-clean-stagefeedback-intl:
17881 @if intl-bootstrap
17882 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17883 all-stagefeedback: all-stagefeedback-intl
17884 TARGET-stagefeedback-intl = $(TARGET-intl)
17885 all-stagefeedback-intl: configure-stagefeedback-intl
17886 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17887 @r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17890 $(HOST_EXPORTS) \
17891 $(POSTSTAGE1_HOST_EXPORTS) \
17892 cd $(HOST_SUBDIR)/intl && \
17893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17894 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17895 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17896 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17901 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17902 $(TARGET-stagefeedback-intl)
17904 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17905 clean-stagefeedback: clean-stagefeedback-intl
17906 clean-stagefeedback-intl:
17907 @if [ $(current_stage) = stagefeedback ]; then \
17908 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17909 else \
17910 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17911 $(MAKE) stagefeedback-start; \
17912 fi; \
17913 cd $(HOST_SUBDIR)/intl && \
17914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17915 @endif intl-bootstrap
17921 .PHONY: check-intl maybe-check-intl
17922 maybe-check-intl:
17923 @if intl
17924 maybe-check-intl: check-intl
17926 check-intl:
17927 @: $(MAKE); $(unstage)
17928 @r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(HOST_EXPORTS) \
17931 (cd $(HOST_SUBDIR)/intl && \
17932 $(MAKE) $(FLAGS_TO_PASS) check)
17934 @endif intl
17936 .PHONY: install-intl maybe-install-intl
17937 maybe-install-intl:
17938 @if intl
17939 maybe-install-intl: install-intl
17941 install-intl: installdirs
17942 @: $(MAKE); $(unstage)
17943 @r=`${PWD_COMMAND}`; export r; \
17944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17945 $(HOST_EXPORTS) \
17946 (cd $(HOST_SUBDIR)/intl && \
17947 $(MAKE) $(FLAGS_TO_PASS) install)
17949 @endif intl
17951 .PHONY: install-strip-intl maybe-install-strip-intl
17952 maybe-install-strip-intl:
17953 @if intl
17954 maybe-install-strip-intl: install-strip-intl
17956 install-strip-intl: installdirs
17957 @: $(MAKE); $(unstage)
17958 @r=`${PWD_COMMAND}`; export r; \
17959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17960 $(HOST_EXPORTS) \
17961 (cd $(HOST_SUBDIR)/intl && \
17962 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17964 @endif intl
17966 # Other targets (info, dvi, pdf, etc.)
17968 .PHONY: maybe-info-intl info-intl
17969 maybe-info-intl:
17970 @if intl
17971 maybe-info-intl: info-intl
17973 info-intl: \
17974 configure-intl
17975 @[ -f ./intl/Makefile ] || exit 0; \
17976 r=`${PWD_COMMAND}`; export r; \
17977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 $(HOST_EXPORTS) \
17979 for flag in $(EXTRA_HOST_FLAGS) ; do \
17980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17981 done; \
17982 echo "Doing info in intl" ; \
17983 (cd $(HOST_SUBDIR)/intl && \
17984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17986 "RANLIB=$${RANLIB}" \
17987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17988 info) \
17989 || exit 1
17991 @endif intl
17993 .PHONY: maybe-dvi-intl dvi-intl
17994 maybe-dvi-intl:
17995 @if intl
17996 maybe-dvi-intl: dvi-intl
17998 dvi-intl: \
17999 configure-intl
18000 @[ -f ./intl/Makefile ] || exit 0; \
18001 r=`${PWD_COMMAND}`; export r; \
18002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18003 $(HOST_EXPORTS) \
18004 for flag in $(EXTRA_HOST_FLAGS) ; do \
18005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18006 done; \
18007 echo "Doing dvi in intl" ; \
18008 (cd $(HOST_SUBDIR)/intl && \
18009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18011 "RANLIB=$${RANLIB}" \
18012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18013 dvi) \
18014 || exit 1
18016 @endif intl
18018 .PHONY: maybe-pdf-intl pdf-intl
18019 maybe-pdf-intl:
18020 @if intl
18021 maybe-pdf-intl: pdf-intl
18023 pdf-intl: \
18024 configure-intl
18025 @[ -f ./intl/Makefile ] || exit 0; \
18026 r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 $(HOST_EXPORTS) \
18029 for flag in $(EXTRA_HOST_FLAGS) ; do \
18030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18031 done; \
18032 echo "Doing pdf in intl" ; \
18033 (cd $(HOST_SUBDIR)/intl && \
18034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036 "RANLIB=$${RANLIB}" \
18037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18038 pdf) \
18039 || exit 1
18041 @endif intl
18043 .PHONY: maybe-html-intl html-intl
18044 maybe-html-intl:
18045 @if intl
18046 maybe-html-intl: html-intl
18048 html-intl: \
18049 configure-intl
18050 @[ -f ./intl/Makefile ] || exit 0; \
18051 r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 for flag in $(EXTRA_HOST_FLAGS) ; do \
18055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18056 done; \
18057 echo "Doing html in intl" ; \
18058 (cd $(HOST_SUBDIR)/intl && \
18059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18061 "RANLIB=$${RANLIB}" \
18062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18063 html) \
18064 || exit 1
18066 @endif intl
18068 .PHONY: maybe-TAGS-intl TAGS-intl
18069 maybe-TAGS-intl:
18070 @if intl
18071 maybe-TAGS-intl: TAGS-intl
18073 TAGS-intl: \
18074 configure-intl
18075 @[ -f ./intl/Makefile ] || exit 0; \
18076 r=`${PWD_COMMAND}`; export r; \
18077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18078 $(HOST_EXPORTS) \
18079 for flag in $(EXTRA_HOST_FLAGS) ; do \
18080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18081 done; \
18082 echo "Doing TAGS in intl" ; \
18083 (cd $(HOST_SUBDIR)/intl && \
18084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18086 "RANLIB=$${RANLIB}" \
18087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18088 TAGS) \
18089 || exit 1
18091 @endif intl
18093 .PHONY: maybe-install-info-intl install-info-intl
18094 maybe-install-info-intl:
18095 @if intl
18096 maybe-install-info-intl: install-info-intl
18098 install-info-intl: \
18099 configure-intl \
18100 info-intl
18101 @[ -f ./intl/Makefile ] || exit 0; \
18102 r=`${PWD_COMMAND}`; export r; \
18103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18104 $(HOST_EXPORTS) \
18105 for flag in $(EXTRA_HOST_FLAGS) ; do \
18106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18107 done; \
18108 echo "Doing install-info in intl" ; \
18109 (cd $(HOST_SUBDIR)/intl && \
18110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18112 "RANLIB=$${RANLIB}" \
18113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18114 install-info) \
18115 || exit 1
18117 @endif intl
18119 .PHONY: maybe-install-pdf-intl install-pdf-intl
18120 maybe-install-pdf-intl:
18121 @if intl
18122 maybe-install-pdf-intl: install-pdf-intl
18124 install-pdf-intl: \
18125 configure-intl \
18126 pdf-intl
18127 @[ -f ./intl/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 $(HOST_EXPORTS) \
18131 for flag in $(EXTRA_HOST_FLAGS) ; do \
18132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18133 done; \
18134 echo "Doing install-pdf in intl" ; \
18135 (cd $(HOST_SUBDIR)/intl && \
18136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18138 "RANLIB=$${RANLIB}" \
18139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18140 install-pdf) \
18141 || exit 1
18143 @endif intl
18145 .PHONY: maybe-install-html-intl install-html-intl
18146 maybe-install-html-intl:
18147 @if intl
18148 maybe-install-html-intl: install-html-intl
18150 install-html-intl: \
18151 configure-intl \
18152 html-intl
18153 @[ -f ./intl/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(HOST_EXPORTS) \
18157 for flag in $(EXTRA_HOST_FLAGS) ; do \
18158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18159 done; \
18160 echo "Doing install-html in intl" ; \
18161 (cd $(HOST_SUBDIR)/intl && \
18162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18164 "RANLIB=$${RANLIB}" \
18165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18166 install-html) \
18167 || exit 1
18169 @endif intl
18171 .PHONY: maybe-installcheck-intl installcheck-intl
18172 maybe-installcheck-intl:
18173 @if intl
18174 maybe-installcheck-intl: installcheck-intl
18176 installcheck-intl: \
18177 configure-intl
18178 @[ -f ./intl/Makefile ] || exit 0; \
18179 r=`${PWD_COMMAND}`; export r; \
18180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18181 $(HOST_EXPORTS) \
18182 for flag in $(EXTRA_HOST_FLAGS) ; do \
18183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18184 done; \
18185 echo "Doing installcheck in intl" ; \
18186 (cd $(HOST_SUBDIR)/intl && \
18187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18189 "RANLIB=$${RANLIB}" \
18190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18191 installcheck) \
18192 || exit 1
18194 @endif intl
18196 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18197 maybe-mostlyclean-intl:
18198 @if intl
18199 maybe-mostlyclean-intl: mostlyclean-intl
18201 mostlyclean-intl:
18202 @[ -f ./intl/Makefile ] || exit 0; \
18203 r=`${PWD_COMMAND}`; export r; \
18204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18205 $(HOST_EXPORTS) \
18206 for flag in $(EXTRA_HOST_FLAGS) ; do \
18207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18208 done; \
18209 echo "Doing mostlyclean in intl" ; \
18210 (cd $(HOST_SUBDIR)/intl && \
18211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18213 "RANLIB=$${RANLIB}" \
18214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18215 mostlyclean) \
18216 || exit 1
18218 @endif intl
18220 .PHONY: maybe-clean-intl clean-intl
18221 maybe-clean-intl:
18222 @if intl
18223 maybe-clean-intl: clean-intl
18225 clean-intl:
18226 @[ -f ./intl/Makefile ] || exit 0; \
18227 r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 $(HOST_EXPORTS) \
18230 for flag in $(EXTRA_HOST_FLAGS) ; do \
18231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18232 done; \
18233 echo "Doing clean in intl" ; \
18234 (cd $(HOST_SUBDIR)/intl && \
18235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18237 "RANLIB=$${RANLIB}" \
18238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18239 clean) \
18240 || exit 1
18242 @endif intl
18244 .PHONY: maybe-distclean-intl distclean-intl
18245 maybe-distclean-intl:
18246 @if intl
18247 maybe-distclean-intl: distclean-intl
18249 distclean-intl:
18250 @[ -f ./intl/Makefile ] || exit 0; \
18251 r=`${PWD_COMMAND}`; export r; \
18252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18253 $(HOST_EXPORTS) \
18254 for flag in $(EXTRA_HOST_FLAGS) ; do \
18255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18256 done; \
18257 echo "Doing distclean in intl" ; \
18258 (cd $(HOST_SUBDIR)/intl && \
18259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18261 "RANLIB=$${RANLIB}" \
18262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18263 distclean) \
18264 || exit 1
18266 @endif intl
18268 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18269 maybe-maintainer-clean-intl:
18270 @if intl
18271 maybe-maintainer-clean-intl: maintainer-clean-intl
18273 maintainer-clean-intl:
18274 @[ -f ./intl/Makefile ] || exit 0; \
18275 r=`${PWD_COMMAND}`; export r; \
18276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18277 $(HOST_EXPORTS) \
18278 for flag in $(EXTRA_HOST_FLAGS) ; do \
18279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18280 done; \
18281 echo "Doing maintainer-clean in intl" ; \
18282 (cd $(HOST_SUBDIR)/intl && \
18283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18285 "RANLIB=$${RANLIB}" \
18286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18287 maintainer-clean) \
18288 || exit 1
18290 @endif intl
18294 .PHONY: configure-tcl maybe-configure-tcl
18295 maybe-configure-tcl:
18296 @if gcc-bootstrap
18297 configure-tcl: stage_current
18298 @endif gcc-bootstrap
18299 @if tcl
18300 maybe-configure-tcl: configure-tcl
18301 configure-tcl:
18302 @: $(MAKE); $(unstage)
18303 @r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18307 $(HOST_EXPORTS) \
18308 echo Configuring in $(HOST_SUBDIR)/tcl; \
18309 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18310 case $(srcdir) in \
18311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18312 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18314 esac; \
18315 module_srcdir=tcl; \
18316 $(SHELL) \
18317 $$s/$$module_srcdir/configure \
18318 --srcdir=$${topdir}/$$module_srcdir \
18319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18320 --target=${target_alias} \
18321 || exit 1
18322 @endif tcl
18328 .PHONY: all-tcl maybe-all-tcl
18329 maybe-all-tcl:
18330 @if gcc-bootstrap
18331 all-tcl: stage_current
18332 @endif gcc-bootstrap
18333 @if tcl
18334 TARGET-tcl=all
18335 maybe-all-tcl: all-tcl
18336 all-tcl: configure-tcl
18337 @: $(MAKE); $(unstage)
18338 @r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340 $(HOST_EXPORTS) \
18341 (cd $(HOST_SUBDIR)/tcl && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18343 $(TARGET-tcl))
18344 @endif tcl
18349 .PHONY: check-tcl maybe-check-tcl
18350 maybe-check-tcl:
18351 @if tcl
18352 maybe-check-tcl: check-tcl
18354 check-tcl:
18355 @: $(MAKE); $(unstage)
18356 @r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 $(HOST_EXPORTS) \
18359 (cd $(HOST_SUBDIR)/tcl && \
18360 $(MAKE) $(FLAGS_TO_PASS) check)
18362 @endif tcl
18364 .PHONY: install-tcl maybe-install-tcl
18365 maybe-install-tcl:
18366 @if tcl
18367 maybe-install-tcl: install-tcl
18369 install-tcl: installdirs
18370 @: $(MAKE); $(unstage)
18371 @r=`${PWD_COMMAND}`; export r; \
18372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18373 $(HOST_EXPORTS) \
18374 (cd $(HOST_SUBDIR)/tcl && \
18375 $(MAKE) $(FLAGS_TO_PASS) install)
18377 @endif tcl
18379 .PHONY: install-strip-tcl maybe-install-strip-tcl
18380 maybe-install-strip-tcl:
18381 @if tcl
18382 maybe-install-strip-tcl: install-strip-tcl
18384 install-strip-tcl: installdirs
18385 @: $(MAKE); $(unstage)
18386 @r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388 $(HOST_EXPORTS) \
18389 (cd $(HOST_SUBDIR)/tcl && \
18390 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18392 @endif tcl
18394 # Other targets (info, dvi, pdf, etc.)
18396 .PHONY: maybe-info-tcl info-tcl
18397 maybe-info-tcl:
18398 @if tcl
18399 maybe-info-tcl: info-tcl
18401 info-tcl: \
18402 configure-tcl
18403 @: $(MAKE); $(unstage)
18404 @[ -f ./tcl/Makefile ] || exit 0; \
18405 r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 $(HOST_EXPORTS) \
18408 for flag in $(EXTRA_HOST_FLAGS) ; do \
18409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18410 done; \
18411 echo "Doing info in tcl" ; \
18412 (cd $(HOST_SUBDIR)/tcl && \
18413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18415 "RANLIB=$${RANLIB}" \
18416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18417 info) \
18418 || exit 1
18420 @endif tcl
18422 .PHONY: maybe-dvi-tcl dvi-tcl
18423 maybe-dvi-tcl:
18424 @if tcl
18425 maybe-dvi-tcl: dvi-tcl
18427 dvi-tcl: \
18428 configure-tcl
18429 @: $(MAKE); $(unstage)
18430 @[ -f ./tcl/Makefile ] || exit 0; \
18431 r=`${PWD_COMMAND}`; export r; \
18432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18433 $(HOST_EXPORTS) \
18434 for flag in $(EXTRA_HOST_FLAGS) ; do \
18435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18436 done; \
18437 echo "Doing dvi in tcl" ; \
18438 (cd $(HOST_SUBDIR)/tcl && \
18439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18441 "RANLIB=$${RANLIB}" \
18442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18443 dvi) \
18444 || exit 1
18446 @endif tcl
18448 .PHONY: maybe-pdf-tcl pdf-tcl
18449 maybe-pdf-tcl:
18450 @if tcl
18451 maybe-pdf-tcl: pdf-tcl
18453 pdf-tcl: \
18454 configure-tcl
18455 @: $(MAKE); $(unstage)
18456 @[ -f ./tcl/Makefile ] || exit 0; \
18457 r=`${PWD_COMMAND}`; export r; \
18458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18459 $(HOST_EXPORTS) \
18460 for flag in $(EXTRA_HOST_FLAGS) ; do \
18461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18462 done; \
18463 echo "Doing pdf in tcl" ; \
18464 (cd $(HOST_SUBDIR)/tcl && \
18465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18467 "RANLIB=$${RANLIB}" \
18468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18469 pdf) \
18470 || exit 1
18472 @endif tcl
18474 .PHONY: maybe-html-tcl html-tcl
18475 maybe-html-tcl:
18476 @if tcl
18477 maybe-html-tcl: html-tcl
18479 html-tcl: \
18480 configure-tcl
18481 @: $(MAKE); $(unstage)
18482 @[ -f ./tcl/Makefile ] || exit 0; \
18483 r=`${PWD_COMMAND}`; export r; \
18484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18485 $(HOST_EXPORTS) \
18486 for flag in $(EXTRA_HOST_FLAGS) ; do \
18487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18488 done; \
18489 echo "Doing html in tcl" ; \
18490 (cd $(HOST_SUBDIR)/tcl && \
18491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18493 "RANLIB=$${RANLIB}" \
18494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18495 html) \
18496 || exit 1
18498 @endif tcl
18500 .PHONY: maybe-TAGS-tcl TAGS-tcl
18501 maybe-TAGS-tcl:
18502 @if tcl
18503 maybe-TAGS-tcl: TAGS-tcl
18505 TAGS-tcl: \
18506 configure-tcl
18507 @: $(MAKE); $(unstage)
18508 @[ -f ./tcl/Makefile ] || exit 0; \
18509 r=`${PWD_COMMAND}`; export r; \
18510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18511 $(HOST_EXPORTS) \
18512 for flag in $(EXTRA_HOST_FLAGS) ; do \
18513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18514 done; \
18515 echo "Doing TAGS in tcl" ; \
18516 (cd $(HOST_SUBDIR)/tcl && \
18517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18519 "RANLIB=$${RANLIB}" \
18520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18521 TAGS) \
18522 || exit 1
18524 @endif tcl
18526 .PHONY: maybe-install-info-tcl install-info-tcl
18527 maybe-install-info-tcl:
18528 @if tcl
18529 maybe-install-info-tcl: install-info-tcl
18531 install-info-tcl: \
18532 configure-tcl \
18533 info-tcl
18534 @: $(MAKE); $(unstage)
18535 @[ -f ./tcl/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(HOST_EXPORTS) \
18539 for flag in $(EXTRA_HOST_FLAGS) ; do \
18540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18541 done; \
18542 echo "Doing install-info in tcl" ; \
18543 (cd $(HOST_SUBDIR)/tcl && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18546 "RANLIB=$${RANLIB}" \
18547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18548 install-info) \
18549 || exit 1
18551 @endif tcl
18553 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18554 maybe-install-pdf-tcl:
18555 @if tcl
18556 maybe-install-pdf-tcl: install-pdf-tcl
18558 install-pdf-tcl: \
18559 configure-tcl \
18560 pdf-tcl
18561 @: $(MAKE); $(unstage)
18562 @[ -f ./tcl/Makefile ] || exit 0; \
18563 r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 $(HOST_EXPORTS) \
18566 for flag in $(EXTRA_HOST_FLAGS) ; do \
18567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18568 done; \
18569 echo "Doing install-pdf in tcl" ; \
18570 (cd $(HOST_SUBDIR)/tcl && \
18571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18573 "RANLIB=$${RANLIB}" \
18574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18575 install-pdf) \
18576 || exit 1
18578 @endif tcl
18580 .PHONY: maybe-install-html-tcl install-html-tcl
18581 maybe-install-html-tcl:
18582 @if tcl
18583 maybe-install-html-tcl: install-html-tcl
18585 install-html-tcl: \
18586 configure-tcl \
18587 html-tcl
18588 @: $(MAKE); $(unstage)
18589 @[ -f ./tcl/Makefile ] || exit 0; \
18590 r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 $(HOST_EXPORTS) \
18593 for flag in $(EXTRA_HOST_FLAGS) ; do \
18594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18595 done; \
18596 echo "Doing install-html in tcl" ; \
18597 (cd $(HOST_SUBDIR)/tcl && \
18598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18600 "RANLIB=$${RANLIB}" \
18601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18602 install-html) \
18603 || exit 1
18605 @endif tcl
18607 .PHONY: maybe-installcheck-tcl installcheck-tcl
18608 maybe-installcheck-tcl:
18609 @if tcl
18610 maybe-installcheck-tcl: installcheck-tcl
18612 installcheck-tcl: \
18613 configure-tcl
18614 @: $(MAKE); $(unstage)
18615 @[ -f ./tcl/Makefile ] || exit 0; \
18616 r=`${PWD_COMMAND}`; export r; \
18617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18618 $(HOST_EXPORTS) \
18619 for flag in $(EXTRA_HOST_FLAGS) ; do \
18620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18621 done; \
18622 echo "Doing installcheck in tcl" ; \
18623 (cd $(HOST_SUBDIR)/tcl && \
18624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18626 "RANLIB=$${RANLIB}" \
18627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18628 installcheck) \
18629 || exit 1
18631 @endif tcl
18633 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18634 maybe-mostlyclean-tcl:
18635 @if tcl
18636 maybe-mostlyclean-tcl: mostlyclean-tcl
18638 # tcl doesn't support mostlyclean.
18639 mostlyclean-tcl:
18641 @endif tcl
18643 .PHONY: maybe-clean-tcl clean-tcl
18644 maybe-clean-tcl:
18645 @if tcl
18646 maybe-clean-tcl: clean-tcl
18648 clean-tcl:
18649 @: $(MAKE); $(unstage)
18650 @[ -f ./tcl/Makefile ] || exit 0; \
18651 r=`${PWD_COMMAND}`; export r; \
18652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18653 $(HOST_EXPORTS) \
18654 for flag in $(EXTRA_HOST_FLAGS) ; do \
18655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18656 done; \
18657 echo "Doing clean in tcl" ; \
18658 (cd $(HOST_SUBDIR)/tcl && \
18659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18661 "RANLIB=$${RANLIB}" \
18662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18663 clean) \
18664 || exit 1
18666 @endif tcl
18668 .PHONY: maybe-distclean-tcl distclean-tcl
18669 maybe-distclean-tcl:
18670 @if tcl
18671 maybe-distclean-tcl: distclean-tcl
18673 distclean-tcl:
18674 @: $(MAKE); $(unstage)
18675 @[ -f ./tcl/Makefile ] || exit 0; \
18676 r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(HOST_EXPORTS) \
18679 for flag in $(EXTRA_HOST_FLAGS) ; do \
18680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18681 done; \
18682 echo "Doing distclean in tcl" ; \
18683 (cd $(HOST_SUBDIR)/tcl && \
18684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18686 "RANLIB=$${RANLIB}" \
18687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18688 distclean) \
18689 || exit 1
18691 @endif tcl
18693 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18694 maybe-maintainer-clean-tcl:
18695 @if tcl
18696 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18698 maintainer-clean-tcl:
18699 @: $(MAKE); $(unstage)
18700 @[ -f ./tcl/Makefile ] || exit 0; \
18701 r=`${PWD_COMMAND}`; export r; \
18702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18703 $(HOST_EXPORTS) \
18704 for flag in $(EXTRA_HOST_FLAGS) ; do \
18705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18706 done; \
18707 echo "Doing maintainer-clean in tcl" ; \
18708 (cd $(HOST_SUBDIR)/tcl && \
18709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18711 "RANLIB=$${RANLIB}" \
18712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18713 maintainer-clean) \
18714 || exit 1
18716 @endif tcl
18720 .PHONY: configure-itcl maybe-configure-itcl
18721 maybe-configure-itcl:
18722 @if gcc-bootstrap
18723 configure-itcl: stage_current
18724 @endif gcc-bootstrap
18725 @if itcl
18726 maybe-configure-itcl: configure-itcl
18727 configure-itcl:
18728 @: $(MAKE); $(unstage)
18729 @r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18733 $(HOST_EXPORTS) \
18734 echo Configuring in $(HOST_SUBDIR)/itcl; \
18735 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18736 case $(srcdir) in \
18737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18738 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18740 esac; \
18741 module_srcdir=itcl; \
18742 $(SHELL) \
18743 $$s/$$module_srcdir/configure \
18744 --srcdir=$${topdir}/$$module_srcdir \
18745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18746 --target=${target_alias} \
18747 || exit 1
18748 @endif itcl
18754 .PHONY: all-itcl maybe-all-itcl
18755 maybe-all-itcl:
18756 @if gcc-bootstrap
18757 all-itcl: stage_current
18758 @endif gcc-bootstrap
18759 @if itcl
18760 TARGET-itcl=all
18761 maybe-all-itcl: all-itcl
18762 all-itcl: configure-itcl
18763 @: $(MAKE); $(unstage)
18764 @r=`${PWD_COMMAND}`; export r; \
18765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18766 $(HOST_EXPORTS) \
18767 (cd $(HOST_SUBDIR)/itcl && \
18768 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18769 $(TARGET-itcl))
18770 @endif itcl
18775 .PHONY: check-itcl maybe-check-itcl
18776 maybe-check-itcl:
18777 @if itcl
18778 maybe-check-itcl: check-itcl
18780 check-itcl:
18781 @: $(MAKE); $(unstage)
18782 @r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 $(HOST_EXPORTS) \
18785 (cd $(HOST_SUBDIR)/itcl && \
18786 $(MAKE) $(FLAGS_TO_PASS) check)
18788 @endif itcl
18790 .PHONY: install-itcl maybe-install-itcl
18791 maybe-install-itcl:
18792 @if itcl
18793 maybe-install-itcl: install-itcl
18795 install-itcl: installdirs
18796 @: $(MAKE); $(unstage)
18797 @r=`${PWD_COMMAND}`; export r; \
18798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18799 $(HOST_EXPORTS) \
18800 (cd $(HOST_SUBDIR)/itcl && \
18801 $(MAKE) $(FLAGS_TO_PASS) install)
18803 @endif itcl
18805 .PHONY: install-strip-itcl maybe-install-strip-itcl
18806 maybe-install-strip-itcl:
18807 @if itcl
18808 maybe-install-strip-itcl: install-strip-itcl
18810 install-strip-itcl: installdirs
18811 @: $(MAKE); $(unstage)
18812 @r=`${PWD_COMMAND}`; export r; \
18813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18814 $(HOST_EXPORTS) \
18815 (cd $(HOST_SUBDIR)/itcl && \
18816 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18818 @endif itcl
18820 # Other targets (info, dvi, pdf, etc.)
18822 .PHONY: maybe-info-itcl info-itcl
18823 maybe-info-itcl:
18824 @if itcl
18825 maybe-info-itcl: info-itcl
18827 info-itcl: \
18828 configure-itcl
18829 @: $(MAKE); $(unstage)
18830 @[ -f ./itcl/Makefile ] || exit 0; \
18831 r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 $(HOST_EXPORTS) \
18834 for flag in $(EXTRA_HOST_FLAGS) ; do \
18835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18836 done; \
18837 echo "Doing info in itcl" ; \
18838 (cd $(HOST_SUBDIR)/itcl && \
18839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18841 "RANLIB=$${RANLIB}" \
18842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18843 info) \
18844 || exit 1
18846 @endif itcl
18848 .PHONY: maybe-dvi-itcl dvi-itcl
18849 maybe-dvi-itcl:
18850 @if itcl
18851 maybe-dvi-itcl: dvi-itcl
18853 dvi-itcl: \
18854 configure-itcl
18855 @: $(MAKE); $(unstage)
18856 @[ -f ./itcl/Makefile ] || exit 0; \
18857 r=`${PWD_COMMAND}`; export r; \
18858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18859 $(HOST_EXPORTS) \
18860 for flag in $(EXTRA_HOST_FLAGS) ; do \
18861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18862 done; \
18863 echo "Doing dvi in itcl" ; \
18864 (cd $(HOST_SUBDIR)/itcl && \
18865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18867 "RANLIB=$${RANLIB}" \
18868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18869 dvi) \
18870 || exit 1
18872 @endif itcl
18874 .PHONY: maybe-pdf-itcl pdf-itcl
18875 maybe-pdf-itcl:
18876 @if itcl
18877 maybe-pdf-itcl: pdf-itcl
18879 pdf-itcl: \
18880 configure-itcl
18881 @: $(MAKE); $(unstage)
18882 @[ -f ./itcl/Makefile ] || exit 0; \
18883 r=`${PWD_COMMAND}`; export r; \
18884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18885 $(HOST_EXPORTS) \
18886 for flag in $(EXTRA_HOST_FLAGS) ; do \
18887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18888 done; \
18889 echo "Doing pdf in itcl" ; \
18890 (cd $(HOST_SUBDIR)/itcl && \
18891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18893 "RANLIB=$${RANLIB}" \
18894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18895 pdf) \
18896 || exit 1
18898 @endif itcl
18900 .PHONY: maybe-html-itcl html-itcl
18901 maybe-html-itcl:
18902 @if itcl
18903 maybe-html-itcl: html-itcl
18905 html-itcl: \
18906 configure-itcl
18907 @: $(MAKE); $(unstage)
18908 @[ -f ./itcl/Makefile ] || exit 0; \
18909 r=`${PWD_COMMAND}`; export r; \
18910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18911 $(HOST_EXPORTS) \
18912 for flag in $(EXTRA_HOST_FLAGS) ; do \
18913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18914 done; \
18915 echo "Doing html in itcl" ; \
18916 (cd $(HOST_SUBDIR)/itcl && \
18917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18919 "RANLIB=$${RANLIB}" \
18920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18921 html) \
18922 || exit 1
18924 @endif itcl
18926 .PHONY: maybe-TAGS-itcl TAGS-itcl
18927 maybe-TAGS-itcl:
18928 @if itcl
18929 maybe-TAGS-itcl: TAGS-itcl
18931 TAGS-itcl: \
18932 configure-itcl
18933 @: $(MAKE); $(unstage)
18934 @[ -f ./itcl/Makefile ] || exit 0; \
18935 r=`${PWD_COMMAND}`; export r; \
18936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18937 $(HOST_EXPORTS) \
18938 for flag in $(EXTRA_HOST_FLAGS) ; do \
18939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18940 done; \
18941 echo "Doing TAGS in itcl" ; \
18942 (cd $(HOST_SUBDIR)/itcl && \
18943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18945 "RANLIB=$${RANLIB}" \
18946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18947 TAGS) \
18948 || exit 1
18950 @endif itcl
18952 .PHONY: maybe-install-info-itcl install-info-itcl
18953 maybe-install-info-itcl:
18954 @if itcl
18955 maybe-install-info-itcl: install-info-itcl
18957 install-info-itcl: \
18958 configure-itcl \
18959 info-itcl
18960 @: $(MAKE); $(unstage)
18961 @[ -f ./itcl/Makefile ] || exit 0; \
18962 r=`${PWD_COMMAND}`; export r; \
18963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18964 $(HOST_EXPORTS) \
18965 for flag in $(EXTRA_HOST_FLAGS) ; do \
18966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18967 done; \
18968 echo "Doing install-info in itcl" ; \
18969 (cd $(HOST_SUBDIR)/itcl && \
18970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18972 "RANLIB=$${RANLIB}" \
18973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18974 install-info) \
18975 || exit 1
18977 @endif itcl
18979 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18980 maybe-install-pdf-itcl:
18981 @if itcl
18982 maybe-install-pdf-itcl: install-pdf-itcl
18984 install-pdf-itcl: \
18985 configure-itcl \
18986 pdf-itcl
18987 @: $(MAKE); $(unstage)
18988 @[ -f ./itcl/Makefile ] || exit 0; \
18989 r=`${PWD_COMMAND}`; export r; \
18990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18991 $(HOST_EXPORTS) \
18992 for flag in $(EXTRA_HOST_FLAGS) ; do \
18993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18994 done; \
18995 echo "Doing install-pdf in itcl" ; \
18996 (cd $(HOST_SUBDIR)/itcl && \
18997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18999 "RANLIB=$${RANLIB}" \
19000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19001 install-pdf) \
19002 || exit 1
19004 @endif itcl
19006 .PHONY: maybe-install-html-itcl install-html-itcl
19007 maybe-install-html-itcl:
19008 @if itcl
19009 maybe-install-html-itcl: install-html-itcl
19011 install-html-itcl: \
19012 configure-itcl \
19013 html-itcl
19014 @: $(MAKE); $(unstage)
19015 @[ -f ./itcl/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(HOST_EXPORTS) \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19021 done; \
19022 echo "Doing install-html in itcl" ; \
19023 (cd $(HOST_SUBDIR)/itcl && \
19024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026 "RANLIB=$${RANLIB}" \
19027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19028 install-html) \
19029 || exit 1
19031 @endif itcl
19033 .PHONY: maybe-installcheck-itcl installcheck-itcl
19034 maybe-installcheck-itcl:
19035 @if itcl
19036 maybe-installcheck-itcl: installcheck-itcl
19038 installcheck-itcl: \
19039 configure-itcl
19040 @: $(MAKE); $(unstage)
19041 @[ -f ./itcl/Makefile ] || exit 0; \
19042 r=`${PWD_COMMAND}`; export r; \
19043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19044 $(HOST_EXPORTS) \
19045 for flag in $(EXTRA_HOST_FLAGS) ; do \
19046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19047 done; \
19048 echo "Doing installcheck in itcl" ; \
19049 (cd $(HOST_SUBDIR)/itcl && \
19050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19052 "RANLIB=$${RANLIB}" \
19053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19054 installcheck) \
19055 || exit 1
19057 @endif itcl
19059 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19060 maybe-mostlyclean-itcl:
19061 @if itcl
19062 maybe-mostlyclean-itcl: mostlyclean-itcl
19064 mostlyclean-itcl:
19065 @: $(MAKE); $(unstage)
19066 @[ -f ./itcl/Makefile ] || exit 0; \
19067 r=`${PWD_COMMAND}`; export r; \
19068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19069 $(HOST_EXPORTS) \
19070 for flag in $(EXTRA_HOST_FLAGS) ; do \
19071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19072 done; \
19073 echo "Doing mostlyclean in itcl" ; \
19074 (cd $(HOST_SUBDIR)/itcl && \
19075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19077 "RANLIB=$${RANLIB}" \
19078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19079 mostlyclean) \
19080 || exit 1
19082 @endif itcl
19084 .PHONY: maybe-clean-itcl clean-itcl
19085 maybe-clean-itcl:
19086 @if itcl
19087 maybe-clean-itcl: clean-itcl
19089 clean-itcl:
19090 @: $(MAKE); $(unstage)
19091 @[ -f ./itcl/Makefile ] || exit 0; \
19092 r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094 $(HOST_EXPORTS) \
19095 for flag in $(EXTRA_HOST_FLAGS) ; do \
19096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19097 done; \
19098 echo "Doing clean in itcl" ; \
19099 (cd $(HOST_SUBDIR)/itcl && \
19100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19102 "RANLIB=$${RANLIB}" \
19103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19104 clean) \
19105 || exit 1
19107 @endif itcl
19109 .PHONY: maybe-distclean-itcl distclean-itcl
19110 maybe-distclean-itcl:
19111 @if itcl
19112 maybe-distclean-itcl: distclean-itcl
19114 distclean-itcl:
19115 @: $(MAKE); $(unstage)
19116 @[ -f ./itcl/Makefile ] || exit 0; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(HOST_EXPORTS) \
19120 for flag in $(EXTRA_HOST_FLAGS) ; do \
19121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19122 done; \
19123 echo "Doing distclean in itcl" ; \
19124 (cd $(HOST_SUBDIR)/itcl && \
19125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19127 "RANLIB=$${RANLIB}" \
19128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19129 distclean) \
19130 || exit 1
19132 @endif itcl
19134 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19135 maybe-maintainer-clean-itcl:
19136 @if itcl
19137 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19139 maintainer-clean-itcl:
19140 @: $(MAKE); $(unstage)
19141 @[ -f ./itcl/Makefile ] || exit 0; \
19142 r=`${PWD_COMMAND}`; export r; \
19143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19144 $(HOST_EXPORTS) \
19145 for flag in $(EXTRA_HOST_FLAGS) ; do \
19146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19147 done; \
19148 echo "Doing maintainer-clean in itcl" ; \
19149 (cd $(HOST_SUBDIR)/itcl && \
19150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19152 "RANLIB=$${RANLIB}" \
19153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19154 maintainer-clean) \
19155 || exit 1
19157 @endif itcl
19161 .PHONY: configure-ld maybe-configure-ld
19162 maybe-configure-ld:
19163 @if gcc-bootstrap
19164 configure-ld: stage_current
19165 @endif gcc-bootstrap
19166 @if ld
19167 maybe-configure-ld: configure-ld
19168 configure-ld:
19169 @r=`${PWD_COMMAND}`; export r; \
19170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19173 $(HOST_EXPORTS) \
19174 echo Configuring in $(HOST_SUBDIR)/ld; \
19175 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19176 case $(srcdir) in \
19177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19178 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19180 esac; \
19181 module_srcdir=ld; \
19182 $(SHELL) \
19183 $$s/$$module_srcdir/configure \
19184 --srcdir=$${topdir}/$$module_srcdir \
19185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19186 --target=${target_alias} \
19187 || exit 1
19188 @endif ld
19192 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19193 maybe-configure-stage1-ld:
19194 @if ld-bootstrap
19195 maybe-configure-stage1-ld: configure-stage1-ld
19196 configure-stage1-ld:
19197 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19199 @r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 TFLAGS="$(STAGE1_TFLAGS)"; \
19202 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19203 $(HOST_EXPORTS) \
19204 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19205 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19206 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19207 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19209 cd $(HOST_SUBDIR)/ld || exit 1; \
19210 case $(srcdir) in \
19211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19212 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19214 esac; \
19215 module_srcdir=ld; \
19216 $(SHELL) $$s/$$module_srcdir/configure \
19217 --srcdir=$${topdir}/$$module_srcdir \
19218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19219 --target=${target_alias} \
19221 $(STAGE1_CONFIGURE_FLAGS)
19222 @endif ld-bootstrap
19224 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19225 maybe-configure-stage2-ld:
19226 @if ld-bootstrap
19227 maybe-configure-stage2-ld: configure-stage2-ld
19228 configure-stage2-ld:
19229 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19230 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19231 @r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 TFLAGS="$(STAGE2_TFLAGS)"; \
19234 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19235 $(HOST_EXPORTS) \
19236 $(POSTSTAGE1_HOST_EXPORTS) \
19237 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19238 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19239 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19240 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19242 cd $(HOST_SUBDIR)/ld || exit 1; \
19243 case $(srcdir) in \
19244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19245 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19247 esac; \
19248 module_srcdir=ld; \
19249 $(SHELL) $$s/$$module_srcdir/configure \
19250 --srcdir=$${topdir}/$$module_srcdir \
19251 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19252 --target=${target_alias} \
19253 --with-build-libsubdir=$(HOST_SUBDIR) \
19254 $(STAGE2_CONFIGURE_FLAGS)
19255 @endif ld-bootstrap
19257 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19258 maybe-configure-stage3-ld:
19259 @if ld-bootstrap
19260 maybe-configure-stage3-ld: configure-stage3-ld
19261 configure-stage3-ld:
19262 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19264 @r=`${PWD_COMMAND}`; export r; \
19265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19266 TFLAGS="$(STAGE3_TFLAGS)"; \
19267 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19268 $(HOST_EXPORTS) \
19269 $(POSTSTAGE1_HOST_EXPORTS) \
19270 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19271 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19272 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19273 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19275 cd $(HOST_SUBDIR)/ld || exit 1; \
19276 case $(srcdir) in \
19277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19278 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19280 esac; \
19281 module_srcdir=ld; \
19282 $(SHELL) $$s/$$module_srcdir/configure \
19283 --srcdir=$${topdir}/$$module_srcdir \
19284 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19285 --target=${target_alias} \
19286 --with-build-libsubdir=$(HOST_SUBDIR) \
19287 $(STAGE3_CONFIGURE_FLAGS)
19288 @endif ld-bootstrap
19290 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19291 maybe-configure-stage4-ld:
19292 @if ld-bootstrap
19293 maybe-configure-stage4-ld: configure-stage4-ld
19294 configure-stage4-ld:
19295 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19297 @r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 TFLAGS="$(STAGE4_TFLAGS)"; \
19300 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19301 $(HOST_EXPORTS) \
19302 $(POSTSTAGE1_HOST_EXPORTS) \
19303 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19304 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19305 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19306 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19308 cd $(HOST_SUBDIR)/ld || exit 1; \
19309 case $(srcdir) in \
19310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19311 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19313 esac; \
19314 module_srcdir=ld; \
19315 $(SHELL) $$s/$$module_srcdir/configure \
19316 --srcdir=$${topdir}/$$module_srcdir \
19317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19318 --target=${target_alias} \
19319 --with-build-libsubdir=$(HOST_SUBDIR) \
19320 $(STAGE4_CONFIGURE_FLAGS)
19321 @endif ld-bootstrap
19323 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19324 maybe-configure-stageprofile-ld:
19325 @if ld-bootstrap
19326 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19327 configure-stageprofile-ld:
19328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19330 @r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19333 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19334 $(HOST_EXPORTS) \
19335 $(POSTSTAGE1_HOST_EXPORTS) \
19336 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19337 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19338 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19339 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19341 cd $(HOST_SUBDIR)/ld || exit 1; \
19342 case $(srcdir) in \
19343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19344 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19346 esac; \
19347 module_srcdir=ld; \
19348 $(SHELL) $$s/$$module_srcdir/configure \
19349 --srcdir=$${topdir}/$$module_srcdir \
19350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19351 --target=${target_alias} \
19352 --with-build-libsubdir=$(HOST_SUBDIR) \
19353 $(STAGEprofile_CONFIGURE_FLAGS)
19354 @endif ld-bootstrap
19356 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19357 maybe-configure-stagefeedback-ld:
19358 @if ld-bootstrap
19359 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19360 configure-stagefeedback-ld:
19361 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19363 @r=`${PWD_COMMAND}`; export r; \
19364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19365 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19366 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19367 $(HOST_EXPORTS) \
19368 $(POSTSTAGE1_HOST_EXPORTS) \
19369 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19370 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19371 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19372 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19374 cd $(HOST_SUBDIR)/ld || exit 1; \
19375 case $(srcdir) in \
19376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19377 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19379 esac; \
19380 module_srcdir=ld; \
19381 $(SHELL) $$s/$$module_srcdir/configure \
19382 --srcdir=$${topdir}/$$module_srcdir \
19383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19384 --target=${target_alias} \
19385 --with-build-libsubdir=$(HOST_SUBDIR) \
19386 $(STAGEfeedback_CONFIGURE_FLAGS)
19387 @endif ld-bootstrap
19393 .PHONY: all-ld maybe-all-ld
19394 maybe-all-ld:
19395 @if gcc-bootstrap
19396 all-ld: stage_current
19397 @endif gcc-bootstrap
19398 @if ld
19399 TARGET-ld=all
19400 maybe-all-ld: all-ld
19401 all-ld: configure-ld
19402 @r=`${PWD_COMMAND}`; export r; \
19403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19404 $(HOST_EXPORTS) \
19405 (cd $(HOST_SUBDIR)/ld && \
19406 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19407 $(TARGET-ld))
19408 @endif ld
19412 .PHONY: all-stage1-ld maybe-all-stage1-ld
19413 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19414 maybe-all-stage1-ld:
19415 maybe-clean-stage1-ld:
19416 @if ld-bootstrap
19417 maybe-all-stage1-ld: all-stage1-ld
19418 all-stage1: all-stage1-ld
19419 TARGET-stage1-ld = $(TARGET-ld)
19420 all-stage1-ld: configure-stage1-ld
19421 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19422 @r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19424 TFLAGS="$(STAGE1_TFLAGS)"; \
19425 $(HOST_EXPORTS) \
19426 cd $(HOST_SUBDIR)/ld && \
19427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19428 CFLAGS="$(STAGE1_CFLAGS)" \
19429 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19430 LIBCFLAGS="$(LIBCFLAGS)" \
19431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19434 $(EXTRA_HOST_FLAGS) \
19435 $(STAGE1_FLAGS_TO_PASS) \
19436 TFLAGS="$(STAGE1_TFLAGS)" \
19437 $(TARGET-stage1-ld)
19439 maybe-clean-stage1-ld: clean-stage1-ld
19440 clean-stage1: clean-stage1-ld
19441 clean-stage1-ld:
19442 @if [ $(current_stage) = stage1 ]; then \
19443 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19444 else \
19445 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19446 $(MAKE) stage1-start; \
19447 fi; \
19448 cd $(HOST_SUBDIR)/ld && \
19449 $(MAKE) $(EXTRA_HOST_FLAGS) \
19450 $(STAGE1_FLAGS_TO_PASS) clean
19451 @endif ld-bootstrap
19454 .PHONY: all-stage2-ld maybe-all-stage2-ld
19455 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19456 maybe-all-stage2-ld:
19457 maybe-clean-stage2-ld:
19458 @if ld-bootstrap
19459 maybe-all-stage2-ld: all-stage2-ld
19460 all-stage2: all-stage2-ld
19461 TARGET-stage2-ld = $(TARGET-ld)
19462 all-stage2-ld: configure-stage2-ld
19463 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19464 @r=`${PWD_COMMAND}`; export r; \
19465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 TFLAGS="$(STAGE2_TFLAGS)"; \
19467 $(HOST_EXPORTS) \
19468 $(POSTSTAGE1_HOST_EXPORTS) \
19469 cd $(HOST_SUBDIR)/ld && \
19470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19471 CFLAGS="$(STAGE2_CFLAGS)" \
19472 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19473 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19477 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19478 TFLAGS="$(STAGE2_TFLAGS)" \
19479 $(TARGET-stage2-ld)
19481 maybe-clean-stage2-ld: clean-stage2-ld
19482 clean-stage2: clean-stage2-ld
19483 clean-stage2-ld:
19484 @if [ $(current_stage) = stage2 ]; then \
19485 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19486 else \
19487 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19488 $(MAKE) stage2-start; \
19489 fi; \
19490 cd $(HOST_SUBDIR)/ld && \
19491 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19492 @endif ld-bootstrap
19495 .PHONY: all-stage3-ld maybe-all-stage3-ld
19496 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19497 maybe-all-stage3-ld:
19498 maybe-clean-stage3-ld:
19499 @if ld-bootstrap
19500 maybe-all-stage3-ld: all-stage3-ld
19501 all-stage3: all-stage3-ld
19502 TARGET-stage3-ld = $(TARGET-ld)
19503 all-stage3-ld: configure-stage3-ld
19504 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19505 @r=`${PWD_COMMAND}`; export r; \
19506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19507 TFLAGS="$(STAGE3_TFLAGS)"; \
19508 $(HOST_EXPORTS) \
19509 $(POSTSTAGE1_HOST_EXPORTS) \
19510 cd $(HOST_SUBDIR)/ld && \
19511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19512 CFLAGS="$(STAGE3_CFLAGS)" \
19513 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19514 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19519 TFLAGS="$(STAGE3_TFLAGS)" \
19520 $(TARGET-stage3-ld)
19522 maybe-clean-stage3-ld: clean-stage3-ld
19523 clean-stage3: clean-stage3-ld
19524 clean-stage3-ld:
19525 @if [ $(current_stage) = stage3 ]; then \
19526 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19527 else \
19528 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19529 $(MAKE) stage3-start; \
19530 fi; \
19531 cd $(HOST_SUBDIR)/ld && \
19532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19533 @endif ld-bootstrap
19536 .PHONY: all-stage4-ld maybe-all-stage4-ld
19537 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19538 maybe-all-stage4-ld:
19539 maybe-clean-stage4-ld:
19540 @if ld-bootstrap
19541 maybe-all-stage4-ld: all-stage4-ld
19542 all-stage4: all-stage4-ld
19543 TARGET-stage4-ld = $(TARGET-ld)
19544 all-stage4-ld: configure-stage4-ld
19545 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19546 @r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 TFLAGS="$(STAGE4_TFLAGS)"; \
19549 $(HOST_EXPORTS) \
19550 $(POSTSTAGE1_HOST_EXPORTS) \
19551 cd $(HOST_SUBDIR)/ld && \
19552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19553 CFLAGS="$(STAGE4_CFLAGS)" \
19554 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19555 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19560 TFLAGS="$(STAGE4_TFLAGS)" \
19561 $(TARGET-stage4-ld)
19563 maybe-clean-stage4-ld: clean-stage4-ld
19564 clean-stage4: clean-stage4-ld
19565 clean-stage4-ld:
19566 @if [ $(current_stage) = stage4 ]; then \
19567 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19568 else \
19569 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19570 $(MAKE) stage4-start; \
19571 fi; \
19572 cd $(HOST_SUBDIR)/ld && \
19573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19574 @endif ld-bootstrap
19577 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19578 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19579 maybe-all-stageprofile-ld:
19580 maybe-clean-stageprofile-ld:
19581 @if ld-bootstrap
19582 maybe-all-stageprofile-ld: all-stageprofile-ld
19583 all-stageprofile: all-stageprofile-ld
19584 TARGET-stageprofile-ld = $(TARGET-ld)
19585 all-stageprofile-ld: configure-stageprofile-ld
19586 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19587 @r=`${PWD_COMMAND}`; export r; \
19588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19589 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19590 $(HOST_EXPORTS) \
19591 $(POSTSTAGE1_HOST_EXPORTS) \
19592 cd $(HOST_SUBDIR)/ld && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19594 CFLAGS="$(STAGEprofile_CFLAGS)" \
19595 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19596 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19601 TFLAGS="$(STAGEprofile_TFLAGS)" \
19602 $(TARGET-stageprofile-ld)
19604 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19605 clean-stageprofile: clean-stageprofile-ld
19606 clean-stageprofile-ld:
19607 @if [ $(current_stage) = stageprofile ]; then \
19608 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19609 else \
19610 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19611 $(MAKE) stageprofile-start; \
19612 fi; \
19613 cd $(HOST_SUBDIR)/ld && \
19614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19615 @endif ld-bootstrap
19618 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19619 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19620 maybe-all-stagefeedback-ld:
19621 maybe-clean-stagefeedback-ld:
19622 @if ld-bootstrap
19623 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19624 all-stagefeedback: all-stagefeedback-ld
19625 TARGET-stagefeedback-ld = $(TARGET-ld)
19626 all-stagefeedback-ld: configure-stagefeedback-ld
19627 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19628 @r=`${PWD_COMMAND}`; export r; \
19629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19630 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19631 $(HOST_EXPORTS) \
19632 $(POSTSTAGE1_HOST_EXPORTS) \
19633 cd $(HOST_SUBDIR)/ld && \
19634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19635 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19636 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19637 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19642 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19643 $(TARGET-stagefeedback-ld)
19645 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19646 clean-stagefeedback: clean-stagefeedback-ld
19647 clean-stagefeedback-ld:
19648 @if [ $(current_stage) = stagefeedback ]; then \
19649 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19650 else \
19651 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19652 $(MAKE) stagefeedback-start; \
19653 fi; \
19654 cd $(HOST_SUBDIR)/ld && \
19655 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19656 @endif ld-bootstrap
19662 .PHONY: check-ld maybe-check-ld
19663 maybe-check-ld:
19664 @if ld
19665 maybe-check-ld: check-ld
19667 check-ld:
19668 @: $(MAKE); $(unstage)
19669 @r=`${PWD_COMMAND}`; export r; \
19670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19671 $(HOST_EXPORTS) \
19672 (cd $(HOST_SUBDIR)/ld && \
19673 $(MAKE) $(FLAGS_TO_PASS) check)
19675 @endif ld
19677 .PHONY: install-ld maybe-install-ld
19678 maybe-install-ld:
19679 @if ld
19680 maybe-install-ld: install-ld
19682 install-ld: installdirs
19683 @: $(MAKE); $(unstage)
19684 @r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 (cd $(HOST_SUBDIR)/ld && \
19688 $(MAKE) $(FLAGS_TO_PASS) install)
19690 @endif ld
19692 .PHONY: install-strip-ld maybe-install-strip-ld
19693 maybe-install-strip-ld:
19694 @if ld
19695 maybe-install-strip-ld: install-strip-ld
19697 install-strip-ld: installdirs
19698 @: $(MAKE); $(unstage)
19699 @r=`${PWD_COMMAND}`; export r; \
19700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19701 $(HOST_EXPORTS) \
19702 (cd $(HOST_SUBDIR)/ld && \
19703 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19705 @endif ld
19707 # Other targets (info, dvi, pdf, etc.)
19709 .PHONY: maybe-info-ld info-ld
19710 maybe-info-ld:
19711 @if ld
19712 maybe-info-ld: info-ld
19714 info-ld: \
19715 configure-ld
19716 @[ -f ./ld/Makefile ] || exit 0; \
19717 r=`${PWD_COMMAND}`; export r; \
19718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19719 $(HOST_EXPORTS) \
19720 for flag in $(EXTRA_HOST_FLAGS) ; do \
19721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19722 done; \
19723 echo "Doing info in ld" ; \
19724 (cd $(HOST_SUBDIR)/ld && \
19725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19727 "RANLIB=$${RANLIB}" \
19728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19729 info) \
19730 || exit 1
19732 @endif ld
19734 .PHONY: maybe-dvi-ld dvi-ld
19735 maybe-dvi-ld:
19736 @if ld
19737 maybe-dvi-ld: dvi-ld
19739 dvi-ld: \
19740 configure-ld
19741 @[ -f ./ld/Makefile ] || exit 0; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(HOST_EXPORTS) \
19745 for flag in $(EXTRA_HOST_FLAGS) ; do \
19746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19747 done; \
19748 echo "Doing dvi in ld" ; \
19749 (cd $(HOST_SUBDIR)/ld && \
19750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19752 "RANLIB=$${RANLIB}" \
19753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19754 dvi) \
19755 || exit 1
19757 @endif ld
19759 .PHONY: maybe-pdf-ld pdf-ld
19760 maybe-pdf-ld:
19761 @if ld
19762 maybe-pdf-ld: pdf-ld
19764 pdf-ld: \
19765 configure-ld
19766 @[ -f ./ld/Makefile ] || exit 0; \
19767 r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 for flag in $(EXTRA_HOST_FLAGS) ; do \
19771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19772 done; \
19773 echo "Doing pdf in ld" ; \
19774 (cd $(HOST_SUBDIR)/ld && \
19775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19777 "RANLIB=$${RANLIB}" \
19778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19779 pdf) \
19780 || exit 1
19782 @endif ld
19784 .PHONY: maybe-html-ld html-ld
19785 maybe-html-ld:
19786 @if ld
19787 maybe-html-ld: html-ld
19789 html-ld: \
19790 configure-ld
19791 @[ -f ./ld/Makefile ] || exit 0; \
19792 r=`${PWD_COMMAND}`; export r; \
19793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19794 $(HOST_EXPORTS) \
19795 for flag in $(EXTRA_HOST_FLAGS) ; do \
19796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19797 done; \
19798 echo "Doing html in ld" ; \
19799 (cd $(HOST_SUBDIR)/ld && \
19800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19802 "RANLIB=$${RANLIB}" \
19803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19804 html) \
19805 || exit 1
19807 @endif ld
19809 .PHONY: maybe-TAGS-ld TAGS-ld
19810 maybe-TAGS-ld:
19811 @if ld
19812 maybe-TAGS-ld: TAGS-ld
19814 TAGS-ld: \
19815 configure-ld
19816 @[ -f ./ld/Makefile ] || exit 0; \
19817 r=`${PWD_COMMAND}`; export r; \
19818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19819 $(HOST_EXPORTS) \
19820 for flag in $(EXTRA_HOST_FLAGS) ; do \
19821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19822 done; \
19823 echo "Doing TAGS in ld" ; \
19824 (cd $(HOST_SUBDIR)/ld && \
19825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19827 "RANLIB=$${RANLIB}" \
19828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19829 TAGS) \
19830 || exit 1
19832 @endif ld
19834 .PHONY: maybe-install-info-ld install-info-ld
19835 maybe-install-info-ld:
19836 @if ld
19837 maybe-install-info-ld: install-info-ld
19839 install-info-ld: \
19840 configure-ld \
19841 info-ld
19842 @[ -f ./ld/Makefile ] || exit 0; \
19843 r=`${PWD_COMMAND}`; export r; \
19844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19845 $(HOST_EXPORTS) \
19846 for flag in $(EXTRA_HOST_FLAGS) ; do \
19847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19848 done; \
19849 echo "Doing install-info in ld" ; \
19850 (cd $(HOST_SUBDIR)/ld && \
19851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19853 "RANLIB=$${RANLIB}" \
19854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19855 install-info) \
19856 || exit 1
19858 @endif ld
19860 .PHONY: maybe-install-pdf-ld install-pdf-ld
19861 maybe-install-pdf-ld:
19862 @if ld
19863 maybe-install-pdf-ld: install-pdf-ld
19865 install-pdf-ld: \
19866 configure-ld \
19867 pdf-ld
19868 @[ -f ./ld/Makefile ] || exit 0; \
19869 r=`${PWD_COMMAND}`; export r; \
19870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19871 $(HOST_EXPORTS) \
19872 for flag in $(EXTRA_HOST_FLAGS) ; do \
19873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19874 done; \
19875 echo "Doing install-pdf in ld" ; \
19876 (cd $(HOST_SUBDIR)/ld && \
19877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19879 "RANLIB=$${RANLIB}" \
19880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19881 install-pdf) \
19882 || exit 1
19884 @endif ld
19886 .PHONY: maybe-install-html-ld install-html-ld
19887 maybe-install-html-ld:
19888 @if ld
19889 maybe-install-html-ld: install-html-ld
19891 install-html-ld: \
19892 configure-ld \
19893 html-ld
19894 @[ -f ./ld/Makefile ] || exit 0; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 for flag in $(EXTRA_HOST_FLAGS) ; do \
19899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19900 done; \
19901 echo "Doing install-html in ld" ; \
19902 (cd $(HOST_SUBDIR)/ld && \
19903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905 "RANLIB=$${RANLIB}" \
19906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19907 install-html) \
19908 || exit 1
19910 @endif ld
19912 .PHONY: maybe-installcheck-ld installcheck-ld
19913 maybe-installcheck-ld:
19914 @if ld
19915 maybe-installcheck-ld: installcheck-ld
19917 installcheck-ld: \
19918 configure-ld
19919 @[ -f ./ld/Makefile ] || exit 0; \
19920 r=`${PWD_COMMAND}`; export r; \
19921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19922 $(HOST_EXPORTS) \
19923 for flag in $(EXTRA_HOST_FLAGS) ; do \
19924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19925 done; \
19926 echo "Doing installcheck in ld" ; \
19927 (cd $(HOST_SUBDIR)/ld && \
19928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19930 "RANLIB=$${RANLIB}" \
19931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19932 installcheck) \
19933 || exit 1
19935 @endif ld
19937 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19938 maybe-mostlyclean-ld:
19939 @if ld
19940 maybe-mostlyclean-ld: mostlyclean-ld
19942 mostlyclean-ld:
19943 @[ -f ./ld/Makefile ] || exit 0; \
19944 r=`${PWD_COMMAND}`; export r; \
19945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19946 $(HOST_EXPORTS) \
19947 for flag in $(EXTRA_HOST_FLAGS) ; do \
19948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19949 done; \
19950 echo "Doing mostlyclean in ld" ; \
19951 (cd $(HOST_SUBDIR)/ld && \
19952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19954 "RANLIB=$${RANLIB}" \
19955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19956 mostlyclean) \
19957 || exit 1
19959 @endif ld
19961 .PHONY: maybe-clean-ld clean-ld
19962 maybe-clean-ld:
19963 @if ld
19964 maybe-clean-ld: clean-ld
19966 clean-ld:
19967 @[ -f ./ld/Makefile ] || exit 0; \
19968 r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970 $(HOST_EXPORTS) \
19971 for flag in $(EXTRA_HOST_FLAGS) ; do \
19972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19973 done; \
19974 echo "Doing clean in ld" ; \
19975 (cd $(HOST_SUBDIR)/ld && \
19976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19978 "RANLIB=$${RANLIB}" \
19979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19980 clean) \
19981 || exit 1
19983 @endif ld
19985 .PHONY: maybe-distclean-ld distclean-ld
19986 maybe-distclean-ld:
19987 @if ld
19988 maybe-distclean-ld: distclean-ld
19990 distclean-ld:
19991 @[ -f ./ld/Makefile ] || exit 0; \
19992 r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(HOST_EXPORTS) \
19995 for flag in $(EXTRA_HOST_FLAGS) ; do \
19996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19997 done; \
19998 echo "Doing distclean in ld" ; \
19999 (cd $(HOST_SUBDIR)/ld && \
20000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20002 "RANLIB=$${RANLIB}" \
20003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20004 distclean) \
20005 || exit 1
20007 @endif ld
20009 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
20010 maybe-maintainer-clean-ld:
20011 @if ld
20012 maybe-maintainer-clean-ld: maintainer-clean-ld
20014 maintainer-clean-ld:
20015 @[ -f ./ld/Makefile ] || exit 0; \
20016 r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20018 $(HOST_EXPORTS) \
20019 for flag in $(EXTRA_HOST_FLAGS) ; do \
20020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20021 done; \
20022 echo "Doing maintainer-clean in ld" ; \
20023 (cd $(HOST_SUBDIR)/ld && \
20024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20026 "RANLIB=$${RANLIB}" \
20027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20028 maintainer-clean) \
20029 || exit 1
20031 @endif ld
20035 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
20036 maybe-configure-libbacktrace:
20037 @if gcc-bootstrap
20038 configure-libbacktrace: stage_current
20039 @endif gcc-bootstrap
20040 @if libbacktrace
20041 maybe-configure-libbacktrace: configure-libbacktrace
20042 configure-libbacktrace:
20043 @r=`${PWD_COMMAND}`; export r; \
20044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20047 $(HOST_EXPORTS) \
20048 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
20049 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
20050 case $(srcdir) in \
20051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20052 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20054 esac; \
20055 module_srcdir=libbacktrace; \
20056 $(SHELL) \
20057 $$s/$$module_srcdir/configure \
20058 --srcdir=$${topdir}/$$module_srcdir \
20059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20060 --target=${target_alias} \
20061 || exit 1
20062 @endif libbacktrace
20066 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
20067 maybe-configure-stage1-libbacktrace:
20068 @if libbacktrace-bootstrap
20069 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
20070 configure-stage1-libbacktrace:
20071 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20073 @r=`${PWD_COMMAND}`; export r; \
20074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20075 TFLAGS="$(STAGE1_TFLAGS)"; \
20076 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20077 $(HOST_EXPORTS) \
20078 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20079 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20080 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20081 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
20082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20083 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20084 case $(srcdir) in \
20085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20086 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20088 esac; \
20089 module_srcdir=libbacktrace; \
20090 $(SHELL) $$s/$$module_srcdir/configure \
20091 --srcdir=$${topdir}/$$module_srcdir \
20092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20093 --target=${target_alias} \
20095 $(STAGE1_CONFIGURE_FLAGS)
20096 @endif libbacktrace-bootstrap
20098 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
20099 maybe-configure-stage2-libbacktrace:
20100 @if libbacktrace-bootstrap
20101 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
20102 configure-stage2-libbacktrace:
20103 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20105 @r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 TFLAGS="$(STAGE2_TFLAGS)"; \
20108 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20109 $(HOST_EXPORTS) \
20110 $(POSTSTAGE1_HOST_EXPORTS) \
20111 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20112 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20113 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20114 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
20115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20116 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20117 case $(srcdir) in \
20118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20119 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20121 esac; \
20122 module_srcdir=libbacktrace; \
20123 $(SHELL) $$s/$$module_srcdir/configure \
20124 --srcdir=$${topdir}/$$module_srcdir \
20125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20126 --target=${target_alias} \
20127 --with-build-libsubdir=$(HOST_SUBDIR) \
20128 $(STAGE2_CONFIGURE_FLAGS)
20129 @endif libbacktrace-bootstrap
20131 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
20132 maybe-configure-stage3-libbacktrace:
20133 @if libbacktrace-bootstrap
20134 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
20135 configure-stage3-libbacktrace:
20136 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20137 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20138 @r=`${PWD_COMMAND}`; export r; \
20139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20140 TFLAGS="$(STAGE3_TFLAGS)"; \
20141 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20142 $(HOST_EXPORTS) \
20143 $(POSTSTAGE1_HOST_EXPORTS) \
20144 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20145 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20146 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20147 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
20148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20149 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20150 case $(srcdir) in \
20151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20152 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20154 esac; \
20155 module_srcdir=libbacktrace; \
20156 $(SHELL) $$s/$$module_srcdir/configure \
20157 --srcdir=$${topdir}/$$module_srcdir \
20158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20159 --target=${target_alias} \
20160 --with-build-libsubdir=$(HOST_SUBDIR) \
20161 $(STAGE3_CONFIGURE_FLAGS)
20162 @endif libbacktrace-bootstrap
20164 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
20165 maybe-configure-stage4-libbacktrace:
20166 @if libbacktrace-bootstrap
20167 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
20168 configure-stage4-libbacktrace:
20169 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20171 @r=`${PWD_COMMAND}`; export r; \
20172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20173 TFLAGS="$(STAGE4_TFLAGS)"; \
20174 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20175 $(HOST_EXPORTS) \
20176 $(POSTSTAGE1_HOST_EXPORTS) \
20177 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20178 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20179 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20180 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
20181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20182 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20183 case $(srcdir) in \
20184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20185 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20187 esac; \
20188 module_srcdir=libbacktrace; \
20189 $(SHELL) $$s/$$module_srcdir/configure \
20190 --srcdir=$${topdir}/$$module_srcdir \
20191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20192 --target=${target_alias} \
20193 --with-build-libsubdir=$(HOST_SUBDIR) \
20194 $(STAGE4_CONFIGURE_FLAGS)
20195 @endif libbacktrace-bootstrap
20197 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
20198 maybe-configure-stageprofile-libbacktrace:
20199 @if libbacktrace-bootstrap
20200 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20201 configure-stageprofile-libbacktrace:
20202 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20204 @r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20207 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20208 $(HOST_EXPORTS) \
20209 $(POSTSTAGE1_HOST_EXPORTS) \
20210 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20211 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20212 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20213 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
20214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20215 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20216 case $(srcdir) in \
20217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20218 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20220 esac; \
20221 module_srcdir=libbacktrace; \
20222 $(SHELL) $$s/$$module_srcdir/configure \
20223 --srcdir=$${topdir}/$$module_srcdir \
20224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20225 --target=${target_alias} \
20226 --with-build-libsubdir=$(HOST_SUBDIR) \
20227 $(STAGEprofile_CONFIGURE_FLAGS)
20228 @endif libbacktrace-bootstrap
20230 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
20231 maybe-configure-stagefeedback-libbacktrace:
20232 @if libbacktrace-bootstrap
20233 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20234 configure-stagefeedback-libbacktrace:
20235 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20237 @r=`${PWD_COMMAND}`; export r; \
20238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20239 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20240 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20241 $(HOST_EXPORTS) \
20242 $(POSTSTAGE1_HOST_EXPORTS) \
20243 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20244 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20245 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20246 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
20247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20248 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20249 case $(srcdir) in \
20250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20251 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20253 esac; \
20254 module_srcdir=libbacktrace; \
20255 $(SHELL) $$s/$$module_srcdir/configure \
20256 --srcdir=$${topdir}/$$module_srcdir \
20257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20258 --target=${target_alias} \
20259 --with-build-libsubdir=$(HOST_SUBDIR) \
20260 $(STAGEfeedback_CONFIGURE_FLAGS)
20261 @endif libbacktrace-bootstrap
20267 .PHONY: all-libbacktrace maybe-all-libbacktrace
20268 maybe-all-libbacktrace:
20269 @if gcc-bootstrap
20270 all-libbacktrace: stage_current
20271 @endif gcc-bootstrap
20272 @if libbacktrace
20273 TARGET-libbacktrace=all
20274 maybe-all-libbacktrace: all-libbacktrace
20275 all-libbacktrace: configure-libbacktrace
20276 @r=`${PWD_COMMAND}`; export r; \
20277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20278 $(HOST_EXPORTS) \
20279 (cd $(HOST_SUBDIR)/libbacktrace && \
20280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20281 $(TARGET-libbacktrace))
20282 @endif libbacktrace
20286 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
20287 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
20288 maybe-all-stage1-libbacktrace:
20289 maybe-clean-stage1-libbacktrace:
20290 @if libbacktrace-bootstrap
20291 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
20292 all-stage1: all-stage1-libbacktrace
20293 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
20294 all-stage1-libbacktrace: configure-stage1-libbacktrace
20295 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20296 @r=`${PWD_COMMAND}`; export r; \
20297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20298 TFLAGS="$(STAGE1_TFLAGS)"; \
20299 $(HOST_EXPORTS) \
20300 cd $(HOST_SUBDIR)/libbacktrace && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20302 CFLAGS="$(STAGE1_CFLAGS)" \
20303 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20304 LIBCFLAGS="$(LIBCFLAGS)" \
20305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20308 $(EXTRA_HOST_FLAGS) \
20309 $(STAGE1_FLAGS_TO_PASS) \
20310 TFLAGS="$(STAGE1_TFLAGS)" \
20311 $(TARGET-stage1-libbacktrace)
20313 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
20314 clean-stage1: clean-stage1-libbacktrace
20315 clean-stage1-libbacktrace:
20316 @if [ $(current_stage) = stage1 ]; then \
20317 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20318 else \
20319 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
20320 $(MAKE) stage1-start; \
20321 fi; \
20322 cd $(HOST_SUBDIR)/libbacktrace && \
20323 $(MAKE) $(EXTRA_HOST_FLAGS) \
20324 $(STAGE1_FLAGS_TO_PASS) clean
20325 @endif libbacktrace-bootstrap
20328 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
20329 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
20330 maybe-all-stage2-libbacktrace:
20331 maybe-clean-stage2-libbacktrace:
20332 @if libbacktrace-bootstrap
20333 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
20334 all-stage2: all-stage2-libbacktrace
20335 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
20336 all-stage2-libbacktrace: configure-stage2-libbacktrace
20337 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20338 @r=`${PWD_COMMAND}`; export r; \
20339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20340 TFLAGS="$(STAGE2_TFLAGS)"; \
20341 $(HOST_EXPORTS) \
20342 $(POSTSTAGE1_HOST_EXPORTS) \
20343 cd $(HOST_SUBDIR)/libbacktrace && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20345 CFLAGS="$(STAGE2_CFLAGS)" \
20346 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20347 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20352 TFLAGS="$(STAGE2_TFLAGS)" \
20353 $(TARGET-stage2-libbacktrace)
20355 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
20356 clean-stage2: clean-stage2-libbacktrace
20357 clean-stage2-libbacktrace:
20358 @if [ $(current_stage) = stage2 ]; then \
20359 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20360 else \
20361 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
20362 $(MAKE) stage2-start; \
20363 fi; \
20364 cd $(HOST_SUBDIR)/libbacktrace && \
20365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20366 @endif libbacktrace-bootstrap
20369 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
20370 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
20371 maybe-all-stage3-libbacktrace:
20372 maybe-clean-stage3-libbacktrace:
20373 @if libbacktrace-bootstrap
20374 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
20375 all-stage3: all-stage3-libbacktrace
20376 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
20377 all-stage3-libbacktrace: configure-stage3-libbacktrace
20378 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20379 @r=`${PWD_COMMAND}`; export r; \
20380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20381 TFLAGS="$(STAGE3_TFLAGS)"; \
20382 $(HOST_EXPORTS) \
20383 $(POSTSTAGE1_HOST_EXPORTS) \
20384 cd $(HOST_SUBDIR)/libbacktrace && \
20385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20386 CFLAGS="$(STAGE3_CFLAGS)" \
20387 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20388 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20393 TFLAGS="$(STAGE3_TFLAGS)" \
20394 $(TARGET-stage3-libbacktrace)
20396 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
20397 clean-stage3: clean-stage3-libbacktrace
20398 clean-stage3-libbacktrace:
20399 @if [ $(current_stage) = stage3 ]; then \
20400 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20401 else \
20402 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
20403 $(MAKE) stage3-start; \
20404 fi; \
20405 cd $(HOST_SUBDIR)/libbacktrace && \
20406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20407 @endif libbacktrace-bootstrap
20410 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
20411 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
20412 maybe-all-stage4-libbacktrace:
20413 maybe-clean-stage4-libbacktrace:
20414 @if libbacktrace-bootstrap
20415 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
20416 all-stage4: all-stage4-libbacktrace
20417 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
20418 all-stage4-libbacktrace: configure-stage4-libbacktrace
20419 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20420 @r=`${PWD_COMMAND}`; export r; \
20421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 TFLAGS="$(STAGE4_TFLAGS)"; \
20423 $(HOST_EXPORTS) \
20424 $(POSTSTAGE1_HOST_EXPORTS) \
20425 cd $(HOST_SUBDIR)/libbacktrace && \
20426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20427 CFLAGS="$(STAGE4_CFLAGS)" \
20428 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20429 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20434 TFLAGS="$(STAGE4_TFLAGS)" \
20435 $(TARGET-stage4-libbacktrace)
20437 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
20438 clean-stage4: clean-stage4-libbacktrace
20439 clean-stage4-libbacktrace:
20440 @if [ $(current_stage) = stage4 ]; then \
20441 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20442 else \
20443 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
20444 $(MAKE) stage4-start; \
20445 fi; \
20446 cd $(HOST_SUBDIR)/libbacktrace && \
20447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20448 @endif libbacktrace-bootstrap
20451 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
20452 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
20453 maybe-all-stageprofile-libbacktrace:
20454 maybe-clean-stageprofile-libbacktrace:
20455 @if libbacktrace-bootstrap
20456 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
20457 all-stageprofile: all-stageprofile-libbacktrace
20458 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
20459 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20460 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20461 @r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20464 $(HOST_EXPORTS) \
20465 $(POSTSTAGE1_HOST_EXPORTS) \
20466 cd $(HOST_SUBDIR)/libbacktrace && \
20467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20468 CFLAGS="$(STAGEprofile_CFLAGS)" \
20469 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20470 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20474 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20475 TFLAGS="$(STAGEprofile_TFLAGS)" \
20476 $(TARGET-stageprofile-libbacktrace)
20478 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
20479 clean-stageprofile: clean-stageprofile-libbacktrace
20480 clean-stageprofile-libbacktrace:
20481 @if [ $(current_stage) = stageprofile ]; then \
20482 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20483 else \
20484 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
20485 $(MAKE) stageprofile-start; \
20486 fi; \
20487 cd $(HOST_SUBDIR)/libbacktrace && \
20488 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20489 @endif libbacktrace-bootstrap
20492 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
20493 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
20494 maybe-all-stagefeedback-libbacktrace:
20495 maybe-clean-stagefeedback-libbacktrace:
20496 @if libbacktrace-bootstrap
20497 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
20498 all-stagefeedback: all-stagefeedback-libbacktrace
20499 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
20500 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20502 @r=`${PWD_COMMAND}`; export r; \
20503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20504 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20505 $(HOST_EXPORTS) \
20506 $(POSTSTAGE1_HOST_EXPORTS) \
20507 cd $(HOST_SUBDIR)/libbacktrace && \
20508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20509 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20510 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20511 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20516 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20517 $(TARGET-stagefeedback-libbacktrace)
20519 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20520 clean-stagefeedback: clean-stagefeedback-libbacktrace
20521 clean-stagefeedback-libbacktrace:
20522 @if [ $(current_stage) = stagefeedback ]; then \
20523 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20524 else \
20525 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20526 $(MAKE) stagefeedback-start; \
20527 fi; \
20528 cd $(HOST_SUBDIR)/libbacktrace && \
20529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20530 @endif libbacktrace-bootstrap
20536 .PHONY: check-libbacktrace maybe-check-libbacktrace
20537 maybe-check-libbacktrace:
20538 @if libbacktrace
20539 maybe-check-libbacktrace: check-libbacktrace
20541 check-libbacktrace:
20542 @: $(MAKE); $(unstage)
20543 @r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 $(HOST_EXPORTS) \
20546 (cd $(HOST_SUBDIR)/libbacktrace && \
20547 $(MAKE) $(FLAGS_TO_PASS) check)
20549 @endif libbacktrace
20551 .PHONY: install-libbacktrace maybe-install-libbacktrace
20552 maybe-install-libbacktrace:
20553 @if libbacktrace
20554 maybe-install-libbacktrace: install-libbacktrace
20556 install-libbacktrace: installdirs
20557 @: $(MAKE); $(unstage)
20558 @r=`${PWD_COMMAND}`; export r; \
20559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 $(HOST_EXPORTS) \
20561 (cd $(HOST_SUBDIR)/libbacktrace && \
20562 $(MAKE) $(FLAGS_TO_PASS) install)
20564 @endif libbacktrace
20566 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20567 maybe-install-strip-libbacktrace:
20568 @if libbacktrace
20569 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20571 install-strip-libbacktrace: installdirs
20572 @: $(MAKE); $(unstage)
20573 @r=`${PWD_COMMAND}`; export r; \
20574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20575 $(HOST_EXPORTS) \
20576 (cd $(HOST_SUBDIR)/libbacktrace && \
20577 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20579 @endif libbacktrace
20581 # Other targets (info, dvi, pdf, etc.)
20583 .PHONY: maybe-info-libbacktrace info-libbacktrace
20584 maybe-info-libbacktrace:
20585 @if libbacktrace
20586 maybe-info-libbacktrace: info-libbacktrace
20588 info-libbacktrace: \
20589 configure-libbacktrace
20590 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20591 r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20593 $(HOST_EXPORTS) \
20594 for flag in $(EXTRA_HOST_FLAGS) ; do \
20595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20596 done; \
20597 echo "Doing info in libbacktrace" ; \
20598 (cd $(HOST_SUBDIR)/libbacktrace && \
20599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20601 "RANLIB=$${RANLIB}" \
20602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20603 info) \
20604 || exit 1
20606 @endif libbacktrace
20608 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20609 maybe-dvi-libbacktrace:
20610 @if libbacktrace
20611 maybe-dvi-libbacktrace: dvi-libbacktrace
20613 dvi-libbacktrace: \
20614 configure-libbacktrace
20615 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20616 r=`${PWD_COMMAND}`; export r; \
20617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 $(HOST_EXPORTS) \
20619 for flag in $(EXTRA_HOST_FLAGS) ; do \
20620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20621 done; \
20622 echo "Doing dvi in libbacktrace" ; \
20623 (cd $(HOST_SUBDIR)/libbacktrace && \
20624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20626 "RANLIB=$${RANLIB}" \
20627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20628 dvi) \
20629 || exit 1
20631 @endif libbacktrace
20633 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20634 maybe-pdf-libbacktrace:
20635 @if libbacktrace
20636 maybe-pdf-libbacktrace: pdf-libbacktrace
20638 pdf-libbacktrace: \
20639 configure-libbacktrace
20640 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20641 r=`${PWD_COMMAND}`; export r; \
20642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20643 $(HOST_EXPORTS) \
20644 for flag in $(EXTRA_HOST_FLAGS) ; do \
20645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20646 done; \
20647 echo "Doing pdf in libbacktrace" ; \
20648 (cd $(HOST_SUBDIR)/libbacktrace && \
20649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20651 "RANLIB=$${RANLIB}" \
20652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20653 pdf) \
20654 || exit 1
20656 @endif libbacktrace
20658 .PHONY: maybe-html-libbacktrace html-libbacktrace
20659 maybe-html-libbacktrace:
20660 @if libbacktrace
20661 maybe-html-libbacktrace: html-libbacktrace
20663 html-libbacktrace: \
20664 configure-libbacktrace
20665 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20666 r=`${PWD_COMMAND}`; export r; \
20667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 $(HOST_EXPORTS) \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 done; \
20672 echo "Doing html in libbacktrace" ; \
20673 (cd $(HOST_SUBDIR)/libbacktrace && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20678 html) \
20679 || exit 1
20681 @endif libbacktrace
20683 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20684 maybe-TAGS-libbacktrace:
20685 @if libbacktrace
20686 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20688 TAGS-libbacktrace: \
20689 configure-libbacktrace
20690 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(HOST_EXPORTS) \
20694 for flag in $(EXTRA_HOST_FLAGS) ; do \
20695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20696 done; \
20697 echo "Doing TAGS in libbacktrace" ; \
20698 (cd $(HOST_SUBDIR)/libbacktrace && \
20699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20701 "RANLIB=$${RANLIB}" \
20702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20703 TAGS) \
20704 || exit 1
20706 @endif libbacktrace
20708 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20709 maybe-install-info-libbacktrace:
20710 @if libbacktrace
20711 maybe-install-info-libbacktrace: install-info-libbacktrace
20713 install-info-libbacktrace: \
20714 configure-libbacktrace \
20715 info-libbacktrace
20716 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20717 r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 $(HOST_EXPORTS) \
20720 for flag in $(EXTRA_HOST_FLAGS) ; do \
20721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20722 done; \
20723 echo "Doing install-info in libbacktrace" ; \
20724 (cd $(HOST_SUBDIR)/libbacktrace && \
20725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20727 "RANLIB=$${RANLIB}" \
20728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20729 install-info) \
20730 || exit 1
20732 @endif libbacktrace
20734 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20735 maybe-install-pdf-libbacktrace:
20736 @if libbacktrace
20737 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20739 install-pdf-libbacktrace: \
20740 configure-libbacktrace \
20741 pdf-libbacktrace
20742 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20743 r=`${PWD_COMMAND}`; export r; \
20744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745 $(HOST_EXPORTS) \
20746 for flag in $(EXTRA_HOST_FLAGS) ; do \
20747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20748 done; \
20749 echo "Doing install-pdf in libbacktrace" ; \
20750 (cd $(HOST_SUBDIR)/libbacktrace && \
20751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20753 "RANLIB=$${RANLIB}" \
20754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20755 install-pdf) \
20756 || exit 1
20758 @endif libbacktrace
20760 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20761 maybe-install-html-libbacktrace:
20762 @if libbacktrace
20763 maybe-install-html-libbacktrace: install-html-libbacktrace
20765 install-html-libbacktrace: \
20766 configure-libbacktrace \
20767 html-libbacktrace
20768 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20769 r=`${PWD_COMMAND}`; export r; \
20770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20771 $(HOST_EXPORTS) \
20772 for flag in $(EXTRA_HOST_FLAGS) ; do \
20773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20774 done; \
20775 echo "Doing install-html in libbacktrace" ; \
20776 (cd $(HOST_SUBDIR)/libbacktrace && \
20777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20779 "RANLIB=$${RANLIB}" \
20780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20781 install-html) \
20782 || exit 1
20784 @endif libbacktrace
20786 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20787 maybe-installcheck-libbacktrace:
20788 @if libbacktrace
20789 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20791 installcheck-libbacktrace: \
20792 configure-libbacktrace
20793 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20794 r=`${PWD_COMMAND}`; export r; \
20795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20796 $(HOST_EXPORTS) \
20797 for flag in $(EXTRA_HOST_FLAGS) ; do \
20798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20799 done; \
20800 echo "Doing installcheck in libbacktrace" ; \
20801 (cd $(HOST_SUBDIR)/libbacktrace && \
20802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20804 "RANLIB=$${RANLIB}" \
20805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20806 installcheck) \
20807 || exit 1
20809 @endif libbacktrace
20811 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20812 maybe-mostlyclean-libbacktrace:
20813 @if libbacktrace
20814 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20816 mostlyclean-libbacktrace:
20817 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20818 r=`${PWD_COMMAND}`; export r; \
20819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 $(HOST_EXPORTS) \
20821 for flag in $(EXTRA_HOST_FLAGS) ; do \
20822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20823 done; \
20824 echo "Doing mostlyclean in libbacktrace" ; \
20825 (cd $(HOST_SUBDIR)/libbacktrace && \
20826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20828 "RANLIB=$${RANLIB}" \
20829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20830 mostlyclean) \
20831 || exit 1
20833 @endif libbacktrace
20835 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20836 maybe-clean-libbacktrace:
20837 @if libbacktrace
20838 maybe-clean-libbacktrace: clean-libbacktrace
20840 clean-libbacktrace:
20841 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20842 r=`${PWD_COMMAND}`; export r; \
20843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20844 $(HOST_EXPORTS) \
20845 for flag in $(EXTRA_HOST_FLAGS) ; do \
20846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20847 done; \
20848 echo "Doing clean in libbacktrace" ; \
20849 (cd $(HOST_SUBDIR)/libbacktrace && \
20850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20852 "RANLIB=$${RANLIB}" \
20853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20854 clean) \
20855 || exit 1
20857 @endif libbacktrace
20859 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20860 maybe-distclean-libbacktrace:
20861 @if libbacktrace
20862 maybe-distclean-libbacktrace: distclean-libbacktrace
20864 distclean-libbacktrace:
20865 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20866 r=`${PWD_COMMAND}`; export r; \
20867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20868 $(HOST_EXPORTS) \
20869 for flag in $(EXTRA_HOST_FLAGS) ; do \
20870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20871 done; \
20872 echo "Doing distclean in libbacktrace" ; \
20873 (cd $(HOST_SUBDIR)/libbacktrace && \
20874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20876 "RANLIB=$${RANLIB}" \
20877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20878 distclean) \
20879 || exit 1
20881 @endif libbacktrace
20883 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20884 maybe-maintainer-clean-libbacktrace:
20885 @if libbacktrace
20886 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20888 maintainer-clean-libbacktrace:
20889 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20890 r=`${PWD_COMMAND}`; export r; \
20891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20892 $(HOST_EXPORTS) \
20893 for flag in $(EXTRA_HOST_FLAGS) ; do \
20894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20895 done; \
20896 echo "Doing maintainer-clean in libbacktrace" ; \
20897 (cd $(HOST_SUBDIR)/libbacktrace && \
20898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20900 "RANLIB=$${RANLIB}" \
20901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20902 maintainer-clean) \
20903 || exit 1
20905 @endif libbacktrace
20909 .PHONY: configure-libcpp maybe-configure-libcpp
20910 maybe-configure-libcpp:
20911 @if gcc-bootstrap
20912 configure-libcpp: stage_current
20913 @endif gcc-bootstrap
20914 @if libcpp
20915 maybe-configure-libcpp: configure-libcpp
20916 configure-libcpp:
20917 @r=`${PWD_COMMAND}`; export r; \
20918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20919 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20921 $(HOST_EXPORTS) \
20922 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20923 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20924 case $(srcdir) in \
20925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20926 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20928 esac; \
20929 module_srcdir=libcpp; \
20930 $(SHELL) \
20931 $$s/$$module_srcdir/configure \
20932 --srcdir=$${topdir}/$$module_srcdir \
20933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20934 --target=${target_alias} \
20935 || exit 1
20936 @endif libcpp
20940 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20941 maybe-configure-stage1-libcpp:
20942 @if libcpp-bootstrap
20943 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20944 configure-stage1-libcpp:
20945 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20947 @r=`${PWD_COMMAND}`; export r; \
20948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 TFLAGS="$(STAGE1_TFLAGS)"; \
20950 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20951 $(HOST_EXPORTS) \
20952 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20953 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20954 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20955 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20957 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20958 case $(srcdir) in \
20959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20960 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20962 esac; \
20963 module_srcdir=libcpp; \
20964 $(SHELL) $$s/$$module_srcdir/configure \
20965 --srcdir=$${topdir}/$$module_srcdir \
20966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20967 --target=${target_alias} \
20969 $(STAGE1_CONFIGURE_FLAGS)
20970 @endif libcpp-bootstrap
20972 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20973 maybe-configure-stage2-libcpp:
20974 @if libcpp-bootstrap
20975 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20976 configure-stage2-libcpp:
20977 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20979 @r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 TFLAGS="$(STAGE2_TFLAGS)"; \
20982 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20983 $(HOST_EXPORTS) \
20984 $(POSTSTAGE1_HOST_EXPORTS) \
20985 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20986 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20987 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20988 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20990 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20991 case $(srcdir) in \
20992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20993 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20995 esac; \
20996 module_srcdir=libcpp; \
20997 $(SHELL) $$s/$$module_srcdir/configure \
20998 --srcdir=$${topdir}/$$module_srcdir \
20999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21000 --target=${target_alias} \
21001 --with-build-libsubdir=$(HOST_SUBDIR) \
21002 $(STAGE2_CONFIGURE_FLAGS)
21003 @endif libcpp-bootstrap
21005 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
21006 maybe-configure-stage3-libcpp:
21007 @if libcpp-bootstrap
21008 maybe-configure-stage3-libcpp: configure-stage3-libcpp
21009 configure-stage3-libcpp:
21010 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21012 @r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 TFLAGS="$(STAGE3_TFLAGS)"; \
21015 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21016 $(HOST_EXPORTS) \
21017 $(POSTSTAGE1_HOST_EXPORTS) \
21018 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21019 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21020 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21021 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
21022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21023 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21024 case $(srcdir) in \
21025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21026 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21028 esac; \
21029 module_srcdir=libcpp; \
21030 $(SHELL) $$s/$$module_srcdir/configure \
21031 --srcdir=$${topdir}/$$module_srcdir \
21032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21033 --target=${target_alias} \
21034 --with-build-libsubdir=$(HOST_SUBDIR) \
21035 $(STAGE3_CONFIGURE_FLAGS)
21036 @endif libcpp-bootstrap
21038 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
21039 maybe-configure-stage4-libcpp:
21040 @if libcpp-bootstrap
21041 maybe-configure-stage4-libcpp: configure-stage4-libcpp
21042 configure-stage4-libcpp:
21043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21045 @r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 TFLAGS="$(STAGE4_TFLAGS)"; \
21048 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21049 $(HOST_EXPORTS) \
21050 $(POSTSTAGE1_HOST_EXPORTS) \
21051 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21052 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21053 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21054 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
21055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21056 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21057 case $(srcdir) in \
21058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21059 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21061 esac; \
21062 module_srcdir=libcpp; \
21063 $(SHELL) $$s/$$module_srcdir/configure \
21064 --srcdir=$${topdir}/$$module_srcdir \
21065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21066 --target=${target_alias} \
21067 --with-build-libsubdir=$(HOST_SUBDIR) \
21068 $(STAGE4_CONFIGURE_FLAGS)
21069 @endif libcpp-bootstrap
21071 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
21072 maybe-configure-stageprofile-libcpp:
21073 @if libcpp-bootstrap
21074 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
21075 configure-stageprofile-libcpp:
21076 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21078 @r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21081 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21082 $(HOST_EXPORTS) \
21083 $(POSTSTAGE1_HOST_EXPORTS) \
21084 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21085 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21086 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21087 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
21088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21089 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21090 case $(srcdir) in \
21091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21092 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21094 esac; \
21095 module_srcdir=libcpp; \
21096 $(SHELL) $$s/$$module_srcdir/configure \
21097 --srcdir=$${topdir}/$$module_srcdir \
21098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21099 --target=${target_alias} \
21100 --with-build-libsubdir=$(HOST_SUBDIR) \
21101 $(STAGEprofile_CONFIGURE_FLAGS)
21102 @endif libcpp-bootstrap
21104 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
21105 maybe-configure-stagefeedback-libcpp:
21106 @if libcpp-bootstrap
21107 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
21108 configure-stagefeedback-libcpp:
21109 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21111 @r=`${PWD_COMMAND}`; export r; \
21112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21113 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21114 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21115 $(HOST_EXPORTS) \
21116 $(POSTSTAGE1_HOST_EXPORTS) \
21117 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21118 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21119 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21120 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
21121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21122 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21123 case $(srcdir) in \
21124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21125 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21127 esac; \
21128 module_srcdir=libcpp; \
21129 $(SHELL) $$s/$$module_srcdir/configure \
21130 --srcdir=$${topdir}/$$module_srcdir \
21131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21132 --target=${target_alias} \
21133 --with-build-libsubdir=$(HOST_SUBDIR) \
21134 $(STAGEfeedback_CONFIGURE_FLAGS)
21135 @endif libcpp-bootstrap
21141 .PHONY: all-libcpp maybe-all-libcpp
21142 maybe-all-libcpp:
21143 @if gcc-bootstrap
21144 all-libcpp: stage_current
21145 @endif gcc-bootstrap
21146 @if libcpp
21147 TARGET-libcpp=all
21148 maybe-all-libcpp: all-libcpp
21149 all-libcpp: configure-libcpp
21150 @r=`${PWD_COMMAND}`; export r; \
21151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21152 $(HOST_EXPORTS) \
21153 (cd $(HOST_SUBDIR)/libcpp && \
21154 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21155 $(TARGET-libcpp))
21156 @endif libcpp
21160 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
21161 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
21162 maybe-all-stage1-libcpp:
21163 maybe-clean-stage1-libcpp:
21164 @if libcpp-bootstrap
21165 maybe-all-stage1-libcpp: all-stage1-libcpp
21166 all-stage1: all-stage1-libcpp
21167 TARGET-stage1-libcpp = $(TARGET-libcpp)
21168 all-stage1-libcpp: configure-stage1-libcpp
21169 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21170 @r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 TFLAGS="$(STAGE1_TFLAGS)"; \
21173 $(HOST_EXPORTS) \
21174 cd $(HOST_SUBDIR)/libcpp && \
21175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21176 CFLAGS="$(STAGE1_CFLAGS)" \
21177 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21178 LIBCFLAGS="$(LIBCFLAGS)" \
21179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21182 $(EXTRA_HOST_FLAGS) \
21183 $(STAGE1_FLAGS_TO_PASS) \
21184 TFLAGS="$(STAGE1_TFLAGS)" \
21185 $(TARGET-stage1-libcpp)
21187 maybe-clean-stage1-libcpp: clean-stage1-libcpp
21188 clean-stage1: clean-stage1-libcpp
21189 clean-stage1-libcpp:
21190 @if [ $(current_stage) = stage1 ]; then \
21191 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21192 else \
21193 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
21194 $(MAKE) stage1-start; \
21195 fi; \
21196 cd $(HOST_SUBDIR)/libcpp && \
21197 $(MAKE) $(EXTRA_HOST_FLAGS) \
21198 $(STAGE1_FLAGS_TO_PASS) clean
21199 @endif libcpp-bootstrap
21202 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
21203 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
21204 maybe-all-stage2-libcpp:
21205 maybe-clean-stage2-libcpp:
21206 @if libcpp-bootstrap
21207 maybe-all-stage2-libcpp: all-stage2-libcpp
21208 all-stage2: all-stage2-libcpp
21209 TARGET-stage2-libcpp = $(TARGET-libcpp)
21210 all-stage2-libcpp: configure-stage2-libcpp
21211 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21212 @r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 TFLAGS="$(STAGE2_TFLAGS)"; \
21215 $(HOST_EXPORTS) \
21216 $(POSTSTAGE1_HOST_EXPORTS) \
21217 cd $(HOST_SUBDIR)/libcpp && \
21218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21219 CFLAGS="$(STAGE2_CFLAGS)" \
21220 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21221 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21226 TFLAGS="$(STAGE2_TFLAGS)" \
21227 $(TARGET-stage2-libcpp)
21229 maybe-clean-stage2-libcpp: clean-stage2-libcpp
21230 clean-stage2: clean-stage2-libcpp
21231 clean-stage2-libcpp:
21232 @if [ $(current_stage) = stage2 ]; then \
21233 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21234 else \
21235 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
21236 $(MAKE) stage2-start; \
21237 fi; \
21238 cd $(HOST_SUBDIR)/libcpp && \
21239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21240 @endif libcpp-bootstrap
21243 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
21244 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
21245 maybe-all-stage3-libcpp:
21246 maybe-clean-stage3-libcpp:
21247 @if libcpp-bootstrap
21248 maybe-all-stage3-libcpp: all-stage3-libcpp
21249 all-stage3: all-stage3-libcpp
21250 TARGET-stage3-libcpp = $(TARGET-libcpp)
21251 all-stage3-libcpp: configure-stage3-libcpp
21252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21253 @r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 TFLAGS="$(STAGE3_TFLAGS)"; \
21256 $(HOST_EXPORTS) \
21257 $(POSTSTAGE1_HOST_EXPORTS) \
21258 cd $(HOST_SUBDIR)/libcpp && \
21259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21260 CFLAGS="$(STAGE3_CFLAGS)" \
21261 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21262 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21267 TFLAGS="$(STAGE3_TFLAGS)" \
21268 $(TARGET-stage3-libcpp)
21270 maybe-clean-stage3-libcpp: clean-stage3-libcpp
21271 clean-stage3: clean-stage3-libcpp
21272 clean-stage3-libcpp:
21273 @if [ $(current_stage) = stage3 ]; then \
21274 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21275 else \
21276 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
21277 $(MAKE) stage3-start; \
21278 fi; \
21279 cd $(HOST_SUBDIR)/libcpp && \
21280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21281 @endif libcpp-bootstrap
21284 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
21285 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
21286 maybe-all-stage4-libcpp:
21287 maybe-clean-stage4-libcpp:
21288 @if libcpp-bootstrap
21289 maybe-all-stage4-libcpp: all-stage4-libcpp
21290 all-stage4: all-stage4-libcpp
21291 TARGET-stage4-libcpp = $(TARGET-libcpp)
21292 all-stage4-libcpp: configure-stage4-libcpp
21293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21294 @r=`${PWD_COMMAND}`; export r; \
21295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21296 TFLAGS="$(STAGE4_TFLAGS)"; \
21297 $(HOST_EXPORTS) \
21298 $(POSTSTAGE1_HOST_EXPORTS) \
21299 cd $(HOST_SUBDIR)/libcpp && \
21300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21301 CFLAGS="$(STAGE4_CFLAGS)" \
21302 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21303 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21308 TFLAGS="$(STAGE4_TFLAGS)" \
21309 $(TARGET-stage4-libcpp)
21311 maybe-clean-stage4-libcpp: clean-stage4-libcpp
21312 clean-stage4: clean-stage4-libcpp
21313 clean-stage4-libcpp:
21314 @if [ $(current_stage) = stage4 ]; then \
21315 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21316 else \
21317 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
21318 $(MAKE) stage4-start; \
21319 fi; \
21320 cd $(HOST_SUBDIR)/libcpp && \
21321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21322 @endif libcpp-bootstrap
21325 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
21326 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
21327 maybe-all-stageprofile-libcpp:
21328 maybe-clean-stageprofile-libcpp:
21329 @if libcpp-bootstrap
21330 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
21331 all-stageprofile: all-stageprofile-libcpp
21332 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
21333 all-stageprofile-libcpp: configure-stageprofile-libcpp
21334 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21335 @r=`${PWD_COMMAND}`; export r; \
21336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21337 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21338 $(HOST_EXPORTS) \
21339 $(POSTSTAGE1_HOST_EXPORTS) \
21340 cd $(HOST_SUBDIR)/libcpp && \
21341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21342 CFLAGS="$(STAGEprofile_CFLAGS)" \
21343 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21344 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21349 TFLAGS="$(STAGEprofile_TFLAGS)" \
21350 $(TARGET-stageprofile-libcpp)
21352 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
21353 clean-stageprofile: clean-stageprofile-libcpp
21354 clean-stageprofile-libcpp:
21355 @if [ $(current_stage) = stageprofile ]; then \
21356 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21357 else \
21358 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
21359 $(MAKE) stageprofile-start; \
21360 fi; \
21361 cd $(HOST_SUBDIR)/libcpp && \
21362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21363 @endif libcpp-bootstrap
21366 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
21367 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
21368 maybe-all-stagefeedback-libcpp:
21369 maybe-clean-stagefeedback-libcpp:
21370 @if libcpp-bootstrap
21371 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
21372 all-stagefeedback: all-stagefeedback-libcpp
21373 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
21374 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
21375 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21376 @r=`${PWD_COMMAND}`; export r; \
21377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21378 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21379 $(HOST_EXPORTS) \
21380 $(POSTSTAGE1_HOST_EXPORTS) \
21381 cd $(HOST_SUBDIR)/libcpp && \
21382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21383 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21384 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21385 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21390 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21391 $(TARGET-stagefeedback-libcpp)
21393 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
21394 clean-stagefeedback: clean-stagefeedback-libcpp
21395 clean-stagefeedback-libcpp:
21396 @if [ $(current_stage) = stagefeedback ]; then \
21397 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21398 else \
21399 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
21400 $(MAKE) stagefeedback-start; \
21401 fi; \
21402 cd $(HOST_SUBDIR)/libcpp && \
21403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21404 @endif libcpp-bootstrap
21410 .PHONY: check-libcpp maybe-check-libcpp
21411 maybe-check-libcpp:
21412 @if libcpp
21413 maybe-check-libcpp: check-libcpp
21415 check-libcpp:
21416 @: $(MAKE); $(unstage)
21417 @r=`${PWD_COMMAND}`; export r; \
21418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 $(HOST_EXPORTS) \
21420 (cd $(HOST_SUBDIR)/libcpp && \
21421 $(MAKE) $(FLAGS_TO_PASS) check)
21423 @endif libcpp
21425 .PHONY: install-libcpp maybe-install-libcpp
21426 maybe-install-libcpp:
21427 @if libcpp
21428 maybe-install-libcpp: install-libcpp
21430 install-libcpp: installdirs
21431 @: $(MAKE); $(unstage)
21432 @r=`${PWD_COMMAND}`; export r; \
21433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 $(HOST_EXPORTS) \
21435 (cd $(HOST_SUBDIR)/libcpp && \
21436 $(MAKE) $(FLAGS_TO_PASS) install)
21438 @endif libcpp
21440 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
21441 maybe-install-strip-libcpp:
21442 @if libcpp
21443 maybe-install-strip-libcpp: install-strip-libcpp
21445 install-strip-libcpp: installdirs
21446 @: $(MAKE); $(unstage)
21447 @r=`${PWD_COMMAND}`; export r; \
21448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21449 $(HOST_EXPORTS) \
21450 (cd $(HOST_SUBDIR)/libcpp && \
21451 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21453 @endif libcpp
21455 # Other targets (info, dvi, pdf, etc.)
21457 .PHONY: maybe-info-libcpp info-libcpp
21458 maybe-info-libcpp:
21459 @if libcpp
21460 maybe-info-libcpp: info-libcpp
21462 info-libcpp: \
21463 configure-libcpp
21464 @[ -f ./libcpp/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) ; do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing info in libcpp" ; \
21472 (cd $(HOST_SUBDIR)/libcpp && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21477 info) \
21478 || exit 1
21480 @endif libcpp
21482 .PHONY: maybe-dvi-libcpp dvi-libcpp
21483 maybe-dvi-libcpp:
21484 @if libcpp
21485 maybe-dvi-libcpp: dvi-libcpp
21487 dvi-libcpp: \
21488 configure-libcpp
21489 @[ -f ./libcpp/Makefile ] || exit 0; \
21490 r=`${PWD_COMMAND}`; export r; \
21491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21492 $(HOST_EXPORTS) \
21493 for flag in $(EXTRA_HOST_FLAGS) ; do \
21494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21495 done; \
21496 echo "Doing dvi in libcpp" ; \
21497 (cd $(HOST_SUBDIR)/libcpp && \
21498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21500 "RANLIB=$${RANLIB}" \
21501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21502 dvi) \
21503 || exit 1
21505 @endif libcpp
21507 .PHONY: maybe-pdf-libcpp pdf-libcpp
21508 maybe-pdf-libcpp:
21509 @if libcpp
21510 maybe-pdf-libcpp: pdf-libcpp
21512 pdf-libcpp: \
21513 configure-libcpp
21514 @[ -f ./libcpp/Makefile ] || exit 0; \
21515 r=`${PWD_COMMAND}`; export r; \
21516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21517 $(HOST_EXPORTS) \
21518 for flag in $(EXTRA_HOST_FLAGS) ; do \
21519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21520 done; \
21521 echo "Doing pdf in libcpp" ; \
21522 (cd $(HOST_SUBDIR)/libcpp && \
21523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21525 "RANLIB=$${RANLIB}" \
21526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21527 pdf) \
21528 || exit 1
21530 @endif libcpp
21532 .PHONY: maybe-html-libcpp html-libcpp
21533 maybe-html-libcpp:
21534 @if libcpp
21535 maybe-html-libcpp: html-libcpp
21537 html-libcpp: \
21538 configure-libcpp
21539 @[ -f ./libcpp/Makefile ] || exit 0; \
21540 r=`${PWD_COMMAND}`; export r; \
21541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21542 $(HOST_EXPORTS) \
21543 for flag in $(EXTRA_HOST_FLAGS) ; do \
21544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21545 done; \
21546 echo "Doing html in libcpp" ; \
21547 (cd $(HOST_SUBDIR)/libcpp && \
21548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21550 "RANLIB=$${RANLIB}" \
21551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21552 html) \
21553 || exit 1
21555 @endif libcpp
21557 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21558 maybe-TAGS-libcpp:
21559 @if libcpp
21560 maybe-TAGS-libcpp: TAGS-libcpp
21562 TAGS-libcpp: \
21563 configure-libcpp
21564 @[ -f ./libcpp/Makefile ] || exit 0; \
21565 r=`${PWD_COMMAND}`; export r; \
21566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 $(HOST_EXPORTS) \
21568 for flag in $(EXTRA_HOST_FLAGS) ; do \
21569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21570 done; \
21571 echo "Doing TAGS in libcpp" ; \
21572 (cd $(HOST_SUBDIR)/libcpp && \
21573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21575 "RANLIB=$${RANLIB}" \
21576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21577 TAGS) \
21578 || exit 1
21580 @endif libcpp
21582 .PHONY: maybe-install-info-libcpp install-info-libcpp
21583 maybe-install-info-libcpp:
21584 @if libcpp
21585 maybe-install-info-libcpp: install-info-libcpp
21587 install-info-libcpp: \
21588 configure-libcpp \
21589 info-libcpp
21590 @[ -f ./libcpp/Makefile ] || exit 0; \
21591 r=`${PWD_COMMAND}`; export r; \
21592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 $(HOST_EXPORTS) \
21594 for flag in $(EXTRA_HOST_FLAGS) ; do \
21595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21596 done; \
21597 echo "Doing install-info in libcpp" ; \
21598 (cd $(HOST_SUBDIR)/libcpp && \
21599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21601 "RANLIB=$${RANLIB}" \
21602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21603 install-info) \
21604 || exit 1
21606 @endif libcpp
21608 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21609 maybe-install-pdf-libcpp:
21610 @if libcpp
21611 maybe-install-pdf-libcpp: install-pdf-libcpp
21613 install-pdf-libcpp: \
21614 configure-libcpp \
21615 pdf-libcpp
21616 @[ -f ./libcpp/Makefile ] || exit 0; \
21617 r=`${PWD_COMMAND}`; export r; \
21618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21619 $(HOST_EXPORTS) \
21620 for flag in $(EXTRA_HOST_FLAGS) ; do \
21621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21622 done; \
21623 echo "Doing install-pdf in libcpp" ; \
21624 (cd $(HOST_SUBDIR)/libcpp && \
21625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21627 "RANLIB=$${RANLIB}" \
21628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21629 install-pdf) \
21630 || exit 1
21632 @endif libcpp
21634 .PHONY: maybe-install-html-libcpp install-html-libcpp
21635 maybe-install-html-libcpp:
21636 @if libcpp
21637 maybe-install-html-libcpp: install-html-libcpp
21639 install-html-libcpp: \
21640 configure-libcpp \
21641 html-libcpp
21642 @[ -f ./libcpp/Makefile ] || exit 0; \
21643 r=`${PWD_COMMAND}`; export r; \
21644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21645 $(HOST_EXPORTS) \
21646 for flag in $(EXTRA_HOST_FLAGS) ; do \
21647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21648 done; \
21649 echo "Doing install-html in libcpp" ; \
21650 (cd $(HOST_SUBDIR)/libcpp && \
21651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21653 "RANLIB=$${RANLIB}" \
21654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21655 install-html) \
21656 || exit 1
21658 @endif libcpp
21660 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21661 maybe-installcheck-libcpp:
21662 @if libcpp
21663 maybe-installcheck-libcpp: installcheck-libcpp
21665 installcheck-libcpp: \
21666 configure-libcpp
21667 @[ -f ./libcpp/Makefile ] || exit 0; \
21668 r=`${PWD_COMMAND}`; export r; \
21669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21670 $(HOST_EXPORTS) \
21671 for flag in $(EXTRA_HOST_FLAGS) ; do \
21672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21673 done; \
21674 echo "Doing installcheck in libcpp" ; \
21675 (cd $(HOST_SUBDIR)/libcpp && \
21676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21678 "RANLIB=$${RANLIB}" \
21679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21680 installcheck) \
21681 || exit 1
21683 @endif libcpp
21685 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21686 maybe-mostlyclean-libcpp:
21687 @if libcpp
21688 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21690 mostlyclean-libcpp:
21691 @[ -f ./libcpp/Makefile ] || exit 0; \
21692 r=`${PWD_COMMAND}`; export r; \
21693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21694 $(HOST_EXPORTS) \
21695 for flag in $(EXTRA_HOST_FLAGS) ; do \
21696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21697 done; \
21698 echo "Doing mostlyclean in libcpp" ; \
21699 (cd $(HOST_SUBDIR)/libcpp && \
21700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21702 "RANLIB=$${RANLIB}" \
21703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21704 mostlyclean) \
21705 || exit 1
21707 @endif libcpp
21709 .PHONY: maybe-clean-libcpp clean-libcpp
21710 maybe-clean-libcpp:
21711 @if libcpp
21712 maybe-clean-libcpp: clean-libcpp
21714 clean-libcpp:
21715 @[ -f ./libcpp/Makefile ] || exit 0; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(HOST_EXPORTS) \
21719 for flag in $(EXTRA_HOST_FLAGS) ; do \
21720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21721 done; \
21722 echo "Doing clean in libcpp" ; \
21723 (cd $(HOST_SUBDIR)/libcpp && \
21724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726 "RANLIB=$${RANLIB}" \
21727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21728 clean) \
21729 || exit 1
21731 @endif libcpp
21733 .PHONY: maybe-distclean-libcpp distclean-libcpp
21734 maybe-distclean-libcpp:
21735 @if libcpp
21736 maybe-distclean-libcpp: distclean-libcpp
21738 distclean-libcpp:
21739 @[ -f ./libcpp/Makefile ] || exit 0; \
21740 r=`${PWD_COMMAND}`; export r; \
21741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21742 $(HOST_EXPORTS) \
21743 for flag in $(EXTRA_HOST_FLAGS) ; do \
21744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21745 done; \
21746 echo "Doing distclean in libcpp" ; \
21747 (cd $(HOST_SUBDIR)/libcpp && \
21748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21750 "RANLIB=$${RANLIB}" \
21751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21752 distclean) \
21753 || exit 1
21755 @endif libcpp
21757 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21758 maybe-maintainer-clean-libcpp:
21759 @if libcpp
21760 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21762 maintainer-clean-libcpp:
21763 @[ -f ./libcpp/Makefile ] || exit 0; \
21764 r=`${PWD_COMMAND}`; export r; \
21765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21766 $(HOST_EXPORTS) \
21767 for flag in $(EXTRA_HOST_FLAGS) ; do \
21768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21769 done; \
21770 echo "Doing maintainer-clean in libcpp" ; \
21771 (cd $(HOST_SUBDIR)/libcpp && \
21772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21774 "RANLIB=$${RANLIB}" \
21775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21776 maintainer-clean) \
21777 || exit 1
21779 @endif libcpp
21783 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21784 maybe-configure-libdecnumber:
21785 @if gcc-bootstrap
21786 configure-libdecnumber: stage_current
21787 @endif gcc-bootstrap
21788 @if libdecnumber
21789 maybe-configure-libdecnumber: configure-libdecnumber
21790 configure-libdecnumber:
21791 @r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21795 $(HOST_EXPORTS) \
21796 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21797 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21798 case $(srcdir) in \
21799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21800 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21802 esac; \
21803 module_srcdir=libdecnumber; \
21804 $(SHELL) \
21805 $$s/$$module_srcdir/configure \
21806 --srcdir=$${topdir}/$$module_srcdir \
21807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21808 --target=${target_alias} \
21809 || exit 1
21810 @endif libdecnumber
21814 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21815 maybe-configure-stage1-libdecnumber:
21816 @if libdecnumber-bootstrap
21817 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21818 configure-stage1-libdecnumber:
21819 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21821 @r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 TFLAGS="$(STAGE1_TFLAGS)"; \
21824 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21825 $(HOST_EXPORTS) \
21826 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21827 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21828 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21829 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21831 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21832 case $(srcdir) in \
21833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21834 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21836 esac; \
21837 module_srcdir=libdecnumber; \
21838 $(SHELL) $$s/$$module_srcdir/configure \
21839 --srcdir=$${topdir}/$$module_srcdir \
21840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21841 --target=${target_alias} \
21843 $(STAGE1_CONFIGURE_FLAGS)
21844 @endif libdecnumber-bootstrap
21846 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21847 maybe-configure-stage2-libdecnumber:
21848 @if libdecnumber-bootstrap
21849 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21850 configure-stage2-libdecnumber:
21851 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21853 @r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 TFLAGS="$(STAGE2_TFLAGS)"; \
21856 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21857 $(HOST_EXPORTS) \
21858 $(POSTSTAGE1_HOST_EXPORTS) \
21859 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21860 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21861 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21862 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21864 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21865 case $(srcdir) in \
21866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21867 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21869 esac; \
21870 module_srcdir=libdecnumber; \
21871 $(SHELL) $$s/$$module_srcdir/configure \
21872 --srcdir=$${topdir}/$$module_srcdir \
21873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21874 --target=${target_alias} \
21875 --with-build-libsubdir=$(HOST_SUBDIR) \
21876 $(STAGE2_CONFIGURE_FLAGS)
21877 @endif libdecnumber-bootstrap
21879 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21880 maybe-configure-stage3-libdecnumber:
21881 @if libdecnumber-bootstrap
21882 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21883 configure-stage3-libdecnumber:
21884 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21886 @r=`${PWD_COMMAND}`; export r; \
21887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21888 TFLAGS="$(STAGE3_TFLAGS)"; \
21889 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21890 $(HOST_EXPORTS) \
21891 $(POSTSTAGE1_HOST_EXPORTS) \
21892 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21893 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21894 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21895 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21897 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21898 case $(srcdir) in \
21899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21900 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21902 esac; \
21903 module_srcdir=libdecnumber; \
21904 $(SHELL) $$s/$$module_srcdir/configure \
21905 --srcdir=$${topdir}/$$module_srcdir \
21906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21907 --target=${target_alias} \
21908 --with-build-libsubdir=$(HOST_SUBDIR) \
21909 $(STAGE3_CONFIGURE_FLAGS)
21910 @endif libdecnumber-bootstrap
21912 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21913 maybe-configure-stage4-libdecnumber:
21914 @if libdecnumber-bootstrap
21915 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21916 configure-stage4-libdecnumber:
21917 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21919 @r=`${PWD_COMMAND}`; export r; \
21920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21921 TFLAGS="$(STAGE4_TFLAGS)"; \
21922 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21923 $(HOST_EXPORTS) \
21924 $(POSTSTAGE1_HOST_EXPORTS) \
21925 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21926 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21927 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21928 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21930 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21931 case $(srcdir) in \
21932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21933 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21935 esac; \
21936 module_srcdir=libdecnumber; \
21937 $(SHELL) $$s/$$module_srcdir/configure \
21938 --srcdir=$${topdir}/$$module_srcdir \
21939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21940 --target=${target_alias} \
21941 --with-build-libsubdir=$(HOST_SUBDIR) \
21942 $(STAGE4_CONFIGURE_FLAGS)
21943 @endif libdecnumber-bootstrap
21945 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21946 maybe-configure-stageprofile-libdecnumber:
21947 @if libdecnumber-bootstrap
21948 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21949 configure-stageprofile-libdecnumber:
21950 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21952 @r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21955 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21956 $(HOST_EXPORTS) \
21957 $(POSTSTAGE1_HOST_EXPORTS) \
21958 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21959 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21960 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21961 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21963 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21964 case $(srcdir) in \
21965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21966 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21968 esac; \
21969 module_srcdir=libdecnumber; \
21970 $(SHELL) $$s/$$module_srcdir/configure \
21971 --srcdir=$${topdir}/$$module_srcdir \
21972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21973 --target=${target_alias} \
21974 --with-build-libsubdir=$(HOST_SUBDIR) \
21975 $(STAGEprofile_CONFIGURE_FLAGS)
21976 @endif libdecnumber-bootstrap
21978 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21979 maybe-configure-stagefeedback-libdecnumber:
21980 @if libdecnumber-bootstrap
21981 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21982 configure-stagefeedback-libdecnumber:
21983 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21985 @r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21988 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21989 $(HOST_EXPORTS) \
21990 $(POSTSTAGE1_HOST_EXPORTS) \
21991 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21992 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21993 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21994 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21996 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21997 case $(srcdir) in \
21998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21999 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
22000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22001 esac; \
22002 module_srcdir=libdecnumber; \
22003 $(SHELL) $$s/$$module_srcdir/configure \
22004 --srcdir=$${topdir}/$$module_srcdir \
22005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22006 --target=${target_alias} \
22007 --with-build-libsubdir=$(HOST_SUBDIR) \
22008 $(STAGEfeedback_CONFIGURE_FLAGS)
22009 @endif libdecnumber-bootstrap
22015 .PHONY: all-libdecnumber maybe-all-libdecnumber
22016 maybe-all-libdecnumber:
22017 @if gcc-bootstrap
22018 all-libdecnumber: stage_current
22019 @endif gcc-bootstrap
22020 @if libdecnumber
22021 TARGET-libdecnumber=all
22022 maybe-all-libdecnumber: all-libdecnumber
22023 all-libdecnumber: configure-libdecnumber
22024 @r=`${PWD_COMMAND}`; export r; \
22025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22026 $(HOST_EXPORTS) \
22027 (cd $(HOST_SUBDIR)/libdecnumber && \
22028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22029 $(TARGET-libdecnumber))
22030 @endif libdecnumber
22034 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
22035 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
22036 maybe-all-stage1-libdecnumber:
22037 maybe-clean-stage1-libdecnumber:
22038 @if libdecnumber-bootstrap
22039 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
22040 all-stage1: all-stage1-libdecnumber
22041 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
22042 all-stage1-libdecnumber: configure-stage1-libdecnumber
22043 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22044 @r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 TFLAGS="$(STAGE1_TFLAGS)"; \
22047 $(HOST_EXPORTS) \
22048 cd $(HOST_SUBDIR)/libdecnumber && \
22049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22050 CFLAGS="$(STAGE1_CFLAGS)" \
22051 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22052 LIBCFLAGS="$(LIBCFLAGS)" \
22053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22056 $(EXTRA_HOST_FLAGS) \
22057 $(STAGE1_FLAGS_TO_PASS) \
22058 TFLAGS="$(STAGE1_TFLAGS)" \
22059 $(TARGET-stage1-libdecnumber)
22061 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
22062 clean-stage1: clean-stage1-libdecnumber
22063 clean-stage1-libdecnumber:
22064 @if [ $(current_stage) = stage1 ]; then \
22065 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22066 else \
22067 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
22068 $(MAKE) stage1-start; \
22069 fi; \
22070 cd $(HOST_SUBDIR)/libdecnumber && \
22071 $(MAKE) $(EXTRA_HOST_FLAGS) \
22072 $(STAGE1_FLAGS_TO_PASS) clean
22073 @endif libdecnumber-bootstrap
22076 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
22077 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
22078 maybe-all-stage2-libdecnumber:
22079 maybe-clean-stage2-libdecnumber:
22080 @if libdecnumber-bootstrap
22081 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
22082 all-stage2: all-stage2-libdecnumber
22083 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
22084 all-stage2-libdecnumber: configure-stage2-libdecnumber
22085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22086 @r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 TFLAGS="$(STAGE2_TFLAGS)"; \
22089 $(HOST_EXPORTS) \
22090 $(POSTSTAGE1_HOST_EXPORTS) \
22091 cd $(HOST_SUBDIR)/libdecnumber && \
22092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22093 CFLAGS="$(STAGE2_CFLAGS)" \
22094 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22095 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22099 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22100 TFLAGS="$(STAGE2_TFLAGS)" \
22101 $(TARGET-stage2-libdecnumber)
22103 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
22104 clean-stage2: clean-stage2-libdecnumber
22105 clean-stage2-libdecnumber:
22106 @if [ $(current_stage) = stage2 ]; then \
22107 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22108 else \
22109 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
22110 $(MAKE) stage2-start; \
22111 fi; \
22112 cd $(HOST_SUBDIR)/libdecnumber && \
22113 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22114 @endif libdecnumber-bootstrap
22117 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
22118 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
22119 maybe-all-stage3-libdecnumber:
22120 maybe-clean-stage3-libdecnumber:
22121 @if libdecnumber-bootstrap
22122 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
22123 all-stage3: all-stage3-libdecnumber
22124 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
22125 all-stage3-libdecnumber: configure-stage3-libdecnumber
22126 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22127 @r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 TFLAGS="$(STAGE3_TFLAGS)"; \
22130 $(HOST_EXPORTS) \
22131 $(POSTSTAGE1_HOST_EXPORTS) \
22132 cd $(HOST_SUBDIR)/libdecnumber && \
22133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22134 CFLAGS="$(STAGE3_CFLAGS)" \
22135 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22136 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22141 TFLAGS="$(STAGE3_TFLAGS)" \
22142 $(TARGET-stage3-libdecnumber)
22144 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
22145 clean-stage3: clean-stage3-libdecnumber
22146 clean-stage3-libdecnumber:
22147 @if [ $(current_stage) = stage3 ]; then \
22148 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22149 else \
22150 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
22151 $(MAKE) stage3-start; \
22152 fi; \
22153 cd $(HOST_SUBDIR)/libdecnumber && \
22154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22155 @endif libdecnumber-bootstrap
22158 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
22159 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
22160 maybe-all-stage4-libdecnumber:
22161 maybe-clean-stage4-libdecnumber:
22162 @if libdecnumber-bootstrap
22163 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
22164 all-stage4: all-stage4-libdecnumber
22165 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
22166 all-stage4-libdecnumber: configure-stage4-libdecnumber
22167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22168 @r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 TFLAGS="$(STAGE4_TFLAGS)"; \
22171 $(HOST_EXPORTS) \
22172 $(POSTSTAGE1_HOST_EXPORTS) \
22173 cd $(HOST_SUBDIR)/libdecnumber && \
22174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22175 CFLAGS="$(STAGE4_CFLAGS)" \
22176 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22177 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22182 TFLAGS="$(STAGE4_TFLAGS)" \
22183 $(TARGET-stage4-libdecnumber)
22185 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
22186 clean-stage4: clean-stage4-libdecnumber
22187 clean-stage4-libdecnumber:
22188 @if [ $(current_stage) = stage4 ]; then \
22189 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22190 else \
22191 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
22192 $(MAKE) stage4-start; \
22193 fi; \
22194 cd $(HOST_SUBDIR)/libdecnumber && \
22195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22196 @endif libdecnumber-bootstrap
22199 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
22200 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
22201 maybe-all-stageprofile-libdecnumber:
22202 maybe-clean-stageprofile-libdecnumber:
22203 @if libdecnumber-bootstrap
22204 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
22205 all-stageprofile: all-stageprofile-libdecnumber
22206 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
22207 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
22208 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22209 @r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22212 $(HOST_EXPORTS) \
22213 $(POSTSTAGE1_HOST_EXPORTS) \
22214 cd $(HOST_SUBDIR)/libdecnumber && \
22215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22216 CFLAGS="$(STAGEprofile_CFLAGS)" \
22217 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22218 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22223 TFLAGS="$(STAGEprofile_TFLAGS)" \
22224 $(TARGET-stageprofile-libdecnumber)
22226 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
22227 clean-stageprofile: clean-stageprofile-libdecnumber
22228 clean-stageprofile-libdecnumber:
22229 @if [ $(current_stage) = stageprofile ]; then \
22230 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22231 else \
22232 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
22233 $(MAKE) stageprofile-start; \
22234 fi; \
22235 cd $(HOST_SUBDIR)/libdecnumber && \
22236 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22237 @endif libdecnumber-bootstrap
22240 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
22241 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
22242 maybe-all-stagefeedback-libdecnumber:
22243 maybe-clean-stagefeedback-libdecnumber:
22244 @if libdecnumber-bootstrap
22245 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
22246 all-stagefeedback: all-stagefeedback-libdecnumber
22247 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
22248 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
22249 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22250 @r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22253 $(HOST_EXPORTS) \
22254 $(POSTSTAGE1_HOST_EXPORTS) \
22255 cd $(HOST_SUBDIR)/libdecnumber && \
22256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22257 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22258 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22259 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22264 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22265 $(TARGET-stagefeedback-libdecnumber)
22267 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
22268 clean-stagefeedback: clean-stagefeedback-libdecnumber
22269 clean-stagefeedback-libdecnumber:
22270 @if [ $(current_stage) = stagefeedback ]; then \
22271 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22272 else \
22273 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
22274 $(MAKE) stagefeedback-start; \
22275 fi; \
22276 cd $(HOST_SUBDIR)/libdecnumber && \
22277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22278 @endif libdecnumber-bootstrap
22284 .PHONY: check-libdecnumber maybe-check-libdecnumber
22285 maybe-check-libdecnumber:
22286 @if libdecnumber
22287 maybe-check-libdecnumber: check-libdecnumber
22289 check-libdecnumber:
22290 @: $(MAKE); $(unstage)
22291 @r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(HOST_EXPORTS) \
22294 (cd $(HOST_SUBDIR)/libdecnumber && \
22295 $(MAKE) $(FLAGS_TO_PASS) check)
22297 @endif libdecnumber
22299 .PHONY: install-libdecnumber maybe-install-libdecnumber
22300 maybe-install-libdecnumber:
22301 @if libdecnumber
22302 maybe-install-libdecnumber: install-libdecnumber
22304 install-libdecnumber: installdirs
22305 @: $(MAKE); $(unstage)
22306 @r=`${PWD_COMMAND}`; export r; \
22307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22308 $(HOST_EXPORTS) \
22309 (cd $(HOST_SUBDIR)/libdecnumber && \
22310 $(MAKE) $(FLAGS_TO_PASS) install)
22312 @endif libdecnumber
22314 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
22315 maybe-install-strip-libdecnumber:
22316 @if libdecnumber
22317 maybe-install-strip-libdecnumber: install-strip-libdecnumber
22319 install-strip-libdecnumber: installdirs
22320 @: $(MAKE); $(unstage)
22321 @r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 $(HOST_EXPORTS) \
22324 (cd $(HOST_SUBDIR)/libdecnumber && \
22325 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22327 @endif libdecnumber
22329 # Other targets (info, dvi, pdf, etc.)
22331 .PHONY: maybe-info-libdecnumber info-libdecnumber
22332 maybe-info-libdecnumber:
22333 @if libdecnumber
22334 maybe-info-libdecnumber: info-libdecnumber
22336 info-libdecnumber: \
22337 configure-libdecnumber
22338 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing info in libdecnumber" ; \
22346 (cd $(HOST_SUBDIR)/libdecnumber && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22351 info) \
22352 || exit 1
22354 @endif libdecnumber
22356 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
22357 maybe-dvi-libdecnumber:
22358 @if libdecnumber
22359 maybe-dvi-libdecnumber: dvi-libdecnumber
22361 dvi-libdecnumber: \
22362 configure-libdecnumber
22363 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 $(HOST_EXPORTS) \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 done; \
22370 echo "Doing dvi in libdecnumber" ; \
22371 (cd $(HOST_SUBDIR)/libdecnumber && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22376 dvi) \
22377 || exit 1
22379 @endif libdecnumber
22381 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
22382 maybe-pdf-libdecnumber:
22383 @if libdecnumber
22384 maybe-pdf-libdecnumber: pdf-libdecnumber
22386 pdf-libdecnumber: \
22387 configure-libdecnumber
22388 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22389 r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 $(HOST_EXPORTS) \
22392 for flag in $(EXTRA_HOST_FLAGS) ; do \
22393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22394 done; \
22395 echo "Doing pdf in libdecnumber" ; \
22396 (cd $(HOST_SUBDIR)/libdecnumber && \
22397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22399 "RANLIB=$${RANLIB}" \
22400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22401 pdf) \
22402 || exit 1
22404 @endif libdecnumber
22406 .PHONY: maybe-html-libdecnumber html-libdecnumber
22407 maybe-html-libdecnumber:
22408 @if libdecnumber
22409 maybe-html-libdecnumber: html-libdecnumber
22411 html-libdecnumber: \
22412 configure-libdecnumber
22413 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22414 r=`${PWD_COMMAND}`; export r; \
22415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22416 $(HOST_EXPORTS) \
22417 for flag in $(EXTRA_HOST_FLAGS) ; do \
22418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22419 done; \
22420 echo "Doing html in libdecnumber" ; \
22421 (cd $(HOST_SUBDIR)/libdecnumber && \
22422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22424 "RANLIB=$${RANLIB}" \
22425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22426 html) \
22427 || exit 1
22429 @endif libdecnumber
22431 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
22432 maybe-TAGS-libdecnumber:
22433 @if libdecnumber
22434 maybe-TAGS-libdecnumber: TAGS-libdecnumber
22436 TAGS-libdecnumber: \
22437 configure-libdecnumber
22438 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing TAGS in libdecnumber" ; \
22446 (cd $(HOST_SUBDIR)/libdecnumber && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22451 TAGS) \
22452 || exit 1
22454 @endif libdecnumber
22456 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
22457 maybe-install-info-libdecnumber:
22458 @if libdecnumber
22459 maybe-install-info-libdecnumber: install-info-libdecnumber
22461 install-info-libdecnumber: \
22462 configure-libdecnumber \
22463 info-libdecnumber
22464 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22465 r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22467 $(HOST_EXPORTS) \
22468 for flag in $(EXTRA_HOST_FLAGS) ; do \
22469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22470 done; \
22471 echo "Doing install-info in libdecnumber" ; \
22472 (cd $(HOST_SUBDIR)/libdecnumber && \
22473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22475 "RANLIB=$${RANLIB}" \
22476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22477 install-info) \
22478 || exit 1
22480 @endif libdecnumber
22482 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
22483 maybe-install-pdf-libdecnumber:
22484 @if libdecnumber
22485 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
22487 install-pdf-libdecnumber: \
22488 configure-libdecnumber \
22489 pdf-libdecnumber
22490 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing install-pdf in libdecnumber" ; \
22498 (cd $(HOST_SUBDIR)/libdecnumber && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22503 install-pdf) \
22504 || exit 1
22506 @endif libdecnumber
22508 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
22509 maybe-install-html-libdecnumber:
22510 @if libdecnumber
22511 maybe-install-html-libdecnumber: install-html-libdecnumber
22513 install-html-libdecnumber: \
22514 configure-libdecnumber \
22515 html-libdecnumber
22516 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22519 $(HOST_EXPORTS) \
22520 for flag in $(EXTRA_HOST_FLAGS) ; do \
22521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22522 done; \
22523 echo "Doing install-html in libdecnumber" ; \
22524 (cd $(HOST_SUBDIR)/libdecnumber && \
22525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22527 "RANLIB=$${RANLIB}" \
22528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22529 install-html) \
22530 || exit 1
22532 @endif libdecnumber
22534 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22535 maybe-installcheck-libdecnumber:
22536 @if libdecnumber
22537 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22539 installcheck-libdecnumber: \
22540 configure-libdecnumber
22541 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22542 r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(HOST_EXPORTS) \
22545 for flag in $(EXTRA_HOST_FLAGS) ; do \
22546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 done; \
22548 echo "Doing installcheck in libdecnumber" ; \
22549 (cd $(HOST_SUBDIR)/libdecnumber && \
22550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22552 "RANLIB=$${RANLIB}" \
22553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22554 installcheck) \
22555 || exit 1
22557 @endif libdecnumber
22559 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22560 maybe-mostlyclean-libdecnumber:
22561 @if libdecnumber
22562 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22564 mostlyclean-libdecnumber:
22565 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22566 r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 $(HOST_EXPORTS) \
22569 for flag in $(EXTRA_HOST_FLAGS) ; do \
22570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22571 done; \
22572 echo "Doing mostlyclean in libdecnumber" ; \
22573 (cd $(HOST_SUBDIR)/libdecnumber && \
22574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22576 "RANLIB=$${RANLIB}" \
22577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22578 mostlyclean) \
22579 || exit 1
22581 @endif libdecnumber
22583 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22584 maybe-clean-libdecnumber:
22585 @if libdecnumber
22586 maybe-clean-libdecnumber: clean-libdecnumber
22588 clean-libdecnumber:
22589 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22590 r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22592 $(HOST_EXPORTS) \
22593 for flag in $(EXTRA_HOST_FLAGS) ; do \
22594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22595 done; \
22596 echo "Doing clean in libdecnumber" ; \
22597 (cd $(HOST_SUBDIR)/libdecnumber && \
22598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22600 "RANLIB=$${RANLIB}" \
22601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22602 clean) \
22603 || exit 1
22605 @endif libdecnumber
22607 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22608 maybe-distclean-libdecnumber:
22609 @if libdecnumber
22610 maybe-distclean-libdecnumber: distclean-libdecnumber
22612 distclean-libdecnumber:
22613 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22614 r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22616 $(HOST_EXPORTS) \
22617 for flag in $(EXTRA_HOST_FLAGS) ; do \
22618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22619 done; \
22620 echo "Doing distclean in libdecnumber" ; \
22621 (cd $(HOST_SUBDIR)/libdecnumber && \
22622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22624 "RANLIB=$${RANLIB}" \
22625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22626 distclean) \
22627 || exit 1
22629 @endif libdecnumber
22631 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22632 maybe-maintainer-clean-libdecnumber:
22633 @if libdecnumber
22634 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22636 maintainer-clean-libdecnumber:
22637 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22638 r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 $(HOST_EXPORTS) \
22641 for flag in $(EXTRA_HOST_FLAGS) ; do \
22642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22643 done; \
22644 echo "Doing maintainer-clean in libdecnumber" ; \
22645 (cd $(HOST_SUBDIR)/libdecnumber && \
22646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22648 "RANLIB=$${RANLIB}" \
22649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22650 maintainer-clean) \
22651 || exit 1
22653 @endif libdecnumber
22657 .PHONY: configure-libgui maybe-configure-libgui
22658 maybe-configure-libgui:
22659 @if gcc-bootstrap
22660 configure-libgui: stage_current
22661 @endif gcc-bootstrap
22662 @if libgui
22663 maybe-configure-libgui: configure-libgui
22664 configure-libgui:
22665 @: $(MAKE); $(unstage)
22666 @r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22670 $(HOST_EXPORTS) \
22671 echo Configuring in $(HOST_SUBDIR)/libgui; \
22672 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22673 case $(srcdir) in \
22674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22675 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22677 esac; \
22678 module_srcdir=libgui; \
22679 $(SHELL) \
22680 $$s/$$module_srcdir/configure \
22681 --srcdir=$${topdir}/$$module_srcdir \
22682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22683 --target=${target_alias} \
22684 || exit 1
22685 @endif libgui
22691 .PHONY: all-libgui maybe-all-libgui
22692 maybe-all-libgui:
22693 @if gcc-bootstrap
22694 all-libgui: stage_current
22695 @endif gcc-bootstrap
22696 @if libgui
22697 TARGET-libgui=all
22698 maybe-all-libgui: all-libgui
22699 all-libgui: configure-libgui
22700 @: $(MAKE); $(unstage)
22701 @r=`${PWD_COMMAND}`; export r; \
22702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22703 $(HOST_EXPORTS) \
22704 (cd $(HOST_SUBDIR)/libgui && \
22705 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22706 $(TARGET-libgui))
22707 @endif libgui
22712 .PHONY: check-libgui maybe-check-libgui
22713 maybe-check-libgui:
22714 @if libgui
22715 maybe-check-libgui: check-libgui
22717 check-libgui:
22718 @: $(MAKE); $(unstage)
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(HOST_EXPORTS) \
22722 (cd $(HOST_SUBDIR)/libgui && \
22723 $(MAKE) $(FLAGS_TO_PASS) check)
22725 @endif libgui
22727 .PHONY: install-libgui maybe-install-libgui
22728 maybe-install-libgui:
22729 @if libgui
22730 maybe-install-libgui: install-libgui
22732 install-libgui: installdirs
22733 @: $(MAKE); $(unstage)
22734 @r=`${PWD_COMMAND}`; export r; \
22735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22736 $(HOST_EXPORTS) \
22737 (cd $(HOST_SUBDIR)/libgui && \
22738 $(MAKE) $(FLAGS_TO_PASS) install)
22740 @endif libgui
22742 .PHONY: install-strip-libgui maybe-install-strip-libgui
22743 maybe-install-strip-libgui:
22744 @if libgui
22745 maybe-install-strip-libgui: install-strip-libgui
22747 install-strip-libgui: installdirs
22748 @: $(MAKE); $(unstage)
22749 @r=`${PWD_COMMAND}`; export r; \
22750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22751 $(HOST_EXPORTS) \
22752 (cd $(HOST_SUBDIR)/libgui && \
22753 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22755 @endif libgui
22757 # Other targets (info, dvi, pdf, etc.)
22759 .PHONY: maybe-info-libgui info-libgui
22760 maybe-info-libgui:
22761 @if libgui
22762 maybe-info-libgui: info-libgui
22764 info-libgui: \
22765 configure-libgui
22766 @: $(MAKE); $(unstage)
22767 @[ -f ./libgui/Makefile ] || exit 0; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) ; do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing info in libgui" ; \
22775 (cd $(HOST_SUBDIR)/libgui && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22780 info) \
22781 || exit 1
22783 @endif libgui
22785 .PHONY: maybe-dvi-libgui dvi-libgui
22786 maybe-dvi-libgui:
22787 @if libgui
22788 maybe-dvi-libgui: dvi-libgui
22790 dvi-libgui: \
22791 configure-libgui
22792 @: $(MAKE); $(unstage)
22793 @[ -f ./libgui/Makefile ] || exit 0; \
22794 r=`${PWD_COMMAND}`; export r; \
22795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22796 $(HOST_EXPORTS) \
22797 for flag in $(EXTRA_HOST_FLAGS) ; do \
22798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22799 done; \
22800 echo "Doing dvi in libgui" ; \
22801 (cd $(HOST_SUBDIR)/libgui && \
22802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22804 "RANLIB=$${RANLIB}" \
22805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22806 dvi) \
22807 || exit 1
22809 @endif libgui
22811 .PHONY: maybe-pdf-libgui pdf-libgui
22812 maybe-pdf-libgui:
22813 @if libgui
22814 maybe-pdf-libgui: pdf-libgui
22816 pdf-libgui: \
22817 configure-libgui
22818 @: $(MAKE); $(unstage)
22819 @[ -f ./libgui/Makefile ] || exit 0; \
22820 r=`${PWD_COMMAND}`; export r; \
22821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22822 $(HOST_EXPORTS) \
22823 for flag in $(EXTRA_HOST_FLAGS) ; do \
22824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22825 done; \
22826 echo "Doing pdf in libgui" ; \
22827 (cd $(HOST_SUBDIR)/libgui && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22830 "RANLIB=$${RANLIB}" \
22831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22832 pdf) \
22833 || exit 1
22835 @endif libgui
22837 .PHONY: maybe-html-libgui html-libgui
22838 maybe-html-libgui:
22839 @if libgui
22840 maybe-html-libgui: html-libgui
22842 html-libgui: \
22843 configure-libgui
22844 @: $(MAKE); $(unstage)
22845 @[ -f ./libgui/Makefile ] || exit 0; \
22846 r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 $(HOST_EXPORTS) \
22849 for flag in $(EXTRA_HOST_FLAGS) ; do \
22850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22851 done; \
22852 echo "Doing html in libgui" ; \
22853 (cd $(HOST_SUBDIR)/libgui && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22858 html) \
22859 || exit 1
22861 @endif libgui
22863 .PHONY: maybe-TAGS-libgui TAGS-libgui
22864 maybe-TAGS-libgui:
22865 @if libgui
22866 maybe-TAGS-libgui: TAGS-libgui
22868 TAGS-libgui: \
22869 configure-libgui
22870 @: $(MAKE); $(unstage)
22871 @[ -f ./libgui/Makefile ] || exit 0; \
22872 r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 $(HOST_EXPORTS) \
22875 for flag in $(EXTRA_HOST_FLAGS) ; do \
22876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22877 done; \
22878 echo "Doing TAGS in libgui" ; \
22879 (cd $(HOST_SUBDIR)/libgui && \
22880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22882 "RANLIB=$${RANLIB}" \
22883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22884 TAGS) \
22885 || exit 1
22887 @endif libgui
22889 .PHONY: maybe-install-info-libgui install-info-libgui
22890 maybe-install-info-libgui:
22891 @if libgui
22892 maybe-install-info-libgui: install-info-libgui
22894 install-info-libgui: \
22895 configure-libgui \
22896 info-libgui
22897 @: $(MAKE); $(unstage)
22898 @[ -f ./libgui/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing install-info in libgui" ; \
22906 (cd $(HOST_SUBDIR)/libgui && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22911 install-info) \
22912 || exit 1
22914 @endif libgui
22916 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22917 maybe-install-pdf-libgui:
22918 @if libgui
22919 maybe-install-pdf-libgui: install-pdf-libgui
22921 install-pdf-libgui: \
22922 configure-libgui \
22923 pdf-libgui
22924 @: $(MAKE); $(unstage)
22925 @[ -f ./libgui/Makefile ] || exit 0; \
22926 r=`${PWD_COMMAND}`; export r; \
22927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22928 $(HOST_EXPORTS) \
22929 for flag in $(EXTRA_HOST_FLAGS) ; do \
22930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22931 done; \
22932 echo "Doing install-pdf in libgui" ; \
22933 (cd $(HOST_SUBDIR)/libgui && \
22934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22936 "RANLIB=$${RANLIB}" \
22937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22938 install-pdf) \
22939 || exit 1
22941 @endif libgui
22943 .PHONY: maybe-install-html-libgui install-html-libgui
22944 maybe-install-html-libgui:
22945 @if libgui
22946 maybe-install-html-libgui: install-html-libgui
22948 install-html-libgui: \
22949 configure-libgui \
22950 html-libgui
22951 @: $(MAKE); $(unstage)
22952 @[ -f ./libgui/Makefile ] || exit 0; \
22953 r=`${PWD_COMMAND}`; export r; \
22954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22955 $(HOST_EXPORTS) \
22956 for flag in $(EXTRA_HOST_FLAGS) ; do \
22957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22958 done; \
22959 echo "Doing install-html in libgui" ; \
22960 (cd $(HOST_SUBDIR)/libgui && \
22961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22963 "RANLIB=$${RANLIB}" \
22964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22965 install-html) \
22966 || exit 1
22968 @endif libgui
22970 .PHONY: maybe-installcheck-libgui installcheck-libgui
22971 maybe-installcheck-libgui:
22972 @if libgui
22973 maybe-installcheck-libgui: installcheck-libgui
22975 installcheck-libgui: \
22976 configure-libgui
22977 @: $(MAKE); $(unstage)
22978 @[ -f ./libgui/Makefile ] || exit 0; \
22979 r=`${PWD_COMMAND}`; export r; \
22980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22981 $(HOST_EXPORTS) \
22982 for flag in $(EXTRA_HOST_FLAGS) ; do \
22983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22984 done; \
22985 echo "Doing installcheck in libgui" ; \
22986 (cd $(HOST_SUBDIR)/libgui && \
22987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22989 "RANLIB=$${RANLIB}" \
22990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22991 installcheck) \
22992 || exit 1
22994 @endif libgui
22996 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22997 maybe-mostlyclean-libgui:
22998 @if libgui
22999 maybe-mostlyclean-libgui: mostlyclean-libgui
23001 mostlyclean-libgui:
23002 @: $(MAKE); $(unstage)
23003 @[ -f ./libgui/Makefile ] || exit 0; \
23004 r=`${PWD_COMMAND}`; export r; \
23005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23006 $(HOST_EXPORTS) \
23007 for flag in $(EXTRA_HOST_FLAGS) ; do \
23008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23009 done; \
23010 echo "Doing mostlyclean in libgui" ; \
23011 (cd $(HOST_SUBDIR)/libgui && \
23012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23014 "RANLIB=$${RANLIB}" \
23015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23016 mostlyclean) \
23017 || exit 1
23019 @endif libgui
23021 .PHONY: maybe-clean-libgui clean-libgui
23022 maybe-clean-libgui:
23023 @if libgui
23024 maybe-clean-libgui: clean-libgui
23026 clean-libgui:
23027 @: $(MAKE); $(unstage)
23028 @[ -f ./libgui/Makefile ] || exit 0; \
23029 r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 $(HOST_EXPORTS) \
23032 for flag in $(EXTRA_HOST_FLAGS) ; do \
23033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23034 done; \
23035 echo "Doing clean in libgui" ; \
23036 (cd $(HOST_SUBDIR)/libgui && \
23037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23039 "RANLIB=$${RANLIB}" \
23040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23041 clean) \
23042 || exit 1
23044 @endif libgui
23046 .PHONY: maybe-distclean-libgui distclean-libgui
23047 maybe-distclean-libgui:
23048 @if libgui
23049 maybe-distclean-libgui: distclean-libgui
23051 distclean-libgui:
23052 @: $(MAKE); $(unstage)
23053 @[ -f ./libgui/Makefile ] || exit 0; \
23054 r=`${PWD_COMMAND}`; export r; \
23055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 $(HOST_EXPORTS) \
23057 for flag in $(EXTRA_HOST_FLAGS) ; do \
23058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23059 done; \
23060 echo "Doing distclean in libgui" ; \
23061 (cd $(HOST_SUBDIR)/libgui && \
23062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23064 "RANLIB=$${RANLIB}" \
23065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23066 distclean) \
23067 || exit 1
23069 @endif libgui
23071 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
23072 maybe-maintainer-clean-libgui:
23073 @if libgui
23074 maybe-maintainer-clean-libgui: maintainer-clean-libgui
23076 maintainer-clean-libgui:
23077 @: $(MAKE); $(unstage)
23078 @[ -f ./libgui/Makefile ] || exit 0; \
23079 r=`${PWD_COMMAND}`; export r; \
23080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 $(HOST_EXPORTS) \
23082 for flag in $(EXTRA_HOST_FLAGS) ; do \
23083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23084 done; \
23085 echo "Doing maintainer-clean in libgui" ; \
23086 (cd $(HOST_SUBDIR)/libgui && \
23087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23089 "RANLIB=$${RANLIB}" \
23090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23091 maintainer-clean) \
23092 || exit 1
23094 @endif libgui
23098 .PHONY: configure-libiberty maybe-configure-libiberty
23099 maybe-configure-libiberty:
23100 @if gcc-bootstrap
23101 configure-libiberty: stage_current
23102 @endif gcc-bootstrap
23103 @if libiberty
23104 maybe-configure-libiberty: configure-libiberty
23105 configure-libiberty:
23106 @r=`${PWD_COMMAND}`; export r; \
23107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23108 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23110 $(HOST_EXPORTS) \
23111 echo Configuring in $(HOST_SUBDIR)/libiberty; \
23112 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
23113 case $(srcdir) in \
23114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23115 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23117 esac; \
23118 module_srcdir=libiberty; \
23119 $(SHELL) \
23120 $$s/$$module_srcdir/configure \
23121 --srcdir=$${topdir}/$$module_srcdir \
23122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23123 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
23124 || exit 1
23125 @endif libiberty
23129 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
23130 maybe-configure-stage1-libiberty:
23131 @if libiberty-bootstrap
23132 maybe-configure-stage1-libiberty: configure-stage1-libiberty
23133 configure-stage1-libiberty:
23134 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23136 @r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 TFLAGS="$(STAGE1_TFLAGS)"; \
23139 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23140 $(HOST_EXPORTS) \
23141 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23142 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23143 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23144 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
23145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23146 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23147 case $(srcdir) in \
23148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23149 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23151 esac; \
23152 module_srcdir=libiberty; \
23153 $(SHELL) $$s/$$module_srcdir/configure \
23154 --srcdir=$${topdir}/$$module_srcdir \
23155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23156 --target=${target_alias} \
23158 $(STAGE1_CONFIGURE_FLAGS) \
23159 @extra_host_libiberty_configure_flags@
23160 @endif libiberty-bootstrap
23162 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
23163 maybe-configure-stage2-libiberty:
23164 @if libiberty-bootstrap
23165 maybe-configure-stage2-libiberty: configure-stage2-libiberty
23166 configure-stage2-libiberty:
23167 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23169 @r=`${PWD_COMMAND}`; export r; \
23170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23171 TFLAGS="$(STAGE2_TFLAGS)"; \
23172 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23173 $(HOST_EXPORTS) \
23174 $(POSTSTAGE1_HOST_EXPORTS) \
23175 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23176 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23177 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23178 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
23179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23180 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23181 case $(srcdir) in \
23182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23183 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23185 esac; \
23186 module_srcdir=libiberty; \
23187 $(SHELL) $$s/$$module_srcdir/configure \
23188 --srcdir=$${topdir}/$$module_srcdir \
23189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23190 --target=${target_alias} \
23191 --with-build-libsubdir=$(HOST_SUBDIR) \
23192 $(STAGE2_CONFIGURE_FLAGS) \
23193 @extra_host_libiberty_configure_flags@
23194 @endif libiberty-bootstrap
23196 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
23197 maybe-configure-stage3-libiberty:
23198 @if libiberty-bootstrap
23199 maybe-configure-stage3-libiberty: configure-stage3-libiberty
23200 configure-stage3-libiberty:
23201 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23203 @r=`${PWD_COMMAND}`; export r; \
23204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23205 TFLAGS="$(STAGE3_TFLAGS)"; \
23206 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23207 $(HOST_EXPORTS) \
23208 $(POSTSTAGE1_HOST_EXPORTS) \
23209 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23210 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23211 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23212 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
23213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23214 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23215 case $(srcdir) in \
23216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23217 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23219 esac; \
23220 module_srcdir=libiberty; \
23221 $(SHELL) $$s/$$module_srcdir/configure \
23222 --srcdir=$${topdir}/$$module_srcdir \
23223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23224 --target=${target_alias} \
23225 --with-build-libsubdir=$(HOST_SUBDIR) \
23226 $(STAGE3_CONFIGURE_FLAGS) \
23227 @extra_host_libiberty_configure_flags@
23228 @endif libiberty-bootstrap
23230 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
23231 maybe-configure-stage4-libiberty:
23232 @if libiberty-bootstrap
23233 maybe-configure-stage4-libiberty: configure-stage4-libiberty
23234 configure-stage4-libiberty:
23235 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23237 @r=`${PWD_COMMAND}`; export r; \
23238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23239 TFLAGS="$(STAGE4_TFLAGS)"; \
23240 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23241 $(HOST_EXPORTS) \
23242 $(POSTSTAGE1_HOST_EXPORTS) \
23243 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23244 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23245 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23246 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
23247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23248 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23249 case $(srcdir) in \
23250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23251 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23253 esac; \
23254 module_srcdir=libiberty; \
23255 $(SHELL) $$s/$$module_srcdir/configure \
23256 --srcdir=$${topdir}/$$module_srcdir \
23257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23258 --target=${target_alias} \
23259 --with-build-libsubdir=$(HOST_SUBDIR) \
23260 $(STAGE4_CONFIGURE_FLAGS) \
23261 @extra_host_libiberty_configure_flags@
23262 @endif libiberty-bootstrap
23264 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
23265 maybe-configure-stageprofile-libiberty:
23266 @if libiberty-bootstrap
23267 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
23268 configure-stageprofile-libiberty:
23269 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23271 @r=`${PWD_COMMAND}`; export r; \
23272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23273 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23274 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23275 $(HOST_EXPORTS) \
23276 $(POSTSTAGE1_HOST_EXPORTS) \
23277 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23279 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23280 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
23281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23282 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23283 case $(srcdir) in \
23284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23285 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23287 esac; \
23288 module_srcdir=libiberty; \
23289 $(SHELL) $$s/$$module_srcdir/configure \
23290 --srcdir=$${topdir}/$$module_srcdir \
23291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23292 --target=${target_alias} \
23293 --with-build-libsubdir=$(HOST_SUBDIR) \
23294 $(STAGEprofile_CONFIGURE_FLAGS) \
23295 @extra_host_libiberty_configure_flags@
23296 @endif libiberty-bootstrap
23298 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
23299 maybe-configure-stagefeedback-libiberty:
23300 @if libiberty-bootstrap
23301 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
23302 configure-stagefeedback-libiberty:
23303 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23305 @r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23308 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23309 $(HOST_EXPORTS) \
23310 $(POSTSTAGE1_HOST_EXPORTS) \
23311 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23312 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23313 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23314 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
23315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23316 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23317 case $(srcdir) in \
23318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23319 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23321 esac; \
23322 module_srcdir=libiberty; \
23323 $(SHELL) $$s/$$module_srcdir/configure \
23324 --srcdir=$${topdir}/$$module_srcdir \
23325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23326 --target=${target_alias} \
23327 --with-build-libsubdir=$(HOST_SUBDIR) \
23328 $(STAGEfeedback_CONFIGURE_FLAGS) \
23329 @extra_host_libiberty_configure_flags@
23330 @endif libiberty-bootstrap
23336 .PHONY: all-libiberty maybe-all-libiberty
23337 maybe-all-libiberty:
23338 @if gcc-bootstrap
23339 all-libiberty: stage_current
23340 @endif gcc-bootstrap
23341 @if libiberty
23342 TARGET-libiberty=all
23343 maybe-all-libiberty: all-libiberty
23344 all-libiberty: configure-libiberty
23345 @r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(HOST_EXPORTS) \
23348 (cd $(HOST_SUBDIR)/libiberty && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23350 $(TARGET-libiberty))
23351 @endif libiberty
23355 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
23356 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
23357 maybe-all-stage1-libiberty:
23358 maybe-clean-stage1-libiberty:
23359 @if libiberty-bootstrap
23360 maybe-all-stage1-libiberty: all-stage1-libiberty
23361 all-stage1: all-stage1-libiberty
23362 TARGET-stage1-libiberty = $(TARGET-libiberty)
23363 all-stage1-libiberty: configure-stage1-libiberty
23364 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23365 @r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 TFLAGS="$(STAGE1_TFLAGS)"; \
23368 $(HOST_EXPORTS) \
23369 cd $(HOST_SUBDIR)/libiberty && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23371 CFLAGS="$(STAGE1_CFLAGS)" \
23372 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23373 LIBCFLAGS="$(LIBCFLAGS)" \
23374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23377 $(EXTRA_HOST_FLAGS) \
23378 $(STAGE1_FLAGS_TO_PASS) \
23379 TFLAGS="$(STAGE1_TFLAGS)" \
23380 $(TARGET-stage1-libiberty)
23382 maybe-clean-stage1-libiberty: clean-stage1-libiberty
23383 clean-stage1: clean-stage1-libiberty
23384 clean-stage1-libiberty:
23385 @if [ $(current_stage) = stage1 ]; then \
23386 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23387 else \
23388 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
23389 $(MAKE) stage1-start; \
23390 fi; \
23391 cd $(HOST_SUBDIR)/libiberty && \
23392 $(MAKE) $(EXTRA_HOST_FLAGS) \
23393 $(STAGE1_FLAGS_TO_PASS) clean
23394 @endif libiberty-bootstrap
23397 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
23398 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
23399 maybe-all-stage2-libiberty:
23400 maybe-clean-stage2-libiberty:
23401 @if libiberty-bootstrap
23402 maybe-all-stage2-libiberty: all-stage2-libiberty
23403 all-stage2: all-stage2-libiberty
23404 TARGET-stage2-libiberty = $(TARGET-libiberty)
23405 all-stage2-libiberty: configure-stage2-libiberty
23406 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23407 @r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 TFLAGS="$(STAGE2_TFLAGS)"; \
23410 $(HOST_EXPORTS) \
23411 $(POSTSTAGE1_HOST_EXPORTS) \
23412 cd $(HOST_SUBDIR)/libiberty && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23414 CFLAGS="$(STAGE2_CFLAGS)" \
23415 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23416 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23421 TFLAGS="$(STAGE2_TFLAGS)" \
23422 $(TARGET-stage2-libiberty)
23424 maybe-clean-stage2-libiberty: clean-stage2-libiberty
23425 clean-stage2: clean-stage2-libiberty
23426 clean-stage2-libiberty:
23427 @if [ $(current_stage) = stage2 ]; then \
23428 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23429 else \
23430 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
23431 $(MAKE) stage2-start; \
23432 fi; \
23433 cd $(HOST_SUBDIR)/libiberty && \
23434 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23435 @endif libiberty-bootstrap
23438 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
23439 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
23440 maybe-all-stage3-libiberty:
23441 maybe-clean-stage3-libiberty:
23442 @if libiberty-bootstrap
23443 maybe-all-stage3-libiberty: all-stage3-libiberty
23444 all-stage3: all-stage3-libiberty
23445 TARGET-stage3-libiberty = $(TARGET-libiberty)
23446 all-stage3-libiberty: configure-stage3-libiberty
23447 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23448 @r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 TFLAGS="$(STAGE3_TFLAGS)"; \
23451 $(HOST_EXPORTS) \
23452 $(POSTSTAGE1_HOST_EXPORTS) \
23453 cd $(HOST_SUBDIR)/libiberty && \
23454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23455 CFLAGS="$(STAGE3_CFLAGS)" \
23456 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23457 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23461 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23462 TFLAGS="$(STAGE3_TFLAGS)" \
23463 $(TARGET-stage3-libiberty)
23465 maybe-clean-stage3-libiberty: clean-stage3-libiberty
23466 clean-stage3: clean-stage3-libiberty
23467 clean-stage3-libiberty:
23468 @if [ $(current_stage) = stage3 ]; then \
23469 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23470 else \
23471 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
23472 $(MAKE) stage3-start; \
23473 fi; \
23474 cd $(HOST_SUBDIR)/libiberty && \
23475 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23476 @endif libiberty-bootstrap
23479 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
23480 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
23481 maybe-all-stage4-libiberty:
23482 maybe-clean-stage4-libiberty:
23483 @if libiberty-bootstrap
23484 maybe-all-stage4-libiberty: all-stage4-libiberty
23485 all-stage4: all-stage4-libiberty
23486 TARGET-stage4-libiberty = $(TARGET-libiberty)
23487 all-stage4-libiberty: configure-stage4-libiberty
23488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23489 @r=`${PWD_COMMAND}`; export r; \
23490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23491 TFLAGS="$(STAGE4_TFLAGS)"; \
23492 $(HOST_EXPORTS) \
23493 $(POSTSTAGE1_HOST_EXPORTS) \
23494 cd $(HOST_SUBDIR)/libiberty && \
23495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23496 CFLAGS="$(STAGE4_CFLAGS)" \
23497 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23498 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23503 TFLAGS="$(STAGE4_TFLAGS)" \
23504 $(TARGET-stage4-libiberty)
23506 maybe-clean-stage4-libiberty: clean-stage4-libiberty
23507 clean-stage4: clean-stage4-libiberty
23508 clean-stage4-libiberty:
23509 @if [ $(current_stage) = stage4 ]; then \
23510 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23511 else \
23512 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
23513 $(MAKE) stage4-start; \
23514 fi; \
23515 cd $(HOST_SUBDIR)/libiberty && \
23516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23517 @endif libiberty-bootstrap
23520 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23521 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23522 maybe-all-stageprofile-libiberty:
23523 maybe-clean-stageprofile-libiberty:
23524 @if libiberty-bootstrap
23525 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23526 all-stageprofile: all-stageprofile-libiberty
23527 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23528 all-stageprofile-libiberty: configure-stageprofile-libiberty
23529 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23530 @r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23532 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23533 $(HOST_EXPORTS) \
23534 $(POSTSTAGE1_HOST_EXPORTS) \
23535 cd $(HOST_SUBDIR)/libiberty && \
23536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23537 CFLAGS="$(STAGEprofile_CFLAGS)" \
23538 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23539 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23544 TFLAGS="$(STAGEprofile_TFLAGS)" \
23545 $(TARGET-stageprofile-libiberty)
23547 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23548 clean-stageprofile: clean-stageprofile-libiberty
23549 clean-stageprofile-libiberty:
23550 @if [ $(current_stage) = stageprofile ]; then \
23551 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23552 else \
23553 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23554 $(MAKE) stageprofile-start; \
23555 fi; \
23556 cd $(HOST_SUBDIR)/libiberty && \
23557 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23558 @endif libiberty-bootstrap
23561 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23562 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23563 maybe-all-stagefeedback-libiberty:
23564 maybe-clean-stagefeedback-libiberty:
23565 @if libiberty-bootstrap
23566 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23567 all-stagefeedback: all-stagefeedback-libiberty
23568 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23569 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23570 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23571 @r=`${PWD_COMMAND}`; export r; \
23572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23573 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23574 $(HOST_EXPORTS) \
23575 $(POSTSTAGE1_HOST_EXPORTS) \
23576 cd $(HOST_SUBDIR)/libiberty && \
23577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23578 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23579 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23580 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23585 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23586 $(TARGET-stagefeedback-libiberty)
23588 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23589 clean-stagefeedback: clean-stagefeedback-libiberty
23590 clean-stagefeedback-libiberty:
23591 @if [ $(current_stage) = stagefeedback ]; then \
23592 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23593 else \
23594 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23595 $(MAKE) stagefeedback-start; \
23596 fi; \
23597 cd $(HOST_SUBDIR)/libiberty && \
23598 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23599 @endif libiberty-bootstrap
23605 .PHONY: check-libiberty maybe-check-libiberty
23606 maybe-check-libiberty:
23607 @if libiberty
23608 maybe-check-libiberty: check-libiberty
23610 check-libiberty:
23611 @: $(MAKE); $(unstage)
23612 @r=`${PWD_COMMAND}`; export r; \
23613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(HOST_EXPORTS) \
23615 (cd $(HOST_SUBDIR)/libiberty && \
23616 $(MAKE) $(FLAGS_TO_PASS) check)
23618 @endif libiberty
23620 .PHONY: install-libiberty maybe-install-libiberty
23621 maybe-install-libiberty:
23622 @if libiberty
23623 maybe-install-libiberty: install-libiberty
23625 install-libiberty: installdirs
23626 @: $(MAKE); $(unstage)
23627 @r=`${PWD_COMMAND}`; export r; \
23628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23629 $(HOST_EXPORTS) \
23630 (cd $(HOST_SUBDIR)/libiberty && \
23631 $(MAKE) $(FLAGS_TO_PASS) install)
23633 @endif libiberty
23635 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23636 maybe-install-strip-libiberty:
23637 @if libiberty
23638 maybe-install-strip-libiberty: install-strip-libiberty
23640 install-strip-libiberty: installdirs
23641 @: $(MAKE); $(unstage)
23642 @r=`${PWD_COMMAND}`; export r; \
23643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644 $(HOST_EXPORTS) \
23645 (cd $(HOST_SUBDIR)/libiberty && \
23646 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23648 @endif libiberty
23650 # Other targets (info, dvi, pdf, etc.)
23652 .PHONY: maybe-info-libiberty info-libiberty
23653 maybe-info-libiberty:
23654 @if libiberty
23655 maybe-info-libiberty: info-libiberty
23657 info-libiberty: \
23658 configure-libiberty
23659 @[ -f ./libiberty/Makefile ] || exit 0; \
23660 r=`${PWD_COMMAND}`; export r; \
23661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23662 $(HOST_EXPORTS) \
23663 for flag in $(EXTRA_HOST_FLAGS) ; do \
23664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23665 done; \
23666 echo "Doing info in libiberty" ; \
23667 (cd $(HOST_SUBDIR)/libiberty && \
23668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23670 "RANLIB=$${RANLIB}" \
23671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23672 info) \
23673 || exit 1
23675 @endif libiberty
23677 .PHONY: maybe-dvi-libiberty dvi-libiberty
23678 maybe-dvi-libiberty:
23679 @if libiberty
23680 maybe-dvi-libiberty: dvi-libiberty
23682 dvi-libiberty: \
23683 configure-libiberty
23684 @[ -f ./libiberty/Makefile ] || exit 0; \
23685 r=`${PWD_COMMAND}`; export r; \
23686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 $(HOST_EXPORTS) \
23688 for flag in $(EXTRA_HOST_FLAGS) ; do \
23689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23690 done; \
23691 echo "Doing dvi in libiberty" ; \
23692 (cd $(HOST_SUBDIR)/libiberty && \
23693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23695 "RANLIB=$${RANLIB}" \
23696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23697 dvi) \
23698 || exit 1
23700 @endif libiberty
23702 .PHONY: maybe-pdf-libiberty pdf-libiberty
23703 maybe-pdf-libiberty:
23704 @if libiberty
23705 maybe-pdf-libiberty: pdf-libiberty
23707 pdf-libiberty: \
23708 configure-libiberty
23709 @[ -f ./libiberty/Makefile ] || exit 0; \
23710 r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23712 $(HOST_EXPORTS) \
23713 for flag in $(EXTRA_HOST_FLAGS) ; do \
23714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23715 done; \
23716 echo "Doing pdf in libiberty" ; \
23717 (cd $(HOST_SUBDIR)/libiberty && \
23718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23720 "RANLIB=$${RANLIB}" \
23721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23722 pdf) \
23723 || exit 1
23725 @endif libiberty
23727 .PHONY: maybe-html-libiberty html-libiberty
23728 maybe-html-libiberty:
23729 @if libiberty
23730 maybe-html-libiberty: html-libiberty
23732 html-libiberty: \
23733 configure-libiberty
23734 @[ -f ./libiberty/Makefile ] || exit 0; \
23735 r=`${PWD_COMMAND}`; export r; \
23736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 $(HOST_EXPORTS) \
23738 for flag in $(EXTRA_HOST_FLAGS) ; do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 echo "Doing html in libiberty" ; \
23742 (cd $(HOST_SUBDIR)/libiberty && \
23743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23745 "RANLIB=$${RANLIB}" \
23746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23747 html) \
23748 || exit 1
23750 @endif libiberty
23752 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23753 maybe-TAGS-libiberty:
23754 @if libiberty
23755 maybe-TAGS-libiberty: TAGS-libiberty
23757 TAGS-libiberty: \
23758 configure-libiberty
23759 @[ -f ./libiberty/Makefile ] || exit 0; \
23760 r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 $(HOST_EXPORTS) \
23763 for flag in $(EXTRA_HOST_FLAGS) ; do \
23764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23765 done; \
23766 echo "Doing TAGS in libiberty" ; \
23767 (cd $(HOST_SUBDIR)/libiberty && \
23768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23770 "RANLIB=$${RANLIB}" \
23771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23772 TAGS) \
23773 || exit 1
23775 @endif libiberty
23777 .PHONY: maybe-install-info-libiberty install-info-libiberty
23778 maybe-install-info-libiberty:
23779 @if libiberty
23780 maybe-install-info-libiberty: install-info-libiberty
23782 install-info-libiberty: \
23783 configure-libiberty \
23784 info-libiberty
23785 @[ -f ./libiberty/Makefile ] || exit 0; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 for flag in $(EXTRA_HOST_FLAGS) ; do \
23790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23791 done; \
23792 echo "Doing install-info in libiberty" ; \
23793 (cd $(HOST_SUBDIR)/libiberty && \
23794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23796 "RANLIB=$${RANLIB}" \
23797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23798 install-info) \
23799 || exit 1
23801 @endif libiberty
23803 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23804 maybe-install-pdf-libiberty:
23805 @if libiberty
23806 maybe-install-pdf-libiberty: install-pdf-libiberty
23808 install-pdf-libiberty: \
23809 configure-libiberty \
23810 pdf-libiberty
23811 @[ -f ./libiberty/Makefile ] || exit 0; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 for flag in $(EXTRA_HOST_FLAGS) ; do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 done; \
23818 echo "Doing install-pdf in libiberty" ; \
23819 (cd $(HOST_SUBDIR)/libiberty && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23824 install-pdf) \
23825 || exit 1
23827 @endif libiberty
23829 .PHONY: maybe-install-html-libiberty install-html-libiberty
23830 maybe-install-html-libiberty:
23831 @if libiberty
23832 maybe-install-html-libiberty: install-html-libiberty
23834 install-html-libiberty: \
23835 configure-libiberty \
23836 html-libiberty
23837 @[ -f ./libiberty/Makefile ] || exit 0; \
23838 r=`${PWD_COMMAND}`; export r; \
23839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23840 $(HOST_EXPORTS) \
23841 for flag in $(EXTRA_HOST_FLAGS) ; do \
23842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23843 done; \
23844 echo "Doing install-html in libiberty" ; \
23845 (cd $(HOST_SUBDIR)/libiberty && \
23846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23848 "RANLIB=$${RANLIB}" \
23849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23850 install-html) \
23851 || exit 1
23853 @endif libiberty
23855 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23856 maybe-installcheck-libiberty:
23857 @if libiberty
23858 maybe-installcheck-libiberty: installcheck-libiberty
23860 installcheck-libiberty: \
23861 configure-libiberty
23862 @[ -f ./libiberty/Makefile ] || exit 0; \
23863 r=`${PWD_COMMAND}`; export r; \
23864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23865 $(HOST_EXPORTS) \
23866 for flag in $(EXTRA_HOST_FLAGS) ; do \
23867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23868 done; \
23869 echo "Doing installcheck in libiberty" ; \
23870 (cd $(HOST_SUBDIR)/libiberty && \
23871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23873 "RANLIB=$${RANLIB}" \
23874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23875 installcheck) \
23876 || exit 1
23878 @endif libiberty
23880 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23881 maybe-mostlyclean-libiberty:
23882 @if libiberty
23883 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23885 mostlyclean-libiberty:
23886 @[ -f ./libiberty/Makefile ] || exit 0; \
23887 r=`${PWD_COMMAND}`; export r; \
23888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 $(HOST_EXPORTS) \
23890 for flag in $(EXTRA_HOST_FLAGS) ; do \
23891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 done; \
23893 echo "Doing mostlyclean in libiberty" ; \
23894 (cd $(HOST_SUBDIR)/libiberty && \
23895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23897 "RANLIB=$${RANLIB}" \
23898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23899 mostlyclean) \
23900 || exit 1
23902 @endif libiberty
23904 .PHONY: maybe-clean-libiberty clean-libiberty
23905 maybe-clean-libiberty:
23906 @if libiberty
23907 maybe-clean-libiberty: clean-libiberty
23909 clean-libiberty:
23910 @[ -f ./libiberty/Makefile ] || exit 0; \
23911 r=`${PWD_COMMAND}`; export r; \
23912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23913 $(HOST_EXPORTS) \
23914 for flag in $(EXTRA_HOST_FLAGS) ; do \
23915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23916 done; \
23917 echo "Doing clean in libiberty" ; \
23918 (cd $(HOST_SUBDIR)/libiberty && \
23919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921 "RANLIB=$${RANLIB}" \
23922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23923 clean) \
23924 || exit 1
23926 @endif libiberty
23928 .PHONY: maybe-distclean-libiberty distclean-libiberty
23929 maybe-distclean-libiberty:
23930 @if libiberty
23931 maybe-distclean-libiberty: distclean-libiberty
23933 distclean-libiberty:
23934 @[ -f ./libiberty/Makefile ] || exit 0; \
23935 r=`${PWD_COMMAND}`; export r; \
23936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937 $(HOST_EXPORTS) \
23938 for flag in $(EXTRA_HOST_FLAGS) ; do \
23939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 done; \
23941 echo "Doing distclean in libiberty" ; \
23942 (cd $(HOST_SUBDIR)/libiberty && \
23943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23945 "RANLIB=$${RANLIB}" \
23946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23947 distclean) \
23948 || exit 1
23950 @endif libiberty
23952 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23953 maybe-maintainer-clean-libiberty:
23954 @if libiberty
23955 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23957 maintainer-clean-libiberty:
23958 @[ -f ./libiberty/Makefile ] || exit 0; \
23959 r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(HOST_EXPORTS) \
23962 for flag in $(EXTRA_HOST_FLAGS) ; do \
23963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23964 done; \
23965 echo "Doing maintainer-clean in libiberty" ; \
23966 (cd $(HOST_SUBDIR)/libiberty && \
23967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23969 "RANLIB=$${RANLIB}" \
23970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23971 maintainer-clean) \
23972 || exit 1
23974 @endif libiberty
23978 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23979 maybe-configure-libiberty-linker-plugin:
23980 @if gcc-bootstrap
23981 configure-libiberty-linker-plugin: stage_current
23982 @endif gcc-bootstrap
23983 @if libiberty-linker-plugin
23984 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23985 configure-libiberty-linker-plugin:
23986 @r=`${PWD_COMMAND}`; export r; \
23987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23988 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23990 $(HOST_EXPORTS) \
23991 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23992 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23993 case $(srcdir) in \
23994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23995 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23997 esac; \
23998 module_srcdir=libiberty; \
23999 $(SHELL) \
24000 $$s/$$module_srcdir/configure \
24001 --srcdir=$${topdir}/$$module_srcdir \
24002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24003 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
24004 || exit 1
24005 @endif libiberty-linker-plugin
24009 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
24010 maybe-configure-stage1-libiberty-linker-plugin:
24011 @if libiberty-linker-plugin-bootstrap
24012 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24013 configure-stage1-libiberty-linker-plugin:
24014 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24016 @r=`${PWD_COMMAND}`; export r; \
24017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24018 TFLAGS="$(STAGE1_TFLAGS)"; \
24019 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24020 $(HOST_EXPORTS) \
24021 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24022 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24023 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24024 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24026 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24027 case $(srcdir) in \
24028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24029 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24031 esac; \
24032 module_srcdir=libiberty; \
24033 $(SHELL) $$s/$$module_srcdir/configure \
24034 --srcdir=$${topdir}/$$module_srcdir \
24035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24036 --target=${target_alias} \
24038 $(STAGE1_CONFIGURE_FLAGS) \
24039 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24040 @endif libiberty-linker-plugin-bootstrap
24042 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
24043 maybe-configure-stage2-libiberty-linker-plugin:
24044 @if libiberty-linker-plugin-bootstrap
24045 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24046 configure-stage2-libiberty-linker-plugin:
24047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24049 @r=`${PWD_COMMAND}`; export r; \
24050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24051 TFLAGS="$(STAGE2_TFLAGS)"; \
24052 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24053 $(HOST_EXPORTS) \
24054 $(POSTSTAGE1_HOST_EXPORTS) \
24055 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24056 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24057 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24058 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24060 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24061 case $(srcdir) in \
24062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24063 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24065 esac; \
24066 module_srcdir=libiberty; \
24067 $(SHELL) $$s/$$module_srcdir/configure \
24068 --srcdir=$${topdir}/$$module_srcdir \
24069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24070 --target=${target_alias} \
24071 --with-build-libsubdir=$(HOST_SUBDIR) \
24072 $(STAGE2_CONFIGURE_FLAGS) \
24073 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24074 @endif libiberty-linker-plugin-bootstrap
24076 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
24077 maybe-configure-stage3-libiberty-linker-plugin:
24078 @if libiberty-linker-plugin-bootstrap
24079 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24080 configure-stage3-libiberty-linker-plugin:
24081 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24083 @r=`${PWD_COMMAND}`; export r; \
24084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24085 TFLAGS="$(STAGE3_TFLAGS)"; \
24086 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24087 $(HOST_EXPORTS) \
24088 $(POSTSTAGE1_HOST_EXPORTS) \
24089 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24090 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24091 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24092 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24094 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24095 case $(srcdir) in \
24096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24097 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24099 esac; \
24100 module_srcdir=libiberty; \
24101 $(SHELL) $$s/$$module_srcdir/configure \
24102 --srcdir=$${topdir}/$$module_srcdir \
24103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24104 --target=${target_alias} \
24105 --with-build-libsubdir=$(HOST_SUBDIR) \
24106 $(STAGE3_CONFIGURE_FLAGS) \
24107 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24108 @endif libiberty-linker-plugin-bootstrap
24110 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
24111 maybe-configure-stage4-libiberty-linker-plugin:
24112 @if libiberty-linker-plugin-bootstrap
24113 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24114 configure-stage4-libiberty-linker-plugin:
24115 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24117 @r=`${PWD_COMMAND}`; export r; \
24118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24119 TFLAGS="$(STAGE4_TFLAGS)"; \
24120 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24121 $(HOST_EXPORTS) \
24122 $(POSTSTAGE1_HOST_EXPORTS) \
24123 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24124 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24125 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24126 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24128 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24129 case $(srcdir) in \
24130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24131 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24133 esac; \
24134 module_srcdir=libiberty; \
24135 $(SHELL) $$s/$$module_srcdir/configure \
24136 --srcdir=$${topdir}/$$module_srcdir \
24137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24138 --target=${target_alias} \
24139 --with-build-libsubdir=$(HOST_SUBDIR) \
24140 $(STAGE4_CONFIGURE_FLAGS) \
24141 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24142 @endif libiberty-linker-plugin-bootstrap
24144 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
24145 maybe-configure-stageprofile-libiberty-linker-plugin:
24146 @if libiberty-linker-plugin-bootstrap
24147 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24148 configure-stageprofile-libiberty-linker-plugin:
24149 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24151 @r=`${PWD_COMMAND}`; export r; \
24152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24154 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24155 $(HOST_EXPORTS) \
24156 $(POSTSTAGE1_HOST_EXPORTS) \
24157 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24158 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24159 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24160 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24162 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24163 case $(srcdir) in \
24164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24165 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24167 esac; \
24168 module_srcdir=libiberty; \
24169 $(SHELL) $$s/$$module_srcdir/configure \
24170 --srcdir=$${topdir}/$$module_srcdir \
24171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24172 --target=${target_alias} \
24173 --with-build-libsubdir=$(HOST_SUBDIR) \
24174 $(STAGEprofile_CONFIGURE_FLAGS) \
24175 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24176 @endif libiberty-linker-plugin-bootstrap
24178 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
24179 maybe-configure-stagefeedback-libiberty-linker-plugin:
24180 @if libiberty-linker-plugin-bootstrap
24181 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24182 configure-stagefeedback-libiberty-linker-plugin:
24183 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
24185 @r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24188 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
24189 $(HOST_EXPORTS) \
24190 $(POSTSTAGE1_HOST_EXPORTS) \
24191 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24192 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24193 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24194 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
24196 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
24197 case $(srcdir) in \
24198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24199 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
24200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24201 esac; \
24202 module_srcdir=libiberty; \
24203 $(SHELL) $$s/$$module_srcdir/configure \
24204 --srcdir=$${topdir}/$$module_srcdir \
24205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24206 --target=${target_alias} \
24207 --with-build-libsubdir=$(HOST_SUBDIR) \
24208 $(STAGEfeedback_CONFIGURE_FLAGS) \
24209 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
24210 @endif libiberty-linker-plugin-bootstrap
24216 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
24217 maybe-all-libiberty-linker-plugin:
24218 @if gcc-bootstrap
24219 all-libiberty-linker-plugin: stage_current
24220 @endif gcc-bootstrap
24221 @if libiberty-linker-plugin
24222 TARGET-libiberty-linker-plugin=all
24223 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
24224 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
24225 @r=`${PWD_COMMAND}`; export r; \
24226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24227 $(HOST_EXPORTS) \
24228 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24230 $(TARGET-libiberty-linker-plugin))
24231 @endif libiberty-linker-plugin
24235 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
24236 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
24237 maybe-all-stage1-libiberty-linker-plugin:
24238 maybe-clean-stage1-libiberty-linker-plugin:
24239 @if libiberty-linker-plugin-bootstrap
24240 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
24241 all-stage1: all-stage1-libiberty-linker-plugin
24242 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24243 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
24244 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24245 @r=`${PWD_COMMAND}`; export r; \
24246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 TFLAGS="$(STAGE1_TFLAGS)"; \
24248 $(HOST_EXPORTS) \
24249 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24250 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24251 CFLAGS="$(STAGE1_CFLAGS)" \
24252 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24253 LIBCFLAGS="$(LIBCFLAGS)" \
24254 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24255 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24256 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24257 $(EXTRA_HOST_FLAGS) \
24258 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24259 TFLAGS="$(STAGE1_TFLAGS)" \
24260 $(TARGET-stage1-libiberty-linker-plugin)
24262 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
24263 clean-stage1: clean-stage1-libiberty-linker-plugin
24264 clean-stage1-libiberty-linker-plugin:
24265 @if [ $(current_stage) = stage1 ]; then \
24266 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24267 else \
24268 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
24269 $(MAKE) stage1-start; \
24270 fi; \
24271 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24272 $(MAKE) $(EXTRA_HOST_FLAGS) \
24273 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24274 @endif libiberty-linker-plugin-bootstrap
24277 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
24278 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
24279 maybe-all-stage2-libiberty-linker-plugin:
24280 maybe-clean-stage2-libiberty-linker-plugin:
24281 @if libiberty-linker-plugin-bootstrap
24282 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
24283 all-stage2: all-stage2-libiberty-linker-plugin
24284 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24285 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
24286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24287 @r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 TFLAGS="$(STAGE2_TFLAGS)"; \
24290 $(HOST_EXPORTS) \
24291 $(POSTSTAGE1_HOST_EXPORTS) \
24292 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24294 CFLAGS="$(STAGE2_CFLAGS)" \
24295 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24296 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24301 TFLAGS="$(STAGE2_TFLAGS)" \
24302 $(TARGET-stage2-libiberty-linker-plugin)
24304 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
24305 clean-stage2: clean-stage2-libiberty-linker-plugin
24306 clean-stage2-libiberty-linker-plugin:
24307 @if [ $(current_stage) = stage2 ]; then \
24308 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24309 else \
24310 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
24311 $(MAKE) stage2-start; \
24312 fi; \
24313 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24314 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24315 @endif libiberty-linker-plugin-bootstrap
24318 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
24319 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
24320 maybe-all-stage3-libiberty-linker-plugin:
24321 maybe-clean-stage3-libiberty-linker-plugin:
24322 @if libiberty-linker-plugin-bootstrap
24323 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
24324 all-stage3: all-stage3-libiberty-linker-plugin
24325 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24326 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
24327 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24328 @r=`${PWD_COMMAND}`; export r; \
24329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24330 TFLAGS="$(STAGE3_TFLAGS)"; \
24331 $(HOST_EXPORTS) \
24332 $(POSTSTAGE1_HOST_EXPORTS) \
24333 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24335 CFLAGS="$(STAGE3_CFLAGS)" \
24336 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24337 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24342 TFLAGS="$(STAGE3_TFLAGS)" \
24343 $(TARGET-stage3-libiberty-linker-plugin)
24345 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
24346 clean-stage3: clean-stage3-libiberty-linker-plugin
24347 clean-stage3-libiberty-linker-plugin:
24348 @if [ $(current_stage) = stage3 ]; then \
24349 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24350 else \
24351 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
24352 $(MAKE) stage3-start; \
24353 fi; \
24354 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24356 @endif libiberty-linker-plugin-bootstrap
24359 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
24360 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
24361 maybe-all-stage4-libiberty-linker-plugin:
24362 maybe-clean-stage4-libiberty-linker-plugin:
24363 @if libiberty-linker-plugin-bootstrap
24364 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
24365 all-stage4: all-stage4-libiberty-linker-plugin
24366 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24367 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
24368 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24369 @r=`${PWD_COMMAND}`; export r; \
24370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24371 TFLAGS="$(STAGE4_TFLAGS)"; \
24372 $(HOST_EXPORTS) \
24373 $(POSTSTAGE1_HOST_EXPORTS) \
24374 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24376 CFLAGS="$(STAGE4_CFLAGS)" \
24377 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24378 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24383 TFLAGS="$(STAGE4_TFLAGS)" \
24384 $(TARGET-stage4-libiberty-linker-plugin)
24386 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
24387 clean-stage4: clean-stage4-libiberty-linker-plugin
24388 clean-stage4-libiberty-linker-plugin:
24389 @if [ $(current_stage) = stage4 ]; then \
24390 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24391 else \
24392 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
24393 $(MAKE) stage4-start; \
24394 fi; \
24395 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24397 @endif libiberty-linker-plugin-bootstrap
24400 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
24401 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
24402 maybe-all-stageprofile-libiberty-linker-plugin:
24403 maybe-clean-stageprofile-libiberty-linker-plugin:
24404 @if libiberty-linker-plugin-bootstrap
24405 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
24406 all-stageprofile: all-stageprofile-libiberty-linker-plugin
24407 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24408 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
24409 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24410 @r=`${PWD_COMMAND}`; export r; \
24411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24412 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24413 $(HOST_EXPORTS) \
24414 $(POSTSTAGE1_HOST_EXPORTS) \
24415 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24417 CFLAGS="$(STAGEprofile_CFLAGS)" \
24418 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24419 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24420 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24421 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24422 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24423 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24424 TFLAGS="$(STAGEprofile_TFLAGS)" \
24425 $(TARGET-stageprofile-libiberty-linker-plugin)
24427 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
24428 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
24429 clean-stageprofile-libiberty-linker-plugin:
24430 @if [ $(current_stage) = stageprofile ]; then \
24431 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24432 else \
24433 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
24434 $(MAKE) stageprofile-start; \
24435 fi; \
24436 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24437 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24438 @endif libiberty-linker-plugin-bootstrap
24441 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
24442 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
24443 maybe-all-stagefeedback-libiberty-linker-plugin:
24444 maybe-clean-stagefeedback-libiberty-linker-plugin:
24445 @if libiberty-linker-plugin-bootstrap
24446 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
24447 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
24448 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
24449 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
24450 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24451 @r=`${PWD_COMMAND}`; export r; \
24452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24453 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24454 $(HOST_EXPORTS) \
24455 $(POSTSTAGE1_HOST_EXPORTS) \
24456 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24458 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24459 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24460 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
24465 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24466 $(TARGET-stagefeedback-libiberty-linker-plugin)
24468 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
24469 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
24470 clean-stagefeedback-libiberty-linker-plugin:
24471 @if [ $(current_stage) = stagefeedback ]; then \
24472 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
24473 else \
24474 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
24475 $(MAKE) stagefeedback-start; \
24476 fi; \
24477 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
24479 @endif libiberty-linker-plugin-bootstrap
24485 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
24486 maybe-check-libiberty-linker-plugin:
24487 @if libiberty-linker-plugin
24488 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
24490 check-libiberty-linker-plugin:
24491 @: $(MAKE); $(unstage)
24492 @r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 $(HOST_EXPORTS) \
24495 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24496 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
24498 @endif libiberty-linker-plugin
24500 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
24501 maybe-install-libiberty-linker-plugin:
24502 @if libiberty-linker-plugin
24503 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
24505 install-libiberty-linker-plugin: installdirs
24506 @: $(MAKE); $(unstage)
24507 @r=`${PWD_COMMAND}`; export r; \
24508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(HOST_EXPORTS) \
24510 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24511 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
24513 @endif libiberty-linker-plugin
24515 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
24516 maybe-install-strip-libiberty-linker-plugin:
24517 @if libiberty-linker-plugin
24518 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
24520 install-strip-libiberty-linker-plugin: installdirs
24521 @: $(MAKE); $(unstage)
24522 @r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24526 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
24528 @endif libiberty-linker-plugin
24530 # Other targets (info, dvi, pdf, etc.)
24532 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
24533 maybe-info-libiberty-linker-plugin:
24534 @if libiberty-linker-plugin
24535 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
24537 info-libiberty-linker-plugin: \
24538 configure-libiberty-linker-plugin
24539 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24540 r=`${PWD_COMMAND}`; export r; \
24541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24542 $(HOST_EXPORTS) \
24543 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24545 done; \
24546 echo "Doing info in libiberty-linker-plugin" ; \
24547 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24550 "RANLIB=$${RANLIB}" \
24551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24552 info) \
24553 || exit 1
24555 @endif libiberty-linker-plugin
24557 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
24558 maybe-dvi-libiberty-linker-plugin:
24559 @if libiberty-linker-plugin
24560 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
24562 dvi-libiberty-linker-plugin: \
24563 configure-libiberty-linker-plugin
24564 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24565 r=`${PWD_COMMAND}`; export r; \
24566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567 $(HOST_EXPORTS) \
24568 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24570 done; \
24571 echo "Doing dvi in libiberty-linker-plugin" ; \
24572 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24575 "RANLIB=$${RANLIB}" \
24576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24577 dvi) \
24578 || exit 1
24580 @endif libiberty-linker-plugin
24582 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
24583 maybe-pdf-libiberty-linker-plugin:
24584 @if libiberty-linker-plugin
24585 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
24587 pdf-libiberty-linker-plugin: \
24588 configure-libiberty-linker-plugin
24589 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24590 r=`${PWD_COMMAND}`; export r; \
24591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24592 $(HOST_EXPORTS) \
24593 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24595 done; \
24596 echo "Doing pdf in libiberty-linker-plugin" ; \
24597 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24600 "RANLIB=$${RANLIB}" \
24601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24602 pdf) \
24603 || exit 1
24605 @endif libiberty-linker-plugin
24607 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
24608 maybe-html-libiberty-linker-plugin:
24609 @if libiberty-linker-plugin
24610 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
24612 html-libiberty-linker-plugin: \
24613 configure-libiberty-linker-plugin
24614 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(HOST_EXPORTS) \
24618 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24620 done; \
24621 echo "Doing html in libiberty-linker-plugin" ; \
24622 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24625 "RANLIB=$${RANLIB}" \
24626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24627 html) \
24628 || exit 1
24630 @endif libiberty-linker-plugin
24632 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
24633 maybe-TAGS-libiberty-linker-plugin:
24634 @if libiberty-linker-plugin
24635 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
24637 TAGS-libiberty-linker-plugin: \
24638 configure-libiberty-linker-plugin
24639 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24640 r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(HOST_EXPORTS) \
24643 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24645 done; \
24646 echo "Doing TAGS in libiberty-linker-plugin" ; \
24647 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24650 "RANLIB=$${RANLIB}" \
24651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24652 TAGS) \
24653 || exit 1
24655 @endif libiberty-linker-plugin
24657 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
24658 maybe-install-info-libiberty-linker-plugin:
24659 @if libiberty-linker-plugin
24660 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
24662 install-info-libiberty-linker-plugin: \
24663 configure-libiberty-linker-plugin \
24664 info-libiberty-linker-plugin
24665 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668 $(HOST_EXPORTS) \
24669 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 echo "Doing install-info in libiberty-linker-plugin" ; \
24673 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24676 "RANLIB=$${RANLIB}" \
24677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24678 install-info) \
24679 || exit 1
24681 @endif libiberty-linker-plugin
24683 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
24684 maybe-install-pdf-libiberty-linker-plugin:
24685 @if libiberty-linker-plugin
24686 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
24688 install-pdf-libiberty-linker-plugin: \
24689 configure-libiberty-linker-plugin \
24690 pdf-libiberty-linker-plugin
24691 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24692 r=`${PWD_COMMAND}`; export r; \
24693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24694 $(HOST_EXPORTS) \
24695 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 echo "Doing install-pdf in libiberty-linker-plugin" ; \
24699 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24704 install-pdf) \
24705 || exit 1
24707 @endif libiberty-linker-plugin
24709 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
24710 maybe-install-html-libiberty-linker-plugin:
24711 @if libiberty-linker-plugin
24712 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
24714 install-html-libiberty-linker-plugin: \
24715 configure-libiberty-linker-plugin \
24716 html-libiberty-linker-plugin
24717 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24718 r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 echo "Doing install-html in libiberty-linker-plugin" ; \
24725 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24730 install-html) \
24731 || exit 1
24733 @endif libiberty-linker-plugin
24735 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
24736 maybe-installcheck-libiberty-linker-plugin:
24737 @if libiberty-linker-plugin
24738 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
24740 installcheck-libiberty-linker-plugin: \
24741 configure-libiberty-linker-plugin
24742 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(HOST_EXPORTS) \
24746 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 echo "Doing installcheck in libiberty-linker-plugin" ; \
24750 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24753 "RANLIB=$${RANLIB}" \
24754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24755 installcheck) \
24756 || exit 1
24758 @endif libiberty-linker-plugin
24760 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24761 maybe-mostlyclean-libiberty-linker-plugin:
24762 @if libiberty-linker-plugin
24763 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24765 mostlyclean-libiberty-linker-plugin:
24766 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24767 r=`${PWD_COMMAND}`; export r; \
24768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24769 $(HOST_EXPORTS) \
24770 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24772 done; \
24773 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
24774 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24777 "RANLIB=$${RANLIB}" \
24778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24779 mostlyclean) \
24780 || exit 1
24782 @endif libiberty-linker-plugin
24784 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24785 maybe-clean-libiberty-linker-plugin:
24786 @if libiberty-linker-plugin
24787 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24789 clean-libiberty-linker-plugin:
24790 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24791 r=`${PWD_COMMAND}`; export r; \
24792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24793 $(HOST_EXPORTS) \
24794 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24796 done; \
24797 echo "Doing clean in libiberty-linker-plugin" ; \
24798 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24803 clean) \
24804 || exit 1
24806 @endif libiberty-linker-plugin
24808 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24809 maybe-distclean-libiberty-linker-plugin:
24810 @if libiberty-linker-plugin
24811 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24813 distclean-libiberty-linker-plugin:
24814 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24815 r=`${PWD_COMMAND}`; export r; \
24816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24817 $(HOST_EXPORTS) \
24818 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24820 done; \
24821 echo "Doing distclean in libiberty-linker-plugin" ; \
24822 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24825 "RANLIB=$${RANLIB}" \
24826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24827 distclean) \
24828 || exit 1
24830 @endif libiberty-linker-plugin
24832 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24833 maybe-maintainer-clean-libiberty-linker-plugin:
24834 @if libiberty-linker-plugin
24835 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24837 maintainer-clean-libiberty-linker-plugin:
24838 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24839 r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(HOST_EXPORTS) \
24842 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24844 done; \
24845 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24846 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24849 "RANLIB=$${RANLIB}" \
24850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24851 maintainer-clean) \
24852 || exit 1
24854 @endif libiberty-linker-plugin
24858 .PHONY: configure-libiconv maybe-configure-libiconv
24859 maybe-configure-libiconv:
24860 @if gcc-bootstrap
24861 configure-libiconv: stage_current
24862 @endif gcc-bootstrap
24863 @if libiconv
24864 maybe-configure-libiconv: configure-libiconv
24865 configure-libiconv:
24866 @: $(MAKE); $(unstage)
24867 @r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24871 $(HOST_EXPORTS) \
24872 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24873 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24874 case $(srcdir) in \
24875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24876 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24878 esac; \
24879 module_srcdir=libiconv; \
24880 $(SHELL) \
24881 $$s/$$module_srcdir/configure \
24882 --srcdir=$${topdir}/$$module_srcdir \
24883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24884 --target=${target_alias} --disable-shared \
24885 || exit 1
24886 @endif libiconv
24892 .PHONY: all-libiconv maybe-all-libiconv
24893 maybe-all-libiconv:
24894 @if gcc-bootstrap
24895 all-libiconv: stage_current
24896 @endif gcc-bootstrap
24897 @if libiconv
24898 TARGET-libiconv=all
24899 maybe-all-libiconv: all-libiconv
24900 all-libiconv: configure-libiconv
24901 @: $(MAKE); $(unstage)
24902 @r=`${PWD_COMMAND}`; export r; \
24903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24904 $(HOST_EXPORTS) \
24905 (cd $(HOST_SUBDIR)/libiconv && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24907 $(TARGET-libiconv))
24908 @endif libiconv
24913 .PHONY: check-libiconv maybe-check-libiconv
24914 maybe-check-libiconv:
24915 @if libiconv
24916 maybe-check-libiconv: check-libiconv
24918 check-libiconv:
24919 @: $(MAKE); $(unstage)
24920 @r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(HOST_EXPORTS) \
24923 (cd $(HOST_SUBDIR)/libiconv && \
24924 $(MAKE) $(FLAGS_TO_PASS) check)
24926 @endif libiconv
24928 .PHONY: install-libiconv maybe-install-libiconv
24929 maybe-install-libiconv:
24930 @if libiconv
24931 maybe-install-libiconv: install-libiconv
24933 install-libiconv:
24935 @endif libiconv
24937 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24938 maybe-install-strip-libiconv:
24939 @if libiconv
24940 maybe-install-strip-libiconv: install-strip-libiconv
24942 install-strip-libiconv:
24944 @endif libiconv
24946 # Other targets (info, dvi, pdf, etc.)
24948 .PHONY: maybe-info-libiconv info-libiconv
24949 maybe-info-libiconv:
24950 @if libiconv
24951 maybe-info-libiconv: info-libiconv
24953 info-libiconv: \
24954 configure-libiconv
24955 @: $(MAKE); $(unstage)
24956 @[ -f ./libiconv/Makefile ] || exit 0; \
24957 r=`${PWD_COMMAND}`; export r; \
24958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24959 $(HOST_EXPORTS) \
24960 for flag in $(EXTRA_HOST_FLAGS) ; do \
24961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24962 done; \
24963 echo "Doing info in libiconv" ; \
24964 (cd $(HOST_SUBDIR)/libiconv && \
24965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24967 "RANLIB=$${RANLIB}" \
24968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24969 info) \
24970 || exit 1
24972 @endif libiconv
24974 .PHONY: maybe-dvi-libiconv dvi-libiconv
24975 maybe-dvi-libiconv:
24976 @if libiconv
24977 maybe-dvi-libiconv: dvi-libiconv
24979 dvi-libiconv: \
24980 configure-libiconv
24981 @: $(MAKE); $(unstage)
24982 @[ -f ./libiconv/Makefile ] || exit 0; \
24983 r=`${PWD_COMMAND}`; export r; \
24984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24985 $(HOST_EXPORTS) \
24986 for flag in $(EXTRA_HOST_FLAGS) ; do \
24987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24988 done; \
24989 echo "Doing dvi in libiconv" ; \
24990 (cd $(HOST_SUBDIR)/libiconv && \
24991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24993 "RANLIB=$${RANLIB}" \
24994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24995 dvi) \
24996 || exit 1
24998 @endif libiconv
25000 .PHONY: maybe-pdf-libiconv pdf-libiconv
25001 maybe-pdf-libiconv:
25002 @if libiconv
25003 maybe-pdf-libiconv: pdf-libiconv
25005 pdf-libiconv: \
25006 configure-libiconv
25007 @: $(MAKE); $(unstage)
25008 @[ -f ./libiconv/Makefile ] || exit 0; \
25009 r=`${PWD_COMMAND}`; export r; \
25010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25011 $(HOST_EXPORTS) \
25012 for flag in $(EXTRA_HOST_FLAGS) ; do \
25013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25014 done; \
25015 echo "Doing pdf in libiconv" ; \
25016 (cd $(HOST_SUBDIR)/libiconv && \
25017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25019 "RANLIB=$${RANLIB}" \
25020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25021 pdf) \
25022 || exit 1
25024 @endif libiconv
25026 .PHONY: maybe-html-libiconv html-libiconv
25027 maybe-html-libiconv:
25028 @if libiconv
25029 maybe-html-libiconv: html-libiconv
25031 html-libiconv: \
25032 configure-libiconv
25033 @: $(MAKE); $(unstage)
25034 @[ -f ./libiconv/Makefile ] || exit 0; \
25035 r=`${PWD_COMMAND}`; export r; \
25036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25037 $(HOST_EXPORTS) \
25038 for flag in $(EXTRA_HOST_FLAGS) ; do \
25039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25040 done; \
25041 echo "Doing html in libiconv" ; \
25042 (cd $(HOST_SUBDIR)/libiconv && \
25043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25045 "RANLIB=$${RANLIB}" \
25046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25047 html) \
25048 || exit 1
25050 @endif libiconv
25052 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
25053 maybe-TAGS-libiconv:
25054 @if libiconv
25055 maybe-TAGS-libiconv: TAGS-libiconv
25057 TAGS-libiconv: \
25058 configure-libiconv
25059 @: $(MAKE); $(unstage)
25060 @[ -f ./libiconv/Makefile ] || exit 0; \
25061 r=`${PWD_COMMAND}`; export r; \
25062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25063 $(HOST_EXPORTS) \
25064 for flag in $(EXTRA_HOST_FLAGS) ; do \
25065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25066 done; \
25067 echo "Doing TAGS in libiconv" ; \
25068 (cd $(HOST_SUBDIR)/libiconv && \
25069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25071 "RANLIB=$${RANLIB}" \
25072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25073 TAGS) \
25074 || exit 1
25076 @endif libiconv
25078 .PHONY: maybe-install-info-libiconv install-info-libiconv
25079 maybe-install-info-libiconv:
25080 @if libiconv
25081 maybe-install-info-libiconv: install-info-libiconv
25083 # libiconv doesn't support install-info.
25084 install-info-libiconv:
25086 @endif libiconv
25088 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
25089 maybe-install-pdf-libiconv:
25090 @if libiconv
25091 maybe-install-pdf-libiconv: install-pdf-libiconv
25093 # libiconv doesn't support install-pdf.
25094 install-pdf-libiconv:
25096 @endif libiconv
25098 .PHONY: maybe-install-html-libiconv install-html-libiconv
25099 maybe-install-html-libiconv:
25100 @if libiconv
25101 maybe-install-html-libiconv: install-html-libiconv
25103 # libiconv doesn't support install-html.
25104 install-html-libiconv:
25106 @endif libiconv
25108 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
25109 maybe-installcheck-libiconv:
25110 @if libiconv
25111 maybe-installcheck-libiconv: installcheck-libiconv
25113 installcheck-libiconv: \
25114 configure-libiconv
25115 @: $(MAKE); $(unstage)
25116 @[ -f ./libiconv/Makefile ] || exit 0; \
25117 r=`${PWD_COMMAND}`; export r; \
25118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25119 $(HOST_EXPORTS) \
25120 for flag in $(EXTRA_HOST_FLAGS) ; do \
25121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25122 done; \
25123 echo "Doing installcheck in libiconv" ; \
25124 (cd $(HOST_SUBDIR)/libiconv && \
25125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25127 "RANLIB=$${RANLIB}" \
25128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25129 installcheck) \
25130 || exit 1
25132 @endif libiconv
25134 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
25135 maybe-mostlyclean-libiconv:
25136 @if libiconv
25137 maybe-mostlyclean-libiconv: mostlyclean-libiconv
25139 mostlyclean-libiconv:
25140 @: $(MAKE); $(unstage)
25141 @[ -f ./libiconv/Makefile ] || exit 0; \
25142 r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 $(HOST_EXPORTS) \
25145 for flag in $(EXTRA_HOST_FLAGS) ; do \
25146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25147 done; \
25148 echo "Doing mostlyclean in libiconv" ; \
25149 (cd $(HOST_SUBDIR)/libiconv && \
25150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25152 "RANLIB=$${RANLIB}" \
25153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25154 mostlyclean) \
25155 || exit 1
25157 @endif libiconv
25159 .PHONY: maybe-clean-libiconv clean-libiconv
25160 maybe-clean-libiconv:
25161 @if libiconv
25162 maybe-clean-libiconv: clean-libiconv
25164 clean-libiconv:
25165 @: $(MAKE); $(unstage)
25166 @[ -f ./libiconv/Makefile ] || exit 0; \
25167 r=`${PWD_COMMAND}`; export r; \
25168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25169 $(HOST_EXPORTS) \
25170 for flag in $(EXTRA_HOST_FLAGS) ; do \
25171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25172 done; \
25173 echo "Doing clean in libiconv" ; \
25174 (cd $(HOST_SUBDIR)/libiconv && \
25175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25177 "RANLIB=$${RANLIB}" \
25178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25179 clean) \
25180 || exit 1
25182 @endif libiconv
25184 .PHONY: maybe-distclean-libiconv distclean-libiconv
25185 maybe-distclean-libiconv:
25186 @if libiconv
25187 maybe-distclean-libiconv: distclean-libiconv
25189 distclean-libiconv:
25190 @: $(MAKE); $(unstage)
25191 @[ -f ./libiconv/Makefile ] || exit 0; \
25192 r=`${PWD_COMMAND}`; export r; \
25193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25194 $(HOST_EXPORTS) \
25195 for flag in $(EXTRA_HOST_FLAGS) ; do \
25196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25197 done; \
25198 echo "Doing distclean in libiconv" ; \
25199 (cd $(HOST_SUBDIR)/libiconv && \
25200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25202 "RANLIB=$${RANLIB}" \
25203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25204 distclean) \
25205 || exit 1
25207 @endif libiconv
25209 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
25210 maybe-maintainer-clean-libiconv:
25211 @if libiconv
25212 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
25214 maintainer-clean-libiconv:
25215 @: $(MAKE); $(unstage)
25216 @[ -f ./libiconv/Makefile ] || exit 0; \
25217 r=`${PWD_COMMAND}`; export r; \
25218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25219 $(HOST_EXPORTS) \
25220 for flag in $(EXTRA_HOST_FLAGS) ; do \
25221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25222 done; \
25223 echo "Doing maintainer-clean in libiconv" ; \
25224 (cd $(HOST_SUBDIR)/libiconv && \
25225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25227 "RANLIB=$${RANLIB}" \
25228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25229 maintainer-clean) \
25230 || exit 1
25232 @endif libiconv
25236 .PHONY: configure-m4 maybe-configure-m4
25237 maybe-configure-m4:
25238 @if gcc-bootstrap
25239 configure-m4: stage_current
25240 @endif gcc-bootstrap
25241 @if m4
25242 maybe-configure-m4: configure-m4
25243 configure-m4:
25244 @: $(MAKE); $(unstage)
25245 @r=`${PWD_COMMAND}`; export r; \
25246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25247 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
25248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
25249 $(HOST_EXPORTS) \
25250 echo Configuring in $(HOST_SUBDIR)/m4; \
25251 cd "$(HOST_SUBDIR)/m4" || exit 1; \
25252 case $(srcdir) in \
25253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25254 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
25255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25256 esac; \
25257 module_srcdir=m4; \
25258 $(SHELL) \
25259 $$s/$$module_srcdir/configure \
25260 --srcdir=$${topdir}/$$module_srcdir \
25261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25262 --target=${target_alias} \
25263 || exit 1
25264 @endif m4
25270 .PHONY: all-m4 maybe-all-m4
25271 maybe-all-m4:
25272 @if gcc-bootstrap
25273 all-m4: stage_current
25274 @endif gcc-bootstrap
25275 @if m4
25276 TARGET-m4=all
25277 maybe-all-m4: all-m4
25278 all-m4: configure-m4
25279 @: $(MAKE); $(unstage)
25280 @r=`${PWD_COMMAND}`; export r; \
25281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25282 $(HOST_EXPORTS) \
25283 (cd $(HOST_SUBDIR)/m4 && \
25284 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25285 $(TARGET-m4))
25286 @endif m4
25291 .PHONY: check-m4 maybe-check-m4
25292 maybe-check-m4:
25293 @if m4
25294 maybe-check-m4: check-m4
25296 check-m4:
25297 @: $(MAKE); $(unstage)
25298 @r=`${PWD_COMMAND}`; export r; \
25299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25300 $(HOST_EXPORTS) \
25301 (cd $(HOST_SUBDIR)/m4 && \
25302 $(MAKE) $(FLAGS_TO_PASS) check)
25304 @endif m4
25306 .PHONY: install-m4 maybe-install-m4
25307 maybe-install-m4:
25308 @if m4
25309 maybe-install-m4: install-m4
25311 install-m4: installdirs
25312 @: $(MAKE); $(unstage)
25313 @r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(HOST_EXPORTS) \
25316 (cd $(HOST_SUBDIR)/m4 && \
25317 $(MAKE) $(FLAGS_TO_PASS) install)
25319 @endif m4
25321 .PHONY: install-strip-m4 maybe-install-strip-m4
25322 maybe-install-strip-m4:
25323 @if m4
25324 maybe-install-strip-m4: install-strip-m4
25326 install-strip-m4: installdirs
25327 @: $(MAKE); $(unstage)
25328 @r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(HOST_EXPORTS) \
25331 (cd $(HOST_SUBDIR)/m4 && \
25332 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25334 @endif m4
25336 # Other targets (info, dvi, pdf, etc.)
25338 .PHONY: maybe-info-m4 info-m4
25339 maybe-info-m4:
25340 @if m4
25341 maybe-info-m4: info-m4
25343 info-m4: \
25344 configure-m4
25345 @: $(MAKE); $(unstage)
25346 @[ -f ./m4/Makefile ] || exit 0; \
25347 r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(HOST_EXPORTS) \
25350 for flag in $(EXTRA_HOST_FLAGS) ; do \
25351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25352 done; \
25353 echo "Doing info in m4" ; \
25354 (cd $(HOST_SUBDIR)/m4 && \
25355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25357 "RANLIB=$${RANLIB}" \
25358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25359 info) \
25360 || exit 1
25362 @endif m4
25364 .PHONY: maybe-dvi-m4 dvi-m4
25365 maybe-dvi-m4:
25366 @if m4
25367 maybe-dvi-m4: dvi-m4
25369 dvi-m4: \
25370 configure-m4
25371 @: $(MAKE); $(unstage)
25372 @[ -f ./m4/Makefile ] || exit 0; \
25373 r=`${PWD_COMMAND}`; export r; \
25374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25375 $(HOST_EXPORTS) \
25376 for flag in $(EXTRA_HOST_FLAGS) ; do \
25377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25378 done; \
25379 echo "Doing dvi in m4" ; \
25380 (cd $(HOST_SUBDIR)/m4 && \
25381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25383 "RANLIB=$${RANLIB}" \
25384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25385 dvi) \
25386 || exit 1
25388 @endif m4
25390 .PHONY: maybe-pdf-m4 pdf-m4
25391 maybe-pdf-m4:
25392 @if m4
25393 maybe-pdf-m4: pdf-m4
25395 pdf-m4: \
25396 configure-m4
25397 @: $(MAKE); $(unstage)
25398 @[ -f ./m4/Makefile ] || exit 0; \
25399 r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 $(HOST_EXPORTS) \
25402 for flag in $(EXTRA_HOST_FLAGS) ; do \
25403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25404 done; \
25405 echo "Doing pdf in m4" ; \
25406 (cd $(HOST_SUBDIR)/m4 && \
25407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25409 "RANLIB=$${RANLIB}" \
25410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25411 pdf) \
25412 || exit 1
25414 @endif m4
25416 .PHONY: maybe-html-m4 html-m4
25417 maybe-html-m4:
25418 @if m4
25419 maybe-html-m4: html-m4
25421 html-m4: \
25422 configure-m4
25423 @: $(MAKE); $(unstage)
25424 @[ -f ./m4/Makefile ] || exit 0; \
25425 r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 $(HOST_EXPORTS) \
25428 for flag in $(EXTRA_HOST_FLAGS) ; do \
25429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25430 done; \
25431 echo "Doing html in m4" ; \
25432 (cd $(HOST_SUBDIR)/m4 && \
25433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25435 "RANLIB=$${RANLIB}" \
25436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25437 html) \
25438 || exit 1
25440 @endif m4
25442 .PHONY: maybe-TAGS-m4 TAGS-m4
25443 maybe-TAGS-m4:
25444 @if m4
25445 maybe-TAGS-m4: TAGS-m4
25447 TAGS-m4: \
25448 configure-m4
25449 @: $(MAKE); $(unstage)
25450 @[ -f ./m4/Makefile ] || exit 0; \
25451 r=`${PWD_COMMAND}`; export r; \
25452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25453 $(HOST_EXPORTS) \
25454 for flag in $(EXTRA_HOST_FLAGS) ; do \
25455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25456 done; \
25457 echo "Doing TAGS in m4" ; \
25458 (cd $(HOST_SUBDIR)/m4 && \
25459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25461 "RANLIB=$${RANLIB}" \
25462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25463 TAGS) \
25464 || exit 1
25466 @endif m4
25468 .PHONY: maybe-install-info-m4 install-info-m4
25469 maybe-install-info-m4:
25470 @if m4
25471 maybe-install-info-m4: install-info-m4
25473 install-info-m4: \
25474 configure-m4 \
25475 info-m4
25476 @: $(MAKE); $(unstage)
25477 @[ -f ./m4/Makefile ] || exit 0; \
25478 r=`${PWD_COMMAND}`; export r; \
25479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25480 $(HOST_EXPORTS) \
25481 for flag in $(EXTRA_HOST_FLAGS) ; do \
25482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25483 done; \
25484 echo "Doing install-info in m4" ; \
25485 (cd $(HOST_SUBDIR)/m4 && \
25486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25488 "RANLIB=$${RANLIB}" \
25489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25490 install-info) \
25491 || exit 1
25493 @endif m4
25495 .PHONY: maybe-install-pdf-m4 install-pdf-m4
25496 maybe-install-pdf-m4:
25497 @if m4
25498 maybe-install-pdf-m4: install-pdf-m4
25500 install-pdf-m4: \
25501 configure-m4 \
25502 pdf-m4
25503 @: $(MAKE); $(unstage)
25504 @[ -f ./m4/Makefile ] || exit 0; \
25505 r=`${PWD_COMMAND}`; export r; \
25506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507 $(HOST_EXPORTS) \
25508 for flag in $(EXTRA_HOST_FLAGS) ; do \
25509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25510 done; \
25511 echo "Doing install-pdf in m4" ; \
25512 (cd $(HOST_SUBDIR)/m4 && \
25513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25515 "RANLIB=$${RANLIB}" \
25516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25517 install-pdf) \
25518 || exit 1
25520 @endif m4
25522 .PHONY: maybe-install-html-m4 install-html-m4
25523 maybe-install-html-m4:
25524 @if m4
25525 maybe-install-html-m4: install-html-m4
25527 install-html-m4: \
25528 configure-m4 \
25529 html-m4
25530 @: $(MAKE); $(unstage)
25531 @[ -f ./m4/Makefile ] || exit 0; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(HOST_EXPORTS) \
25535 for flag in $(EXTRA_HOST_FLAGS) ; do \
25536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25537 done; \
25538 echo "Doing install-html in m4" ; \
25539 (cd $(HOST_SUBDIR)/m4 && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25544 install-html) \
25545 || exit 1
25547 @endif m4
25549 .PHONY: maybe-installcheck-m4 installcheck-m4
25550 maybe-installcheck-m4:
25551 @if m4
25552 maybe-installcheck-m4: installcheck-m4
25554 installcheck-m4: \
25555 configure-m4
25556 @: $(MAKE); $(unstage)
25557 @[ -f ./m4/Makefile ] || exit 0; \
25558 r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(HOST_EXPORTS) \
25561 for flag in $(EXTRA_HOST_FLAGS) ; do \
25562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25563 done; \
25564 echo "Doing installcheck in m4" ; \
25565 (cd $(HOST_SUBDIR)/m4 && \
25566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25568 "RANLIB=$${RANLIB}" \
25569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25570 installcheck) \
25571 || exit 1
25573 @endif m4
25575 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
25576 maybe-mostlyclean-m4:
25577 @if m4
25578 maybe-mostlyclean-m4: mostlyclean-m4
25580 mostlyclean-m4:
25581 @: $(MAKE); $(unstage)
25582 @[ -f ./m4/Makefile ] || exit 0; \
25583 r=`${PWD_COMMAND}`; export r; \
25584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25585 $(HOST_EXPORTS) \
25586 for flag in $(EXTRA_HOST_FLAGS) ; do \
25587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25588 done; \
25589 echo "Doing mostlyclean in m4" ; \
25590 (cd $(HOST_SUBDIR)/m4 && \
25591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25593 "RANLIB=$${RANLIB}" \
25594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25595 mostlyclean) \
25596 || exit 1
25598 @endif m4
25600 .PHONY: maybe-clean-m4 clean-m4
25601 maybe-clean-m4:
25602 @if m4
25603 maybe-clean-m4: clean-m4
25605 clean-m4:
25606 @: $(MAKE); $(unstage)
25607 @[ -f ./m4/Makefile ] || exit 0; \
25608 r=`${PWD_COMMAND}`; export r; \
25609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25610 $(HOST_EXPORTS) \
25611 for flag in $(EXTRA_HOST_FLAGS) ; do \
25612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25613 done; \
25614 echo "Doing clean in m4" ; \
25615 (cd $(HOST_SUBDIR)/m4 && \
25616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25618 "RANLIB=$${RANLIB}" \
25619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25620 clean) \
25621 || exit 1
25623 @endif m4
25625 .PHONY: maybe-distclean-m4 distclean-m4
25626 maybe-distclean-m4:
25627 @if m4
25628 maybe-distclean-m4: distclean-m4
25630 distclean-m4:
25631 @: $(MAKE); $(unstage)
25632 @[ -f ./m4/Makefile ] || exit 0; \
25633 r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 $(HOST_EXPORTS) \
25636 for flag in $(EXTRA_HOST_FLAGS) ; do \
25637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25638 done; \
25639 echo "Doing distclean in m4" ; \
25640 (cd $(HOST_SUBDIR)/m4 && \
25641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25643 "RANLIB=$${RANLIB}" \
25644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25645 distclean) \
25646 || exit 1
25648 @endif m4
25650 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
25651 maybe-maintainer-clean-m4:
25652 @if m4
25653 maybe-maintainer-clean-m4: maintainer-clean-m4
25655 maintainer-clean-m4:
25656 @: $(MAKE); $(unstage)
25657 @[ -f ./m4/Makefile ] || exit 0; \
25658 r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(HOST_EXPORTS) \
25661 for flag in $(EXTRA_HOST_FLAGS) ; do \
25662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25663 done; \
25664 echo "Doing maintainer-clean in m4" ; \
25665 (cd $(HOST_SUBDIR)/m4 && \
25666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25668 "RANLIB=$${RANLIB}" \
25669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25670 maintainer-clean) \
25671 || exit 1
25673 @endif m4
25677 .PHONY: configure-readline maybe-configure-readline
25678 maybe-configure-readline:
25679 @if gcc-bootstrap
25680 configure-readline: stage_current
25681 @endif gcc-bootstrap
25682 @if readline
25683 maybe-configure-readline: configure-readline
25684 configure-readline:
25685 @: $(MAKE); $(unstage)
25686 @r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
25690 $(HOST_EXPORTS) \
25691 echo Configuring in $(HOST_SUBDIR)/readline; \
25692 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25693 case $(srcdir) in \
25694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25695 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25697 esac; \
25698 module_srcdir=readline; \
25699 $(SHELL) \
25700 $$s/$$module_srcdir/configure \
25701 --srcdir=$${topdir}/$$module_srcdir \
25702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25703 --target=${target_alias} \
25704 || exit 1
25705 @endif readline
25711 .PHONY: all-readline maybe-all-readline
25712 maybe-all-readline:
25713 @if gcc-bootstrap
25714 all-readline: stage_current
25715 @endif gcc-bootstrap
25716 @if readline
25717 TARGET-readline=all
25718 maybe-all-readline: all-readline
25719 all-readline: configure-readline
25720 @: $(MAKE); $(unstage)
25721 @r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 $(HOST_EXPORTS) \
25724 (cd $(HOST_SUBDIR)/readline && \
25725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25726 $(TARGET-readline))
25727 @endif readline
25732 .PHONY: check-readline maybe-check-readline
25733 maybe-check-readline:
25734 @if readline
25735 maybe-check-readline: check-readline
25737 check-readline:
25738 @: $(MAKE); $(unstage)
25739 @r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 (cd $(HOST_SUBDIR)/readline && \
25743 $(MAKE) $(FLAGS_TO_PASS) check)
25745 @endif readline
25747 .PHONY: install-readline maybe-install-readline
25748 maybe-install-readline:
25749 @if readline
25750 maybe-install-readline: install-readline
25752 install-readline: installdirs
25753 @: $(MAKE); $(unstage)
25754 @r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 $(HOST_EXPORTS) \
25757 (cd $(HOST_SUBDIR)/readline && \
25758 $(MAKE) $(FLAGS_TO_PASS) install)
25760 @endif readline
25762 .PHONY: install-strip-readline maybe-install-strip-readline
25763 maybe-install-strip-readline:
25764 @if readline
25765 maybe-install-strip-readline: install-strip-readline
25767 install-strip-readline: installdirs
25768 @: $(MAKE); $(unstage)
25769 @r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 (cd $(HOST_SUBDIR)/readline && \
25773 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25775 @endif readline
25777 # Other targets (info, dvi, pdf, etc.)
25779 .PHONY: maybe-info-readline info-readline
25780 maybe-info-readline:
25781 @if readline
25782 maybe-info-readline: info-readline
25784 info-readline: \
25785 configure-readline
25786 @: $(MAKE); $(unstage)
25787 @[ -f ./readline/Makefile ] || exit 0; \
25788 r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(HOST_EXPORTS) \
25791 for flag in $(EXTRA_HOST_FLAGS) ; do \
25792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25793 done; \
25794 echo "Doing info in readline" ; \
25795 (cd $(HOST_SUBDIR)/readline && \
25796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25798 "RANLIB=$${RANLIB}" \
25799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25800 info) \
25801 || exit 1
25803 @endif readline
25805 .PHONY: maybe-dvi-readline dvi-readline
25806 maybe-dvi-readline:
25807 @if readline
25808 maybe-dvi-readline: dvi-readline
25810 dvi-readline: \
25811 configure-readline
25812 @: $(MAKE); $(unstage)
25813 @[ -f ./readline/Makefile ] || exit 0; \
25814 r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(HOST_EXPORTS) \
25817 for flag in $(EXTRA_HOST_FLAGS) ; do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 echo "Doing dvi in readline" ; \
25821 (cd $(HOST_SUBDIR)/readline && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25824 "RANLIB=$${RANLIB}" \
25825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25826 dvi) \
25827 || exit 1
25829 @endif readline
25831 .PHONY: maybe-pdf-readline pdf-readline
25832 maybe-pdf-readline:
25833 @if readline
25834 maybe-pdf-readline: pdf-readline
25836 pdf-readline: \
25837 configure-readline
25838 @: $(MAKE); $(unstage)
25839 @[ -f ./readline/Makefile ] || exit 0; \
25840 r=`${PWD_COMMAND}`; export r; \
25841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25842 $(HOST_EXPORTS) \
25843 for flag in $(EXTRA_HOST_FLAGS) ; do \
25844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25845 done; \
25846 echo "Doing pdf in readline" ; \
25847 (cd $(HOST_SUBDIR)/readline && \
25848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25850 "RANLIB=$${RANLIB}" \
25851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25852 pdf) \
25853 || exit 1
25855 @endif readline
25857 .PHONY: maybe-html-readline html-readline
25858 maybe-html-readline:
25859 @if readline
25860 maybe-html-readline: html-readline
25862 html-readline: \
25863 configure-readline
25864 @: $(MAKE); $(unstage)
25865 @[ -f ./readline/Makefile ] || exit 0; \
25866 r=`${PWD_COMMAND}`; export r; \
25867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25868 $(HOST_EXPORTS) \
25869 for flag in $(EXTRA_HOST_FLAGS) ; do \
25870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25871 done; \
25872 echo "Doing html in readline" ; \
25873 (cd $(HOST_SUBDIR)/readline && \
25874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25876 "RANLIB=$${RANLIB}" \
25877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25878 html) \
25879 || exit 1
25881 @endif readline
25883 .PHONY: maybe-TAGS-readline TAGS-readline
25884 maybe-TAGS-readline:
25885 @if readline
25886 maybe-TAGS-readline: TAGS-readline
25888 TAGS-readline: \
25889 configure-readline
25890 @: $(MAKE); $(unstage)
25891 @[ -f ./readline/Makefile ] || exit 0; \
25892 r=`${PWD_COMMAND}`; export r; \
25893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25894 $(HOST_EXPORTS) \
25895 for flag in $(EXTRA_HOST_FLAGS) ; do \
25896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25897 done; \
25898 echo "Doing TAGS in readline" ; \
25899 (cd $(HOST_SUBDIR)/readline && \
25900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25902 "RANLIB=$${RANLIB}" \
25903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25904 TAGS) \
25905 || exit 1
25907 @endif readline
25909 .PHONY: maybe-install-info-readline install-info-readline
25910 maybe-install-info-readline:
25911 @if readline
25912 maybe-install-info-readline: install-info-readline
25914 install-info-readline: \
25915 configure-readline \
25916 info-readline
25917 @: $(MAKE); $(unstage)
25918 @[ -f ./readline/Makefile ] || exit 0; \
25919 r=`${PWD_COMMAND}`; export r; \
25920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25921 $(HOST_EXPORTS) \
25922 for flag in $(EXTRA_HOST_FLAGS) ; do \
25923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25924 done; \
25925 echo "Doing install-info in readline" ; \
25926 (cd $(HOST_SUBDIR)/readline && \
25927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25929 "RANLIB=$${RANLIB}" \
25930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25931 install-info) \
25932 || exit 1
25934 @endif readline
25936 .PHONY: maybe-install-pdf-readline install-pdf-readline
25937 maybe-install-pdf-readline:
25938 @if readline
25939 maybe-install-pdf-readline: install-pdf-readline
25941 install-pdf-readline: \
25942 configure-readline \
25943 pdf-readline
25944 @: $(MAKE); $(unstage)
25945 @[ -f ./readline/Makefile ] || exit 0; \
25946 r=`${PWD_COMMAND}`; export r; \
25947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(HOST_EXPORTS) \
25949 for flag in $(EXTRA_HOST_FLAGS) ; do \
25950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25951 done; \
25952 echo "Doing install-pdf in readline" ; \
25953 (cd $(HOST_SUBDIR)/readline && \
25954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25956 "RANLIB=$${RANLIB}" \
25957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25958 install-pdf) \
25959 || exit 1
25961 @endif readline
25963 .PHONY: maybe-install-html-readline install-html-readline
25964 maybe-install-html-readline:
25965 @if readline
25966 maybe-install-html-readline: install-html-readline
25968 install-html-readline: \
25969 configure-readline \
25970 html-readline
25971 @: $(MAKE); $(unstage)
25972 @[ -f ./readline/Makefile ] || exit 0; \
25973 r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975 $(HOST_EXPORTS) \
25976 for flag in $(EXTRA_HOST_FLAGS) ; do \
25977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25978 done; \
25979 echo "Doing install-html in readline" ; \
25980 (cd $(HOST_SUBDIR)/readline && \
25981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25983 "RANLIB=$${RANLIB}" \
25984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25985 install-html) \
25986 || exit 1
25988 @endif readline
25990 .PHONY: maybe-installcheck-readline installcheck-readline
25991 maybe-installcheck-readline:
25992 @if readline
25993 maybe-installcheck-readline: installcheck-readline
25995 installcheck-readline: \
25996 configure-readline
25997 @: $(MAKE); $(unstage)
25998 @[ -f ./readline/Makefile ] || exit 0; \
25999 r=`${PWD_COMMAND}`; export r; \
26000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26001 $(HOST_EXPORTS) \
26002 for flag in $(EXTRA_HOST_FLAGS) ; do \
26003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26004 done; \
26005 echo "Doing installcheck in readline" ; \
26006 (cd $(HOST_SUBDIR)/readline && \
26007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26009 "RANLIB=$${RANLIB}" \
26010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26011 installcheck) \
26012 || exit 1
26014 @endif readline
26016 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
26017 maybe-mostlyclean-readline:
26018 @if readline
26019 maybe-mostlyclean-readline: mostlyclean-readline
26021 mostlyclean-readline:
26022 @: $(MAKE); $(unstage)
26023 @[ -f ./readline/Makefile ] || exit 0; \
26024 r=`${PWD_COMMAND}`; export r; \
26025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26026 $(HOST_EXPORTS) \
26027 for flag in $(EXTRA_HOST_FLAGS) ; do \
26028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26029 done; \
26030 echo "Doing mostlyclean in readline" ; \
26031 (cd $(HOST_SUBDIR)/readline && \
26032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26034 "RANLIB=$${RANLIB}" \
26035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26036 mostlyclean) \
26037 || exit 1
26039 @endif readline
26041 .PHONY: maybe-clean-readline clean-readline
26042 maybe-clean-readline:
26043 @if readline
26044 maybe-clean-readline: clean-readline
26046 clean-readline:
26047 @: $(MAKE); $(unstage)
26048 @[ -f ./readline/Makefile ] || exit 0; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(HOST_EXPORTS) \
26052 for flag in $(EXTRA_HOST_FLAGS) ; do \
26053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26054 done; \
26055 echo "Doing clean in readline" ; \
26056 (cd $(HOST_SUBDIR)/readline && \
26057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26059 "RANLIB=$${RANLIB}" \
26060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26061 clean) \
26062 || exit 1
26064 @endif readline
26066 .PHONY: maybe-distclean-readline distclean-readline
26067 maybe-distclean-readline:
26068 @if readline
26069 maybe-distclean-readline: distclean-readline
26071 distclean-readline:
26072 @: $(MAKE); $(unstage)
26073 @[ -f ./readline/Makefile ] || exit 0; \
26074 r=`${PWD_COMMAND}`; export r; \
26075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26076 $(HOST_EXPORTS) \
26077 for flag in $(EXTRA_HOST_FLAGS) ; do \
26078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26079 done; \
26080 echo "Doing distclean in readline" ; \
26081 (cd $(HOST_SUBDIR)/readline && \
26082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26084 "RANLIB=$${RANLIB}" \
26085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26086 distclean) \
26087 || exit 1
26089 @endif readline
26091 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
26092 maybe-maintainer-clean-readline:
26093 @if readline
26094 maybe-maintainer-clean-readline: maintainer-clean-readline
26096 maintainer-clean-readline:
26097 @: $(MAKE); $(unstage)
26098 @[ -f ./readline/Makefile ] || exit 0; \
26099 r=`${PWD_COMMAND}`; export r; \
26100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26101 $(HOST_EXPORTS) \
26102 for flag in $(EXTRA_HOST_FLAGS) ; do \
26103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26104 done; \
26105 echo "Doing maintainer-clean in readline" ; \
26106 (cd $(HOST_SUBDIR)/readline && \
26107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26109 "RANLIB=$${RANLIB}" \
26110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26111 maintainer-clean) \
26112 || exit 1
26114 @endif readline
26118 .PHONY: configure-sid maybe-configure-sid
26119 maybe-configure-sid:
26120 @if gcc-bootstrap
26121 configure-sid: stage_current
26122 @endif gcc-bootstrap
26123 @if sid
26124 maybe-configure-sid: configure-sid
26125 configure-sid:
26126 @: $(MAKE); $(unstage)
26127 @r=`${PWD_COMMAND}`; export r; \
26128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
26130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
26131 $(HOST_EXPORTS) \
26132 echo Configuring in $(HOST_SUBDIR)/sid; \
26133 cd "$(HOST_SUBDIR)/sid" || exit 1; \
26134 case $(srcdir) in \
26135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26136 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
26137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26138 esac; \
26139 module_srcdir=sid; \
26140 $(SHELL) \
26141 $$s/$$module_srcdir/configure \
26142 --srcdir=$${topdir}/$$module_srcdir \
26143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26144 --target=${target_alias} \
26145 || exit 1
26146 @endif sid
26152 .PHONY: all-sid maybe-all-sid
26153 maybe-all-sid:
26154 @if gcc-bootstrap
26155 all-sid: stage_current
26156 @endif gcc-bootstrap
26157 @if sid
26158 TARGET-sid=all
26159 maybe-all-sid: all-sid
26160 all-sid: configure-sid
26161 @: $(MAKE); $(unstage)
26162 @r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(HOST_EXPORTS) \
26165 (cd $(HOST_SUBDIR)/sid && \
26166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26167 $(TARGET-sid))
26168 @endif sid
26173 .PHONY: check-sid maybe-check-sid
26174 maybe-check-sid:
26175 @if sid
26176 maybe-check-sid: check-sid
26178 check-sid:
26179 @: $(MAKE); $(unstage)
26180 @r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(HOST_EXPORTS) \
26183 (cd $(HOST_SUBDIR)/sid && \
26184 $(MAKE) $(FLAGS_TO_PASS) check)
26186 @endif sid
26188 .PHONY: install-sid maybe-install-sid
26189 maybe-install-sid:
26190 @if sid
26191 maybe-install-sid: install-sid
26193 install-sid: installdirs
26194 @: $(MAKE); $(unstage)
26195 @r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 (cd $(HOST_SUBDIR)/sid && \
26199 $(MAKE) $(FLAGS_TO_PASS) install)
26201 @endif sid
26203 .PHONY: install-strip-sid maybe-install-strip-sid
26204 maybe-install-strip-sid:
26205 @if sid
26206 maybe-install-strip-sid: install-strip-sid
26208 install-strip-sid: installdirs
26209 @: $(MAKE); $(unstage)
26210 @r=`${PWD_COMMAND}`; export r; \
26211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212 $(HOST_EXPORTS) \
26213 (cd $(HOST_SUBDIR)/sid && \
26214 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26216 @endif sid
26218 # Other targets (info, dvi, pdf, etc.)
26220 .PHONY: maybe-info-sid info-sid
26221 maybe-info-sid:
26222 @if sid
26223 maybe-info-sid: info-sid
26225 info-sid: \
26226 configure-sid
26227 @: $(MAKE); $(unstage)
26228 @[ -f ./sid/Makefile ] || exit 0; \
26229 r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 $(HOST_EXPORTS) \
26232 for flag in $(EXTRA_HOST_FLAGS) ; do \
26233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26234 done; \
26235 echo "Doing info in sid" ; \
26236 (cd $(HOST_SUBDIR)/sid && \
26237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26239 "RANLIB=$${RANLIB}" \
26240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26241 info) \
26242 || exit 1
26244 @endif sid
26246 .PHONY: maybe-dvi-sid dvi-sid
26247 maybe-dvi-sid:
26248 @if sid
26249 maybe-dvi-sid: dvi-sid
26251 dvi-sid: \
26252 configure-sid
26253 @: $(MAKE); $(unstage)
26254 @[ -f ./sid/Makefile ] || exit 0; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 for flag in $(EXTRA_HOST_FLAGS) ; do \
26259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26260 done; \
26261 echo "Doing dvi in sid" ; \
26262 (cd $(HOST_SUBDIR)/sid && \
26263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26265 "RANLIB=$${RANLIB}" \
26266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26267 dvi) \
26268 || exit 1
26270 @endif sid
26272 .PHONY: maybe-pdf-sid pdf-sid
26273 maybe-pdf-sid:
26274 @if sid
26275 maybe-pdf-sid: pdf-sid
26277 pdf-sid: \
26278 configure-sid
26279 @: $(MAKE); $(unstage)
26280 @[ -f ./sid/Makefile ] || exit 0; \
26281 r=`${PWD_COMMAND}`; export r; \
26282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26283 $(HOST_EXPORTS) \
26284 for flag in $(EXTRA_HOST_FLAGS) ; do \
26285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26286 done; \
26287 echo "Doing pdf in sid" ; \
26288 (cd $(HOST_SUBDIR)/sid && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26293 pdf) \
26294 || exit 1
26296 @endif sid
26298 .PHONY: maybe-html-sid html-sid
26299 maybe-html-sid:
26300 @if sid
26301 maybe-html-sid: html-sid
26303 html-sid: \
26304 configure-sid
26305 @: $(MAKE); $(unstage)
26306 @[ -f ./sid/Makefile ] || exit 0; \
26307 r=`${PWD_COMMAND}`; export r; \
26308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26309 $(HOST_EXPORTS) \
26310 for flag in $(EXTRA_HOST_FLAGS) ; do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 echo "Doing html in sid" ; \
26314 (cd $(HOST_SUBDIR)/sid && \
26315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26317 "RANLIB=$${RANLIB}" \
26318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26319 html) \
26320 || exit 1
26322 @endif sid
26324 .PHONY: maybe-TAGS-sid TAGS-sid
26325 maybe-TAGS-sid:
26326 @if sid
26327 maybe-TAGS-sid: TAGS-sid
26329 TAGS-sid: \
26330 configure-sid
26331 @: $(MAKE); $(unstage)
26332 @[ -f ./sid/Makefile ] || exit 0; \
26333 r=`${PWD_COMMAND}`; export r; \
26334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26335 $(HOST_EXPORTS) \
26336 for flag in $(EXTRA_HOST_FLAGS) ; do \
26337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26338 done; \
26339 echo "Doing TAGS in sid" ; \
26340 (cd $(HOST_SUBDIR)/sid && \
26341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26343 "RANLIB=$${RANLIB}" \
26344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26345 TAGS) \
26346 || exit 1
26348 @endif sid
26350 .PHONY: maybe-install-info-sid install-info-sid
26351 maybe-install-info-sid:
26352 @if sid
26353 maybe-install-info-sid: install-info-sid
26355 install-info-sid: \
26356 configure-sid \
26357 info-sid
26358 @: $(MAKE); $(unstage)
26359 @[ -f ./sid/Makefile ] || exit 0; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(HOST_EXPORTS) \
26363 for flag in $(EXTRA_HOST_FLAGS) ; do \
26364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26365 done; \
26366 echo "Doing install-info in sid" ; \
26367 (cd $(HOST_SUBDIR)/sid && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370 "RANLIB=$${RANLIB}" \
26371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26372 install-info) \
26373 || exit 1
26375 @endif sid
26377 .PHONY: maybe-install-pdf-sid install-pdf-sid
26378 maybe-install-pdf-sid:
26379 @if sid
26380 maybe-install-pdf-sid: install-pdf-sid
26382 install-pdf-sid: \
26383 configure-sid \
26384 pdf-sid
26385 @: $(MAKE); $(unstage)
26386 @[ -f ./sid/Makefile ] || exit 0; \
26387 r=`${PWD_COMMAND}`; export r; \
26388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26389 $(HOST_EXPORTS) \
26390 for flag in $(EXTRA_HOST_FLAGS) ; do \
26391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26392 done; \
26393 echo "Doing install-pdf in sid" ; \
26394 (cd $(HOST_SUBDIR)/sid && \
26395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26397 "RANLIB=$${RANLIB}" \
26398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26399 install-pdf) \
26400 || exit 1
26402 @endif sid
26404 .PHONY: maybe-install-html-sid install-html-sid
26405 maybe-install-html-sid:
26406 @if sid
26407 maybe-install-html-sid: install-html-sid
26409 install-html-sid: \
26410 configure-sid \
26411 html-sid
26412 @: $(MAKE); $(unstage)
26413 @[ -f ./sid/Makefile ] || exit 0; \
26414 r=`${PWD_COMMAND}`; export r; \
26415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26416 $(HOST_EXPORTS) \
26417 for flag in $(EXTRA_HOST_FLAGS) ; do \
26418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26419 done; \
26420 echo "Doing install-html in sid" ; \
26421 (cd $(HOST_SUBDIR)/sid && \
26422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26424 "RANLIB=$${RANLIB}" \
26425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26426 install-html) \
26427 || exit 1
26429 @endif sid
26431 .PHONY: maybe-installcheck-sid installcheck-sid
26432 maybe-installcheck-sid:
26433 @if sid
26434 maybe-installcheck-sid: installcheck-sid
26436 installcheck-sid: \
26437 configure-sid
26438 @: $(MAKE); $(unstage)
26439 @[ -f ./sid/Makefile ] || exit 0; \
26440 r=`${PWD_COMMAND}`; export r; \
26441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26442 $(HOST_EXPORTS) \
26443 for flag in $(EXTRA_HOST_FLAGS) ; do \
26444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26445 done; \
26446 echo "Doing installcheck in sid" ; \
26447 (cd $(HOST_SUBDIR)/sid && \
26448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26450 "RANLIB=$${RANLIB}" \
26451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26452 installcheck) \
26453 || exit 1
26455 @endif sid
26457 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
26458 maybe-mostlyclean-sid:
26459 @if sid
26460 maybe-mostlyclean-sid: mostlyclean-sid
26462 mostlyclean-sid:
26463 @: $(MAKE); $(unstage)
26464 @[ -f ./sid/Makefile ] || exit 0; \
26465 r=`${PWD_COMMAND}`; export r; \
26466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26467 $(HOST_EXPORTS) \
26468 for flag in $(EXTRA_HOST_FLAGS) ; do \
26469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26470 done; \
26471 echo "Doing mostlyclean in sid" ; \
26472 (cd $(HOST_SUBDIR)/sid && \
26473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26475 "RANLIB=$${RANLIB}" \
26476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26477 mostlyclean) \
26478 || exit 1
26480 @endif sid
26482 .PHONY: maybe-clean-sid clean-sid
26483 maybe-clean-sid:
26484 @if sid
26485 maybe-clean-sid: clean-sid
26487 clean-sid:
26488 @: $(MAKE); $(unstage)
26489 @[ -f ./sid/Makefile ] || exit 0; \
26490 r=`${PWD_COMMAND}`; export r; \
26491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26492 $(HOST_EXPORTS) \
26493 for flag in $(EXTRA_HOST_FLAGS) ; do \
26494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26495 done; \
26496 echo "Doing clean in sid" ; \
26497 (cd $(HOST_SUBDIR)/sid && \
26498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26500 "RANLIB=$${RANLIB}" \
26501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26502 clean) \
26503 || exit 1
26505 @endif sid
26507 .PHONY: maybe-distclean-sid distclean-sid
26508 maybe-distclean-sid:
26509 @if sid
26510 maybe-distclean-sid: distclean-sid
26512 distclean-sid:
26513 @: $(MAKE); $(unstage)
26514 @[ -f ./sid/Makefile ] || exit 0; \
26515 r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 $(HOST_EXPORTS) \
26518 for flag in $(EXTRA_HOST_FLAGS) ; do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26520 done; \
26521 echo "Doing distclean in sid" ; \
26522 (cd $(HOST_SUBDIR)/sid && \
26523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525 "RANLIB=$${RANLIB}" \
26526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26527 distclean) \
26528 || exit 1
26530 @endif sid
26532 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
26533 maybe-maintainer-clean-sid:
26534 @if sid
26535 maybe-maintainer-clean-sid: maintainer-clean-sid
26537 maintainer-clean-sid:
26538 @: $(MAKE); $(unstage)
26539 @[ -f ./sid/Makefile ] || exit 0; \
26540 r=`${PWD_COMMAND}`; export r; \
26541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 $(HOST_EXPORTS) \
26543 for flag in $(EXTRA_HOST_FLAGS) ; do \
26544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26545 done; \
26546 echo "Doing maintainer-clean in sid" ; \
26547 (cd $(HOST_SUBDIR)/sid && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26552 maintainer-clean) \
26553 || exit 1
26555 @endif sid
26559 .PHONY: configure-sim maybe-configure-sim
26560 maybe-configure-sim:
26561 @if gcc-bootstrap
26562 configure-sim: stage_current
26563 @endif gcc-bootstrap
26564 @if sim
26565 maybe-configure-sim: configure-sim
26566 configure-sim:
26567 @: $(MAKE); $(unstage)
26568 @r=`${PWD_COMMAND}`; export r; \
26569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
26571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
26572 $(HOST_EXPORTS) \
26573 echo Configuring in $(HOST_SUBDIR)/sim; \
26574 cd "$(HOST_SUBDIR)/sim" || exit 1; \
26575 case $(srcdir) in \
26576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26577 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
26578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26579 esac; \
26580 module_srcdir=sim; \
26581 $(SHELL) \
26582 $$s/$$module_srcdir/configure \
26583 --srcdir=$${topdir}/$$module_srcdir \
26584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26585 --target=${target_alias} \
26586 || exit 1
26587 @endif sim
26593 .PHONY: all-sim maybe-all-sim
26594 maybe-all-sim:
26595 @if gcc-bootstrap
26596 all-sim: stage_current
26597 @endif gcc-bootstrap
26598 @if sim
26599 TARGET-sim=all
26600 maybe-all-sim: all-sim
26601 all-sim: configure-sim
26602 @: $(MAKE); $(unstage)
26603 @r=`${PWD_COMMAND}`; export r; \
26604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26605 $(HOST_EXPORTS) \
26606 (cd $(HOST_SUBDIR)/sim && \
26607 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26608 $(TARGET-sim))
26609 @endif sim
26614 .PHONY: check-sim maybe-check-sim
26615 maybe-check-sim:
26616 @if sim
26617 maybe-check-sim: check-sim
26619 check-sim:
26620 @: $(MAKE); $(unstage)
26621 @r=`${PWD_COMMAND}`; export r; \
26622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26623 $(HOST_EXPORTS) \
26624 (cd $(HOST_SUBDIR)/sim && \
26625 $(MAKE) $(FLAGS_TO_PASS) check)
26627 @endif sim
26629 .PHONY: install-sim maybe-install-sim
26630 maybe-install-sim:
26631 @if sim
26632 maybe-install-sim: install-sim
26634 install-sim: installdirs
26635 @: $(MAKE); $(unstage)
26636 @r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 $(HOST_EXPORTS) \
26639 (cd $(HOST_SUBDIR)/sim && \
26640 $(MAKE) $(FLAGS_TO_PASS) install)
26642 @endif sim
26644 .PHONY: install-strip-sim maybe-install-strip-sim
26645 maybe-install-strip-sim:
26646 @if sim
26647 maybe-install-strip-sim: install-strip-sim
26649 install-strip-sim: installdirs
26650 @: $(MAKE); $(unstage)
26651 @r=`${PWD_COMMAND}`; export r; \
26652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26653 $(HOST_EXPORTS) \
26654 (cd $(HOST_SUBDIR)/sim && \
26655 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26657 @endif sim
26659 # Other targets (info, dvi, pdf, etc.)
26661 .PHONY: maybe-info-sim info-sim
26662 maybe-info-sim:
26663 @if sim
26664 maybe-info-sim: info-sim
26666 info-sim: \
26667 configure-sim
26668 @: $(MAKE); $(unstage)
26669 @[ -f ./sim/Makefile ] || exit 0; \
26670 r=`${PWD_COMMAND}`; export r; \
26671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26672 $(HOST_EXPORTS) \
26673 for flag in $(EXTRA_HOST_FLAGS) ; do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 echo "Doing info in sim" ; \
26677 (cd $(HOST_SUBDIR)/sim && \
26678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26680 "RANLIB=$${RANLIB}" \
26681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26682 info) \
26683 || exit 1
26685 @endif sim
26687 .PHONY: maybe-dvi-sim dvi-sim
26688 maybe-dvi-sim:
26689 @if sim
26690 maybe-dvi-sim: dvi-sim
26692 dvi-sim: \
26693 configure-sim
26694 @: $(MAKE); $(unstage)
26695 @[ -f ./sim/Makefile ] || exit 0; \
26696 r=`${PWD_COMMAND}`; export r; \
26697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26698 $(HOST_EXPORTS) \
26699 for flag in $(EXTRA_HOST_FLAGS) ; do \
26700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26701 done; \
26702 echo "Doing dvi in sim" ; \
26703 (cd $(HOST_SUBDIR)/sim && \
26704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26706 "RANLIB=$${RANLIB}" \
26707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26708 dvi) \
26709 || exit 1
26711 @endif sim
26713 .PHONY: maybe-pdf-sim pdf-sim
26714 maybe-pdf-sim:
26715 @if sim
26716 maybe-pdf-sim: pdf-sim
26718 pdf-sim: \
26719 configure-sim
26720 @: $(MAKE); $(unstage)
26721 @[ -f ./sim/Makefile ] || exit 0; \
26722 r=`${PWD_COMMAND}`; export r; \
26723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26724 $(HOST_EXPORTS) \
26725 for flag in $(EXTRA_HOST_FLAGS) ; do \
26726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26727 done; \
26728 echo "Doing pdf in sim" ; \
26729 (cd $(HOST_SUBDIR)/sim && \
26730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26732 "RANLIB=$${RANLIB}" \
26733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26734 pdf) \
26735 || exit 1
26737 @endif sim
26739 .PHONY: maybe-html-sim html-sim
26740 maybe-html-sim:
26741 @if sim
26742 maybe-html-sim: html-sim
26744 html-sim: \
26745 configure-sim
26746 @: $(MAKE); $(unstage)
26747 @[ -f ./sim/Makefile ] || exit 0; \
26748 r=`${PWD_COMMAND}`; export r; \
26749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26750 $(HOST_EXPORTS) \
26751 for flag in $(EXTRA_HOST_FLAGS) ; do \
26752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26753 done; \
26754 echo "Doing html in sim" ; \
26755 (cd $(HOST_SUBDIR)/sim && \
26756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26758 "RANLIB=$${RANLIB}" \
26759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26760 html) \
26761 || exit 1
26763 @endif sim
26765 .PHONY: maybe-TAGS-sim TAGS-sim
26766 maybe-TAGS-sim:
26767 @if sim
26768 maybe-TAGS-sim: TAGS-sim
26770 TAGS-sim: \
26771 configure-sim
26772 @: $(MAKE); $(unstage)
26773 @[ -f ./sim/Makefile ] || exit 0; \
26774 r=`${PWD_COMMAND}`; export r; \
26775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26776 $(HOST_EXPORTS) \
26777 for flag in $(EXTRA_HOST_FLAGS) ; do \
26778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26779 done; \
26780 echo "Doing TAGS in sim" ; \
26781 (cd $(HOST_SUBDIR)/sim && \
26782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26784 "RANLIB=$${RANLIB}" \
26785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26786 TAGS) \
26787 || exit 1
26789 @endif sim
26791 .PHONY: maybe-install-info-sim install-info-sim
26792 maybe-install-info-sim:
26793 @if sim
26794 maybe-install-info-sim: install-info-sim
26796 install-info-sim: \
26797 configure-sim \
26798 info-sim
26799 @: $(MAKE); $(unstage)
26800 @[ -f ./sim/Makefile ] || exit 0; \
26801 r=`${PWD_COMMAND}`; export r; \
26802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26803 $(HOST_EXPORTS) \
26804 for flag in $(EXTRA_HOST_FLAGS) ; do \
26805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26806 done; \
26807 echo "Doing install-info in sim" ; \
26808 (cd $(HOST_SUBDIR)/sim && \
26809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26811 "RANLIB=$${RANLIB}" \
26812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26813 install-info) \
26814 || exit 1
26816 @endif sim
26818 .PHONY: maybe-install-pdf-sim install-pdf-sim
26819 maybe-install-pdf-sim:
26820 @if sim
26821 maybe-install-pdf-sim: install-pdf-sim
26823 install-pdf-sim: \
26824 configure-sim \
26825 pdf-sim
26826 @: $(MAKE); $(unstage)
26827 @[ -f ./sim/Makefile ] || exit 0; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(HOST_EXPORTS) \
26831 for flag in $(EXTRA_HOST_FLAGS) ; do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 echo "Doing install-pdf in sim" ; \
26835 (cd $(HOST_SUBDIR)/sim && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26840 install-pdf) \
26841 || exit 1
26843 @endif sim
26845 .PHONY: maybe-install-html-sim install-html-sim
26846 maybe-install-html-sim:
26847 @if sim
26848 maybe-install-html-sim: install-html-sim
26850 install-html-sim: \
26851 configure-sim \
26852 html-sim
26853 @: $(MAKE); $(unstage)
26854 @[ -f ./sim/Makefile ] || exit 0; \
26855 r=`${PWD_COMMAND}`; export r; \
26856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26857 $(HOST_EXPORTS) \
26858 for flag in $(EXTRA_HOST_FLAGS) ; do \
26859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26860 done; \
26861 echo "Doing install-html in sim" ; \
26862 (cd $(HOST_SUBDIR)/sim && \
26863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26865 "RANLIB=$${RANLIB}" \
26866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26867 install-html) \
26868 || exit 1
26870 @endif sim
26872 .PHONY: maybe-installcheck-sim installcheck-sim
26873 maybe-installcheck-sim:
26874 @if sim
26875 maybe-installcheck-sim: installcheck-sim
26877 installcheck-sim: \
26878 configure-sim
26879 @: $(MAKE); $(unstage)
26880 @[ -f ./sim/Makefile ] || exit 0; \
26881 r=`${PWD_COMMAND}`; export r; \
26882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26883 $(HOST_EXPORTS) \
26884 for flag in $(EXTRA_HOST_FLAGS) ; do \
26885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26886 done; \
26887 echo "Doing installcheck in sim" ; \
26888 (cd $(HOST_SUBDIR)/sim && \
26889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26891 "RANLIB=$${RANLIB}" \
26892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26893 installcheck) \
26894 || exit 1
26896 @endif sim
26898 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26899 maybe-mostlyclean-sim:
26900 @if sim
26901 maybe-mostlyclean-sim: mostlyclean-sim
26903 mostlyclean-sim:
26904 @: $(MAKE); $(unstage)
26905 @[ -f ./sim/Makefile ] || exit 0; \
26906 r=`${PWD_COMMAND}`; export r; \
26907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26908 $(HOST_EXPORTS) \
26909 for flag in $(EXTRA_HOST_FLAGS) ; do \
26910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26911 done; \
26912 echo "Doing mostlyclean in sim" ; \
26913 (cd $(HOST_SUBDIR)/sim && \
26914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26916 "RANLIB=$${RANLIB}" \
26917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26918 mostlyclean) \
26919 || exit 1
26921 @endif sim
26923 .PHONY: maybe-clean-sim clean-sim
26924 maybe-clean-sim:
26925 @if sim
26926 maybe-clean-sim: clean-sim
26928 clean-sim:
26929 @: $(MAKE); $(unstage)
26930 @[ -f ./sim/Makefile ] || exit 0; \
26931 r=`${PWD_COMMAND}`; export r; \
26932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26933 $(HOST_EXPORTS) \
26934 for flag in $(EXTRA_HOST_FLAGS) ; do \
26935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26936 done; \
26937 echo "Doing clean in sim" ; \
26938 (cd $(HOST_SUBDIR)/sim && \
26939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26941 "RANLIB=$${RANLIB}" \
26942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26943 clean) \
26944 || exit 1
26946 @endif sim
26948 .PHONY: maybe-distclean-sim distclean-sim
26949 maybe-distclean-sim:
26950 @if sim
26951 maybe-distclean-sim: distclean-sim
26953 distclean-sim:
26954 @: $(MAKE); $(unstage)
26955 @[ -f ./sim/Makefile ] || exit 0; \
26956 r=`${PWD_COMMAND}`; export r; \
26957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26958 $(HOST_EXPORTS) \
26959 for flag in $(EXTRA_HOST_FLAGS) ; do \
26960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26961 done; \
26962 echo "Doing distclean in sim" ; \
26963 (cd $(HOST_SUBDIR)/sim && \
26964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26966 "RANLIB=$${RANLIB}" \
26967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26968 distclean) \
26969 || exit 1
26971 @endif sim
26973 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26974 maybe-maintainer-clean-sim:
26975 @if sim
26976 maybe-maintainer-clean-sim: maintainer-clean-sim
26978 maintainer-clean-sim:
26979 @: $(MAKE); $(unstage)
26980 @[ -f ./sim/Makefile ] || exit 0; \
26981 r=`${PWD_COMMAND}`; export r; \
26982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26983 $(HOST_EXPORTS) \
26984 for flag in $(EXTRA_HOST_FLAGS) ; do \
26985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26986 done; \
26987 echo "Doing maintainer-clean in sim" ; \
26988 (cd $(HOST_SUBDIR)/sim && \
26989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26991 "RANLIB=$${RANLIB}" \
26992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26993 maintainer-clean) \
26994 || exit 1
26996 @endif sim
27000 .PHONY: configure-texinfo maybe-configure-texinfo
27001 maybe-configure-texinfo:
27002 @if gcc-bootstrap
27003 configure-texinfo: stage_current
27004 @endif gcc-bootstrap
27005 @if texinfo
27006 maybe-configure-texinfo: configure-texinfo
27007 configure-texinfo:
27008 @: $(MAKE); $(unstage)
27009 @r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
27012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
27013 $(HOST_EXPORTS) \
27014 echo Configuring in $(HOST_SUBDIR)/texinfo; \
27015 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
27016 case $(srcdir) in \
27017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27018 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
27019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27020 esac; \
27021 module_srcdir=texinfo; \
27022 $(SHELL) \
27023 $$s/$$module_srcdir/configure \
27024 --srcdir=$${topdir}/$$module_srcdir \
27025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27026 --target=${target_alias} \
27027 || exit 1
27028 @endif texinfo
27034 .PHONY: all-texinfo maybe-all-texinfo
27035 maybe-all-texinfo:
27036 @if gcc-bootstrap
27037 all-texinfo: stage_current
27038 @endif gcc-bootstrap
27039 @if texinfo
27040 TARGET-texinfo=all
27041 maybe-all-texinfo: all-texinfo
27042 all-texinfo: configure-texinfo
27043 @: $(MAKE); $(unstage)
27044 @r=`${PWD_COMMAND}`; export r; \
27045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27046 $(HOST_EXPORTS) \
27047 (cd $(HOST_SUBDIR)/texinfo && \
27048 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27049 $(TARGET-texinfo))
27050 @endif texinfo
27055 .PHONY: check-texinfo maybe-check-texinfo
27056 maybe-check-texinfo:
27057 @if texinfo
27058 maybe-check-texinfo: check-texinfo
27060 check-texinfo:
27061 @: $(MAKE); $(unstage)
27062 @r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27064 $(HOST_EXPORTS) \
27065 (cd $(HOST_SUBDIR)/texinfo && \
27066 $(MAKE) $(FLAGS_TO_PASS) check)
27068 @endif texinfo
27070 .PHONY: install-texinfo maybe-install-texinfo
27071 maybe-install-texinfo:
27072 @if texinfo
27073 maybe-install-texinfo: install-texinfo
27075 install-texinfo:
27077 @endif texinfo
27079 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
27080 maybe-install-strip-texinfo:
27081 @if texinfo
27082 maybe-install-strip-texinfo: install-strip-texinfo
27084 install-strip-texinfo:
27086 @endif texinfo
27088 # Other targets (info, dvi, pdf, etc.)
27090 .PHONY: maybe-info-texinfo info-texinfo
27091 maybe-info-texinfo:
27092 @if texinfo
27093 maybe-info-texinfo: info-texinfo
27095 info-texinfo: \
27096 configure-texinfo
27097 @: $(MAKE); $(unstage)
27098 @[ -f ./texinfo/Makefile ] || exit 0; \
27099 r=`${PWD_COMMAND}`; export r; \
27100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27101 $(HOST_EXPORTS) \
27102 for flag in $(EXTRA_HOST_FLAGS) ; do \
27103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27104 done; \
27105 echo "Doing info in texinfo" ; \
27106 (cd $(HOST_SUBDIR)/texinfo && \
27107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27109 "RANLIB=$${RANLIB}" \
27110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27111 info) \
27112 || exit 1
27114 @endif texinfo
27116 .PHONY: maybe-dvi-texinfo dvi-texinfo
27117 maybe-dvi-texinfo:
27118 @if texinfo
27119 maybe-dvi-texinfo: dvi-texinfo
27121 dvi-texinfo: \
27122 configure-texinfo
27123 @: $(MAKE); $(unstage)
27124 @[ -f ./texinfo/Makefile ] || exit 0; \
27125 r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127 $(HOST_EXPORTS) \
27128 for flag in $(EXTRA_HOST_FLAGS) ; do \
27129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27130 done; \
27131 echo "Doing dvi in texinfo" ; \
27132 (cd $(HOST_SUBDIR)/texinfo && \
27133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27135 "RANLIB=$${RANLIB}" \
27136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27137 dvi) \
27138 || exit 1
27140 @endif texinfo
27142 .PHONY: maybe-pdf-texinfo pdf-texinfo
27143 maybe-pdf-texinfo:
27144 @if texinfo
27145 maybe-pdf-texinfo: pdf-texinfo
27147 pdf-texinfo: \
27148 configure-texinfo
27149 @: $(MAKE); $(unstage)
27150 @[ -f ./texinfo/Makefile ] || exit 0; \
27151 r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(HOST_EXPORTS) \
27154 for flag in $(EXTRA_HOST_FLAGS) ; do \
27155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27156 done; \
27157 echo "Doing pdf in texinfo" ; \
27158 (cd $(HOST_SUBDIR)/texinfo && \
27159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27161 "RANLIB=$${RANLIB}" \
27162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27163 pdf) \
27164 || exit 1
27166 @endif texinfo
27168 .PHONY: maybe-html-texinfo html-texinfo
27169 maybe-html-texinfo:
27170 @if texinfo
27171 maybe-html-texinfo: html-texinfo
27173 html-texinfo: \
27174 configure-texinfo
27175 @: $(MAKE); $(unstage)
27176 @[ -f ./texinfo/Makefile ] || exit 0; \
27177 r=`${PWD_COMMAND}`; export r; \
27178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27179 $(HOST_EXPORTS) \
27180 for flag in $(EXTRA_HOST_FLAGS) ; do \
27181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27182 done; \
27183 echo "Doing html in texinfo" ; \
27184 (cd $(HOST_SUBDIR)/texinfo && \
27185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27187 "RANLIB=$${RANLIB}" \
27188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27189 html) \
27190 || exit 1
27192 @endif texinfo
27194 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
27195 maybe-TAGS-texinfo:
27196 @if texinfo
27197 maybe-TAGS-texinfo: TAGS-texinfo
27199 TAGS-texinfo: \
27200 configure-texinfo
27201 @: $(MAKE); $(unstage)
27202 @[ -f ./texinfo/Makefile ] || exit 0; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27205 $(HOST_EXPORTS) \
27206 for flag in $(EXTRA_HOST_FLAGS) ; do \
27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27208 done; \
27209 echo "Doing TAGS in texinfo" ; \
27210 (cd $(HOST_SUBDIR)/texinfo && \
27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27213 "RANLIB=$${RANLIB}" \
27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27215 TAGS) \
27216 || exit 1
27218 @endif texinfo
27220 .PHONY: maybe-install-info-texinfo install-info-texinfo
27221 maybe-install-info-texinfo:
27222 @if texinfo
27223 maybe-install-info-texinfo: install-info-texinfo
27225 install-info-texinfo: \
27226 configure-texinfo \
27227 info-texinfo
27228 @: $(MAKE); $(unstage)
27229 @[ -f ./texinfo/Makefile ] || exit 0; \
27230 r=`${PWD_COMMAND}`; export r; \
27231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(HOST_EXPORTS) \
27233 for flag in $(EXTRA_HOST_FLAGS) ; do \
27234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27235 done; \
27236 echo "Doing install-info in texinfo" ; \
27237 (cd $(HOST_SUBDIR)/texinfo && \
27238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27240 "RANLIB=$${RANLIB}" \
27241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27242 install-info) \
27243 || exit 1
27245 @endif texinfo
27247 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
27248 maybe-install-pdf-texinfo:
27249 @if texinfo
27250 maybe-install-pdf-texinfo: install-pdf-texinfo
27252 install-pdf-texinfo: \
27253 configure-texinfo \
27254 pdf-texinfo
27255 @: $(MAKE); $(unstage)
27256 @[ -f ./texinfo/Makefile ] || exit 0; \
27257 r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 $(HOST_EXPORTS) \
27260 for flag in $(EXTRA_HOST_FLAGS) ; do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 done; \
27263 echo "Doing install-pdf in texinfo" ; \
27264 (cd $(HOST_SUBDIR)/texinfo && \
27265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27267 "RANLIB=$${RANLIB}" \
27268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27269 install-pdf) \
27270 || exit 1
27272 @endif texinfo
27274 .PHONY: maybe-install-html-texinfo install-html-texinfo
27275 maybe-install-html-texinfo:
27276 @if texinfo
27277 maybe-install-html-texinfo: install-html-texinfo
27279 install-html-texinfo: \
27280 configure-texinfo \
27281 html-texinfo
27282 @: $(MAKE); $(unstage)
27283 @[ -f ./texinfo/Makefile ] || exit 0; \
27284 r=`${PWD_COMMAND}`; export r; \
27285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27286 $(HOST_EXPORTS) \
27287 for flag in $(EXTRA_HOST_FLAGS) ; do \
27288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27289 done; \
27290 echo "Doing install-html in texinfo" ; \
27291 (cd $(HOST_SUBDIR)/texinfo && \
27292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27294 "RANLIB=$${RANLIB}" \
27295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27296 install-html) \
27297 || exit 1
27299 @endif texinfo
27301 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
27302 maybe-installcheck-texinfo:
27303 @if texinfo
27304 maybe-installcheck-texinfo: installcheck-texinfo
27306 installcheck-texinfo: \
27307 configure-texinfo
27308 @: $(MAKE); $(unstage)
27309 @[ -f ./texinfo/Makefile ] || exit 0; \
27310 r=`${PWD_COMMAND}`; export r; \
27311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27312 $(HOST_EXPORTS) \
27313 for flag in $(EXTRA_HOST_FLAGS) ; do \
27314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27315 done; \
27316 echo "Doing installcheck in texinfo" ; \
27317 (cd $(HOST_SUBDIR)/texinfo && \
27318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27320 "RANLIB=$${RANLIB}" \
27321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27322 installcheck) \
27323 || exit 1
27325 @endif texinfo
27327 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
27328 maybe-mostlyclean-texinfo:
27329 @if texinfo
27330 maybe-mostlyclean-texinfo: mostlyclean-texinfo
27332 mostlyclean-texinfo:
27333 @: $(MAKE); $(unstage)
27334 @[ -f ./texinfo/Makefile ] || exit 0; \
27335 r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 $(HOST_EXPORTS) \
27338 for flag in $(EXTRA_HOST_FLAGS) ; do \
27339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27340 done; \
27341 echo "Doing mostlyclean in texinfo" ; \
27342 (cd $(HOST_SUBDIR)/texinfo && \
27343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27345 "RANLIB=$${RANLIB}" \
27346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27347 mostlyclean) \
27348 || exit 1
27350 @endif texinfo
27352 .PHONY: maybe-clean-texinfo clean-texinfo
27353 maybe-clean-texinfo:
27354 @if texinfo
27355 maybe-clean-texinfo: clean-texinfo
27357 clean-texinfo:
27358 @: $(MAKE); $(unstage)
27359 @[ -f ./texinfo/Makefile ] || exit 0; \
27360 r=`${PWD_COMMAND}`; export r; \
27361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(HOST_EXPORTS) \
27363 for flag in $(EXTRA_HOST_FLAGS) ; do \
27364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27365 done; \
27366 echo "Doing clean in texinfo" ; \
27367 (cd $(HOST_SUBDIR)/texinfo && \
27368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27370 "RANLIB=$${RANLIB}" \
27371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27372 clean) \
27373 || exit 1
27375 @endif texinfo
27377 .PHONY: maybe-distclean-texinfo distclean-texinfo
27378 maybe-distclean-texinfo:
27379 @if texinfo
27380 maybe-distclean-texinfo: distclean-texinfo
27382 distclean-texinfo:
27383 @: $(MAKE); $(unstage)
27384 @[ -f ./texinfo/Makefile ] || exit 0; \
27385 r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 for flag in $(EXTRA_HOST_FLAGS) ; do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 echo "Doing distclean in texinfo" ; \
27392 (cd $(HOST_SUBDIR)/texinfo && \
27393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27395 "RANLIB=$${RANLIB}" \
27396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27397 distclean) \
27398 || exit 1
27400 @endif texinfo
27402 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
27403 maybe-maintainer-clean-texinfo:
27404 @if texinfo
27405 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
27407 maintainer-clean-texinfo:
27408 @: $(MAKE); $(unstage)
27409 @[ -f ./texinfo/Makefile ] || exit 0; \
27410 r=`${PWD_COMMAND}`; export r; \
27411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27412 $(HOST_EXPORTS) \
27413 for flag in $(EXTRA_HOST_FLAGS) ; do \
27414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27415 done; \
27416 echo "Doing maintainer-clean in texinfo" ; \
27417 (cd $(HOST_SUBDIR)/texinfo && \
27418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27420 "RANLIB=$${RANLIB}" \
27421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27422 maintainer-clean) \
27423 || exit 1
27425 @endif texinfo
27429 .PHONY: configure-zlib maybe-configure-zlib
27430 maybe-configure-zlib:
27431 @if gcc-bootstrap
27432 configure-zlib: stage_current
27433 @endif gcc-bootstrap
27434 @if zlib
27435 maybe-configure-zlib: configure-zlib
27436 configure-zlib:
27437 @r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27441 $(HOST_EXPORTS) \
27442 echo Configuring in $(HOST_SUBDIR)/zlib; \
27443 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
27444 case $(srcdir) in \
27445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27446 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27448 esac; \
27449 module_srcdir=zlib; \
27450 $(SHELL) \
27451 $$s/$$module_srcdir/configure \
27452 --srcdir=$${topdir}/$$module_srcdir \
27453 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27454 --target=${target_alias} \
27455 || exit 1
27456 @endif zlib
27460 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
27461 maybe-configure-stage1-zlib:
27462 @if zlib-bootstrap
27463 maybe-configure-stage1-zlib: configure-stage1-zlib
27464 configure-stage1-zlib:
27465 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27467 @r=`${PWD_COMMAND}`; export r; \
27468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27469 TFLAGS="$(STAGE1_TFLAGS)"; \
27470 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27471 $(HOST_EXPORTS) \
27472 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27473 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27474 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27475 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
27476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27477 cd $(HOST_SUBDIR)/zlib || exit 1; \
27478 case $(srcdir) in \
27479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27480 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27482 esac; \
27483 module_srcdir=zlib; \
27484 $(SHELL) $$s/$$module_srcdir/configure \
27485 --srcdir=$${topdir}/$$module_srcdir \
27486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27487 --target=${target_alias} \
27489 $(STAGE1_CONFIGURE_FLAGS)
27490 @endif zlib-bootstrap
27492 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
27493 maybe-configure-stage2-zlib:
27494 @if zlib-bootstrap
27495 maybe-configure-stage2-zlib: configure-stage2-zlib
27496 configure-stage2-zlib:
27497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27498 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27499 @r=`${PWD_COMMAND}`; export r; \
27500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27501 TFLAGS="$(STAGE2_TFLAGS)"; \
27502 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27503 $(HOST_EXPORTS) \
27504 $(POSTSTAGE1_HOST_EXPORTS) \
27505 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27506 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27507 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27508 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
27509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27510 cd $(HOST_SUBDIR)/zlib || exit 1; \
27511 case $(srcdir) in \
27512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27513 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27515 esac; \
27516 module_srcdir=zlib; \
27517 $(SHELL) $$s/$$module_srcdir/configure \
27518 --srcdir=$${topdir}/$$module_srcdir \
27519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27520 --target=${target_alias} \
27521 --with-build-libsubdir=$(HOST_SUBDIR) \
27522 $(STAGE2_CONFIGURE_FLAGS)
27523 @endif zlib-bootstrap
27525 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
27526 maybe-configure-stage3-zlib:
27527 @if zlib-bootstrap
27528 maybe-configure-stage3-zlib: configure-stage3-zlib
27529 configure-stage3-zlib:
27530 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27532 @r=`${PWD_COMMAND}`; export r; \
27533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27534 TFLAGS="$(STAGE3_TFLAGS)"; \
27535 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27536 $(HOST_EXPORTS) \
27537 $(POSTSTAGE1_HOST_EXPORTS) \
27538 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27539 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27540 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27541 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
27542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27543 cd $(HOST_SUBDIR)/zlib || exit 1; \
27544 case $(srcdir) in \
27545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27546 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27548 esac; \
27549 module_srcdir=zlib; \
27550 $(SHELL) $$s/$$module_srcdir/configure \
27551 --srcdir=$${topdir}/$$module_srcdir \
27552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27553 --target=${target_alias} \
27554 --with-build-libsubdir=$(HOST_SUBDIR) \
27555 $(STAGE3_CONFIGURE_FLAGS)
27556 @endif zlib-bootstrap
27558 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
27559 maybe-configure-stage4-zlib:
27560 @if zlib-bootstrap
27561 maybe-configure-stage4-zlib: configure-stage4-zlib
27562 configure-stage4-zlib:
27563 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27564 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27565 @r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 TFLAGS="$(STAGE4_TFLAGS)"; \
27568 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27569 $(HOST_EXPORTS) \
27570 $(POSTSTAGE1_HOST_EXPORTS) \
27571 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27572 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27573 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27574 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
27575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27576 cd $(HOST_SUBDIR)/zlib || exit 1; \
27577 case $(srcdir) in \
27578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27579 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27581 esac; \
27582 module_srcdir=zlib; \
27583 $(SHELL) $$s/$$module_srcdir/configure \
27584 --srcdir=$${topdir}/$$module_srcdir \
27585 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27586 --target=${target_alias} \
27587 --with-build-libsubdir=$(HOST_SUBDIR) \
27588 $(STAGE4_CONFIGURE_FLAGS)
27589 @endif zlib-bootstrap
27591 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
27592 maybe-configure-stageprofile-zlib:
27593 @if zlib-bootstrap
27594 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
27595 configure-stageprofile-zlib:
27596 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27598 @r=`${PWD_COMMAND}`; export r; \
27599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27600 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27601 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27602 $(HOST_EXPORTS) \
27603 $(POSTSTAGE1_HOST_EXPORTS) \
27604 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27605 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27606 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27607 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
27608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27609 cd $(HOST_SUBDIR)/zlib || exit 1; \
27610 case $(srcdir) in \
27611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27612 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27614 esac; \
27615 module_srcdir=zlib; \
27616 $(SHELL) $$s/$$module_srcdir/configure \
27617 --srcdir=$${topdir}/$$module_srcdir \
27618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27619 --target=${target_alias} \
27620 --with-build-libsubdir=$(HOST_SUBDIR) \
27621 $(STAGEprofile_CONFIGURE_FLAGS)
27622 @endif zlib-bootstrap
27624 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
27625 maybe-configure-stagefeedback-zlib:
27626 @if zlib-bootstrap
27627 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
27628 configure-stagefeedback-zlib:
27629 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
27631 @r=`${PWD_COMMAND}`; export r; \
27632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27633 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27634 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
27635 $(HOST_EXPORTS) \
27636 $(POSTSTAGE1_HOST_EXPORTS) \
27637 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27638 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27639 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27640 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
27641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
27642 cd $(HOST_SUBDIR)/zlib || exit 1; \
27643 case $(srcdir) in \
27644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27645 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
27646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27647 esac; \
27648 module_srcdir=zlib; \
27649 $(SHELL) $$s/$$module_srcdir/configure \
27650 --srcdir=$${topdir}/$$module_srcdir \
27651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27652 --target=${target_alias} \
27653 --with-build-libsubdir=$(HOST_SUBDIR) \
27654 $(STAGEfeedback_CONFIGURE_FLAGS)
27655 @endif zlib-bootstrap
27661 .PHONY: all-zlib maybe-all-zlib
27662 maybe-all-zlib:
27663 @if gcc-bootstrap
27664 all-zlib: stage_current
27665 @endif gcc-bootstrap
27666 @if zlib
27667 TARGET-zlib=all
27668 maybe-all-zlib: all-zlib
27669 all-zlib: configure-zlib
27670 @r=`${PWD_COMMAND}`; export r; \
27671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 $(HOST_EXPORTS) \
27673 (cd $(HOST_SUBDIR)/zlib && \
27674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27675 $(TARGET-zlib))
27676 @endif zlib
27680 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
27681 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
27682 maybe-all-stage1-zlib:
27683 maybe-clean-stage1-zlib:
27684 @if zlib-bootstrap
27685 maybe-all-stage1-zlib: all-stage1-zlib
27686 all-stage1: all-stage1-zlib
27687 TARGET-stage1-zlib = $(TARGET-zlib)
27688 all-stage1-zlib: configure-stage1-zlib
27689 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27690 @r=`${PWD_COMMAND}`; export r; \
27691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27692 TFLAGS="$(STAGE1_TFLAGS)"; \
27693 $(HOST_EXPORTS) \
27694 cd $(HOST_SUBDIR)/zlib && \
27695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27696 CFLAGS="$(STAGE1_CFLAGS)" \
27697 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27698 LIBCFLAGS="$(LIBCFLAGS)" \
27699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27702 $(EXTRA_HOST_FLAGS) \
27703 $(STAGE1_FLAGS_TO_PASS) \
27704 TFLAGS="$(STAGE1_TFLAGS)" \
27705 $(TARGET-stage1-zlib)
27707 maybe-clean-stage1-zlib: clean-stage1-zlib
27708 clean-stage1: clean-stage1-zlib
27709 clean-stage1-zlib:
27710 @if [ $(current_stage) = stage1 ]; then \
27711 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27712 else \
27713 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
27714 $(MAKE) stage1-start; \
27715 fi; \
27716 cd $(HOST_SUBDIR)/zlib && \
27717 $(MAKE) $(EXTRA_HOST_FLAGS) \
27718 $(STAGE1_FLAGS_TO_PASS) clean
27719 @endif zlib-bootstrap
27722 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
27723 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
27724 maybe-all-stage2-zlib:
27725 maybe-clean-stage2-zlib:
27726 @if zlib-bootstrap
27727 maybe-all-stage2-zlib: all-stage2-zlib
27728 all-stage2: all-stage2-zlib
27729 TARGET-stage2-zlib = $(TARGET-zlib)
27730 all-stage2-zlib: configure-stage2-zlib
27731 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27732 @r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734 TFLAGS="$(STAGE2_TFLAGS)"; \
27735 $(HOST_EXPORTS) \
27736 $(POSTSTAGE1_HOST_EXPORTS) \
27737 cd $(HOST_SUBDIR)/zlib && \
27738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27739 CFLAGS="$(STAGE2_CFLAGS)" \
27740 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27741 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27746 TFLAGS="$(STAGE2_TFLAGS)" \
27747 $(TARGET-stage2-zlib)
27749 maybe-clean-stage2-zlib: clean-stage2-zlib
27750 clean-stage2: clean-stage2-zlib
27751 clean-stage2-zlib:
27752 @if [ $(current_stage) = stage2 ]; then \
27753 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27754 else \
27755 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
27756 $(MAKE) stage2-start; \
27757 fi; \
27758 cd $(HOST_SUBDIR)/zlib && \
27759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27760 @endif zlib-bootstrap
27763 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27764 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27765 maybe-all-stage3-zlib:
27766 maybe-clean-stage3-zlib:
27767 @if zlib-bootstrap
27768 maybe-all-stage3-zlib: all-stage3-zlib
27769 all-stage3: all-stage3-zlib
27770 TARGET-stage3-zlib = $(TARGET-zlib)
27771 all-stage3-zlib: configure-stage3-zlib
27772 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27773 @r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27775 TFLAGS="$(STAGE3_TFLAGS)"; \
27776 $(HOST_EXPORTS) \
27777 $(POSTSTAGE1_HOST_EXPORTS) \
27778 cd $(HOST_SUBDIR)/zlib && \
27779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27780 CFLAGS="$(STAGE3_CFLAGS)" \
27781 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27782 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27786 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27787 TFLAGS="$(STAGE3_TFLAGS)" \
27788 $(TARGET-stage3-zlib)
27790 maybe-clean-stage3-zlib: clean-stage3-zlib
27791 clean-stage3: clean-stage3-zlib
27792 clean-stage3-zlib:
27793 @if [ $(current_stage) = stage3 ]; then \
27794 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27795 else \
27796 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27797 $(MAKE) stage3-start; \
27798 fi; \
27799 cd $(HOST_SUBDIR)/zlib && \
27800 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27801 @endif zlib-bootstrap
27804 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27805 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27806 maybe-all-stage4-zlib:
27807 maybe-clean-stage4-zlib:
27808 @if zlib-bootstrap
27809 maybe-all-stage4-zlib: all-stage4-zlib
27810 all-stage4: all-stage4-zlib
27811 TARGET-stage4-zlib = $(TARGET-zlib)
27812 all-stage4-zlib: configure-stage4-zlib
27813 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27814 @r=`${PWD_COMMAND}`; export r; \
27815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27816 TFLAGS="$(STAGE4_TFLAGS)"; \
27817 $(HOST_EXPORTS) \
27818 $(POSTSTAGE1_HOST_EXPORTS) \
27819 cd $(HOST_SUBDIR)/zlib && \
27820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27821 CFLAGS="$(STAGE4_CFLAGS)" \
27822 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27823 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27824 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27825 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27826 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27827 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27828 TFLAGS="$(STAGE4_TFLAGS)" \
27829 $(TARGET-stage4-zlib)
27831 maybe-clean-stage4-zlib: clean-stage4-zlib
27832 clean-stage4: clean-stage4-zlib
27833 clean-stage4-zlib:
27834 @if [ $(current_stage) = stage4 ]; then \
27835 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27836 else \
27837 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27838 $(MAKE) stage4-start; \
27839 fi; \
27840 cd $(HOST_SUBDIR)/zlib && \
27841 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27842 @endif zlib-bootstrap
27845 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27846 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27847 maybe-all-stageprofile-zlib:
27848 maybe-clean-stageprofile-zlib:
27849 @if zlib-bootstrap
27850 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27851 all-stageprofile: all-stageprofile-zlib
27852 TARGET-stageprofile-zlib = $(TARGET-zlib)
27853 all-stageprofile-zlib: configure-stageprofile-zlib
27854 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27855 @r=`${PWD_COMMAND}`; export r; \
27856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27857 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27858 $(HOST_EXPORTS) \
27859 $(POSTSTAGE1_HOST_EXPORTS) \
27860 cd $(HOST_SUBDIR)/zlib && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27862 CFLAGS="$(STAGEprofile_CFLAGS)" \
27863 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27864 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27869 TFLAGS="$(STAGEprofile_TFLAGS)" \
27870 $(TARGET-stageprofile-zlib)
27872 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27873 clean-stageprofile: clean-stageprofile-zlib
27874 clean-stageprofile-zlib:
27875 @if [ $(current_stage) = stageprofile ]; then \
27876 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27877 else \
27878 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27879 $(MAKE) stageprofile-start; \
27880 fi; \
27881 cd $(HOST_SUBDIR)/zlib && \
27882 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27883 @endif zlib-bootstrap
27886 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27887 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27888 maybe-all-stagefeedback-zlib:
27889 maybe-clean-stagefeedback-zlib:
27890 @if zlib-bootstrap
27891 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27892 all-stagefeedback: all-stagefeedback-zlib
27893 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27894 all-stagefeedback-zlib: configure-stagefeedback-zlib
27895 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27896 @r=`${PWD_COMMAND}`; export r; \
27897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27898 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27899 $(HOST_EXPORTS) \
27900 $(POSTSTAGE1_HOST_EXPORTS) \
27901 cd $(HOST_SUBDIR)/zlib && \
27902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27903 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27904 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27905 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27906 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27907 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27908 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27909 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27910 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27911 $(TARGET-stagefeedback-zlib)
27913 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27914 clean-stagefeedback: clean-stagefeedback-zlib
27915 clean-stagefeedback-zlib:
27916 @if [ $(current_stage) = stagefeedback ]; then \
27917 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27918 else \
27919 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27920 $(MAKE) stagefeedback-start; \
27921 fi; \
27922 cd $(HOST_SUBDIR)/zlib && \
27923 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27924 @endif zlib-bootstrap
27930 .PHONY: check-zlib maybe-check-zlib
27931 maybe-check-zlib:
27932 @if zlib
27933 maybe-check-zlib: check-zlib
27935 check-zlib:
27937 @endif zlib
27939 .PHONY: install-zlib maybe-install-zlib
27940 maybe-install-zlib:
27941 @if zlib
27942 maybe-install-zlib: install-zlib
27944 install-zlib:
27946 @endif zlib
27948 .PHONY: install-strip-zlib maybe-install-strip-zlib
27949 maybe-install-strip-zlib:
27950 @if zlib
27951 maybe-install-strip-zlib: install-strip-zlib
27953 install-strip-zlib:
27955 @endif zlib
27957 # Other targets (info, dvi, pdf, etc.)
27959 .PHONY: maybe-info-zlib info-zlib
27960 maybe-info-zlib:
27961 @if zlib
27962 maybe-info-zlib: info-zlib
27964 info-zlib: \
27965 configure-zlib
27966 @[ -f ./zlib/Makefile ] || exit 0; \
27967 r=`${PWD_COMMAND}`; export r; \
27968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27969 $(HOST_EXPORTS) \
27970 for flag in $(EXTRA_HOST_FLAGS) ; do \
27971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27972 done; \
27973 echo "Doing info in zlib" ; \
27974 (cd $(HOST_SUBDIR)/zlib && \
27975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27977 "RANLIB=$${RANLIB}" \
27978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27979 info) \
27980 || exit 1
27982 @endif zlib
27984 .PHONY: maybe-dvi-zlib dvi-zlib
27985 maybe-dvi-zlib:
27986 @if zlib
27987 maybe-dvi-zlib: dvi-zlib
27989 dvi-zlib: \
27990 configure-zlib
27991 @[ -f ./zlib/Makefile ] || exit 0; \
27992 r=`${PWD_COMMAND}`; export r; \
27993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27994 $(HOST_EXPORTS) \
27995 for flag in $(EXTRA_HOST_FLAGS) ; do \
27996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27997 done; \
27998 echo "Doing dvi in zlib" ; \
27999 (cd $(HOST_SUBDIR)/zlib && \
28000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28002 "RANLIB=$${RANLIB}" \
28003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28004 dvi) \
28005 || exit 1
28007 @endif zlib
28009 .PHONY: maybe-pdf-zlib pdf-zlib
28010 maybe-pdf-zlib:
28011 @if zlib
28012 maybe-pdf-zlib: pdf-zlib
28014 pdf-zlib: \
28015 configure-zlib
28016 @[ -f ./zlib/Makefile ] || exit 0; \
28017 r=`${PWD_COMMAND}`; export r; \
28018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28019 $(HOST_EXPORTS) \
28020 for flag in $(EXTRA_HOST_FLAGS) ; do \
28021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28022 done; \
28023 echo "Doing pdf in zlib" ; \
28024 (cd $(HOST_SUBDIR)/zlib && \
28025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28027 "RANLIB=$${RANLIB}" \
28028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28029 pdf) \
28030 || exit 1
28032 @endif zlib
28034 .PHONY: maybe-html-zlib html-zlib
28035 maybe-html-zlib:
28036 @if zlib
28037 maybe-html-zlib: html-zlib
28039 html-zlib: \
28040 configure-zlib
28041 @[ -f ./zlib/Makefile ] || exit 0; \
28042 r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 for flag in $(EXTRA_HOST_FLAGS) ; do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 echo "Doing html in zlib" ; \
28049 (cd $(HOST_SUBDIR)/zlib && \
28050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28052 "RANLIB=$${RANLIB}" \
28053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28054 html) \
28055 || exit 1
28057 @endif zlib
28059 .PHONY: maybe-TAGS-zlib TAGS-zlib
28060 maybe-TAGS-zlib:
28061 @if zlib
28062 maybe-TAGS-zlib: TAGS-zlib
28064 TAGS-zlib: \
28065 configure-zlib
28066 @[ -f ./zlib/Makefile ] || exit 0; \
28067 r=`${PWD_COMMAND}`; export r; \
28068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28069 $(HOST_EXPORTS) \
28070 for flag in $(EXTRA_HOST_FLAGS) ; do \
28071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28072 done; \
28073 echo "Doing TAGS in zlib" ; \
28074 (cd $(HOST_SUBDIR)/zlib && \
28075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28077 "RANLIB=$${RANLIB}" \
28078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28079 TAGS) \
28080 || exit 1
28082 @endif zlib
28084 .PHONY: maybe-install-info-zlib install-info-zlib
28085 maybe-install-info-zlib:
28086 @if zlib
28087 maybe-install-info-zlib: install-info-zlib
28089 install-info-zlib: \
28090 configure-zlib \
28091 info-zlib
28092 @[ -f ./zlib/Makefile ] || exit 0; \
28093 r=`${PWD_COMMAND}`; export r; \
28094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 $(HOST_EXPORTS) \
28096 for flag in $(EXTRA_HOST_FLAGS) ; do \
28097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28098 done; \
28099 echo "Doing install-info in zlib" ; \
28100 (cd $(HOST_SUBDIR)/zlib && \
28101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28103 "RANLIB=$${RANLIB}" \
28104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28105 install-info) \
28106 || exit 1
28108 @endif zlib
28110 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
28111 maybe-install-pdf-zlib:
28112 @if zlib
28113 maybe-install-pdf-zlib: install-pdf-zlib
28115 install-pdf-zlib: \
28116 configure-zlib \
28117 pdf-zlib
28118 @[ -f ./zlib/Makefile ] || exit 0; \
28119 r=`${PWD_COMMAND}`; export r; \
28120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28121 $(HOST_EXPORTS) \
28122 for flag in $(EXTRA_HOST_FLAGS) ; do \
28123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28124 done; \
28125 echo "Doing install-pdf in zlib" ; \
28126 (cd $(HOST_SUBDIR)/zlib && \
28127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28129 "RANLIB=$${RANLIB}" \
28130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28131 install-pdf) \
28132 || exit 1
28134 @endif zlib
28136 .PHONY: maybe-install-html-zlib install-html-zlib
28137 maybe-install-html-zlib:
28138 @if zlib
28139 maybe-install-html-zlib: install-html-zlib
28141 install-html-zlib: \
28142 configure-zlib \
28143 html-zlib
28144 @[ -f ./zlib/Makefile ] || exit 0; \
28145 r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 $(HOST_EXPORTS) \
28148 for flag in $(EXTRA_HOST_FLAGS) ; do \
28149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28150 done; \
28151 echo "Doing install-html in zlib" ; \
28152 (cd $(HOST_SUBDIR)/zlib && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28157 install-html) \
28158 || exit 1
28160 @endif zlib
28162 .PHONY: maybe-installcheck-zlib installcheck-zlib
28163 maybe-installcheck-zlib:
28164 @if zlib
28165 maybe-installcheck-zlib: installcheck-zlib
28167 installcheck-zlib: \
28168 configure-zlib
28169 @[ -f ./zlib/Makefile ] || exit 0; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(HOST_EXPORTS) \
28173 for flag in $(EXTRA_HOST_FLAGS) ; do \
28174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28175 done; \
28176 echo "Doing installcheck in zlib" ; \
28177 (cd $(HOST_SUBDIR)/zlib && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28182 installcheck) \
28183 || exit 1
28185 @endif zlib
28187 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
28188 maybe-mostlyclean-zlib:
28189 @if zlib
28190 maybe-mostlyclean-zlib: mostlyclean-zlib
28192 mostlyclean-zlib:
28193 @[ -f ./zlib/Makefile ] || exit 0; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(HOST_EXPORTS) \
28197 for flag in $(EXTRA_HOST_FLAGS) ; do \
28198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28199 done; \
28200 echo "Doing mostlyclean in zlib" ; \
28201 (cd $(HOST_SUBDIR)/zlib && \
28202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204 "RANLIB=$${RANLIB}" \
28205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28206 mostlyclean) \
28207 || exit 1
28209 @endif zlib
28211 .PHONY: maybe-clean-zlib clean-zlib
28212 maybe-clean-zlib:
28213 @if zlib
28214 maybe-clean-zlib: clean-zlib
28216 clean-zlib:
28217 @[ -f ./zlib/Makefile ] || exit 0; \
28218 r=`${PWD_COMMAND}`; export r; \
28219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28220 $(HOST_EXPORTS) \
28221 for flag in $(EXTRA_HOST_FLAGS) ; do \
28222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28223 done; \
28224 echo "Doing clean in zlib" ; \
28225 (cd $(HOST_SUBDIR)/zlib && \
28226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28228 "RANLIB=$${RANLIB}" \
28229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28230 clean) \
28231 || exit 1
28233 @endif zlib
28235 .PHONY: maybe-distclean-zlib distclean-zlib
28236 maybe-distclean-zlib:
28237 @if zlib
28238 maybe-distclean-zlib: distclean-zlib
28240 distclean-zlib:
28241 @[ -f ./zlib/Makefile ] || exit 0; \
28242 r=`${PWD_COMMAND}`; export r; \
28243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28244 $(HOST_EXPORTS) \
28245 for flag in $(EXTRA_HOST_FLAGS) ; do \
28246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28247 done; \
28248 echo "Doing distclean in zlib" ; \
28249 (cd $(HOST_SUBDIR)/zlib && \
28250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28252 "RANLIB=$${RANLIB}" \
28253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28254 distclean) \
28255 || exit 1
28257 @endif zlib
28259 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
28260 maybe-maintainer-clean-zlib:
28261 @if zlib
28262 maybe-maintainer-clean-zlib: maintainer-clean-zlib
28264 maintainer-clean-zlib:
28265 @[ -f ./zlib/Makefile ] || exit 0; \
28266 r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(HOST_EXPORTS) \
28269 for flag in $(EXTRA_HOST_FLAGS) ; do \
28270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28271 done; \
28272 echo "Doing maintainer-clean in zlib" ; \
28273 (cd $(HOST_SUBDIR)/zlib && \
28274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28276 "RANLIB=$${RANLIB}" \
28277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28278 maintainer-clean) \
28279 || exit 1
28281 @endif zlib
28285 .PHONY: configure-gdb maybe-configure-gdb
28286 maybe-configure-gdb:
28287 @if gcc-bootstrap
28288 configure-gdb: stage_current
28289 @endif gcc-bootstrap
28290 @if gdb
28291 maybe-configure-gdb: configure-gdb
28292 configure-gdb:
28293 @: $(MAKE); $(unstage)
28294 @r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
28297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
28298 $(HOST_EXPORTS) \
28299 echo Configuring in $(HOST_SUBDIR)/gdb; \
28300 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
28301 case $(srcdir) in \
28302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28303 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
28304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28305 esac; \
28306 module_srcdir=gdb; \
28307 $(SHELL) \
28308 $$s/$$module_srcdir/configure \
28309 --srcdir=$${topdir}/$$module_srcdir \
28310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28311 --target=${target_alias} \
28312 || exit 1
28313 @endif gdb
28319 .PHONY: all-gdb maybe-all-gdb
28320 maybe-all-gdb:
28321 @if gcc-bootstrap
28322 all-gdb: stage_current
28323 @endif gcc-bootstrap
28324 @if gdb
28325 TARGET-gdb=all
28326 maybe-all-gdb: all-gdb
28327 all-gdb: configure-gdb
28328 @: $(MAKE); $(unstage)
28329 @r=`${PWD_COMMAND}`; export r; \
28330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28331 $(HOST_EXPORTS) \
28332 (cd $(HOST_SUBDIR)/gdb && \
28333 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28334 $(TARGET-gdb))
28335 @endif gdb
28340 .PHONY: check-gdb maybe-check-gdb
28341 maybe-check-gdb:
28342 @if gdb
28343 maybe-check-gdb: check-gdb
28345 check-gdb:
28346 @: $(MAKE); $(unstage)
28347 @r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349 $(HOST_EXPORTS) \
28350 (cd $(HOST_SUBDIR)/gdb && \
28351 $(MAKE) $(FLAGS_TO_PASS) check)
28353 @endif gdb
28355 .PHONY: install-gdb maybe-install-gdb
28356 maybe-install-gdb:
28357 @if gdb
28358 maybe-install-gdb: install-gdb
28360 install-gdb: installdirs
28361 @: $(MAKE); $(unstage)
28362 @r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(HOST_EXPORTS) \
28365 (cd $(HOST_SUBDIR)/gdb && \
28366 $(MAKE) $(FLAGS_TO_PASS) install)
28368 @endif gdb
28370 .PHONY: install-strip-gdb maybe-install-strip-gdb
28371 maybe-install-strip-gdb:
28372 @if gdb
28373 maybe-install-strip-gdb: install-strip-gdb
28375 install-strip-gdb: installdirs
28376 @: $(MAKE); $(unstage)
28377 @r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 (cd $(HOST_SUBDIR)/gdb && \
28381 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28383 @endif gdb
28385 # Other targets (info, dvi, pdf, etc.)
28387 .PHONY: maybe-info-gdb info-gdb
28388 maybe-info-gdb:
28389 @if gdb
28390 maybe-info-gdb: info-gdb
28392 info-gdb: \
28393 configure-gdb
28394 @: $(MAKE); $(unstage)
28395 @[ -f ./gdb/Makefile ] || exit 0; \
28396 r=`${PWD_COMMAND}`; export r; \
28397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28398 $(HOST_EXPORTS) \
28399 for flag in $(EXTRA_HOST_FLAGS) ; do \
28400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28401 done; \
28402 echo "Doing info in gdb" ; \
28403 (cd $(HOST_SUBDIR)/gdb && \
28404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28406 "RANLIB=$${RANLIB}" \
28407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28408 info) \
28409 || exit 1
28411 @endif gdb
28413 .PHONY: maybe-dvi-gdb dvi-gdb
28414 maybe-dvi-gdb:
28415 @if gdb
28416 maybe-dvi-gdb: dvi-gdb
28418 dvi-gdb: \
28419 configure-gdb
28420 @: $(MAKE); $(unstage)
28421 @[ -f ./gdb/Makefile ] || exit 0; \
28422 r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(HOST_EXPORTS) \
28425 for flag in $(EXTRA_HOST_FLAGS) ; do \
28426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28427 done; \
28428 echo "Doing dvi in gdb" ; \
28429 (cd $(HOST_SUBDIR)/gdb && \
28430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28432 "RANLIB=$${RANLIB}" \
28433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28434 dvi) \
28435 || exit 1
28437 @endif gdb
28439 .PHONY: maybe-pdf-gdb pdf-gdb
28440 maybe-pdf-gdb:
28441 @if gdb
28442 maybe-pdf-gdb: pdf-gdb
28444 pdf-gdb: \
28445 configure-gdb
28446 @: $(MAKE); $(unstage)
28447 @[ -f ./gdb/Makefile ] || exit 0; \
28448 r=`${PWD_COMMAND}`; export r; \
28449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28450 $(HOST_EXPORTS) \
28451 for flag in $(EXTRA_HOST_FLAGS) ; do \
28452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28453 done; \
28454 echo "Doing pdf in gdb" ; \
28455 (cd $(HOST_SUBDIR)/gdb && \
28456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28458 "RANLIB=$${RANLIB}" \
28459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28460 pdf) \
28461 || exit 1
28463 @endif gdb
28465 .PHONY: maybe-html-gdb html-gdb
28466 maybe-html-gdb:
28467 @if gdb
28468 maybe-html-gdb: html-gdb
28470 html-gdb: \
28471 configure-gdb
28472 @: $(MAKE); $(unstage)
28473 @[ -f ./gdb/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing html in gdb" ; \
28481 (cd $(HOST_SUBDIR)/gdb && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28486 html) \
28487 || exit 1
28489 @endif gdb
28491 .PHONY: maybe-TAGS-gdb TAGS-gdb
28492 maybe-TAGS-gdb:
28493 @if gdb
28494 maybe-TAGS-gdb: TAGS-gdb
28496 TAGS-gdb: \
28497 configure-gdb
28498 @: $(MAKE); $(unstage)
28499 @[ -f ./gdb/Makefile ] || exit 0; \
28500 r=`${PWD_COMMAND}`; export r; \
28501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28502 $(HOST_EXPORTS) \
28503 for flag in $(EXTRA_HOST_FLAGS) ; do \
28504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28505 done; \
28506 echo "Doing TAGS in gdb" ; \
28507 (cd $(HOST_SUBDIR)/gdb && \
28508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28510 "RANLIB=$${RANLIB}" \
28511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28512 TAGS) \
28513 || exit 1
28515 @endif gdb
28517 .PHONY: maybe-install-info-gdb install-info-gdb
28518 maybe-install-info-gdb:
28519 @if gdb
28520 maybe-install-info-gdb: install-info-gdb
28522 install-info-gdb: \
28523 configure-gdb \
28524 info-gdb
28525 @: $(MAKE); $(unstage)
28526 @[ -f ./gdb/Makefile ] || exit 0; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 for flag in $(EXTRA_HOST_FLAGS) ; do \
28531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28532 done; \
28533 echo "Doing install-info in gdb" ; \
28534 (cd $(HOST_SUBDIR)/gdb && \
28535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28537 "RANLIB=$${RANLIB}" \
28538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28539 install-info) \
28540 || exit 1
28542 @endif gdb
28544 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
28545 maybe-install-pdf-gdb:
28546 @if gdb
28547 maybe-install-pdf-gdb: install-pdf-gdb
28549 install-pdf-gdb: \
28550 configure-gdb \
28551 pdf-gdb
28552 @: $(MAKE); $(unstage)
28553 @[ -f ./gdb/Makefile ] || exit 0; \
28554 r=`${PWD_COMMAND}`; export r; \
28555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28556 $(HOST_EXPORTS) \
28557 for flag in $(EXTRA_HOST_FLAGS) ; do \
28558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28559 done; \
28560 echo "Doing install-pdf in gdb" ; \
28561 (cd $(HOST_SUBDIR)/gdb && \
28562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28564 "RANLIB=$${RANLIB}" \
28565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28566 install-pdf) \
28567 || exit 1
28569 @endif gdb
28571 .PHONY: maybe-install-html-gdb install-html-gdb
28572 maybe-install-html-gdb:
28573 @if gdb
28574 maybe-install-html-gdb: install-html-gdb
28576 install-html-gdb: \
28577 configure-gdb \
28578 html-gdb
28579 @: $(MAKE); $(unstage)
28580 @[ -f ./gdb/Makefile ] || exit 0; \
28581 r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 $(HOST_EXPORTS) \
28584 for flag in $(EXTRA_HOST_FLAGS) ; do \
28585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28586 done; \
28587 echo "Doing install-html in gdb" ; \
28588 (cd $(HOST_SUBDIR)/gdb && \
28589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28591 "RANLIB=$${RANLIB}" \
28592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28593 install-html) \
28594 || exit 1
28596 @endif gdb
28598 .PHONY: maybe-installcheck-gdb installcheck-gdb
28599 maybe-installcheck-gdb:
28600 @if gdb
28601 maybe-installcheck-gdb: installcheck-gdb
28603 installcheck-gdb: \
28604 configure-gdb
28605 @: $(MAKE); $(unstage)
28606 @[ -f ./gdb/Makefile ] || exit 0; \
28607 r=`${PWD_COMMAND}`; export r; \
28608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28609 $(HOST_EXPORTS) \
28610 for flag in $(EXTRA_HOST_FLAGS) ; do \
28611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28612 done; \
28613 echo "Doing installcheck in gdb" ; \
28614 (cd $(HOST_SUBDIR)/gdb && \
28615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28617 "RANLIB=$${RANLIB}" \
28618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28619 installcheck) \
28620 || exit 1
28622 @endif gdb
28624 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
28625 maybe-mostlyclean-gdb:
28626 @if gdb
28627 maybe-mostlyclean-gdb: mostlyclean-gdb
28629 mostlyclean-gdb:
28630 @: $(MAKE); $(unstage)
28631 @[ -f ./gdb/Makefile ] || exit 0; \
28632 r=`${PWD_COMMAND}`; export r; \
28633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28634 $(HOST_EXPORTS) \
28635 for flag in $(EXTRA_HOST_FLAGS) ; do \
28636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28637 done; \
28638 echo "Doing mostlyclean in gdb" ; \
28639 (cd $(HOST_SUBDIR)/gdb && \
28640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28642 "RANLIB=$${RANLIB}" \
28643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28644 mostlyclean) \
28645 || exit 1
28647 @endif gdb
28649 .PHONY: maybe-clean-gdb clean-gdb
28650 maybe-clean-gdb:
28651 @if gdb
28652 maybe-clean-gdb: clean-gdb
28654 clean-gdb:
28655 @: $(MAKE); $(unstage)
28656 @[ -f ./gdb/Makefile ] || exit 0; \
28657 r=`${PWD_COMMAND}`; export r; \
28658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28659 $(HOST_EXPORTS) \
28660 for flag in $(EXTRA_HOST_FLAGS) ; do \
28661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28662 done; \
28663 echo "Doing clean in gdb" ; \
28664 (cd $(HOST_SUBDIR)/gdb && \
28665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28667 "RANLIB=$${RANLIB}" \
28668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28669 clean) \
28670 || exit 1
28672 @endif gdb
28674 .PHONY: maybe-distclean-gdb distclean-gdb
28675 maybe-distclean-gdb:
28676 @if gdb
28677 maybe-distclean-gdb: distclean-gdb
28679 distclean-gdb:
28680 @: $(MAKE); $(unstage)
28681 @[ -f ./gdb/Makefile ] || exit 0; \
28682 r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 for flag in $(EXTRA_HOST_FLAGS) ; do \
28686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28687 done; \
28688 echo "Doing distclean in gdb" ; \
28689 (cd $(HOST_SUBDIR)/gdb && \
28690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28692 "RANLIB=$${RANLIB}" \
28693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28694 distclean) \
28695 || exit 1
28697 @endif gdb
28699 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
28700 maybe-maintainer-clean-gdb:
28701 @if gdb
28702 maybe-maintainer-clean-gdb: maintainer-clean-gdb
28704 maintainer-clean-gdb:
28705 @: $(MAKE); $(unstage)
28706 @[ -f ./gdb/Makefile ] || exit 0; \
28707 r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 for flag in $(EXTRA_HOST_FLAGS) ; do \
28711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28712 done; \
28713 echo "Doing maintainer-clean in gdb" ; \
28714 (cd $(HOST_SUBDIR)/gdb && \
28715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28717 "RANLIB=$${RANLIB}" \
28718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28719 maintainer-clean) \
28720 || exit 1
28722 @endif gdb
28726 .PHONY: configure-expect maybe-configure-expect
28727 maybe-configure-expect:
28728 @if gcc-bootstrap
28729 configure-expect: stage_current
28730 @endif gcc-bootstrap
28731 @if expect
28732 maybe-configure-expect: configure-expect
28733 configure-expect:
28734 @: $(MAKE); $(unstage)
28735 @r=`${PWD_COMMAND}`; export r; \
28736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28737 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
28738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
28739 $(HOST_EXPORTS) \
28740 echo Configuring in $(HOST_SUBDIR)/expect; \
28741 cd "$(HOST_SUBDIR)/expect" || exit 1; \
28742 case $(srcdir) in \
28743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28744 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
28745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28746 esac; \
28747 module_srcdir=expect; \
28748 $(SHELL) \
28749 $$s/$$module_srcdir/configure \
28750 --srcdir=$${topdir}/$$module_srcdir \
28751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28752 --target=${target_alias} \
28753 || exit 1
28754 @endif expect
28760 .PHONY: all-expect maybe-all-expect
28761 maybe-all-expect:
28762 @if gcc-bootstrap
28763 all-expect: stage_current
28764 @endif gcc-bootstrap
28765 @if expect
28766 TARGET-expect=all
28767 maybe-all-expect: all-expect
28768 all-expect: configure-expect
28769 @: $(MAKE); $(unstage)
28770 @r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(HOST_EXPORTS) \
28773 (cd $(HOST_SUBDIR)/expect && \
28774 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28775 $(TARGET-expect))
28776 @endif expect
28781 .PHONY: check-expect maybe-check-expect
28782 maybe-check-expect:
28783 @if expect
28784 maybe-check-expect: check-expect
28786 check-expect:
28787 @: $(MAKE); $(unstage)
28788 @r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 (cd $(HOST_SUBDIR)/expect && \
28792 $(MAKE) $(FLAGS_TO_PASS) check)
28794 @endif expect
28796 .PHONY: install-expect maybe-install-expect
28797 maybe-install-expect:
28798 @if expect
28799 maybe-install-expect: install-expect
28801 install-expect: installdirs
28802 @: $(MAKE); $(unstage)
28803 @r=`${PWD_COMMAND}`; export r; \
28804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28805 $(HOST_EXPORTS) \
28806 (cd $(HOST_SUBDIR)/expect && \
28807 $(MAKE) $(FLAGS_TO_PASS) install)
28809 @endif expect
28811 .PHONY: install-strip-expect maybe-install-strip-expect
28812 maybe-install-strip-expect:
28813 @if expect
28814 maybe-install-strip-expect: install-strip-expect
28816 install-strip-expect: installdirs
28817 @: $(MAKE); $(unstage)
28818 @r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(HOST_EXPORTS) \
28821 (cd $(HOST_SUBDIR)/expect && \
28822 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28824 @endif expect
28826 # Other targets (info, dvi, pdf, etc.)
28828 .PHONY: maybe-info-expect info-expect
28829 maybe-info-expect:
28830 @if expect
28831 maybe-info-expect: info-expect
28833 info-expect: \
28834 configure-expect
28835 @: $(MAKE); $(unstage)
28836 @[ -f ./expect/Makefile ] || exit 0; \
28837 r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28839 $(HOST_EXPORTS) \
28840 for flag in $(EXTRA_HOST_FLAGS) ; do \
28841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28842 done; \
28843 echo "Doing info in expect" ; \
28844 (cd $(HOST_SUBDIR)/expect && \
28845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28847 "RANLIB=$${RANLIB}" \
28848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28849 info) \
28850 || exit 1
28852 @endif expect
28854 .PHONY: maybe-dvi-expect dvi-expect
28855 maybe-dvi-expect:
28856 @if expect
28857 maybe-dvi-expect: dvi-expect
28859 dvi-expect: \
28860 configure-expect
28861 @: $(MAKE); $(unstage)
28862 @[ -f ./expect/Makefile ] || exit 0; \
28863 r=`${PWD_COMMAND}`; export r; \
28864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28865 $(HOST_EXPORTS) \
28866 for flag in $(EXTRA_HOST_FLAGS) ; do \
28867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28868 done; \
28869 echo "Doing dvi in expect" ; \
28870 (cd $(HOST_SUBDIR)/expect && \
28871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28873 "RANLIB=$${RANLIB}" \
28874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28875 dvi) \
28876 || exit 1
28878 @endif expect
28880 .PHONY: maybe-pdf-expect pdf-expect
28881 maybe-pdf-expect:
28882 @if expect
28883 maybe-pdf-expect: pdf-expect
28885 pdf-expect: \
28886 configure-expect
28887 @: $(MAKE); $(unstage)
28888 @[ -f ./expect/Makefile ] || exit 0; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(HOST_EXPORTS) \
28892 for flag in $(EXTRA_HOST_FLAGS) ; do \
28893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28894 done; \
28895 echo "Doing pdf in expect" ; \
28896 (cd $(HOST_SUBDIR)/expect && \
28897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28899 "RANLIB=$${RANLIB}" \
28900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28901 pdf) \
28902 || exit 1
28904 @endif expect
28906 .PHONY: maybe-html-expect html-expect
28907 maybe-html-expect:
28908 @if expect
28909 maybe-html-expect: html-expect
28911 html-expect: \
28912 configure-expect
28913 @: $(MAKE); $(unstage)
28914 @[ -f ./expect/Makefile ] || exit 0; \
28915 r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(HOST_EXPORTS) \
28918 for flag in $(EXTRA_HOST_FLAGS) ; do \
28919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28920 done; \
28921 echo "Doing html in expect" ; \
28922 (cd $(HOST_SUBDIR)/expect && \
28923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28925 "RANLIB=$${RANLIB}" \
28926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28927 html) \
28928 || exit 1
28930 @endif expect
28932 .PHONY: maybe-TAGS-expect TAGS-expect
28933 maybe-TAGS-expect:
28934 @if expect
28935 maybe-TAGS-expect: TAGS-expect
28937 TAGS-expect: \
28938 configure-expect
28939 @: $(MAKE); $(unstage)
28940 @[ -f ./expect/Makefile ] || exit 0; \
28941 r=`${PWD_COMMAND}`; export r; \
28942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28943 $(HOST_EXPORTS) \
28944 for flag in $(EXTRA_HOST_FLAGS) ; do \
28945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28946 done; \
28947 echo "Doing TAGS in expect" ; \
28948 (cd $(HOST_SUBDIR)/expect && \
28949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28951 "RANLIB=$${RANLIB}" \
28952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28953 TAGS) \
28954 || exit 1
28956 @endif expect
28958 .PHONY: maybe-install-info-expect install-info-expect
28959 maybe-install-info-expect:
28960 @if expect
28961 maybe-install-info-expect: install-info-expect
28963 install-info-expect: \
28964 configure-expect \
28965 info-expect
28966 @: $(MAKE); $(unstage)
28967 @[ -f ./expect/Makefile ] || exit 0; \
28968 r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(HOST_EXPORTS) \
28971 for flag in $(EXTRA_HOST_FLAGS) ; do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 echo "Doing install-info in expect" ; \
28975 (cd $(HOST_SUBDIR)/expect && \
28976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28978 "RANLIB=$${RANLIB}" \
28979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28980 install-info) \
28981 || exit 1
28983 @endif expect
28985 .PHONY: maybe-install-pdf-expect install-pdf-expect
28986 maybe-install-pdf-expect:
28987 @if expect
28988 maybe-install-pdf-expect: install-pdf-expect
28990 install-pdf-expect: \
28991 configure-expect \
28992 pdf-expect
28993 @: $(MAKE); $(unstage)
28994 @[ -f ./expect/Makefile ] || exit 0; \
28995 r=`${PWD_COMMAND}`; export r; \
28996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28997 $(HOST_EXPORTS) \
28998 for flag in $(EXTRA_HOST_FLAGS) ; do \
28999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29000 done; \
29001 echo "Doing install-pdf in expect" ; \
29002 (cd $(HOST_SUBDIR)/expect && \
29003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29005 "RANLIB=$${RANLIB}" \
29006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29007 install-pdf) \
29008 || exit 1
29010 @endif expect
29012 .PHONY: maybe-install-html-expect install-html-expect
29013 maybe-install-html-expect:
29014 @if expect
29015 maybe-install-html-expect: install-html-expect
29017 install-html-expect: \
29018 configure-expect \
29019 html-expect
29020 @: $(MAKE); $(unstage)
29021 @[ -f ./expect/Makefile ] || exit 0; \
29022 r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 $(HOST_EXPORTS) \
29025 for flag in $(EXTRA_HOST_FLAGS) ; do \
29026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29027 done; \
29028 echo "Doing install-html in expect" ; \
29029 (cd $(HOST_SUBDIR)/expect && \
29030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29032 "RANLIB=$${RANLIB}" \
29033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29034 install-html) \
29035 || exit 1
29037 @endif expect
29039 .PHONY: maybe-installcheck-expect installcheck-expect
29040 maybe-installcheck-expect:
29041 @if expect
29042 maybe-installcheck-expect: installcheck-expect
29044 installcheck-expect: \
29045 configure-expect
29046 @: $(MAKE); $(unstage)
29047 @[ -f ./expect/Makefile ] || exit 0; \
29048 r=`${PWD_COMMAND}`; export r; \
29049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29050 $(HOST_EXPORTS) \
29051 for flag in $(EXTRA_HOST_FLAGS) ; do \
29052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29053 done; \
29054 echo "Doing installcheck in expect" ; \
29055 (cd $(HOST_SUBDIR)/expect && \
29056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29058 "RANLIB=$${RANLIB}" \
29059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29060 installcheck) \
29061 || exit 1
29063 @endif expect
29065 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
29066 maybe-mostlyclean-expect:
29067 @if expect
29068 maybe-mostlyclean-expect: mostlyclean-expect
29070 mostlyclean-expect:
29071 @: $(MAKE); $(unstage)
29072 @[ -f ./expect/Makefile ] || exit 0; \
29073 r=`${PWD_COMMAND}`; export r; \
29074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29075 $(HOST_EXPORTS) \
29076 for flag in $(EXTRA_HOST_FLAGS) ; do \
29077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29078 done; \
29079 echo "Doing mostlyclean in expect" ; \
29080 (cd $(HOST_SUBDIR)/expect && \
29081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29083 "RANLIB=$${RANLIB}" \
29084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29085 mostlyclean) \
29086 || exit 1
29088 @endif expect
29090 .PHONY: maybe-clean-expect clean-expect
29091 maybe-clean-expect:
29092 @if expect
29093 maybe-clean-expect: clean-expect
29095 clean-expect:
29096 @: $(MAKE); $(unstage)
29097 @[ -f ./expect/Makefile ] || exit 0; \
29098 r=`${PWD_COMMAND}`; export r; \
29099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29100 $(HOST_EXPORTS) \
29101 for flag in $(EXTRA_HOST_FLAGS) ; do \
29102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29103 done; \
29104 echo "Doing clean in expect" ; \
29105 (cd $(HOST_SUBDIR)/expect && \
29106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29108 "RANLIB=$${RANLIB}" \
29109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29110 clean) \
29111 || exit 1
29113 @endif expect
29115 .PHONY: maybe-distclean-expect distclean-expect
29116 maybe-distclean-expect:
29117 @if expect
29118 maybe-distclean-expect: distclean-expect
29120 distclean-expect:
29121 @: $(MAKE); $(unstage)
29122 @[ -f ./expect/Makefile ] || exit 0; \
29123 r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29125 $(HOST_EXPORTS) \
29126 for flag in $(EXTRA_HOST_FLAGS) ; do \
29127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29128 done; \
29129 echo "Doing distclean in expect" ; \
29130 (cd $(HOST_SUBDIR)/expect && \
29131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29133 "RANLIB=$${RANLIB}" \
29134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29135 distclean) \
29136 || exit 1
29138 @endif expect
29140 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
29141 maybe-maintainer-clean-expect:
29142 @if expect
29143 maybe-maintainer-clean-expect: maintainer-clean-expect
29145 maintainer-clean-expect:
29146 @: $(MAKE); $(unstage)
29147 @[ -f ./expect/Makefile ] || exit 0; \
29148 r=`${PWD_COMMAND}`; export r; \
29149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29150 $(HOST_EXPORTS) \
29151 for flag in $(EXTRA_HOST_FLAGS) ; do \
29152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29153 done; \
29154 echo "Doing maintainer-clean in expect" ; \
29155 (cd $(HOST_SUBDIR)/expect && \
29156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29158 "RANLIB=$${RANLIB}" \
29159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29160 maintainer-clean) \
29161 || exit 1
29163 @endif expect
29167 .PHONY: configure-guile maybe-configure-guile
29168 maybe-configure-guile:
29169 @if gcc-bootstrap
29170 configure-guile: stage_current
29171 @endif gcc-bootstrap
29172 @if guile
29173 maybe-configure-guile: configure-guile
29174 configure-guile:
29175 @: $(MAKE); $(unstage)
29176 @r=`${PWD_COMMAND}`; export r; \
29177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29178 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
29179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
29180 $(HOST_EXPORTS) \
29181 echo Configuring in $(HOST_SUBDIR)/guile; \
29182 cd "$(HOST_SUBDIR)/guile" || exit 1; \
29183 case $(srcdir) in \
29184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29185 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
29186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29187 esac; \
29188 module_srcdir=guile; \
29189 $(SHELL) \
29190 $$s/$$module_srcdir/configure \
29191 --srcdir=$${topdir}/$$module_srcdir \
29192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29193 --target=${target_alias} \
29194 || exit 1
29195 @endif guile
29201 .PHONY: all-guile maybe-all-guile
29202 maybe-all-guile:
29203 @if gcc-bootstrap
29204 all-guile: stage_current
29205 @endif gcc-bootstrap
29206 @if guile
29207 TARGET-guile=all
29208 maybe-all-guile: all-guile
29209 all-guile: configure-guile
29210 @: $(MAKE); $(unstage)
29211 @r=`${PWD_COMMAND}`; export r; \
29212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29213 $(HOST_EXPORTS) \
29214 (cd $(HOST_SUBDIR)/guile && \
29215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29216 $(TARGET-guile))
29217 @endif guile
29222 .PHONY: check-guile maybe-check-guile
29223 maybe-check-guile:
29224 @if guile
29225 maybe-check-guile: check-guile
29227 check-guile:
29228 @: $(MAKE); $(unstage)
29229 @r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(HOST_EXPORTS) \
29232 (cd $(HOST_SUBDIR)/guile && \
29233 $(MAKE) $(FLAGS_TO_PASS) check)
29235 @endif guile
29237 .PHONY: install-guile maybe-install-guile
29238 maybe-install-guile:
29239 @if guile
29240 maybe-install-guile: install-guile
29242 install-guile: installdirs
29243 @: $(MAKE); $(unstage)
29244 @r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 (cd $(HOST_SUBDIR)/guile && \
29248 $(MAKE) $(FLAGS_TO_PASS) install)
29250 @endif guile
29252 .PHONY: install-strip-guile maybe-install-strip-guile
29253 maybe-install-strip-guile:
29254 @if guile
29255 maybe-install-strip-guile: install-strip-guile
29257 install-strip-guile: installdirs
29258 @: $(MAKE); $(unstage)
29259 @r=`${PWD_COMMAND}`; export r; \
29260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29261 $(HOST_EXPORTS) \
29262 (cd $(HOST_SUBDIR)/guile && \
29263 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29265 @endif guile
29267 # Other targets (info, dvi, pdf, etc.)
29269 .PHONY: maybe-info-guile info-guile
29270 maybe-info-guile:
29271 @if guile
29272 maybe-info-guile: info-guile
29274 info-guile: \
29275 configure-guile
29276 @: $(MAKE); $(unstage)
29277 @[ -f ./guile/Makefile ] || exit 0; \
29278 r=`${PWD_COMMAND}`; export r; \
29279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29280 $(HOST_EXPORTS) \
29281 for flag in $(EXTRA_HOST_FLAGS) ; do \
29282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29283 done; \
29284 echo "Doing info in guile" ; \
29285 (cd $(HOST_SUBDIR)/guile && \
29286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29288 "RANLIB=$${RANLIB}" \
29289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29290 info) \
29291 || exit 1
29293 @endif guile
29295 .PHONY: maybe-dvi-guile dvi-guile
29296 maybe-dvi-guile:
29297 @if guile
29298 maybe-dvi-guile: dvi-guile
29300 dvi-guile: \
29301 configure-guile
29302 @: $(MAKE); $(unstage)
29303 @[ -f ./guile/Makefile ] || exit 0; \
29304 r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(HOST_EXPORTS) \
29307 for flag in $(EXTRA_HOST_FLAGS) ; do \
29308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29309 done; \
29310 echo "Doing dvi in guile" ; \
29311 (cd $(HOST_SUBDIR)/guile && \
29312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29314 "RANLIB=$${RANLIB}" \
29315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29316 dvi) \
29317 || exit 1
29319 @endif guile
29321 .PHONY: maybe-pdf-guile pdf-guile
29322 maybe-pdf-guile:
29323 @if guile
29324 maybe-pdf-guile: pdf-guile
29326 pdf-guile: \
29327 configure-guile
29328 @: $(MAKE); $(unstage)
29329 @[ -f ./guile/Makefile ] || exit 0; \
29330 r=`${PWD_COMMAND}`; export r; \
29331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29332 $(HOST_EXPORTS) \
29333 for flag in $(EXTRA_HOST_FLAGS) ; do \
29334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29335 done; \
29336 echo "Doing pdf in guile" ; \
29337 (cd $(HOST_SUBDIR)/guile && \
29338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29340 "RANLIB=$${RANLIB}" \
29341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29342 pdf) \
29343 || exit 1
29345 @endif guile
29347 .PHONY: maybe-html-guile html-guile
29348 maybe-html-guile:
29349 @if guile
29350 maybe-html-guile: html-guile
29352 html-guile: \
29353 configure-guile
29354 @: $(MAKE); $(unstage)
29355 @[ -f ./guile/Makefile ] || exit 0; \
29356 r=`${PWD_COMMAND}`; export r; \
29357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29358 $(HOST_EXPORTS) \
29359 for flag in $(EXTRA_HOST_FLAGS) ; do \
29360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29361 done; \
29362 echo "Doing html in guile" ; \
29363 (cd $(HOST_SUBDIR)/guile && \
29364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29366 "RANLIB=$${RANLIB}" \
29367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29368 html) \
29369 || exit 1
29371 @endif guile
29373 .PHONY: maybe-TAGS-guile TAGS-guile
29374 maybe-TAGS-guile:
29375 @if guile
29376 maybe-TAGS-guile: TAGS-guile
29378 TAGS-guile: \
29379 configure-guile
29380 @: $(MAKE); $(unstage)
29381 @[ -f ./guile/Makefile ] || exit 0; \
29382 r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 $(HOST_EXPORTS) \
29385 for flag in $(EXTRA_HOST_FLAGS) ; do \
29386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29387 done; \
29388 echo "Doing TAGS in guile" ; \
29389 (cd $(HOST_SUBDIR)/guile && \
29390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29392 "RANLIB=$${RANLIB}" \
29393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29394 TAGS) \
29395 || exit 1
29397 @endif guile
29399 .PHONY: maybe-install-info-guile install-info-guile
29400 maybe-install-info-guile:
29401 @if guile
29402 maybe-install-info-guile: install-info-guile
29404 install-info-guile: \
29405 configure-guile \
29406 info-guile
29407 @: $(MAKE); $(unstage)
29408 @[ -f ./guile/Makefile ] || exit 0; \
29409 r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(HOST_EXPORTS) \
29412 for flag in $(EXTRA_HOST_FLAGS) ; do \
29413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29414 done; \
29415 echo "Doing install-info in guile" ; \
29416 (cd $(HOST_SUBDIR)/guile && \
29417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29419 "RANLIB=$${RANLIB}" \
29420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29421 install-info) \
29422 || exit 1
29424 @endif guile
29426 .PHONY: maybe-install-pdf-guile install-pdf-guile
29427 maybe-install-pdf-guile:
29428 @if guile
29429 maybe-install-pdf-guile: install-pdf-guile
29431 install-pdf-guile: \
29432 configure-guile \
29433 pdf-guile
29434 @: $(MAKE); $(unstage)
29435 @[ -f ./guile/Makefile ] || exit 0; \
29436 r=`${PWD_COMMAND}`; export r; \
29437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29438 $(HOST_EXPORTS) \
29439 for flag in $(EXTRA_HOST_FLAGS) ; do \
29440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29441 done; \
29442 echo "Doing install-pdf in guile" ; \
29443 (cd $(HOST_SUBDIR)/guile && \
29444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29446 "RANLIB=$${RANLIB}" \
29447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29448 install-pdf) \
29449 || exit 1
29451 @endif guile
29453 .PHONY: maybe-install-html-guile install-html-guile
29454 maybe-install-html-guile:
29455 @if guile
29456 maybe-install-html-guile: install-html-guile
29458 install-html-guile: \
29459 configure-guile \
29460 html-guile
29461 @: $(MAKE); $(unstage)
29462 @[ -f ./guile/Makefile ] || exit 0; \
29463 r=`${PWD_COMMAND}`; export r; \
29464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29465 $(HOST_EXPORTS) \
29466 for flag in $(EXTRA_HOST_FLAGS) ; do \
29467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29468 done; \
29469 echo "Doing install-html in guile" ; \
29470 (cd $(HOST_SUBDIR)/guile && \
29471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29473 "RANLIB=$${RANLIB}" \
29474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29475 install-html) \
29476 || exit 1
29478 @endif guile
29480 .PHONY: maybe-installcheck-guile installcheck-guile
29481 maybe-installcheck-guile:
29482 @if guile
29483 maybe-installcheck-guile: installcheck-guile
29485 installcheck-guile: \
29486 configure-guile
29487 @: $(MAKE); $(unstage)
29488 @[ -f ./guile/Makefile ] || exit 0; \
29489 r=`${PWD_COMMAND}`; export r; \
29490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29491 $(HOST_EXPORTS) \
29492 for flag in $(EXTRA_HOST_FLAGS) ; do \
29493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29494 done; \
29495 echo "Doing installcheck in guile" ; \
29496 (cd $(HOST_SUBDIR)/guile && \
29497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29499 "RANLIB=$${RANLIB}" \
29500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29501 installcheck) \
29502 || exit 1
29504 @endif guile
29506 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
29507 maybe-mostlyclean-guile:
29508 @if guile
29509 maybe-mostlyclean-guile: mostlyclean-guile
29511 mostlyclean-guile:
29512 @: $(MAKE); $(unstage)
29513 @[ -f ./guile/Makefile ] || exit 0; \
29514 r=`${PWD_COMMAND}`; export r; \
29515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29516 $(HOST_EXPORTS) \
29517 for flag in $(EXTRA_HOST_FLAGS) ; do \
29518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29519 done; \
29520 echo "Doing mostlyclean in guile" ; \
29521 (cd $(HOST_SUBDIR)/guile && \
29522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29524 "RANLIB=$${RANLIB}" \
29525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29526 mostlyclean) \
29527 || exit 1
29529 @endif guile
29531 .PHONY: maybe-clean-guile clean-guile
29532 maybe-clean-guile:
29533 @if guile
29534 maybe-clean-guile: clean-guile
29536 clean-guile:
29537 @: $(MAKE); $(unstage)
29538 @[ -f ./guile/Makefile ] || exit 0; \
29539 r=`${PWD_COMMAND}`; export r; \
29540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29541 $(HOST_EXPORTS) \
29542 for flag in $(EXTRA_HOST_FLAGS) ; do \
29543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29544 done; \
29545 echo "Doing clean in guile" ; \
29546 (cd $(HOST_SUBDIR)/guile && \
29547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29549 "RANLIB=$${RANLIB}" \
29550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29551 clean) \
29552 || exit 1
29554 @endif guile
29556 .PHONY: maybe-distclean-guile distclean-guile
29557 maybe-distclean-guile:
29558 @if guile
29559 maybe-distclean-guile: distclean-guile
29561 distclean-guile:
29562 @: $(MAKE); $(unstage)
29563 @[ -f ./guile/Makefile ] || exit 0; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(HOST_EXPORTS) \
29567 for flag in $(EXTRA_HOST_FLAGS) ; do \
29568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29569 done; \
29570 echo "Doing distclean in guile" ; \
29571 (cd $(HOST_SUBDIR)/guile && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29576 distclean) \
29577 || exit 1
29579 @endif guile
29581 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
29582 maybe-maintainer-clean-guile:
29583 @if guile
29584 maybe-maintainer-clean-guile: maintainer-clean-guile
29586 maintainer-clean-guile:
29587 @: $(MAKE); $(unstage)
29588 @[ -f ./guile/Makefile ] || exit 0; \
29589 r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29591 $(HOST_EXPORTS) \
29592 for flag in $(EXTRA_HOST_FLAGS) ; do \
29593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29594 done; \
29595 echo "Doing maintainer-clean in guile" ; \
29596 (cd $(HOST_SUBDIR)/guile && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29599 "RANLIB=$${RANLIB}" \
29600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29601 maintainer-clean) \
29602 || exit 1
29604 @endif guile
29608 .PHONY: configure-tk maybe-configure-tk
29609 maybe-configure-tk:
29610 @if gcc-bootstrap
29611 configure-tk: stage_current
29612 @endif gcc-bootstrap
29613 @if tk
29614 maybe-configure-tk: configure-tk
29615 configure-tk:
29616 @: $(MAKE); $(unstage)
29617 @r=`${PWD_COMMAND}`; export r; \
29618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29619 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
29620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
29621 $(HOST_EXPORTS) \
29622 echo Configuring in $(HOST_SUBDIR)/tk; \
29623 cd "$(HOST_SUBDIR)/tk" || exit 1; \
29624 case $(srcdir) in \
29625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29626 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
29627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29628 esac; \
29629 module_srcdir=tk; \
29630 $(SHELL) \
29631 $$s/$$module_srcdir/configure \
29632 --srcdir=$${topdir}/$$module_srcdir \
29633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29634 --target=${target_alias} \
29635 || exit 1
29636 @endif tk
29642 .PHONY: all-tk maybe-all-tk
29643 maybe-all-tk:
29644 @if gcc-bootstrap
29645 all-tk: stage_current
29646 @endif gcc-bootstrap
29647 @if tk
29648 TARGET-tk=all
29649 maybe-all-tk: all-tk
29650 all-tk: configure-tk
29651 @: $(MAKE); $(unstage)
29652 @r=`${PWD_COMMAND}`; export r; \
29653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29654 $(HOST_EXPORTS) \
29655 (cd $(HOST_SUBDIR)/tk && \
29656 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29657 $(TARGET-tk))
29658 @endif tk
29663 .PHONY: check-tk maybe-check-tk
29664 maybe-check-tk:
29665 @if tk
29666 maybe-check-tk: check-tk
29668 check-tk:
29669 @: $(MAKE); $(unstage)
29670 @r=`${PWD_COMMAND}`; export r; \
29671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29672 $(HOST_EXPORTS) \
29673 (cd $(HOST_SUBDIR)/tk && \
29674 $(MAKE) $(FLAGS_TO_PASS) check)
29676 @endif tk
29678 .PHONY: install-tk maybe-install-tk
29679 maybe-install-tk:
29680 @if tk
29681 maybe-install-tk: install-tk
29683 install-tk: installdirs
29684 @: $(MAKE); $(unstage)
29685 @r=`${PWD_COMMAND}`; export r; \
29686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29687 $(HOST_EXPORTS) \
29688 (cd $(HOST_SUBDIR)/tk && \
29689 $(MAKE) $(FLAGS_TO_PASS) install)
29691 @endif tk
29693 .PHONY: install-strip-tk maybe-install-strip-tk
29694 maybe-install-strip-tk:
29695 @if tk
29696 maybe-install-strip-tk: install-strip-tk
29698 install-strip-tk: installdirs
29699 @: $(MAKE); $(unstage)
29700 @r=`${PWD_COMMAND}`; export r; \
29701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29702 $(HOST_EXPORTS) \
29703 (cd $(HOST_SUBDIR)/tk && \
29704 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29706 @endif tk
29708 # Other targets (info, dvi, pdf, etc.)
29710 .PHONY: maybe-info-tk info-tk
29711 maybe-info-tk:
29712 @if tk
29713 maybe-info-tk: info-tk
29715 info-tk: \
29716 configure-tk
29717 @: $(MAKE); $(unstage)
29718 @[ -f ./tk/Makefile ] || exit 0; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 for flag in $(EXTRA_HOST_FLAGS) ; do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 echo "Doing info in tk" ; \
29726 (cd $(HOST_SUBDIR)/tk && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29731 info) \
29732 || exit 1
29734 @endif tk
29736 .PHONY: maybe-dvi-tk dvi-tk
29737 maybe-dvi-tk:
29738 @if tk
29739 maybe-dvi-tk: dvi-tk
29741 dvi-tk: \
29742 configure-tk
29743 @: $(MAKE); $(unstage)
29744 @[ -f ./tk/Makefile ] || exit 0; \
29745 r=`${PWD_COMMAND}`; export r; \
29746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29747 $(HOST_EXPORTS) \
29748 for flag in $(EXTRA_HOST_FLAGS) ; do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 echo "Doing dvi in tk" ; \
29752 (cd $(HOST_SUBDIR)/tk && \
29753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29755 "RANLIB=$${RANLIB}" \
29756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29757 dvi) \
29758 || exit 1
29760 @endif tk
29762 .PHONY: maybe-pdf-tk pdf-tk
29763 maybe-pdf-tk:
29764 @if tk
29765 maybe-pdf-tk: pdf-tk
29767 pdf-tk: \
29768 configure-tk
29769 @: $(MAKE); $(unstage)
29770 @[ -f ./tk/Makefile ] || exit 0; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29773 $(HOST_EXPORTS) \
29774 for flag in $(EXTRA_HOST_FLAGS) ; do \
29775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29776 done; \
29777 echo "Doing pdf in tk" ; \
29778 (cd $(HOST_SUBDIR)/tk && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29783 pdf) \
29784 || exit 1
29786 @endif tk
29788 .PHONY: maybe-html-tk html-tk
29789 maybe-html-tk:
29790 @if tk
29791 maybe-html-tk: html-tk
29793 html-tk: \
29794 configure-tk
29795 @: $(MAKE); $(unstage)
29796 @[ -f ./tk/Makefile ] || exit 0; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(HOST_EXPORTS) \
29800 for flag in $(EXTRA_HOST_FLAGS) ; do \
29801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29802 done; \
29803 echo "Doing html in tk" ; \
29804 (cd $(HOST_SUBDIR)/tk && \
29805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29807 "RANLIB=$${RANLIB}" \
29808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29809 html) \
29810 || exit 1
29812 @endif tk
29814 .PHONY: maybe-TAGS-tk TAGS-tk
29815 maybe-TAGS-tk:
29816 @if tk
29817 maybe-TAGS-tk: TAGS-tk
29819 TAGS-tk: \
29820 configure-tk
29821 @: $(MAKE); $(unstage)
29822 @[ -f ./tk/Makefile ] || exit 0; \
29823 r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 $(HOST_EXPORTS) \
29826 for flag in $(EXTRA_HOST_FLAGS) ; do \
29827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29828 done; \
29829 echo "Doing TAGS in tk" ; \
29830 (cd $(HOST_SUBDIR)/tk && \
29831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29833 "RANLIB=$${RANLIB}" \
29834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29835 TAGS) \
29836 || exit 1
29838 @endif tk
29840 .PHONY: maybe-install-info-tk install-info-tk
29841 maybe-install-info-tk:
29842 @if tk
29843 maybe-install-info-tk: install-info-tk
29845 install-info-tk: \
29846 configure-tk \
29847 info-tk
29848 @: $(MAKE); $(unstage)
29849 @[ -f ./tk/Makefile ] || exit 0; \
29850 r=`${PWD_COMMAND}`; export r; \
29851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29852 $(HOST_EXPORTS) \
29853 for flag in $(EXTRA_HOST_FLAGS) ; do \
29854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29855 done; \
29856 echo "Doing install-info in tk" ; \
29857 (cd $(HOST_SUBDIR)/tk && \
29858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29860 "RANLIB=$${RANLIB}" \
29861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29862 install-info) \
29863 || exit 1
29865 @endif tk
29867 .PHONY: maybe-install-pdf-tk install-pdf-tk
29868 maybe-install-pdf-tk:
29869 @if tk
29870 maybe-install-pdf-tk: install-pdf-tk
29872 install-pdf-tk: \
29873 configure-tk \
29874 pdf-tk
29875 @: $(MAKE); $(unstage)
29876 @[ -f ./tk/Makefile ] || exit 0; \
29877 r=`${PWD_COMMAND}`; export r; \
29878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29879 $(HOST_EXPORTS) \
29880 for flag in $(EXTRA_HOST_FLAGS) ; do \
29881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29882 done; \
29883 echo "Doing install-pdf in tk" ; \
29884 (cd $(HOST_SUBDIR)/tk && \
29885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29887 "RANLIB=$${RANLIB}" \
29888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29889 install-pdf) \
29890 || exit 1
29892 @endif tk
29894 .PHONY: maybe-install-html-tk install-html-tk
29895 maybe-install-html-tk:
29896 @if tk
29897 maybe-install-html-tk: install-html-tk
29899 install-html-tk: \
29900 configure-tk \
29901 html-tk
29902 @: $(MAKE); $(unstage)
29903 @[ -f ./tk/Makefile ] || exit 0; \
29904 r=`${PWD_COMMAND}`; export r; \
29905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29906 $(HOST_EXPORTS) \
29907 for flag in $(EXTRA_HOST_FLAGS) ; do \
29908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29909 done; \
29910 echo "Doing install-html in tk" ; \
29911 (cd $(HOST_SUBDIR)/tk && \
29912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29914 "RANLIB=$${RANLIB}" \
29915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29916 install-html) \
29917 || exit 1
29919 @endif tk
29921 .PHONY: maybe-installcheck-tk installcheck-tk
29922 maybe-installcheck-tk:
29923 @if tk
29924 maybe-installcheck-tk: installcheck-tk
29926 installcheck-tk: \
29927 configure-tk
29928 @: $(MAKE); $(unstage)
29929 @[ -f ./tk/Makefile ] || exit 0; \
29930 r=`${PWD_COMMAND}`; export r; \
29931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29932 $(HOST_EXPORTS) \
29933 for flag in $(EXTRA_HOST_FLAGS) ; do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 done; \
29936 echo "Doing installcheck in tk" ; \
29937 (cd $(HOST_SUBDIR)/tk && \
29938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29940 "RANLIB=$${RANLIB}" \
29941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29942 installcheck) \
29943 || exit 1
29945 @endif tk
29947 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29948 maybe-mostlyclean-tk:
29949 @if tk
29950 maybe-mostlyclean-tk: mostlyclean-tk
29952 mostlyclean-tk:
29953 @: $(MAKE); $(unstage)
29954 @[ -f ./tk/Makefile ] || exit 0; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(HOST_EXPORTS) \
29958 for flag in $(EXTRA_HOST_FLAGS) ; do \
29959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29960 done; \
29961 echo "Doing mostlyclean in tk" ; \
29962 (cd $(HOST_SUBDIR)/tk && \
29963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29965 "RANLIB=$${RANLIB}" \
29966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29967 mostlyclean) \
29968 || exit 1
29970 @endif tk
29972 .PHONY: maybe-clean-tk clean-tk
29973 maybe-clean-tk:
29974 @if tk
29975 maybe-clean-tk: clean-tk
29977 clean-tk:
29978 @: $(MAKE); $(unstage)
29979 @[ -f ./tk/Makefile ] || exit 0; \
29980 r=`${PWD_COMMAND}`; export r; \
29981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29982 $(HOST_EXPORTS) \
29983 for flag in $(EXTRA_HOST_FLAGS) ; do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 done; \
29986 echo "Doing clean in tk" ; \
29987 (cd $(HOST_SUBDIR)/tk && \
29988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29990 "RANLIB=$${RANLIB}" \
29991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29992 clean) \
29993 || exit 1
29995 @endif tk
29997 .PHONY: maybe-distclean-tk distclean-tk
29998 maybe-distclean-tk:
29999 @if tk
30000 maybe-distclean-tk: distclean-tk
30002 distclean-tk:
30003 @: $(MAKE); $(unstage)
30004 @[ -f ./tk/Makefile ] || exit 0; \
30005 r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(HOST_EXPORTS) \
30008 for flag in $(EXTRA_HOST_FLAGS) ; do \
30009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30010 done; \
30011 echo "Doing distclean in tk" ; \
30012 (cd $(HOST_SUBDIR)/tk && \
30013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30015 "RANLIB=$${RANLIB}" \
30016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30017 distclean) \
30018 || exit 1
30020 @endif tk
30022 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
30023 maybe-maintainer-clean-tk:
30024 @if tk
30025 maybe-maintainer-clean-tk: maintainer-clean-tk
30027 maintainer-clean-tk:
30028 @: $(MAKE); $(unstage)
30029 @[ -f ./tk/Makefile ] || exit 0; \
30030 r=`${PWD_COMMAND}`; export r; \
30031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30032 $(HOST_EXPORTS) \
30033 for flag in $(EXTRA_HOST_FLAGS) ; do \
30034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30035 done; \
30036 echo "Doing maintainer-clean in tk" ; \
30037 (cd $(HOST_SUBDIR)/tk && \
30038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30040 "RANLIB=$${RANLIB}" \
30041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30042 maintainer-clean) \
30043 || exit 1
30045 @endif tk
30049 .PHONY: configure-libtermcap maybe-configure-libtermcap
30050 maybe-configure-libtermcap:
30051 @if gcc-bootstrap
30052 configure-libtermcap: stage_current
30053 @endif gcc-bootstrap
30054 @if libtermcap
30055 maybe-configure-libtermcap: configure-libtermcap
30056 configure-libtermcap:
30057 @: $(MAKE); $(unstage)
30058 @r=`${PWD_COMMAND}`; export r; \
30059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30060 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
30061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
30062 $(HOST_EXPORTS) \
30063 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
30064 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
30065 case $(srcdir) in \
30066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30067 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
30068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30069 esac; \
30070 module_srcdir=libtermcap; \
30071 $(SHELL) \
30072 $$s/$$module_srcdir/configure \
30073 --srcdir=$${topdir}/$$module_srcdir \
30074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30075 --target=${target_alias} \
30076 || exit 1
30077 @endif libtermcap
30083 .PHONY: all-libtermcap maybe-all-libtermcap
30084 maybe-all-libtermcap:
30085 @if gcc-bootstrap
30086 all-libtermcap: stage_current
30087 @endif gcc-bootstrap
30088 @if libtermcap
30089 TARGET-libtermcap=all
30090 maybe-all-libtermcap: all-libtermcap
30091 all-libtermcap: configure-libtermcap
30092 @: $(MAKE); $(unstage)
30093 @r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(HOST_EXPORTS) \
30096 (cd $(HOST_SUBDIR)/libtermcap && \
30097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30098 $(TARGET-libtermcap))
30099 @endif libtermcap
30104 .PHONY: check-libtermcap maybe-check-libtermcap
30105 maybe-check-libtermcap:
30106 @if libtermcap
30107 maybe-check-libtermcap: check-libtermcap
30109 check-libtermcap:
30111 @endif libtermcap
30113 .PHONY: install-libtermcap maybe-install-libtermcap
30114 maybe-install-libtermcap:
30115 @if libtermcap
30116 maybe-install-libtermcap: install-libtermcap
30118 install-libtermcap: installdirs
30119 @: $(MAKE); $(unstage)
30120 @r=`${PWD_COMMAND}`; export r; \
30121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30122 $(HOST_EXPORTS) \
30123 (cd $(HOST_SUBDIR)/libtermcap && \
30124 $(MAKE) $(FLAGS_TO_PASS) install)
30126 @endif libtermcap
30128 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
30129 maybe-install-strip-libtermcap:
30130 @if libtermcap
30131 maybe-install-strip-libtermcap: install-strip-libtermcap
30133 install-strip-libtermcap: installdirs
30134 @: $(MAKE); $(unstage)
30135 @r=`${PWD_COMMAND}`; export r; \
30136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30137 $(HOST_EXPORTS) \
30138 (cd $(HOST_SUBDIR)/libtermcap && \
30139 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30141 @endif libtermcap
30143 # Other targets (info, dvi, pdf, etc.)
30145 .PHONY: maybe-info-libtermcap info-libtermcap
30146 maybe-info-libtermcap:
30147 @if libtermcap
30148 maybe-info-libtermcap: info-libtermcap
30150 info-libtermcap: \
30151 configure-libtermcap
30152 @: $(MAKE); $(unstage)
30153 @[ -f ./libtermcap/Makefile ] || exit 0; \
30154 r=`${PWD_COMMAND}`; export r; \
30155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30156 $(HOST_EXPORTS) \
30157 for flag in $(EXTRA_HOST_FLAGS) ; do \
30158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30159 done; \
30160 echo "Doing info in libtermcap" ; \
30161 (cd $(HOST_SUBDIR)/libtermcap && \
30162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30164 "RANLIB=$${RANLIB}" \
30165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30166 info) \
30167 || exit 1
30169 @endif libtermcap
30171 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
30172 maybe-dvi-libtermcap:
30173 @if libtermcap
30174 maybe-dvi-libtermcap: dvi-libtermcap
30176 dvi-libtermcap: \
30177 configure-libtermcap
30178 @: $(MAKE); $(unstage)
30179 @[ -f ./libtermcap/Makefile ] || exit 0; \
30180 r=`${PWD_COMMAND}`; export r; \
30181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30182 $(HOST_EXPORTS) \
30183 for flag in $(EXTRA_HOST_FLAGS) ; do \
30184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30185 done; \
30186 echo "Doing dvi in libtermcap" ; \
30187 (cd $(HOST_SUBDIR)/libtermcap && \
30188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30190 "RANLIB=$${RANLIB}" \
30191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30192 dvi) \
30193 || exit 1
30195 @endif libtermcap
30197 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
30198 maybe-pdf-libtermcap:
30199 @if libtermcap
30200 maybe-pdf-libtermcap: pdf-libtermcap
30202 pdf-libtermcap: \
30203 configure-libtermcap
30204 @: $(MAKE); $(unstage)
30205 @[ -f ./libtermcap/Makefile ] || exit 0; \
30206 r=`${PWD_COMMAND}`; export r; \
30207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30208 $(HOST_EXPORTS) \
30209 for flag in $(EXTRA_HOST_FLAGS) ; do \
30210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30211 done; \
30212 echo "Doing pdf in libtermcap" ; \
30213 (cd $(HOST_SUBDIR)/libtermcap && \
30214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30216 "RANLIB=$${RANLIB}" \
30217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30218 pdf) \
30219 || exit 1
30221 @endif libtermcap
30223 .PHONY: maybe-html-libtermcap html-libtermcap
30224 maybe-html-libtermcap:
30225 @if libtermcap
30226 maybe-html-libtermcap: html-libtermcap
30228 html-libtermcap: \
30229 configure-libtermcap
30230 @: $(MAKE); $(unstage)
30231 @[ -f ./libtermcap/Makefile ] || exit 0; \
30232 r=`${PWD_COMMAND}`; export r; \
30233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30234 $(HOST_EXPORTS) \
30235 for flag in $(EXTRA_HOST_FLAGS) ; do \
30236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30237 done; \
30238 echo "Doing html in libtermcap" ; \
30239 (cd $(HOST_SUBDIR)/libtermcap && \
30240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30242 "RANLIB=$${RANLIB}" \
30243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30244 html) \
30245 || exit 1
30247 @endif libtermcap
30249 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
30250 maybe-TAGS-libtermcap:
30251 @if libtermcap
30252 maybe-TAGS-libtermcap: TAGS-libtermcap
30254 TAGS-libtermcap: \
30255 configure-libtermcap
30256 @: $(MAKE); $(unstage)
30257 @[ -f ./libtermcap/Makefile ] || exit 0; \
30258 r=`${PWD_COMMAND}`; export r; \
30259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30260 $(HOST_EXPORTS) \
30261 for flag in $(EXTRA_HOST_FLAGS) ; do \
30262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30263 done; \
30264 echo "Doing TAGS in libtermcap" ; \
30265 (cd $(HOST_SUBDIR)/libtermcap && \
30266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30268 "RANLIB=$${RANLIB}" \
30269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30270 TAGS) \
30271 || exit 1
30273 @endif libtermcap
30275 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
30276 maybe-install-info-libtermcap:
30277 @if libtermcap
30278 maybe-install-info-libtermcap: install-info-libtermcap
30280 install-info-libtermcap: \
30281 configure-libtermcap \
30282 info-libtermcap
30283 @: $(MAKE); $(unstage)
30284 @[ -f ./libtermcap/Makefile ] || exit 0; \
30285 r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(HOST_EXPORTS) \
30288 for flag in $(EXTRA_HOST_FLAGS) ; do \
30289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30290 done; \
30291 echo "Doing install-info in libtermcap" ; \
30292 (cd $(HOST_SUBDIR)/libtermcap && \
30293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30295 "RANLIB=$${RANLIB}" \
30296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30297 install-info) \
30298 || exit 1
30300 @endif libtermcap
30302 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
30303 maybe-install-pdf-libtermcap:
30304 @if libtermcap
30305 maybe-install-pdf-libtermcap: install-pdf-libtermcap
30307 install-pdf-libtermcap: \
30308 configure-libtermcap \
30309 pdf-libtermcap
30310 @: $(MAKE); $(unstage)
30311 @[ -f ./libtermcap/Makefile ] || exit 0; \
30312 r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(HOST_EXPORTS) \
30315 for flag in $(EXTRA_HOST_FLAGS) ; do \
30316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30317 done; \
30318 echo "Doing install-pdf in libtermcap" ; \
30319 (cd $(HOST_SUBDIR)/libtermcap && \
30320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30322 "RANLIB=$${RANLIB}" \
30323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30324 install-pdf) \
30325 || exit 1
30327 @endif libtermcap
30329 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
30330 maybe-install-html-libtermcap:
30331 @if libtermcap
30332 maybe-install-html-libtermcap: install-html-libtermcap
30334 install-html-libtermcap: \
30335 configure-libtermcap \
30336 html-libtermcap
30337 @: $(MAKE); $(unstage)
30338 @[ -f ./libtermcap/Makefile ] || exit 0; \
30339 r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(HOST_EXPORTS) \
30342 for flag in $(EXTRA_HOST_FLAGS) ; do \
30343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30344 done; \
30345 echo "Doing install-html in libtermcap" ; \
30346 (cd $(HOST_SUBDIR)/libtermcap && \
30347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30349 "RANLIB=$${RANLIB}" \
30350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30351 install-html) \
30352 || exit 1
30354 @endif libtermcap
30356 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
30357 maybe-installcheck-libtermcap:
30358 @if libtermcap
30359 maybe-installcheck-libtermcap: installcheck-libtermcap
30361 installcheck-libtermcap: \
30362 configure-libtermcap
30363 @: $(MAKE); $(unstage)
30364 @[ -f ./libtermcap/Makefile ] || exit 0; \
30365 r=`${PWD_COMMAND}`; export r; \
30366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30367 $(HOST_EXPORTS) \
30368 for flag in $(EXTRA_HOST_FLAGS) ; do \
30369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30370 done; \
30371 echo "Doing installcheck in libtermcap" ; \
30372 (cd $(HOST_SUBDIR)/libtermcap && \
30373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30375 "RANLIB=$${RANLIB}" \
30376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30377 installcheck) \
30378 || exit 1
30380 @endif libtermcap
30382 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
30383 maybe-mostlyclean-libtermcap:
30384 @if libtermcap
30385 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
30387 # libtermcap doesn't support mostlyclean.
30388 mostlyclean-libtermcap:
30390 @endif libtermcap
30392 .PHONY: maybe-clean-libtermcap clean-libtermcap
30393 maybe-clean-libtermcap:
30394 @if libtermcap
30395 maybe-clean-libtermcap: clean-libtermcap
30397 # libtermcap doesn't support clean.
30398 clean-libtermcap:
30400 @endif libtermcap
30402 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
30403 maybe-distclean-libtermcap:
30404 @if libtermcap
30405 maybe-distclean-libtermcap: distclean-libtermcap
30407 # libtermcap doesn't support distclean.
30408 distclean-libtermcap:
30410 @endif libtermcap
30412 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
30413 maybe-maintainer-clean-libtermcap:
30414 @if libtermcap
30415 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
30417 # libtermcap doesn't support maintainer-clean.
30418 maintainer-clean-libtermcap:
30420 @endif libtermcap
30424 .PHONY: configure-utils maybe-configure-utils
30425 maybe-configure-utils:
30426 @if gcc-bootstrap
30427 configure-utils: stage_current
30428 @endif gcc-bootstrap
30429 @if utils
30430 maybe-configure-utils: configure-utils
30431 configure-utils:
30432 @: $(MAKE); $(unstage)
30433 @r=`${PWD_COMMAND}`; export r; \
30434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30435 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
30436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
30437 $(HOST_EXPORTS) \
30438 echo Configuring in $(HOST_SUBDIR)/utils; \
30439 cd "$(HOST_SUBDIR)/utils" || exit 1; \
30440 case $(srcdir) in \
30441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30442 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
30443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30444 esac; \
30445 module_srcdir=utils; \
30446 $(SHELL) \
30447 $$s/$$module_srcdir/configure \
30448 --srcdir=$${topdir}/$$module_srcdir \
30449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30450 --target=${target_alias} \
30451 || exit 1
30452 @endif utils
30458 .PHONY: all-utils maybe-all-utils
30459 maybe-all-utils:
30460 @if gcc-bootstrap
30461 all-utils: stage_current
30462 @endif gcc-bootstrap
30463 @if utils
30464 TARGET-utils=all
30465 maybe-all-utils: all-utils
30466 all-utils: configure-utils
30467 @: $(MAKE); $(unstage)
30468 @r=`${PWD_COMMAND}`; export r; \
30469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30470 $(HOST_EXPORTS) \
30471 (cd $(HOST_SUBDIR)/utils && \
30472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30473 $(TARGET-utils))
30474 @endif utils
30479 .PHONY: check-utils maybe-check-utils
30480 maybe-check-utils:
30481 @if utils
30482 maybe-check-utils: check-utils
30484 check-utils:
30486 @endif utils
30488 .PHONY: install-utils maybe-install-utils
30489 maybe-install-utils:
30490 @if utils
30491 maybe-install-utils: install-utils
30493 install-utils: installdirs
30494 @: $(MAKE); $(unstage)
30495 @r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 $(HOST_EXPORTS) \
30498 (cd $(HOST_SUBDIR)/utils && \
30499 $(MAKE) $(FLAGS_TO_PASS) install)
30501 @endif utils
30503 .PHONY: install-strip-utils maybe-install-strip-utils
30504 maybe-install-strip-utils:
30505 @if utils
30506 maybe-install-strip-utils: install-strip-utils
30508 install-strip-utils: installdirs
30509 @: $(MAKE); $(unstage)
30510 @r=`${PWD_COMMAND}`; export r; \
30511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30512 $(HOST_EXPORTS) \
30513 (cd $(HOST_SUBDIR)/utils && \
30514 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30516 @endif utils
30518 # Other targets (info, dvi, pdf, etc.)
30520 .PHONY: maybe-info-utils info-utils
30521 maybe-info-utils:
30522 @if utils
30523 maybe-info-utils: info-utils
30525 info-utils: \
30526 configure-utils
30527 @: $(MAKE); $(unstage)
30528 @[ -f ./utils/Makefile ] || exit 0; \
30529 r=`${PWD_COMMAND}`; export r; \
30530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30531 $(HOST_EXPORTS) \
30532 for flag in $(EXTRA_HOST_FLAGS) ; do \
30533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30534 done; \
30535 echo "Doing info in utils" ; \
30536 (cd $(HOST_SUBDIR)/utils && \
30537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30539 "RANLIB=$${RANLIB}" \
30540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30541 info) \
30542 || exit 1
30544 @endif utils
30546 .PHONY: maybe-dvi-utils dvi-utils
30547 maybe-dvi-utils:
30548 @if utils
30549 maybe-dvi-utils: dvi-utils
30551 dvi-utils: \
30552 configure-utils
30553 @: $(MAKE); $(unstage)
30554 @[ -f ./utils/Makefile ] || exit 0; \
30555 r=`${PWD_COMMAND}`; export r; \
30556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30557 $(HOST_EXPORTS) \
30558 for flag in $(EXTRA_HOST_FLAGS) ; do \
30559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30560 done; \
30561 echo "Doing dvi in utils" ; \
30562 (cd $(HOST_SUBDIR)/utils && \
30563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30565 "RANLIB=$${RANLIB}" \
30566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30567 dvi) \
30568 || exit 1
30570 @endif utils
30572 .PHONY: maybe-pdf-utils pdf-utils
30573 maybe-pdf-utils:
30574 @if utils
30575 maybe-pdf-utils: pdf-utils
30577 pdf-utils: \
30578 configure-utils
30579 @: $(MAKE); $(unstage)
30580 @[ -f ./utils/Makefile ] || exit 0; \
30581 r=`${PWD_COMMAND}`; export r; \
30582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30583 $(HOST_EXPORTS) \
30584 for flag in $(EXTRA_HOST_FLAGS) ; do \
30585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30586 done; \
30587 echo "Doing pdf in utils" ; \
30588 (cd $(HOST_SUBDIR)/utils && \
30589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30591 "RANLIB=$${RANLIB}" \
30592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30593 pdf) \
30594 || exit 1
30596 @endif utils
30598 .PHONY: maybe-html-utils html-utils
30599 maybe-html-utils:
30600 @if utils
30601 maybe-html-utils: html-utils
30603 html-utils: \
30604 configure-utils
30605 @: $(MAKE); $(unstage)
30606 @[ -f ./utils/Makefile ] || exit 0; \
30607 r=`${PWD_COMMAND}`; export r; \
30608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30609 $(HOST_EXPORTS) \
30610 for flag in $(EXTRA_HOST_FLAGS) ; do \
30611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30612 done; \
30613 echo "Doing html in utils" ; \
30614 (cd $(HOST_SUBDIR)/utils && \
30615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30617 "RANLIB=$${RANLIB}" \
30618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30619 html) \
30620 || exit 1
30622 @endif utils
30624 .PHONY: maybe-TAGS-utils TAGS-utils
30625 maybe-TAGS-utils:
30626 @if utils
30627 maybe-TAGS-utils: TAGS-utils
30629 TAGS-utils: \
30630 configure-utils
30631 @: $(MAKE); $(unstage)
30632 @[ -f ./utils/Makefile ] || exit 0; \
30633 r=`${PWD_COMMAND}`; export r; \
30634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30635 $(HOST_EXPORTS) \
30636 for flag in $(EXTRA_HOST_FLAGS) ; do \
30637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30638 done; \
30639 echo "Doing TAGS in utils" ; \
30640 (cd $(HOST_SUBDIR)/utils && \
30641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30643 "RANLIB=$${RANLIB}" \
30644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30645 TAGS) \
30646 || exit 1
30648 @endif utils
30650 .PHONY: maybe-install-info-utils install-info-utils
30651 maybe-install-info-utils:
30652 @if utils
30653 maybe-install-info-utils: install-info-utils
30655 install-info-utils: \
30656 configure-utils \
30657 info-utils
30658 @: $(MAKE); $(unstage)
30659 @[ -f ./utils/Makefile ] || exit 0; \
30660 r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(HOST_EXPORTS) \
30663 for flag in $(EXTRA_HOST_FLAGS) ; do \
30664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30665 done; \
30666 echo "Doing install-info in utils" ; \
30667 (cd $(HOST_SUBDIR)/utils && \
30668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30670 "RANLIB=$${RANLIB}" \
30671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30672 install-info) \
30673 || exit 1
30675 @endif utils
30677 .PHONY: maybe-install-pdf-utils install-pdf-utils
30678 maybe-install-pdf-utils:
30679 @if utils
30680 maybe-install-pdf-utils: install-pdf-utils
30682 install-pdf-utils: \
30683 configure-utils \
30684 pdf-utils
30685 @: $(MAKE); $(unstage)
30686 @[ -f ./utils/Makefile ] || exit 0; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(HOST_EXPORTS) \
30690 for flag in $(EXTRA_HOST_FLAGS) ; do \
30691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30692 done; \
30693 echo "Doing install-pdf in utils" ; \
30694 (cd $(HOST_SUBDIR)/utils && \
30695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30697 "RANLIB=$${RANLIB}" \
30698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30699 install-pdf) \
30700 || exit 1
30702 @endif utils
30704 .PHONY: maybe-install-html-utils install-html-utils
30705 maybe-install-html-utils:
30706 @if utils
30707 maybe-install-html-utils: install-html-utils
30709 install-html-utils: \
30710 configure-utils \
30711 html-utils
30712 @: $(MAKE); $(unstage)
30713 @[ -f ./utils/Makefile ] || exit 0; \
30714 r=`${PWD_COMMAND}`; export r; \
30715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30716 $(HOST_EXPORTS) \
30717 for flag in $(EXTRA_HOST_FLAGS) ; do \
30718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30719 done; \
30720 echo "Doing install-html in utils" ; \
30721 (cd $(HOST_SUBDIR)/utils && \
30722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30724 "RANLIB=$${RANLIB}" \
30725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30726 install-html) \
30727 || exit 1
30729 @endif utils
30731 .PHONY: maybe-installcheck-utils installcheck-utils
30732 maybe-installcheck-utils:
30733 @if utils
30734 maybe-installcheck-utils: installcheck-utils
30736 installcheck-utils: \
30737 configure-utils
30738 @: $(MAKE); $(unstage)
30739 @[ -f ./utils/Makefile ] || exit 0; \
30740 r=`${PWD_COMMAND}`; export r; \
30741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30742 $(HOST_EXPORTS) \
30743 for flag in $(EXTRA_HOST_FLAGS) ; do \
30744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30745 done; \
30746 echo "Doing installcheck in utils" ; \
30747 (cd $(HOST_SUBDIR)/utils && \
30748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30750 "RANLIB=$${RANLIB}" \
30751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30752 installcheck) \
30753 || exit 1
30755 @endif utils
30757 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
30758 maybe-mostlyclean-utils:
30759 @if utils
30760 maybe-mostlyclean-utils: mostlyclean-utils
30762 mostlyclean-utils:
30763 @: $(MAKE); $(unstage)
30764 @[ -f ./utils/Makefile ] || exit 0; \
30765 r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 $(HOST_EXPORTS) \
30768 for flag in $(EXTRA_HOST_FLAGS) ; do \
30769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30770 done; \
30771 echo "Doing mostlyclean in utils" ; \
30772 (cd $(HOST_SUBDIR)/utils && \
30773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30775 "RANLIB=$${RANLIB}" \
30776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30777 mostlyclean) \
30778 || exit 1
30780 @endif utils
30782 .PHONY: maybe-clean-utils clean-utils
30783 maybe-clean-utils:
30784 @if utils
30785 maybe-clean-utils: clean-utils
30787 clean-utils:
30788 @: $(MAKE); $(unstage)
30789 @[ -f ./utils/Makefile ] || exit 0; \
30790 r=`${PWD_COMMAND}`; export r; \
30791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30792 $(HOST_EXPORTS) \
30793 for flag in $(EXTRA_HOST_FLAGS) ; do \
30794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30795 done; \
30796 echo "Doing clean in utils" ; \
30797 (cd $(HOST_SUBDIR)/utils && \
30798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30800 "RANLIB=$${RANLIB}" \
30801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30802 clean) \
30803 || exit 1
30805 @endif utils
30807 .PHONY: maybe-distclean-utils distclean-utils
30808 maybe-distclean-utils:
30809 @if utils
30810 maybe-distclean-utils: distclean-utils
30812 distclean-utils:
30813 @: $(MAKE); $(unstage)
30814 @[ -f ./utils/Makefile ] || exit 0; \
30815 r=`${PWD_COMMAND}`; export r; \
30816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30817 $(HOST_EXPORTS) \
30818 for flag in $(EXTRA_HOST_FLAGS) ; do \
30819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30820 done; \
30821 echo "Doing distclean in utils" ; \
30822 (cd $(HOST_SUBDIR)/utils && \
30823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30825 "RANLIB=$${RANLIB}" \
30826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30827 distclean) \
30828 || exit 1
30830 @endif utils
30832 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30833 maybe-maintainer-clean-utils:
30834 @if utils
30835 maybe-maintainer-clean-utils: maintainer-clean-utils
30837 maintainer-clean-utils:
30838 @: $(MAKE); $(unstage)
30839 @[ -f ./utils/Makefile ] || exit 0; \
30840 r=`${PWD_COMMAND}`; export r; \
30841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30842 $(HOST_EXPORTS) \
30843 for flag in $(EXTRA_HOST_FLAGS) ; do \
30844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30845 done; \
30846 echo "Doing maintainer-clean in utils" ; \
30847 (cd $(HOST_SUBDIR)/utils && \
30848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30850 "RANLIB=$${RANLIB}" \
30851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30852 maintainer-clean) \
30853 || exit 1
30855 @endif utils
30859 .PHONY: configure-gnattools maybe-configure-gnattools
30860 maybe-configure-gnattools:
30861 @if gcc-bootstrap
30862 configure-gnattools: stage_current
30863 @endif gcc-bootstrap
30864 @if gnattools
30865 maybe-configure-gnattools: configure-gnattools
30866 configure-gnattools:
30867 @: $(MAKE); $(unstage)
30868 @r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30872 $(HOST_EXPORTS) \
30873 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30874 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30875 case $(srcdir) in \
30876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30877 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30879 esac; \
30880 module_srcdir=gnattools; \
30881 $(SHELL) \
30882 $$s/$$module_srcdir/configure \
30883 --srcdir=$${topdir}/$$module_srcdir \
30884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30885 --target=${target_alias} \
30886 || exit 1
30887 @endif gnattools
30893 .PHONY: all-gnattools maybe-all-gnattools
30894 maybe-all-gnattools:
30895 @if gcc-bootstrap
30896 all-gnattools: stage_current
30897 @endif gcc-bootstrap
30898 @if gnattools
30899 TARGET-gnattools=all
30900 maybe-all-gnattools: all-gnattools
30901 all-gnattools: configure-gnattools
30902 @: $(MAKE); $(unstage)
30903 @r=`${PWD_COMMAND}`; export r; \
30904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30905 $(HOST_EXPORTS) \
30906 (cd $(HOST_SUBDIR)/gnattools && \
30907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30908 $(TARGET-gnattools))
30909 @endif gnattools
30914 .PHONY: check-gnattools maybe-check-gnattools
30915 maybe-check-gnattools:
30916 @if gnattools
30917 maybe-check-gnattools: check-gnattools
30919 check-gnattools:
30920 @: $(MAKE); $(unstage)
30921 @r=`${PWD_COMMAND}`; export r; \
30922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30923 $(HOST_EXPORTS) \
30924 (cd $(HOST_SUBDIR)/gnattools && \
30925 $(MAKE) $(FLAGS_TO_PASS) check)
30927 @endif gnattools
30929 .PHONY: install-gnattools maybe-install-gnattools
30930 maybe-install-gnattools:
30931 @if gnattools
30932 maybe-install-gnattools: install-gnattools
30934 install-gnattools: installdirs
30935 @: $(MAKE); $(unstage)
30936 @r=`${PWD_COMMAND}`; export r; \
30937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30938 $(HOST_EXPORTS) \
30939 (cd $(HOST_SUBDIR)/gnattools && \
30940 $(MAKE) $(FLAGS_TO_PASS) install)
30942 @endif gnattools
30944 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30945 maybe-install-strip-gnattools:
30946 @if gnattools
30947 maybe-install-strip-gnattools: install-strip-gnattools
30949 install-strip-gnattools: installdirs
30950 @: $(MAKE); $(unstage)
30951 @r=`${PWD_COMMAND}`; export r; \
30952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30953 $(HOST_EXPORTS) \
30954 (cd $(HOST_SUBDIR)/gnattools && \
30955 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30957 @endif gnattools
30959 # Other targets (info, dvi, pdf, etc.)
30961 .PHONY: maybe-info-gnattools info-gnattools
30962 maybe-info-gnattools:
30963 @if gnattools
30964 maybe-info-gnattools: info-gnattools
30966 info-gnattools: \
30967 configure-gnattools
30968 @: $(MAKE); $(unstage)
30969 @[ -f ./gnattools/Makefile ] || exit 0; \
30970 r=`${PWD_COMMAND}`; export r; \
30971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30972 $(HOST_EXPORTS) \
30973 for flag in $(EXTRA_HOST_FLAGS) ; do \
30974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30975 done; \
30976 echo "Doing info in gnattools" ; \
30977 (cd $(HOST_SUBDIR)/gnattools && \
30978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30980 "RANLIB=$${RANLIB}" \
30981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30982 info) \
30983 || exit 1
30985 @endif gnattools
30987 .PHONY: maybe-dvi-gnattools dvi-gnattools
30988 maybe-dvi-gnattools:
30989 @if gnattools
30990 maybe-dvi-gnattools: dvi-gnattools
30992 dvi-gnattools: \
30993 configure-gnattools
30994 @: $(MAKE); $(unstage)
30995 @[ -f ./gnattools/Makefile ] || exit 0; \
30996 r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(HOST_EXPORTS) \
30999 for flag in $(EXTRA_HOST_FLAGS) ; do \
31000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31001 done; \
31002 echo "Doing dvi in gnattools" ; \
31003 (cd $(HOST_SUBDIR)/gnattools && \
31004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31006 "RANLIB=$${RANLIB}" \
31007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31008 dvi) \
31009 || exit 1
31011 @endif gnattools
31013 .PHONY: maybe-pdf-gnattools pdf-gnattools
31014 maybe-pdf-gnattools:
31015 @if gnattools
31016 maybe-pdf-gnattools: pdf-gnattools
31018 pdf-gnattools: \
31019 configure-gnattools
31020 @: $(MAKE); $(unstage)
31021 @[ -f ./gnattools/Makefile ] || exit 0; \
31022 r=`${PWD_COMMAND}`; export r; \
31023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31024 $(HOST_EXPORTS) \
31025 for flag in $(EXTRA_HOST_FLAGS) ; do \
31026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31027 done; \
31028 echo "Doing pdf in gnattools" ; \
31029 (cd $(HOST_SUBDIR)/gnattools && \
31030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31032 "RANLIB=$${RANLIB}" \
31033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31034 pdf) \
31035 || exit 1
31037 @endif gnattools
31039 .PHONY: maybe-html-gnattools html-gnattools
31040 maybe-html-gnattools:
31041 @if gnattools
31042 maybe-html-gnattools: html-gnattools
31044 html-gnattools: \
31045 configure-gnattools
31046 @: $(MAKE); $(unstage)
31047 @[ -f ./gnattools/Makefile ] || exit 0; \
31048 r=`${PWD_COMMAND}`; export r; \
31049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31050 $(HOST_EXPORTS) \
31051 for flag in $(EXTRA_HOST_FLAGS) ; do \
31052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31053 done; \
31054 echo "Doing html in gnattools" ; \
31055 (cd $(HOST_SUBDIR)/gnattools && \
31056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31058 "RANLIB=$${RANLIB}" \
31059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31060 html) \
31061 || exit 1
31063 @endif gnattools
31065 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
31066 maybe-TAGS-gnattools:
31067 @if gnattools
31068 maybe-TAGS-gnattools: TAGS-gnattools
31070 TAGS-gnattools: \
31071 configure-gnattools
31072 @: $(MAKE); $(unstage)
31073 @[ -f ./gnattools/Makefile ] || exit 0; \
31074 r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(HOST_EXPORTS) \
31077 for flag in $(EXTRA_HOST_FLAGS) ; do \
31078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31079 done; \
31080 echo "Doing TAGS in gnattools" ; \
31081 (cd $(HOST_SUBDIR)/gnattools && \
31082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31084 "RANLIB=$${RANLIB}" \
31085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31086 TAGS) \
31087 || exit 1
31089 @endif gnattools
31091 .PHONY: maybe-install-info-gnattools install-info-gnattools
31092 maybe-install-info-gnattools:
31093 @if gnattools
31094 maybe-install-info-gnattools: install-info-gnattools
31096 install-info-gnattools: \
31097 configure-gnattools \
31098 info-gnattools
31099 @: $(MAKE); $(unstage)
31100 @[ -f ./gnattools/Makefile ] || exit 0; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(HOST_EXPORTS) \
31104 for flag in $(EXTRA_HOST_FLAGS) ; do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 echo "Doing install-info in gnattools" ; \
31108 (cd $(HOST_SUBDIR)/gnattools && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31113 install-info) \
31114 || exit 1
31116 @endif gnattools
31118 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
31119 maybe-install-pdf-gnattools:
31120 @if gnattools
31121 maybe-install-pdf-gnattools: install-pdf-gnattools
31123 install-pdf-gnattools: \
31124 configure-gnattools \
31125 pdf-gnattools
31126 @: $(MAKE); $(unstage)
31127 @[ -f ./gnattools/Makefile ] || exit 0; \
31128 r=`${PWD_COMMAND}`; export r; \
31129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31130 $(HOST_EXPORTS) \
31131 for flag in $(EXTRA_HOST_FLAGS) ; do \
31132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31133 done; \
31134 echo "Doing install-pdf in gnattools" ; \
31135 (cd $(HOST_SUBDIR)/gnattools && \
31136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31138 "RANLIB=$${RANLIB}" \
31139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31140 install-pdf) \
31141 || exit 1
31143 @endif gnattools
31145 .PHONY: maybe-install-html-gnattools install-html-gnattools
31146 maybe-install-html-gnattools:
31147 @if gnattools
31148 maybe-install-html-gnattools: install-html-gnattools
31150 install-html-gnattools: \
31151 configure-gnattools \
31152 html-gnattools
31153 @: $(MAKE); $(unstage)
31154 @[ -f ./gnattools/Makefile ] || exit 0; \
31155 r=`${PWD_COMMAND}`; export r; \
31156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31157 $(HOST_EXPORTS) \
31158 for flag in $(EXTRA_HOST_FLAGS) ; do \
31159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31160 done; \
31161 echo "Doing install-html in gnattools" ; \
31162 (cd $(HOST_SUBDIR)/gnattools && \
31163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31165 "RANLIB=$${RANLIB}" \
31166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31167 install-html) \
31168 || exit 1
31170 @endif gnattools
31172 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
31173 maybe-installcheck-gnattools:
31174 @if gnattools
31175 maybe-installcheck-gnattools: installcheck-gnattools
31177 installcheck-gnattools: \
31178 configure-gnattools
31179 @: $(MAKE); $(unstage)
31180 @[ -f ./gnattools/Makefile ] || exit 0; \
31181 r=`${PWD_COMMAND}`; export r; \
31182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31183 $(HOST_EXPORTS) \
31184 for flag in $(EXTRA_HOST_FLAGS) ; do \
31185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31186 done; \
31187 echo "Doing installcheck in gnattools" ; \
31188 (cd $(HOST_SUBDIR)/gnattools && \
31189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31191 "RANLIB=$${RANLIB}" \
31192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31193 installcheck) \
31194 || exit 1
31196 @endif gnattools
31198 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
31199 maybe-mostlyclean-gnattools:
31200 @if gnattools
31201 maybe-mostlyclean-gnattools: mostlyclean-gnattools
31203 mostlyclean-gnattools:
31204 @: $(MAKE); $(unstage)
31205 @[ -f ./gnattools/Makefile ] || exit 0; \
31206 r=`${PWD_COMMAND}`; export r; \
31207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31208 $(HOST_EXPORTS) \
31209 for flag in $(EXTRA_HOST_FLAGS) ; do \
31210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31211 done; \
31212 echo "Doing mostlyclean in gnattools" ; \
31213 (cd $(HOST_SUBDIR)/gnattools && \
31214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31216 "RANLIB=$${RANLIB}" \
31217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31218 mostlyclean) \
31219 || exit 1
31221 @endif gnattools
31223 .PHONY: maybe-clean-gnattools clean-gnattools
31224 maybe-clean-gnattools:
31225 @if gnattools
31226 maybe-clean-gnattools: clean-gnattools
31228 clean-gnattools:
31229 @: $(MAKE); $(unstage)
31230 @[ -f ./gnattools/Makefile ] || exit 0; \
31231 r=`${PWD_COMMAND}`; export r; \
31232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31233 $(HOST_EXPORTS) \
31234 for flag in $(EXTRA_HOST_FLAGS) ; do \
31235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31236 done; \
31237 echo "Doing clean in gnattools" ; \
31238 (cd $(HOST_SUBDIR)/gnattools && \
31239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31241 "RANLIB=$${RANLIB}" \
31242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31243 clean) \
31244 || exit 1
31246 @endif gnattools
31248 .PHONY: maybe-distclean-gnattools distclean-gnattools
31249 maybe-distclean-gnattools:
31250 @if gnattools
31251 maybe-distclean-gnattools: distclean-gnattools
31253 distclean-gnattools:
31254 @: $(MAKE); $(unstage)
31255 @[ -f ./gnattools/Makefile ] || exit 0; \
31256 r=`${PWD_COMMAND}`; export r; \
31257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31258 $(HOST_EXPORTS) \
31259 for flag in $(EXTRA_HOST_FLAGS) ; do \
31260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31261 done; \
31262 echo "Doing distclean in gnattools" ; \
31263 (cd $(HOST_SUBDIR)/gnattools && \
31264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31266 "RANLIB=$${RANLIB}" \
31267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31268 distclean) \
31269 || exit 1
31271 @endif gnattools
31273 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
31274 maybe-maintainer-clean-gnattools:
31275 @if gnattools
31276 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
31278 maintainer-clean-gnattools:
31279 @: $(MAKE); $(unstage)
31280 @[ -f ./gnattools/Makefile ] || exit 0; \
31281 r=`${PWD_COMMAND}`; export r; \
31282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31283 $(HOST_EXPORTS) \
31284 for flag in $(EXTRA_HOST_FLAGS) ; do \
31285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31286 done; \
31287 echo "Doing maintainer-clean in gnattools" ; \
31288 (cd $(HOST_SUBDIR)/gnattools && \
31289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31291 "RANLIB=$${RANLIB}" \
31292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31293 maintainer-clean) \
31294 || exit 1
31296 @endif gnattools
31300 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
31301 maybe-configure-lto-plugin:
31302 @if gcc-bootstrap
31303 configure-lto-plugin: stage_current
31304 @endif gcc-bootstrap
31305 @if lto-plugin
31306 maybe-configure-lto-plugin: configure-lto-plugin
31307 configure-lto-plugin:
31308 @r=`${PWD_COMMAND}`; export r; \
31309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31310 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31312 $(HOST_EXPORTS) \
31313 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
31314 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
31315 case $(srcdir) in \
31316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31317 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31319 esac; \
31320 module_srcdir=lto-plugin; \
31321 $(SHELL) \
31322 $$s/$$module_srcdir/configure \
31323 --srcdir=$${topdir}/$$module_srcdir \
31324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31325 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
31326 || exit 1
31327 @endif lto-plugin
31331 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
31332 maybe-configure-stage1-lto-plugin:
31333 @if lto-plugin-bootstrap
31334 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
31335 configure-stage1-lto-plugin:
31336 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31338 @r=`${PWD_COMMAND}`; export r; \
31339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31340 TFLAGS="$(STAGE1_TFLAGS)"; \
31341 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31342 $(HOST_EXPORTS) \
31343 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31344 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31345 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31346 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
31347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31348 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31349 case $(srcdir) in \
31350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31351 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31353 esac; \
31354 module_srcdir=lto-plugin; \
31355 $(SHELL) $$s/$$module_srcdir/configure \
31356 --srcdir=$${topdir}/$$module_srcdir \
31357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31358 --target=${target_alias} \
31360 $(STAGE1_CONFIGURE_FLAGS) \
31361 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31362 @endif lto-plugin-bootstrap
31364 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
31365 maybe-configure-stage2-lto-plugin:
31366 @if lto-plugin-bootstrap
31367 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
31368 configure-stage2-lto-plugin:
31369 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31371 @r=`${PWD_COMMAND}`; export r; \
31372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31373 TFLAGS="$(STAGE2_TFLAGS)"; \
31374 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31375 $(HOST_EXPORTS) \
31376 $(POSTSTAGE1_HOST_EXPORTS) \
31377 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31378 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31379 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31380 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
31381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31382 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31383 case $(srcdir) in \
31384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31385 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31387 esac; \
31388 module_srcdir=lto-plugin; \
31389 $(SHELL) $$s/$$module_srcdir/configure \
31390 --srcdir=$${topdir}/$$module_srcdir \
31391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31392 --target=${target_alias} \
31393 --with-build-libsubdir=$(HOST_SUBDIR) \
31394 $(STAGE2_CONFIGURE_FLAGS) \
31395 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31396 @endif lto-plugin-bootstrap
31398 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
31399 maybe-configure-stage3-lto-plugin:
31400 @if lto-plugin-bootstrap
31401 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
31402 configure-stage3-lto-plugin:
31403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31405 @r=`${PWD_COMMAND}`; export r; \
31406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31407 TFLAGS="$(STAGE3_TFLAGS)"; \
31408 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31409 $(HOST_EXPORTS) \
31410 $(POSTSTAGE1_HOST_EXPORTS) \
31411 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31412 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31413 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31414 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
31415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31416 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31417 case $(srcdir) in \
31418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31419 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31421 esac; \
31422 module_srcdir=lto-plugin; \
31423 $(SHELL) $$s/$$module_srcdir/configure \
31424 --srcdir=$${topdir}/$$module_srcdir \
31425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31426 --target=${target_alias} \
31427 --with-build-libsubdir=$(HOST_SUBDIR) \
31428 $(STAGE3_CONFIGURE_FLAGS) \
31429 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31430 @endif lto-plugin-bootstrap
31432 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
31433 maybe-configure-stage4-lto-plugin:
31434 @if lto-plugin-bootstrap
31435 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
31436 configure-stage4-lto-plugin:
31437 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31439 @r=`${PWD_COMMAND}`; export r; \
31440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31441 TFLAGS="$(STAGE4_TFLAGS)"; \
31442 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31443 $(HOST_EXPORTS) \
31444 $(POSTSTAGE1_HOST_EXPORTS) \
31445 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31446 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31447 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31448 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
31449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31450 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31451 case $(srcdir) in \
31452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31453 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31455 esac; \
31456 module_srcdir=lto-plugin; \
31457 $(SHELL) $$s/$$module_srcdir/configure \
31458 --srcdir=$${topdir}/$$module_srcdir \
31459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31460 --target=${target_alias} \
31461 --with-build-libsubdir=$(HOST_SUBDIR) \
31462 $(STAGE4_CONFIGURE_FLAGS) \
31463 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31464 @endif lto-plugin-bootstrap
31466 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
31467 maybe-configure-stageprofile-lto-plugin:
31468 @if lto-plugin-bootstrap
31469 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31470 configure-stageprofile-lto-plugin:
31471 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31473 @r=`${PWD_COMMAND}`; export r; \
31474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31475 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31476 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31477 $(HOST_EXPORTS) \
31478 $(POSTSTAGE1_HOST_EXPORTS) \
31479 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31480 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31481 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31482 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
31483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31484 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31485 case $(srcdir) in \
31486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31487 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31489 esac; \
31490 module_srcdir=lto-plugin; \
31491 $(SHELL) $$s/$$module_srcdir/configure \
31492 --srcdir=$${topdir}/$$module_srcdir \
31493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31494 --target=${target_alias} \
31495 --with-build-libsubdir=$(HOST_SUBDIR) \
31496 $(STAGEprofile_CONFIGURE_FLAGS) \
31497 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31498 @endif lto-plugin-bootstrap
31500 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
31501 maybe-configure-stagefeedback-lto-plugin:
31502 @if lto-plugin-bootstrap
31503 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31504 configure-stagefeedback-lto-plugin:
31505 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
31507 @r=`${PWD_COMMAND}`; export r; \
31508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31509 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31510 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
31511 $(HOST_EXPORTS) \
31512 $(POSTSTAGE1_HOST_EXPORTS) \
31513 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31514 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31515 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31516 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
31517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
31518 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
31519 case $(srcdir) in \
31520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31521 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
31522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31523 esac; \
31524 module_srcdir=lto-plugin; \
31525 $(SHELL) $$s/$$module_srcdir/configure \
31526 --srcdir=$${topdir}/$$module_srcdir \
31527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31528 --target=${target_alias} \
31529 --with-build-libsubdir=$(HOST_SUBDIR) \
31530 $(STAGEfeedback_CONFIGURE_FLAGS) \
31531 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
31532 @endif lto-plugin-bootstrap
31538 .PHONY: all-lto-plugin maybe-all-lto-plugin
31539 maybe-all-lto-plugin:
31540 @if gcc-bootstrap
31541 all-lto-plugin: stage_current
31542 @endif gcc-bootstrap
31543 @if lto-plugin
31544 TARGET-lto-plugin=all
31545 maybe-all-lto-plugin: all-lto-plugin
31546 all-lto-plugin: configure-lto-plugin
31547 @r=`${PWD_COMMAND}`; export r; \
31548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31549 $(HOST_EXPORTS) \
31550 (cd $(HOST_SUBDIR)/lto-plugin && \
31551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31552 $(TARGET-lto-plugin))
31553 @endif lto-plugin
31557 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
31558 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
31559 maybe-all-stage1-lto-plugin:
31560 maybe-clean-stage1-lto-plugin:
31561 @if lto-plugin-bootstrap
31562 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
31563 all-stage1: all-stage1-lto-plugin
31564 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
31565 all-stage1-lto-plugin: configure-stage1-lto-plugin
31566 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31567 @r=`${PWD_COMMAND}`; export r; \
31568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31569 TFLAGS="$(STAGE1_TFLAGS)"; \
31570 $(HOST_EXPORTS) \
31571 cd $(HOST_SUBDIR)/lto-plugin && \
31572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31573 CFLAGS="$(STAGE1_CFLAGS)" \
31574 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31575 LIBCFLAGS="$(LIBCFLAGS)" \
31576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31579 $(EXTRA_HOST_FLAGS) \
31580 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31581 TFLAGS="$(STAGE1_TFLAGS)" \
31582 $(TARGET-stage1-lto-plugin)
31584 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
31585 clean-stage1: clean-stage1-lto-plugin
31586 clean-stage1-lto-plugin:
31587 @if [ $(current_stage) = stage1 ]; then \
31588 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31589 else \
31590 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
31591 $(MAKE) stage1-start; \
31592 fi; \
31593 cd $(HOST_SUBDIR)/lto-plugin && \
31594 $(MAKE) $(EXTRA_HOST_FLAGS) \
31595 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31596 @endif lto-plugin-bootstrap
31599 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
31600 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
31601 maybe-all-stage2-lto-plugin:
31602 maybe-clean-stage2-lto-plugin:
31603 @if lto-plugin-bootstrap
31604 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
31605 all-stage2: all-stage2-lto-plugin
31606 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
31607 all-stage2-lto-plugin: configure-stage2-lto-plugin
31608 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31609 @r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 TFLAGS="$(STAGE2_TFLAGS)"; \
31612 $(HOST_EXPORTS) \
31613 $(POSTSTAGE1_HOST_EXPORTS) \
31614 cd $(HOST_SUBDIR)/lto-plugin && \
31615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31616 CFLAGS="$(STAGE2_CFLAGS)" \
31617 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31618 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31623 TFLAGS="$(STAGE2_TFLAGS)" \
31624 $(TARGET-stage2-lto-plugin)
31626 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
31627 clean-stage2: clean-stage2-lto-plugin
31628 clean-stage2-lto-plugin:
31629 @if [ $(current_stage) = stage2 ]; then \
31630 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31631 else \
31632 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
31633 $(MAKE) stage2-start; \
31634 fi; \
31635 cd $(HOST_SUBDIR)/lto-plugin && \
31636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31637 @endif lto-plugin-bootstrap
31640 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
31641 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
31642 maybe-all-stage3-lto-plugin:
31643 maybe-clean-stage3-lto-plugin:
31644 @if lto-plugin-bootstrap
31645 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
31646 all-stage3: all-stage3-lto-plugin
31647 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
31648 all-stage3-lto-plugin: configure-stage3-lto-plugin
31649 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31650 @r=`${PWD_COMMAND}`; export r; \
31651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31652 TFLAGS="$(STAGE3_TFLAGS)"; \
31653 $(HOST_EXPORTS) \
31654 $(POSTSTAGE1_HOST_EXPORTS) \
31655 cd $(HOST_SUBDIR)/lto-plugin && \
31656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31657 CFLAGS="$(STAGE3_CFLAGS)" \
31658 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31659 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31663 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31664 TFLAGS="$(STAGE3_TFLAGS)" \
31665 $(TARGET-stage3-lto-plugin)
31667 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
31668 clean-stage3: clean-stage3-lto-plugin
31669 clean-stage3-lto-plugin:
31670 @if [ $(current_stage) = stage3 ]; then \
31671 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31672 else \
31673 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
31674 $(MAKE) stage3-start; \
31675 fi; \
31676 cd $(HOST_SUBDIR)/lto-plugin && \
31677 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31678 @endif lto-plugin-bootstrap
31681 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
31682 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
31683 maybe-all-stage4-lto-plugin:
31684 maybe-clean-stage4-lto-plugin:
31685 @if lto-plugin-bootstrap
31686 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
31687 all-stage4: all-stage4-lto-plugin
31688 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
31689 all-stage4-lto-plugin: configure-stage4-lto-plugin
31690 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31691 @r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 TFLAGS="$(STAGE4_TFLAGS)"; \
31694 $(HOST_EXPORTS) \
31695 $(POSTSTAGE1_HOST_EXPORTS) \
31696 cd $(HOST_SUBDIR)/lto-plugin && \
31697 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31698 CFLAGS="$(STAGE4_CFLAGS)" \
31699 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31700 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31701 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31702 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31703 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31704 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31705 TFLAGS="$(STAGE4_TFLAGS)" \
31706 $(TARGET-stage4-lto-plugin)
31708 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
31709 clean-stage4: clean-stage4-lto-plugin
31710 clean-stage4-lto-plugin:
31711 @if [ $(current_stage) = stage4 ]; then \
31712 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31713 else \
31714 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
31715 $(MAKE) stage4-start; \
31716 fi; \
31717 cd $(HOST_SUBDIR)/lto-plugin && \
31718 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31719 @endif lto-plugin-bootstrap
31722 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
31723 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
31724 maybe-all-stageprofile-lto-plugin:
31725 maybe-clean-stageprofile-lto-plugin:
31726 @if lto-plugin-bootstrap
31727 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
31728 all-stageprofile: all-stageprofile-lto-plugin
31729 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
31730 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
31731 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31732 @r=`${PWD_COMMAND}`; export r; \
31733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31734 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31735 $(HOST_EXPORTS) \
31736 $(POSTSTAGE1_HOST_EXPORTS) \
31737 cd $(HOST_SUBDIR)/lto-plugin && \
31738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31739 CFLAGS="$(STAGEprofile_CFLAGS)" \
31740 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31741 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31746 TFLAGS="$(STAGEprofile_TFLAGS)" \
31747 $(TARGET-stageprofile-lto-plugin)
31749 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
31750 clean-stageprofile: clean-stageprofile-lto-plugin
31751 clean-stageprofile-lto-plugin:
31752 @if [ $(current_stage) = stageprofile ]; then \
31753 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31754 else \
31755 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
31756 $(MAKE) stageprofile-start; \
31757 fi; \
31758 cd $(HOST_SUBDIR)/lto-plugin && \
31759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31760 @endif lto-plugin-bootstrap
31763 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31764 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31765 maybe-all-stagefeedback-lto-plugin:
31766 maybe-clean-stagefeedback-lto-plugin:
31767 @if lto-plugin-bootstrap
31768 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31769 all-stagefeedback: all-stagefeedback-lto-plugin
31770 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31771 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31772 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31773 @r=`${PWD_COMMAND}`; export r; \
31774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31775 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31776 $(HOST_EXPORTS) \
31777 $(POSTSTAGE1_HOST_EXPORTS) \
31778 cd $(HOST_SUBDIR)/lto-plugin && \
31779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31780 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31781 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31782 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31786 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31787 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31788 $(TARGET-stagefeedback-lto-plugin)
31790 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31791 clean-stagefeedback: clean-stagefeedback-lto-plugin
31792 clean-stagefeedback-lto-plugin:
31793 @if [ $(current_stage) = stagefeedback ]; then \
31794 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31795 else \
31796 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31797 $(MAKE) stagefeedback-start; \
31798 fi; \
31799 cd $(HOST_SUBDIR)/lto-plugin && \
31800 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31801 @endif lto-plugin-bootstrap
31807 .PHONY: check-lto-plugin maybe-check-lto-plugin
31808 maybe-check-lto-plugin:
31809 @if lto-plugin
31810 maybe-check-lto-plugin: check-lto-plugin
31812 check-lto-plugin:
31813 @: $(MAKE); $(unstage)
31814 @r=`${PWD_COMMAND}`; export r; \
31815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31816 $(HOST_EXPORTS) \
31817 (cd $(HOST_SUBDIR)/lto-plugin && \
31818 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31820 @endif lto-plugin
31822 .PHONY: install-lto-plugin maybe-install-lto-plugin
31823 maybe-install-lto-plugin:
31824 @if lto-plugin
31825 maybe-install-lto-plugin: install-lto-plugin
31827 install-lto-plugin: installdirs
31828 @: $(MAKE); $(unstage)
31829 @r=`${PWD_COMMAND}`; export r; \
31830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31831 $(HOST_EXPORTS) \
31832 (cd $(HOST_SUBDIR)/lto-plugin && \
31833 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31835 @endif lto-plugin
31837 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31838 maybe-install-strip-lto-plugin:
31839 @if lto-plugin
31840 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31842 install-strip-lto-plugin: installdirs
31843 @: $(MAKE); $(unstage)
31844 @r=`${PWD_COMMAND}`; export r; \
31845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31846 $(HOST_EXPORTS) \
31847 (cd $(HOST_SUBDIR)/lto-plugin && \
31848 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31850 @endif lto-plugin
31852 # Other targets (info, dvi, pdf, etc.)
31854 .PHONY: maybe-info-lto-plugin info-lto-plugin
31855 maybe-info-lto-plugin:
31856 @if lto-plugin
31857 maybe-info-lto-plugin: info-lto-plugin
31859 info-lto-plugin: \
31860 configure-lto-plugin
31861 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31862 r=`${PWD_COMMAND}`; export r; \
31863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31864 $(HOST_EXPORTS) \
31865 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31867 done; \
31868 echo "Doing info in lto-plugin" ; \
31869 (cd $(HOST_SUBDIR)/lto-plugin && \
31870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31872 "RANLIB=$${RANLIB}" \
31873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31874 info) \
31875 || exit 1
31877 @endif lto-plugin
31879 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31880 maybe-dvi-lto-plugin:
31881 @if lto-plugin
31882 maybe-dvi-lto-plugin: dvi-lto-plugin
31884 dvi-lto-plugin: \
31885 configure-lto-plugin
31886 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31887 r=`${PWD_COMMAND}`; export r; \
31888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31889 $(HOST_EXPORTS) \
31890 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31892 done; \
31893 echo "Doing dvi in lto-plugin" ; \
31894 (cd $(HOST_SUBDIR)/lto-plugin && \
31895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31897 "RANLIB=$${RANLIB}" \
31898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31899 dvi) \
31900 || exit 1
31902 @endif lto-plugin
31904 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31905 maybe-pdf-lto-plugin:
31906 @if lto-plugin
31907 maybe-pdf-lto-plugin: pdf-lto-plugin
31909 pdf-lto-plugin: \
31910 configure-lto-plugin
31911 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31912 r=`${PWD_COMMAND}`; export r; \
31913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31914 $(HOST_EXPORTS) \
31915 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31917 done; \
31918 echo "Doing pdf in lto-plugin" ; \
31919 (cd $(HOST_SUBDIR)/lto-plugin && \
31920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31922 "RANLIB=$${RANLIB}" \
31923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31924 pdf) \
31925 || exit 1
31927 @endif lto-plugin
31929 .PHONY: maybe-html-lto-plugin html-lto-plugin
31930 maybe-html-lto-plugin:
31931 @if lto-plugin
31932 maybe-html-lto-plugin: html-lto-plugin
31934 html-lto-plugin: \
31935 configure-lto-plugin
31936 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31937 r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(HOST_EXPORTS) \
31940 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31942 done; \
31943 echo "Doing html in lto-plugin" ; \
31944 (cd $(HOST_SUBDIR)/lto-plugin && \
31945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31947 "RANLIB=$${RANLIB}" \
31948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31949 html) \
31950 || exit 1
31952 @endif lto-plugin
31954 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31955 maybe-TAGS-lto-plugin:
31956 @if lto-plugin
31957 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31959 TAGS-lto-plugin: \
31960 configure-lto-plugin
31961 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31962 r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(HOST_EXPORTS) \
31965 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31967 done; \
31968 echo "Doing TAGS in lto-plugin" ; \
31969 (cd $(HOST_SUBDIR)/lto-plugin && \
31970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31972 "RANLIB=$${RANLIB}" \
31973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31974 TAGS) \
31975 || exit 1
31977 @endif lto-plugin
31979 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31980 maybe-install-info-lto-plugin:
31981 @if lto-plugin
31982 maybe-install-info-lto-plugin: install-info-lto-plugin
31984 install-info-lto-plugin: \
31985 configure-lto-plugin \
31986 info-lto-plugin
31987 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31988 r=`${PWD_COMMAND}`; export r; \
31989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31990 $(HOST_EXPORTS) \
31991 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31993 done; \
31994 echo "Doing install-info in lto-plugin" ; \
31995 (cd $(HOST_SUBDIR)/lto-plugin && \
31996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31998 "RANLIB=$${RANLIB}" \
31999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32000 install-info) \
32001 || exit 1
32003 @endif lto-plugin
32005 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
32006 maybe-install-pdf-lto-plugin:
32007 @if lto-plugin
32008 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
32010 install-pdf-lto-plugin: \
32011 configure-lto-plugin \
32012 pdf-lto-plugin
32013 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32014 r=`${PWD_COMMAND}`; export r; \
32015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32016 $(HOST_EXPORTS) \
32017 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32019 done; \
32020 echo "Doing install-pdf in lto-plugin" ; \
32021 (cd $(HOST_SUBDIR)/lto-plugin && \
32022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32024 "RANLIB=$${RANLIB}" \
32025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32026 install-pdf) \
32027 || exit 1
32029 @endif lto-plugin
32031 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
32032 maybe-install-html-lto-plugin:
32033 @if lto-plugin
32034 maybe-install-html-lto-plugin: install-html-lto-plugin
32036 install-html-lto-plugin: \
32037 configure-lto-plugin \
32038 html-lto-plugin
32039 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32040 r=`${PWD_COMMAND}`; export r; \
32041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32042 $(HOST_EXPORTS) \
32043 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32045 done; \
32046 echo "Doing install-html in lto-plugin" ; \
32047 (cd $(HOST_SUBDIR)/lto-plugin && \
32048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32050 "RANLIB=$${RANLIB}" \
32051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32052 install-html) \
32053 || exit 1
32055 @endif lto-plugin
32057 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
32058 maybe-installcheck-lto-plugin:
32059 @if lto-plugin
32060 maybe-installcheck-lto-plugin: installcheck-lto-plugin
32062 installcheck-lto-plugin: \
32063 configure-lto-plugin
32064 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32065 r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(HOST_EXPORTS) \
32068 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32070 done; \
32071 echo "Doing installcheck in lto-plugin" ; \
32072 (cd $(HOST_SUBDIR)/lto-plugin && \
32073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32075 "RANLIB=$${RANLIB}" \
32076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32077 installcheck) \
32078 || exit 1
32080 @endif lto-plugin
32082 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
32083 maybe-mostlyclean-lto-plugin:
32084 @if lto-plugin
32085 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
32087 mostlyclean-lto-plugin:
32088 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32089 r=`${PWD_COMMAND}`; export r; \
32090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32091 $(HOST_EXPORTS) \
32092 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32094 done; \
32095 echo "Doing mostlyclean in lto-plugin" ; \
32096 (cd $(HOST_SUBDIR)/lto-plugin && \
32097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32099 "RANLIB=$${RANLIB}" \
32100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32101 mostlyclean) \
32102 || exit 1
32104 @endif lto-plugin
32106 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
32107 maybe-clean-lto-plugin:
32108 @if lto-plugin
32109 maybe-clean-lto-plugin: clean-lto-plugin
32111 clean-lto-plugin:
32112 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32113 r=`${PWD_COMMAND}`; export r; \
32114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32115 $(HOST_EXPORTS) \
32116 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32118 done; \
32119 echo "Doing clean in lto-plugin" ; \
32120 (cd $(HOST_SUBDIR)/lto-plugin && \
32121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32123 "RANLIB=$${RANLIB}" \
32124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32125 clean) \
32126 || exit 1
32128 @endif lto-plugin
32130 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
32131 maybe-distclean-lto-plugin:
32132 @if lto-plugin
32133 maybe-distclean-lto-plugin: distclean-lto-plugin
32135 distclean-lto-plugin:
32136 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32137 r=`${PWD_COMMAND}`; export r; \
32138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32139 $(HOST_EXPORTS) \
32140 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32142 done; \
32143 echo "Doing distclean in lto-plugin" ; \
32144 (cd $(HOST_SUBDIR)/lto-plugin && \
32145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32147 "RANLIB=$${RANLIB}" \
32148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32149 distclean) \
32150 || exit 1
32152 @endif lto-plugin
32154 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
32155 maybe-maintainer-clean-lto-plugin:
32156 @if lto-plugin
32157 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
32159 maintainer-clean-lto-plugin:
32160 @[ -f ./lto-plugin/Makefile ] || exit 0; \
32161 r=`${PWD_COMMAND}`; export r; \
32162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32163 $(HOST_EXPORTS) \
32164 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 echo "Doing maintainer-clean in lto-plugin" ; \
32168 (cd $(HOST_SUBDIR)/lto-plugin && \
32169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32171 "RANLIB=$${RANLIB}" \
32172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32173 maintainer-clean) \
32174 || exit 1
32176 @endif lto-plugin
32180 # ---------------------------------------
32181 # Modules which run on the target machine
32182 # ---------------------------------------
32187 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32188 maybe-configure-target-libstdc++-v3:
32189 @if gcc-bootstrap
32190 configure-target-libstdc++-v3: stage_current
32191 @endif gcc-bootstrap
32192 @if target-libstdc++-v3
32193 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32194 configure-target-libstdc++-v3:
32195 @r=`${PWD_COMMAND}`; export r; \
32196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32197 echo "Checking multilib configuration for libstdc++-v3..."; \
32198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32199 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32200 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32201 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32202 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32203 else \
32204 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32205 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32206 fi; \
32207 else \
32208 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32209 fi; \
32210 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32212 $(RAW_CXX_TARGET_EXPORTS) \
32213 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32214 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32215 case $(srcdir) in \
32216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32217 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32219 esac; \
32220 module_srcdir=libstdc++-v3; \
32221 rm -f no-such-file || : ; \
32222 CONFIG_SITE=no-such-file $(SHELL) \
32223 $$s/$$module_srcdir/configure \
32224 --srcdir=$${topdir}/$$module_srcdir \
32225 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32226 --target=${target_alias} \
32227 || exit 1
32228 @endif target-libstdc++-v3
32232 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32233 maybe-configure-stage1-target-libstdc++-v3:
32234 @if target-libstdc++-v3-bootstrap
32235 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32236 configure-stage1-target-libstdc++-v3:
32237 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32238 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32239 @r=`${PWD_COMMAND}`; export r; \
32240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32241 TFLAGS="$(STAGE1_TFLAGS)"; \
32242 echo "Checking multilib configuration for libstdc++-v3..."; \
32243 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32244 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32245 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32246 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32247 else \
32248 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32249 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32250 fi; \
32251 else \
32252 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32253 fi; \
32254 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32255 $(RAW_CXX_TARGET_EXPORTS) \
32256 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32257 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32258 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32259 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32261 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32262 case $(srcdir) in \
32263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32264 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32266 esac; \
32267 module_srcdir=libstdc++-v3; \
32268 $(SHELL) $$s/$$module_srcdir/configure \
32269 --srcdir=$${topdir}/$$module_srcdir \
32270 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32271 --target=${target_alias} \
32273 $(STAGE1_CONFIGURE_FLAGS)
32274 @endif target-libstdc++-v3-bootstrap
32276 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32277 maybe-configure-stage2-target-libstdc++-v3:
32278 @if target-libstdc++-v3-bootstrap
32279 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32280 configure-stage2-target-libstdc++-v3:
32281 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32282 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32283 @r=`${PWD_COMMAND}`; export r; \
32284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32285 TFLAGS="$(STAGE2_TFLAGS)"; \
32286 echo "Checking multilib configuration for libstdc++-v3..."; \
32287 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32288 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32289 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32290 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32291 else \
32292 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32293 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32294 fi; \
32295 else \
32296 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32297 fi; \
32298 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32299 $(RAW_CXX_TARGET_EXPORTS) \
32301 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32302 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32303 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32304 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32306 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32307 case $(srcdir) in \
32308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32309 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32311 esac; \
32312 module_srcdir=libstdc++-v3; \
32313 $(SHELL) $$s/$$module_srcdir/configure \
32314 --srcdir=$${topdir}/$$module_srcdir \
32315 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32316 --target=${target_alias} \
32317 --with-build-libsubdir=$(HOST_SUBDIR) \
32318 $(STAGE2_CONFIGURE_FLAGS)
32319 @endif target-libstdc++-v3-bootstrap
32321 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32322 maybe-configure-stage3-target-libstdc++-v3:
32323 @if target-libstdc++-v3-bootstrap
32324 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32325 configure-stage3-target-libstdc++-v3:
32326 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32327 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32328 @r=`${PWD_COMMAND}`; export r; \
32329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32330 TFLAGS="$(STAGE3_TFLAGS)"; \
32331 echo "Checking multilib configuration for libstdc++-v3..."; \
32332 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32333 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32334 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32335 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32336 else \
32337 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32338 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32339 fi; \
32340 else \
32341 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32342 fi; \
32343 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32344 $(RAW_CXX_TARGET_EXPORTS) \
32346 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32348 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32349 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32351 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32352 case $(srcdir) in \
32353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32354 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32356 esac; \
32357 module_srcdir=libstdc++-v3; \
32358 $(SHELL) $$s/$$module_srcdir/configure \
32359 --srcdir=$${topdir}/$$module_srcdir \
32360 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32361 --target=${target_alias} \
32362 --with-build-libsubdir=$(HOST_SUBDIR) \
32363 $(STAGE3_CONFIGURE_FLAGS)
32364 @endif target-libstdc++-v3-bootstrap
32366 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32367 maybe-configure-stage4-target-libstdc++-v3:
32368 @if target-libstdc++-v3-bootstrap
32369 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32370 configure-stage4-target-libstdc++-v3:
32371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32372 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32373 @r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 TFLAGS="$(STAGE4_TFLAGS)"; \
32376 echo "Checking multilib configuration for libstdc++-v3..."; \
32377 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32378 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32379 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32380 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32381 else \
32382 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32383 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32384 fi; \
32385 else \
32386 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32387 fi; \
32388 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32389 $(RAW_CXX_TARGET_EXPORTS) \
32391 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32393 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32394 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32396 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32397 case $(srcdir) in \
32398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32399 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32401 esac; \
32402 module_srcdir=libstdc++-v3; \
32403 $(SHELL) $$s/$$module_srcdir/configure \
32404 --srcdir=$${topdir}/$$module_srcdir \
32405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32406 --target=${target_alias} \
32407 --with-build-libsubdir=$(HOST_SUBDIR) \
32408 $(STAGE4_CONFIGURE_FLAGS)
32409 @endif target-libstdc++-v3-bootstrap
32411 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32412 maybe-configure-stageprofile-target-libstdc++-v3:
32413 @if target-libstdc++-v3-bootstrap
32414 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32415 configure-stageprofile-target-libstdc++-v3:
32416 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32417 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32418 @r=`${PWD_COMMAND}`; export r; \
32419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32420 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32421 echo "Checking multilib configuration for libstdc++-v3..."; \
32422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32423 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32424 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32425 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32426 else \
32427 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32428 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32429 fi; \
32430 else \
32431 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32432 fi; \
32433 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32434 $(RAW_CXX_TARGET_EXPORTS) \
32436 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32438 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32439 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32441 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32442 case $(srcdir) in \
32443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32444 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32446 esac; \
32447 module_srcdir=libstdc++-v3; \
32448 $(SHELL) $$s/$$module_srcdir/configure \
32449 --srcdir=$${topdir}/$$module_srcdir \
32450 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32451 --target=${target_alias} \
32452 --with-build-libsubdir=$(HOST_SUBDIR) \
32453 $(STAGEprofile_CONFIGURE_FLAGS)
32454 @endif target-libstdc++-v3-bootstrap
32456 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32457 maybe-configure-stagefeedback-target-libstdc++-v3:
32458 @if target-libstdc++-v3-bootstrap
32459 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32460 configure-stagefeedback-target-libstdc++-v3:
32461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32462 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32463 @r=`${PWD_COMMAND}`; export r; \
32464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32465 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32466 echo "Checking multilib configuration for libstdc++-v3..."; \
32467 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32468 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32469 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32470 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32471 else \
32472 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32473 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32474 fi; \
32475 else \
32476 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32477 fi; \
32478 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32479 $(RAW_CXX_TARGET_EXPORTS) \
32481 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32482 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32483 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32484 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32485 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32486 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32487 case $(srcdir) in \
32488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32489 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32491 esac; \
32492 module_srcdir=libstdc++-v3; \
32493 $(SHELL) $$s/$$module_srcdir/configure \
32494 --srcdir=$${topdir}/$$module_srcdir \
32495 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32496 --target=${target_alias} \
32497 --with-build-libsubdir=$(HOST_SUBDIR) \
32498 $(STAGEfeedback_CONFIGURE_FLAGS)
32499 @endif target-libstdc++-v3-bootstrap
32505 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32506 maybe-all-target-libstdc++-v3:
32507 @if gcc-bootstrap
32508 all-target-libstdc++-v3: stage_current
32509 @endif gcc-bootstrap
32510 @if target-libstdc++-v3
32511 TARGET-target-libstdc++-v3=all
32512 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32513 all-target-libstdc++-v3: configure-target-libstdc++-v3
32514 @r=`${PWD_COMMAND}`; export r; \
32515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32516 $(RAW_CXX_TARGET_EXPORTS) \
32517 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32519 $(TARGET-target-libstdc++-v3))
32520 @endif target-libstdc++-v3
32524 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32525 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32526 maybe-all-stage1-target-libstdc++-v3:
32527 maybe-clean-stage1-target-libstdc++-v3:
32528 @if target-libstdc++-v3-bootstrap
32529 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32530 all-stage1: all-stage1-target-libstdc++-v3
32531 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32532 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32533 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32534 @r=`${PWD_COMMAND}`; export r; \
32535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32536 TFLAGS="$(STAGE1_TFLAGS)"; \
32537 $(RAW_CXX_TARGET_EXPORTS) \
32538 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32540 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32541 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32542 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32546 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32548 TFLAGS="$(STAGE1_TFLAGS)" \
32549 $(TARGET-stage1-target-libstdc++-v3)
32551 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32552 clean-stage1: clean-stage1-target-libstdc++-v3
32553 clean-stage1-target-libstdc++-v3:
32554 @if [ $(current_stage) = stage1 ]; then \
32555 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32556 else \
32557 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32558 $(MAKE) stage1-start; \
32559 fi; \
32560 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32561 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32562 clean
32563 @endif target-libstdc++-v3-bootstrap
32566 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32567 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32568 maybe-all-stage2-target-libstdc++-v3:
32569 maybe-clean-stage2-target-libstdc++-v3:
32570 @if target-libstdc++-v3-bootstrap
32571 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32572 all-stage2: all-stage2-target-libstdc++-v3
32573 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32574 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32575 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32576 @r=`${PWD_COMMAND}`; export r; \
32577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32578 TFLAGS="$(STAGE2_TFLAGS)"; \
32579 $(RAW_CXX_TARGET_EXPORTS) \
32581 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32583 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32589 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32590 TFLAGS="$(STAGE2_TFLAGS)" \
32591 $(TARGET-stage2-target-libstdc++-v3)
32593 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32594 clean-stage2: clean-stage2-target-libstdc++-v3
32595 clean-stage2-target-libstdc++-v3:
32596 @if [ $(current_stage) = stage2 ]; then \
32597 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32598 else \
32599 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32600 $(MAKE) stage2-start; \
32601 fi; \
32602 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32603 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32604 @endif target-libstdc++-v3-bootstrap
32607 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32608 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32609 maybe-all-stage3-target-libstdc++-v3:
32610 maybe-clean-stage3-target-libstdc++-v3:
32611 @if target-libstdc++-v3-bootstrap
32612 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32613 all-stage3: all-stage3-target-libstdc++-v3
32614 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32615 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32616 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32617 @r=`${PWD_COMMAND}`; export r; \
32618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32619 TFLAGS="$(STAGE3_TFLAGS)"; \
32620 $(RAW_CXX_TARGET_EXPORTS) \
32622 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32623 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32624 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32625 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32626 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32627 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32628 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32629 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32630 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32631 TFLAGS="$(STAGE3_TFLAGS)" \
32632 $(TARGET-stage3-target-libstdc++-v3)
32634 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32635 clean-stage3: clean-stage3-target-libstdc++-v3
32636 clean-stage3-target-libstdc++-v3:
32637 @if [ $(current_stage) = stage3 ]; then \
32638 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32639 else \
32640 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32641 $(MAKE) stage3-start; \
32642 fi; \
32643 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32644 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32645 @endif target-libstdc++-v3-bootstrap
32648 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32649 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32650 maybe-all-stage4-target-libstdc++-v3:
32651 maybe-clean-stage4-target-libstdc++-v3:
32652 @if target-libstdc++-v3-bootstrap
32653 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32654 all-stage4: all-stage4-target-libstdc++-v3
32655 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32656 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32658 @r=`${PWD_COMMAND}`; export r; \
32659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32660 TFLAGS="$(STAGE4_TFLAGS)"; \
32661 $(RAW_CXX_TARGET_EXPORTS) \
32663 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32665 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32666 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32667 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32671 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32672 TFLAGS="$(STAGE4_TFLAGS)" \
32673 $(TARGET-stage4-target-libstdc++-v3)
32675 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32676 clean-stage4: clean-stage4-target-libstdc++-v3
32677 clean-stage4-target-libstdc++-v3:
32678 @if [ $(current_stage) = stage4 ]; then \
32679 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32680 else \
32681 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32682 $(MAKE) stage4-start; \
32683 fi; \
32684 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32685 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32686 @endif target-libstdc++-v3-bootstrap
32689 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32690 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32691 maybe-all-stageprofile-target-libstdc++-v3:
32692 maybe-clean-stageprofile-target-libstdc++-v3:
32693 @if target-libstdc++-v3-bootstrap
32694 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32695 all-stageprofile: all-stageprofile-target-libstdc++-v3
32696 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32697 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32698 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32699 @r=`${PWD_COMMAND}`; export r; \
32700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32701 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32702 $(RAW_CXX_TARGET_EXPORTS) \
32704 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32706 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32707 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32708 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32712 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32713 TFLAGS="$(STAGEprofile_TFLAGS)" \
32714 $(TARGET-stageprofile-target-libstdc++-v3)
32716 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32717 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32718 clean-stageprofile-target-libstdc++-v3:
32719 @if [ $(current_stage) = stageprofile ]; then \
32720 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32721 else \
32722 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32723 $(MAKE) stageprofile-start; \
32724 fi; \
32725 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32726 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32727 @endif target-libstdc++-v3-bootstrap
32730 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32731 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32732 maybe-all-stagefeedback-target-libstdc++-v3:
32733 maybe-clean-stagefeedback-target-libstdc++-v3:
32734 @if target-libstdc++-v3-bootstrap
32735 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32736 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32737 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32738 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32740 @r=`${PWD_COMMAND}`; export r; \
32741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32742 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32743 $(RAW_CXX_TARGET_EXPORTS) \
32745 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32746 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32747 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32748 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32749 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32753 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32754 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32755 $(TARGET-stagefeedback-target-libstdc++-v3)
32757 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32758 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32759 clean-stagefeedback-target-libstdc++-v3:
32760 @if [ $(current_stage) = stagefeedback ]; then \
32761 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32762 else \
32763 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32764 $(MAKE) stagefeedback-start; \
32765 fi; \
32766 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32767 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32768 @endif target-libstdc++-v3-bootstrap
32775 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32776 maybe-check-target-libstdc++-v3:
32777 @if target-libstdc++-v3
32778 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32780 check-target-libstdc++-v3:
32781 @: $(MAKE); $(unstage)
32782 @r=`${PWD_COMMAND}`; export r; \
32783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32784 $(RAW_CXX_TARGET_EXPORTS) \
32785 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32786 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32788 @endif target-libstdc++-v3
32790 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32791 maybe-install-target-libstdc++-v3:
32792 @if target-libstdc++-v3
32793 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32795 install-target-libstdc++-v3: installdirs
32796 @: $(MAKE); $(unstage)
32797 @r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 $(RAW_CXX_TARGET_EXPORTS) \
32800 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32801 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32803 @endif target-libstdc++-v3
32805 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32806 maybe-install-strip-target-libstdc++-v3:
32807 @if target-libstdc++-v3
32808 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32810 install-strip-target-libstdc++-v3: installdirs
32811 @: $(MAKE); $(unstage)
32812 @r=`${PWD_COMMAND}`; export r; \
32813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32814 $(RAW_CXX_TARGET_EXPORTS) \
32815 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32816 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32818 @endif target-libstdc++-v3
32820 # Other targets (info, dvi, pdf, etc.)
32822 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32823 maybe-info-target-libstdc++-v3:
32824 @if target-libstdc++-v3
32825 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32827 info-target-libstdc++-v3: \
32828 configure-target-libstdc++-v3
32829 @: $(MAKE); $(unstage)
32830 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32831 r=`${PWD_COMMAND}`; export r; \
32832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32833 $(RAW_CXX_TARGET_EXPORTS) \
32834 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32835 for flag in $(EXTRA_TARGET_FLAGS); do \
32836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32837 done; \
32838 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32841 "RANLIB=$${RANLIB}" \
32842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32843 info) \
32844 || exit 1
32846 @endif target-libstdc++-v3
32848 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32849 maybe-dvi-target-libstdc++-v3:
32850 @if target-libstdc++-v3
32851 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32853 dvi-target-libstdc++-v3: \
32854 configure-target-libstdc++-v3
32855 @: $(MAKE); $(unstage)
32856 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32857 r=`${PWD_COMMAND}`; export r; \
32858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32859 $(RAW_CXX_TARGET_EXPORTS) \
32860 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32861 for flag in $(EXTRA_TARGET_FLAGS); do \
32862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32863 done; \
32864 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32867 "RANLIB=$${RANLIB}" \
32868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32869 dvi) \
32870 || exit 1
32872 @endif target-libstdc++-v3
32874 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32875 maybe-pdf-target-libstdc++-v3:
32876 @if target-libstdc++-v3
32877 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32879 pdf-target-libstdc++-v3: \
32880 configure-target-libstdc++-v3
32881 @: $(MAKE); $(unstage)
32882 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32883 r=`${PWD_COMMAND}`; export r; \
32884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32885 $(RAW_CXX_TARGET_EXPORTS) \
32886 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32887 for flag in $(EXTRA_TARGET_FLAGS); do \
32888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32889 done; \
32890 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32893 "RANLIB=$${RANLIB}" \
32894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32895 pdf) \
32896 || exit 1
32898 @endif target-libstdc++-v3
32900 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32901 maybe-html-target-libstdc++-v3:
32902 @if target-libstdc++-v3
32903 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32905 html-target-libstdc++-v3: \
32906 configure-target-libstdc++-v3
32907 @: $(MAKE); $(unstage)
32908 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32909 r=`${PWD_COMMAND}`; export r; \
32910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32911 $(RAW_CXX_TARGET_EXPORTS) \
32912 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32913 for flag in $(EXTRA_TARGET_FLAGS); do \
32914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32915 done; \
32916 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32919 "RANLIB=$${RANLIB}" \
32920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32921 html) \
32922 || exit 1
32924 @endif target-libstdc++-v3
32926 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32927 maybe-TAGS-target-libstdc++-v3:
32928 @if target-libstdc++-v3
32929 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32931 TAGS-target-libstdc++-v3: \
32932 configure-target-libstdc++-v3
32933 @: $(MAKE); $(unstage)
32934 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32935 r=`${PWD_COMMAND}`; export r; \
32936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32937 $(RAW_CXX_TARGET_EXPORTS) \
32938 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32939 for flag in $(EXTRA_TARGET_FLAGS); do \
32940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32941 done; \
32942 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32945 "RANLIB=$${RANLIB}" \
32946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32947 TAGS) \
32948 || exit 1
32950 @endif target-libstdc++-v3
32952 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32953 maybe-install-info-target-libstdc++-v3:
32954 @if target-libstdc++-v3
32955 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32957 install-info-target-libstdc++-v3: \
32958 configure-target-libstdc++-v3 \
32959 info-target-libstdc++-v3
32960 @: $(MAKE); $(unstage)
32961 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32962 r=`${PWD_COMMAND}`; export r; \
32963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32964 $(RAW_CXX_TARGET_EXPORTS) \
32965 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32966 for flag in $(EXTRA_TARGET_FLAGS); do \
32967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32968 done; \
32969 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32972 "RANLIB=$${RANLIB}" \
32973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32974 install-info) \
32975 || exit 1
32977 @endif target-libstdc++-v3
32979 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32980 maybe-install-pdf-target-libstdc++-v3:
32981 @if target-libstdc++-v3
32982 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32984 install-pdf-target-libstdc++-v3: \
32985 configure-target-libstdc++-v3 \
32986 pdf-target-libstdc++-v3
32987 @: $(MAKE); $(unstage)
32988 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32989 r=`${PWD_COMMAND}`; export r; \
32990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32991 $(RAW_CXX_TARGET_EXPORTS) \
32992 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32993 for flag in $(EXTRA_TARGET_FLAGS); do \
32994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32995 done; \
32996 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32999 "RANLIB=$${RANLIB}" \
33000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33001 install-pdf) \
33002 || exit 1
33004 @endif target-libstdc++-v3
33006 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33007 maybe-install-html-target-libstdc++-v3:
33008 @if target-libstdc++-v3
33009 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33011 install-html-target-libstdc++-v3: \
33012 configure-target-libstdc++-v3 \
33013 html-target-libstdc++-v3
33014 @: $(MAKE); $(unstage)
33015 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33016 r=`${PWD_COMMAND}`; export r; \
33017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33018 $(RAW_CXX_TARGET_EXPORTS) \
33019 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
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)/libstdc++-v3 && \
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 install-html) \
33029 || exit 1
33031 @endif target-libstdc++-v3
33033 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33034 maybe-installcheck-target-libstdc++-v3:
33035 @if target-libstdc++-v3
33036 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33038 installcheck-target-libstdc++-v3: \
33039 configure-target-libstdc++-v3
33040 @: $(MAKE); $(unstage)
33041 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33042 r=`${PWD_COMMAND}`; export r; \
33043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33044 $(RAW_CXX_TARGET_EXPORTS) \
33045 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
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)/libstdc++-v3 && \
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 installcheck) \
33055 || exit 1
33057 @endif target-libstdc++-v3
33059 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33060 maybe-mostlyclean-target-libstdc++-v3:
33061 @if target-libstdc++-v3
33062 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33064 mostlyclean-target-libstdc++-v3:
33065 @: $(MAKE); $(unstage)
33066 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33067 r=`${PWD_COMMAND}`; export r; \
33068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33069 $(RAW_CXX_TARGET_EXPORTS) \
33070 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33071 for flag in $(EXTRA_TARGET_FLAGS); do \
33072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33073 done; \
33074 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33077 "RANLIB=$${RANLIB}" \
33078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33079 mostlyclean) \
33080 || exit 1
33082 @endif target-libstdc++-v3
33084 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33085 maybe-clean-target-libstdc++-v3:
33086 @if target-libstdc++-v3
33087 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33089 clean-target-libstdc++-v3:
33090 @: $(MAKE); $(unstage)
33091 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33092 r=`${PWD_COMMAND}`; export r; \
33093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33094 $(RAW_CXX_TARGET_EXPORTS) \
33095 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33096 for flag in $(EXTRA_TARGET_FLAGS); do \
33097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33098 done; \
33099 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33102 "RANLIB=$${RANLIB}" \
33103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33104 clean) \
33105 || exit 1
33107 @endif target-libstdc++-v3
33109 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33110 maybe-distclean-target-libstdc++-v3:
33111 @if target-libstdc++-v3
33112 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33114 distclean-target-libstdc++-v3:
33115 @: $(MAKE); $(unstage)
33116 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33117 r=`${PWD_COMMAND}`; export r; \
33118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33119 $(RAW_CXX_TARGET_EXPORTS) \
33120 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33121 for flag in $(EXTRA_TARGET_FLAGS); do \
33122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33123 done; \
33124 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33127 "RANLIB=$${RANLIB}" \
33128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33129 distclean) \
33130 || exit 1
33132 @endif target-libstdc++-v3
33134 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33135 maybe-maintainer-clean-target-libstdc++-v3:
33136 @if target-libstdc++-v3
33137 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33139 maintainer-clean-target-libstdc++-v3:
33140 @: $(MAKE); $(unstage)
33141 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33142 r=`${PWD_COMMAND}`; export r; \
33143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33144 $(RAW_CXX_TARGET_EXPORTS) \
33145 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33146 for flag in $(EXTRA_TARGET_FLAGS); do \
33147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33148 done; \
33149 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33152 "RANLIB=$${RANLIB}" \
33153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33154 maintainer-clean) \
33155 || exit 1
33157 @endif target-libstdc++-v3
33163 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33164 maybe-configure-target-libsanitizer:
33165 @if gcc-bootstrap
33166 configure-target-libsanitizer: stage_current
33167 @endif gcc-bootstrap
33168 @if target-libsanitizer
33169 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33170 configure-target-libsanitizer:
33171 @r=`${PWD_COMMAND}`; export r; \
33172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33173 echo "Checking multilib configuration for libsanitizer..."; \
33174 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33175 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33176 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33177 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33178 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33179 else \
33180 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33181 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33182 fi; \
33183 else \
33184 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33185 fi; \
33186 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33188 $(RAW_CXX_TARGET_EXPORTS) \
33189 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33190 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33191 case $(srcdir) in \
33192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33193 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33195 esac; \
33196 module_srcdir=libsanitizer; \
33197 rm -f no-such-file || : ; \
33198 CONFIG_SITE=no-such-file $(SHELL) \
33199 $$s/$$module_srcdir/configure \
33200 --srcdir=$${topdir}/$$module_srcdir \
33201 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33202 --target=${target_alias} \
33203 || exit 1
33204 @endif target-libsanitizer
33208 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33209 maybe-configure-stage1-target-libsanitizer:
33210 @if target-libsanitizer-bootstrap
33211 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33212 configure-stage1-target-libsanitizer:
33213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33215 @r=`${PWD_COMMAND}`; export r; \
33216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33217 TFLAGS="$(STAGE1_TFLAGS)"; \
33218 echo "Checking multilib configuration for libsanitizer..."; \
33219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33220 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33221 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33222 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33223 else \
33224 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33225 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33226 fi; \
33227 else \
33228 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33229 fi; \
33230 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33231 $(RAW_CXX_TARGET_EXPORTS) \
33232 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33235 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33236 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33237 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33238 case $(srcdir) in \
33239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33240 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33242 esac; \
33243 module_srcdir=libsanitizer; \
33244 $(SHELL) $$s/$$module_srcdir/configure \
33245 --srcdir=$${topdir}/$$module_srcdir \
33246 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33247 --target=${target_alias} \
33249 $(STAGE1_CONFIGURE_FLAGS)
33250 @endif target-libsanitizer-bootstrap
33252 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33253 maybe-configure-stage2-target-libsanitizer:
33254 @if target-libsanitizer-bootstrap
33255 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33256 configure-stage2-target-libsanitizer:
33257 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33258 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33259 @r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 TFLAGS="$(STAGE2_TFLAGS)"; \
33262 echo "Checking multilib configuration for libsanitizer..."; \
33263 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33264 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33265 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33266 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33267 else \
33268 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33269 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33270 fi; \
33271 else \
33272 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33273 fi; \
33274 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33275 $(RAW_CXX_TARGET_EXPORTS) \
33277 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33279 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33280 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33282 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33283 case $(srcdir) in \
33284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33285 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33287 esac; \
33288 module_srcdir=libsanitizer; \
33289 $(SHELL) $$s/$$module_srcdir/configure \
33290 --srcdir=$${topdir}/$$module_srcdir \
33291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33292 --target=${target_alias} \
33293 --with-build-libsubdir=$(HOST_SUBDIR) \
33294 $(STAGE2_CONFIGURE_FLAGS)
33295 @endif target-libsanitizer-bootstrap
33297 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33298 maybe-configure-stage3-target-libsanitizer:
33299 @if target-libsanitizer-bootstrap
33300 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33301 configure-stage3-target-libsanitizer:
33302 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33303 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33304 @r=`${PWD_COMMAND}`; export r; \
33305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33306 TFLAGS="$(STAGE3_TFLAGS)"; \
33307 echo "Checking multilib configuration for libsanitizer..."; \
33308 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33309 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33310 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33311 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33312 else \
33313 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33314 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33315 fi; \
33316 else \
33317 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33318 fi; \
33319 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33320 $(RAW_CXX_TARGET_EXPORTS) \
33322 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33325 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33327 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33328 case $(srcdir) in \
33329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33330 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33332 esac; \
33333 module_srcdir=libsanitizer; \
33334 $(SHELL) $$s/$$module_srcdir/configure \
33335 --srcdir=$${topdir}/$$module_srcdir \
33336 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33337 --target=${target_alias} \
33338 --with-build-libsubdir=$(HOST_SUBDIR) \
33339 $(STAGE3_CONFIGURE_FLAGS)
33340 @endif target-libsanitizer-bootstrap
33342 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33343 maybe-configure-stage4-target-libsanitizer:
33344 @if target-libsanitizer-bootstrap
33345 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33346 configure-stage4-target-libsanitizer:
33347 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33348 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33349 @r=`${PWD_COMMAND}`; export r; \
33350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33351 TFLAGS="$(STAGE4_TFLAGS)"; \
33352 echo "Checking multilib configuration for libsanitizer..."; \
33353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33354 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33355 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33356 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33357 else \
33358 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33359 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33360 fi; \
33361 else \
33362 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33363 fi; \
33364 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33365 $(RAW_CXX_TARGET_EXPORTS) \
33367 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33368 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33369 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33370 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33372 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33373 case $(srcdir) in \
33374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33375 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33377 esac; \
33378 module_srcdir=libsanitizer; \
33379 $(SHELL) $$s/$$module_srcdir/configure \
33380 --srcdir=$${topdir}/$$module_srcdir \
33381 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33382 --target=${target_alias} \
33383 --with-build-libsubdir=$(HOST_SUBDIR) \
33384 $(STAGE4_CONFIGURE_FLAGS)
33385 @endif target-libsanitizer-bootstrap
33387 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33388 maybe-configure-stageprofile-target-libsanitizer:
33389 @if target-libsanitizer-bootstrap
33390 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33391 configure-stageprofile-target-libsanitizer:
33392 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33393 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33394 @r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33397 echo "Checking multilib configuration for libsanitizer..."; \
33398 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33399 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33400 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33401 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33402 else \
33403 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33404 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33405 fi; \
33406 else \
33407 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33408 fi; \
33409 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33410 $(RAW_CXX_TARGET_EXPORTS) \
33412 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33413 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33414 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33415 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33417 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33418 case $(srcdir) in \
33419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33420 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33422 esac; \
33423 module_srcdir=libsanitizer; \
33424 $(SHELL) $$s/$$module_srcdir/configure \
33425 --srcdir=$${topdir}/$$module_srcdir \
33426 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33427 --target=${target_alias} \
33428 --with-build-libsubdir=$(HOST_SUBDIR) \
33429 $(STAGEprofile_CONFIGURE_FLAGS)
33430 @endif target-libsanitizer-bootstrap
33432 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33433 maybe-configure-stagefeedback-target-libsanitizer:
33434 @if target-libsanitizer-bootstrap
33435 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33436 configure-stagefeedback-target-libsanitizer:
33437 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33438 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33439 @r=`${PWD_COMMAND}`; export r; \
33440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33441 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33442 echo "Checking multilib configuration for libsanitizer..."; \
33443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33444 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33445 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33446 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33447 else \
33448 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33449 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33450 fi; \
33451 else \
33452 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33453 fi; \
33454 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33455 $(RAW_CXX_TARGET_EXPORTS) \
33457 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33460 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33462 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33463 case $(srcdir) in \
33464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33465 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33467 esac; \
33468 module_srcdir=libsanitizer; \
33469 $(SHELL) $$s/$$module_srcdir/configure \
33470 --srcdir=$${topdir}/$$module_srcdir \
33471 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33472 --target=${target_alias} \
33473 --with-build-libsubdir=$(HOST_SUBDIR) \
33474 $(STAGEfeedback_CONFIGURE_FLAGS)
33475 @endif target-libsanitizer-bootstrap
33481 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33482 maybe-all-target-libsanitizer:
33483 @if gcc-bootstrap
33484 all-target-libsanitizer: stage_current
33485 @endif gcc-bootstrap
33486 @if target-libsanitizer
33487 TARGET-target-libsanitizer=all
33488 maybe-all-target-libsanitizer: all-target-libsanitizer
33489 all-target-libsanitizer: configure-target-libsanitizer
33490 @r=`${PWD_COMMAND}`; export r; \
33491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33492 $(RAW_CXX_TARGET_EXPORTS) \
33493 (cd $(TARGET_SUBDIR)/libsanitizer && \
33494 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33495 $(TARGET-target-libsanitizer))
33496 @endif target-libsanitizer
33500 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33501 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33502 maybe-all-stage1-target-libsanitizer:
33503 maybe-clean-stage1-target-libsanitizer:
33504 @if target-libsanitizer-bootstrap
33505 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33506 all-stage1: all-stage1-target-libsanitizer
33507 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33508 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33509 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33510 @r=`${PWD_COMMAND}`; export r; \
33511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33512 TFLAGS="$(STAGE1_TFLAGS)"; \
33513 $(RAW_CXX_TARGET_EXPORTS) \
33514 cd $(TARGET_SUBDIR)/libsanitizer && \
33515 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33516 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33517 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33518 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33522 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33524 TFLAGS="$(STAGE1_TFLAGS)" \
33525 $(TARGET-stage1-target-libsanitizer)
33527 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33528 clean-stage1: clean-stage1-target-libsanitizer
33529 clean-stage1-target-libsanitizer:
33530 @if [ $(current_stage) = stage1 ]; then \
33531 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33532 else \
33533 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33534 $(MAKE) stage1-start; \
33535 fi; \
33536 cd $(TARGET_SUBDIR)/libsanitizer && \
33537 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33538 clean
33539 @endif target-libsanitizer-bootstrap
33542 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33543 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33544 maybe-all-stage2-target-libsanitizer:
33545 maybe-clean-stage2-target-libsanitizer:
33546 @if target-libsanitizer-bootstrap
33547 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33548 all-stage2: all-stage2-target-libsanitizer
33549 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33550 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33551 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33552 @r=`${PWD_COMMAND}`; export r; \
33553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33554 TFLAGS="$(STAGE2_TFLAGS)"; \
33555 $(RAW_CXX_TARGET_EXPORTS) \
33557 cd $(TARGET_SUBDIR)/libsanitizer && \
33558 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33559 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33560 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33561 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33565 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33566 TFLAGS="$(STAGE2_TFLAGS)" \
33567 $(TARGET-stage2-target-libsanitizer)
33569 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33570 clean-stage2: clean-stage2-target-libsanitizer
33571 clean-stage2-target-libsanitizer:
33572 @if [ $(current_stage) = stage2 ]; then \
33573 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33574 else \
33575 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33576 $(MAKE) stage2-start; \
33577 fi; \
33578 cd $(TARGET_SUBDIR)/libsanitizer && \
33579 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33580 @endif target-libsanitizer-bootstrap
33583 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33584 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33585 maybe-all-stage3-target-libsanitizer:
33586 maybe-clean-stage3-target-libsanitizer:
33587 @if target-libsanitizer-bootstrap
33588 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33589 all-stage3: all-stage3-target-libsanitizer
33590 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33591 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33592 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33593 @r=`${PWD_COMMAND}`; export r; \
33594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33595 TFLAGS="$(STAGE3_TFLAGS)"; \
33596 $(RAW_CXX_TARGET_EXPORTS) \
33598 cd $(TARGET_SUBDIR)/libsanitizer && \
33599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33600 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33601 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33602 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33606 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33607 TFLAGS="$(STAGE3_TFLAGS)" \
33608 $(TARGET-stage3-target-libsanitizer)
33610 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33611 clean-stage3: clean-stage3-target-libsanitizer
33612 clean-stage3-target-libsanitizer:
33613 @if [ $(current_stage) = stage3 ]; then \
33614 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33615 else \
33616 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33617 $(MAKE) stage3-start; \
33618 fi; \
33619 cd $(TARGET_SUBDIR)/libsanitizer && \
33620 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33621 @endif target-libsanitizer-bootstrap
33624 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33625 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33626 maybe-all-stage4-target-libsanitizer:
33627 maybe-clean-stage4-target-libsanitizer:
33628 @if target-libsanitizer-bootstrap
33629 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33630 all-stage4: all-stage4-target-libsanitizer
33631 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33632 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33633 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33634 @r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 TFLAGS="$(STAGE4_TFLAGS)"; \
33637 $(RAW_CXX_TARGET_EXPORTS) \
33639 cd $(TARGET_SUBDIR)/libsanitizer && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33641 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33642 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33643 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33647 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33648 TFLAGS="$(STAGE4_TFLAGS)" \
33649 $(TARGET-stage4-target-libsanitizer)
33651 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33652 clean-stage4: clean-stage4-target-libsanitizer
33653 clean-stage4-target-libsanitizer:
33654 @if [ $(current_stage) = stage4 ]; then \
33655 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33656 else \
33657 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33658 $(MAKE) stage4-start; \
33659 fi; \
33660 cd $(TARGET_SUBDIR)/libsanitizer && \
33661 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33662 @endif target-libsanitizer-bootstrap
33665 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33666 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33667 maybe-all-stageprofile-target-libsanitizer:
33668 maybe-clean-stageprofile-target-libsanitizer:
33669 @if target-libsanitizer-bootstrap
33670 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33671 all-stageprofile: all-stageprofile-target-libsanitizer
33672 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33673 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33674 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33675 @r=`${PWD_COMMAND}`; export r; \
33676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33677 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33678 $(RAW_CXX_TARGET_EXPORTS) \
33680 cd $(TARGET_SUBDIR)/libsanitizer && \
33681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33682 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33683 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33684 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33688 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33689 TFLAGS="$(STAGEprofile_TFLAGS)" \
33690 $(TARGET-stageprofile-target-libsanitizer)
33692 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33693 clean-stageprofile: clean-stageprofile-target-libsanitizer
33694 clean-stageprofile-target-libsanitizer:
33695 @if [ $(current_stage) = stageprofile ]; then \
33696 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33697 else \
33698 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33699 $(MAKE) stageprofile-start; \
33700 fi; \
33701 cd $(TARGET_SUBDIR)/libsanitizer && \
33702 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33703 @endif target-libsanitizer-bootstrap
33706 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33707 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33708 maybe-all-stagefeedback-target-libsanitizer:
33709 maybe-clean-stagefeedback-target-libsanitizer:
33710 @if target-libsanitizer-bootstrap
33711 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33712 all-stagefeedback: all-stagefeedback-target-libsanitizer
33713 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33714 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33715 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33716 @r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33719 $(RAW_CXX_TARGET_EXPORTS) \
33721 cd $(TARGET_SUBDIR)/libsanitizer && \
33722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33723 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33724 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33725 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33729 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33730 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33731 $(TARGET-stagefeedback-target-libsanitizer)
33733 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33734 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33735 clean-stagefeedback-target-libsanitizer:
33736 @if [ $(current_stage) = stagefeedback ]; then \
33737 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33738 else \
33739 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33740 $(MAKE) stagefeedback-start; \
33741 fi; \
33742 cd $(TARGET_SUBDIR)/libsanitizer && \
33743 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33744 @endif target-libsanitizer-bootstrap
33751 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33752 maybe-check-target-libsanitizer:
33753 @if target-libsanitizer
33754 maybe-check-target-libsanitizer: check-target-libsanitizer
33756 check-target-libsanitizer:
33757 @: $(MAKE); $(unstage)
33758 @r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760 $(RAW_CXX_TARGET_EXPORTS) \
33761 (cd $(TARGET_SUBDIR)/libsanitizer && \
33762 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33764 @endif target-libsanitizer
33766 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33767 maybe-install-target-libsanitizer:
33768 @if target-libsanitizer
33769 maybe-install-target-libsanitizer: install-target-libsanitizer
33771 install-target-libsanitizer: installdirs
33772 @: $(MAKE); $(unstage)
33773 @r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 $(RAW_CXX_TARGET_EXPORTS) \
33776 (cd $(TARGET_SUBDIR)/libsanitizer && \
33777 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33779 @endif target-libsanitizer
33781 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33782 maybe-install-strip-target-libsanitizer:
33783 @if target-libsanitizer
33784 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33786 install-strip-target-libsanitizer: installdirs
33787 @: $(MAKE); $(unstage)
33788 @r=`${PWD_COMMAND}`; export r; \
33789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33790 $(RAW_CXX_TARGET_EXPORTS) \
33791 (cd $(TARGET_SUBDIR)/libsanitizer && \
33792 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33794 @endif target-libsanitizer
33796 # Other targets (info, dvi, pdf, etc.)
33798 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33799 maybe-info-target-libsanitizer:
33800 @if target-libsanitizer
33801 maybe-info-target-libsanitizer: info-target-libsanitizer
33803 info-target-libsanitizer: \
33804 configure-target-libsanitizer
33805 @: $(MAKE); $(unstage)
33806 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33807 r=`${PWD_COMMAND}`; export r; \
33808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33809 $(RAW_CXX_TARGET_EXPORTS) \
33810 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33811 for flag in $(EXTRA_TARGET_FLAGS); do \
33812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33813 done; \
33814 (cd $(TARGET_SUBDIR)/libsanitizer && \
33815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33817 "RANLIB=$${RANLIB}" \
33818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33819 info) \
33820 || exit 1
33822 @endif target-libsanitizer
33824 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33825 maybe-dvi-target-libsanitizer:
33826 @if target-libsanitizer
33827 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33829 dvi-target-libsanitizer: \
33830 configure-target-libsanitizer
33831 @: $(MAKE); $(unstage)
33832 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33833 r=`${PWD_COMMAND}`; export r; \
33834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33835 $(RAW_CXX_TARGET_EXPORTS) \
33836 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33837 for flag in $(EXTRA_TARGET_FLAGS); do \
33838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33839 done; \
33840 (cd $(TARGET_SUBDIR)/libsanitizer && \
33841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33843 "RANLIB=$${RANLIB}" \
33844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33845 dvi) \
33846 || exit 1
33848 @endif target-libsanitizer
33850 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33851 maybe-pdf-target-libsanitizer:
33852 @if target-libsanitizer
33853 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33855 pdf-target-libsanitizer: \
33856 configure-target-libsanitizer
33857 @: $(MAKE); $(unstage)
33858 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33859 r=`${PWD_COMMAND}`; export r; \
33860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33861 $(RAW_CXX_TARGET_EXPORTS) \
33862 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33863 for flag in $(EXTRA_TARGET_FLAGS); do \
33864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33865 done; \
33866 (cd $(TARGET_SUBDIR)/libsanitizer && \
33867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33869 "RANLIB=$${RANLIB}" \
33870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33871 pdf) \
33872 || exit 1
33874 @endif target-libsanitizer
33876 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33877 maybe-html-target-libsanitizer:
33878 @if target-libsanitizer
33879 maybe-html-target-libsanitizer: html-target-libsanitizer
33881 html-target-libsanitizer: \
33882 configure-target-libsanitizer
33883 @: $(MAKE); $(unstage)
33884 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33885 r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(RAW_CXX_TARGET_EXPORTS) \
33888 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33889 for flag in $(EXTRA_TARGET_FLAGS); do \
33890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33891 done; \
33892 (cd $(TARGET_SUBDIR)/libsanitizer && \
33893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33895 "RANLIB=$${RANLIB}" \
33896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33897 html) \
33898 || exit 1
33900 @endif target-libsanitizer
33902 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33903 maybe-TAGS-target-libsanitizer:
33904 @if target-libsanitizer
33905 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33907 TAGS-target-libsanitizer: \
33908 configure-target-libsanitizer
33909 @: $(MAKE); $(unstage)
33910 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33911 r=`${PWD_COMMAND}`; export r; \
33912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33913 $(RAW_CXX_TARGET_EXPORTS) \
33914 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33915 for flag in $(EXTRA_TARGET_FLAGS); do \
33916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33917 done; \
33918 (cd $(TARGET_SUBDIR)/libsanitizer && \
33919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33921 "RANLIB=$${RANLIB}" \
33922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33923 TAGS) \
33924 || exit 1
33926 @endif target-libsanitizer
33928 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33929 maybe-install-info-target-libsanitizer:
33930 @if target-libsanitizer
33931 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33933 install-info-target-libsanitizer: \
33934 configure-target-libsanitizer \
33935 info-target-libsanitizer
33936 @: $(MAKE); $(unstage)
33937 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33938 r=`${PWD_COMMAND}`; export r; \
33939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33940 $(RAW_CXX_TARGET_EXPORTS) \
33941 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33942 for flag in $(EXTRA_TARGET_FLAGS); do \
33943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33944 done; \
33945 (cd $(TARGET_SUBDIR)/libsanitizer && \
33946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33948 "RANLIB=$${RANLIB}" \
33949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33950 install-info) \
33951 || exit 1
33953 @endif target-libsanitizer
33955 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33956 maybe-install-pdf-target-libsanitizer:
33957 @if target-libsanitizer
33958 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33960 install-pdf-target-libsanitizer: \
33961 configure-target-libsanitizer \
33962 pdf-target-libsanitizer
33963 @: $(MAKE); $(unstage)
33964 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33965 r=`${PWD_COMMAND}`; export r; \
33966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33967 $(RAW_CXX_TARGET_EXPORTS) \
33968 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33969 for flag in $(EXTRA_TARGET_FLAGS); do \
33970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33971 done; \
33972 (cd $(TARGET_SUBDIR)/libsanitizer && \
33973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33975 "RANLIB=$${RANLIB}" \
33976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33977 install-pdf) \
33978 || exit 1
33980 @endif target-libsanitizer
33982 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33983 maybe-install-html-target-libsanitizer:
33984 @if target-libsanitizer
33985 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33987 install-html-target-libsanitizer: \
33988 configure-target-libsanitizer \
33989 html-target-libsanitizer
33990 @: $(MAKE); $(unstage)
33991 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33992 r=`${PWD_COMMAND}`; export r; \
33993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33994 $(RAW_CXX_TARGET_EXPORTS) \
33995 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33996 for flag in $(EXTRA_TARGET_FLAGS); do \
33997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33998 done; \
33999 (cd $(TARGET_SUBDIR)/libsanitizer && \
34000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34002 "RANLIB=$${RANLIB}" \
34003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34004 install-html) \
34005 || exit 1
34007 @endif target-libsanitizer
34009 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34010 maybe-installcheck-target-libsanitizer:
34011 @if target-libsanitizer
34012 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34014 installcheck-target-libsanitizer: \
34015 configure-target-libsanitizer
34016 @: $(MAKE); $(unstage)
34017 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34018 r=`${PWD_COMMAND}`; export r; \
34019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34020 $(RAW_CXX_TARGET_EXPORTS) \
34021 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
34022 for flag in $(EXTRA_TARGET_FLAGS); do \
34023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34024 done; \
34025 (cd $(TARGET_SUBDIR)/libsanitizer && \
34026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34028 "RANLIB=$${RANLIB}" \
34029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34030 installcheck) \
34031 || exit 1
34033 @endif target-libsanitizer
34035 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34036 maybe-mostlyclean-target-libsanitizer:
34037 @if target-libsanitizer
34038 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34040 mostlyclean-target-libsanitizer:
34041 @: $(MAKE); $(unstage)
34042 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34043 r=`${PWD_COMMAND}`; export r; \
34044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34045 $(RAW_CXX_TARGET_EXPORTS) \
34046 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34047 for flag in $(EXTRA_TARGET_FLAGS); do \
34048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34049 done; \
34050 (cd $(TARGET_SUBDIR)/libsanitizer && \
34051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34053 "RANLIB=$${RANLIB}" \
34054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34055 mostlyclean) \
34056 || exit 1
34058 @endif target-libsanitizer
34060 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34061 maybe-clean-target-libsanitizer:
34062 @if target-libsanitizer
34063 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34065 clean-target-libsanitizer:
34066 @: $(MAKE); $(unstage)
34067 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34068 r=`${PWD_COMMAND}`; export r; \
34069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34070 $(RAW_CXX_TARGET_EXPORTS) \
34071 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34072 for flag in $(EXTRA_TARGET_FLAGS); do \
34073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34074 done; \
34075 (cd $(TARGET_SUBDIR)/libsanitizer && \
34076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34078 "RANLIB=$${RANLIB}" \
34079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34080 clean) \
34081 || exit 1
34083 @endif target-libsanitizer
34085 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34086 maybe-distclean-target-libsanitizer:
34087 @if target-libsanitizer
34088 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34090 distclean-target-libsanitizer:
34091 @: $(MAKE); $(unstage)
34092 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34093 r=`${PWD_COMMAND}`; export r; \
34094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34095 $(RAW_CXX_TARGET_EXPORTS) \
34096 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34097 for flag in $(EXTRA_TARGET_FLAGS); do \
34098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34099 done; \
34100 (cd $(TARGET_SUBDIR)/libsanitizer && \
34101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34103 "RANLIB=$${RANLIB}" \
34104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34105 distclean) \
34106 || exit 1
34108 @endif target-libsanitizer
34110 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34111 maybe-maintainer-clean-target-libsanitizer:
34112 @if target-libsanitizer
34113 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34115 maintainer-clean-target-libsanitizer:
34116 @: $(MAKE); $(unstage)
34117 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34118 r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(RAW_CXX_TARGET_EXPORTS) \
34121 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34122 for flag in $(EXTRA_TARGET_FLAGS); do \
34123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34124 done; \
34125 (cd $(TARGET_SUBDIR)/libsanitizer && \
34126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34128 "RANLIB=$${RANLIB}" \
34129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34130 maintainer-clean) \
34131 || exit 1
34133 @endif target-libsanitizer
34139 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
34140 maybe-configure-target-libvtv:
34141 @if gcc-bootstrap
34142 configure-target-libvtv: stage_current
34143 @endif gcc-bootstrap
34144 @if target-libvtv
34145 maybe-configure-target-libvtv: configure-target-libvtv
34146 configure-target-libvtv:
34147 @r=`${PWD_COMMAND}`; export r; \
34148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34149 echo "Checking multilib configuration for libvtv..."; \
34150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34151 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34152 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34153 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34154 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34155 else \
34156 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34157 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34158 fi; \
34159 else \
34160 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34161 fi; \
34162 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34164 $(RAW_CXX_TARGET_EXPORTS) \
34165 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
34166 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
34167 case $(srcdir) in \
34168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34169 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34171 esac; \
34172 module_srcdir=libvtv; \
34173 rm -f no-such-file || : ; \
34174 CONFIG_SITE=no-such-file $(SHELL) \
34175 $$s/$$module_srcdir/configure \
34176 --srcdir=$${topdir}/$$module_srcdir \
34177 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34178 --target=${target_alias} \
34179 || exit 1
34180 @endif target-libvtv
34184 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
34185 maybe-configure-stage1-target-libvtv:
34186 @if target-libvtv-bootstrap
34187 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
34188 configure-stage1-target-libvtv:
34189 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34190 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34191 @r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 TFLAGS="$(STAGE1_TFLAGS)"; \
34194 echo "Checking multilib configuration for libvtv..."; \
34195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34196 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34197 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34198 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34199 else \
34200 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34201 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34202 fi; \
34203 else \
34204 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34205 fi; \
34206 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34207 $(RAW_CXX_TARGET_EXPORTS) \
34208 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34209 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34210 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34211 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
34212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34213 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34214 case $(srcdir) in \
34215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34216 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34218 esac; \
34219 module_srcdir=libvtv; \
34220 $(SHELL) $$s/$$module_srcdir/configure \
34221 --srcdir=$${topdir}/$$module_srcdir \
34222 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34223 --target=${target_alias} \
34225 $(STAGE1_CONFIGURE_FLAGS)
34226 @endif target-libvtv-bootstrap
34228 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
34229 maybe-configure-stage2-target-libvtv:
34230 @if target-libvtv-bootstrap
34231 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
34232 configure-stage2-target-libvtv:
34233 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34234 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34235 @r=`${PWD_COMMAND}`; export r; \
34236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34237 TFLAGS="$(STAGE2_TFLAGS)"; \
34238 echo "Checking multilib configuration for libvtv..."; \
34239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34240 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34241 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34242 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34243 else \
34244 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34245 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34246 fi; \
34247 else \
34248 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34249 fi; \
34250 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34251 $(RAW_CXX_TARGET_EXPORTS) \
34253 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34254 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34255 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34256 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
34257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34258 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34259 case $(srcdir) in \
34260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34261 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34263 esac; \
34264 module_srcdir=libvtv; \
34265 $(SHELL) $$s/$$module_srcdir/configure \
34266 --srcdir=$${topdir}/$$module_srcdir \
34267 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34268 --target=${target_alias} \
34269 --with-build-libsubdir=$(HOST_SUBDIR) \
34270 $(STAGE2_CONFIGURE_FLAGS)
34271 @endif target-libvtv-bootstrap
34273 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
34274 maybe-configure-stage3-target-libvtv:
34275 @if target-libvtv-bootstrap
34276 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
34277 configure-stage3-target-libvtv:
34278 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34279 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34280 @r=`${PWD_COMMAND}`; export r; \
34281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34282 TFLAGS="$(STAGE3_TFLAGS)"; \
34283 echo "Checking multilib configuration for libvtv..."; \
34284 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34285 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34286 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34287 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34288 else \
34289 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34290 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34291 fi; \
34292 else \
34293 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34294 fi; \
34295 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34296 $(RAW_CXX_TARGET_EXPORTS) \
34298 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34299 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34300 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34301 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
34302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34303 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34304 case $(srcdir) in \
34305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34306 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34308 esac; \
34309 module_srcdir=libvtv; \
34310 $(SHELL) $$s/$$module_srcdir/configure \
34311 --srcdir=$${topdir}/$$module_srcdir \
34312 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34313 --target=${target_alias} \
34314 --with-build-libsubdir=$(HOST_SUBDIR) \
34315 $(STAGE3_CONFIGURE_FLAGS)
34316 @endif target-libvtv-bootstrap
34318 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
34319 maybe-configure-stage4-target-libvtv:
34320 @if target-libvtv-bootstrap
34321 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
34322 configure-stage4-target-libvtv:
34323 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34324 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34325 @r=`${PWD_COMMAND}`; export r; \
34326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34327 TFLAGS="$(STAGE4_TFLAGS)"; \
34328 echo "Checking multilib configuration for libvtv..."; \
34329 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34330 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34331 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34332 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34333 else \
34334 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34335 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34336 fi; \
34337 else \
34338 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34339 fi; \
34340 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34341 $(RAW_CXX_TARGET_EXPORTS) \
34343 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34344 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34345 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34346 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34348 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34349 case $(srcdir) in \
34350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34351 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34353 esac; \
34354 module_srcdir=libvtv; \
34355 $(SHELL) $$s/$$module_srcdir/configure \
34356 --srcdir=$${topdir}/$$module_srcdir \
34357 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34358 --target=${target_alias} \
34359 --with-build-libsubdir=$(HOST_SUBDIR) \
34360 $(STAGE4_CONFIGURE_FLAGS)
34361 @endif target-libvtv-bootstrap
34363 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34364 maybe-configure-stageprofile-target-libvtv:
34365 @if target-libvtv-bootstrap
34366 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34367 configure-stageprofile-target-libvtv:
34368 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34369 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34370 @r=`${PWD_COMMAND}`; export r; \
34371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34372 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34373 echo "Checking multilib configuration for libvtv..."; \
34374 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34375 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34376 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34377 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34378 else \
34379 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34380 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34381 fi; \
34382 else \
34383 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34384 fi; \
34385 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34386 $(RAW_CXX_TARGET_EXPORTS) \
34388 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34389 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34390 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34391 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34393 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34394 case $(srcdir) in \
34395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34396 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34398 esac; \
34399 module_srcdir=libvtv; \
34400 $(SHELL) $$s/$$module_srcdir/configure \
34401 --srcdir=$${topdir}/$$module_srcdir \
34402 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34403 --target=${target_alias} \
34404 --with-build-libsubdir=$(HOST_SUBDIR) \
34405 $(STAGEprofile_CONFIGURE_FLAGS)
34406 @endif target-libvtv-bootstrap
34408 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34409 maybe-configure-stagefeedback-target-libvtv:
34410 @if target-libvtv-bootstrap
34411 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34412 configure-stagefeedback-target-libvtv:
34413 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34414 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34415 @r=`${PWD_COMMAND}`; export r; \
34416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34417 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34418 echo "Checking multilib configuration for libvtv..."; \
34419 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34420 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34421 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34422 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34423 else \
34424 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34425 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34426 fi; \
34427 else \
34428 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34429 fi; \
34430 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34431 $(RAW_CXX_TARGET_EXPORTS) \
34433 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34434 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34435 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34436 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34438 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34439 case $(srcdir) in \
34440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34441 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34443 esac; \
34444 module_srcdir=libvtv; \
34445 $(SHELL) $$s/$$module_srcdir/configure \
34446 --srcdir=$${topdir}/$$module_srcdir \
34447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34448 --target=${target_alias} \
34449 --with-build-libsubdir=$(HOST_SUBDIR) \
34450 $(STAGEfeedback_CONFIGURE_FLAGS)
34451 @endif target-libvtv-bootstrap
34457 .PHONY: all-target-libvtv maybe-all-target-libvtv
34458 maybe-all-target-libvtv:
34459 @if gcc-bootstrap
34460 all-target-libvtv: stage_current
34461 @endif gcc-bootstrap
34462 @if target-libvtv
34463 TARGET-target-libvtv=all
34464 maybe-all-target-libvtv: all-target-libvtv
34465 all-target-libvtv: configure-target-libvtv
34466 @r=`${PWD_COMMAND}`; export r; \
34467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34468 $(RAW_CXX_TARGET_EXPORTS) \
34469 (cd $(TARGET_SUBDIR)/libvtv && \
34470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34471 $(TARGET-target-libvtv))
34472 @endif target-libvtv
34476 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34477 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34478 maybe-all-stage1-target-libvtv:
34479 maybe-clean-stage1-target-libvtv:
34480 @if target-libvtv-bootstrap
34481 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34482 all-stage1: all-stage1-target-libvtv
34483 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34484 all-stage1-target-libvtv: configure-stage1-target-libvtv
34485 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34486 @r=`${PWD_COMMAND}`; export r; \
34487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34488 TFLAGS="$(STAGE1_TFLAGS)"; \
34489 $(RAW_CXX_TARGET_EXPORTS) \
34490 cd $(TARGET_SUBDIR)/libvtv && \
34491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34492 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34493 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34494 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34498 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34500 TFLAGS="$(STAGE1_TFLAGS)" \
34501 $(TARGET-stage1-target-libvtv)
34503 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34504 clean-stage1: clean-stage1-target-libvtv
34505 clean-stage1-target-libvtv:
34506 @if [ $(current_stage) = stage1 ]; then \
34507 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34508 else \
34509 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34510 $(MAKE) stage1-start; \
34511 fi; \
34512 cd $(TARGET_SUBDIR)/libvtv && \
34513 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34514 clean
34515 @endif target-libvtv-bootstrap
34518 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34519 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34520 maybe-all-stage2-target-libvtv:
34521 maybe-clean-stage2-target-libvtv:
34522 @if target-libvtv-bootstrap
34523 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34524 all-stage2: all-stage2-target-libvtv
34525 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34526 all-stage2-target-libvtv: configure-stage2-target-libvtv
34527 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34528 @r=`${PWD_COMMAND}`; export r; \
34529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34530 TFLAGS="$(STAGE2_TFLAGS)"; \
34531 $(RAW_CXX_TARGET_EXPORTS) \
34533 cd $(TARGET_SUBDIR)/libvtv && \
34534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34535 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34536 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34537 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34541 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34542 TFLAGS="$(STAGE2_TFLAGS)" \
34543 $(TARGET-stage2-target-libvtv)
34545 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34546 clean-stage2: clean-stage2-target-libvtv
34547 clean-stage2-target-libvtv:
34548 @if [ $(current_stage) = stage2 ]; then \
34549 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34550 else \
34551 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34552 $(MAKE) stage2-start; \
34553 fi; \
34554 cd $(TARGET_SUBDIR)/libvtv && \
34555 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34556 @endif target-libvtv-bootstrap
34559 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34560 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34561 maybe-all-stage3-target-libvtv:
34562 maybe-clean-stage3-target-libvtv:
34563 @if target-libvtv-bootstrap
34564 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34565 all-stage3: all-stage3-target-libvtv
34566 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34567 all-stage3-target-libvtv: configure-stage3-target-libvtv
34568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34569 @r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 TFLAGS="$(STAGE3_TFLAGS)"; \
34572 $(RAW_CXX_TARGET_EXPORTS) \
34574 cd $(TARGET_SUBDIR)/libvtv && \
34575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34576 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34577 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34578 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34582 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34583 TFLAGS="$(STAGE3_TFLAGS)" \
34584 $(TARGET-stage3-target-libvtv)
34586 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34587 clean-stage3: clean-stage3-target-libvtv
34588 clean-stage3-target-libvtv:
34589 @if [ $(current_stage) = stage3 ]; then \
34590 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34591 else \
34592 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34593 $(MAKE) stage3-start; \
34594 fi; \
34595 cd $(TARGET_SUBDIR)/libvtv && \
34596 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34597 @endif target-libvtv-bootstrap
34600 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34601 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34602 maybe-all-stage4-target-libvtv:
34603 maybe-clean-stage4-target-libvtv:
34604 @if target-libvtv-bootstrap
34605 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34606 all-stage4: all-stage4-target-libvtv
34607 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34608 all-stage4-target-libvtv: configure-stage4-target-libvtv
34609 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34610 @r=`${PWD_COMMAND}`; export r; \
34611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34612 TFLAGS="$(STAGE4_TFLAGS)"; \
34613 $(RAW_CXX_TARGET_EXPORTS) \
34615 cd $(TARGET_SUBDIR)/libvtv && \
34616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34617 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34618 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34619 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34620 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34621 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34622 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34623 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34624 TFLAGS="$(STAGE4_TFLAGS)" \
34625 $(TARGET-stage4-target-libvtv)
34627 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34628 clean-stage4: clean-stage4-target-libvtv
34629 clean-stage4-target-libvtv:
34630 @if [ $(current_stage) = stage4 ]; then \
34631 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34632 else \
34633 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34634 $(MAKE) stage4-start; \
34635 fi; \
34636 cd $(TARGET_SUBDIR)/libvtv && \
34637 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34638 @endif target-libvtv-bootstrap
34641 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34642 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34643 maybe-all-stageprofile-target-libvtv:
34644 maybe-clean-stageprofile-target-libvtv:
34645 @if target-libvtv-bootstrap
34646 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34647 all-stageprofile: all-stageprofile-target-libvtv
34648 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34649 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34650 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34651 @r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34654 $(RAW_CXX_TARGET_EXPORTS) \
34656 cd $(TARGET_SUBDIR)/libvtv && \
34657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34658 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34664 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34665 TFLAGS="$(STAGEprofile_TFLAGS)" \
34666 $(TARGET-stageprofile-target-libvtv)
34668 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34669 clean-stageprofile: clean-stageprofile-target-libvtv
34670 clean-stageprofile-target-libvtv:
34671 @if [ $(current_stage) = stageprofile ]; then \
34672 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34673 else \
34674 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34675 $(MAKE) stageprofile-start; \
34676 fi; \
34677 cd $(TARGET_SUBDIR)/libvtv && \
34678 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34679 @endif target-libvtv-bootstrap
34682 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34683 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34684 maybe-all-stagefeedback-target-libvtv:
34685 maybe-clean-stagefeedback-target-libvtv:
34686 @if target-libvtv-bootstrap
34687 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34688 all-stagefeedback: all-stagefeedback-target-libvtv
34689 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34690 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34692 @r=`${PWD_COMMAND}`; export r; \
34693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34694 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34695 $(RAW_CXX_TARGET_EXPORTS) \
34697 cd $(TARGET_SUBDIR)/libvtv && \
34698 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34699 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34700 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34701 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34702 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34703 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34704 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34705 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34706 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34707 $(TARGET-stagefeedback-target-libvtv)
34709 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34710 clean-stagefeedback: clean-stagefeedback-target-libvtv
34711 clean-stagefeedback-target-libvtv:
34712 @if [ $(current_stage) = stagefeedback ]; then \
34713 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34714 else \
34715 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34716 $(MAKE) stagefeedback-start; \
34717 fi; \
34718 cd $(TARGET_SUBDIR)/libvtv && \
34719 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34720 @endif target-libvtv-bootstrap
34727 .PHONY: check-target-libvtv maybe-check-target-libvtv
34728 maybe-check-target-libvtv:
34729 @if target-libvtv
34730 maybe-check-target-libvtv: check-target-libvtv
34732 check-target-libvtv:
34733 @: $(MAKE); $(unstage)
34734 @r=`${PWD_COMMAND}`; export r; \
34735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34736 $(RAW_CXX_TARGET_EXPORTS) \
34737 (cd $(TARGET_SUBDIR)/libvtv && \
34738 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34740 @endif target-libvtv
34742 .PHONY: install-target-libvtv maybe-install-target-libvtv
34743 maybe-install-target-libvtv:
34744 @if target-libvtv
34745 maybe-install-target-libvtv: install-target-libvtv
34747 install-target-libvtv: installdirs
34748 @: $(MAKE); $(unstage)
34749 @r=`${PWD_COMMAND}`; export r; \
34750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34751 $(RAW_CXX_TARGET_EXPORTS) \
34752 (cd $(TARGET_SUBDIR)/libvtv && \
34753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34755 @endif target-libvtv
34757 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34758 maybe-install-strip-target-libvtv:
34759 @if target-libvtv
34760 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34762 install-strip-target-libvtv: installdirs
34763 @: $(MAKE); $(unstage)
34764 @r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 $(RAW_CXX_TARGET_EXPORTS) \
34767 (cd $(TARGET_SUBDIR)/libvtv && \
34768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34770 @endif target-libvtv
34772 # Other targets (info, dvi, pdf, etc.)
34774 .PHONY: maybe-info-target-libvtv info-target-libvtv
34775 maybe-info-target-libvtv:
34776 @if target-libvtv
34777 maybe-info-target-libvtv: info-target-libvtv
34779 info-target-libvtv: \
34780 configure-target-libvtv
34781 @: $(MAKE); $(unstage)
34782 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34783 r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 $(RAW_CXX_TARGET_EXPORTS) \
34786 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34787 for flag in $(EXTRA_TARGET_FLAGS); do \
34788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34789 done; \
34790 (cd $(TARGET_SUBDIR)/libvtv && \
34791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34793 "RANLIB=$${RANLIB}" \
34794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34795 info) \
34796 || exit 1
34798 @endif target-libvtv
34800 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34801 maybe-dvi-target-libvtv:
34802 @if target-libvtv
34803 maybe-dvi-target-libvtv: dvi-target-libvtv
34805 dvi-target-libvtv: \
34806 configure-target-libvtv
34807 @: $(MAKE); $(unstage)
34808 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34809 r=`${PWD_COMMAND}`; export r; \
34810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34811 $(RAW_CXX_TARGET_EXPORTS) \
34812 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34813 for flag in $(EXTRA_TARGET_FLAGS); do \
34814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34815 done; \
34816 (cd $(TARGET_SUBDIR)/libvtv && \
34817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34819 "RANLIB=$${RANLIB}" \
34820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34821 dvi) \
34822 || exit 1
34824 @endif target-libvtv
34826 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34827 maybe-pdf-target-libvtv:
34828 @if target-libvtv
34829 maybe-pdf-target-libvtv: pdf-target-libvtv
34831 pdf-target-libvtv: \
34832 configure-target-libvtv
34833 @: $(MAKE); $(unstage)
34834 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34835 r=`${PWD_COMMAND}`; export r; \
34836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34837 $(RAW_CXX_TARGET_EXPORTS) \
34838 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34839 for flag in $(EXTRA_TARGET_FLAGS); do \
34840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34841 done; \
34842 (cd $(TARGET_SUBDIR)/libvtv && \
34843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34845 "RANLIB=$${RANLIB}" \
34846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34847 pdf) \
34848 || exit 1
34850 @endif target-libvtv
34852 .PHONY: maybe-html-target-libvtv html-target-libvtv
34853 maybe-html-target-libvtv:
34854 @if target-libvtv
34855 maybe-html-target-libvtv: html-target-libvtv
34857 html-target-libvtv: \
34858 configure-target-libvtv
34859 @: $(MAKE); $(unstage)
34860 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34861 r=`${PWD_COMMAND}`; export r; \
34862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 $(RAW_CXX_TARGET_EXPORTS) \
34864 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34865 for flag in $(EXTRA_TARGET_FLAGS); do \
34866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34867 done; \
34868 (cd $(TARGET_SUBDIR)/libvtv && \
34869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34871 "RANLIB=$${RANLIB}" \
34872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34873 html) \
34874 || exit 1
34876 @endif target-libvtv
34878 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34879 maybe-TAGS-target-libvtv:
34880 @if target-libvtv
34881 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34883 TAGS-target-libvtv: \
34884 configure-target-libvtv
34885 @: $(MAKE); $(unstage)
34886 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34887 r=`${PWD_COMMAND}`; export r; \
34888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34889 $(RAW_CXX_TARGET_EXPORTS) \
34890 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34891 for flag in $(EXTRA_TARGET_FLAGS); do \
34892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34893 done; \
34894 (cd $(TARGET_SUBDIR)/libvtv && \
34895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34897 "RANLIB=$${RANLIB}" \
34898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34899 TAGS) \
34900 || exit 1
34902 @endif target-libvtv
34904 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34905 maybe-install-info-target-libvtv:
34906 @if target-libvtv
34907 maybe-install-info-target-libvtv: install-info-target-libvtv
34909 install-info-target-libvtv: \
34910 configure-target-libvtv \
34911 info-target-libvtv
34912 @: $(MAKE); $(unstage)
34913 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34914 r=`${PWD_COMMAND}`; export r; \
34915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34916 $(RAW_CXX_TARGET_EXPORTS) \
34917 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34918 for flag in $(EXTRA_TARGET_FLAGS); do \
34919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34920 done; \
34921 (cd $(TARGET_SUBDIR)/libvtv && \
34922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34924 "RANLIB=$${RANLIB}" \
34925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34926 install-info) \
34927 || exit 1
34929 @endif target-libvtv
34931 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34932 maybe-install-pdf-target-libvtv:
34933 @if target-libvtv
34934 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34936 install-pdf-target-libvtv: \
34937 configure-target-libvtv \
34938 pdf-target-libvtv
34939 @: $(MAKE); $(unstage)
34940 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34941 r=`${PWD_COMMAND}`; export r; \
34942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34943 $(RAW_CXX_TARGET_EXPORTS) \
34944 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34945 for flag in $(EXTRA_TARGET_FLAGS); do \
34946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34947 done; \
34948 (cd $(TARGET_SUBDIR)/libvtv && \
34949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34951 "RANLIB=$${RANLIB}" \
34952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34953 install-pdf) \
34954 || exit 1
34956 @endif target-libvtv
34958 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34959 maybe-install-html-target-libvtv:
34960 @if target-libvtv
34961 maybe-install-html-target-libvtv: install-html-target-libvtv
34963 install-html-target-libvtv: \
34964 configure-target-libvtv \
34965 html-target-libvtv
34966 @: $(MAKE); $(unstage)
34967 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34968 r=`${PWD_COMMAND}`; export r; \
34969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34970 $(RAW_CXX_TARGET_EXPORTS) \
34971 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34972 for flag in $(EXTRA_TARGET_FLAGS); do \
34973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34974 done; \
34975 (cd $(TARGET_SUBDIR)/libvtv && \
34976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34978 "RANLIB=$${RANLIB}" \
34979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34980 install-html) \
34981 || exit 1
34983 @endif target-libvtv
34985 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34986 maybe-installcheck-target-libvtv:
34987 @if target-libvtv
34988 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34990 installcheck-target-libvtv: \
34991 configure-target-libvtv
34992 @: $(MAKE); $(unstage)
34993 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34994 r=`${PWD_COMMAND}`; export r; \
34995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34996 $(RAW_CXX_TARGET_EXPORTS) \
34997 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34998 for flag in $(EXTRA_TARGET_FLAGS); do \
34999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35000 done; \
35001 (cd $(TARGET_SUBDIR)/libvtv && \
35002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35004 "RANLIB=$${RANLIB}" \
35005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35006 installcheck) \
35007 || exit 1
35009 @endif target-libvtv
35011 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
35012 maybe-mostlyclean-target-libvtv:
35013 @if target-libvtv
35014 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
35016 mostlyclean-target-libvtv:
35017 @: $(MAKE); $(unstage)
35018 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(RAW_CXX_TARGET_EXPORTS) \
35022 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
35023 for flag in $(EXTRA_TARGET_FLAGS); do \
35024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35025 done; \
35026 (cd $(TARGET_SUBDIR)/libvtv && \
35027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35029 "RANLIB=$${RANLIB}" \
35030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35031 mostlyclean) \
35032 || exit 1
35034 @endif target-libvtv
35036 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
35037 maybe-clean-target-libvtv:
35038 @if target-libvtv
35039 maybe-clean-target-libvtv: clean-target-libvtv
35041 clean-target-libvtv:
35042 @: $(MAKE); $(unstage)
35043 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(RAW_CXX_TARGET_EXPORTS) \
35047 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
35048 for flag in $(EXTRA_TARGET_FLAGS); do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 (cd $(TARGET_SUBDIR)/libvtv && \
35052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35054 "RANLIB=$${RANLIB}" \
35055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35056 clean) \
35057 || exit 1
35059 @endif target-libvtv
35061 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
35062 maybe-distclean-target-libvtv:
35063 @if target-libvtv
35064 maybe-distclean-target-libvtv: distclean-target-libvtv
35066 distclean-target-libvtv:
35067 @: $(MAKE); $(unstage)
35068 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35069 r=`${PWD_COMMAND}`; export r; \
35070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35071 $(RAW_CXX_TARGET_EXPORTS) \
35072 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
35073 for flag in $(EXTRA_TARGET_FLAGS); do \
35074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35075 done; \
35076 (cd $(TARGET_SUBDIR)/libvtv && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35079 "RANLIB=$${RANLIB}" \
35080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35081 distclean) \
35082 || exit 1
35084 @endif target-libvtv
35086 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
35087 maybe-maintainer-clean-target-libvtv:
35088 @if target-libvtv
35089 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
35091 maintainer-clean-target-libvtv:
35092 @: $(MAKE); $(unstage)
35093 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(RAW_CXX_TARGET_EXPORTS) \
35097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
35098 for flag in $(EXTRA_TARGET_FLAGS); do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 (cd $(TARGET_SUBDIR)/libvtv && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35106 maintainer-clean) \
35107 || exit 1
35109 @endif target-libvtv
35115 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
35116 maybe-configure-target-libcilkrts:
35117 @if gcc-bootstrap
35118 configure-target-libcilkrts: stage_current
35119 @endif gcc-bootstrap
35120 @if target-libcilkrts
35121 maybe-configure-target-libcilkrts: configure-target-libcilkrts
35122 configure-target-libcilkrts:
35123 @: $(MAKE); $(unstage)
35124 @r=`${PWD_COMMAND}`; export r; \
35125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35126 echo "Checking multilib configuration for libcilkrts..."; \
35127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
35129 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35130 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35131 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
35132 else \
35133 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
35134 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35135 fi; \
35136 else \
35137 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35138 fi; \
35139 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
35140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35141 $(NORMAL_TARGET_EXPORTS) \
35142 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
35143 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
35144 case $(srcdir) in \
35145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35146 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
35147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35148 esac; \
35149 module_srcdir=libcilkrts; \
35150 rm -f no-such-file || : ; \
35151 CONFIG_SITE=no-such-file $(SHELL) \
35152 $$s/$$module_srcdir/configure \
35153 --srcdir=$${topdir}/$$module_srcdir \
35154 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35155 --target=${target_alias} \
35156 || exit 1
35157 @endif target-libcilkrts
35163 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
35164 maybe-all-target-libcilkrts:
35165 @if gcc-bootstrap
35166 all-target-libcilkrts: stage_current
35167 @endif gcc-bootstrap
35168 @if target-libcilkrts
35169 TARGET-target-libcilkrts=all
35170 maybe-all-target-libcilkrts: all-target-libcilkrts
35171 all-target-libcilkrts: configure-target-libcilkrts
35172 @: $(MAKE); $(unstage)
35173 @r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 $(NORMAL_TARGET_EXPORTS) \
35176 (cd $(TARGET_SUBDIR)/libcilkrts && \
35177 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35178 $(TARGET-target-libcilkrts))
35179 @endif target-libcilkrts
35185 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
35186 maybe-check-target-libcilkrts:
35187 @if target-libcilkrts
35188 maybe-check-target-libcilkrts: check-target-libcilkrts
35190 check-target-libcilkrts:
35191 @: $(MAKE); $(unstage)
35192 @r=`${PWD_COMMAND}`; export r; \
35193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35194 $(NORMAL_TARGET_EXPORTS) \
35195 (cd $(TARGET_SUBDIR)/libcilkrts && \
35196 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35198 @endif target-libcilkrts
35200 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
35201 maybe-install-target-libcilkrts:
35202 @if target-libcilkrts
35203 maybe-install-target-libcilkrts: install-target-libcilkrts
35205 install-target-libcilkrts: installdirs
35206 @: $(MAKE); $(unstage)
35207 @r=`${PWD_COMMAND}`; export r; \
35208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35209 $(NORMAL_TARGET_EXPORTS) \
35210 (cd $(TARGET_SUBDIR)/libcilkrts && \
35211 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35213 @endif target-libcilkrts
35215 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
35216 maybe-install-strip-target-libcilkrts:
35217 @if target-libcilkrts
35218 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
35220 install-strip-target-libcilkrts: installdirs
35221 @: $(MAKE); $(unstage)
35222 @r=`${PWD_COMMAND}`; export r; \
35223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35224 $(NORMAL_TARGET_EXPORTS) \
35225 (cd $(TARGET_SUBDIR)/libcilkrts && \
35226 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35228 @endif target-libcilkrts
35230 # Other targets (info, dvi, pdf, etc.)
35232 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
35233 maybe-info-target-libcilkrts:
35234 @if target-libcilkrts
35235 maybe-info-target-libcilkrts: info-target-libcilkrts
35237 info-target-libcilkrts: \
35238 configure-target-libcilkrts
35239 @: $(MAKE); $(unstage)
35240 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35241 r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(NORMAL_TARGET_EXPORTS) \
35244 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
35245 for flag in $(EXTRA_TARGET_FLAGS); do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35247 done; \
35248 (cd $(TARGET_SUBDIR)/libcilkrts && \
35249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35251 "RANLIB=$${RANLIB}" \
35252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35253 info) \
35254 || exit 1
35256 @endif target-libcilkrts
35258 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
35259 maybe-dvi-target-libcilkrts:
35260 @if target-libcilkrts
35261 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
35263 dvi-target-libcilkrts: \
35264 configure-target-libcilkrts
35265 @: $(MAKE); $(unstage)
35266 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35267 r=`${PWD_COMMAND}`; export r; \
35268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35269 $(NORMAL_TARGET_EXPORTS) \
35270 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
35271 for flag in $(EXTRA_TARGET_FLAGS); do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 (cd $(TARGET_SUBDIR)/libcilkrts && \
35275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35277 "RANLIB=$${RANLIB}" \
35278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35279 dvi) \
35280 || exit 1
35282 @endif target-libcilkrts
35284 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
35285 maybe-pdf-target-libcilkrts:
35286 @if target-libcilkrts
35287 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
35289 pdf-target-libcilkrts: \
35290 configure-target-libcilkrts
35291 @: $(MAKE); $(unstage)
35292 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35293 r=`${PWD_COMMAND}`; export r; \
35294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35295 $(NORMAL_TARGET_EXPORTS) \
35296 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35297 for flag in $(EXTRA_TARGET_FLAGS); do \
35298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35299 done; \
35300 (cd $(TARGET_SUBDIR)/libcilkrts && \
35301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35303 "RANLIB=$${RANLIB}" \
35304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35305 pdf) \
35306 || exit 1
35308 @endif target-libcilkrts
35310 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
35311 maybe-html-target-libcilkrts:
35312 @if target-libcilkrts
35313 maybe-html-target-libcilkrts: html-target-libcilkrts
35315 html-target-libcilkrts: \
35316 configure-target-libcilkrts
35317 @: $(MAKE); $(unstage)
35318 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35319 r=`${PWD_COMMAND}`; export r; \
35320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35321 $(NORMAL_TARGET_EXPORTS) \
35322 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
35323 for flag in $(EXTRA_TARGET_FLAGS); do \
35324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35325 done; \
35326 (cd $(TARGET_SUBDIR)/libcilkrts && \
35327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35329 "RANLIB=$${RANLIB}" \
35330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35331 html) \
35332 || exit 1
35334 @endif target-libcilkrts
35336 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
35337 maybe-TAGS-target-libcilkrts:
35338 @if target-libcilkrts
35339 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
35341 TAGS-target-libcilkrts: \
35342 configure-target-libcilkrts
35343 @: $(MAKE); $(unstage)
35344 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35345 r=`${PWD_COMMAND}`; export r; \
35346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35347 $(NORMAL_TARGET_EXPORTS) \
35348 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35349 for flag in $(EXTRA_TARGET_FLAGS); do \
35350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35351 done; \
35352 (cd $(TARGET_SUBDIR)/libcilkrts && \
35353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35355 "RANLIB=$${RANLIB}" \
35356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35357 TAGS) \
35358 || exit 1
35360 @endif target-libcilkrts
35362 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35363 maybe-install-info-target-libcilkrts:
35364 @if target-libcilkrts
35365 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35367 install-info-target-libcilkrts: \
35368 configure-target-libcilkrts \
35369 info-target-libcilkrts
35370 @: $(MAKE); $(unstage)
35371 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35372 r=`${PWD_COMMAND}`; export r; \
35373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35374 $(NORMAL_TARGET_EXPORTS) \
35375 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35376 for flag in $(EXTRA_TARGET_FLAGS); do \
35377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35378 done; \
35379 (cd $(TARGET_SUBDIR)/libcilkrts && \
35380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35382 "RANLIB=$${RANLIB}" \
35383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35384 install-info) \
35385 || exit 1
35387 @endif target-libcilkrts
35389 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35390 maybe-install-pdf-target-libcilkrts:
35391 @if target-libcilkrts
35392 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35394 install-pdf-target-libcilkrts: \
35395 configure-target-libcilkrts \
35396 pdf-target-libcilkrts
35397 @: $(MAKE); $(unstage)
35398 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35399 r=`${PWD_COMMAND}`; export r; \
35400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35401 $(NORMAL_TARGET_EXPORTS) \
35402 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35403 for flag in $(EXTRA_TARGET_FLAGS); do \
35404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35405 done; \
35406 (cd $(TARGET_SUBDIR)/libcilkrts && \
35407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35409 "RANLIB=$${RANLIB}" \
35410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35411 install-pdf) \
35412 || exit 1
35414 @endif target-libcilkrts
35416 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35417 maybe-install-html-target-libcilkrts:
35418 @if target-libcilkrts
35419 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35421 install-html-target-libcilkrts: \
35422 configure-target-libcilkrts \
35423 html-target-libcilkrts
35424 @: $(MAKE); $(unstage)
35425 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35426 r=`${PWD_COMMAND}`; export r; \
35427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35428 $(NORMAL_TARGET_EXPORTS) \
35429 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35430 for flag in $(EXTRA_TARGET_FLAGS); do \
35431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35432 done; \
35433 (cd $(TARGET_SUBDIR)/libcilkrts && \
35434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35436 "RANLIB=$${RANLIB}" \
35437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35438 install-html) \
35439 || exit 1
35441 @endif target-libcilkrts
35443 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35444 maybe-installcheck-target-libcilkrts:
35445 @if target-libcilkrts
35446 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35448 installcheck-target-libcilkrts: \
35449 configure-target-libcilkrts
35450 @: $(MAKE); $(unstage)
35451 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35452 r=`${PWD_COMMAND}`; export r; \
35453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35454 $(NORMAL_TARGET_EXPORTS) \
35455 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35456 for flag in $(EXTRA_TARGET_FLAGS); do \
35457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35458 done; \
35459 (cd $(TARGET_SUBDIR)/libcilkrts && \
35460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35462 "RANLIB=$${RANLIB}" \
35463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35464 installcheck) \
35465 || exit 1
35467 @endif target-libcilkrts
35469 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35470 maybe-mostlyclean-target-libcilkrts:
35471 @if target-libcilkrts
35472 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35474 mostlyclean-target-libcilkrts:
35475 @: $(MAKE); $(unstage)
35476 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35477 r=`${PWD_COMMAND}`; export r; \
35478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35479 $(NORMAL_TARGET_EXPORTS) \
35480 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35481 for flag in $(EXTRA_TARGET_FLAGS); do \
35482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35483 done; \
35484 (cd $(TARGET_SUBDIR)/libcilkrts && \
35485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35487 "RANLIB=$${RANLIB}" \
35488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35489 mostlyclean) \
35490 || exit 1
35492 @endif target-libcilkrts
35494 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35495 maybe-clean-target-libcilkrts:
35496 @if target-libcilkrts
35497 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35499 clean-target-libcilkrts:
35500 @: $(MAKE); $(unstage)
35501 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35502 r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(NORMAL_TARGET_EXPORTS) \
35505 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35506 for flag in $(EXTRA_TARGET_FLAGS); do \
35507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35508 done; \
35509 (cd $(TARGET_SUBDIR)/libcilkrts && \
35510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35512 "RANLIB=$${RANLIB}" \
35513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35514 clean) \
35515 || exit 1
35517 @endif target-libcilkrts
35519 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35520 maybe-distclean-target-libcilkrts:
35521 @if target-libcilkrts
35522 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35524 distclean-target-libcilkrts:
35525 @: $(MAKE); $(unstage)
35526 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35527 r=`${PWD_COMMAND}`; export r; \
35528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35529 $(NORMAL_TARGET_EXPORTS) \
35530 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35531 for flag in $(EXTRA_TARGET_FLAGS); do \
35532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35533 done; \
35534 (cd $(TARGET_SUBDIR)/libcilkrts && \
35535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35537 "RANLIB=$${RANLIB}" \
35538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35539 distclean) \
35540 || exit 1
35542 @endif target-libcilkrts
35544 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35545 maybe-maintainer-clean-target-libcilkrts:
35546 @if target-libcilkrts
35547 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35549 maintainer-clean-target-libcilkrts:
35550 @: $(MAKE); $(unstage)
35551 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35552 r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 $(NORMAL_TARGET_EXPORTS) \
35555 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35556 for flag in $(EXTRA_TARGET_FLAGS); do \
35557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35558 done; \
35559 (cd $(TARGET_SUBDIR)/libcilkrts && \
35560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35562 "RANLIB=$${RANLIB}" \
35563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35564 maintainer-clean) \
35565 || exit 1
35567 @endif target-libcilkrts
35573 .PHONY: configure-target-libssp maybe-configure-target-libssp
35574 maybe-configure-target-libssp:
35575 @if gcc-bootstrap
35576 configure-target-libssp: stage_current
35577 @endif gcc-bootstrap
35578 @if target-libssp
35579 maybe-configure-target-libssp: configure-target-libssp
35580 configure-target-libssp:
35581 @: $(MAKE); $(unstage)
35582 @r=`${PWD_COMMAND}`; export r; \
35583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35584 echo "Checking multilib configuration for libssp..."; \
35585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35586 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35587 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35588 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35589 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35590 else \
35591 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35592 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35593 fi; \
35594 else \
35595 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35596 fi; \
35597 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35598 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35599 $(NORMAL_TARGET_EXPORTS) \
35600 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35601 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35602 case $(srcdir) in \
35603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35604 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35606 esac; \
35607 module_srcdir=libssp; \
35608 rm -f no-such-file || : ; \
35609 CONFIG_SITE=no-such-file $(SHELL) \
35610 $$s/$$module_srcdir/configure \
35611 --srcdir=$${topdir}/$$module_srcdir \
35612 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35613 --target=${target_alias} \
35614 || exit 1
35615 @endif target-libssp
35621 .PHONY: all-target-libssp maybe-all-target-libssp
35622 maybe-all-target-libssp:
35623 @if gcc-bootstrap
35624 all-target-libssp: stage_current
35625 @endif gcc-bootstrap
35626 @if target-libssp
35627 TARGET-target-libssp=all
35628 maybe-all-target-libssp: all-target-libssp
35629 all-target-libssp: configure-target-libssp
35630 @: $(MAKE); $(unstage)
35631 @r=`${PWD_COMMAND}`; export r; \
35632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35633 $(NORMAL_TARGET_EXPORTS) \
35634 (cd $(TARGET_SUBDIR)/libssp && \
35635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35636 $(TARGET-target-libssp))
35637 @endif target-libssp
35643 .PHONY: check-target-libssp maybe-check-target-libssp
35644 maybe-check-target-libssp:
35645 @if target-libssp
35646 maybe-check-target-libssp: check-target-libssp
35648 check-target-libssp:
35649 @: $(MAKE); $(unstage)
35650 @r=`${PWD_COMMAND}`; export r; \
35651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35652 $(NORMAL_TARGET_EXPORTS) \
35653 (cd $(TARGET_SUBDIR)/libssp && \
35654 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35656 @endif target-libssp
35658 .PHONY: install-target-libssp maybe-install-target-libssp
35659 maybe-install-target-libssp:
35660 @if target-libssp
35661 maybe-install-target-libssp: install-target-libssp
35663 install-target-libssp: installdirs
35664 @: $(MAKE); $(unstage)
35665 @r=`${PWD_COMMAND}`; export r; \
35666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35667 $(NORMAL_TARGET_EXPORTS) \
35668 (cd $(TARGET_SUBDIR)/libssp && \
35669 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35671 @endif target-libssp
35673 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35674 maybe-install-strip-target-libssp:
35675 @if target-libssp
35676 maybe-install-strip-target-libssp: install-strip-target-libssp
35678 install-strip-target-libssp: installdirs
35679 @: $(MAKE); $(unstage)
35680 @r=`${PWD_COMMAND}`; export r; \
35681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35682 $(NORMAL_TARGET_EXPORTS) \
35683 (cd $(TARGET_SUBDIR)/libssp && \
35684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35686 @endif target-libssp
35688 # Other targets (info, dvi, pdf, etc.)
35690 .PHONY: maybe-info-target-libssp info-target-libssp
35691 maybe-info-target-libssp:
35692 @if target-libssp
35693 maybe-info-target-libssp: info-target-libssp
35695 info-target-libssp: \
35696 configure-target-libssp
35697 @: $(MAKE); $(unstage)
35698 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35699 r=`${PWD_COMMAND}`; export r; \
35700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35701 $(NORMAL_TARGET_EXPORTS) \
35702 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35703 for flag in $(EXTRA_TARGET_FLAGS); do \
35704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35705 done; \
35706 (cd $(TARGET_SUBDIR)/libssp && \
35707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35709 "RANLIB=$${RANLIB}" \
35710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35711 info) \
35712 || exit 1
35714 @endif target-libssp
35716 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35717 maybe-dvi-target-libssp:
35718 @if target-libssp
35719 maybe-dvi-target-libssp: dvi-target-libssp
35721 dvi-target-libssp: \
35722 configure-target-libssp
35723 @: $(MAKE); $(unstage)
35724 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35725 r=`${PWD_COMMAND}`; export r; \
35726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35727 $(NORMAL_TARGET_EXPORTS) \
35728 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35729 for flag in $(EXTRA_TARGET_FLAGS); do \
35730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35731 done; \
35732 (cd $(TARGET_SUBDIR)/libssp && \
35733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35735 "RANLIB=$${RANLIB}" \
35736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35737 dvi) \
35738 || exit 1
35740 @endif target-libssp
35742 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35743 maybe-pdf-target-libssp:
35744 @if target-libssp
35745 maybe-pdf-target-libssp: pdf-target-libssp
35747 pdf-target-libssp: \
35748 configure-target-libssp
35749 @: $(MAKE); $(unstage)
35750 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35751 r=`${PWD_COMMAND}`; export r; \
35752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35753 $(NORMAL_TARGET_EXPORTS) \
35754 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35755 for flag in $(EXTRA_TARGET_FLAGS); do \
35756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35757 done; \
35758 (cd $(TARGET_SUBDIR)/libssp && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35761 "RANLIB=$${RANLIB}" \
35762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35763 pdf) \
35764 || exit 1
35766 @endif target-libssp
35768 .PHONY: maybe-html-target-libssp html-target-libssp
35769 maybe-html-target-libssp:
35770 @if target-libssp
35771 maybe-html-target-libssp: html-target-libssp
35773 html-target-libssp: \
35774 configure-target-libssp
35775 @: $(MAKE); $(unstage)
35776 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35777 r=`${PWD_COMMAND}`; export r; \
35778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35779 $(NORMAL_TARGET_EXPORTS) \
35780 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35781 for flag in $(EXTRA_TARGET_FLAGS); do \
35782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35783 done; \
35784 (cd $(TARGET_SUBDIR)/libssp && \
35785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35787 "RANLIB=$${RANLIB}" \
35788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35789 html) \
35790 || exit 1
35792 @endif target-libssp
35794 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35795 maybe-TAGS-target-libssp:
35796 @if target-libssp
35797 maybe-TAGS-target-libssp: TAGS-target-libssp
35799 TAGS-target-libssp: \
35800 configure-target-libssp
35801 @: $(MAKE); $(unstage)
35802 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35803 r=`${PWD_COMMAND}`; export r; \
35804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35805 $(NORMAL_TARGET_EXPORTS) \
35806 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35807 for flag in $(EXTRA_TARGET_FLAGS); do \
35808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35809 done; \
35810 (cd $(TARGET_SUBDIR)/libssp && \
35811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35813 "RANLIB=$${RANLIB}" \
35814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35815 TAGS) \
35816 || exit 1
35818 @endif target-libssp
35820 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35821 maybe-install-info-target-libssp:
35822 @if target-libssp
35823 maybe-install-info-target-libssp: install-info-target-libssp
35825 install-info-target-libssp: \
35826 configure-target-libssp \
35827 info-target-libssp
35828 @: $(MAKE); $(unstage)
35829 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35830 r=`${PWD_COMMAND}`; export r; \
35831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35832 $(NORMAL_TARGET_EXPORTS) \
35833 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35834 for flag in $(EXTRA_TARGET_FLAGS); do \
35835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35836 done; \
35837 (cd $(TARGET_SUBDIR)/libssp && \
35838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35840 "RANLIB=$${RANLIB}" \
35841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35842 install-info) \
35843 || exit 1
35845 @endif target-libssp
35847 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35848 maybe-install-pdf-target-libssp:
35849 @if target-libssp
35850 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35852 install-pdf-target-libssp: \
35853 configure-target-libssp \
35854 pdf-target-libssp
35855 @: $(MAKE); $(unstage)
35856 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35857 r=`${PWD_COMMAND}`; export r; \
35858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35859 $(NORMAL_TARGET_EXPORTS) \
35860 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35861 for flag in $(EXTRA_TARGET_FLAGS); do \
35862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35863 done; \
35864 (cd $(TARGET_SUBDIR)/libssp && \
35865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35867 "RANLIB=$${RANLIB}" \
35868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35869 install-pdf) \
35870 || exit 1
35872 @endif target-libssp
35874 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35875 maybe-install-html-target-libssp:
35876 @if target-libssp
35877 maybe-install-html-target-libssp: install-html-target-libssp
35879 install-html-target-libssp: \
35880 configure-target-libssp \
35881 html-target-libssp
35882 @: $(MAKE); $(unstage)
35883 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35884 r=`${PWD_COMMAND}`; export r; \
35885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35886 $(NORMAL_TARGET_EXPORTS) \
35887 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
35888 for flag in $(EXTRA_TARGET_FLAGS); do \
35889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35890 done; \
35891 (cd $(TARGET_SUBDIR)/libssp && \
35892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35894 "RANLIB=$${RANLIB}" \
35895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35896 install-html) \
35897 || exit 1
35899 @endif target-libssp
35901 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
35902 maybe-installcheck-target-libssp:
35903 @if target-libssp
35904 maybe-installcheck-target-libssp: installcheck-target-libssp
35906 installcheck-target-libssp: \
35907 configure-target-libssp
35908 @: $(MAKE); $(unstage)
35909 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35910 r=`${PWD_COMMAND}`; export r; \
35911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35912 $(NORMAL_TARGET_EXPORTS) \
35913 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
35914 for flag in $(EXTRA_TARGET_FLAGS); do \
35915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35916 done; \
35917 (cd $(TARGET_SUBDIR)/libssp && \
35918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35920 "RANLIB=$${RANLIB}" \
35921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35922 installcheck) \
35923 || exit 1
35925 @endif target-libssp
35927 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
35928 maybe-mostlyclean-target-libssp:
35929 @if target-libssp
35930 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
35932 mostlyclean-target-libssp:
35933 @: $(MAKE); $(unstage)
35934 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35935 r=`${PWD_COMMAND}`; export r; \
35936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35937 $(NORMAL_TARGET_EXPORTS) \
35938 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
35939 for flag in $(EXTRA_TARGET_FLAGS); do \
35940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35941 done; \
35942 (cd $(TARGET_SUBDIR)/libssp && \
35943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35945 "RANLIB=$${RANLIB}" \
35946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35947 mostlyclean) \
35948 || exit 1
35950 @endif target-libssp
35952 .PHONY: maybe-clean-target-libssp clean-target-libssp
35953 maybe-clean-target-libssp:
35954 @if target-libssp
35955 maybe-clean-target-libssp: clean-target-libssp
35957 clean-target-libssp:
35958 @: $(MAKE); $(unstage)
35959 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35960 r=`${PWD_COMMAND}`; export r; \
35961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35962 $(NORMAL_TARGET_EXPORTS) \
35963 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
35964 for flag in $(EXTRA_TARGET_FLAGS); do \
35965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35966 done; \
35967 (cd $(TARGET_SUBDIR)/libssp && \
35968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35970 "RANLIB=$${RANLIB}" \
35971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35972 clean) \
35973 || exit 1
35975 @endif target-libssp
35977 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
35978 maybe-distclean-target-libssp:
35979 @if target-libssp
35980 maybe-distclean-target-libssp: distclean-target-libssp
35982 distclean-target-libssp:
35983 @: $(MAKE); $(unstage)
35984 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35985 r=`${PWD_COMMAND}`; export r; \
35986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35987 $(NORMAL_TARGET_EXPORTS) \
35988 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
35989 for flag in $(EXTRA_TARGET_FLAGS); do \
35990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35991 done; \
35992 (cd $(TARGET_SUBDIR)/libssp && \
35993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35995 "RANLIB=$${RANLIB}" \
35996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35997 distclean) \
35998 || exit 1
36000 @endif target-libssp
36002 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36003 maybe-maintainer-clean-target-libssp:
36004 @if target-libssp
36005 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36007 maintainer-clean-target-libssp:
36008 @: $(MAKE); $(unstage)
36009 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36010 r=`${PWD_COMMAND}`; export r; \
36011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36012 $(NORMAL_TARGET_EXPORTS) \
36013 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36014 for flag in $(EXTRA_TARGET_FLAGS); do \
36015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36016 done; \
36017 (cd $(TARGET_SUBDIR)/libssp && \
36018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36020 "RANLIB=$${RANLIB}" \
36021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36022 maintainer-clean) \
36023 || exit 1
36025 @endif target-libssp
36031 .PHONY: configure-target-newlib maybe-configure-target-newlib
36032 maybe-configure-target-newlib:
36033 @if gcc-bootstrap
36034 configure-target-newlib: stage_current
36035 @endif gcc-bootstrap
36036 @if target-newlib
36037 maybe-configure-target-newlib: configure-target-newlib
36038 configure-target-newlib:
36039 @: $(MAKE); $(unstage)
36040 @r=`${PWD_COMMAND}`; export r; \
36041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36042 echo "Checking multilib configuration for newlib..."; \
36043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36045 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36046 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36047 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36048 else \
36049 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36050 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36051 fi; \
36052 else \
36053 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36054 fi; \
36055 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36057 $(NORMAL_TARGET_EXPORTS) \
36058 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36059 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36060 case $(srcdir) in \
36061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36062 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36064 esac; \
36065 module_srcdir=newlib; \
36066 rm -f no-such-file || : ; \
36067 CONFIG_SITE=no-such-file $(SHELL) \
36068 $$s/$$module_srcdir/configure \
36069 --srcdir=$${topdir}/$$module_srcdir \
36070 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36071 --target=${target_alias} \
36072 || exit 1
36073 @endif target-newlib
36079 .PHONY: all-target-newlib maybe-all-target-newlib
36080 maybe-all-target-newlib:
36081 @if gcc-bootstrap
36082 all-target-newlib: stage_current
36083 @endif gcc-bootstrap
36084 @if target-newlib
36085 TARGET-target-newlib=all
36086 maybe-all-target-newlib: all-target-newlib
36087 all-target-newlib: configure-target-newlib
36088 @: $(MAKE); $(unstage)
36089 @r=`${PWD_COMMAND}`; export r; \
36090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36091 $(NORMAL_TARGET_EXPORTS) \
36092 (cd $(TARGET_SUBDIR)/newlib && \
36093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36094 $(TARGET-target-newlib))
36095 @endif target-newlib
36101 .PHONY: check-target-newlib maybe-check-target-newlib
36102 maybe-check-target-newlib:
36103 @if target-newlib
36104 maybe-check-target-newlib: check-target-newlib
36106 check-target-newlib:
36107 @: $(MAKE); $(unstage)
36108 @r=`${PWD_COMMAND}`; export r; \
36109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36110 $(NORMAL_TARGET_EXPORTS) \
36111 (cd $(TARGET_SUBDIR)/newlib && \
36112 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36114 @endif target-newlib
36116 .PHONY: install-target-newlib maybe-install-target-newlib
36117 maybe-install-target-newlib:
36118 @if target-newlib
36119 maybe-install-target-newlib: install-target-newlib
36121 install-target-newlib: installdirs
36122 @: $(MAKE); $(unstage)
36123 @r=`${PWD_COMMAND}`; export r; \
36124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36125 $(NORMAL_TARGET_EXPORTS) \
36126 (cd $(TARGET_SUBDIR)/newlib && \
36127 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36129 @endif target-newlib
36131 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36132 maybe-install-strip-target-newlib:
36133 @if target-newlib
36134 maybe-install-strip-target-newlib: install-strip-target-newlib
36136 install-strip-target-newlib: installdirs
36137 @: $(MAKE); $(unstage)
36138 @r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(NORMAL_TARGET_EXPORTS) \
36141 (cd $(TARGET_SUBDIR)/newlib && \
36142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36144 @endif target-newlib
36146 # Other targets (info, dvi, pdf, etc.)
36148 .PHONY: maybe-info-target-newlib info-target-newlib
36149 maybe-info-target-newlib:
36150 @if target-newlib
36151 maybe-info-target-newlib: info-target-newlib
36153 info-target-newlib: \
36154 configure-target-newlib
36155 @: $(MAKE); $(unstage)
36156 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36157 r=`${PWD_COMMAND}`; export r; \
36158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36159 $(NORMAL_TARGET_EXPORTS) \
36160 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36161 for flag in $(EXTRA_TARGET_FLAGS); do \
36162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36163 done; \
36164 (cd $(TARGET_SUBDIR)/newlib && \
36165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36167 "RANLIB=$${RANLIB}" \
36168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36169 info) \
36170 || exit 1
36172 @endif target-newlib
36174 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36175 maybe-dvi-target-newlib:
36176 @if target-newlib
36177 maybe-dvi-target-newlib: dvi-target-newlib
36179 dvi-target-newlib: \
36180 configure-target-newlib
36181 @: $(MAKE); $(unstage)
36182 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36183 r=`${PWD_COMMAND}`; export r; \
36184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36185 $(NORMAL_TARGET_EXPORTS) \
36186 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36187 for flag in $(EXTRA_TARGET_FLAGS); do \
36188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36189 done; \
36190 (cd $(TARGET_SUBDIR)/newlib && \
36191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36193 "RANLIB=$${RANLIB}" \
36194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36195 dvi) \
36196 || exit 1
36198 @endif target-newlib
36200 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36201 maybe-pdf-target-newlib:
36202 @if target-newlib
36203 maybe-pdf-target-newlib: pdf-target-newlib
36205 pdf-target-newlib: \
36206 configure-target-newlib
36207 @: $(MAKE); $(unstage)
36208 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36209 r=`${PWD_COMMAND}`; export r; \
36210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36211 $(NORMAL_TARGET_EXPORTS) \
36212 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36213 for flag in $(EXTRA_TARGET_FLAGS); do \
36214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36215 done; \
36216 (cd $(TARGET_SUBDIR)/newlib && \
36217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36219 "RANLIB=$${RANLIB}" \
36220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36221 pdf) \
36222 || exit 1
36224 @endif target-newlib
36226 .PHONY: maybe-html-target-newlib html-target-newlib
36227 maybe-html-target-newlib:
36228 @if target-newlib
36229 maybe-html-target-newlib: html-target-newlib
36231 html-target-newlib: \
36232 configure-target-newlib
36233 @: $(MAKE); $(unstage)
36234 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36235 r=`${PWD_COMMAND}`; export r; \
36236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36237 $(NORMAL_TARGET_EXPORTS) \
36238 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36239 for flag in $(EXTRA_TARGET_FLAGS); do \
36240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36241 done; \
36242 (cd $(TARGET_SUBDIR)/newlib && \
36243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36245 "RANLIB=$${RANLIB}" \
36246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36247 html) \
36248 || exit 1
36250 @endif target-newlib
36252 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36253 maybe-TAGS-target-newlib:
36254 @if target-newlib
36255 maybe-TAGS-target-newlib: TAGS-target-newlib
36257 TAGS-target-newlib: \
36258 configure-target-newlib
36259 @: $(MAKE); $(unstage)
36260 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36261 r=`${PWD_COMMAND}`; export r; \
36262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36263 $(NORMAL_TARGET_EXPORTS) \
36264 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36265 for flag in $(EXTRA_TARGET_FLAGS); do \
36266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36267 done; \
36268 (cd $(TARGET_SUBDIR)/newlib && \
36269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36271 "RANLIB=$${RANLIB}" \
36272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36273 TAGS) \
36274 || exit 1
36276 @endif target-newlib
36278 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36279 maybe-install-info-target-newlib:
36280 @if target-newlib
36281 maybe-install-info-target-newlib: install-info-target-newlib
36283 install-info-target-newlib: \
36284 configure-target-newlib \
36285 info-target-newlib
36286 @: $(MAKE); $(unstage)
36287 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36288 r=`${PWD_COMMAND}`; export r; \
36289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36290 $(NORMAL_TARGET_EXPORTS) \
36291 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36292 for flag in $(EXTRA_TARGET_FLAGS); do \
36293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36294 done; \
36295 (cd $(TARGET_SUBDIR)/newlib && \
36296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36298 "RANLIB=$${RANLIB}" \
36299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36300 install-info) \
36301 || exit 1
36303 @endif target-newlib
36305 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36306 maybe-install-pdf-target-newlib:
36307 @if target-newlib
36308 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36310 install-pdf-target-newlib: \
36311 configure-target-newlib \
36312 pdf-target-newlib
36313 @: $(MAKE); $(unstage)
36314 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36315 r=`${PWD_COMMAND}`; export r; \
36316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36317 $(NORMAL_TARGET_EXPORTS) \
36318 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36319 for flag in $(EXTRA_TARGET_FLAGS); do \
36320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36321 done; \
36322 (cd $(TARGET_SUBDIR)/newlib && \
36323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36325 "RANLIB=$${RANLIB}" \
36326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36327 install-pdf) \
36328 || exit 1
36330 @endif target-newlib
36332 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36333 maybe-install-html-target-newlib:
36334 @if target-newlib
36335 maybe-install-html-target-newlib: install-html-target-newlib
36337 install-html-target-newlib: \
36338 configure-target-newlib \
36339 html-target-newlib
36340 @: $(MAKE); $(unstage)
36341 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36342 r=`${PWD_COMMAND}`; export r; \
36343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36344 $(NORMAL_TARGET_EXPORTS) \
36345 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36346 for flag in $(EXTRA_TARGET_FLAGS); do \
36347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36348 done; \
36349 (cd $(TARGET_SUBDIR)/newlib && \
36350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36352 "RANLIB=$${RANLIB}" \
36353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36354 install-html) \
36355 || exit 1
36357 @endif target-newlib
36359 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36360 maybe-installcheck-target-newlib:
36361 @if target-newlib
36362 maybe-installcheck-target-newlib: installcheck-target-newlib
36364 installcheck-target-newlib: \
36365 configure-target-newlib
36366 @: $(MAKE); $(unstage)
36367 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36368 r=`${PWD_COMMAND}`; export r; \
36369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36370 $(NORMAL_TARGET_EXPORTS) \
36371 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36372 for flag in $(EXTRA_TARGET_FLAGS); do \
36373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36374 done; \
36375 (cd $(TARGET_SUBDIR)/newlib && \
36376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36378 "RANLIB=$${RANLIB}" \
36379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36380 installcheck) \
36381 || exit 1
36383 @endif target-newlib
36385 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36386 maybe-mostlyclean-target-newlib:
36387 @if target-newlib
36388 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36390 mostlyclean-target-newlib:
36391 @: $(MAKE); $(unstage)
36392 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36393 r=`${PWD_COMMAND}`; export r; \
36394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36395 $(NORMAL_TARGET_EXPORTS) \
36396 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36397 for flag in $(EXTRA_TARGET_FLAGS); do \
36398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36399 done; \
36400 (cd $(TARGET_SUBDIR)/newlib && \
36401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36403 "RANLIB=$${RANLIB}" \
36404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36405 mostlyclean) \
36406 || exit 1
36408 @endif target-newlib
36410 .PHONY: maybe-clean-target-newlib clean-target-newlib
36411 maybe-clean-target-newlib:
36412 @if target-newlib
36413 maybe-clean-target-newlib: clean-target-newlib
36415 clean-target-newlib:
36416 @: $(MAKE); $(unstage)
36417 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36418 r=`${PWD_COMMAND}`; export r; \
36419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36420 $(NORMAL_TARGET_EXPORTS) \
36421 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36422 for flag in $(EXTRA_TARGET_FLAGS); do \
36423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36424 done; \
36425 (cd $(TARGET_SUBDIR)/newlib && \
36426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36428 "RANLIB=$${RANLIB}" \
36429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36430 clean) \
36431 || exit 1
36433 @endif target-newlib
36435 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36436 maybe-distclean-target-newlib:
36437 @if target-newlib
36438 maybe-distclean-target-newlib: distclean-target-newlib
36440 distclean-target-newlib:
36441 @: $(MAKE); $(unstage)
36442 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36443 r=`${PWD_COMMAND}`; export r; \
36444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36445 $(NORMAL_TARGET_EXPORTS) \
36446 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36447 for flag in $(EXTRA_TARGET_FLAGS); do \
36448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36449 done; \
36450 (cd $(TARGET_SUBDIR)/newlib && \
36451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36453 "RANLIB=$${RANLIB}" \
36454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36455 distclean) \
36456 || exit 1
36458 @endif target-newlib
36460 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36461 maybe-maintainer-clean-target-newlib:
36462 @if target-newlib
36463 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36465 maintainer-clean-target-newlib:
36466 @: $(MAKE); $(unstage)
36467 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36468 r=`${PWD_COMMAND}`; export r; \
36469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36470 $(NORMAL_TARGET_EXPORTS) \
36471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36472 for flag in $(EXTRA_TARGET_FLAGS); do \
36473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36474 done; \
36475 (cd $(TARGET_SUBDIR)/newlib && \
36476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36478 "RANLIB=$${RANLIB}" \
36479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36480 maintainer-clean) \
36481 || exit 1
36483 @endif target-newlib
36489 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36490 maybe-configure-target-libgcc:
36491 @if gcc-bootstrap
36492 configure-target-libgcc: stage_current
36493 @endif gcc-bootstrap
36494 @if target-libgcc
36495 maybe-configure-target-libgcc: configure-target-libgcc
36496 configure-target-libgcc:
36497 @r=`${PWD_COMMAND}`; export r; \
36498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36499 echo "Checking multilib configuration for libgcc..."; \
36500 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36501 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36502 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36503 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36504 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36505 else \
36506 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36507 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36508 fi; \
36509 else \
36510 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36511 fi; \
36512 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36514 $(NORMAL_TARGET_EXPORTS) \
36515 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36516 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36517 case $(srcdir) in \
36518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36519 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36521 esac; \
36522 module_srcdir=libgcc; \
36523 rm -f no-such-file || : ; \
36524 CONFIG_SITE=no-such-file $(SHELL) \
36525 $$s/$$module_srcdir/configure \
36526 --srcdir=$${topdir}/$$module_srcdir \
36527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36528 --target=${target_alias} \
36529 || exit 1
36530 @endif target-libgcc
36534 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36535 maybe-configure-stage1-target-libgcc:
36536 @if target-libgcc-bootstrap
36537 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36538 configure-stage1-target-libgcc:
36539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36540 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36541 @r=`${PWD_COMMAND}`; export r; \
36542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36543 TFLAGS="$(STAGE1_TFLAGS)"; \
36544 echo "Checking multilib configuration for libgcc..."; \
36545 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36546 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36547 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36548 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36549 else \
36550 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36551 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36552 fi; \
36553 else \
36554 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36555 fi; \
36556 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36557 $(NORMAL_TARGET_EXPORTS) \
36558 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36559 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36560 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36561 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36563 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36564 case $(srcdir) in \
36565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36566 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36568 esac; \
36569 module_srcdir=libgcc; \
36570 $(SHELL) $$s/$$module_srcdir/configure \
36571 --srcdir=$${topdir}/$$module_srcdir \
36572 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36573 --target=${target_alias} \
36575 $(STAGE1_CONFIGURE_FLAGS)
36576 @endif target-libgcc-bootstrap
36578 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36579 maybe-configure-stage2-target-libgcc:
36580 @if target-libgcc-bootstrap
36581 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36582 configure-stage2-target-libgcc:
36583 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36584 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36585 @r=`${PWD_COMMAND}`; export r; \
36586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36587 TFLAGS="$(STAGE2_TFLAGS)"; \
36588 echo "Checking multilib configuration for libgcc..."; \
36589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36590 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36591 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36592 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36593 else \
36594 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36595 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36596 fi; \
36597 else \
36598 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36599 fi; \
36600 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36601 $(NORMAL_TARGET_EXPORTS) \
36603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36606 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36608 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36609 case $(srcdir) in \
36610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36611 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36613 esac; \
36614 module_srcdir=libgcc; \
36615 $(SHELL) $$s/$$module_srcdir/configure \
36616 --srcdir=$${topdir}/$$module_srcdir \
36617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36618 --target=${target_alias} \
36619 --with-build-libsubdir=$(HOST_SUBDIR) \
36620 $(STAGE2_CONFIGURE_FLAGS)
36621 @endif target-libgcc-bootstrap
36623 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36624 maybe-configure-stage3-target-libgcc:
36625 @if target-libgcc-bootstrap
36626 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36627 configure-stage3-target-libgcc:
36628 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36630 @r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 TFLAGS="$(STAGE3_TFLAGS)"; \
36633 echo "Checking multilib configuration for libgcc..."; \
36634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36635 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36636 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36637 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36638 else \
36639 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36640 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36641 fi; \
36642 else \
36643 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36644 fi; \
36645 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36646 $(NORMAL_TARGET_EXPORTS) \
36648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36651 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36653 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36654 case $(srcdir) in \
36655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36656 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36658 esac; \
36659 module_srcdir=libgcc; \
36660 $(SHELL) $$s/$$module_srcdir/configure \
36661 --srcdir=$${topdir}/$$module_srcdir \
36662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36663 --target=${target_alias} \
36664 --with-build-libsubdir=$(HOST_SUBDIR) \
36665 $(STAGE3_CONFIGURE_FLAGS)
36666 @endif target-libgcc-bootstrap
36668 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36669 maybe-configure-stage4-target-libgcc:
36670 @if target-libgcc-bootstrap
36671 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36672 configure-stage4-target-libgcc:
36673 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36674 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36675 @r=`${PWD_COMMAND}`; export r; \
36676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36677 TFLAGS="$(STAGE4_TFLAGS)"; \
36678 echo "Checking multilib configuration for libgcc..."; \
36679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36680 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36681 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36682 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36683 else \
36684 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36685 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36686 fi; \
36687 else \
36688 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36689 fi; \
36690 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36691 $(NORMAL_TARGET_EXPORTS) \
36693 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36694 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36695 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36696 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36698 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36699 case $(srcdir) in \
36700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36701 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36703 esac; \
36704 module_srcdir=libgcc; \
36705 $(SHELL) $$s/$$module_srcdir/configure \
36706 --srcdir=$${topdir}/$$module_srcdir \
36707 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36708 --target=${target_alias} \
36709 --with-build-libsubdir=$(HOST_SUBDIR) \
36710 $(STAGE4_CONFIGURE_FLAGS)
36711 @endif target-libgcc-bootstrap
36713 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36714 maybe-configure-stageprofile-target-libgcc:
36715 @if target-libgcc-bootstrap
36716 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36717 configure-stageprofile-target-libgcc:
36718 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36719 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36720 @r=`${PWD_COMMAND}`; export r; \
36721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36722 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36723 echo "Checking multilib configuration for libgcc..."; \
36724 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36725 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36726 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36727 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36728 else \
36729 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36730 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36731 fi; \
36732 else \
36733 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36734 fi; \
36735 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36736 $(NORMAL_TARGET_EXPORTS) \
36738 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36741 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36742 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36743 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36744 case $(srcdir) in \
36745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36746 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36748 esac; \
36749 module_srcdir=libgcc; \
36750 $(SHELL) $$s/$$module_srcdir/configure \
36751 --srcdir=$${topdir}/$$module_srcdir \
36752 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36753 --target=${target_alias} \
36754 --with-build-libsubdir=$(HOST_SUBDIR) \
36755 $(STAGEprofile_CONFIGURE_FLAGS)
36756 @endif target-libgcc-bootstrap
36758 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36759 maybe-configure-stagefeedback-target-libgcc:
36760 @if target-libgcc-bootstrap
36761 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36762 configure-stagefeedback-target-libgcc:
36763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36764 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36765 @r=`${PWD_COMMAND}`; export r; \
36766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36768 echo "Checking multilib configuration for libgcc..."; \
36769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36770 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36771 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36772 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36773 else \
36774 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36775 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36776 fi; \
36777 else \
36778 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36779 fi; \
36780 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36781 $(NORMAL_TARGET_EXPORTS) \
36783 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36784 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36785 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36786 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36788 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36789 case $(srcdir) in \
36790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36791 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36793 esac; \
36794 module_srcdir=libgcc; \
36795 $(SHELL) $$s/$$module_srcdir/configure \
36796 --srcdir=$${topdir}/$$module_srcdir \
36797 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36798 --target=${target_alias} \
36799 --with-build-libsubdir=$(HOST_SUBDIR) \
36800 $(STAGEfeedback_CONFIGURE_FLAGS)
36801 @endif target-libgcc-bootstrap
36807 .PHONY: all-target-libgcc maybe-all-target-libgcc
36808 maybe-all-target-libgcc:
36809 @if gcc-bootstrap
36810 all-target-libgcc: stage_current
36811 @endif gcc-bootstrap
36812 @if target-libgcc
36813 TARGET-target-libgcc=all
36814 maybe-all-target-libgcc: all-target-libgcc
36815 all-target-libgcc: configure-target-libgcc
36816 @r=`${PWD_COMMAND}`; export r; \
36817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36818 $(NORMAL_TARGET_EXPORTS) \
36819 (cd $(TARGET_SUBDIR)/libgcc && \
36820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36821 $(TARGET-target-libgcc))
36822 @endif target-libgcc
36826 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36827 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36828 maybe-all-stage1-target-libgcc:
36829 maybe-clean-stage1-target-libgcc:
36830 @if target-libgcc-bootstrap
36831 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36832 all-stage1: all-stage1-target-libgcc
36833 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36834 all-stage1-target-libgcc: configure-stage1-target-libgcc
36835 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36836 @r=`${PWD_COMMAND}`; export r; \
36837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36838 TFLAGS="$(STAGE1_TFLAGS)"; \
36839 $(NORMAL_TARGET_EXPORTS) \
36840 cd $(TARGET_SUBDIR)/libgcc && \
36841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36842 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36843 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36844 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36848 $(EXTRA_TARGET_FLAGS) \
36850 TFLAGS="$(STAGE1_TFLAGS)" \
36851 $(TARGET-stage1-target-libgcc)
36853 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36854 clean-stage1: clean-stage1-target-libgcc
36855 clean-stage1-target-libgcc:
36856 @if [ $(current_stage) = stage1 ]; then \
36857 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36858 else \
36859 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36860 $(MAKE) stage1-start; \
36861 fi; \
36862 cd $(TARGET_SUBDIR)/libgcc && \
36863 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36864 clean
36865 @endif target-libgcc-bootstrap
36868 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36869 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36870 maybe-all-stage2-target-libgcc:
36871 maybe-clean-stage2-target-libgcc:
36872 @if target-libgcc-bootstrap
36873 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36874 all-stage2: all-stage2-target-libgcc
36875 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36876 all-stage2-target-libgcc: configure-stage2-target-libgcc
36877 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36878 @r=`${PWD_COMMAND}`; export r; \
36879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36880 TFLAGS="$(STAGE2_TFLAGS)"; \
36881 $(NORMAL_TARGET_EXPORTS) \
36883 cd $(TARGET_SUBDIR)/libgcc && \
36884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36885 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36886 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36887 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36891 $(EXTRA_TARGET_FLAGS) \
36892 TFLAGS="$(STAGE2_TFLAGS)" \
36893 $(TARGET-stage2-target-libgcc)
36895 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
36896 clean-stage2: clean-stage2-target-libgcc
36897 clean-stage2-target-libgcc:
36898 @if [ $(current_stage) = stage2 ]; then \
36899 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36900 else \
36901 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
36902 $(MAKE) stage2-start; \
36903 fi; \
36904 cd $(TARGET_SUBDIR)/libgcc && \
36905 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36906 @endif target-libgcc-bootstrap
36909 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
36910 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
36911 maybe-all-stage3-target-libgcc:
36912 maybe-clean-stage3-target-libgcc:
36913 @if target-libgcc-bootstrap
36914 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
36915 all-stage3: all-stage3-target-libgcc
36916 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
36917 all-stage3-target-libgcc: configure-stage3-target-libgcc
36918 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36919 @r=`${PWD_COMMAND}`; export r; \
36920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36921 TFLAGS="$(STAGE3_TFLAGS)"; \
36922 $(NORMAL_TARGET_EXPORTS) \
36924 cd $(TARGET_SUBDIR)/libgcc && \
36925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36926 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36927 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36928 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36932 $(EXTRA_TARGET_FLAGS) \
36933 TFLAGS="$(STAGE3_TFLAGS)" \
36934 $(TARGET-stage3-target-libgcc)
36936 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
36937 clean-stage3: clean-stage3-target-libgcc
36938 clean-stage3-target-libgcc:
36939 @if [ $(current_stage) = stage3 ]; then \
36940 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36941 else \
36942 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
36943 $(MAKE) stage3-start; \
36944 fi; \
36945 cd $(TARGET_SUBDIR)/libgcc && \
36946 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36947 @endif target-libgcc-bootstrap
36950 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
36951 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
36952 maybe-all-stage4-target-libgcc:
36953 maybe-clean-stage4-target-libgcc:
36954 @if target-libgcc-bootstrap
36955 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
36956 all-stage4: all-stage4-target-libgcc
36957 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
36958 all-stage4-target-libgcc: configure-stage4-target-libgcc
36959 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 TFLAGS="$(STAGE4_TFLAGS)"; \
36963 $(NORMAL_TARGET_EXPORTS) \
36965 cd $(TARGET_SUBDIR)/libgcc && \
36966 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36967 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36968 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36969 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36973 $(EXTRA_TARGET_FLAGS) \
36974 TFLAGS="$(STAGE4_TFLAGS)" \
36975 $(TARGET-stage4-target-libgcc)
36977 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
36978 clean-stage4: clean-stage4-target-libgcc
36979 clean-stage4-target-libgcc:
36980 @if [ $(current_stage) = stage4 ]; then \
36981 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36982 else \
36983 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
36984 $(MAKE) stage4-start; \
36985 fi; \
36986 cd $(TARGET_SUBDIR)/libgcc && \
36987 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36988 @endif target-libgcc-bootstrap
36991 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
36992 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
36993 maybe-all-stageprofile-target-libgcc:
36994 maybe-clean-stageprofile-target-libgcc:
36995 @if target-libgcc-bootstrap
36996 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
36997 all-stageprofile: all-stageprofile-target-libgcc
36998 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
36999 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37000 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37001 @r=`${PWD_COMMAND}`; export r; \
37002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37003 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37004 $(NORMAL_TARGET_EXPORTS) \
37006 cd $(TARGET_SUBDIR)/libgcc && \
37007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37008 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37014 $(EXTRA_TARGET_FLAGS) \
37015 TFLAGS="$(STAGEprofile_TFLAGS)" \
37016 $(TARGET-stageprofile-target-libgcc)
37018 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37019 clean-stageprofile: clean-stageprofile-target-libgcc
37020 clean-stageprofile-target-libgcc:
37021 @if [ $(current_stage) = stageprofile ]; then \
37022 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37023 else \
37024 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37025 $(MAKE) stageprofile-start; \
37026 fi; \
37027 cd $(TARGET_SUBDIR)/libgcc && \
37028 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37029 @endif target-libgcc-bootstrap
37032 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37033 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37034 maybe-all-stagefeedback-target-libgcc:
37035 maybe-clean-stagefeedback-target-libgcc:
37036 @if target-libgcc-bootstrap
37037 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37038 all-stagefeedback: all-stagefeedback-target-libgcc
37039 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37040 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37041 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37042 @r=`${PWD_COMMAND}`; export r; \
37043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37045 $(NORMAL_TARGET_EXPORTS) \
37047 cd $(TARGET_SUBDIR)/libgcc && \
37048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37049 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37050 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37051 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37055 $(EXTRA_TARGET_FLAGS) \
37056 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37057 $(TARGET-stagefeedback-target-libgcc)
37059 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37060 clean-stagefeedback: clean-stagefeedback-target-libgcc
37061 clean-stagefeedback-target-libgcc:
37062 @if [ $(current_stage) = stagefeedback ]; then \
37063 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37064 else \
37065 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37066 $(MAKE) stagefeedback-start; \
37067 fi; \
37068 cd $(TARGET_SUBDIR)/libgcc && \
37069 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37070 @endif target-libgcc-bootstrap
37077 .PHONY: check-target-libgcc maybe-check-target-libgcc
37078 maybe-check-target-libgcc:
37079 @if target-libgcc
37080 maybe-check-target-libgcc: check-target-libgcc
37082 # Dummy target for uncheckable module.
37083 check-target-libgcc:
37085 @endif target-libgcc
37087 .PHONY: install-target-libgcc maybe-install-target-libgcc
37088 maybe-install-target-libgcc:
37089 @if target-libgcc
37090 maybe-install-target-libgcc: install-target-libgcc
37092 install-target-libgcc: installdirs
37093 @: $(MAKE); $(unstage)
37094 @r=`${PWD_COMMAND}`; export r; \
37095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37096 $(NORMAL_TARGET_EXPORTS) \
37097 (cd $(TARGET_SUBDIR)/libgcc && \
37098 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37100 @endif target-libgcc
37102 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37103 maybe-install-strip-target-libgcc:
37104 @if target-libgcc
37105 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37107 install-strip-target-libgcc: installdirs
37108 @: $(MAKE); $(unstage)
37109 @r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(NORMAL_TARGET_EXPORTS) \
37112 (cd $(TARGET_SUBDIR)/libgcc && \
37113 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37115 @endif target-libgcc
37117 # Other targets (info, dvi, pdf, etc.)
37119 .PHONY: maybe-info-target-libgcc info-target-libgcc
37120 maybe-info-target-libgcc:
37121 @if target-libgcc
37122 maybe-info-target-libgcc: info-target-libgcc
37124 info-target-libgcc: \
37125 configure-target-libgcc
37126 @: $(MAKE); $(unstage)
37127 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37128 r=`${PWD_COMMAND}`; export r; \
37129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37130 $(NORMAL_TARGET_EXPORTS) \
37131 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37132 for flag in $(EXTRA_TARGET_FLAGS); do \
37133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37134 done; \
37135 (cd $(TARGET_SUBDIR)/libgcc && \
37136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37138 "RANLIB=$${RANLIB}" \
37139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37140 info) \
37141 || exit 1
37143 @endif target-libgcc
37145 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37146 maybe-dvi-target-libgcc:
37147 @if target-libgcc
37148 maybe-dvi-target-libgcc: dvi-target-libgcc
37150 dvi-target-libgcc: \
37151 configure-target-libgcc
37152 @: $(MAKE); $(unstage)
37153 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37154 r=`${PWD_COMMAND}`; export r; \
37155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37156 $(NORMAL_TARGET_EXPORTS) \
37157 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37158 for flag in $(EXTRA_TARGET_FLAGS); do \
37159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37160 done; \
37161 (cd $(TARGET_SUBDIR)/libgcc && \
37162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37164 "RANLIB=$${RANLIB}" \
37165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37166 dvi) \
37167 || exit 1
37169 @endif target-libgcc
37171 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37172 maybe-pdf-target-libgcc:
37173 @if target-libgcc
37174 maybe-pdf-target-libgcc: pdf-target-libgcc
37176 pdf-target-libgcc: \
37177 configure-target-libgcc
37178 @: $(MAKE); $(unstage)
37179 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37180 r=`${PWD_COMMAND}`; export r; \
37181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37182 $(NORMAL_TARGET_EXPORTS) \
37183 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37184 for flag in $(EXTRA_TARGET_FLAGS); do \
37185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37186 done; \
37187 (cd $(TARGET_SUBDIR)/libgcc && \
37188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37190 "RANLIB=$${RANLIB}" \
37191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37192 pdf) \
37193 || exit 1
37195 @endif target-libgcc
37197 .PHONY: maybe-html-target-libgcc html-target-libgcc
37198 maybe-html-target-libgcc:
37199 @if target-libgcc
37200 maybe-html-target-libgcc: html-target-libgcc
37202 html-target-libgcc: \
37203 configure-target-libgcc
37204 @: $(MAKE); $(unstage)
37205 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37206 r=`${PWD_COMMAND}`; export r; \
37207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37208 $(NORMAL_TARGET_EXPORTS) \
37209 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37210 for flag in $(EXTRA_TARGET_FLAGS); do \
37211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37212 done; \
37213 (cd $(TARGET_SUBDIR)/libgcc && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37216 "RANLIB=$${RANLIB}" \
37217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37218 html) \
37219 || exit 1
37221 @endif target-libgcc
37223 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37224 maybe-TAGS-target-libgcc:
37225 @if target-libgcc
37226 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37228 TAGS-target-libgcc: \
37229 configure-target-libgcc
37230 @: $(MAKE); $(unstage)
37231 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37232 r=`${PWD_COMMAND}`; export r; \
37233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37234 $(NORMAL_TARGET_EXPORTS) \
37235 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37236 for flag in $(EXTRA_TARGET_FLAGS); do \
37237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37238 done; \
37239 (cd $(TARGET_SUBDIR)/libgcc && \
37240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37242 "RANLIB=$${RANLIB}" \
37243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37244 TAGS) \
37245 || exit 1
37247 @endif target-libgcc
37249 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37250 maybe-install-info-target-libgcc:
37251 @if target-libgcc
37252 maybe-install-info-target-libgcc: install-info-target-libgcc
37254 install-info-target-libgcc: \
37255 configure-target-libgcc \
37256 info-target-libgcc
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(NORMAL_TARGET_EXPORTS) \
37262 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37263 for flag in $(EXTRA_TARGET_FLAGS); do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 (cd $(TARGET_SUBDIR)/libgcc && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37269 "RANLIB=$${RANLIB}" \
37270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37271 install-info) \
37272 || exit 1
37274 @endif target-libgcc
37276 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37277 maybe-install-pdf-target-libgcc:
37278 @if target-libgcc
37279 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37281 install-pdf-target-libgcc: \
37282 configure-target-libgcc \
37283 pdf-target-libgcc
37284 @: $(MAKE); $(unstage)
37285 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37286 r=`${PWD_COMMAND}`; export r; \
37287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37288 $(NORMAL_TARGET_EXPORTS) \
37289 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37290 for flag in $(EXTRA_TARGET_FLAGS); do \
37291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37292 done; \
37293 (cd $(TARGET_SUBDIR)/libgcc && \
37294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37296 "RANLIB=$${RANLIB}" \
37297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37298 install-pdf) \
37299 || exit 1
37301 @endif target-libgcc
37303 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37304 maybe-install-html-target-libgcc:
37305 @if target-libgcc
37306 maybe-install-html-target-libgcc: install-html-target-libgcc
37308 install-html-target-libgcc: \
37309 configure-target-libgcc \
37310 html-target-libgcc
37311 @: $(MAKE); $(unstage)
37312 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37313 r=`${PWD_COMMAND}`; export r; \
37314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37315 $(NORMAL_TARGET_EXPORTS) \
37316 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37317 for flag in $(EXTRA_TARGET_FLAGS); do \
37318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37319 done; \
37320 (cd $(TARGET_SUBDIR)/libgcc && \
37321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37323 "RANLIB=$${RANLIB}" \
37324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37325 install-html) \
37326 || exit 1
37328 @endif target-libgcc
37330 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37331 maybe-installcheck-target-libgcc:
37332 @if target-libgcc
37333 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37335 installcheck-target-libgcc: \
37336 configure-target-libgcc
37337 @: $(MAKE); $(unstage)
37338 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37339 r=`${PWD_COMMAND}`; export r; \
37340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37341 $(NORMAL_TARGET_EXPORTS) \
37342 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37343 for flag in $(EXTRA_TARGET_FLAGS); do \
37344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37345 done; \
37346 (cd $(TARGET_SUBDIR)/libgcc && \
37347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37349 "RANLIB=$${RANLIB}" \
37350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37351 installcheck) \
37352 || exit 1
37354 @endif target-libgcc
37356 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37357 maybe-mostlyclean-target-libgcc:
37358 @if target-libgcc
37359 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37361 mostlyclean-target-libgcc:
37362 @: $(MAKE); $(unstage)
37363 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37364 r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 $(NORMAL_TARGET_EXPORTS) \
37367 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37368 for flag in $(EXTRA_TARGET_FLAGS); do \
37369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37370 done; \
37371 (cd $(TARGET_SUBDIR)/libgcc && \
37372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37374 "RANLIB=$${RANLIB}" \
37375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37376 mostlyclean) \
37377 || exit 1
37379 @endif target-libgcc
37381 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37382 maybe-clean-target-libgcc:
37383 @if target-libgcc
37384 maybe-clean-target-libgcc: clean-target-libgcc
37386 clean-target-libgcc:
37387 @: $(MAKE); $(unstage)
37388 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37389 r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(NORMAL_TARGET_EXPORTS) \
37392 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37393 for flag in $(EXTRA_TARGET_FLAGS); do \
37394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37395 done; \
37396 (cd $(TARGET_SUBDIR)/libgcc && \
37397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37399 "RANLIB=$${RANLIB}" \
37400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37401 clean) \
37402 || exit 1
37404 @endif target-libgcc
37406 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37407 maybe-distclean-target-libgcc:
37408 @if target-libgcc
37409 maybe-distclean-target-libgcc: distclean-target-libgcc
37411 distclean-target-libgcc:
37412 @: $(MAKE); $(unstage)
37413 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37414 r=`${PWD_COMMAND}`; export r; \
37415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37416 $(NORMAL_TARGET_EXPORTS) \
37417 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37418 for flag in $(EXTRA_TARGET_FLAGS); do \
37419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37420 done; \
37421 (cd $(TARGET_SUBDIR)/libgcc && \
37422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37424 "RANLIB=$${RANLIB}" \
37425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37426 distclean) \
37427 || exit 1
37429 @endif target-libgcc
37431 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37432 maybe-maintainer-clean-target-libgcc:
37433 @if target-libgcc
37434 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37436 maintainer-clean-target-libgcc:
37437 @: $(MAKE); $(unstage)
37438 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37439 r=`${PWD_COMMAND}`; export r; \
37440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37441 $(NORMAL_TARGET_EXPORTS) \
37442 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37443 for flag in $(EXTRA_TARGET_FLAGS); do \
37444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37445 done; \
37446 (cd $(TARGET_SUBDIR)/libgcc && \
37447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37449 "RANLIB=$${RANLIB}" \
37450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37451 maintainer-clean) \
37452 || exit 1
37454 @endif target-libgcc
37460 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37461 maybe-configure-target-libbacktrace:
37462 @if gcc-bootstrap
37463 configure-target-libbacktrace: stage_current
37464 @endif gcc-bootstrap
37465 @if target-libbacktrace
37466 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37467 configure-target-libbacktrace:
37468 @: $(MAKE); $(unstage)
37469 @r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 echo "Checking multilib configuration for libbacktrace..."; \
37472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37473 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37474 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37475 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37476 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37477 else \
37478 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37479 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37480 fi; \
37481 else \
37482 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37483 fi; \
37484 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37485 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37486 $(NORMAL_TARGET_EXPORTS) \
37487 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37488 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37489 case $(srcdir) in \
37490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37491 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37493 esac; \
37494 module_srcdir=libbacktrace; \
37495 rm -f no-such-file || : ; \
37496 CONFIG_SITE=no-such-file $(SHELL) \
37497 $$s/$$module_srcdir/configure \
37498 --srcdir=$${topdir}/$$module_srcdir \
37499 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37500 --target=${target_alias} \
37501 || exit 1
37502 @endif target-libbacktrace
37508 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37509 maybe-all-target-libbacktrace:
37510 @if gcc-bootstrap
37511 all-target-libbacktrace: stage_current
37512 @endif gcc-bootstrap
37513 @if target-libbacktrace
37514 TARGET-target-libbacktrace=all
37515 maybe-all-target-libbacktrace: all-target-libbacktrace
37516 all-target-libbacktrace: configure-target-libbacktrace
37517 @: $(MAKE); $(unstage)
37518 @r=`${PWD_COMMAND}`; export r; \
37519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37520 $(NORMAL_TARGET_EXPORTS) \
37521 (cd $(TARGET_SUBDIR)/libbacktrace && \
37522 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37523 $(TARGET-target-libbacktrace))
37524 @endif target-libbacktrace
37530 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37531 maybe-check-target-libbacktrace:
37532 @if target-libbacktrace
37533 maybe-check-target-libbacktrace: check-target-libbacktrace
37535 check-target-libbacktrace:
37536 @: $(MAKE); $(unstage)
37537 @r=`${PWD_COMMAND}`; export r; \
37538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37539 $(NORMAL_TARGET_EXPORTS) \
37540 (cd $(TARGET_SUBDIR)/libbacktrace && \
37541 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37543 @endif target-libbacktrace
37545 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37546 maybe-install-target-libbacktrace:
37547 @if target-libbacktrace
37548 maybe-install-target-libbacktrace: install-target-libbacktrace
37550 install-target-libbacktrace: installdirs
37551 @: $(MAKE); $(unstage)
37552 @r=`${PWD_COMMAND}`; export r; \
37553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37554 $(NORMAL_TARGET_EXPORTS) \
37555 (cd $(TARGET_SUBDIR)/libbacktrace && \
37556 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37558 @endif target-libbacktrace
37560 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37561 maybe-install-strip-target-libbacktrace:
37562 @if target-libbacktrace
37563 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37565 install-strip-target-libbacktrace: installdirs
37566 @: $(MAKE); $(unstage)
37567 @r=`${PWD_COMMAND}`; export r; \
37568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37569 $(NORMAL_TARGET_EXPORTS) \
37570 (cd $(TARGET_SUBDIR)/libbacktrace && \
37571 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37573 @endif target-libbacktrace
37575 # Other targets (info, dvi, pdf, etc.)
37577 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37578 maybe-info-target-libbacktrace:
37579 @if target-libbacktrace
37580 maybe-info-target-libbacktrace: info-target-libbacktrace
37582 info-target-libbacktrace: \
37583 configure-target-libbacktrace
37584 @: $(MAKE); $(unstage)
37585 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37586 r=`${PWD_COMMAND}`; export r; \
37587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37588 $(NORMAL_TARGET_EXPORTS) \
37589 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37590 for flag in $(EXTRA_TARGET_FLAGS); do \
37591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37592 done; \
37593 (cd $(TARGET_SUBDIR)/libbacktrace && \
37594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37596 "RANLIB=$${RANLIB}" \
37597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37598 info) \
37599 || exit 1
37601 @endif target-libbacktrace
37603 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37604 maybe-dvi-target-libbacktrace:
37605 @if target-libbacktrace
37606 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37608 dvi-target-libbacktrace: \
37609 configure-target-libbacktrace
37610 @: $(MAKE); $(unstage)
37611 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37612 r=`${PWD_COMMAND}`; export r; \
37613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37614 $(NORMAL_TARGET_EXPORTS) \
37615 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37616 for flag in $(EXTRA_TARGET_FLAGS); do \
37617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37618 done; \
37619 (cd $(TARGET_SUBDIR)/libbacktrace && \
37620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37622 "RANLIB=$${RANLIB}" \
37623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37624 dvi) \
37625 || exit 1
37627 @endif target-libbacktrace
37629 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37630 maybe-pdf-target-libbacktrace:
37631 @if target-libbacktrace
37632 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37634 pdf-target-libbacktrace: \
37635 configure-target-libbacktrace
37636 @: $(MAKE); $(unstage)
37637 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37638 r=`${PWD_COMMAND}`; export r; \
37639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37640 $(NORMAL_TARGET_EXPORTS) \
37641 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37642 for flag in $(EXTRA_TARGET_FLAGS); do \
37643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37644 done; \
37645 (cd $(TARGET_SUBDIR)/libbacktrace && \
37646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37648 "RANLIB=$${RANLIB}" \
37649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37650 pdf) \
37651 || exit 1
37653 @endif target-libbacktrace
37655 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37656 maybe-html-target-libbacktrace:
37657 @if target-libbacktrace
37658 maybe-html-target-libbacktrace: html-target-libbacktrace
37660 html-target-libbacktrace: \
37661 configure-target-libbacktrace
37662 @: $(MAKE); $(unstage)
37663 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37664 r=`${PWD_COMMAND}`; export r; \
37665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37666 $(NORMAL_TARGET_EXPORTS) \
37667 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37668 for flag in $(EXTRA_TARGET_FLAGS); do \
37669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37670 done; \
37671 (cd $(TARGET_SUBDIR)/libbacktrace && \
37672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37674 "RANLIB=$${RANLIB}" \
37675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37676 html) \
37677 || exit 1
37679 @endif target-libbacktrace
37681 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37682 maybe-TAGS-target-libbacktrace:
37683 @if target-libbacktrace
37684 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37686 TAGS-target-libbacktrace: \
37687 configure-target-libbacktrace
37688 @: $(MAKE); $(unstage)
37689 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37690 r=`${PWD_COMMAND}`; export r; \
37691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37692 $(NORMAL_TARGET_EXPORTS) \
37693 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37694 for flag in $(EXTRA_TARGET_FLAGS); do \
37695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37696 done; \
37697 (cd $(TARGET_SUBDIR)/libbacktrace && \
37698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37700 "RANLIB=$${RANLIB}" \
37701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37702 TAGS) \
37703 || exit 1
37705 @endif target-libbacktrace
37707 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37708 maybe-install-info-target-libbacktrace:
37709 @if target-libbacktrace
37710 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37712 install-info-target-libbacktrace: \
37713 configure-target-libbacktrace \
37714 info-target-libbacktrace
37715 @: $(MAKE); $(unstage)
37716 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37717 r=`${PWD_COMMAND}`; export r; \
37718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37719 $(NORMAL_TARGET_EXPORTS) \
37720 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37721 for flag in $(EXTRA_TARGET_FLAGS); do \
37722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37723 done; \
37724 (cd $(TARGET_SUBDIR)/libbacktrace && \
37725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37727 "RANLIB=$${RANLIB}" \
37728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37729 install-info) \
37730 || exit 1
37732 @endif target-libbacktrace
37734 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37735 maybe-install-pdf-target-libbacktrace:
37736 @if target-libbacktrace
37737 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37739 install-pdf-target-libbacktrace: \
37740 configure-target-libbacktrace \
37741 pdf-target-libbacktrace
37742 @: $(MAKE); $(unstage)
37743 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37744 r=`${PWD_COMMAND}`; export r; \
37745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37746 $(NORMAL_TARGET_EXPORTS) \
37747 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37748 for flag in $(EXTRA_TARGET_FLAGS); do \
37749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37750 done; \
37751 (cd $(TARGET_SUBDIR)/libbacktrace && \
37752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37754 "RANLIB=$${RANLIB}" \
37755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37756 install-pdf) \
37757 || exit 1
37759 @endif target-libbacktrace
37761 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37762 maybe-install-html-target-libbacktrace:
37763 @if target-libbacktrace
37764 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37766 install-html-target-libbacktrace: \
37767 configure-target-libbacktrace \
37768 html-target-libbacktrace
37769 @: $(MAKE); $(unstage)
37770 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37771 r=`${PWD_COMMAND}`; export r; \
37772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37773 $(NORMAL_TARGET_EXPORTS) \
37774 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37775 for flag in $(EXTRA_TARGET_FLAGS); do \
37776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37777 done; \
37778 (cd $(TARGET_SUBDIR)/libbacktrace && \
37779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37781 "RANLIB=$${RANLIB}" \
37782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37783 install-html) \
37784 || exit 1
37786 @endif target-libbacktrace
37788 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37789 maybe-installcheck-target-libbacktrace:
37790 @if target-libbacktrace
37791 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37793 installcheck-target-libbacktrace: \
37794 configure-target-libbacktrace
37795 @: $(MAKE); $(unstage)
37796 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37797 r=`${PWD_COMMAND}`; export r; \
37798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37799 $(NORMAL_TARGET_EXPORTS) \
37800 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37801 for flag in $(EXTRA_TARGET_FLAGS); do \
37802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37803 done; \
37804 (cd $(TARGET_SUBDIR)/libbacktrace && \
37805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37807 "RANLIB=$${RANLIB}" \
37808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37809 installcheck) \
37810 || exit 1
37812 @endif target-libbacktrace
37814 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37815 maybe-mostlyclean-target-libbacktrace:
37816 @if target-libbacktrace
37817 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37819 mostlyclean-target-libbacktrace:
37820 @: $(MAKE); $(unstage)
37821 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37822 r=`${PWD_COMMAND}`; export r; \
37823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37824 $(NORMAL_TARGET_EXPORTS) \
37825 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37826 for flag in $(EXTRA_TARGET_FLAGS); do \
37827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37828 done; \
37829 (cd $(TARGET_SUBDIR)/libbacktrace && \
37830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37832 "RANLIB=$${RANLIB}" \
37833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37834 mostlyclean) \
37835 || exit 1
37837 @endif target-libbacktrace
37839 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37840 maybe-clean-target-libbacktrace:
37841 @if target-libbacktrace
37842 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37844 clean-target-libbacktrace:
37845 @: $(MAKE); $(unstage)
37846 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37847 r=`${PWD_COMMAND}`; export r; \
37848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37849 $(NORMAL_TARGET_EXPORTS) \
37850 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37851 for flag in $(EXTRA_TARGET_FLAGS); do \
37852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37853 done; \
37854 (cd $(TARGET_SUBDIR)/libbacktrace && \
37855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37857 "RANLIB=$${RANLIB}" \
37858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37859 clean) \
37860 || exit 1
37862 @endif target-libbacktrace
37864 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37865 maybe-distclean-target-libbacktrace:
37866 @if target-libbacktrace
37867 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37869 distclean-target-libbacktrace:
37870 @: $(MAKE); $(unstage)
37871 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37872 r=`${PWD_COMMAND}`; export r; \
37873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37874 $(NORMAL_TARGET_EXPORTS) \
37875 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37876 for flag in $(EXTRA_TARGET_FLAGS); do \
37877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37878 done; \
37879 (cd $(TARGET_SUBDIR)/libbacktrace && \
37880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37882 "RANLIB=$${RANLIB}" \
37883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37884 distclean) \
37885 || exit 1
37887 @endif target-libbacktrace
37889 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
37890 maybe-maintainer-clean-target-libbacktrace:
37891 @if target-libbacktrace
37892 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
37894 maintainer-clean-target-libbacktrace:
37895 @: $(MAKE); $(unstage)
37896 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37897 r=`${PWD_COMMAND}`; export r; \
37898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37899 $(NORMAL_TARGET_EXPORTS) \
37900 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37901 for flag in $(EXTRA_TARGET_FLAGS); do \
37902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37903 done; \
37904 (cd $(TARGET_SUBDIR)/libbacktrace && \
37905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37907 "RANLIB=$${RANLIB}" \
37908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37909 maintainer-clean) \
37910 || exit 1
37912 @endif target-libbacktrace
37918 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
37919 maybe-configure-target-libquadmath:
37920 @if gcc-bootstrap
37921 configure-target-libquadmath: stage_current
37922 @endif gcc-bootstrap
37923 @if target-libquadmath
37924 maybe-configure-target-libquadmath: configure-target-libquadmath
37925 configure-target-libquadmath:
37926 @: $(MAKE); $(unstage)
37927 @r=`${PWD_COMMAND}`; export r; \
37928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37929 echo "Checking multilib configuration for libquadmath..."; \
37930 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37931 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
37932 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37933 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37934 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
37935 else \
37936 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
37937 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37938 fi; \
37939 else \
37940 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37941 fi; \
37942 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
37943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37944 $(NORMAL_TARGET_EXPORTS) \
37945 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
37946 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
37947 case $(srcdir) in \
37948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37949 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
37950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37951 esac; \
37952 module_srcdir=libquadmath; \
37953 rm -f no-such-file || : ; \
37954 CONFIG_SITE=no-such-file $(SHELL) \
37955 $$s/$$module_srcdir/configure \
37956 --srcdir=$${topdir}/$$module_srcdir \
37957 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37958 --target=${target_alias} \
37959 || exit 1
37960 @endif target-libquadmath
37966 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
37967 maybe-all-target-libquadmath:
37968 @if gcc-bootstrap
37969 all-target-libquadmath: stage_current
37970 @endif gcc-bootstrap
37971 @if target-libquadmath
37972 TARGET-target-libquadmath=all
37973 maybe-all-target-libquadmath: all-target-libquadmath
37974 all-target-libquadmath: configure-target-libquadmath
37975 @: $(MAKE); $(unstage)
37976 @r=`${PWD_COMMAND}`; export r; \
37977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37978 $(NORMAL_TARGET_EXPORTS) \
37979 (cd $(TARGET_SUBDIR)/libquadmath && \
37980 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37981 $(TARGET-target-libquadmath))
37982 @endif target-libquadmath
37988 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
37989 maybe-check-target-libquadmath:
37990 @if target-libquadmath
37991 maybe-check-target-libquadmath: check-target-libquadmath
37993 check-target-libquadmath:
37994 @: $(MAKE); $(unstage)
37995 @r=`${PWD_COMMAND}`; export r; \
37996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37997 $(NORMAL_TARGET_EXPORTS) \
37998 (cd $(TARGET_SUBDIR)/libquadmath && \
37999 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38001 @endif target-libquadmath
38003 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38004 maybe-install-target-libquadmath:
38005 @if target-libquadmath
38006 maybe-install-target-libquadmath: install-target-libquadmath
38008 install-target-libquadmath: installdirs
38009 @: $(MAKE); $(unstage)
38010 @r=`${PWD_COMMAND}`; export r; \
38011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38012 $(NORMAL_TARGET_EXPORTS) \
38013 (cd $(TARGET_SUBDIR)/libquadmath && \
38014 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38016 @endif target-libquadmath
38018 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38019 maybe-install-strip-target-libquadmath:
38020 @if target-libquadmath
38021 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38023 install-strip-target-libquadmath: installdirs
38024 @: $(MAKE); $(unstage)
38025 @r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 (cd $(TARGET_SUBDIR)/libquadmath && \
38029 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38031 @endif target-libquadmath
38033 # Other targets (info, dvi, pdf, etc.)
38035 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38036 maybe-info-target-libquadmath:
38037 @if target-libquadmath
38038 maybe-info-target-libquadmath: info-target-libquadmath
38040 info-target-libquadmath: \
38041 configure-target-libquadmath
38042 @: $(MAKE); $(unstage)
38043 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38044 r=`${PWD_COMMAND}`; export r; \
38045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38046 $(NORMAL_TARGET_EXPORTS) \
38047 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38048 for flag in $(EXTRA_TARGET_FLAGS); do \
38049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38050 done; \
38051 (cd $(TARGET_SUBDIR)/libquadmath && \
38052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38054 "RANLIB=$${RANLIB}" \
38055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38056 info) \
38057 || exit 1
38059 @endif target-libquadmath
38061 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38062 maybe-dvi-target-libquadmath:
38063 @if target-libquadmath
38064 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38066 dvi-target-libquadmath: \
38067 configure-target-libquadmath
38068 @: $(MAKE); $(unstage)
38069 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38070 r=`${PWD_COMMAND}`; export r; \
38071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38072 $(NORMAL_TARGET_EXPORTS) \
38073 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38074 for flag in $(EXTRA_TARGET_FLAGS); do \
38075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38076 done; \
38077 (cd $(TARGET_SUBDIR)/libquadmath && \
38078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38080 "RANLIB=$${RANLIB}" \
38081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38082 dvi) \
38083 || exit 1
38085 @endif target-libquadmath
38087 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38088 maybe-pdf-target-libquadmath:
38089 @if target-libquadmath
38090 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38092 pdf-target-libquadmath: \
38093 configure-target-libquadmath
38094 @: $(MAKE); $(unstage)
38095 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38096 r=`${PWD_COMMAND}`; export r; \
38097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38098 $(NORMAL_TARGET_EXPORTS) \
38099 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38100 for flag in $(EXTRA_TARGET_FLAGS); do \
38101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38102 done; \
38103 (cd $(TARGET_SUBDIR)/libquadmath && \
38104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38106 "RANLIB=$${RANLIB}" \
38107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38108 pdf) \
38109 || exit 1
38111 @endif target-libquadmath
38113 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38114 maybe-html-target-libquadmath:
38115 @if target-libquadmath
38116 maybe-html-target-libquadmath: html-target-libquadmath
38118 html-target-libquadmath: \
38119 configure-target-libquadmath
38120 @: $(MAKE); $(unstage)
38121 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38122 r=`${PWD_COMMAND}`; export r; \
38123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38124 $(NORMAL_TARGET_EXPORTS) \
38125 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38126 for flag in $(EXTRA_TARGET_FLAGS); do \
38127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38128 done; \
38129 (cd $(TARGET_SUBDIR)/libquadmath && \
38130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38132 "RANLIB=$${RANLIB}" \
38133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38134 html) \
38135 || exit 1
38137 @endif target-libquadmath
38139 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38140 maybe-TAGS-target-libquadmath:
38141 @if target-libquadmath
38142 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38144 TAGS-target-libquadmath: \
38145 configure-target-libquadmath
38146 @: $(MAKE); $(unstage)
38147 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38148 r=`${PWD_COMMAND}`; export r; \
38149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38150 $(NORMAL_TARGET_EXPORTS) \
38151 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38152 for flag in $(EXTRA_TARGET_FLAGS); do \
38153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38154 done; \
38155 (cd $(TARGET_SUBDIR)/libquadmath && \
38156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38158 "RANLIB=$${RANLIB}" \
38159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38160 TAGS) \
38161 || exit 1
38163 @endif target-libquadmath
38165 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38166 maybe-install-info-target-libquadmath:
38167 @if target-libquadmath
38168 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38170 install-info-target-libquadmath: \
38171 configure-target-libquadmath \
38172 info-target-libquadmath
38173 @: $(MAKE); $(unstage)
38174 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38175 r=`${PWD_COMMAND}`; export r; \
38176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38177 $(NORMAL_TARGET_EXPORTS) \
38178 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38179 for flag in $(EXTRA_TARGET_FLAGS); do \
38180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38181 done; \
38182 (cd $(TARGET_SUBDIR)/libquadmath && \
38183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38185 "RANLIB=$${RANLIB}" \
38186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38187 install-info) \
38188 || exit 1
38190 @endif target-libquadmath
38192 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38193 maybe-install-pdf-target-libquadmath:
38194 @if target-libquadmath
38195 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38197 install-pdf-target-libquadmath: \
38198 configure-target-libquadmath \
38199 pdf-target-libquadmath
38200 @: $(MAKE); $(unstage)
38201 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38202 r=`${PWD_COMMAND}`; export r; \
38203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38204 $(NORMAL_TARGET_EXPORTS) \
38205 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38206 for flag in $(EXTRA_TARGET_FLAGS); do \
38207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38208 done; \
38209 (cd $(TARGET_SUBDIR)/libquadmath && \
38210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38212 "RANLIB=$${RANLIB}" \
38213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38214 install-pdf) \
38215 || exit 1
38217 @endif target-libquadmath
38219 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38220 maybe-install-html-target-libquadmath:
38221 @if target-libquadmath
38222 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38224 install-html-target-libquadmath: \
38225 configure-target-libquadmath \
38226 html-target-libquadmath
38227 @: $(MAKE); $(unstage)
38228 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38229 r=`${PWD_COMMAND}`; export r; \
38230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38231 $(NORMAL_TARGET_EXPORTS) \
38232 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38233 for flag in $(EXTRA_TARGET_FLAGS); do \
38234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38235 done; \
38236 (cd $(TARGET_SUBDIR)/libquadmath && \
38237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38239 "RANLIB=$${RANLIB}" \
38240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38241 install-html) \
38242 || exit 1
38244 @endif target-libquadmath
38246 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38247 maybe-installcheck-target-libquadmath:
38248 @if target-libquadmath
38249 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38251 installcheck-target-libquadmath: \
38252 configure-target-libquadmath
38253 @: $(MAKE); $(unstage)
38254 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38255 r=`${PWD_COMMAND}`; export r; \
38256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38257 $(NORMAL_TARGET_EXPORTS) \
38258 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38259 for flag in $(EXTRA_TARGET_FLAGS); do \
38260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38261 done; \
38262 (cd $(TARGET_SUBDIR)/libquadmath && \
38263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38265 "RANLIB=$${RANLIB}" \
38266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38267 installcheck) \
38268 || exit 1
38270 @endif target-libquadmath
38272 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38273 maybe-mostlyclean-target-libquadmath:
38274 @if target-libquadmath
38275 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38277 mostlyclean-target-libquadmath:
38278 @: $(MAKE); $(unstage)
38279 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38280 r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(NORMAL_TARGET_EXPORTS) \
38283 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38284 for flag in $(EXTRA_TARGET_FLAGS); do \
38285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38286 done; \
38287 (cd $(TARGET_SUBDIR)/libquadmath && \
38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38290 "RANLIB=$${RANLIB}" \
38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38292 mostlyclean) \
38293 || exit 1
38295 @endif target-libquadmath
38297 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38298 maybe-clean-target-libquadmath:
38299 @if target-libquadmath
38300 maybe-clean-target-libquadmath: clean-target-libquadmath
38302 clean-target-libquadmath:
38303 @: $(MAKE); $(unstage)
38304 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38305 r=`${PWD_COMMAND}`; export r; \
38306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38307 $(NORMAL_TARGET_EXPORTS) \
38308 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38309 for flag in $(EXTRA_TARGET_FLAGS); do \
38310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38311 done; \
38312 (cd $(TARGET_SUBDIR)/libquadmath && \
38313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38315 "RANLIB=$${RANLIB}" \
38316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38317 clean) \
38318 || exit 1
38320 @endif target-libquadmath
38322 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38323 maybe-distclean-target-libquadmath:
38324 @if target-libquadmath
38325 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38327 distclean-target-libquadmath:
38328 @: $(MAKE); $(unstage)
38329 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38330 r=`${PWD_COMMAND}`; export r; \
38331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38332 $(NORMAL_TARGET_EXPORTS) \
38333 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38334 for flag in $(EXTRA_TARGET_FLAGS); do \
38335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38336 done; \
38337 (cd $(TARGET_SUBDIR)/libquadmath && \
38338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38340 "RANLIB=$${RANLIB}" \
38341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38342 distclean) \
38343 || exit 1
38345 @endif target-libquadmath
38347 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38348 maybe-maintainer-clean-target-libquadmath:
38349 @if target-libquadmath
38350 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38352 maintainer-clean-target-libquadmath:
38353 @: $(MAKE); $(unstage)
38354 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38355 r=`${PWD_COMMAND}`; export r; \
38356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38357 $(NORMAL_TARGET_EXPORTS) \
38358 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38359 for flag in $(EXTRA_TARGET_FLAGS); do \
38360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38361 done; \
38362 (cd $(TARGET_SUBDIR)/libquadmath && \
38363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38365 "RANLIB=$${RANLIB}" \
38366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38367 maintainer-clean) \
38368 || exit 1
38370 @endif target-libquadmath
38376 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38377 maybe-configure-target-libgfortran:
38378 @if gcc-bootstrap
38379 configure-target-libgfortran: stage_current
38380 @endif gcc-bootstrap
38381 @if target-libgfortran
38382 maybe-configure-target-libgfortran: configure-target-libgfortran
38383 configure-target-libgfortran:
38384 @: $(MAKE); $(unstage)
38385 @r=`${PWD_COMMAND}`; export r; \
38386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38387 echo "Checking multilib configuration for libgfortran..."; \
38388 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38390 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38391 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38392 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38393 else \
38394 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38395 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38396 fi; \
38397 else \
38398 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38399 fi; \
38400 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38402 $(NORMAL_TARGET_EXPORTS) \
38403 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38404 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38405 case $(srcdir) in \
38406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38407 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38409 esac; \
38410 module_srcdir=libgfortran; \
38411 rm -f no-such-file || : ; \
38412 CONFIG_SITE=no-such-file $(SHELL) \
38413 $$s/$$module_srcdir/configure \
38414 --srcdir=$${topdir}/$$module_srcdir \
38415 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38416 --target=${target_alias} \
38417 || exit 1
38418 @endif target-libgfortran
38424 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38425 maybe-all-target-libgfortran:
38426 @if gcc-bootstrap
38427 all-target-libgfortran: stage_current
38428 @endif gcc-bootstrap
38429 @if target-libgfortran
38430 TARGET-target-libgfortran=all
38431 maybe-all-target-libgfortran: all-target-libgfortran
38432 all-target-libgfortran: configure-target-libgfortran
38433 @: $(MAKE); $(unstage)
38434 @r=`${PWD_COMMAND}`; export r; \
38435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38436 $(NORMAL_TARGET_EXPORTS) \
38437 (cd $(TARGET_SUBDIR)/libgfortran && \
38438 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38439 $(TARGET-target-libgfortran))
38440 @endif target-libgfortran
38446 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38447 maybe-check-target-libgfortran:
38448 @if target-libgfortran
38449 maybe-check-target-libgfortran: check-target-libgfortran
38451 check-target-libgfortran:
38452 @: $(MAKE); $(unstage)
38453 @r=`${PWD_COMMAND}`; export r; \
38454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38455 $(NORMAL_TARGET_EXPORTS) \
38456 (cd $(TARGET_SUBDIR)/libgfortran && \
38457 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38459 @endif target-libgfortran
38461 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38462 maybe-install-target-libgfortran:
38463 @if target-libgfortran
38464 maybe-install-target-libgfortran: install-target-libgfortran
38466 install-target-libgfortran: installdirs
38467 @: $(MAKE); $(unstage)
38468 @r=`${PWD_COMMAND}`; export r; \
38469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38470 $(NORMAL_TARGET_EXPORTS) \
38471 (cd $(TARGET_SUBDIR)/libgfortran && \
38472 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38474 @endif target-libgfortran
38476 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38477 maybe-install-strip-target-libgfortran:
38478 @if target-libgfortran
38479 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38481 install-strip-target-libgfortran: installdirs
38482 @: $(MAKE); $(unstage)
38483 @r=`${PWD_COMMAND}`; export r; \
38484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38485 $(NORMAL_TARGET_EXPORTS) \
38486 (cd $(TARGET_SUBDIR)/libgfortran && \
38487 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38489 @endif target-libgfortran
38491 # Other targets (info, dvi, pdf, etc.)
38493 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38494 maybe-info-target-libgfortran:
38495 @if target-libgfortran
38496 maybe-info-target-libgfortran: info-target-libgfortran
38498 info-target-libgfortran: \
38499 configure-target-libgfortran
38500 @: $(MAKE); $(unstage)
38501 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38502 r=`${PWD_COMMAND}`; export r; \
38503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38504 $(NORMAL_TARGET_EXPORTS) \
38505 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38506 for flag in $(EXTRA_TARGET_FLAGS); do \
38507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38508 done; \
38509 (cd $(TARGET_SUBDIR)/libgfortran && \
38510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38512 "RANLIB=$${RANLIB}" \
38513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38514 info) \
38515 || exit 1
38517 @endif target-libgfortran
38519 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38520 maybe-dvi-target-libgfortran:
38521 @if target-libgfortran
38522 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38524 dvi-target-libgfortran: \
38525 configure-target-libgfortran
38526 @: $(MAKE); $(unstage)
38527 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38528 r=`${PWD_COMMAND}`; export r; \
38529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38530 $(NORMAL_TARGET_EXPORTS) \
38531 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38532 for flag in $(EXTRA_TARGET_FLAGS); do \
38533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38534 done; \
38535 (cd $(TARGET_SUBDIR)/libgfortran && \
38536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38538 "RANLIB=$${RANLIB}" \
38539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38540 dvi) \
38541 || exit 1
38543 @endif target-libgfortran
38545 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38546 maybe-pdf-target-libgfortran:
38547 @if target-libgfortran
38548 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38550 pdf-target-libgfortran: \
38551 configure-target-libgfortran
38552 @: $(MAKE); $(unstage)
38553 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38554 r=`${PWD_COMMAND}`; export r; \
38555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38556 $(NORMAL_TARGET_EXPORTS) \
38557 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38558 for flag in $(EXTRA_TARGET_FLAGS); do \
38559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38560 done; \
38561 (cd $(TARGET_SUBDIR)/libgfortran && \
38562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38564 "RANLIB=$${RANLIB}" \
38565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38566 pdf) \
38567 || exit 1
38569 @endif target-libgfortran
38571 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38572 maybe-html-target-libgfortran:
38573 @if target-libgfortran
38574 maybe-html-target-libgfortran: html-target-libgfortran
38576 html-target-libgfortran: \
38577 configure-target-libgfortran
38578 @: $(MAKE); $(unstage)
38579 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38580 r=`${PWD_COMMAND}`; export r; \
38581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38582 $(NORMAL_TARGET_EXPORTS) \
38583 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38584 for flag in $(EXTRA_TARGET_FLAGS); do \
38585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38586 done; \
38587 (cd $(TARGET_SUBDIR)/libgfortran && \
38588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38590 "RANLIB=$${RANLIB}" \
38591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38592 html) \
38593 || exit 1
38595 @endif target-libgfortran
38597 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38598 maybe-TAGS-target-libgfortran:
38599 @if target-libgfortran
38600 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38602 TAGS-target-libgfortran: \
38603 configure-target-libgfortran
38604 @: $(MAKE); $(unstage)
38605 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38606 r=`${PWD_COMMAND}`; export r; \
38607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38608 $(NORMAL_TARGET_EXPORTS) \
38609 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38610 for flag in $(EXTRA_TARGET_FLAGS); do \
38611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38612 done; \
38613 (cd $(TARGET_SUBDIR)/libgfortran && \
38614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38616 "RANLIB=$${RANLIB}" \
38617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38618 TAGS) \
38619 || exit 1
38621 @endif target-libgfortran
38623 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38624 maybe-install-info-target-libgfortran:
38625 @if target-libgfortran
38626 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38628 install-info-target-libgfortran: \
38629 configure-target-libgfortran \
38630 info-target-libgfortran
38631 @: $(MAKE); $(unstage)
38632 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38633 r=`${PWD_COMMAND}`; export r; \
38634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38635 $(NORMAL_TARGET_EXPORTS) \
38636 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38637 for flag in $(EXTRA_TARGET_FLAGS); do \
38638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38639 done; \
38640 (cd $(TARGET_SUBDIR)/libgfortran && \
38641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38643 "RANLIB=$${RANLIB}" \
38644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38645 install-info) \
38646 || exit 1
38648 @endif target-libgfortran
38650 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38651 maybe-install-pdf-target-libgfortran:
38652 @if target-libgfortran
38653 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38655 install-pdf-target-libgfortran: \
38656 configure-target-libgfortran \
38657 pdf-target-libgfortran
38658 @: $(MAKE); $(unstage)
38659 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38660 r=`${PWD_COMMAND}`; export r; \
38661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38662 $(NORMAL_TARGET_EXPORTS) \
38663 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38664 for flag in $(EXTRA_TARGET_FLAGS); do \
38665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38666 done; \
38667 (cd $(TARGET_SUBDIR)/libgfortran && \
38668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38670 "RANLIB=$${RANLIB}" \
38671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38672 install-pdf) \
38673 || exit 1
38675 @endif target-libgfortran
38677 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38678 maybe-install-html-target-libgfortran:
38679 @if target-libgfortran
38680 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38682 install-html-target-libgfortran: \
38683 configure-target-libgfortran \
38684 html-target-libgfortran
38685 @: $(MAKE); $(unstage)
38686 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38687 r=`${PWD_COMMAND}`; export r; \
38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38689 $(NORMAL_TARGET_EXPORTS) \
38690 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38691 for flag in $(EXTRA_TARGET_FLAGS); do \
38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38693 done; \
38694 (cd $(TARGET_SUBDIR)/libgfortran && \
38695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38697 "RANLIB=$${RANLIB}" \
38698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38699 install-html) \
38700 || exit 1
38702 @endif target-libgfortran
38704 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38705 maybe-installcheck-target-libgfortran:
38706 @if target-libgfortran
38707 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38709 installcheck-target-libgfortran: \
38710 configure-target-libgfortran
38711 @: $(MAKE); $(unstage)
38712 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38713 r=`${PWD_COMMAND}`; export r; \
38714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38715 $(NORMAL_TARGET_EXPORTS) \
38716 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38717 for flag in $(EXTRA_TARGET_FLAGS); do \
38718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38719 done; \
38720 (cd $(TARGET_SUBDIR)/libgfortran && \
38721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38723 "RANLIB=$${RANLIB}" \
38724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38725 installcheck) \
38726 || exit 1
38728 @endif target-libgfortran
38730 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38731 maybe-mostlyclean-target-libgfortran:
38732 @if target-libgfortran
38733 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38735 mostlyclean-target-libgfortran:
38736 @: $(MAKE); $(unstage)
38737 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38738 r=`${PWD_COMMAND}`; export r; \
38739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38740 $(NORMAL_TARGET_EXPORTS) \
38741 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38742 for flag in $(EXTRA_TARGET_FLAGS); do \
38743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38744 done; \
38745 (cd $(TARGET_SUBDIR)/libgfortran && \
38746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38748 "RANLIB=$${RANLIB}" \
38749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38750 mostlyclean) \
38751 || exit 1
38753 @endif target-libgfortran
38755 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38756 maybe-clean-target-libgfortran:
38757 @if target-libgfortran
38758 maybe-clean-target-libgfortran: clean-target-libgfortran
38760 clean-target-libgfortran:
38761 @: $(MAKE); $(unstage)
38762 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38763 r=`${PWD_COMMAND}`; export r; \
38764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38765 $(NORMAL_TARGET_EXPORTS) \
38766 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38767 for flag in $(EXTRA_TARGET_FLAGS); do \
38768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38769 done; \
38770 (cd $(TARGET_SUBDIR)/libgfortran && \
38771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38773 "RANLIB=$${RANLIB}" \
38774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38775 clean) \
38776 || exit 1
38778 @endif target-libgfortran
38780 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38781 maybe-distclean-target-libgfortran:
38782 @if target-libgfortran
38783 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38785 distclean-target-libgfortran:
38786 @: $(MAKE); $(unstage)
38787 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38788 r=`${PWD_COMMAND}`; export r; \
38789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38790 $(NORMAL_TARGET_EXPORTS) \
38791 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38792 for flag in $(EXTRA_TARGET_FLAGS); do \
38793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38794 done; \
38795 (cd $(TARGET_SUBDIR)/libgfortran && \
38796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38798 "RANLIB=$${RANLIB}" \
38799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38800 distclean) \
38801 || exit 1
38803 @endif target-libgfortran
38805 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38806 maybe-maintainer-clean-target-libgfortran:
38807 @if target-libgfortran
38808 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38810 maintainer-clean-target-libgfortran:
38811 @: $(MAKE); $(unstage)
38812 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38813 r=`${PWD_COMMAND}`; export r; \
38814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38815 $(NORMAL_TARGET_EXPORTS) \
38816 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38817 for flag in $(EXTRA_TARGET_FLAGS); do \
38818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38819 done; \
38820 (cd $(TARGET_SUBDIR)/libgfortran && \
38821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38823 "RANLIB=$${RANLIB}" \
38824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38825 maintainer-clean) \
38826 || exit 1
38828 @endif target-libgfortran
38834 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38835 maybe-configure-target-libobjc:
38836 @if gcc-bootstrap
38837 configure-target-libobjc: stage_current
38838 @endif gcc-bootstrap
38839 @if target-libobjc
38840 maybe-configure-target-libobjc: configure-target-libobjc
38841 configure-target-libobjc:
38842 @: $(MAKE); $(unstage)
38843 @r=`${PWD_COMMAND}`; export r; \
38844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38845 echo "Checking multilib configuration for libobjc..."; \
38846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38847 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38848 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38849 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38850 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38851 else \
38852 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38853 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38854 fi; \
38855 else \
38856 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38857 fi; \
38858 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38860 $(NORMAL_TARGET_EXPORTS) \
38861 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38862 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38863 case $(srcdir) in \
38864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38865 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38867 esac; \
38868 module_srcdir=libobjc; \
38869 rm -f no-such-file || : ; \
38870 CONFIG_SITE=no-such-file $(SHELL) \
38871 $$s/$$module_srcdir/configure \
38872 --srcdir=$${topdir}/$$module_srcdir \
38873 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38874 --target=${target_alias} \
38875 || exit 1
38876 @endif target-libobjc
38882 .PHONY: all-target-libobjc maybe-all-target-libobjc
38883 maybe-all-target-libobjc:
38884 @if gcc-bootstrap
38885 all-target-libobjc: stage_current
38886 @endif gcc-bootstrap
38887 @if target-libobjc
38888 TARGET-target-libobjc=all
38889 maybe-all-target-libobjc: all-target-libobjc
38890 all-target-libobjc: configure-target-libobjc
38891 @: $(MAKE); $(unstage)
38892 @r=`${PWD_COMMAND}`; export r; \
38893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38894 $(NORMAL_TARGET_EXPORTS) \
38895 (cd $(TARGET_SUBDIR)/libobjc && \
38896 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38897 $(TARGET-target-libobjc))
38898 @endif target-libobjc
38904 .PHONY: check-target-libobjc maybe-check-target-libobjc
38905 maybe-check-target-libobjc:
38906 @if target-libobjc
38907 maybe-check-target-libobjc: check-target-libobjc
38909 check-target-libobjc:
38910 @: $(MAKE); $(unstage)
38911 @r=`${PWD_COMMAND}`; export r; \
38912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38913 $(NORMAL_TARGET_EXPORTS) \
38914 (cd $(TARGET_SUBDIR)/libobjc && \
38915 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38917 @endif target-libobjc
38919 .PHONY: install-target-libobjc maybe-install-target-libobjc
38920 maybe-install-target-libobjc:
38921 @if target-libobjc
38922 maybe-install-target-libobjc: install-target-libobjc
38924 install-target-libobjc: installdirs
38925 @: $(MAKE); $(unstage)
38926 @r=`${PWD_COMMAND}`; export r; \
38927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38928 $(NORMAL_TARGET_EXPORTS) \
38929 (cd $(TARGET_SUBDIR)/libobjc && \
38930 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38932 @endif target-libobjc
38934 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
38935 maybe-install-strip-target-libobjc:
38936 @if target-libobjc
38937 maybe-install-strip-target-libobjc: install-strip-target-libobjc
38939 install-strip-target-libobjc: installdirs
38940 @: $(MAKE); $(unstage)
38941 @r=`${PWD_COMMAND}`; export r; \
38942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38943 $(NORMAL_TARGET_EXPORTS) \
38944 (cd $(TARGET_SUBDIR)/libobjc && \
38945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38947 @endif target-libobjc
38949 # Other targets (info, dvi, pdf, etc.)
38951 .PHONY: maybe-info-target-libobjc info-target-libobjc
38952 maybe-info-target-libobjc:
38953 @if target-libobjc
38954 maybe-info-target-libobjc: info-target-libobjc
38956 info-target-libobjc: \
38957 configure-target-libobjc
38958 @: $(MAKE); $(unstage)
38959 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38960 r=`${PWD_COMMAND}`; export r; \
38961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38962 $(NORMAL_TARGET_EXPORTS) \
38963 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38964 for flag in $(EXTRA_TARGET_FLAGS); do \
38965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38966 done; \
38967 (cd $(TARGET_SUBDIR)/libobjc && \
38968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38970 "RANLIB=$${RANLIB}" \
38971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38972 info) \
38973 || exit 1
38975 @endif target-libobjc
38977 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38978 maybe-dvi-target-libobjc:
38979 @if target-libobjc
38980 maybe-dvi-target-libobjc: dvi-target-libobjc
38982 dvi-target-libobjc: \
38983 configure-target-libobjc
38984 @: $(MAKE); $(unstage)
38985 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38986 r=`${PWD_COMMAND}`; export r; \
38987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38988 $(NORMAL_TARGET_EXPORTS) \
38989 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38990 for flag in $(EXTRA_TARGET_FLAGS); do \
38991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38992 done; \
38993 (cd $(TARGET_SUBDIR)/libobjc && \
38994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38996 "RANLIB=$${RANLIB}" \
38997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38998 dvi) \
38999 || exit 1
39001 @endif target-libobjc
39003 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39004 maybe-pdf-target-libobjc:
39005 @if target-libobjc
39006 maybe-pdf-target-libobjc: pdf-target-libobjc
39008 pdf-target-libobjc: \
39009 configure-target-libobjc
39010 @: $(MAKE); $(unstage)
39011 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39012 r=`${PWD_COMMAND}`; export r; \
39013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39014 $(NORMAL_TARGET_EXPORTS) \
39015 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39016 for flag in $(EXTRA_TARGET_FLAGS); do \
39017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39018 done; \
39019 (cd $(TARGET_SUBDIR)/libobjc && \
39020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39022 "RANLIB=$${RANLIB}" \
39023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39024 pdf) \
39025 || exit 1
39027 @endif target-libobjc
39029 .PHONY: maybe-html-target-libobjc html-target-libobjc
39030 maybe-html-target-libobjc:
39031 @if target-libobjc
39032 maybe-html-target-libobjc: html-target-libobjc
39034 html-target-libobjc: \
39035 configure-target-libobjc
39036 @: $(MAKE); $(unstage)
39037 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39038 r=`${PWD_COMMAND}`; export r; \
39039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39040 $(NORMAL_TARGET_EXPORTS) \
39041 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39042 for flag in $(EXTRA_TARGET_FLAGS); do \
39043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39044 done; \
39045 (cd $(TARGET_SUBDIR)/libobjc && \
39046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39048 "RANLIB=$${RANLIB}" \
39049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39050 html) \
39051 || exit 1
39053 @endif target-libobjc
39055 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39056 maybe-TAGS-target-libobjc:
39057 @if target-libobjc
39058 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39060 TAGS-target-libobjc: \
39061 configure-target-libobjc
39062 @: $(MAKE); $(unstage)
39063 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39064 r=`${PWD_COMMAND}`; export r; \
39065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39066 $(NORMAL_TARGET_EXPORTS) \
39067 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39068 for flag in $(EXTRA_TARGET_FLAGS); do \
39069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39070 done; \
39071 (cd $(TARGET_SUBDIR)/libobjc && \
39072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39074 "RANLIB=$${RANLIB}" \
39075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39076 TAGS) \
39077 || exit 1
39079 @endif target-libobjc
39081 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39082 maybe-install-info-target-libobjc:
39083 @if target-libobjc
39084 maybe-install-info-target-libobjc: install-info-target-libobjc
39086 install-info-target-libobjc: \
39087 configure-target-libobjc \
39088 info-target-libobjc
39089 @: $(MAKE); $(unstage)
39090 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39091 r=`${PWD_COMMAND}`; export r; \
39092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39093 $(NORMAL_TARGET_EXPORTS) \
39094 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39095 for flag in $(EXTRA_TARGET_FLAGS); do \
39096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39097 done; \
39098 (cd $(TARGET_SUBDIR)/libobjc && \
39099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39101 "RANLIB=$${RANLIB}" \
39102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39103 install-info) \
39104 || exit 1
39106 @endif target-libobjc
39108 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39109 maybe-install-pdf-target-libobjc:
39110 @if target-libobjc
39111 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39113 install-pdf-target-libobjc: \
39114 configure-target-libobjc \
39115 pdf-target-libobjc
39116 @: $(MAKE); $(unstage)
39117 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39118 r=`${PWD_COMMAND}`; export r; \
39119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39120 $(NORMAL_TARGET_EXPORTS) \
39121 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39122 for flag in $(EXTRA_TARGET_FLAGS); do \
39123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39124 done; \
39125 (cd $(TARGET_SUBDIR)/libobjc && \
39126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39128 "RANLIB=$${RANLIB}" \
39129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39130 install-pdf) \
39131 || exit 1
39133 @endif target-libobjc
39135 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39136 maybe-install-html-target-libobjc:
39137 @if target-libobjc
39138 maybe-install-html-target-libobjc: install-html-target-libobjc
39140 install-html-target-libobjc: \
39141 configure-target-libobjc \
39142 html-target-libobjc
39143 @: $(MAKE); $(unstage)
39144 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39145 r=`${PWD_COMMAND}`; export r; \
39146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39147 $(NORMAL_TARGET_EXPORTS) \
39148 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39149 for flag in $(EXTRA_TARGET_FLAGS); do \
39150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39151 done; \
39152 (cd $(TARGET_SUBDIR)/libobjc && \
39153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39155 "RANLIB=$${RANLIB}" \
39156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39157 install-html) \
39158 || exit 1
39160 @endif target-libobjc
39162 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39163 maybe-installcheck-target-libobjc:
39164 @if target-libobjc
39165 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39167 installcheck-target-libobjc: \
39168 configure-target-libobjc
39169 @: $(MAKE); $(unstage)
39170 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39171 r=`${PWD_COMMAND}`; export r; \
39172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39173 $(NORMAL_TARGET_EXPORTS) \
39174 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39175 for flag in $(EXTRA_TARGET_FLAGS); do \
39176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39177 done; \
39178 (cd $(TARGET_SUBDIR)/libobjc && \
39179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39181 "RANLIB=$${RANLIB}" \
39182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39183 installcheck) \
39184 || exit 1
39186 @endif target-libobjc
39188 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39189 maybe-mostlyclean-target-libobjc:
39190 @if target-libobjc
39191 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39193 mostlyclean-target-libobjc:
39194 @: $(MAKE); $(unstage)
39195 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39196 r=`${PWD_COMMAND}`; export r; \
39197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39198 $(NORMAL_TARGET_EXPORTS) \
39199 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39200 for flag in $(EXTRA_TARGET_FLAGS); do \
39201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39202 done; \
39203 (cd $(TARGET_SUBDIR)/libobjc && \
39204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39206 "RANLIB=$${RANLIB}" \
39207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39208 mostlyclean) \
39209 || exit 1
39211 @endif target-libobjc
39213 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39214 maybe-clean-target-libobjc:
39215 @if target-libobjc
39216 maybe-clean-target-libobjc: clean-target-libobjc
39218 clean-target-libobjc:
39219 @: $(MAKE); $(unstage)
39220 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39221 r=`${PWD_COMMAND}`; export r; \
39222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39223 $(NORMAL_TARGET_EXPORTS) \
39224 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39225 for flag in $(EXTRA_TARGET_FLAGS); do \
39226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39227 done; \
39228 (cd $(TARGET_SUBDIR)/libobjc && \
39229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39231 "RANLIB=$${RANLIB}" \
39232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39233 clean) \
39234 || exit 1
39236 @endif target-libobjc
39238 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39239 maybe-distclean-target-libobjc:
39240 @if target-libobjc
39241 maybe-distclean-target-libobjc: distclean-target-libobjc
39243 distclean-target-libobjc:
39244 @: $(MAKE); $(unstage)
39245 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39246 r=`${PWD_COMMAND}`; export r; \
39247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39248 $(NORMAL_TARGET_EXPORTS) \
39249 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39250 for flag in $(EXTRA_TARGET_FLAGS); do \
39251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39252 done; \
39253 (cd $(TARGET_SUBDIR)/libobjc && \
39254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39256 "RANLIB=$${RANLIB}" \
39257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39258 distclean) \
39259 || exit 1
39261 @endif target-libobjc
39263 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39264 maybe-maintainer-clean-target-libobjc:
39265 @if target-libobjc
39266 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39268 maintainer-clean-target-libobjc:
39269 @: $(MAKE); $(unstage)
39270 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39271 r=`${PWD_COMMAND}`; export r; \
39272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39273 $(NORMAL_TARGET_EXPORTS) \
39274 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39275 for flag in $(EXTRA_TARGET_FLAGS); do \
39276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39277 done; \
39278 (cd $(TARGET_SUBDIR)/libobjc && \
39279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39281 "RANLIB=$${RANLIB}" \
39282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39283 maintainer-clean) \
39284 || exit 1
39286 @endif target-libobjc
39292 .PHONY: configure-target-libgo maybe-configure-target-libgo
39293 maybe-configure-target-libgo:
39294 @if gcc-bootstrap
39295 configure-target-libgo: stage_current
39296 @endif gcc-bootstrap
39297 @if target-libgo
39298 maybe-configure-target-libgo: configure-target-libgo
39299 configure-target-libgo:
39300 @: $(MAKE); $(unstage)
39301 @r=`${PWD_COMMAND}`; export r; \
39302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39303 echo "Checking multilib configuration for libgo..."; \
39304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39305 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39306 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39307 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39308 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39309 else \
39310 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39311 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39312 fi; \
39313 else \
39314 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39315 fi; \
39316 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39317 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39318 $(NORMAL_TARGET_EXPORTS) \
39319 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39320 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39321 case $(srcdir) in \
39322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39323 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39325 esac; \
39326 module_srcdir=libgo; \
39327 rm -f no-such-file || : ; \
39328 CONFIG_SITE=no-such-file $(SHELL) \
39329 $$s/$$module_srcdir/configure \
39330 --srcdir=$${topdir}/$$module_srcdir \
39331 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39332 --target=${target_alias} \
39333 || exit 1
39334 @endif target-libgo
39340 .PHONY: all-target-libgo maybe-all-target-libgo
39341 maybe-all-target-libgo:
39342 @if gcc-bootstrap
39343 all-target-libgo: stage_current
39344 @endif gcc-bootstrap
39345 @if target-libgo
39346 TARGET-target-libgo=all
39347 maybe-all-target-libgo: all-target-libgo
39348 all-target-libgo: configure-target-libgo
39349 @: $(MAKE); $(unstage)
39350 @r=`${PWD_COMMAND}`; export r; \
39351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39352 $(NORMAL_TARGET_EXPORTS) \
39353 (cd $(TARGET_SUBDIR)/libgo && \
39354 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39355 $(TARGET-target-libgo))
39356 @endif target-libgo
39362 .PHONY: check-target-libgo maybe-check-target-libgo
39363 maybe-check-target-libgo:
39364 @if target-libgo
39365 maybe-check-target-libgo: check-target-libgo
39367 check-target-libgo:
39368 @: $(MAKE); $(unstage)
39369 @r=`${PWD_COMMAND}`; export r; \
39370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39371 $(NORMAL_TARGET_EXPORTS) \
39372 (cd $(TARGET_SUBDIR)/libgo && \
39373 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39375 @endif target-libgo
39377 .PHONY: install-target-libgo maybe-install-target-libgo
39378 maybe-install-target-libgo:
39379 @if target-libgo
39380 maybe-install-target-libgo: install-target-libgo
39382 install-target-libgo: installdirs
39383 @: $(MAKE); $(unstage)
39384 @r=`${PWD_COMMAND}`; export r; \
39385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39386 $(NORMAL_TARGET_EXPORTS) \
39387 (cd $(TARGET_SUBDIR)/libgo && \
39388 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39390 @endif target-libgo
39392 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39393 maybe-install-strip-target-libgo:
39394 @if target-libgo
39395 maybe-install-strip-target-libgo: install-strip-target-libgo
39397 install-strip-target-libgo: installdirs
39398 @: $(MAKE); $(unstage)
39399 @r=`${PWD_COMMAND}`; export r; \
39400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39401 $(NORMAL_TARGET_EXPORTS) \
39402 (cd $(TARGET_SUBDIR)/libgo && \
39403 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39405 @endif target-libgo
39407 # Other targets (info, dvi, pdf, etc.)
39409 .PHONY: maybe-info-target-libgo info-target-libgo
39410 maybe-info-target-libgo:
39411 @if target-libgo
39412 maybe-info-target-libgo: info-target-libgo
39414 info-target-libgo: \
39415 configure-target-libgo
39416 @: $(MAKE); $(unstage)
39417 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39418 r=`${PWD_COMMAND}`; export r; \
39419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39420 $(NORMAL_TARGET_EXPORTS) \
39421 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39422 for flag in $(EXTRA_TARGET_FLAGS); do \
39423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39424 done; \
39425 (cd $(TARGET_SUBDIR)/libgo && \
39426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39428 "RANLIB=$${RANLIB}" \
39429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39430 info) \
39431 || exit 1
39433 @endif target-libgo
39435 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39436 maybe-dvi-target-libgo:
39437 @if target-libgo
39438 maybe-dvi-target-libgo: dvi-target-libgo
39440 dvi-target-libgo: \
39441 configure-target-libgo
39442 @: $(MAKE); $(unstage)
39443 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39444 r=`${PWD_COMMAND}`; export r; \
39445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39446 $(NORMAL_TARGET_EXPORTS) \
39447 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39448 for flag in $(EXTRA_TARGET_FLAGS); do \
39449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39450 done; \
39451 (cd $(TARGET_SUBDIR)/libgo && \
39452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39454 "RANLIB=$${RANLIB}" \
39455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39456 dvi) \
39457 || exit 1
39459 @endif target-libgo
39461 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39462 maybe-pdf-target-libgo:
39463 @if target-libgo
39464 maybe-pdf-target-libgo: pdf-target-libgo
39466 pdf-target-libgo: \
39467 configure-target-libgo
39468 @: $(MAKE); $(unstage)
39469 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39470 r=`${PWD_COMMAND}`; export r; \
39471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39472 $(NORMAL_TARGET_EXPORTS) \
39473 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39474 for flag in $(EXTRA_TARGET_FLAGS); do \
39475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39476 done; \
39477 (cd $(TARGET_SUBDIR)/libgo && \
39478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39480 "RANLIB=$${RANLIB}" \
39481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39482 pdf) \
39483 || exit 1
39485 @endif target-libgo
39487 .PHONY: maybe-html-target-libgo html-target-libgo
39488 maybe-html-target-libgo:
39489 @if target-libgo
39490 maybe-html-target-libgo: html-target-libgo
39492 html-target-libgo: \
39493 configure-target-libgo
39494 @: $(MAKE); $(unstage)
39495 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39496 r=`${PWD_COMMAND}`; export r; \
39497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39498 $(NORMAL_TARGET_EXPORTS) \
39499 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39500 for flag in $(EXTRA_TARGET_FLAGS); do \
39501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39502 done; \
39503 (cd $(TARGET_SUBDIR)/libgo && \
39504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39506 "RANLIB=$${RANLIB}" \
39507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39508 html) \
39509 || exit 1
39511 @endif target-libgo
39513 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39514 maybe-TAGS-target-libgo:
39515 @if target-libgo
39516 maybe-TAGS-target-libgo: TAGS-target-libgo
39518 TAGS-target-libgo: \
39519 configure-target-libgo
39520 @: $(MAKE); $(unstage)
39521 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39522 r=`${PWD_COMMAND}`; export r; \
39523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39524 $(NORMAL_TARGET_EXPORTS) \
39525 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39526 for flag in $(EXTRA_TARGET_FLAGS); do \
39527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39528 done; \
39529 (cd $(TARGET_SUBDIR)/libgo && \
39530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39532 "RANLIB=$${RANLIB}" \
39533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39534 TAGS) \
39535 || exit 1
39537 @endif target-libgo
39539 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39540 maybe-install-info-target-libgo:
39541 @if target-libgo
39542 maybe-install-info-target-libgo: install-info-target-libgo
39544 install-info-target-libgo: \
39545 configure-target-libgo \
39546 info-target-libgo
39547 @: $(MAKE); $(unstage)
39548 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39549 r=`${PWD_COMMAND}`; export r; \
39550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39551 $(NORMAL_TARGET_EXPORTS) \
39552 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39553 for flag in $(EXTRA_TARGET_FLAGS); do \
39554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39555 done; \
39556 (cd $(TARGET_SUBDIR)/libgo && \
39557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39559 "RANLIB=$${RANLIB}" \
39560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39561 install-info) \
39562 || exit 1
39564 @endif target-libgo
39566 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39567 maybe-install-pdf-target-libgo:
39568 @if target-libgo
39569 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39571 install-pdf-target-libgo: \
39572 configure-target-libgo \
39573 pdf-target-libgo
39574 @: $(MAKE); $(unstage)
39575 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39576 r=`${PWD_COMMAND}`; export r; \
39577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39578 $(NORMAL_TARGET_EXPORTS) \
39579 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39580 for flag in $(EXTRA_TARGET_FLAGS); do \
39581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39582 done; \
39583 (cd $(TARGET_SUBDIR)/libgo && \
39584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39586 "RANLIB=$${RANLIB}" \
39587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39588 install-pdf) \
39589 || exit 1
39591 @endif target-libgo
39593 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39594 maybe-install-html-target-libgo:
39595 @if target-libgo
39596 maybe-install-html-target-libgo: install-html-target-libgo
39598 install-html-target-libgo: \
39599 configure-target-libgo \
39600 html-target-libgo
39601 @: $(MAKE); $(unstage)
39602 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39603 r=`${PWD_COMMAND}`; export r; \
39604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39605 $(NORMAL_TARGET_EXPORTS) \
39606 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39607 for flag in $(EXTRA_TARGET_FLAGS); do \
39608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39609 done; \
39610 (cd $(TARGET_SUBDIR)/libgo && \
39611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39613 "RANLIB=$${RANLIB}" \
39614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39615 install-html) \
39616 || exit 1
39618 @endif target-libgo
39620 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39621 maybe-installcheck-target-libgo:
39622 @if target-libgo
39623 maybe-installcheck-target-libgo: installcheck-target-libgo
39625 installcheck-target-libgo: \
39626 configure-target-libgo
39627 @: $(MAKE); $(unstage)
39628 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39629 r=`${PWD_COMMAND}`; export r; \
39630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39631 $(NORMAL_TARGET_EXPORTS) \
39632 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39633 for flag in $(EXTRA_TARGET_FLAGS); do \
39634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39635 done; \
39636 (cd $(TARGET_SUBDIR)/libgo && \
39637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39639 "RANLIB=$${RANLIB}" \
39640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39641 installcheck) \
39642 || exit 1
39644 @endif target-libgo
39646 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39647 maybe-mostlyclean-target-libgo:
39648 @if target-libgo
39649 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39651 mostlyclean-target-libgo:
39652 @: $(MAKE); $(unstage)
39653 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39654 r=`${PWD_COMMAND}`; export r; \
39655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39656 $(NORMAL_TARGET_EXPORTS) \
39657 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39658 for flag in $(EXTRA_TARGET_FLAGS); do \
39659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39660 done; \
39661 (cd $(TARGET_SUBDIR)/libgo && \
39662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39664 "RANLIB=$${RANLIB}" \
39665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39666 mostlyclean) \
39667 || exit 1
39669 @endif target-libgo
39671 .PHONY: maybe-clean-target-libgo clean-target-libgo
39672 maybe-clean-target-libgo:
39673 @if target-libgo
39674 maybe-clean-target-libgo: clean-target-libgo
39676 clean-target-libgo:
39677 @: $(MAKE); $(unstage)
39678 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39679 r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 $(NORMAL_TARGET_EXPORTS) \
39682 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39683 for flag in $(EXTRA_TARGET_FLAGS); do \
39684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39685 done; \
39686 (cd $(TARGET_SUBDIR)/libgo && \
39687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39689 "RANLIB=$${RANLIB}" \
39690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39691 clean) \
39692 || exit 1
39694 @endif target-libgo
39696 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39697 maybe-distclean-target-libgo:
39698 @if target-libgo
39699 maybe-distclean-target-libgo: distclean-target-libgo
39701 distclean-target-libgo:
39702 @: $(MAKE); $(unstage)
39703 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39704 r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 $(NORMAL_TARGET_EXPORTS) \
39707 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39708 for flag in $(EXTRA_TARGET_FLAGS); do \
39709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39710 done; \
39711 (cd $(TARGET_SUBDIR)/libgo && \
39712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39714 "RANLIB=$${RANLIB}" \
39715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39716 distclean) \
39717 || exit 1
39719 @endif target-libgo
39721 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39722 maybe-maintainer-clean-target-libgo:
39723 @if target-libgo
39724 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39726 maintainer-clean-target-libgo:
39727 @: $(MAKE); $(unstage)
39728 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39729 r=`${PWD_COMMAND}`; export r; \
39730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39731 $(NORMAL_TARGET_EXPORTS) \
39732 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39733 for flag in $(EXTRA_TARGET_FLAGS); do \
39734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39735 done; \
39736 (cd $(TARGET_SUBDIR)/libgo && \
39737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39739 "RANLIB=$${RANLIB}" \
39740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39741 maintainer-clean) \
39742 || exit 1
39744 @endif target-libgo
39750 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39751 maybe-configure-target-libtermcap:
39752 @if gcc-bootstrap
39753 configure-target-libtermcap: stage_current
39754 @endif gcc-bootstrap
39755 @if target-libtermcap
39756 maybe-configure-target-libtermcap: configure-target-libtermcap
39757 configure-target-libtermcap:
39758 @: $(MAKE); $(unstage)
39759 @r=`${PWD_COMMAND}`; export r; \
39760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39761 echo "Checking multilib configuration for libtermcap..."; \
39762 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39763 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39764 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39765 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39766 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39767 else \
39768 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39769 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39770 fi; \
39771 else \
39772 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39773 fi; \
39774 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39775 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39776 $(NORMAL_TARGET_EXPORTS) \
39777 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39778 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39779 case $(srcdir) in \
39780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39781 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39783 esac; \
39784 module_srcdir=libtermcap; \
39785 rm -f no-such-file || : ; \
39786 CONFIG_SITE=no-such-file $(SHELL) \
39787 $$s/$$module_srcdir/configure \
39788 --srcdir=$${topdir}/$$module_srcdir \
39789 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39790 --target=${target_alias} \
39791 || exit 1
39792 @endif target-libtermcap
39798 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39799 maybe-all-target-libtermcap:
39800 @if gcc-bootstrap
39801 all-target-libtermcap: stage_current
39802 @endif gcc-bootstrap
39803 @if target-libtermcap
39804 TARGET-target-libtermcap=all
39805 maybe-all-target-libtermcap: all-target-libtermcap
39806 all-target-libtermcap: configure-target-libtermcap
39807 @: $(MAKE); $(unstage)
39808 @r=`${PWD_COMMAND}`; export r; \
39809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39810 $(NORMAL_TARGET_EXPORTS) \
39811 (cd $(TARGET_SUBDIR)/libtermcap && \
39812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39813 $(TARGET-target-libtermcap))
39814 @endif target-libtermcap
39820 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39821 maybe-check-target-libtermcap:
39822 @if target-libtermcap
39823 maybe-check-target-libtermcap: check-target-libtermcap
39825 # Dummy target for uncheckable module.
39826 check-target-libtermcap:
39828 @endif target-libtermcap
39830 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39831 maybe-install-target-libtermcap:
39832 @if target-libtermcap
39833 maybe-install-target-libtermcap: install-target-libtermcap
39835 install-target-libtermcap: installdirs
39836 @: $(MAKE); $(unstage)
39837 @r=`${PWD_COMMAND}`; export r; \
39838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39839 $(NORMAL_TARGET_EXPORTS) \
39840 (cd $(TARGET_SUBDIR)/libtermcap && \
39841 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39843 @endif target-libtermcap
39845 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39846 maybe-install-strip-target-libtermcap:
39847 @if target-libtermcap
39848 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39850 install-strip-target-libtermcap: installdirs
39851 @: $(MAKE); $(unstage)
39852 @r=`${PWD_COMMAND}`; export r; \
39853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39854 $(NORMAL_TARGET_EXPORTS) \
39855 (cd $(TARGET_SUBDIR)/libtermcap && \
39856 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39858 @endif target-libtermcap
39860 # Other targets (info, dvi, pdf, etc.)
39862 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39863 maybe-info-target-libtermcap:
39864 @if target-libtermcap
39865 maybe-info-target-libtermcap: info-target-libtermcap
39867 info-target-libtermcap: \
39868 configure-target-libtermcap
39869 @: $(MAKE); $(unstage)
39870 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39871 r=`${PWD_COMMAND}`; export r; \
39872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39873 $(NORMAL_TARGET_EXPORTS) \
39874 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39875 for flag in $(EXTRA_TARGET_FLAGS); do \
39876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39877 done; \
39878 (cd $(TARGET_SUBDIR)/libtermcap && \
39879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39881 "RANLIB=$${RANLIB}" \
39882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39883 info) \
39884 || exit 1
39886 @endif target-libtermcap
39888 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39889 maybe-dvi-target-libtermcap:
39890 @if target-libtermcap
39891 maybe-dvi-target-libtermcap: dvi-target-libtermcap
39893 dvi-target-libtermcap: \
39894 configure-target-libtermcap
39895 @: $(MAKE); $(unstage)
39896 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39897 r=`${PWD_COMMAND}`; export r; \
39898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39899 $(NORMAL_TARGET_EXPORTS) \
39900 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
39901 for flag in $(EXTRA_TARGET_FLAGS); do \
39902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39903 done; \
39904 (cd $(TARGET_SUBDIR)/libtermcap && \
39905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39907 "RANLIB=$${RANLIB}" \
39908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39909 dvi) \
39910 || exit 1
39912 @endif target-libtermcap
39914 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
39915 maybe-pdf-target-libtermcap:
39916 @if target-libtermcap
39917 maybe-pdf-target-libtermcap: pdf-target-libtermcap
39919 pdf-target-libtermcap: \
39920 configure-target-libtermcap
39921 @: $(MAKE); $(unstage)
39922 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39923 r=`${PWD_COMMAND}`; export r; \
39924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39925 $(NORMAL_TARGET_EXPORTS) \
39926 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
39927 for flag in $(EXTRA_TARGET_FLAGS); do \
39928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39929 done; \
39930 (cd $(TARGET_SUBDIR)/libtermcap && \
39931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39933 "RANLIB=$${RANLIB}" \
39934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39935 pdf) \
39936 || exit 1
39938 @endif target-libtermcap
39940 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
39941 maybe-html-target-libtermcap:
39942 @if target-libtermcap
39943 maybe-html-target-libtermcap: html-target-libtermcap
39945 html-target-libtermcap: \
39946 configure-target-libtermcap
39947 @: $(MAKE); $(unstage)
39948 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39949 r=`${PWD_COMMAND}`; export r; \
39950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39951 $(NORMAL_TARGET_EXPORTS) \
39952 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 html) \
39962 || exit 1
39964 @endif target-libtermcap
39966 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
39967 maybe-TAGS-target-libtermcap:
39968 @if target-libtermcap
39969 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
39971 TAGS-target-libtermcap: \
39972 configure-target-libtermcap
39973 @: $(MAKE); $(unstage)
39974 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39975 r=`${PWD_COMMAND}`; export r; \
39976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39977 $(NORMAL_TARGET_EXPORTS) \
39978 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
39979 for flag in $(EXTRA_TARGET_FLAGS); do \
39980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39981 done; \
39982 (cd $(TARGET_SUBDIR)/libtermcap && \
39983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39985 "RANLIB=$${RANLIB}" \
39986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39987 TAGS) \
39988 || exit 1
39990 @endif target-libtermcap
39992 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
39993 maybe-install-info-target-libtermcap:
39994 @if target-libtermcap
39995 maybe-install-info-target-libtermcap: install-info-target-libtermcap
39997 install-info-target-libtermcap: \
39998 configure-target-libtermcap \
39999 info-target-libtermcap
40000 @: $(MAKE); $(unstage)
40001 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40002 r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(NORMAL_TARGET_EXPORTS) \
40005 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40006 for flag in $(EXTRA_TARGET_FLAGS); do \
40007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40008 done; \
40009 (cd $(TARGET_SUBDIR)/libtermcap && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40012 "RANLIB=$${RANLIB}" \
40013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40014 install-info) \
40015 || exit 1
40017 @endif target-libtermcap
40019 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40020 maybe-install-pdf-target-libtermcap:
40021 @if target-libtermcap
40022 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40024 install-pdf-target-libtermcap: \
40025 configure-target-libtermcap \
40026 pdf-target-libtermcap
40027 @: $(MAKE); $(unstage)
40028 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40029 r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(NORMAL_TARGET_EXPORTS) \
40032 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 install-pdf) \
40042 || exit 1
40044 @endif target-libtermcap
40046 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40047 maybe-install-html-target-libtermcap:
40048 @if target-libtermcap
40049 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40051 install-html-target-libtermcap: \
40052 configure-target-libtermcap \
40053 html-target-libtermcap
40054 @: $(MAKE); $(unstage)
40055 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40056 r=`${PWD_COMMAND}`; export r; \
40057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40058 $(NORMAL_TARGET_EXPORTS) \
40059 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40060 for flag in $(EXTRA_TARGET_FLAGS); do \
40061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40062 done; \
40063 (cd $(TARGET_SUBDIR)/libtermcap && \
40064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40066 "RANLIB=$${RANLIB}" \
40067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40068 install-html) \
40069 || exit 1
40071 @endif target-libtermcap
40073 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40074 maybe-installcheck-target-libtermcap:
40075 @if target-libtermcap
40076 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40078 installcheck-target-libtermcap: \
40079 configure-target-libtermcap
40080 @: $(MAKE); $(unstage)
40081 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40082 r=`${PWD_COMMAND}`; export r; \
40083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40084 $(NORMAL_TARGET_EXPORTS) \
40085 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40086 for flag in $(EXTRA_TARGET_FLAGS); do \
40087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40088 done; \
40089 (cd $(TARGET_SUBDIR)/libtermcap && \
40090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40092 "RANLIB=$${RANLIB}" \
40093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40094 installcheck) \
40095 || exit 1
40097 @endif target-libtermcap
40099 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40100 maybe-mostlyclean-target-libtermcap:
40101 @if target-libtermcap
40102 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40104 # libtermcap doesn't support mostlyclean.
40105 mostlyclean-target-libtermcap:
40107 @endif target-libtermcap
40109 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40110 maybe-clean-target-libtermcap:
40111 @if target-libtermcap
40112 maybe-clean-target-libtermcap: clean-target-libtermcap
40114 # libtermcap doesn't support clean.
40115 clean-target-libtermcap:
40117 @endif target-libtermcap
40119 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40120 maybe-distclean-target-libtermcap:
40121 @if target-libtermcap
40122 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40124 # libtermcap doesn't support distclean.
40125 distclean-target-libtermcap:
40127 @endif target-libtermcap
40129 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40130 maybe-maintainer-clean-target-libtermcap:
40131 @if target-libtermcap
40132 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40134 # libtermcap doesn't support maintainer-clean.
40135 maintainer-clean-target-libtermcap:
40137 @endif target-libtermcap
40143 .PHONY: configure-target-winsup maybe-configure-target-winsup
40144 maybe-configure-target-winsup:
40145 @if gcc-bootstrap
40146 configure-target-winsup: stage_current
40147 @endif gcc-bootstrap
40148 @if target-winsup
40149 maybe-configure-target-winsup: configure-target-winsup
40150 configure-target-winsup:
40151 @: $(MAKE); $(unstage)
40152 @r=`${PWD_COMMAND}`; export r; \
40153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40154 echo "Checking multilib configuration for winsup..."; \
40155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40156 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40157 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40158 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40159 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40160 else \
40161 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40162 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40163 fi; \
40164 else \
40165 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40166 fi; \
40167 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40168 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40169 $(NORMAL_TARGET_EXPORTS) \
40170 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40171 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40172 case $(srcdir) in \
40173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40174 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40176 esac; \
40177 module_srcdir=winsup; \
40178 rm -f no-such-file || : ; \
40179 CONFIG_SITE=no-such-file $(SHELL) \
40180 $$s/$$module_srcdir/configure \
40181 --srcdir=$${topdir}/$$module_srcdir \
40182 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40183 --target=${target_alias} \
40184 || exit 1
40185 @endif target-winsup
40191 .PHONY: all-target-winsup maybe-all-target-winsup
40192 maybe-all-target-winsup:
40193 @if gcc-bootstrap
40194 all-target-winsup: stage_current
40195 @endif gcc-bootstrap
40196 @if target-winsup
40197 TARGET-target-winsup=all
40198 maybe-all-target-winsup: all-target-winsup
40199 all-target-winsup: configure-target-winsup
40200 @: $(MAKE); $(unstage)
40201 @r=`${PWD_COMMAND}`; export r; \
40202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40203 $(NORMAL_TARGET_EXPORTS) \
40204 (cd $(TARGET_SUBDIR)/winsup && \
40205 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40206 $(TARGET-target-winsup))
40207 @endif target-winsup
40213 .PHONY: check-target-winsup maybe-check-target-winsup
40214 maybe-check-target-winsup:
40215 @if target-winsup
40216 maybe-check-target-winsup: check-target-winsup
40218 check-target-winsup:
40219 @: $(MAKE); $(unstage)
40220 @r=`${PWD_COMMAND}`; export r; \
40221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40222 $(NORMAL_TARGET_EXPORTS) \
40223 (cd $(TARGET_SUBDIR)/winsup && \
40224 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40226 @endif target-winsup
40228 .PHONY: install-target-winsup maybe-install-target-winsup
40229 maybe-install-target-winsup:
40230 @if target-winsup
40231 maybe-install-target-winsup: install-target-winsup
40233 install-target-winsup: installdirs
40234 @: $(MAKE); $(unstage)
40235 @r=`${PWD_COMMAND}`; export r; \
40236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40237 $(NORMAL_TARGET_EXPORTS) \
40238 (cd $(TARGET_SUBDIR)/winsup && \
40239 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40241 @endif target-winsup
40243 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40244 maybe-install-strip-target-winsup:
40245 @if target-winsup
40246 maybe-install-strip-target-winsup: install-strip-target-winsup
40248 install-strip-target-winsup: installdirs
40249 @: $(MAKE); $(unstage)
40250 @r=`${PWD_COMMAND}`; export r; \
40251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40252 $(NORMAL_TARGET_EXPORTS) \
40253 (cd $(TARGET_SUBDIR)/winsup && \
40254 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40256 @endif target-winsup
40258 # Other targets (info, dvi, pdf, etc.)
40260 .PHONY: maybe-info-target-winsup info-target-winsup
40261 maybe-info-target-winsup:
40262 @if target-winsup
40263 maybe-info-target-winsup: info-target-winsup
40265 info-target-winsup: \
40266 configure-target-winsup
40267 @: $(MAKE); $(unstage)
40268 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40269 r=`${PWD_COMMAND}`; export r; \
40270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40271 $(NORMAL_TARGET_EXPORTS) \
40272 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40273 for flag in $(EXTRA_TARGET_FLAGS); do \
40274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40275 done; \
40276 (cd $(TARGET_SUBDIR)/winsup && \
40277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40279 "RANLIB=$${RANLIB}" \
40280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40281 info) \
40282 || exit 1
40284 @endif target-winsup
40286 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40287 maybe-dvi-target-winsup:
40288 @if target-winsup
40289 maybe-dvi-target-winsup: dvi-target-winsup
40291 dvi-target-winsup: \
40292 configure-target-winsup
40293 @: $(MAKE); $(unstage)
40294 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40295 r=`${PWD_COMMAND}`; export r; \
40296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40297 $(NORMAL_TARGET_EXPORTS) \
40298 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40299 for flag in $(EXTRA_TARGET_FLAGS); do \
40300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40301 done; \
40302 (cd $(TARGET_SUBDIR)/winsup && \
40303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40305 "RANLIB=$${RANLIB}" \
40306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40307 dvi) \
40308 || exit 1
40310 @endif target-winsup
40312 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40313 maybe-pdf-target-winsup:
40314 @if target-winsup
40315 maybe-pdf-target-winsup: pdf-target-winsup
40317 pdf-target-winsup: \
40318 configure-target-winsup
40319 @: $(MAKE); $(unstage)
40320 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40321 r=`${PWD_COMMAND}`; export r; \
40322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40323 $(NORMAL_TARGET_EXPORTS) \
40324 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40325 for flag in $(EXTRA_TARGET_FLAGS); do \
40326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40327 done; \
40328 (cd $(TARGET_SUBDIR)/winsup && \
40329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40331 "RANLIB=$${RANLIB}" \
40332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40333 pdf) \
40334 || exit 1
40336 @endif target-winsup
40338 .PHONY: maybe-html-target-winsup html-target-winsup
40339 maybe-html-target-winsup:
40340 @if target-winsup
40341 maybe-html-target-winsup: html-target-winsup
40343 html-target-winsup: \
40344 configure-target-winsup
40345 @: $(MAKE); $(unstage)
40346 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40347 r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 $(NORMAL_TARGET_EXPORTS) \
40350 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40351 for flag in $(EXTRA_TARGET_FLAGS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40353 done; \
40354 (cd $(TARGET_SUBDIR)/winsup && \
40355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40357 "RANLIB=$${RANLIB}" \
40358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40359 html) \
40360 || exit 1
40362 @endif target-winsup
40364 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40365 maybe-TAGS-target-winsup:
40366 @if target-winsup
40367 maybe-TAGS-target-winsup: TAGS-target-winsup
40369 TAGS-target-winsup: \
40370 configure-target-winsup
40371 @: $(MAKE); $(unstage)
40372 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40373 r=`${PWD_COMMAND}`; export r; \
40374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40375 $(NORMAL_TARGET_EXPORTS) \
40376 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40377 for flag in $(EXTRA_TARGET_FLAGS); do \
40378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40379 done; \
40380 (cd $(TARGET_SUBDIR)/winsup && \
40381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40383 "RANLIB=$${RANLIB}" \
40384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40385 TAGS) \
40386 || exit 1
40388 @endif target-winsup
40390 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40391 maybe-install-info-target-winsup:
40392 @if target-winsup
40393 maybe-install-info-target-winsup: install-info-target-winsup
40395 install-info-target-winsup: \
40396 configure-target-winsup \
40397 info-target-winsup
40398 @: $(MAKE); $(unstage)
40399 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40400 r=`${PWD_COMMAND}`; export r; \
40401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40402 $(NORMAL_TARGET_EXPORTS) \
40403 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40404 for flag in $(EXTRA_TARGET_FLAGS); do \
40405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40406 done; \
40407 (cd $(TARGET_SUBDIR)/winsup && \
40408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40410 "RANLIB=$${RANLIB}" \
40411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40412 install-info) \
40413 || exit 1
40415 @endif target-winsup
40417 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40418 maybe-install-pdf-target-winsup:
40419 @if target-winsup
40420 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40422 install-pdf-target-winsup: \
40423 configure-target-winsup \
40424 pdf-target-winsup
40425 @: $(MAKE); $(unstage)
40426 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40427 r=`${PWD_COMMAND}`; export r; \
40428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40429 $(NORMAL_TARGET_EXPORTS) \
40430 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40431 for flag in $(EXTRA_TARGET_FLAGS); do \
40432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40433 done; \
40434 (cd $(TARGET_SUBDIR)/winsup && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40437 "RANLIB=$${RANLIB}" \
40438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40439 install-pdf) \
40440 || exit 1
40442 @endif target-winsup
40444 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40445 maybe-install-html-target-winsup:
40446 @if target-winsup
40447 maybe-install-html-target-winsup: install-html-target-winsup
40449 install-html-target-winsup: \
40450 configure-target-winsup \
40451 html-target-winsup
40452 @: $(MAKE); $(unstage)
40453 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(NORMAL_TARGET_EXPORTS) \
40457 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40458 for flag in $(EXTRA_TARGET_FLAGS); do \
40459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40460 done; \
40461 (cd $(TARGET_SUBDIR)/winsup && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40466 install-html) \
40467 || exit 1
40469 @endif target-winsup
40471 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40472 maybe-installcheck-target-winsup:
40473 @if target-winsup
40474 maybe-installcheck-target-winsup: installcheck-target-winsup
40476 installcheck-target-winsup: \
40477 configure-target-winsup
40478 @: $(MAKE); $(unstage)
40479 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40480 r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 $(NORMAL_TARGET_EXPORTS) \
40483 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40484 for flag in $(EXTRA_TARGET_FLAGS); do \
40485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40486 done; \
40487 (cd $(TARGET_SUBDIR)/winsup && \
40488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40490 "RANLIB=$${RANLIB}" \
40491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40492 installcheck) \
40493 || exit 1
40495 @endif target-winsup
40497 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40498 maybe-mostlyclean-target-winsup:
40499 @if target-winsup
40500 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40502 mostlyclean-target-winsup:
40503 @: $(MAKE); $(unstage)
40504 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40505 r=`${PWD_COMMAND}`; export r; \
40506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40507 $(NORMAL_TARGET_EXPORTS) \
40508 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40509 for flag in $(EXTRA_TARGET_FLAGS); do \
40510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40511 done; \
40512 (cd $(TARGET_SUBDIR)/winsup && \
40513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40515 "RANLIB=$${RANLIB}" \
40516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40517 mostlyclean) \
40518 || exit 1
40520 @endif target-winsup
40522 .PHONY: maybe-clean-target-winsup clean-target-winsup
40523 maybe-clean-target-winsup:
40524 @if target-winsup
40525 maybe-clean-target-winsup: clean-target-winsup
40527 clean-target-winsup:
40528 @: $(MAKE); $(unstage)
40529 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40530 r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 $(NORMAL_TARGET_EXPORTS) \
40533 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40534 for flag in $(EXTRA_TARGET_FLAGS); do \
40535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40536 done; \
40537 (cd $(TARGET_SUBDIR)/winsup && \
40538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40540 "RANLIB=$${RANLIB}" \
40541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40542 clean) \
40543 || exit 1
40545 @endif target-winsup
40547 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40548 maybe-distclean-target-winsup:
40549 @if target-winsup
40550 maybe-distclean-target-winsup: distclean-target-winsup
40552 distclean-target-winsup:
40553 @: $(MAKE); $(unstage)
40554 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40555 r=`${PWD_COMMAND}`; export r; \
40556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40557 $(NORMAL_TARGET_EXPORTS) \
40558 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40559 for flag in $(EXTRA_TARGET_FLAGS); do \
40560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40561 done; \
40562 (cd $(TARGET_SUBDIR)/winsup && \
40563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40565 "RANLIB=$${RANLIB}" \
40566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40567 distclean) \
40568 || exit 1
40570 @endif target-winsup
40572 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40573 maybe-maintainer-clean-target-winsup:
40574 @if target-winsup
40575 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40577 maintainer-clean-target-winsup:
40578 @: $(MAKE); $(unstage)
40579 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40580 r=`${PWD_COMMAND}`; export r; \
40581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40582 $(NORMAL_TARGET_EXPORTS) \
40583 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40584 for flag in $(EXTRA_TARGET_FLAGS); do \
40585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40586 done; \
40587 (cd $(TARGET_SUBDIR)/winsup && \
40588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40590 "RANLIB=$${RANLIB}" \
40591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40592 maintainer-clean) \
40593 || exit 1
40595 @endif target-winsup
40601 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40602 maybe-configure-target-libgloss:
40603 @if gcc-bootstrap
40604 configure-target-libgloss: stage_current
40605 @endif gcc-bootstrap
40606 @if target-libgloss
40607 maybe-configure-target-libgloss: configure-target-libgloss
40608 configure-target-libgloss:
40609 @: $(MAKE); $(unstage)
40610 @r=`${PWD_COMMAND}`; export r; \
40611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40612 echo "Checking multilib configuration for libgloss..."; \
40613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40614 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40615 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40616 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40617 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40618 else \
40619 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40620 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40621 fi; \
40622 else \
40623 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40624 fi; \
40625 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40627 $(NORMAL_TARGET_EXPORTS) \
40628 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40629 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40630 case $(srcdir) in \
40631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40632 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40634 esac; \
40635 module_srcdir=libgloss; \
40636 rm -f no-such-file || : ; \
40637 CONFIG_SITE=no-such-file $(SHELL) \
40638 $$s/$$module_srcdir/configure \
40639 --srcdir=$${topdir}/$$module_srcdir \
40640 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40641 --target=${target_alias} \
40642 || exit 1
40643 @endif target-libgloss
40649 .PHONY: all-target-libgloss maybe-all-target-libgloss
40650 maybe-all-target-libgloss:
40651 @if gcc-bootstrap
40652 all-target-libgloss: stage_current
40653 @endif gcc-bootstrap
40654 @if target-libgloss
40655 TARGET-target-libgloss=all
40656 maybe-all-target-libgloss: all-target-libgloss
40657 all-target-libgloss: configure-target-libgloss
40658 @: $(MAKE); $(unstage)
40659 @r=`${PWD_COMMAND}`; export r; \
40660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40661 $(NORMAL_TARGET_EXPORTS) \
40662 (cd $(TARGET_SUBDIR)/libgloss && \
40663 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40664 $(TARGET-target-libgloss))
40665 @endif target-libgloss
40671 .PHONY: check-target-libgloss maybe-check-target-libgloss
40672 maybe-check-target-libgloss:
40673 @if target-libgloss
40674 maybe-check-target-libgloss: check-target-libgloss
40676 # Dummy target for uncheckable module.
40677 check-target-libgloss:
40679 @endif target-libgloss
40681 .PHONY: install-target-libgloss maybe-install-target-libgloss
40682 maybe-install-target-libgloss:
40683 @if target-libgloss
40684 maybe-install-target-libgloss: install-target-libgloss
40686 install-target-libgloss: installdirs
40687 @: $(MAKE); $(unstage)
40688 @r=`${PWD_COMMAND}`; export r; \
40689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40690 $(NORMAL_TARGET_EXPORTS) \
40691 (cd $(TARGET_SUBDIR)/libgloss && \
40692 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40694 @endif target-libgloss
40696 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40697 maybe-install-strip-target-libgloss:
40698 @if target-libgloss
40699 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40701 install-strip-target-libgloss: installdirs
40702 @: $(MAKE); $(unstage)
40703 @r=`${PWD_COMMAND}`; export r; \
40704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40705 $(NORMAL_TARGET_EXPORTS) \
40706 (cd $(TARGET_SUBDIR)/libgloss && \
40707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40709 @endif target-libgloss
40711 # Other targets (info, dvi, pdf, etc.)
40713 .PHONY: maybe-info-target-libgloss info-target-libgloss
40714 maybe-info-target-libgloss:
40715 @if target-libgloss
40716 maybe-info-target-libgloss: info-target-libgloss
40718 info-target-libgloss: \
40719 configure-target-libgloss
40720 @: $(MAKE); $(unstage)
40721 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40722 r=`${PWD_COMMAND}`; export r; \
40723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40724 $(NORMAL_TARGET_EXPORTS) \
40725 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40726 for flag in $(EXTRA_TARGET_FLAGS); do \
40727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40728 done; \
40729 (cd $(TARGET_SUBDIR)/libgloss && \
40730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40732 "RANLIB=$${RANLIB}" \
40733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40734 info) \
40735 || exit 1
40737 @endif target-libgloss
40739 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40740 maybe-dvi-target-libgloss:
40741 @if target-libgloss
40742 maybe-dvi-target-libgloss: dvi-target-libgloss
40744 dvi-target-libgloss: \
40745 configure-target-libgloss
40746 @: $(MAKE); $(unstage)
40747 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40748 r=`${PWD_COMMAND}`; export r; \
40749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40750 $(NORMAL_TARGET_EXPORTS) \
40751 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40752 for flag in $(EXTRA_TARGET_FLAGS); do \
40753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40754 done; \
40755 (cd $(TARGET_SUBDIR)/libgloss && \
40756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40758 "RANLIB=$${RANLIB}" \
40759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40760 dvi) \
40761 || exit 1
40763 @endif target-libgloss
40765 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40766 maybe-pdf-target-libgloss:
40767 @if target-libgloss
40768 maybe-pdf-target-libgloss: pdf-target-libgloss
40770 pdf-target-libgloss: \
40771 configure-target-libgloss
40772 @: $(MAKE); $(unstage)
40773 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40774 r=`${PWD_COMMAND}`; export r; \
40775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40776 $(NORMAL_TARGET_EXPORTS) \
40777 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40778 for flag in $(EXTRA_TARGET_FLAGS); do \
40779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40780 done; \
40781 (cd $(TARGET_SUBDIR)/libgloss && \
40782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40784 "RANLIB=$${RANLIB}" \
40785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40786 pdf) \
40787 || exit 1
40789 @endif target-libgloss
40791 .PHONY: maybe-html-target-libgloss html-target-libgloss
40792 maybe-html-target-libgloss:
40793 @if target-libgloss
40794 maybe-html-target-libgloss: html-target-libgloss
40796 html-target-libgloss: \
40797 configure-target-libgloss
40798 @: $(MAKE); $(unstage)
40799 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40800 r=`${PWD_COMMAND}`; export r; \
40801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40802 $(NORMAL_TARGET_EXPORTS) \
40803 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40804 for flag in $(EXTRA_TARGET_FLAGS); do \
40805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40806 done; \
40807 (cd $(TARGET_SUBDIR)/libgloss && \
40808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40810 "RANLIB=$${RANLIB}" \
40811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40812 html) \
40813 || exit 1
40815 @endif target-libgloss
40817 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40818 maybe-TAGS-target-libgloss:
40819 @if target-libgloss
40820 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40822 TAGS-target-libgloss: \
40823 configure-target-libgloss
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(NORMAL_TARGET_EXPORTS) \
40829 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/libgloss && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 TAGS) \
40839 || exit 1
40841 @endif target-libgloss
40843 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40844 maybe-install-info-target-libgloss:
40845 @if target-libgloss
40846 maybe-install-info-target-libgloss: install-info-target-libgloss
40848 install-info-target-libgloss: \
40849 configure-target-libgloss \
40850 info-target-libgloss
40851 @: $(MAKE); $(unstage)
40852 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40853 r=`${PWD_COMMAND}`; export r; \
40854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40855 $(NORMAL_TARGET_EXPORTS) \
40856 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40857 for flag in $(EXTRA_TARGET_FLAGS); do \
40858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40859 done; \
40860 (cd $(TARGET_SUBDIR)/libgloss && \
40861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40863 "RANLIB=$${RANLIB}" \
40864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40865 install-info) \
40866 || exit 1
40868 @endif target-libgloss
40870 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40871 maybe-install-pdf-target-libgloss:
40872 @if target-libgloss
40873 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40875 install-pdf-target-libgloss: \
40876 configure-target-libgloss \
40877 pdf-target-libgloss
40878 @: $(MAKE); $(unstage)
40879 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40880 r=`${PWD_COMMAND}`; export r; \
40881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40882 $(NORMAL_TARGET_EXPORTS) \
40883 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40884 for flag in $(EXTRA_TARGET_FLAGS); do \
40885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40886 done; \
40887 (cd $(TARGET_SUBDIR)/libgloss && \
40888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40890 "RANLIB=$${RANLIB}" \
40891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40892 install-pdf) \
40893 || exit 1
40895 @endif target-libgloss
40897 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
40898 maybe-install-html-target-libgloss:
40899 @if target-libgloss
40900 maybe-install-html-target-libgloss: install-html-target-libgloss
40902 install-html-target-libgloss: \
40903 configure-target-libgloss \
40904 html-target-libgloss
40905 @: $(MAKE); $(unstage)
40906 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40907 r=`${PWD_COMMAND}`; export r; \
40908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40909 $(NORMAL_TARGET_EXPORTS) \
40910 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
40911 for flag in $(EXTRA_TARGET_FLAGS); do \
40912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40913 done; \
40914 (cd $(TARGET_SUBDIR)/libgloss && \
40915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40917 "RANLIB=$${RANLIB}" \
40918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40919 install-html) \
40920 || exit 1
40922 @endif target-libgloss
40924 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
40925 maybe-installcheck-target-libgloss:
40926 @if target-libgloss
40927 maybe-installcheck-target-libgloss: installcheck-target-libgloss
40929 installcheck-target-libgloss: \
40930 configure-target-libgloss
40931 @: $(MAKE); $(unstage)
40932 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40933 r=`${PWD_COMMAND}`; export r; \
40934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
40937 for flag in $(EXTRA_TARGET_FLAGS); do \
40938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40939 done; \
40940 (cd $(TARGET_SUBDIR)/libgloss && \
40941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40943 "RANLIB=$${RANLIB}" \
40944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40945 installcheck) \
40946 || exit 1
40948 @endif target-libgloss
40950 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
40951 maybe-mostlyclean-target-libgloss:
40952 @if target-libgloss
40953 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
40955 mostlyclean-target-libgloss:
40956 @: $(MAKE); $(unstage)
40957 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40958 r=`${PWD_COMMAND}`; export r; \
40959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40960 $(NORMAL_TARGET_EXPORTS) \
40961 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
40962 for flag in $(EXTRA_TARGET_FLAGS); do \
40963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40964 done; \
40965 (cd $(TARGET_SUBDIR)/libgloss && \
40966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40968 "RANLIB=$${RANLIB}" \
40969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40970 mostlyclean) \
40971 || exit 1
40973 @endif target-libgloss
40975 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
40976 maybe-clean-target-libgloss:
40977 @if target-libgloss
40978 maybe-clean-target-libgloss: clean-target-libgloss
40980 clean-target-libgloss:
40981 @: $(MAKE); $(unstage)
40982 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40983 r=`${PWD_COMMAND}`; export r; \
40984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40985 $(NORMAL_TARGET_EXPORTS) \
40986 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
40987 for flag in $(EXTRA_TARGET_FLAGS); do \
40988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40989 done; \
40990 (cd $(TARGET_SUBDIR)/libgloss && \
40991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40993 "RANLIB=$${RANLIB}" \
40994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40995 clean) \
40996 || exit 1
40998 @endif target-libgloss
41000 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41001 maybe-distclean-target-libgloss:
41002 @if target-libgloss
41003 maybe-distclean-target-libgloss: distclean-target-libgloss
41005 distclean-target-libgloss:
41006 @: $(MAKE); $(unstage)
41007 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41008 r=`${PWD_COMMAND}`; export r; \
41009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41010 $(NORMAL_TARGET_EXPORTS) \
41011 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41012 for flag in $(EXTRA_TARGET_FLAGS); do \
41013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41014 done; \
41015 (cd $(TARGET_SUBDIR)/libgloss && \
41016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41018 "RANLIB=$${RANLIB}" \
41019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41020 distclean) \
41021 || exit 1
41023 @endif target-libgloss
41025 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41026 maybe-maintainer-clean-target-libgloss:
41027 @if target-libgloss
41028 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41030 maintainer-clean-target-libgloss:
41031 @: $(MAKE); $(unstage)
41032 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41033 r=`${PWD_COMMAND}`; export r; \
41034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41035 $(NORMAL_TARGET_EXPORTS) \
41036 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41037 for flag in $(EXTRA_TARGET_FLAGS); do \
41038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41039 done; \
41040 (cd $(TARGET_SUBDIR)/libgloss && \
41041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41043 "RANLIB=$${RANLIB}" \
41044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41045 maintainer-clean) \
41046 || exit 1
41048 @endif target-libgloss
41054 .PHONY: configure-target-libffi maybe-configure-target-libffi
41055 maybe-configure-target-libffi:
41056 @if gcc-bootstrap
41057 configure-target-libffi: stage_current
41058 @endif gcc-bootstrap
41059 @if target-libffi
41060 maybe-configure-target-libffi: configure-target-libffi
41061 configure-target-libffi:
41062 @: $(MAKE); $(unstage)
41063 @r=`${PWD_COMMAND}`; export r; \
41064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41065 echo "Checking multilib configuration for libffi..."; \
41066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41067 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41068 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41069 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41070 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41071 else \
41072 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41073 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41074 fi; \
41075 else \
41076 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41077 fi; \
41078 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41080 $(NORMAL_TARGET_EXPORTS) \
41081 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41082 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41083 case $(srcdir) in \
41084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41085 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41087 esac; \
41088 module_srcdir=libffi; \
41089 rm -f no-such-file || : ; \
41090 CONFIG_SITE=no-such-file $(SHELL) \
41091 $$s/$$module_srcdir/configure \
41092 --srcdir=$${topdir}/$$module_srcdir \
41093 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41094 --target=${target_alias} \
41095 || exit 1
41096 @endif target-libffi
41102 .PHONY: all-target-libffi maybe-all-target-libffi
41103 maybe-all-target-libffi:
41104 @if gcc-bootstrap
41105 all-target-libffi: stage_current
41106 @endif gcc-bootstrap
41107 @if target-libffi
41108 TARGET-target-libffi=all
41109 maybe-all-target-libffi: all-target-libffi
41110 all-target-libffi: configure-target-libffi
41111 @: $(MAKE); $(unstage)
41112 @r=`${PWD_COMMAND}`; export r; \
41113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41114 $(NORMAL_TARGET_EXPORTS) \
41115 (cd $(TARGET_SUBDIR)/libffi && \
41116 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41117 $(TARGET-target-libffi))
41118 @endif target-libffi
41124 .PHONY: check-target-libffi maybe-check-target-libffi
41125 maybe-check-target-libffi:
41126 @if target-libffi
41127 maybe-check-target-libffi: check-target-libffi
41129 check-target-libffi:
41130 @: $(MAKE); $(unstage)
41131 @r=`${PWD_COMMAND}`; export r; \
41132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41133 $(NORMAL_TARGET_EXPORTS) \
41134 (cd $(TARGET_SUBDIR)/libffi && \
41135 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41137 @endif target-libffi
41139 .PHONY: install-target-libffi maybe-install-target-libffi
41140 maybe-install-target-libffi:
41141 @if target-libffi
41142 maybe-install-target-libffi: install-target-libffi
41144 # Dummy target for uninstallable.
41145 install-target-libffi:
41147 @endif target-libffi
41149 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41150 maybe-install-strip-target-libffi:
41151 @if target-libffi
41152 maybe-install-strip-target-libffi: install-strip-target-libffi
41154 # Dummy target for uninstallable.
41155 install-strip-target-libffi:
41157 @endif target-libffi
41159 # Other targets (info, dvi, pdf, etc.)
41161 .PHONY: maybe-info-target-libffi info-target-libffi
41162 maybe-info-target-libffi:
41163 @if target-libffi
41164 maybe-info-target-libffi: info-target-libffi
41166 info-target-libffi: \
41167 configure-target-libffi
41168 @: $(MAKE); $(unstage)
41169 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41170 r=`${PWD_COMMAND}`; export r; \
41171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41172 $(NORMAL_TARGET_EXPORTS) \
41173 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41174 for flag in $(EXTRA_TARGET_FLAGS); do \
41175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41176 done; \
41177 (cd $(TARGET_SUBDIR)/libffi && \
41178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41180 "RANLIB=$${RANLIB}" \
41181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41182 info) \
41183 || exit 1
41185 @endif target-libffi
41187 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41188 maybe-dvi-target-libffi:
41189 @if target-libffi
41190 maybe-dvi-target-libffi: dvi-target-libffi
41192 dvi-target-libffi: \
41193 configure-target-libffi
41194 @: $(MAKE); $(unstage)
41195 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41196 r=`${PWD_COMMAND}`; export r; \
41197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41198 $(NORMAL_TARGET_EXPORTS) \
41199 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41200 for flag in $(EXTRA_TARGET_FLAGS); do \
41201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41202 done; \
41203 (cd $(TARGET_SUBDIR)/libffi && \
41204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41206 "RANLIB=$${RANLIB}" \
41207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41208 dvi) \
41209 || exit 1
41211 @endif target-libffi
41213 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41214 maybe-pdf-target-libffi:
41215 @if target-libffi
41216 maybe-pdf-target-libffi: pdf-target-libffi
41218 pdf-target-libffi: \
41219 configure-target-libffi
41220 @: $(MAKE); $(unstage)
41221 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41222 r=`${PWD_COMMAND}`; export r; \
41223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41224 $(NORMAL_TARGET_EXPORTS) \
41225 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41226 for flag in $(EXTRA_TARGET_FLAGS); do \
41227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41228 done; \
41229 (cd $(TARGET_SUBDIR)/libffi && \
41230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41232 "RANLIB=$${RANLIB}" \
41233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41234 pdf) \
41235 || exit 1
41237 @endif target-libffi
41239 .PHONY: maybe-html-target-libffi html-target-libffi
41240 maybe-html-target-libffi:
41241 @if target-libffi
41242 maybe-html-target-libffi: html-target-libffi
41244 html-target-libffi: \
41245 configure-target-libffi
41246 @: $(MAKE); $(unstage)
41247 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41248 r=`${PWD_COMMAND}`; export r; \
41249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41250 $(NORMAL_TARGET_EXPORTS) \
41251 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41252 for flag in $(EXTRA_TARGET_FLAGS); do \
41253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41254 done; \
41255 (cd $(TARGET_SUBDIR)/libffi && \
41256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41258 "RANLIB=$${RANLIB}" \
41259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41260 html) \
41261 || exit 1
41263 @endif target-libffi
41265 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41266 maybe-TAGS-target-libffi:
41267 @if target-libffi
41268 maybe-TAGS-target-libffi: TAGS-target-libffi
41270 TAGS-target-libffi: \
41271 configure-target-libffi
41272 @: $(MAKE); $(unstage)
41273 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41274 r=`${PWD_COMMAND}`; export r; \
41275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41276 $(NORMAL_TARGET_EXPORTS) \
41277 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41278 for flag in $(EXTRA_TARGET_FLAGS); do \
41279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41280 done; \
41281 (cd $(TARGET_SUBDIR)/libffi && \
41282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41284 "RANLIB=$${RANLIB}" \
41285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41286 TAGS) \
41287 || exit 1
41289 @endif target-libffi
41291 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41292 maybe-install-info-target-libffi:
41293 @if target-libffi
41294 maybe-install-info-target-libffi: install-info-target-libffi
41296 install-info-target-libffi: \
41297 configure-target-libffi \
41298 info-target-libffi
41299 @: $(MAKE); $(unstage)
41300 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41301 r=`${PWD_COMMAND}`; export r; \
41302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41303 $(NORMAL_TARGET_EXPORTS) \
41304 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41305 for flag in $(EXTRA_TARGET_FLAGS); do \
41306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41307 done; \
41308 (cd $(TARGET_SUBDIR)/libffi && \
41309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41311 "RANLIB=$${RANLIB}" \
41312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41313 install-info) \
41314 || exit 1
41316 @endif target-libffi
41318 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41319 maybe-install-pdf-target-libffi:
41320 @if target-libffi
41321 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41323 install-pdf-target-libffi: \
41324 configure-target-libffi \
41325 pdf-target-libffi
41326 @: $(MAKE); $(unstage)
41327 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41328 r=`${PWD_COMMAND}`; export r; \
41329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41330 $(NORMAL_TARGET_EXPORTS) \
41331 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41332 for flag in $(EXTRA_TARGET_FLAGS); do \
41333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41334 done; \
41335 (cd $(TARGET_SUBDIR)/libffi && \
41336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41338 "RANLIB=$${RANLIB}" \
41339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41340 install-pdf) \
41341 || exit 1
41343 @endif target-libffi
41345 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41346 maybe-install-html-target-libffi:
41347 @if target-libffi
41348 maybe-install-html-target-libffi: install-html-target-libffi
41350 install-html-target-libffi: \
41351 configure-target-libffi \
41352 html-target-libffi
41353 @: $(MAKE); $(unstage)
41354 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41355 r=`${PWD_COMMAND}`; export r; \
41356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41357 $(NORMAL_TARGET_EXPORTS) \
41358 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41359 for flag in $(EXTRA_TARGET_FLAGS); do \
41360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41361 done; \
41362 (cd $(TARGET_SUBDIR)/libffi && \
41363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41365 "RANLIB=$${RANLIB}" \
41366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41367 install-html) \
41368 || exit 1
41370 @endif target-libffi
41372 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41373 maybe-installcheck-target-libffi:
41374 @if target-libffi
41375 maybe-installcheck-target-libffi: installcheck-target-libffi
41377 installcheck-target-libffi: \
41378 configure-target-libffi
41379 @: $(MAKE); $(unstage)
41380 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41381 r=`${PWD_COMMAND}`; export r; \
41382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41383 $(NORMAL_TARGET_EXPORTS) \
41384 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41385 for flag in $(EXTRA_TARGET_FLAGS); do \
41386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41387 done; \
41388 (cd $(TARGET_SUBDIR)/libffi && \
41389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41391 "RANLIB=$${RANLIB}" \
41392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41393 installcheck) \
41394 || exit 1
41396 @endif target-libffi
41398 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41399 maybe-mostlyclean-target-libffi:
41400 @if target-libffi
41401 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41403 mostlyclean-target-libffi:
41404 @: $(MAKE); $(unstage)
41405 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41406 r=`${PWD_COMMAND}`; export r; \
41407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41408 $(NORMAL_TARGET_EXPORTS) \
41409 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41410 for flag in $(EXTRA_TARGET_FLAGS); do \
41411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41412 done; \
41413 (cd $(TARGET_SUBDIR)/libffi && \
41414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41416 "RANLIB=$${RANLIB}" \
41417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41418 mostlyclean) \
41419 || exit 1
41421 @endif target-libffi
41423 .PHONY: maybe-clean-target-libffi clean-target-libffi
41424 maybe-clean-target-libffi:
41425 @if target-libffi
41426 maybe-clean-target-libffi: clean-target-libffi
41428 clean-target-libffi:
41429 @: $(MAKE); $(unstage)
41430 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41431 r=`${PWD_COMMAND}`; export r; \
41432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41433 $(NORMAL_TARGET_EXPORTS) \
41434 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41435 for flag in $(EXTRA_TARGET_FLAGS); do \
41436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41437 done; \
41438 (cd $(TARGET_SUBDIR)/libffi && \
41439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41441 "RANLIB=$${RANLIB}" \
41442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41443 clean) \
41444 || exit 1
41446 @endif target-libffi
41448 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41449 maybe-distclean-target-libffi:
41450 @if target-libffi
41451 maybe-distclean-target-libffi: distclean-target-libffi
41453 distclean-target-libffi:
41454 @: $(MAKE); $(unstage)
41455 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41456 r=`${PWD_COMMAND}`; export r; \
41457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41458 $(NORMAL_TARGET_EXPORTS) \
41459 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41460 for flag in $(EXTRA_TARGET_FLAGS); do \
41461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41462 done; \
41463 (cd $(TARGET_SUBDIR)/libffi && \
41464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41466 "RANLIB=$${RANLIB}" \
41467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41468 distclean) \
41469 || exit 1
41471 @endif target-libffi
41473 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41474 maybe-maintainer-clean-target-libffi:
41475 @if target-libffi
41476 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41478 maintainer-clean-target-libffi:
41479 @: $(MAKE); $(unstage)
41480 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41481 r=`${PWD_COMMAND}`; export r; \
41482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41483 $(NORMAL_TARGET_EXPORTS) \
41484 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41485 for flag in $(EXTRA_TARGET_FLAGS); do \
41486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41487 done; \
41488 (cd $(TARGET_SUBDIR)/libffi && \
41489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41491 "RANLIB=$${RANLIB}" \
41492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41493 maintainer-clean) \
41494 || exit 1
41496 @endif target-libffi
41502 .PHONY: configure-target-libjava maybe-configure-target-libjava
41503 maybe-configure-target-libjava:
41504 @if gcc-bootstrap
41505 configure-target-libjava: stage_current
41506 @endif gcc-bootstrap
41507 @if target-libjava
41508 maybe-configure-target-libjava: configure-target-libjava
41509 configure-target-libjava:
41510 @: $(MAKE); $(unstage)
41511 @r=`${PWD_COMMAND}`; export r; \
41512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41513 echo "Checking multilib configuration for libjava..."; \
41514 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41515 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41516 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41517 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41518 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41519 else \
41520 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41521 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41522 fi; \
41523 else \
41524 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41525 fi; \
41526 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41528 $(RAW_CXX_TARGET_EXPORTS) \
41529 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41530 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41531 case $(srcdir) in \
41532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41533 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41535 esac; \
41536 module_srcdir=libjava; \
41537 rm -f no-such-file || : ; \
41538 CONFIG_SITE=no-such-file $(SHELL) \
41539 $$s/$$module_srcdir/configure \
41540 --srcdir=$${topdir}/$$module_srcdir \
41541 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41542 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41543 || exit 1
41544 @endif target-libjava
41550 .PHONY: all-target-libjava maybe-all-target-libjava
41551 maybe-all-target-libjava:
41552 @if gcc-bootstrap
41553 all-target-libjava: stage_current
41554 @endif gcc-bootstrap
41555 @if target-libjava
41556 TARGET-target-libjava=all
41557 maybe-all-target-libjava: all-target-libjava
41558 all-target-libjava: configure-target-libjava
41559 @: $(MAKE); $(unstage)
41560 @r=`${PWD_COMMAND}`; export r; \
41561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41562 $(RAW_CXX_TARGET_EXPORTS) \
41563 (cd $(TARGET_SUBDIR)/libjava && \
41564 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41565 $(TARGET-target-libjava))
41566 @endif target-libjava
41572 .PHONY: check-target-libjava maybe-check-target-libjava
41573 maybe-check-target-libjava:
41574 @if target-libjava
41575 maybe-check-target-libjava: check-target-libjava
41577 check-target-libjava:
41578 @: $(MAKE); $(unstage)
41579 @r=`${PWD_COMMAND}`; export r; \
41580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41581 $(RAW_CXX_TARGET_EXPORTS) \
41582 (cd $(TARGET_SUBDIR)/libjava && \
41583 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41585 @endif target-libjava
41587 .PHONY: install-target-libjava maybe-install-target-libjava
41588 maybe-install-target-libjava:
41589 @if target-libjava
41590 maybe-install-target-libjava: install-target-libjava
41592 install-target-libjava: installdirs
41593 @: $(MAKE); $(unstage)
41594 @r=`${PWD_COMMAND}`; export r; \
41595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41596 $(RAW_CXX_TARGET_EXPORTS) \
41597 (cd $(TARGET_SUBDIR)/libjava && \
41598 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41600 @endif target-libjava
41602 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41603 maybe-install-strip-target-libjava:
41604 @if target-libjava
41605 maybe-install-strip-target-libjava: install-strip-target-libjava
41607 install-strip-target-libjava: installdirs
41608 @: $(MAKE); $(unstage)
41609 @r=`${PWD_COMMAND}`; export r; \
41610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41611 $(RAW_CXX_TARGET_EXPORTS) \
41612 (cd $(TARGET_SUBDIR)/libjava && \
41613 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41615 @endif target-libjava
41617 # Other targets (info, dvi, pdf, etc.)
41619 .PHONY: maybe-info-target-libjava info-target-libjava
41620 maybe-info-target-libjava:
41621 @if target-libjava
41622 maybe-info-target-libjava: info-target-libjava
41624 info-target-libjava: \
41625 configure-target-libjava
41626 @: $(MAKE); $(unstage)
41627 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41628 r=`${PWD_COMMAND}`; export r; \
41629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41630 $(RAW_CXX_TARGET_EXPORTS) \
41631 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41632 for flag in $(EXTRA_TARGET_FLAGS); do \
41633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41634 done; \
41635 (cd $(TARGET_SUBDIR)/libjava && \
41636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41638 "RANLIB=$${RANLIB}" \
41639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41640 info) \
41641 || exit 1
41643 @endif target-libjava
41645 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41646 maybe-dvi-target-libjava:
41647 @if target-libjava
41648 maybe-dvi-target-libjava: dvi-target-libjava
41650 dvi-target-libjava: \
41651 configure-target-libjava
41652 @: $(MAKE); $(unstage)
41653 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41654 r=`${PWD_COMMAND}`; export r; \
41655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41656 $(RAW_CXX_TARGET_EXPORTS) \
41657 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41658 for flag in $(EXTRA_TARGET_FLAGS); do \
41659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41660 done; \
41661 (cd $(TARGET_SUBDIR)/libjava && \
41662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41664 "RANLIB=$${RANLIB}" \
41665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41666 dvi) \
41667 || exit 1
41669 @endif target-libjava
41671 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41672 maybe-pdf-target-libjava:
41673 @if target-libjava
41674 maybe-pdf-target-libjava: pdf-target-libjava
41676 pdf-target-libjava: \
41677 configure-target-libjava
41678 @: $(MAKE); $(unstage)
41679 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41680 r=`${PWD_COMMAND}`; export r; \
41681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41682 $(RAW_CXX_TARGET_EXPORTS) \
41683 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41684 for flag in $(EXTRA_TARGET_FLAGS); do \
41685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41686 done; \
41687 (cd $(TARGET_SUBDIR)/libjava && \
41688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41690 "RANLIB=$${RANLIB}" \
41691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41692 pdf) \
41693 || exit 1
41695 @endif target-libjava
41697 .PHONY: maybe-html-target-libjava html-target-libjava
41698 maybe-html-target-libjava:
41699 @if target-libjava
41700 maybe-html-target-libjava: html-target-libjava
41702 html-target-libjava: \
41703 configure-target-libjava
41704 @: $(MAKE); $(unstage)
41705 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41706 r=`${PWD_COMMAND}`; export r; \
41707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41708 $(RAW_CXX_TARGET_EXPORTS) \
41709 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41710 for flag in $(EXTRA_TARGET_FLAGS); do \
41711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41712 done; \
41713 (cd $(TARGET_SUBDIR)/libjava && \
41714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41716 "RANLIB=$${RANLIB}" \
41717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41718 html) \
41719 || exit 1
41721 @endif target-libjava
41723 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41724 maybe-TAGS-target-libjava:
41725 @if target-libjava
41726 maybe-TAGS-target-libjava: TAGS-target-libjava
41728 TAGS-target-libjava: \
41729 configure-target-libjava
41730 @: $(MAKE); $(unstage)
41731 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41732 r=`${PWD_COMMAND}`; export r; \
41733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41734 $(RAW_CXX_TARGET_EXPORTS) \
41735 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41736 for flag in $(EXTRA_TARGET_FLAGS); do \
41737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41738 done; \
41739 (cd $(TARGET_SUBDIR)/libjava && \
41740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41742 "RANLIB=$${RANLIB}" \
41743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41744 TAGS) \
41745 || exit 1
41747 @endif target-libjava
41749 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41750 maybe-install-info-target-libjava:
41751 @if target-libjava
41752 maybe-install-info-target-libjava: install-info-target-libjava
41754 install-info-target-libjava: \
41755 configure-target-libjava \
41756 info-target-libjava
41757 @: $(MAKE); $(unstage)
41758 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41759 r=`${PWD_COMMAND}`; export r; \
41760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41761 $(RAW_CXX_TARGET_EXPORTS) \
41762 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41763 for flag in $(EXTRA_TARGET_FLAGS); do \
41764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41765 done; \
41766 (cd $(TARGET_SUBDIR)/libjava && \
41767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41769 "RANLIB=$${RANLIB}" \
41770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41771 install-info) \
41772 || exit 1
41774 @endif target-libjava
41776 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41777 maybe-install-pdf-target-libjava:
41778 @if target-libjava
41779 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41781 install-pdf-target-libjava: \
41782 configure-target-libjava \
41783 pdf-target-libjava
41784 @: $(MAKE); $(unstage)
41785 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41786 r=`${PWD_COMMAND}`; export r; \
41787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41788 $(RAW_CXX_TARGET_EXPORTS) \
41789 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41790 for flag in $(EXTRA_TARGET_FLAGS); do \
41791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41792 done; \
41793 (cd $(TARGET_SUBDIR)/libjava && \
41794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41796 "RANLIB=$${RANLIB}" \
41797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41798 install-pdf) \
41799 || exit 1
41801 @endif target-libjava
41803 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41804 maybe-install-html-target-libjava:
41805 @if target-libjava
41806 maybe-install-html-target-libjava: install-html-target-libjava
41808 install-html-target-libjava: \
41809 configure-target-libjava \
41810 html-target-libjava
41811 @: $(MAKE); $(unstage)
41812 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41813 r=`${PWD_COMMAND}`; export r; \
41814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41815 $(RAW_CXX_TARGET_EXPORTS) \
41816 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41817 for flag in $(EXTRA_TARGET_FLAGS); do \
41818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41819 done; \
41820 (cd $(TARGET_SUBDIR)/libjava && \
41821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41823 "RANLIB=$${RANLIB}" \
41824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41825 install-html) \
41826 || exit 1
41828 @endif target-libjava
41830 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41831 maybe-installcheck-target-libjava:
41832 @if target-libjava
41833 maybe-installcheck-target-libjava: installcheck-target-libjava
41835 installcheck-target-libjava: \
41836 configure-target-libjava
41837 @: $(MAKE); $(unstage)
41838 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41839 r=`${PWD_COMMAND}`; export r; \
41840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41841 $(RAW_CXX_TARGET_EXPORTS) \
41842 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41843 for flag in $(EXTRA_TARGET_FLAGS); do \
41844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41845 done; \
41846 (cd $(TARGET_SUBDIR)/libjava && \
41847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41849 "RANLIB=$${RANLIB}" \
41850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41851 installcheck) \
41852 || exit 1
41854 @endif target-libjava
41856 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41857 maybe-mostlyclean-target-libjava:
41858 @if target-libjava
41859 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41861 mostlyclean-target-libjava:
41862 @: $(MAKE); $(unstage)
41863 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41864 r=`${PWD_COMMAND}`; export r; \
41865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41866 $(RAW_CXX_TARGET_EXPORTS) \
41867 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41868 for flag in $(EXTRA_TARGET_FLAGS); do \
41869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41870 done; \
41871 (cd $(TARGET_SUBDIR)/libjava && \
41872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41874 "RANLIB=$${RANLIB}" \
41875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41876 mostlyclean) \
41877 || exit 1
41879 @endif target-libjava
41881 .PHONY: maybe-clean-target-libjava clean-target-libjava
41882 maybe-clean-target-libjava:
41883 @if target-libjava
41884 maybe-clean-target-libjava: clean-target-libjava
41886 clean-target-libjava:
41887 @: $(MAKE); $(unstage)
41888 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41889 r=`${PWD_COMMAND}`; export r; \
41890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41891 $(RAW_CXX_TARGET_EXPORTS) \
41892 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41893 for flag in $(EXTRA_TARGET_FLAGS); do \
41894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41895 done; \
41896 (cd $(TARGET_SUBDIR)/libjava && \
41897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41899 "RANLIB=$${RANLIB}" \
41900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41901 clean) \
41902 || exit 1
41904 @endif target-libjava
41906 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41907 maybe-distclean-target-libjava:
41908 @if target-libjava
41909 maybe-distclean-target-libjava: distclean-target-libjava
41911 distclean-target-libjava:
41912 @: $(MAKE); $(unstage)
41913 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41914 r=`${PWD_COMMAND}`; export r; \
41915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41916 $(RAW_CXX_TARGET_EXPORTS) \
41917 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41918 for flag in $(EXTRA_TARGET_FLAGS); do \
41919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41920 done; \
41921 (cd $(TARGET_SUBDIR)/libjava && \
41922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41924 "RANLIB=$${RANLIB}" \
41925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41926 distclean) \
41927 || exit 1
41929 @endif target-libjava
41931 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41932 maybe-maintainer-clean-target-libjava:
41933 @if target-libjava
41934 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41936 maintainer-clean-target-libjava:
41937 @: $(MAKE); $(unstage)
41938 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41939 r=`${PWD_COMMAND}`; export r; \
41940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41941 $(RAW_CXX_TARGET_EXPORTS) \
41942 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41943 for flag in $(EXTRA_TARGET_FLAGS); do \
41944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41945 done; \
41946 (cd $(TARGET_SUBDIR)/libjava && \
41947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41949 "RANLIB=$${RANLIB}" \
41950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41951 maintainer-clean) \
41952 || exit 1
41954 @endif target-libjava
41960 .PHONY: configure-target-zlib maybe-configure-target-zlib
41961 maybe-configure-target-zlib:
41962 @if gcc-bootstrap
41963 configure-target-zlib: stage_current
41964 @endif gcc-bootstrap
41965 @if target-zlib
41966 maybe-configure-target-zlib: configure-target-zlib
41967 configure-target-zlib:
41968 @: $(MAKE); $(unstage)
41969 @r=`${PWD_COMMAND}`; export r; \
41970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41971 echo "Checking multilib configuration for zlib..."; \
41972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41973 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41974 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41975 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41976 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41977 else \
41978 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41979 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41980 fi; \
41981 else \
41982 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41983 fi; \
41984 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41986 $(NORMAL_TARGET_EXPORTS) \
41987 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41988 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41989 case $(srcdir) in \
41990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41991 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41993 esac; \
41994 module_srcdir=zlib; \
41995 rm -f no-such-file || : ; \
41996 CONFIG_SITE=no-such-file $(SHELL) \
41997 $$s/$$module_srcdir/configure \
41998 --srcdir=$${topdir}/$$module_srcdir \
41999 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42000 --target=${target_alias} \
42001 || exit 1
42002 @endif target-zlib
42008 .PHONY: all-target-zlib maybe-all-target-zlib
42009 maybe-all-target-zlib:
42010 @if gcc-bootstrap
42011 all-target-zlib: stage_current
42012 @endif gcc-bootstrap
42013 @if target-zlib
42014 TARGET-target-zlib=all
42015 maybe-all-target-zlib: all-target-zlib
42016 all-target-zlib: configure-target-zlib
42017 @: $(MAKE); $(unstage)
42018 @r=`${PWD_COMMAND}`; export r; \
42019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42020 $(NORMAL_TARGET_EXPORTS) \
42021 (cd $(TARGET_SUBDIR)/zlib && \
42022 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42023 $(TARGET-target-zlib))
42024 @endif target-zlib
42030 .PHONY: check-target-zlib maybe-check-target-zlib
42031 maybe-check-target-zlib:
42032 @if target-zlib
42033 maybe-check-target-zlib: check-target-zlib
42035 check-target-zlib:
42036 @: $(MAKE); $(unstage)
42037 @r=`${PWD_COMMAND}`; export r; \
42038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42039 $(NORMAL_TARGET_EXPORTS) \
42040 (cd $(TARGET_SUBDIR)/zlib && \
42041 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42043 @endif target-zlib
42045 .PHONY: install-target-zlib maybe-install-target-zlib
42046 maybe-install-target-zlib:
42047 @if target-zlib
42048 maybe-install-target-zlib: install-target-zlib
42050 install-target-zlib: installdirs
42051 @: $(MAKE); $(unstage)
42052 @r=`${PWD_COMMAND}`; export r; \
42053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42054 $(NORMAL_TARGET_EXPORTS) \
42055 (cd $(TARGET_SUBDIR)/zlib && \
42056 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42058 @endif target-zlib
42060 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42061 maybe-install-strip-target-zlib:
42062 @if target-zlib
42063 maybe-install-strip-target-zlib: install-strip-target-zlib
42065 install-strip-target-zlib: installdirs
42066 @: $(MAKE); $(unstage)
42067 @r=`${PWD_COMMAND}`; export r; \
42068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42069 $(NORMAL_TARGET_EXPORTS) \
42070 (cd $(TARGET_SUBDIR)/zlib && \
42071 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42073 @endif target-zlib
42075 # Other targets (info, dvi, pdf, etc.)
42077 .PHONY: maybe-info-target-zlib info-target-zlib
42078 maybe-info-target-zlib:
42079 @if target-zlib
42080 maybe-info-target-zlib: info-target-zlib
42082 info-target-zlib: \
42083 configure-target-zlib
42084 @: $(MAKE); $(unstage)
42085 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42086 r=`${PWD_COMMAND}`; export r; \
42087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42088 $(NORMAL_TARGET_EXPORTS) \
42089 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42090 for flag in $(EXTRA_TARGET_FLAGS); do \
42091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42092 done; \
42093 (cd $(TARGET_SUBDIR)/zlib && \
42094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42096 "RANLIB=$${RANLIB}" \
42097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42098 info) \
42099 || exit 1
42101 @endif target-zlib
42103 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42104 maybe-dvi-target-zlib:
42105 @if target-zlib
42106 maybe-dvi-target-zlib: dvi-target-zlib
42108 dvi-target-zlib: \
42109 configure-target-zlib
42110 @: $(MAKE); $(unstage)
42111 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42112 r=`${PWD_COMMAND}`; export r; \
42113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42114 $(NORMAL_TARGET_EXPORTS) \
42115 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42116 for flag in $(EXTRA_TARGET_FLAGS); do \
42117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42118 done; \
42119 (cd $(TARGET_SUBDIR)/zlib && \
42120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42122 "RANLIB=$${RANLIB}" \
42123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42124 dvi) \
42125 || exit 1
42127 @endif target-zlib
42129 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42130 maybe-pdf-target-zlib:
42131 @if target-zlib
42132 maybe-pdf-target-zlib: pdf-target-zlib
42134 pdf-target-zlib: \
42135 configure-target-zlib
42136 @: $(MAKE); $(unstage)
42137 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42138 r=`${PWD_COMMAND}`; export r; \
42139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42140 $(NORMAL_TARGET_EXPORTS) \
42141 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42142 for flag in $(EXTRA_TARGET_FLAGS); do \
42143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42144 done; \
42145 (cd $(TARGET_SUBDIR)/zlib && \
42146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42148 "RANLIB=$${RANLIB}" \
42149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42150 pdf) \
42151 || exit 1
42153 @endif target-zlib
42155 .PHONY: maybe-html-target-zlib html-target-zlib
42156 maybe-html-target-zlib:
42157 @if target-zlib
42158 maybe-html-target-zlib: html-target-zlib
42160 html-target-zlib: \
42161 configure-target-zlib
42162 @: $(MAKE); $(unstage)
42163 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42164 r=`${PWD_COMMAND}`; export r; \
42165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42166 $(NORMAL_TARGET_EXPORTS) \
42167 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42168 for flag in $(EXTRA_TARGET_FLAGS); do \
42169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42170 done; \
42171 (cd $(TARGET_SUBDIR)/zlib && \
42172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42174 "RANLIB=$${RANLIB}" \
42175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42176 html) \
42177 || exit 1
42179 @endif target-zlib
42181 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42182 maybe-TAGS-target-zlib:
42183 @if target-zlib
42184 maybe-TAGS-target-zlib: TAGS-target-zlib
42186 TAGS-target-zlib: \
42187 configure-target-zlib
42188 @: $(MAKE); $(unstage)
42189 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42190 r=`${PWD_COMMAND}`; export r; \
42191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42192 $(NORMAL_TARGET_EXPORTS) \
42193 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42194 for flag in $(EXTRA_TARGET_FLAGS); do \
42195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42196 done; \
42197 (cd $(TARGET_SUBDIR)/zlib && \
42198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42200 "RANLIB=$${RANLIB}" \
42201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42202 TAGS) \
42203 || exit 1
42205 @endif target-zlib
42207 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42208 maybe-install-info-target-zlib:
42209 @if target-zlib
42210 maybe-install-info-target-zlib: install-info-target-zlib
42212 install-info-target-zlib: \
42213 configure-target-zlib \
42214 info-target-zlib
42215 @: $(MAKE); $(unstage)
42216 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42217 r=`${PWD_COMMAND}`; export r; \
42218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42219 $(NORMAL_TARGET_EXPORTS) \
42220 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42221 for flag in $(EXTRA_TARGET_FLAGS); do \
42222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42223 done; \
42224 (cd $(TARGET_SUBDIR)/zlib && \
42225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42227 "RANLIB=$${RANLIB}" \
42228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42229 install-info) \
42230 || exit 1
42232 @endif target-zlib
42234 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42235 maybe-install-pdf-target-zlib:
42236 @if target-zlib
42237 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42239 install-pdf-target-zlib: \
42240 configure-target-zlib \
42241 pdf-target-zlib
42242 @: $(MAKE); $(unstage)
42243 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42244 r=`${PWD_COMMAND}`; export r; \
42245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42246 $(NORMAL_TARGET_EXPORTS) \
42247 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42248 for flag in $(EXTRA_TARGET_FLAGS); do \
42249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42250 done; \
42251 (cd $(TARGET_SUBDIR)/zlib && \
42252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42254 "RANLIB=$${RANLIB}" \
42255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42256 install-pdf) \
42257 || exit 1
42259 @endif target-zlib
42261 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42262 maybe-install-html-target-zlib:
42263 @if target-zlib
42264 maybe-install-html-target-zlib: install-html-target-zlib
42266 install-html-target-zlib: \
42267 configure-target-zlib \
42268 html-target-zlib
42269 @: $(MAKE); $(unstage)
42270 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42271 r=`${PWD_COMMAND}`; export r; \
42272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42273 $(NORMAL_TARGET_EXPORTS) \
42274 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42275 for flag in $(EXTRA_TARGET_FLAGS); do \
42276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42277 done; \
42278 (cd $(TARGET_SUBDIR)/zlib && \
42279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42281 "RANLIB=$${RANLIB}" \
42282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42283 install-html) \
42284 || exit 1
42286 @endif target-zlib
42288 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42289 maybe-installcheck-target-zlib:
42290 @if target-zlib
42291 maybe-installcheck-target-zlib: installcheck-target-zlib
42293 installcheck-target-zlib: \
42294 configure-target-zlib
42295 @: $(MAKE); $(unstage)
42296 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42297 r=`${PWD_COMMAND}`; export r; \
42298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42299 $(NORMAL_TARGET_EXPORTS) \
42300 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42301 for flag in $(EXTRA_TARGET_FLAGS); do \
42302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42303 done; \
42304 (cd $(TARGET_SUBDIR)/zlib && \
42305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42307 "RANLIB=$${RANLIB}" \
42308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42309 installcheck) \
42310 || exit 1
42312 @endif target-zlib
42314 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42315 maybe-mostlyclean-target-zlib:
42316 @if target-zlib
42317 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42319 mostlyclean-target-zlib:
42320 @: $(MAKE); $(unstage)
42321 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42322 r=`${PWD_COMMAND}`; export r; \
42323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42324 $(NORMAL_TARGET_EXPORTS) \
42325 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42326 for flag in $(EXTRA_TARGET_FLAGS); do \
42327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42328 done; \
42329 (cd $(TARGET_SUBDIR)/zlib && \
42330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42332 "RANLIB=$${RANLIB}" \
42333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42334 mostlyclean) \
42335 || exit 1
42337 @endif target-zlib
42339 .PHONY: maybe-clean-target-zlib clean-target-zlib
42340 maybe-clean-target-zlib:
42341 @if target-zlib
42342 maybe-clean-target-zlib: clean-target-zlib
42344 clean-target-zlib:
42345 @: $(MAKE); $(unstage)
42346 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42347 r=`${PWD_COMMAND}`; export r; \
42348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42349 $(NORMAL_TARGET_EXPORTS) \
42350 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42351 for flag in $(EXTRA_TARGET_FLAGS); do \
42352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42353 done; \
42354 (cd $(TARGET_SUBDIR)/zlib && \
42355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42357 "RANLIB=$${RANLIB}" \
42358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42359 clean) \
42360 || exit 1
42362 @endif target-zlib
42364 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42365 maybe-distclean-target-zlib:
42366 @if target-zlib
42367 maybe-distclean-target-zlib: distclean-target-zlib
42369 distclean-target-zlib:
42370 @: $(MAKE); $(unstage)
42371 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42372 r=`${PWD_COMMAND}`; export r; \
42373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42374 $(NORMAL_TARGET_EXPORTS) \
42375 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42376 for flag in $(EXTRA_TARGET_FLAGS); do \
42377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42378 done; \
42379 (cd $(TARGET_SUBDIR)/zlib && \
42380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42382 "RANLIB=$${RANLIB}" \
42383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42384 distclean) \
42385 || exit 1
42387 @endif target-zlib
42389 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42390 maybe-maintainer-clean-target-zlib:
42391 @if target-zlib
42392 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42394 maintainer-clean-target-zlib:
42395 @: $(MAKE); $(unstage)
42396 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42397 r=`${PWD_COMMAND}`; export r; \
42398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42399 $(NORMAL_TARGET_EXPORTS) \
42400 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42401 for flag in $(EXTRA_TARGET_FLAGS); do \
42402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42403 done; \
42404 (cd $(TARGET_SUBDIR)/zlib && \
42405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42407 "RANLIB=$${RANLIB}" \
42408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42409 maintainer-clean) \
42410 || exit 1
42412 @endif target-zlib
42418 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42419 maybe-configure-target-boehm-gc:
42420 @if gcc-bootstrap
42421 configure-target-boehm-gc: stage_current
42422 @endif gcc-bootstrap
42423 @if target-boehm-gc
42424 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42425 configure-target-boehm-gc:
42426 @: $(MAKE); $(unstage)
42427 @r=`${PWD_COMMAND}`; export r; \
42428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42429 echo "Checking multilib configuration for boehm-gc..."; \
42430 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42431 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42432 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42433 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42434 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42435 else \
42436 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42437 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42438 fi; \
42439 else \
42440 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42441 fi; \
42442 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42444 $(NORMAL_TARGET_EXPORTS) \
42445 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42446 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42447 case $(srcdir) in \
42448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42449 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42451 esac; \
42452 module_srcdir=boehm-gc; \
42453 rm -f no-such-file || : ; \
42454 CONFIG_SITE=no-such-file $(SHELL) \
42455 $$s/$$module_srcdir/configure \
42456 --srcdir=$${topdir}/$$module_srcdir \
42457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42458 --target=${target_alias} \
42459 || exit 1
42460 @endif target-boehm-gc
42466 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42467 maybe-all-target-boehm-gc:
42468 @if gcc-bootstrap
42469 all-target-boehm-gc: stage_current
42470 @endif gcc-bootstrap
42471 @if target-boehm-gc
42472 TARGET-target-boehm-gc=all
42473 maybe-all-target-boehm-gc: all-target-boehm-gc
42474 all-target-boehm-gc: configure-target-boehm-gc
42475 @: $(MAKE); $(unstage)
42476 @r=`${PWD_COMMAND}`; export r; \
42477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42478 $(NORMAL_TARGET_EXPORTS) \
42479 (cd $(TARGET_SUBDIR)/boehm-gc && \
42480 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42481 $(TARGET-target-boehm-gc))
42482 @endif target-boehm-gc
42488 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42489 maybe-check-target-boehm-gc:
42490 @if target-boehm-gc
42491 maybe-check-target-boehm-gc: check-target-boehm-gc
42493 check-target-boehm-gc:
42494 @: $(MAKE); $(unstage)
42495 @r=`${PWD_COMMAND}`; export r; \
42496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42497 $(NORMAL_TARGET_EXPORTS) \
42498 (cd $(TARGET_SUBDIR)/boehm-gc && \
42499 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42501 @endif target-boehm-gc
42503 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42504 maybe-install-target-boehm-gc:
42505 @if target-boehm-gc
42506 maybe-install-target-boehm-gc: install-target-boehm-gc
42508 install-target-boehm-gc: installdirs
42509 @: $(MAKE); $(unstage)
42510 @r=`${PWD_COMMAND}`; export r; \
42511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42512 $(NORMAL_TARGET_EXPORTS) \
42513 (cd $(TARGET_SUBDIR)/boehm-gc && \
42514 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42516 @endif target-boehm-gc
42518 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42519 maybe-install-strip-target-boehm-gc:
42520 @if target-boehm-gc
42521 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42523 install-strip-target-boehm-gc: installdirs
42524 @: $(MAKE); $(unstage)
42525 @r=`${PWD_COMMAND}`; export r; \
42526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42527 $(NORMAL_TARGET_EXPORTS) \
42528 (cd $(TARGET_SUBDIR)/boehm-gc && \
42529 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42531 @endif target-boehm-gc
42533 # Other targets (info, dvi, pdf, etc.)
42535 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42536 maybe-info-target-boehm-gc:
42537 @if target-boehm-gc
42538 maybe-info-target-boehm-gc: info-target-boehm-gc
42540 info-target-boehm-gc: \
42541 configure-target-boehm-gc
42542 @: $(MAKE); $(unstage)
42543 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42544 r=`${PWD_COMMAND}`; export r; \
42545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42546 $(NORMAL_TARGET_EXPORTS) \
42547 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42548 for flag in $(EXTRA_TARGET_FLAGS); do \
42549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42550 done; \
42551 (cd $(TARGET_SUBDIR)/boehm-gc && \
42552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42554 "RANLIB=$${RANLIB}" \
42555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42556 info) \
42557 || exit 1
42559 @endif target-boehm-gc
42561 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42562 maybe-dvi-target-boehm-gc:
42563 @if target-boehm-gc
42564 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42566 dvi-target-boehm-gc: \
42567 configure-target-boehm-gc
42568 @: $(MAKE); $(unstage)
42569 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42570 r=`${PWD_COMMAND}`; export r; \
42571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42572 $(NORMAL_TARGET_EXPORTS) \
42573 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42574 for flag in $(EXTRA_TARGET_FLAGS); do \
42575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42576 done; \
42577 (cd $(TARGET_SUBDIR)/boehm-gc && \
42578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42580 "RANLIB=$${RANLIB}" \
42581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42582 dvi) \
42583 || exit 1
42585 @endif target-boehm-gc
42587 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42588 maybe-pdf-target-boehm-gc:
42589 @if target-boehm-gc
42590 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42592 pdf-target-boehm-gc: \
42593 configure-target-boehm-gc
42594 @: $(MAKE); $(unstage)
42595 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42596 r=`${PWD_COMMAND}`; export r; \
42597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42598 $(NORMAL_TARGET_EXPORTS) \
42599 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42600 for flag in $(EXTRA_TARGET_FLAGS); do \
42601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42602 done; \
42603 (cd $(TARGET_SUBDIR)/boehm-gc && \
42604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42606 "RANLIB=$${RANLIB}" \
42607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42608 pdf) \
42609 || exit 1
42611 @endif target-boehm-gc
42613 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42614 maybe-html-target-boehm-gc:
42615 @if target-boehm-gc
42616 maybe-html-target-boehm-gc: html-target-boehm-gc
42618 html-target-boehm-gc: \
42619 configure-target-boehm-gc
42620 @: $(MAKE); $(unstage)
42621 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42622 r=`${PWD_COMMAND}`; export r; \
42623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42624 $(NORMAL_TARGET_EXPORTS) \
42625 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42626 for flag in $(EXTRA_TARGET_FLAGS); do \
42627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42628 done; \
42629 (cd $(TARGET_SUBDIR)/boehm-gc && \
42630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42632 "RANLIB=$${RANLIB}" \
42633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42634 html) \
42635 || exit 1
42637 @endif target-boehm-gc
42639 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42640 maybe-TAGS-target-boehm-gc:
42641 @if target-boehm-gc
42642 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42644 TAGS-target-boehm-gc: \
42645 configure-target-boehm-gc
42646 @: $(MAKE); $(unstage)
42647 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42648 r=`${PWD_COMMAND}`; export r; \
42649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42650 $(NORMAL_TARGET_EXPORTS) \
42651 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42652 for flag in $(EXTRA_TARGET_FLAGS); do \
42653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42654 done; \
42655 (cd $(TARGET_SUBDIR)/boehm-gc && \
42656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42658 "RANLIB=$${RANLIB}" \
42659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42660 TAGS) \
42661 || exit 1
42663 @endif target-boehm-gc
42665 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42666 maybe-install-info-target-boehm-gc:
42667 @if target-boehm-gc
42668 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42670 install-info-target-boehm-gc: \
42671 configure-target-boehm-gc \
42672 info-target-boehm-gc
42673 @: $(MAKE); $(unstage)
42674 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42675 r=`${PWD_COMMAND}`; export r; \
42676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42677 $(NORMAL_TARGET_EXPORTS) \
42678 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42679 for flag in $(EXTRA_TARGET_FLAGS); do \
42680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42681 done; \
42682 (cd $(TARGET_SUBDIR)/boehm-gc && \
42683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42685 "RANLIB=$${RANLIB}" \
42686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42687 install-info) \
42688 || exit 1
42690 @endif target-boehm-gc
42692 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42693 maybe-install-pdf-target-boehm-gc:
42694 @if target-boehm-gc
42695 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42697 install-pdf-target-boehm-gc: \
42698 configure-target-boehm-gc \
42699 pdf-target-boehm-gc
42700 @: $(MAKE); $(unstage)
42701 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42702 r=`${PWD_COMMAND}`; export r; \
42703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42704 $(NORMAL_TARGET_EXPORTS) \
42705 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42706 for flag in $(EXTRA_TARGET_FLAGS); do \
42707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42708 done; \
42709 (cd $(TARGET_SUBDIR)/boehm-gc && \
42710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42712 "RANLIB=$${RANLIB}" \
42713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42714 install-pdf) \
42715 || exit 1
42717 @endif target-boehm-gc
42719 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42720 maybe-install-html-target-boehm-gc:
42721 @if target-boehm-gc
42722 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42724 install-html-target-boehm-gc: \
42725 configure-target-boehm-gc \
42726 html-target-boehm-gc
42727 @: $(MAKE); $(unstage)
42728 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42729 r=`${PWD_COMMAND}`; export r; \
42730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42731 $(NORMAL_TARGET_EXPORTS) \
42732 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42733 for flag in $(EXTRA_TARGET_FLAGS); do \
42734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42735 done; \
42736 (cd $(TARGET_SUBDIR)/boehm-gc && \
42737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42739 "RANLIB=$${RANLIB}" \
42740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42741 install-html) \
42742 || exit 1
42744 @endif target-boehm-gc
42746 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42747 maybe-installcheck-target-boehm-gc:
42748 @if target-boehm-gc
42749 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42751 installcheck-target-boehm-gc: \
42752 configure-target-boehm-gc
42753 @: $(MAKE); $(unstage)
42754 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42755 r=`${PWD_COMMAND}`; export r; \
42756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42757 $(NORMAL_TARGET_EXPORTS) \
42758 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42759 for flag in $(EXTRA_TARGET_FLAGS); do \
42760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42761 done; \
42762 (cd $(TARGET_SUBDIR)/boehm-gc && \
42763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42765 "RANLIB=$${RANLIB}" \
42766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42767 installcheck) \
42768 || exit 1
42770 @endif target-boehm-gc
42772 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42773 maybe-mostlyclean-target-boehm-gc:
42774 @if target-boehm-gc
42775 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42777 mostlyclean-target-boehm-gc:
42778 @: $(MAKE); $(unstage)
42779 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42780 r=`${PWD_COMMAND}`; export r; \
42781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42782 $(NORMAL_TARGET_EXPORTS) \
42783 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42784 for flag in $(EXTRA_TARGET_FLAGS); do \
42785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42786 done; \
42787 (cd $(TARGET_SUBDIR)/boehm-gc && \
42788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42790 "RANLIB=$${RANLIB}" \
42791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42792 mostlyclean) \
42793 || exit 1
42795 @endif target-boehm-gc
42797 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42798 maybe-clean-target-boehm-gc:
42799 @if target-boehm-gc
42800 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42802 clean-target-boehm-gc:
42803 @: $(MAKE); $(unstage)
42804 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42805 r=`${PWD_COMMAND}`; export r; \
42806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42807 $(NORMAL_TARGET_EXPORTS) \
42808 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42809 for flag in $(EXTRA_TARGET_FLAGS); do \
42810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42811 done; \
42812 (cd $(TARGET_SUBDIR)/boehm-gc && \
42813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42815 "RANLIB=$${RANLIB}" \
42816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42817 clean) \
42818 || exit 1
42820 @endif target-boehm-gc
42822 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42823 maybe-distclean-target-boehm-gc:
42824 @if target-boehm-gc
42825 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42827 distclean-target-boehm-gc:
42828 @: $(MAKE); $(unstage)
42829 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42830 r=`${PWD_COMMAND}`; export r; \
42831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42832 $(NORMAL_TARGET_EXPORTS) \
42833 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42834 for flag in $(EXTRA_TARGET_FLAGS); do \
42835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42836 done; \
42837 (cd $(TARGET_SUBDIR)/boehm-gc && \
42838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42840 "RANLIB=$${RANLIB}" \
42841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42842 distclean) \
42843 || exit 1
42845 @endif target-boehm-gc
42847 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42848 maybe-maintainer-clean-target-boehm-gc:
42849 @if target-boehm-gc
42850 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42852 maintainer-clean-target-boehm-gc:
42853 @: $(MAKE); $(unstage)
42854 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42855 r=`${PWD_COMMAND}`; export r; \
42856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42857 $(NORMAL_TARGET_EXPORTS) \
42858 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42859 for flag in $(EXTRA_TARGET_FLAGS); do \
42860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42861 done; \
42862 (cd $(TARGET_SUBDIR)/boehm-gc && \
42863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42865 "RANLIB=$${RANLIB}" \
42866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42867 maintainer-clean) \
42868 || exit 1
42870 @endif target-boehm-gc
42876 .PHONY: configure-target-rda maybe-configure-target-rda
42877 maybe-configure-target-rda:
42878 @if gcc-bootstrap
42879 configure-target-rda: stage_current
42880 @endif gcc-bootstrap
42881 @if target-rda
42882 maybe-configure-target-rda: configure-target-rda
42883 configure-target-rda:
42884 @: $(MAKE); $(unstage)
42885 @r=`${PWD_COMMAND}`; export r; \
42886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42887 echo "Checking multilib configuration for rda..."; \
42888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42889 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
42890 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
42891 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
42892 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
42893 else \
42894 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
42895 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42896 fi; \
42897 else \
42898 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42899 fi; \
42900 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
42901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42902 $(NORMAL_TARGET_EXPORTS) \
42903 echo Configuring in $(TARGET_SUBDIR)/rda; \
42904 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
42905 case $(srcdir) in \
42906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42907 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
42908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42909 esac; \
42910 module_srcdir=rda; \
42911 rm -f no-such-file || : ; \
42912 CONFIG_SITE=no-such-file $(SHELL) \
42913 $$s/$$module_srcdir/configure \
42914 --srcdir=$${topdir}/$$module_srcdir \
42915 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42916 --target=${target_alias} \
42917 || exit 1
42918 @endif target-rda
42924 .PHONY: all-target-rda maybe-all-target-rda
42925 maybe-all-target-rda:
42926 @if gcc-bootstrap
42927 all-target-rda: stage_current
42928 @endif gcc-bootstrap
42929 @if target-rda
42930 TARGET-target-rda=all
42931 maybe-all-target-rda: all-target-rda
42932 all-target-rda: configure-target-rda
42933 @: $(MAKE); $(unstage)
42934 @r=`${PWD_COMMAND}`; export r; \
42935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42936 $(NORMAL_TARGET_EXPORTS) \
42937 (cd $(TARGET_SUBDIR)/rda && \
42938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42939 $(TARGET-target-rda))
42940 @endif target-rda
42946 .PHONY: check-target-rda maybe-check-target-rda
42947 maybe-check-target-rda:
42948 @if target-rda
42949 maybe-check-target-rda: check-target-rda
42951 check-target-rda:
42952 @: $(MAKE); $(unstage)
42953 @r=`${PWD_COMMAND}`; export r; \
42954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42955 $(NORMAL_TARGET_EXPORTS) \
42956 (cd $(TARGET_SUBDIR)/rda && \
42957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42959 @endif target-rda
42961 .PHONY: install-target-rda maybe-install-target-rda
42962 maybe-install-target-rda:
42963 @if target-rda
42964 maybe-install-target-rda: install-target-rda
42966 install-target-rda: installdirs
42967 @: $(MAKE); $(unstage)
42968 @r=`${PWD_COMMAND}`; export r; \
42969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42970 $(NORMAL_TARGET_EXPORTS) \
42971 (cd $(TARGET_SUBDIR)/rda && \
42972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42974 @endif target-rda
42976 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
42977 maybe-install-strip-target-rda:
42978 @if target-rda
42979 maybe-install-strip-target-rda: install-strip-target-rda
42981 install-strip-target-rda: installdirs
42982 @: $(MAKE); $(unstage)
42983 @r=`${PWD_COMMAND}`; export r; \
42984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42985 $(NORMAL_TARGET_EXPORTS) \
42986 (cd $(TARGET_SUBDIR)/rda && \
42987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42989 @endif target-rda
42991 # Other targets (info, dvi, pdf, etc.)
42993 .PHONY: maybe-info-target-rda info-target-rda
42994 maybe-info-target-rda:
42995 @if target-rda
42996 maybe-info-target-rda: info-target-rda
42998 info-target-rda: \
42999 configure-target-rda
43000 @: $(MAKE); $(unstage)
43001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43002 r=`${PWD_COMMAND}`; export r; \
43003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43004 $(NORMAL_TARGET_EXPORTS) \
43005 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43006 for flag in $(EXTRA_TARGET_FLAGS); do \
43007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43008 done; \
43009 (cd $(TARGET_SUBDIR)/rda && \
43010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43012 "RANLIB=$${RANLIB}" \
43013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43014 info) \
43015 || exit 1
43017 @endif target-rda
43019 .PHONY: maybe-dvi-target-rda dvi-target-rda
43020 maybe-dvi-target-rda:
43021 @if target-rda
43022 maybe-dvi-target-rda: dvi-target-rda
43024 dvi-target-rda: \
43025 configure-target-rda
43026 @: $(MAKE); $(unstage)
43027 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43028 r=`${PWD_COMMAND}`; export r; \
43029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43030 $(NORMAL_TARGET_EXPORTS) \
43031 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43032 for flag in $(EXTRA_TARGET_FLAGS); do \
43033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43034 done; \
43035 (cd $(TARGET_SUBDIR)/rda && \
43036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43038 "RANLIB=$${RANLIB}" \
43039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43040 dvi) \
43041 || exit 1
43043 @endif target-rda
43045 .PHONY: maybe-pdf-target-rda pdf-target-rda
43046 maybe-pdf-target-rda:
43047 @if target-rda
43048 maybe-pdf-target-rda: pdf-target-rda
43050 pdf-target-rda: \
43051 configure-target-rda
43052 @: $(MAKE); $(unstage)
43053 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43054 r=`${PWD_COMMAND}`; export r; \
43055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43056 $(NORMAL_TARGET_EXPORTS) \
43057 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43058 for flag in $(EXTRA_TARGET_FLAGS); do \
43059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43060 done; \
43061 (cd $(TARGET_SUBDIR)/rda && \
43062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43064 "RANLIB=$${RANLIB}" \
43065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43066 pdf) \
43067 || exit 1
43069 @endif target-rda
43071 .PHONY: maybe-html-target-rda html-target-rda
43072 maybe-html-target-rda:
43073 @if target-rda
43074 maybe-html-target-rda: html-target-rda
43076 html-target-rda: \
43077 configure-target-rda
43078 @: $(MAKE); $(unstage)
43079 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43080 r=`${PWD_COMMAND}`; export r; \
43081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43082 $(NORMAL_TARGET_EXPORTS) \
43083 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43084 for flag in $(EXTRA_TARGET_FLAGS); do \
43085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43086 done; \
43087 (cd $(TARGET_SUBDIR)/rda && \
43088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43090 "RANLIB=$${RANLIB}" \
43091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43092 html) \
43093 || exit 1
43095 @endif target-rda
43097 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43098 maybe-TAGS-target-rda:
43099 @if target-rda
43100 maybe-TAGS-target-rda: TAGS-target-rda
43102 TAGS-target-rda: \
43103 configure-target-rda
43104 @: $(MAKE); $(unstage)
43105 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43106 r=`${PWD_COMMAND}`; export r; \
43107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43108 $(NORMAL_TARGET_EXPORTS) \
43109 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43110 for flag in $(EXTRA_TARGET_FLAGS); do \
43111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43112 done; \
43113 (cd $(TARGET_SUBDIR)/rda && \
43114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43116 "RANLIB=$${RANLIB}" \
43117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43118 TAGS) \
43119 || exit 1
43121 @endif target-rda
43123 .PHONY: maybe-install-info-target-rda install-info-target-rda
43124 maybe-install-info-target-rda:
43125 @if target-rda
43126 maybe-install-info-target-rda: install-info-target-rda
43128 install-info-target-rda: \
43129 configure-target-rda \
43130 info-target-rda
43131 @: $(MAKE); $(unstage)
43132 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43133 r=`${PWD_COMMAND}`; export r; \
43134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43135 $(NORMAL_TARGET_EXPORTS) \
43136 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43137 for flag in $(EXTRA_TARGET_FLAGS); do \
43138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43139 done; \
43140 (cd $(TARGET_SUBDIR)/rda && \
43141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43143 "RANLIB=$${RANLIB}" \
43144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43145 install-info) \
43146 || exit 1
43148 @endif target-rda
43150 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43151 maybe-install-pdf-target-rda:
43152 @if target-rda
43153 maybe-install-pdf-target-rda: install-pdf-target-rda
43155 install-pdf-target-rda: \
43156 configure-target-rda \
43157 pdf-target-rda
43158 @: $(MAKE); $(unstage)
43159 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43160 r=`${PWD_COMMAND}`; export r; \
43161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43162 $(NORMAL_TARGET_EXPORTS) \
43163 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43164 for flag in $(EXTRA_TARGET_FLAGS); do \
43165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43166 done; \
43167 (cd $(TARGET_SUBDIR)/rda && \
43168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43170 "RANLIB=$${RANLIB}" \
43171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43172 install-pdf) \
43173 || exit 1
43175 @endif target-rda
43177 .PHONY: maybe-install-html-target-rda install-html-target-rda
43178 maybe-install-html-target-rda:
43179 @if target-rda
43180 maybe-install-html-target-rda: install-html-target-rda
43182 install-html-target-rda: \
43183 configure-target-rda \
43184 html-target-rda
43185 @: $(MAKE); $(unstage)
43186 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43187 r=`${PWD_COMMAND}`; export r; \
43188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43189 $(NORMAL_TARGET_EXPORTS) \
43190 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43191 for flag in $(EXTRA_TARGET_FLAGS); do \
43192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43193 done; \
43194 (cd $(TARGET_SUBDIR)/rda && \
43195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43197 "RANLIB=$${RANLIB}" \
43198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43199 install-html) \
43200 || exit 1
43202 @endif target-rda
43204 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43205 maybe-installcheck-target-rda:
43206 @if target-rda
43207 maybe-installcheck-target-rda: installcheck-target-rda
43209 installcheck-target-rda: \
43210 configure-target-rda
43211 @: $(MAKE); $(unstage)
43212 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43213 r=`${PWD_COMMAND}`; export r; \
43214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43215 $(NORMAL_TARGET_EXPORTS) \
43216 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43217 for flag in $(EXTRA_TARGET_FLAGS); do \
43218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43219 done; \
43220 (cd $(TARGET_SUBDIR)/rda && \
43221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43223 "RANLIB=$${RANLIB}" \
43224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43225 installcheck) \
43226 || exit 1
43228 @endif target-rda
43230 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43231 maybe-mostlyclean-target-rda:
43232 @if target-rda
43233 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43235 mostlyclean-target-rda:
43236 @: $(MAKE); $(unstage)
43237 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43238 r=`${PWD_COMMAND}`; export r; \
43239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43240 $(NORMAL_TARGET_EXPORTS) \
43241 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43242 for flag in $(EXTRA_TARGET_FLAGS); do \
43243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43244 done; \
43245 (cd $(TARGET_SUBDIR)/rda && \
43246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43248 "RANLIB=$${RANLIB}" \
43249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43250 mostlyclean) \
43251 || exit 1
43253 @endif target-rda
43255 .PHONY: maybe-clean-target-rda clean-target-rda
43256 maybe-clean-target-rda:
43257 @if target-rda
43258 maybe-clean-target-rda: clean-target-rda
43260 clean-target-rda:
43261 @: $(MAKE); $(unstage)
43262 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43263 r=`${PWD_COMMAND}`; export r; \
43264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43265 $(NORMAL_TARGET_EXPORTS) \
43266 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43267 for flag in $(EXTRA_TARGET_FLAGS); do \
43268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43269 done; \
43270 (cd $(TARGET_SUBDIR)/rda && \
43271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43273 "RANLIB=$${RANLIB}" \
43274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43275 clean) \
43276 || exit 1
43278 @endif target-rda
43280 .PHONY: maybe-distclean-target-rda distclean-target-rda
43281 maybe-distclean-target-rda:
43282 @if target-rda
43283 maybe-distclean-target-rda: distclean-target-rda
43285 distclean-target-rda:
43286 @: $(MAKE); $(unstage)
43287 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43288 r=`${PWD_COMMAND}`; export r; \
43289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43290 $(NORMAL_TARGET_EXPORTS) \
43291 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43292 for flag in $(EXTRA_TARGET_FLAGS); do \
43293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43294 done; \
43295 (cd $(TARGET_SUBDIR)/rda && \
43296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43298 "RANLIB=$${RANLIB}" \
43299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43300 distclean) \
43301 || exit 1
43303 @endif target-rda
43305 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43306 maybe-maintainer-clean-target-rda:
43307 @if target-rda
43308 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43310 maintainer-clean-target-rda:
43311 @: $(MAKE); $(unstage)
43312 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43313 r=`${PWD_COMMAND}`; export r; \
43314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43315 $(NORMAL_TARGET_EXPORTS) \
43316 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43317 for flag in $(EXTRA_TARGET_FLAGS); do \
43318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43319 done; \
43320 (cd $(TARGET_SUBDIR)/rda && \
43321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43323 "RANLIB=$${RANLIB}" \
43324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43325 maintainer-clean) \
43326 || exit 1
43328 @endif target-rda
43334 .PHONY: configure-target-libada maybe-configure-target-libada
43335 maybe-configure-target-libada:
43336 @if gcc-bootstrap
43337 configure-target-libada: stage_current
43338 @endif gcc-bootstrap
43339 @if target-libada
43340 maybe-configure-target-libada: configure-target-libada
43341 configure-target-libada:
43342 @: $(MAKE); $(unstage)
43343 @r=`${PWD_COMMAND}`; export r; \
43344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43345 echo "Checking multilib configuration for libada..."; \
43346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43348 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43349 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43350 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43351 else \
43352 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43353 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43354 fi; \
43355 else \
43356 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43357 fi; \
43358 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43359 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43360 $(NORMAL_TARGET_EXPORTS) \
43361 echo Configuring in $(TARGET_SUBDIR)/libada; \
43362 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43363 case $(srcdir) in \
43364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43365 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43367 esac; \
43368 module_srcdir=libada; \
43369 rm -f no-such-file || : ; \
43370 CONFIG_SITE=no-such-file $(SHELL) \
43371 $$s/$$module_srcdir/configure \
43372 --srcdir=$${topdir}/$$module_srcdir \
43373 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43374 --target=${target_alias} \
43375 || exit 1
43376 @endif target-libada
43382 .PHONY: all-target-libada maybe-all-target-libada
43383 maybe-all-target-libada:
43384 @if gcc-bootstrap
43385 all-target-libada: stage_current
43386 @endif gcc-bootstrap
43387 @if target-libada
43388 TARGET-target-libada=all
43389 maybe-all-target-libada: all-target-libada
43390 all-target-libada: configure-target-libada
43391 @: $(MAKE); $(unstage)
43392 @r=`${PWD_COMMAND}`; export r; \
43393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43394 $(NORMAL_TARGET_EXPORTS) \
43395 (cd $(TARGET_SUBDIR)/libada && \
43396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43397 $(TARGET-target-libada))
43398 @endif target-libada
43404 .PHONY: check-target-libada maybe-check-target-libada
43405 maybe-check-target-libada:
43406 @if target-libada
43407 maybe-check-target-libada: check-target-libada
43409 check-target-libada:
43410 @: $(MAKE); $(unstage)
43411 @r=`${PWD_COMMAND}`; export r; \
43412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43413 $(NORMAL_TARGET_EXPORTS) \
43414 (cd $(TARGET_SUBDIR)/libada && \
43415 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43417 @endif target-libada
43419 .PHONY: install-target-libada maybe-install-target-libada
43420 maybe-install-target-libada:
43421 @if target-libada
43422 maybe-install-target-libada: install-target-libada
43424 install-target-libada: installdirs
43425 @: $(MAKE); $(unstage)
43426 @r=`${PWD_COMMAND}`; export r; \
43427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43428 $(NORMAL_TARGET_EXPORTS) \
43429 (cd $(TARGET_SUBDIR)/libada && \
43430 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43432 @endif target-libada
43434 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43435 maybe-install-strip-target-libada:
43436 @if target-libada
43437 maybe-install-strip-target-libada: install-strip-target-libada
43439 install-strip-target-libada: installdirs
43440 @: $(MAKE); $(unstage)
43441 @r=`${PWD_COMMAND}`; export r; \
43442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43443 $(NORMAL_TARGET_EXPORTS) \
43444 (cd $(TARGET_SUBDIR)/libada && \
43445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43447 @endif target-libada
43449 # Other targets (info, dvi, pdf, etc.)
43451 .PHONY: maybe-info-target-libada info-target-libada
43452 maybe-info-target-libada:
43453 @if target-libada
43454 maybe-info-target-libada: info-target-libada
43456 info-target-libada: \
43457 configure-target-libada
43458 @: $(MAKE); $(unstage)
43459 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43460 r=`${PWD_COMMAND}`; export r; \
43461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43462 $(NORMAL_TARGET_EXPORTS) \
43463 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43464 for flag in $(EXTRA_TARGET_FLAGS); do \
43465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43466 done; \
43467 (cd $(TARGET_SUBDIR)/libada && \
43468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43470 "RANLIB=$${RANLIB}" \
43471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43472 info) \
43473 || exit 1
43475 @endif target-libada
43477 .PHONY: maybe-dvi-target-libada dvi-target-libada
43478 maybe-dvi-target-libada:
43479 @if target-libada
43480 maybe-dvi-target-libada: dvi-target-libada
43482 dvi-target-libada: \
43483 configure-target-libada
43484 @: $(MAKE); $(unstage)
43485 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43486 r=`${PWD_COMMAND}`; export r; \
43487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43488 $(NORMAL_TARGET_EXPORTS) \
43489 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43490 for flag in $(EXTRA_TARGET_FLAGS); do \
43491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43492 done; \
43493 (cd $(TARGET_SUBDIR)/libada && \
43494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43496 "RANLIB=$${RANLIB}" \
43497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43498 dvi) \
43499 || exit 1
43501 @endif target-libada
43503 .PHONY: maybe-pdf-target-libada pdf-target-libada
43504 maybe-pdf-target-libada:
43505 @if target-libada
43506 maybe-pdf-target-libada: pdf-target-libada
43508 pdf-target-libada: \
43509 configure-target-libada
43510 @: $(MAKE); $(unstage)
43511 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43512 r=`${PWD_COMMAND}`; export r; \
43513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43514 $(NORMAL_TARGET_EXPORTS) \
43515 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43516 for flag in $(EXTRA_TARGET_FLAGS); do \
43517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43518 done; \
43519 (cd $(TARGET_SUBDIR)/libada && \
43520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43522 "RANLIB=$${RANLIB}" \
43523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43524 pdf) \
43525 || exit 1
43527 @endif target-libada
43529 .PHONY: maybe-html-target-libada html-target-libada
43530 maybe-html-target-libada:
43531 @if target-libada
43532 maybe-html-target-libada: html-target-libada
43534 html-target-libada: \
43535 configure-target-libada
43536 @: $(MAKE); $(unstage)
43537 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43538 r=`${PWD_COMMAND}`; export r; \
43539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43540 $(NORMAL_TARGET_EXPORTS) \
43541 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43542 for flag in $(EXTRA_TARGET_FLAGS); do \
43543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43544 done; \
43545 (cd $(TARGET_SUBDIR)/libada && \
43546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43548 "RANLIB=$${RANLIB}" \
43549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43550 html) \
43551 || exit 1
43553 @endif target-libada
43555 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43556 maybe-TAGS-target-libada:
43557 @if target-libada
43558 maybe-TAGS-target-libada: TAGS-target-libada
43560 TAGS-target-libada: \
43561 configure-target-libada
43562 @: $(MAKE); $(unstage)
43563 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43564 r=`${PWD_COMMAND}`; export r; \
43565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43566 $(NORMAL_TARGET_EXPORTS) \
43567 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43568 for flag in $(EXTRA_TARGET_FLAGS); do \
43569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43570 done; \
43571 (cd $(TARGET_SUBDIR)/libada && \
43572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43574 "RANLIB=$${RANLIB}" \
43575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43576 TAGS) \
43577 || exit 1
43579 @endif target-libada
43581 .PHONY: maybe-install-info-target-libada install-info-target-libada
43582 maybe-install-info-target-libada:
43583 @if target-libada
43584 maybe-install-info-target-libada: install-info-target-libada
43586 install-info-target-libada: \
43587 configure-target-libada \
43588 info-target-libada
43589 @: $(MAKE); $(unstage)
43590 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43591 r=`${PWD_COMMAND}`; export r; \
43592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43593 $(NORMAL_TARGET_EXPORTS) \
43594 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43595 for flag in $(EXTRA_TARGET_FLAGS); do \
43596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43597 done; \
43598 (cd $(TARGET_SUBDIR)/libada && \
43599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43601 "RANLIB=$${RANLIB}" \
43602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43603 install-info) \
43604 || exit 1
43606 @endif target-libada
43608 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43609 maybe-install-pdf-target-libada:
43610 @if target-libada
43611 maybe-install-pdf-target-libada: install-pdf-target-libada
43613 install-pdf-target-libada: \
43614 configure-target-libada \
43615 pdf-target-libada
43616 @: $(MAKE); $(unstage)
43617 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43618 r=`${PWD_COMMAND}`; export r; \
43619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43620 $(NORMAL_TARGET_EXPORTS) \
43621 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43622 for flag in $(EXTRA_TARGET_FLAGS); do \
43623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43624 done; \
43625 (cd $(TARGET_SUBDIR)/libada && \
43626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43628 "RANLIB=$${RANLIB}" \
43629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43630 install-pdf) \
43631 || exit 1
43633 @endif target-libada
43635 .PHONY: maybe-install-html-target-libada install-html-target-libada
43636 maybe-install-html-target-libada:
43637 @if target-libada
43638 maybe-install-html-target-libada: install-html-target-libada
43640 install-html-target-libada: \
43641 configure-target-libada \
43642 html-target-libada
43643 @: $(MAKE); $(unstage)
43644 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43645 r=`${PWD_COMMAND}`; export r; \
43646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43647 $(NORMAL_TARGET_EXPORTS) \
43648 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43649 for flag in $(EXTRA_TARGET_FLAGS); do \
43650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43651 done; \
43652 (cd $(TARGET_SUBDIR)/libada && \
43653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43655 "RANLIB=$${RANLIB}" \
43656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43657 install-html) \
43658 || exit 1
43660 @endif target-libada
43662 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43663 maybe-installcheck-target-libada:
43664 @if target-libada
43665 maybe-installcheck-target-libada: installcheck-target-libada
43667 installcheck-target-libada: \
43668 configure-target-libada
43669 @: $(MAKE); $(unstage)
43670 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43671 r=`${PWD_COMMAND}`; export r; \
43672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43673 $(NORMAL_TARGET_EXPORTS) \
43674 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43675 for flag in $(EXTRA_TARGET_FLAGS); do \
43676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43677 done; \
43678 (cd $(TARGET_SUBDIR)/libada && \
43679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43681 "RANLIB=$${RANLIB}" \
43682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43683 installcheck) \
43684 || exit 1
43686 @endif target-libada
43688 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43689 maybe-mostlyclean-target-libada:
43690 @if target-libada
43691 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43693 mostlyclean-target-libada:
43694 @: $(MAKE); $(unstage)
43695 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43696 r=`${PWD_COMMAND}`; export r; \
43697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43698 $(NORMAL_TARGET_EXPORTS) \
43699 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43700 for flag in $(EXTRA_TARGET_FLAGS); do \
43701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43702 done; \
43703 (cd $(TARGET_SUBDIR)/libada && \
43704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43706 "RANLIB=$${RANLIB}" \
43707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43708 mostlyclean) \
43709 || exit 1
43711 @endif target-libada
43713 .PHONY: maybe-clean-target-libada clean-target-libada
43714 maybe-clean-target-libada:
43715 @if target-libada
43716 maybe-clean-target-libada: clean-target-libada
43718 clean-target-libada:
43719 @: $(MAKE); $(unstage)
43720 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43721 r=`${PWD_COMMAND}`; export r; \
43722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43723 $(NORMAL_TARGET_EXPORTS) \
43724 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43725 for flag in $(EXTRA_TARGET_FLAGS); do \
43726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43727 done; \
43728 (cd $(TARGET_SUBDIR)/libada && \
43729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43731 "RANLIB=$${RANLIB}" \
43732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43733 clean) \
43734 || exit 1
43736 @endif target-libada
43738 .PHONY: maybe-distclean-target-libada distclean-target-libada
43739 maybe-distclean-target-libada:
43740 @if target-libada
43741 maybe-distclean-target-libada: distclean-target-libada
43743 distclean-target-libada:
43744 @: $(MAKE); $(unstage)
43745 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43746 r=`${PWD_COMMAND}`; export r; \
43747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43748 $(NORMAL_TARGET_EXPORTS) \
43749 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43750 for flag in $(EXTRA_TARGET_FLAGS); do \
43751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43752 done; \
43753 (cd $(TARGET_SUBDIR)/libada && \
43754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43756 "RANLIB=$${RANLIB}" \
43757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43758 distclean) \
43759 || exit 1
43761 @endif target-libada
43763 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43764 maybe-maintainer-clean-target-libada:
43765 @if target-libada
43766 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43768 maintainer-clean-target-libada:
43769 @: $(MAKE); $(unstage)
43770 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43771 r=`${PWD_COMMAND}`; export r; \
43772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43773 $(NORMAL_TARGET_EXPORTS) \
43774 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43775 for flag in $(EXTRA_TARGET_FLAGS); do \
43776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43777 done; \
43778 (cd $(TARGET_SUBDIR)/libada && \
43779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43781 "RANLIB=$${RANLIB}" \
43782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43783 maintainer-clean) \
43784 || exit 1
43786 @endif target-libada
43792 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43793 maybe-configure-target-libgomp:
43794 @if gcc-bootstrap
43795 configure-target-libgomp: stage_current
43796 @endif gcc-bootstrap
43797 @if target-libgomp
43798 maybe-configure-target-libgomp: configure-target-libgomp
43799 configure-target-libgomp:
43800 @r=`${PWD_COMMAND}`; export r; \
43801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43802 echo "Checking multilib configuration for libgomp..."; \
43803 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43804 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43805 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43806 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43807 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43808 else \
43809 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43810 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43811 fi; \
43812 else \
43813 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43814 fi; \
43815 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43817 $(NORMAL_TARGET_EXPORTS) \
43818 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43819 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43820 case $(srcdir) in \
43821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43822 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43824 esac; \
43825 module_srcdir=libgomp; \
43826 rm -f no-such-file || : ; \
43827 CONFIG_SITE=no-such-file $(SHELL) \
43828 $$s/$$module_srcdir/configure \
43829 --srcdir=$${topdir}/$$module_srcdir \
43830 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43831 --target=${target_alias} \
43832 || exit 1
43833 @endif target-libgomp
43837 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43838 maybe-configure-stage1-target-libgomp:
43839 @if target-libgomp-bootstrap
43840 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43841 configure-stage1-target-libgomp:
43842 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43844 @r=`${PWD_COMMAND}`; export r; \
43845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43846 TFLAGS="$(STAGE1_TFLAGS)"; \
43847 echo "Checking multilib configuration for libgomp..."; \
43848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43849 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43850 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43851 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43852 else \
43853 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43854 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43855 fi; \
43856 else \
43857 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43858 fi; \
43859 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43860 $(NORMAL_TARGET_EXPORTS) \
43861 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43862 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43863 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43864 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43866 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43867 case $(srcdir) in \
43868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43869 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43871 esac; \
43872 module_srcdir=libgomp; \
43873 $(SHELL) $$s/$$module_srcdir/configure \
43874 --srcdir=$${topdir}/$$module_srcdir \
43875 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43876 --target=${target_alias} \
43878 $(STAGE1_CONFIGURE_FLAGS)
43879 @endif target-libgomp-bootstrap
43881 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43882 maybe-configure-stage2-target-libgomp:
43883 @if target-libgomp-bootstrap
43884 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43885 configure-stage2-target-libgomp:
43886 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43887 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43888 @r=`${PWD_COMMAND}`; export r; \
43889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43890 TFLAGS="$(STAGE2_TFLAGS)"; \
43891 echo "Checking multilib configuration for libgomp..."; \
43892 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43893 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43894 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43895 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43896 else \
43897 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43898 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43899 fi; \
43900 else \
43901 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43902 fi; \
43903 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43904 $(NORMAL_TARGET_EXPORTS) \
43906 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43907 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43908 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43909 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
43910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43911 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43912 case $(srcdir) in \
43913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43914 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43916 esac; \
43917 module_srcdir=libgomp; \
43918 $(SHELL) $$s/$$module_srcdir/configure \
43919 --srcdir=$${topdir}/$$module_srcdir \
43920 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43921 --target=${target_alias} \
43922 --with-build-libsubdir=$(HOST_SUBDIR) \
43923 $(STAGE2_CONFIGURE_FLAGS)
43924 @endif target-libgomp-bootstrap
43926 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
43927 maybe-configure-stage3-target-libgomp:
43928 @if target-libgomp-bootstrap
43929 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
43930 configure-stage3-target-libgomp:
43931 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43932 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43933 @r=`${PWD_COMMAND}`; export r; \
43934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43935 TFLAGS="$(STAGE3_TFLAGS)"; \
43936 echo "Checking multilib configuration for libgomp..."; \
43937 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43938 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43939 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43940 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43941 else \
43942 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43943 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43944 fi; \
43945 else \
43946 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43947 fi; \
43948 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43949 $(NORMAL_TARGET_EXPORTS) \
43951 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43952 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43953 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43954 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
43955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43956 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43957 case $(srcdir) in \
43958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43959 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43961 esac; \
43962 module_srcdir=libgomp; \
43963 $(SHELL) $$s/$$module_srcdir/configure \
43964 --srcdir=$${topdir}/$$module_srcdir \
43965 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43966 --target=${target_alias} \
43967 --with-build-libsubdir=$(HOST_SUBDIR) \
43968 $(STAGE3_CONFIGURE_FLAGS)
43969 @endif target-libgomp-bootstrap
43971 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
43972 maybe-configure-stage4-target-libgomp:
43973 @if target-libgomp-bootstrap
43974 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
43975 configure-stage4-target-libgomp:
43976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43977 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43978 @r=`${PWD_COMMAND}`; export r; \
43979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43980 TFLAGS="$(STAGE4_TFLAGS)"; \
43981 echo "Checking multilib configuration for libgomp..."; \
43982 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43983 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43984 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43985 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43986 else \
43987 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43988 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43989 fi; \
43990 else \
43991 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43992 fi; \
43993 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43994 $(NORMAL_TARGET_EXPORTS) \
43996 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43997 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43998 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43999 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
44000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44001 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44002 case $(srcdir) in \
44003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44004 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44006 esac; \
44007 module_srcdir=libgomp; \
44008 $(SHELL) $$s/$$module_srcdir/configure \
44009 --srcdir=$${topdir}/$$module_srcdir \
44010 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44011 --target=${target_alias} \
44012 --with-build-libsubdir=$(HOST_SUBDIR) \
44013 $(STAGE4_CONFIGURE_FLAGS)
44014 @endif target-libgomp-bootstrap
44016 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44017 maybe-configure-stageprofile-target-libgomp:
44018 @if target-libgomp-bootstrap
44019 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44020 configure-stageprofile-target-libgomp:
44021 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44022 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44023 @r=`${PWD_COMMAND}`; export r; \
44024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44025 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44026 echo "Checking multilib configuration for libgomp..."; \
44027 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44028 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44029 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44030 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44031 else \
44032 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44033 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44034 fi; \
44035 else \
44036 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44037 fi; \
44038 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44039 $(NORMAL_TARGET_EXPORTS) \
44041 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44042 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44043 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44044 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44045 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44046 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44047 case $(srcdir) in \
44048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44049 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44051 esac; \
44052 module_srcdir=libgomp; \
44053 $(SHELL) $$s/$$module_srcdir/configure \
44054 --srcdir=$${topdir}/$$module_srcdir \
44055 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44056 --target=${target_alias} \
44057 --with-build-libsubdir=$(HOST_SUBDIR) \
44058 $(STAGEprofile_CONFIGURE_FLAGS)
44059 @endif target-libgomp-bootstrap
44061 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44062 maybe-configure-stagefeedback-target-libgomp:
44063 @if target-libgomp-bootstrap
44064 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44065 configure-stagefeedback-target-libgomp:
44066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44067 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44068 @r=`${PWD_COMMAND}`; export r; \
44069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44070 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44071 echo "Checking multilib configuration for libgomp..."; \
44072 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44073 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44074 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44075 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44076 else \
44077 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44078 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44079 fi; \
44080 else \
44081 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44082 fi; \
44083 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44084 $(NORMAL_TARGET_EXPORTS) \
44086 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44087 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44088 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44089 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44091 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44092 case $(srcdir) in \
44093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44094 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44096 esac; \
44097 module_srcdir=libgomp; \
44098 $(SHELL) $$s/$$module_srcdir/configure \
44099 --srcdir=$${topdir}/$$module_srcdir \
44100 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44101 --target=${target_alias} \
44102 --with-build-libsubdir=$(HOST_SUBDIR) \
44103 $(STAGEfeedback_CONFIGURE_FLAGS)
44104 @endif target-libgomp-bootstrap
44110 .PHONY: all-target-libgomp maybe-all-target-libgomp
44111 maybe-all-target-libgomp:
44112 @if gcc-bootstrap
44113 all-target-libgomp: stage_current
44114 @endif gcc-bootstrap
44115 @if target-libgomp
44116 TARGET-target-libgomp=all
44117 maybe-all-target-libgomp: all-target-libgomp
44118 all-target-libgomp: configure-target-libgomp
44119 @r=`${PWD_COMMAND}`; export r; \
44120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44121 $(NORMAL_TARGET_EXPORTS) \
44122 (cd $(TARGET_SUBDIR)/libgomp && \
44123 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44124 $(TARGET-target-libgomp))
44125 @endif target-libgomp
44129 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44130 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44131 maybe-all-stage1-target-libgomp:
44132 maybe-clean-stage1-target-libgomp:
44133 @if target-libgomp-bootstrap
44134 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44135 all-stage1: all-stage1-target-libgomp
44136 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44137 all-stage1-target-libgomp: configure-stage1-target-libgomp
44138 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44139 @r=`${PWD_COMMAND}`; export r; \
44140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44141 TFLAGS="$(STAGE1_TFLAGS)"; \
44142 $(NORMAL_TARGET_EXPORTS) \
44143 cd $(TARGET_SUBDIR)/libgomp && \
44144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44145 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44146 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44147 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44151 $(EXTRA_TARGET_FLAGS) \
44153 TFLAGS="$(STAGE1_TFLAGS)" \
44154 $(TARGET-stage1-target-libgomp)
44156 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44157 clean-stage1: clean-stage1-target-libgomp
44158 clean-stage1-target-libgomp:
44159 @if [ $(current_stage) = stage1 ]; then \
44160 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44161 else \
44162 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44163 $(MAKE) stage1-start; \
44164 fi; \
44165 cd $(TARGET_SUBDIR)/libgomp && \
44166 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44167 clean
44168 @endif target-libgomp-bootstrap
44171 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44172 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44173 maybe-all-stage2-target-libgomp:
44174 maybe-clean-stage2-target-libgomp:
44175 @if target-libgomp-bootstrap
44176 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44177 all-stage2: all-stage2-target-libgomp
44178 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44179 all-stage2-target-libgomp: configure-stage2-target-libgomp
44180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44181 @r=`${PWD_COMMAND}`; export r; \
44182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44183 TFLAGS="$(STAGE2_TFLAGS)"; \
44184 $(NORMAL_TARGET_EXPORTS) \
44186 cd $(TARGET_SUBDIR)/libgomp && \
44187 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44188 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44190 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44194 $(EXTRA_TARGET_FLAGS) \
44195 TFLAGS="$(STAGE2_TFLAGS)" \
44196 $(TARGET-stage2-target-libgomp)
44198 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44199 clean-stage2: clean-stage2-target-libgomp
44200 clean-stage2-target-libgomp:
44201 @if [ $(current_stage) = stage2 ]; then \
44202 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44203 else \
44204 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44205 $(MAKE) stage2-start; \
44206 fi; \
44207 cd $(TARGET_SUBDIR)/libgomp && \
44208 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44209 @endif target-libgomp-bootstrap
44212 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44213 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44214 maybe-all-stage3-target-libgomp:
44215 maybe-clean-stage3-target-libgomp:
44216 @if target-libgomp-bootstrap
44217 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44218 all-stage3: all-stage3-target-libgomp
44219 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44220 all-stage3-target-libgomp: configure-stage3-target-libgomp
44221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44222 @r=`${PWD_COMMAND}`; export r; \
44223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44224 TFLAGS="$(STAGE3_TFLAGS)"; \
44225 $(NORMAL_TARGET_EXPORTS) \
44227 cd $(TARGET_SUBDIR)/libgomp && \
44228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44229 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44230 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44231 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44235 $(EXTRA_TARGET_FLAGS) \
44236 TFLAGS="$(STAGE3_TFLAGS)" \
44237 $(TARGET-stage3-target-libgomp)
44239 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44240 clean-stage3: clean-stage3-target-libgomp
44241 clean-stage3-target-libgomp:
44242 @if [ $(current_stage) = stage3 ]; then \
44243 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44244 else \
44245 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44246 $(MAKE) stage3-start; \
44247 fi; \
44248 cd $(TARGET_SUBDIR)/libgomp && \
44249 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44250 @endif target-libgomp-bootstrap
44253 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44254 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44255 maybe-all-stage4-target-libgomp:
44256 maybe-clean-stage4-target-libgomp:
44257 @if target-libgomp-bootstrap
44258 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44259 all-stage4: all-stage4-target-libgomp
44260 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44261 all-stage4-target-libgomp: configure-stage4-target-libgomp
44262 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44263 @r=`${PWD_COMMAND}`; export r; \
44264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44265 TFLAGS="$(STAGE4_TFLAGS)"; \
44266 $(NORMAL_TARGET_EXPORTS) \
44268 cd $(TARGET_SUBDIR)/libgomp && \
44269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44270 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44271 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44272 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44276 $(EXTRA_TARGET_FLAGS) \
44277 TFLAGS="$(STAGE4_TFLAGS)" \
44278 $(TARGET-stage4-target-libgomp)
44280 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44281 clean-stage4: clean-stage4-target-libgomp
44282 clean-stage4-target-libgomp:
44283 @if [ $(current_stage) = stage4 ]; then \
44284 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44285 else \
44286 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44287 $(MAKE) stage4-start; \
44288 fi; \
44289 cd $(TARGET_SUBDIR)/libgomp && \
44290 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44291 @endif target-libgomp-bootstrap
44294 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44295 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44296 maybe-all-stageprofile-target-libgomp:
44297 maybe-clean-stageprofile-target-libgomp:
44298 @if target-libgomp-bootstrap
44299 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44300 all-stageprofile: all-stageprofile-target-libgomp
44301 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44302 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44303 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44304 @r=`${PWD_COMMAND}`; export r; \
44305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44306 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44307 $(NORMAL_TARGET_EXPORTS) \
44309 cd $(TARGET_SUBDIR)/libgomp && \
44310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44311 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44312 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44313 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44317 $(EXTRA_TARGET_FLAGS) \
44318 TFLAGS="$(STAGEprofile_TFLAGS)" \
44319 $(TARGET-stageprofile-target-libgomp)
44321 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44322 clean-stageprofile: clean-stageprofile-target-libgomp
44323 clean-stageprofile-target-libgomp:
44324 @if [ $(current_stage) = stageprofile ]; then \
44325 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44326 else \
44327 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44328 $(MAKE) stageprofile-start; \
44329 fi; \
44330 cd $(TARGET_SUBDIR)/libgomp && \
44331 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44332 @endif target-libgomp-bootstrap
44335 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44336 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44337 maybe-all-stagefeedback-target-libgomp:
44338 maybe-clean-stagefeedback-target-libgomp:
44339 @if target-libgomp-bootstrap
44340 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44341 all-stagefeedback: all-stagefeedback-target-libgomp
44342 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44343 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44344 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44345 @r=`${PWD_COMMAND}`; export r; \
44346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44347 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44348 $(NORMAL_TARGET_EXPORTS) \
44350 cd $(TARGET_SUBDIR)/libgomp && \
44351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44352 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44353 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44354 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44358 $(EXTRA_TARGET_FLAGS) \
44359 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44360 $(TARGET-stagefeedback-target-libgomp)
44362 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44363 clean-stagefeedback: clean-stagefeedback-target-libgomp
44364 clean-stagefeedback-target-libgomp:
44365 @if [ $(current_stage) = stagefeedback ]; then \
44366 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44367 else \
44368 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44369 $(MAKE) stagefeedback-start; \
44370 fi; \
44371 cd $(TARGET_SUBDIR)/libgomp && \
44372 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44373 @endif target-libgomp-bootstrap
44380 .PHONY: check-target-libgomp maybe-check-target-libgomp
44381 maybe-check-target-libgomp:
44382 @if target-libgomp
44383 maybe-check-target-libgomp: check-target-libgomp
44385 check-target-libgomp:
44386 @: $(MAKE); $(unstage)
44387 @r=`${PWD_COMMAND}`; export r; \
44388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44389 $(NORMAL_TARGET_EXPORTS) \
44390 (cd $(TARGET_SUBDIR)/libgomp && \
44391 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44393 @endif target-libgomp
44395 .PHONY: install-target-libgomp maybe-install-target-libgomp
44396 maybe-install-target-libgomp:
44397 @if target-libgomp
44398 maybe-install-target-libgomp: install-target-libgomp
44400 install-target-libgomp: installdirs
44401 @: $(MAKE); $(unstage)
44402 @r=`${PWD_COMMAND}`; export r; \
44403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44404 $(NORMAL_TARGET_EXPORTS) \
44405 (cd $(TARGET_SUBDIR)/libgomp && \
44406 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44408 @endif target-libgomp
44410 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44411 maybe-install-strip-target-libgomp:
44412 @if target-libgomp
44413 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44415 install-strip-target-libgomp: installdirs
44416 @: $(MAKE); $(unstage)
44417 @r=`${PWD_COMMAND}`; export r; \
44418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44419 $(NORMAL_TARGET_EXPORTS) \
44420 (cd $(TARGET_SUBDIR)/libgomp && \
44421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44423 @endif target-libgomp
44425 # Other targets (info, dvi, pdf, etc.)
44427 .PHONY: maybe-info-target-libgomp info-target-libgomp
44428 maybe-info-target-libgomp:
44429 @if target-libgomp
44430 maybe-info-target-libgomp: info-target-libgomp
44432 info-target-libgomp: \
44433 configure-target-libgomp
44434 @: $(MAKE); $(unstage)
44435 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44436 r=`${PWD_COMMAND}`; export r; \
44437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44438 $(NORMAL_TARGET_EXPORTS) \
44439 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44440 for flag in $(EXTRA_TARGET_FLAGS); do \
44441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44442 done; \
44443 (cd $(TARGET_SUBDIR)/libgomp && \
44444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44446 "RANLIB=$${RANLIB}" \
44447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44448 info) \
44449 || exit 1
44451 @endif target-libgomp
44453 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44454 maybe-dvi-target-libgomp:
44455 @if target-libgomp
44456 maybe-dvi-target-libgomp: dvi-target-libgomp
44458 dvi-target-libgomp: \
44459 configure-target-libgomp
44460 @: $(MAKE); $(unstage)
44461 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44462 r=`${PWD_COMMAND}`; export r; \
44463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44464 $(NORMAL_TARGET_EXPORTS) \
44465 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44466 for flag in $(EXTRA_TARGET_FLAGS); do \
44467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44468 done; \
44469 (cd $(TARGET_SUBDIR)/libgomp && \
44470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44472 "RANLIB=$${RANLIB}" \
44473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44474 dvi) \
44475 || exit 1
44477 @endif target-libgomp
44479 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44480 maybe-pdf-target-libgomp:
44481 @if target-libgomp
44482 maybe-pdf-target-libgomp: pdf-target-libgomp
44484 pdf-target-libgomp: \
44485 configure-target-libgomp
44486 @: $(MAKE); $(unstage)
44487 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44488 r=`${PWD_COMMAND}`; export r; \
44489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44490 $(NORMAL_TARGET_EXPORTS) \
44491 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44492 for flag in $(EXTRA_TARGET_FLAGS); do \
44493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44494 done; \
44495 (cd $(TARGET_SUBDIR)/libgomp && \
44496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44498 "RANLIB=$${RANLIB}" \
44499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44500 pdf) \
44501 || exit 1
44503 @endif target-libgomp
44505 .PHONY: maybe-html-target-libgomp html-target-libgomp
44506 maybe-html-target-libgomp:
44507 @if target-libgomp
44508 maybe-html-target-libgomp: html-target-libgomp
44510 html-target-libgomp: \
44511 configure-target-libgomp
44512 @: $(MAKE); $(unstage)
44513 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44514 r=`${PWD_COMMAND}`; export r; \
44515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44516 $(NORMAL_TARGET_EXPORTS) \
44517 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44518 for flag in $(EXTRA_TARGET_FLAGS); do \
44519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44520 done; \
44521 (cd $(TARGET_SUBDIR)/libgomp && \
44522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44524 "RANLIB=$${RANLIB}" \
44525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44526 html) \
44527 || exit 1
44529 @endif target-libgomp
44531 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44532 maybe-TAGS-target-libgomp:
44533 @if target-libgomp
44534 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44536 TAGS-target-libgomp: \
44537 configure-target-libgomp
44538 @: $(MAKE); $(unstage)
44539 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44540 r=`${PWD_COMMAND}`; export r; \
44541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44542 $(NORMAL_TARGET_EXPORTS) \
44543 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44544 for flag in $(EXTRA_TARGET_FLAGS); do \
44545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44546 done; \
44547 (cd $(TARGET_SUBDIR)/libgomp && \
44548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44550 "RANLIB=$${RANLIB}" \
44551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44552 TAGS) \
44553 || exit 1
44555 @endif target-libgomp
44557 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44558 maybe-install-info-target-libgomp:
44559 @if target-libgomp
44560 maybe-install-info-target-libgomp: install-info-target-libgomp
44562 install-info-target-libgomp: \
44563 configure-target-libgomp \
44564 info-target-libgomp
44565 @: $(MAKE); $(unstage)
44566 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44567 r=`${PWD_COMMAND}`; export r; \
44568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44569 $(NORMAL_TARGET_EXPORTS) \
44570 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44571 for flag in $(EXTRA_TARGET_FLAGS); do \
44572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44573 done; \
44574 (cd $(TARGET_SUBDIR)/libgomp && \
44575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44577 "RANLIB=$${RANLIB}" \
44578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44579 install-info) \
44580 || exit 1
44582 @endif target-libgomp
44584 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44585 maybe-install-pdf-target-libgomp:
44586 @if target-libgomp
44587 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44589 install-pdf-target-libgomp: \
44590 configure-target-libgomp \
44591 pdf-target-libgomp
44592 @: $(MAKE); $(unstage)
44593 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44594 r=`${PWD_COMMAND}`; export r; \
44595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44596 $(NORMAL_TARGET_EXPORTS) \
44597 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44598 for flag in $(EXTRA_TARGET_FLAGS); do \
44599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44600 done; \
44601 (cd $(TARGET_SUBDIR)/libgomp && \
44602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44604 "RANLIB=$${RANLIB}" \
44605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44606 install-pdf) \
44607 || exit 1
44609 @endif target-libgomp
44611 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44612 maybe-install-html-target-libgomp:
44613 @if target-libgomp
44614 maybe-install-html-target-libgomp: install-html-target-libgomp
44616 install-html-target-libgomp: \
44617 configure-target-libgomp \
44618 html-target-libgomp
44619 @: $(MAKE); $(unstage)
44620 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44621 r=`${PWD_COMMAND}`; export r; \
44622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44623 $(NORMAL_TARGET_EXPORTS) \
44624 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44625 for flag in $(EXTRA_TARGET_FLAGS); do \
44626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44627 done; \
44628 (cd $(TARGET_SUBDIR)/libgomp && \
44629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44631 "RANLIB=$${RANLIB}" \
44632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44633 install-html) \
44634 || exit 1
44636 @endif target-libgomp
44638 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44639 maybe-installcheck-target-libgomp:
44640 @if target-libgomp
44641 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44643 installcheck-target-libgomp: \
44644 configure-target-libgomp
44645 @: $(MAKE); $(unstage)
44646 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44647 r=`${PWD_COMMAND}`; export r; \
44648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44649 $(NORMAL_TARGET_EXPORTS) \
44650 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44651 for flag in $(EXTRA_TARGET_FLAGS); do \
44652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44653 done; \
44654 (cd $(TARGET_SUBDIR)/libgomp && \
44655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44657 "RANLIB=$${RANLIB}" \
44658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44659 installcheck) \
44660 || exit 1
44662 @endif target-libgomp
44664 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44665 maybe-mostlyclean-target-libgomp:
44666 @if target-libgomp
44667 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44669 mostlyclean-target-libgomp:
44670 @: $(MAKE); $(unstage)
44671 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44672 r=`${PWD_COMMAND}`; export r; \
44673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44674 $(NORMAL_TARGET_EXPORTS) \
44675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44676 for flag in $(EXTRA_TARGET_FLAGS); do \
44677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44678 done; \
44679 (cd $(TARGET_SUBDIR)/libgomp && \
44680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44682 "RANLIB=$${RANLIB}" \
44683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44684 mostlyclean) \
44685 || exit 1
44687 @endif target-libgomp
44689 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44690 maybe-clean-target-libgomp:
44691 @if target-libgomp
44692 maybe-clean-target-libgomp: clean-target-libgomp
44694 clean-target-libgomp:
44695 @: $(MAKE); $(unstage)
44696 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44697 r=`${PWD_COMMAND}`; export r; \
44698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44699 $(NORMAL_TARGET_EXPORTS) \
44700 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44701 for flag in $(EXTRA_TARGET_FLAGS); do \
44702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44703 done; \
44704 (cd $(TARGET_SUBDIR)/libgomp && \
44705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44707 "RANLIB=$${RANLIB}" \
44708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44709 clean) \
44710 || exit 1
44712 @endif target-libgomp
44714 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44715 maybe-distclean-target-libgomp:
44716 @if target-libgomp
44717 maybe-distclean-target-libgomp: distclean-target-libgomp
44719 distclean-target-libgomp:
44720 @: $(MAKE); $(unstage)
44721 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44722 r=`${PWD_COMMAND}`; export r; \
44723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44724 $(NORMAL_TARGET_EXPORTS) \
44725 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44726 for flag in $(EXTRA_TARGET_FLAGS); do \
44727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44728 done; \
44729 (cd $(TARGET_SUBDIR)/libgomp && \
44730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44732 "RANLIB=$${RANLIB}" \
44733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44734 distclean) \
44735 || exit 1
44737 @endif target-libgomp
44739 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44740 maybe-maintainer-clean-target-libgomp:
44741 @if target-libgomp
44742 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44744 maintainer-clean-target-libgomp:
44745 @: $(MAKE); $(unstage)
44746 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44747 r=`${PWD_COMMAND}`; export r; \
44748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44749 $(NORMAL_TARGET_EXPORTS) \
44750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44751 for flag in $(EXTRA_TARGET_FLAGS); do \
44752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44753 done; \
44754 (cd $(TARGET_SUBDIR)/libgomp && \
44755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44757 "RANLIB=$${RANLIB}" \
44758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44759 maintainer-clean) \
44760 || exit 1
44762 @endif target-libgomp
44768 .PHONY: configure-target-libitm maybe-configure-target-libitm
44769 maybe-configure-target-libitm:
44770 @if gcc-bootstrap
44771 configure-target-libitm: stage_current
44772 @endif gcc-bootstrap
44773 @if target-libitm
44774 maybe-configure-target-libitm: configure-target-libitm
44775 configure-target-libitm:
44776 @: $(MAKE); $(unstage)
44777 @r=`${PWD_COMMAND}`; export r; \
44778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44779 echo "Checking multilib configuration for libitm..."; \
44780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44782 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44783 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44784 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44785 else \
44786 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44787 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44788 fi; \
44789 else \
44790 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44791 fi; \
44792 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44794 $(NORMAL_TARGET_EXPORTS) \
44795 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44796 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44797 case $(srcdir) in \
44798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44799 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44801 esac; \
44802 module_srcdir=libitm; \
44803 rm -f no-such-file || : ; \
44804 CONFIG_SITE=no-such-file $(SHELL) \
44805 $$s/$$module_srcdir/configure \
44806 --srcdir=$${topdir}/$$module_srcdir \
44807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44808 --target=${target_alias} \
44809 || exit 1
44810 @endif target-libitm
44816 .PHONY: all-target-libitm maybe-all-target-libitm
44817 maybe-all-target-libitm:
44818 @if gcc-bootstrap
44819 all-target-libitm: stage_current
44820 @endif gcc-bootstrap
44821 @if target-libitm
44822 TARGET-target-libitm=all
44823 maybe-all-target-libitm: all-target-libitm
44824 all-target-libitm: configure-target-libitm
44825 @: $(MAKE); $(unstage)
44826 @r=`${PWD_COMMAND}`; export r; \
44827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44828 $(NORMAL_TARGET_EXPORTS) \
44829 (cd $(TARGET_SUBDIR)/libitm && \
44830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44831 $(TARGET-target-libitm))
44832 @endif target-libitm
44838 .PHONY: check-target-libitm maybe-check-target-libitm
44839 maybe-check-target-libitm:
44840 @if target-libitm
44841 maybe-check-target-libitm: check-target-libitm
44843 check-target-libitm:
44844 @: $(MAKE); $(unstage)
44845 @r=`${PWD_COMMAND}`; export r; \
44846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44847 $(NORMAL_TARGET_EXPORTS) \
44848 (cd $(TARGET_SUBDIR)/libitm && \
44849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44851 @endif target-libitm
44853 .PHONY: install-target-libitm maybe-install-target-libitm
44854 maybe-install-target-libitm:
44855 @if target-libitm
44856 maybe-install-target-libitm: install-target-libitm
44858 install-target-libitm: installdirs
44859 @: $(MAKE); $(unstage)
44860 @r=`${PWD_COMMAND}`; export r; \
44861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44862 $(NORMAL_TARGET_EXPORTS) \
44863 (cd $(TARGET_SUBDIR)/libitm && \
44864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44866 @endif target-libitm
44868 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44869 maybe-install-strip-target-libitm:
44870 @if target-libitm
44871 maybe-install-strip-target-libitm: install-strip-target-libitm
44873 install-strip-target-libitm: installdirs
44874 @: $(MAKE); $(unstage)
44875 @r=`${PWD_COMMAND}`; export r; \
44876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44877 $(NORMAL_TARGET_EXPORTS) \
44878 (cd $(TARGET_SUBDIR)/libitm && \
44879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44881 @endif target-libitm
44883 # Other targets (info, dvi, pdf, etc.)
44885 .PHONY: maybe-info-target-libitm info-target-libitm
44886 maybe-info-target-libitm:
44887 @if target-libitm
44888 maybe-info-target-libitm: info-target-libitm
44890 info-target-libitm: \
44891 configure-target-libitm
44892 @: $(MAKE); $(unstage)
44893 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44894 r=`${PWD_COMMAND}`; export r; \
44895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44896 $(NORMAL_TARGET_EXPORTS) \
44897 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
44898 for flag in $(EXTRA_TARGET_FLAGS); do \
44899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44900 done; \
44901 (cd $(TARGET_SUBDIR)/libitm && \
44902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44904 "RANLIB=$${RANLIB}" \
44905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44906 info) \
44907 || exit 1
44909 @endif target-libitm
44911 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
44912 maybe-dvi-target-libitm:
44913 @if target-libitm
44914 maybe-dvi-target-libitm: dvi-target-libitm
44916 dvi-target-libitm: \
44917 configure-target-libitm
44918 @: $(MAKE); $(unstage)
44919 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44920 r=`${PWD_COMMAND}`; export r; \
44921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44922 $(NORMAL_TARGET_EXPORTS) \
44923 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
44924 for flag in $(EXTRA_TARGET_FLAGS); do \
44925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44926 done; \
44927 (cd $(TARGET_SUBDIR)/libitm && \
44928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44930 "RANLIB=$${RANLIB}" \
44931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44932 dvi) \
44933 || exit 1
44935 @endif target-libitm
44937 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
44938 maybe-pdf-target-libitm:
44939 @if target-libitm
44940 maybe-pdf-target-libitm: pdf-target-libitm
44942 pdf-target-libitm: \
44943 configure-target-libitm
44944 @: $(MAKE); $(unstage)
44945 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44946 r=`${PWD_COMMAND}`; export r; \
44947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44948 $(NORMAL_TARGET_EXPORTS) \
44949 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
44950 for flag in $(EXTRA_TARGET_FLAGS); do \
44951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44952 done; \
44953 (cd $(TARGET_SUBDIR)/libitm && \
44954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44956 "RANLIB=$${RANLIB}" \
44957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44958 pdf) \
44959 || exit 1
44961 @endif target-libitm
44963 .PHONY: maybe-html-target-libitm html-target-libitm
44964 maybe-html-target-libitm:
44965 @if target-libitm
44966 maybe-html-target-libitm: html-target-libitm
44968 html-target-libitm: \
44969 configure-target-libitm
44970 @: $(MAKE); $(unstage)
44971 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44972 r=`${PWD_COMMAND}`; export r; \
44973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44974 $(NORMAL_TARGET_EXPORTS) \
44975 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
44976 for flag in $(EXTRA_TARGET_FLAGS); do \
44977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44978 done; \
44979 (cd $(TARGET_SUBDIR)/libitm && \
44980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44982 "RANLIB=$${RANLIB}" \
44983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44984 html) \
44985 || exit 1
44987 @endif target-libitm
44989 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
44990 maybe-TAGS-target-libitm:
44991 @if target-libitm
44992 maybe-TAGS-target-libitm: TAGS-target-libitm
44994 TAGS-target-libitm: \
44995 configure-target-libitm
44996 @: $(MAKE); $(unstage)
44997 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44998 r=`${PWD_COMMAND}`; export r; \
44999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45000 $(NORMAL_TARGET_EXPORTS) \
45001 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45002 for flag in $(EXTRA_TARGET_FLAGS); do \
45003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45004 done; \
45005 (cd $(TARGET_SUBDIR)/libitm && \
45006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45008 "RANLIB=$${RANLIB}" \
45009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45010 TAGS) \
45011 || exit 1
45013 @endif target-libitm
45015 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45016 maybe-install-info-target-libitm:
45017 @if target-libitm
45018 maybe-install-info-target-libitm: install-info-target-libitm
45020 install-info-target-libitm: \
45021 configure-target-libitm \
45022 info-target-libitm
45023 @: $(MAKE); $(unstage)
45024 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45025 r=`${PWD_COMMAND}`; export r; \
45026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45027 $(NORMAL_TARGET_EXPORTS) \
45028 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45029 for flag in $(EXTRA_TARGET_FLAGS); do \
45030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45031 done; \
45032 (cd $(TARGET_SUBDIR)/libitm && \
45033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45035 "RANLIB=$${RANLIB}" \
45036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45037 install-info) \
45038 || exit 1
45040 @endif target-libitm
45042 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45043 maybe-install-pdf-target-libitm:
45044 @if target-libitm
45045 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45047 install-pdf-target-libitm: \
45048 configure-target-libitm \
45049 pdf-target-libitm
45050 @: $(MAKE); $(unstage)
45051 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45052 r=`${PWD_COMMAND}`; export r; \
45053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45054 $(NORMAL_TARGET_EXPORTS) \
45055 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45056 for flag in $(EXTRA_TARGET_FLAGS); do \
45057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45058 done; \
45059 (cd $(TARGET_SUBDIR)/libitm && \
45060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45062 "RANLIB=$${RANLIB}" \
45063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45064 install-pdf) \
45065 || exit 1
45067 @endif target-libitm
45069 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45070 maybe-install-html-target-libitm:
45071 @if target-libitm
45072 maybe-install-html-target-libitm: install-html-target-libitm
45074 install-html-target-libitm: \
45075 configure-target-libitm \
45076 html-target-libitm
45077 @: $(MAKE); $(unstage)
45078 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45079 r=`${PWD_COMMAND}`; export r; \
45080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45081 $(NORMAL_TARGET_EXPORTS) \
45082 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45083 for flag in $(EXTRA_TARGET_FLAGS); do \
45084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45085 done; \
45086 (cd $(TARGET_SUBDIR)/libitm && \
45087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45089 "RANLIB=$${RANLIB}" \
45090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45091 install-html) \
45092 || exit 1
45094 @endif target-libitm
45096 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45097 maybe-installcheck-target-libitm:
45098 @if target-libitm
45099 maybe-installcheck-target-libitm: installcheck-target-libitm
45101 installcheck-target-libitm: \
45102 configure-target-libitm
45103 @: $(MAKE); $(unstage)
45104 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45105 r=`${PWD_COMMAND}`; export r; \
45106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45107 $(NORMAL_TARGET_EXPORTS) \
45108 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45109 for flag in $(EXTRA_TARGET_FLAGS); do \
45110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45111 done; \
45112 (cd $(TARGET_SUBDIR)/libitm && \
45113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45115 "RANLIB=$${RANLIB}" \
45116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45117 installcheck) \
45118 || exit 1
45120 @endif target-libitm
45122 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45123 maybe-mostlyclean-target-libitm:
45124 @if target-libitm
45125 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45127 mostlyclean-target-libitm:
45128 @: $(MAKE); $(unstage)
45129 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45130 r=`${PWD_COMMAND}`; export r; \
45131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45132 $(NORMAL_TARGET_EXPORTS) \
45133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45134 for flag in $(EXTRA_TARGET_FLAGS); do \
45135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45136 done; \
45137 (cd $(TARGET_SUBDIR)/libitm && \
45138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45140 "RANLIB=$${RANLIB}" \
45141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45142 mostlyclean) \
45143 || exit 1
45145 @endif target-libitm
45147 .PHONY: maybe-clean-target-libitm clean-target-libitm
45148 maybe-clean-target-libitm:
45149 @if target-libitm
45150 maybe-clean-target-libitm: clean-target-libitm
45152 clean-target-libitm:
45153 @: $(MAKE); $(unstage)
45154 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45155 r=`${PWD_COMMAND}`; export r; \
45156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45157 $(NORMAL_TARGET_EXPORTS) \
45158 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45159 for flag in $(EXTRA_TARGET_FLAGS); do \
45160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45161 done; \
45162 (cd $(TARGET_SUBDIR)/libitm && \
45163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45165 "RANLIB=$${RANLIB}" \
45166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45167 clean) \
45168 || exit 1
45170 @endif target-libitm
45172 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45173 maybe-distclean-target-libitm:
45174 @if target-libitm
45175 maybe-distclean-target-libitm: distclean-target-libitm
45177 distclean-target-libitm:
45178 @: $(MAKE); $(unstage)
45179 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45180 r=`${PWD_COMMAND}`; export r; \
45181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45182 $(NORMAL_TARGET_EXPORTS) \
45183 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45184 for flag in $(EXTRA_TARGET_FLAGS); do \
45185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45186 done; \
45187 (cd $(TARGET_SUBDIR)/libitm && \
45188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45190 "RANLIB=$${RANLIB}" \
45191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45192 distclean) \
45193 || exit 1
45195 @endif target-libitm
45197 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45198 maybe-maintainer-clean-target-libitm:
45199 @if target-libitm
45200 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45202 maintainer-clean-target-libitm:
45203 @: $(MAKE); $(unstage)
45204 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45205 r=`${PWD_COMMAND}`; export r; \
45206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45207 $(NORMAL_TARGET_EXPORTS) \
45208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45209 for flag in $(EXTRA_TARGET_FLAGS); do \
45210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45211 done; \
45212 (cd $(TARGET_SUBDIR)/libitm && \
45213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45215 "RANLIB=$${RANLIB}" \
45216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45217 maintainer-clean) \
45218 || exit 1
45220 @endif target-libitm
45226 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45227 maybe-configure-target-libatomic:
45228 @if gcc-bootstrap
45229 configure-target-libatomic: stage_current
45230 @endif gcc-bootstrap
45231 @if target-libatomic
45232 maybe-configure-target-libatomic: configure-target-libatomic
45233 configure-target-libatomic:
45234 @: $(MAKE); $(unstage)
45235 @r=`${PWD_COMMAND}`; export r; \
45236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45237 echo "Checking multilib configuration for libatomic..."; \
45238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45240 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45241 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45242 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45243 else \
45244 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45245 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45246 fi; \
45247 else \
45248 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45249 fi; \
45250 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45252 $(NORMAL_TARGET_EXPORTS) \
45253 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45254 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45255 case $(srcdir) in \
45256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45257 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45259 esac; \
45260 module_srcdir=libatomic; \
45261 rm -f no-such-file || : ; \
45262 CONFIG_SITE=no-such-file $(SHELL) \
45263 $$s/$$module_srcdir/configure \
45264 --srcdir=$${topdir}/$$module_srcdir \
45265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45266 --target=${target_alias} \
45267 || exit 1
45268 @endif target-libatomic
45274 .PHONY: all-target-libatomic maybe-all-target-libatomic
45275 maybe-all-target-libatomic:
45276 @if gcc-bootstrap
45277 all-target-libatomic: stage_current
45278 @endif gcc-bootstrap
45279 @if target-libatomic
45280 TARGET-target-libatomic=all
45281 maybe-all-target-libatomic: all-target-libatomic
45282 all-target-libatomic: configure-target-libatomic
45283 @: $(MAKE); $(unstage)
45284 @r=`${PWD_COMMAND}`; export r; \
45285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45286 $(NORMAL_TARGET_EXPORTS) \
45287 (cd $(TARGET_SUBDIR)/libatomic && \
45288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45289 $(TARGET-target-libatomic))
45290 @endif target-libatomic
45296 .PHONY: check-target-libatomic maybe-check-target-libatomic
45297 maybe-check-target-libatomic:
45298 @if target-libatomic
45299 maybe-check-target-libatomic: check-target-libatomic
45301 check-target-libatomic:
45302 @: $(MAKE); $(unstage)
45303 @r=`${PWD_COMMAND}`; export r; \
45304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45305 $(NORMAL_TARGET_EXPORTS) \
45306 (cd $(TARGET_SUBDIR)/libatomic && \
45307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45309 @endif target-libatomic
45311 .PHONY: install-target-libatomic maybe-install-target-libatomic
45312 maybe-install-target-libatomic:
45313 @if target-libatomic
45314 maybe-install-target-libatomic: install-target-libatomic
45316 install-target-libatomic: installdirs
45317 @: $(MAKE); $(unstage)
45318 @r=`${PWD_COMMAND}`; export r; \
45319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45320 $(NORMAL_TARGET_EXPORTS) \
45321 (cd $(TARGET_SUBDIR)/libatomic && \
45322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45324 @endif target-libatomic
45326 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45327 maybe-install-strip-target-libatomic:
45328 @if target-libatomic
45329 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45331 install-strip-target-libatomic: installdirs
45332 @: $(MAKE); $(unstage)
45333 @r=`${PWD_COMMAND}`; export r; \
45334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45335 $(NORMAL_TARGET_EXPORTS) \
45336 (cd $(TARGET_SUBDIR)/libatomic && \
45337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45339 @endif target-libatomic
45341 # Other targets (info, dvi, pdf, etc.)
45343 .PHONY: maybe-info-target-libatomic info-target-libatomic
45344 maybe-info-target-libatomic:
45345 @if target-libatomic
45346 maybe-info-target-libatomic: info-target-libatomic
45348 info-target-libatomic: \
45349 configure-target-libatomic
45350 @: $(MAKE); $(unstage)
45351 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45352 r=`${PWD_COMMAND}`; export r; \
45353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45354 $(NORMAL_TARGET_EXPORTS) \
45355 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45356 for flag in $(EXTRA_TARGET_FLAGS); do \
45357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45358 done; \
45359 (cd $(TARGET_SUBDIR)/libatomic && \
45360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45362 "RANLIB=$${RANLIB}" \
45363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45364 info) \
45365 || exit 1
45367 @endif target-libatomic
45369 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45370 maybe-dvi-target-libatomic:
45371 @if target-libatomic
45372 maybe-dvi-target-libatomic: dvi-target-libatomic
45374 dvi-target-libatomic: \
45375 configure-target-libatomic
45376 @: $(MAKE); $(unstage)
45377 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45378 r=`${PWD_COMMAND}`; export r; \
45379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45380 $(NORMAL_TARGET_EXPORTS) \
45381 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45382 for flag in $(EXTRA_TARGET_FLAGS); do \
45383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45384 done; \
45385 (cd $(TARGET_SUBDIR)/libatomic && \
45386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45388 "RANLIB=$${RANLIB}" \
45389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45390 dvi) \
45391 || exit 1
45393 @endif target-libatomic
45395 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45396 maybe-pdf-target-libatomic:
45397 @if target-libatomic
45398 maybe-pdf-target-libatomic: pdf-target-libatomic
45400 pdf-target-libatomic: \
45401 configure-target-libatomic
45402 @: $(MAKE); $(unstage)
45403 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45404 r=`${PWD_COMMAND}`; export r; \
45405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45406 $(NORMAL_TARGET_EXPORTS) \
45407 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45408 for flag in $(EXTRA_TARGET_FLAGS); do \
45409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45410 done; \
45411 (cd $(TARGET_SUBDIR)/libatomic && \
45412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45414 "RANLIB=$${RANLIB}" \
45415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45416 pdf) \
45417 || exit 1
45419 @endif target-libatomic
45421 .PHONY: maybe-html-target-libatomic html-target-libatomic
45422 maybe-html-target-libatomic:
45423 @if target-libatomic
45424 maybe-html-target-libatomic: html-target-libatomic
45426 html-target-libatomic: \
45427 configure-target-libatomic
45428 @: $(MAKE); $(unstage)
45429 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45430 r=`${PWD_COMMAND}`; export r; \
45431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45432 $(NORMAL_TARGET_EXPORTS) \
45433 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45434 for flag in $(EXTRA_TARGET_FLAGS); do \
45435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45436 done; \
45437 (cd $(TARGET_SUBDIR)/libatomic && \
45438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45440 "RANLIB=$${RANLIB}" \
45441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45442 html) \
45443 || exit 1
45445 @endif target-libatomic
45447 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45448 maybe-TAGS-target-libatomic:
45449 @if target-libatomic
45450 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45452 TAGS-target-libatomic: \
45453 configure-target-libatomic
45454 @: $(MAKE); $(unstage)
45455 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45456 r=`${PWD_COMMAND}`; export r; \
45457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45458 $(NORMAL_TARGET_EXPORTS) \
45459 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45460 for flag in $(EXTRA_TARGET_FLAGS); do \
45461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45462 done; \
45463 (cd $(TARGET_SUBDIR)/libatomic && \
45464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45466 "RANLIB=$${RANLIB}" \
45467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45468 TAGS) \
45469 || exit 1
45471 @endif target-libatomic
45473 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45474 maybe-install-info-target-libatomic:
45475 @if target-libatomic
45476 maybe-install-info-target-libatomic: install-info-target-libatomic
45478 install-info-target-libatomic: \
45479 configure-target-libatomic \
45480 info-target-libatomic
45481 @: $(MAKE); $(unstage)
45482 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45483 r=`${PWD_COMMAND}`; export r; \
45484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45485 $(NORMAL_TARGET_EXPORTS) \
45486 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45487 for flag in $(EXTRA_TARGET_FLAGS); do \
45488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45489 done; \
45490 (cd $(TARGET_SUBDIR)/libatomic && \
45491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45493 "RANLIB=$${RANLIB}" \
45494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45495 install-info) \
45496 || exit 1
45498 @endif target-libatomic
45500 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45501 maybe-install-pdf-target-libatomic:
45502 @if target-libatomic
45503 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45505 install-pdf-target-libatomic: \
45506 configure-target-libatomic \
45507 pdf-target-libatomic
45508 @: $(MAKE); $(unstage)
45509 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45510 r=`${PWD_COMMAND}`; export r; \
45511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45512 $(NORMAL_TARGET_EXPORTS) \
45513 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45514 for flag in $(EXTRA_TARGET_FLAGS); do \
45515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45516 done; \
45517 (cd $(TARGET_SUBDIR)/libatomic && \
45518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45520 "RANLIB=$${RANLIB}" \
45521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45522 install-pdf) \
45523 || exit 1
45525 @endif target-libatomic
45527 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45528 maybe-install-html-target-libatomic:
45529 @if target-libatomic
45530 maybe-install-html-target-libatomic: install-html-target-libatomic
45532 install-html-target-libatomic: \
45533 configure-target-libatomic \
45534 html-target-libatomic
45535 @: $(MAKE); $(unstage)
45536 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45537 r=`${PWD_COMMAND}`; export r; \
45538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45539 $(NORMAL_TARGET_EXPORTS) \
45540 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45541 for flag in $(EXTRA_TARGET_FLAGS); do \
45542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45543 done; \
45544 (cd $(TARGET_SUBDIR)/libatomic && \
45545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45547 "RANLIB=$${RANLIB}" \
45548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45549 install-html) \
45550 || exit 1
45552 @endif target-libatomic
45554 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45555 maybe-installcheck-target-libatomic:
45556 @if target-libatomic
45557 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45559 installcheck-target-libatomic: \
45560 configure-target-libatomic
45561 @: $(MAKE); $(unstage)
45562 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45563 r=`${PWD_COMMAND}`; export r; \
45564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45565 $(NORMAL_TARGET_EXPORTS) \
45566 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45567 for flag in $(EXTRA_TARGET_FLAGS); do \
45568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45569 done; \
45570 (cd $(TARGET_SUBDIR)/libatomic && \
45571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45573 "RANLIB=$${RANLIB}" \
45574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45575 installcheck) \
45576 || exit 1
45578 @endif target-libatomic
45580 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45581 maybe-mostlyclean-target-libatomic:
45582 @if target-libatomic
45583 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45585 mostlyclean-target-libatomic:
45586 @: $(MAKE); $(unstage)
45587 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45588 r=`${PWD_COMMAND}`; export r; \
45589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45590 $(NORMAL_TARGET_EXPORTS) \
45591 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45592 for flag in $(EXTRA_TARGET_FLAGS); do \
45593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45594 done; \
45595 (cd $(TARGET_SUBDIR)/libatomic && \
45596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45598 "RANLIB=$${RANLIB}" \
45599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45600 mostlyclean) \
45601 || exit 1
45603 @endif target-libatomic
45605 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45606 maybe-clean-target-libatomic:
45607 @if target-libatomic
45608 maybe-clean-target-libatomic: clean-target-libatomic
45610 clean-target-libatomic:
45611 @: $(MAKE); $(unstage)
45612 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45613 r=`${PWD_COMMAND}`; export r; \
45614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45615 $(NORMAL_TARGET_EXPORTS) \
45616 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45617 for flag in $(EXTRA_TARGET_FLAGS); do \
45618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45619 done; \
45620 (cd $(TARGET_SUBDIR)/libatomic && \
45621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45623 "RANLIB=$${RANLIB}" \
45624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45625 clean) \
45626 || exit 1
45628 @endif target-libatomic
45630 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45631 maybe-distclean-target-libatomic:
45632 @if target-libatomic
45633 maybe-distclean-target-libatomic: distclean-target-libatomic
45635 distclean-target-libatomic:
45636 @: $(MAKE); $(unstage)
45637 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45638 r=`${PWD_COMMAND}`; export r; \
45639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45640 $(NORMAL_TARGET_EXPORTS) \
45641 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45642 for flag in $(EXTRA_TARGET_FLAGS); do \
45643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45644 done; \
45645 (cd $(TARGET_SUBDIR)/libatomic && \
45646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45648 "RANLIB=$${RANLIB}" \
45649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45650 distclean) \
45651 || exit 1
45653 @endif target-libatomic
45655 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45656 maybe-maintainer-clean-target-libatomic:
45657 @if target-libatomic
45658 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45660 maintainer-clean-target-libatomic:
45661 @: $(MAKE); $(unstage)
45662 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45663 r=`${PWD_COMMAND}`; export r; \
45664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45665 $(NORMAL_TARGET_EXPORTS) \
45666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45667 for flag in $(EXTRA_TARGET_FLAGS); do \
45668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45669 done; \
45670 (cd $(TARGET_SUBDIR)/libatomic && \
45671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45673 "RANLIB=$${RANLIB}" \
45674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45675 maintainer-clean) \
45676 || exit 1
45678 @endif target-libatomic
45682 @if target-libgomp
45683 .PHONY: check-target-libgomp-c++
45684 check-target-libgomp-c++:
45685 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45687 @endif target-libgomp
45689 @if target-libitm
45690 .PHONY: check-target-libitm-c++
45691 check-target-libitm-c++:
45692 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45694 @endif target-libitm
45696 # ----------
45697 # GCC module
45698 # ----------
45700 @if gcc-no-bootstrap
45701 .PHONY: cross
45702 cross: all-build all-gas all-ld
45703 @r=`${PWD_COMMAND}`; export r; \
45704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45705 $(HOST_EXPORTS) \
45706 echo "Building the C and C++ compiler"; \
45707 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45708 @r=`${PWD_COMMAND}`; export r; \
45709 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45710 echo "Building runtime libraries"; \
45711 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45712 @endif gcc-no-bootstrap
45714 @if gcc
45716 .PHONY: check-gcc-c check-c
45717 check-gcc-c:
45718 r=`${PWD_COMMAND}`; export r; \
45719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45720 $(HOST_EXPORTS) \
45721 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45722 check-c: check-gcc-c
45724 .PHONY: check-gcc-c++ check-c++
45725 check-gcc-c++:
45726 r=`${PWD_COMMAND}`; export r; \
45727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45728 $(HOST_EXPORTS) \
45729 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45730 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45732 .PHONY: check-gcc-fortran check-fortran
45733 check-gcc-fortran:
45734 r=`${PWD_COMMAND}`; export r; \
45735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45736 $(HOST_EXPORTS) \
45737 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45738 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45740 .PHONY: check-gcc-java check-java
45741 check-gcc-java:
45742 r=`${PWD_COMMAND}`; export r; \
45743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45744 $(HOST_EXPORTS) \
45745 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45746 check-java: check-gcc-java check-target-libjava
45748 .PHONY: check-gcc-ada check-ada
45749 check-gcc-ada:
45750 r=`${PWD_COMMAND}`; export r; \
45751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45752 $(HOST_EXPORTS) \
45753 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45754 check-ada: check-gcc-ada check-target-libada
45756 .PHONY: check-gcc-objc check-objc
45757 check-gcc-objc:
45758 r=`${PWD_COMMAND}`; export r; \
45759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45760 $(HOST_EXPORTS) \
45761 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45762 check-objc: check-gcc-objc check-target-libobjc
45764 .PHONY: check-gcc-obj-c++ check-obj-c++
45765 check-gcc-obj-c++:
45766 r=`${PWD_COMMAND}`; export r; \
45767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45768 $(HOST_EXPORTS) \
45769 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45770 check-obj-c++: check-gcc-obj-c++
45772 .PHONY: check-gcc-go check-go
45773 check-gcc-go:
45774 r=`${PWD_COMMAND}`; export r; \
45775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45776 $(HOST_EXPORTS) \
45777 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45778 check-go: check-gcc-go check-target-libgo
45781 # The gcc part of install-no-fixedincludes, which relies on an intimate
45782 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45783 .PHONY: gcc-install-no-fixedincludes
45784 gcc-install-no-fixedincludes:
45785 @if [ -f ./gcc/Makefile ]; then \
45786 r=`${PWD_COMMAND}`; export r; \
45787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45788 $(HOST_EXPORTS) \
45789 (cd ./gcc \
45790 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45791 else true; fi
45792 @endif gcc
45794 # ---------------------
45795 # GCC bootstrap support
45796 # ---------------------
45798 # We track the current stage (the one in 'gcc') in the stage_current file.
45799 # stage_last instead tracks the stage that was built last. These targets
45800 # are dummy when toplevel bootstrap is not active.
45802 # While making host and target tools, symlinks to the final stage must be
45803 # there, so $(unstage) should be run at various points. To avoid excessive
45804 # recursive invocations of make, we "inline" them using a variable. These
45805 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45806 # to avoid warnings from the GNU Make job server.
45808 unstage = :
45809 stage = :
45810 current_stage = ""
45812 @if gcc-bootstrap
45813 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45814 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45815 current_stage = "`cat stage_current 2> /dev/null`"
45816 @endif gcc-bootstrap
45818 .PHONY: unstage stage
45819 unstage:
45820 @: $(MAKE); $(unstage)
45821 stage:
45822 @: $(MAKE); $(stage)
45824 # Disable commands for lean bootstrap.
45825 LEAN = false
45827 # We name the build directories for the various stages "stage1-gcc",
45828 # "stage2-gcc","stage3-gcc", etc.
45830 # Since the 'compare' process will fail (on debugging information) if any
45831 # directory names are different, we need to link the gcc directory for
45832 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45833 # the build directories constant as well. For the latter, we use naked names
45834 # like 'gcc', because the scripts in that directory assume it. We use
45835 # mv on platforms where symlinks to directories do not work or are not
45836 # reliable.
45838 # 'touch' doesn't work right on some platforms.
45839 STAMP = echo timestamp >
45841 # We only want to compare .o files, so set this!
45842 objext = .o
45845 .PHONY: stage1-start stage1-end
45847 stage1-start::
45848 @: $(MAKE); $(stage); \
45849 echo stage1 > stage_current ; \
45850 echo stage1 > stage_last; \
45851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45852 @if bfd
45853 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45854 mkdir stage1-bfd; \
45855 mv stage1-bfd bfd
45856 @endif bfd
45857 @if opcodes
45858 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45859 mkdir stage1-opcodes; \
45860 mv stage1-opcodes opcodes
45861 @endif opcodes
45862 @if binutils
45863 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45864 mkdir stage1-binutils; \
45865 mv stage1-binutils binutils
45866 @endif binutils
45867 @if fixincludes
45868 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45869 mkdir stage1-fixincludes; \
45870 mv stage1-fixincludes fixincludes
45871 @endif fixincludes
45872 @if gas
45873 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45874 mkdir stage1-gas; \
45875 mv stage1-gas gas
45876 @endif gas
45877 @if gcc
45878 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45879 mkdir stage1-gcc; \
45880 mv stage1-gcc gcc
45881 @endif gcc
45882 @if gmp
45883 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45884 mkdir stage1-gmp; \
45885 mv stage1-gmp gmp
45886 @endif gmp
45887 @if mpfr
45888 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45889 mkdir stage1-mpfr; \
45890 mv stage1-mpfr mpfr
45891 @endif mpfr
45892 @if mpc
45893 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
45894 mkdir stage1-mpc; \
45895 mv stage1-mpc mpc
45896 @endif mpc
45897 @if isl
45898 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
45899 mkdir stage1-isl; \
45900 mv stage1-isl isl
45901 @endif isl
45902 @if cloog
45903 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
45904 mkdir stage1-cloog; \
45905 mv stage1-cloog cloog
45906 @endif cloog
45907 @if libelf
45908 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
45909 mkdir stage1-libelf; \
45910 mv stage1-libelf libelf
45911 @endif libelf
45912 @if gold
45913 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
45914 mkdir stage1-gold; \
45915 mv stage1-gold gold
45916 @endif gold
45917 @if intl
45918 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
45919 mkdir stage1-intl; \
45920 mv stage1-intl intl
45921 @endif intl
45922 @if ld
45923 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
45924 mkdir stage1-ld; \
45925 mv stage1-ld ld
45926 @endif ld
45927 @if libbacktrace
45928 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
45929 mkdir stage1-libbacktrace; \
45930 mv stage1-libbacktrace libbacktrace
45931 @endif libbacktrace
45932 @if libcpp
45933 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
45934 mkdir stage1-libcpp; \
45935 mv stage1-libcpp libcpp
45936 @endif libcpp
45937 @if libdecnumber
45938 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
45939 mkdir stage1-libdecnumber; \
45940 mv stage1-libdecnumber libdecnumber
45941 @endif libdecnumber
45942 @if libiberty
45943 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
45944 mkdir stage1-libiberty; \
45945 mv stage1-libiberty libiberty
45946 @endif libiberty
45947 @if libiberty-linker-plugin
45948 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
45949 mkdir stage1-libiberty-linker-plugin; \
45950 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
45951 @endif libiberty-linker-plugin
45952 @if zlib
45953 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
45954 mkdir stage1-zlib; \
45955 mv stage1-zlib zlib
45956 @endif zlib
45957 @if lto-plugin
45958 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
45959 mkdir stage1-lto-plugin; \
45960 mv stage1-lto-plugin lto-plugin
45961 @endif lto-plugin
45962 @[ -d stage1-$(TARGET_SUBDIR) ] || \
45963 mkdir stage1-$(TARGET_SUBDIR); \
45964 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
45966 stage1-end::
45967 @if bfd
45968 @if test -d $(HOST_SUBDIR)/bfd ; then \
45969 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
45971 @endif bfd
45972 @if opcodes
45973 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45974 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
45976 @endif opcodes
45977 @if binutils
45978 @if test -d $(HOST_SUBDIR)/binutils ; then \
45979 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
45981 @endif binutils
45982 @if fixincludes
45983 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
45984 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
45986 @endif fixincludes
45987 @if gas
45988 @if test -d $(HOST_SUBDIR)/gas ; then \
45989 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
45991 @endif gas
45992 @if gcc
45993 @if test -d $(HOST_SUBDIR)/gcc ; then \
45994 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
45996 @endif gcc
45997 @if gmp
45998 @if test -d $(HOST_SUBDIR)/gmp ; then \
45999 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
46001 @endif gmp
46002 @if mpfr
46003 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46004 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46006 @endif mpfr
46007 @if mpc
46008 @if test -d $(HOST_SUBDIR)/mpc ; then \
46009 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46011 @endif mpc
46012 @if isl
46013 @if test -d $(HOST_SUBDIR)/isl ; then \
46014 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46016 @endif isl
46017 @if cloog
46018 @if test -d $(HOST_SUBDIR)/cloog ; then \
46019 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
46021 @endif cloog
46022 @if libelf
46023 @if test -d $(HOST_SUBDIR)/libelf ; then \
46024 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46026 @endif libelf
46027 @if gold
46028 @if test -d $(HOST_SUBDIR)/gold ; then \
46029 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46031 @endif gold
46032 @if intl
46033 @if test -d $(HOST_SUBDIR)/intl ; then \
46034 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46036 @endif intl
46037 @if ld
46038 @if test -d $(HOST_SUBDIR)/ld ; then \
46039 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46041 @endif ld
46042 @if libbacktrace
46043 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46044 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46046 @endif libbacktrace
46047 @if libcpp
46048 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46049 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46051 @endif libcpp
46052 @if libdecnumber
46053 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46054 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46056 @endif libdecnumber
46057 @if libiberty
46058 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46059 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46061 @endif libiberty
46062 @if libiberty-linker-plugin
46063 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46064 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46066 @endif libiberty-linker-plugin
46067 @if zlib
46068 @if test -d $(HOST_SUBDIR)/zlib ; then \
46069 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46071 @endif zlib
46072 @if lto-plugin
46073 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46074 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46076 @endif lto-plugin
46077 @if test -d $(TARGET_SUBDIR) ; then \
46078 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46080 rm -f stage_current
46082 # Bubble a bug fix through all the stages up to stage 1. They are
46083 # remade, but not reconfigured. The next stage (if any) will not be
46084 # reconfigured either.
46085 .PHONY: stage1-bubble
46086 stage1-bubble::
46087 @r=`${PWD_COMMAND}`; export r; \
46088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46089 if test -f stage1-lean ; then \
46090 echo Skipping rebuild of stage1 ; \
46091 else \
46092 $(MAKE) stage1-start; \
46093 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46096 .PHONY: all-stage1 clean-stage1
46097 do-clean: clean-stage1
46099 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46100 # only possibility, but now it conflicts with no-bootstrap rules
46101 @if gcc-bootstrap
46106 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46108 .PHONY: distclean-stage1
46109 distclean-stage1::
46110 @: $(MAKE); $(stage)
46111 @test "`cat stage_last`" != stage1 || rm -f stage_last
46112 rm -rf stage1-*
46115 @endif gcc-bootstrap
46118 .PHONY: stage2-start stage2-end
46120 stage2-start::
46121 @: $(MAKE); $(stage); \
46122 echo stage2 > stage_current ; \
46123 echo stage2 > stage_last; \
46124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46125 @if bfd
46126 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46127 mkdir stage2-bfd; \
46128 mv stage2-bfd bfd ; \
46129 mv stage1-bfd prev-bfd || test -f stage1-lean
46130 @endif bfd
46131 @if opcodes
46132 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46133 mkdir stage2-opcodes; \
46134 mv stage2-opcodes opcodes ; \
46135 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46136 @endif opcodes
46137 @if binutils
46138 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46139 mkdir stage2-binutils; \
46140 mv stage2-binutils binutils ; \
46141 mv stage1-binutils prev-binutils || test -f stage1-lean
46142 @endif binutils
46143 @if fixincludes
46144 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46145 mkdir stage2-fixincludes; \
46146 mv stage2-fixincludes fixincludes ; \
46147 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46148 @endif fixincludes
46149 @if gas
46150 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46151 mkdir stage2-gas; \
46152 mv stage2-gas gas ; \
46153 mv stage1-gas prev-gas || test -f stage1-lean
46154 @endif gas
46155 @if gcc
46156 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46157 mkdir stage2-gcc; \
46158 mv stage2-gcc gcc ; \
46159 mv stage1-gcc prev-gcc || test -f stage1-lean
46160 @endif gcc
46161 @if gmp
46162 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46163 mkdir stage2-gmp; \
46164 mv stage2-gmp gmp ; \
46165 mv stage1-gmp prev-gmp || test -f stage1-lean
46166 @endif gmp
46167 @if mpfr
46168 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46169 mkdir stage2-mpfr; \
46170 mv stage2-mpfr mpfr ; \
46171 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46172 @endif mpfr
46173 @if mpc
46174 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46175 mkdir stage2-mpc; \
46176 mv stage2-mpc mpc ; \
46177 mv stage1-mpc prev-mpc || test -f stage1-lean
46178 @endif mpc
46179 @if isl
46180 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46181 mkdir stage2-isl; \
46182 mv stage2-isl isl ; \
46183 mv stage1-isl prev-isl || test -f stage1-lean
46184 @endif isl
46185 @if cloog
46186 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
46187 mkdir stage2-cloog; \
46188 mv stage2-cloog cloog ; \
46189 mv stage1-cloog prev-cloog || test -f stage1-lean
46190 @endif cloog
46191 @if libelf
46192 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46193 mkdir stage2-libelf; \
46194 mv stage2-libelf libelf ; \
46195 mv stage1-libelf prev-libelf || test -f stage1-lean
46196 @endif libelf
46197 @if gold
46198 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46199 mkdir stage2-gold; \
46200 mv stage2-gold gold ; \
46201 mv stage1-gold prev-gold || test -f stage1-lean
46202 @endif gold
46203 @if intl
46204 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46205 mkdir stage2-intl; \
46206 mv stage2-intl intl ; \
46207 mv stage1-intl prev-intl || test -f stage1-lean
46208 @endif intl
46209 @if ld
46210 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46211 mkdir stage2-ld; \
46212 mv stage2-ld ld ; \
46213 mv stage1-ld prev-ld || test -f stage1-lean
46214 @endif ld
46215 @if libbacktrace
46216 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46217 mkdir stage2-libbacktrace; \
46218 mv stage2-libbacktrace libbacktrace ; \
46219 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46220 @endif libbacktrace
46221 @if libcpp
46222 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46223 mkdir stage2-libcpp; \
46224 mv stage2-libcpp libcpp ; \
46225 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46226 @endif libcpp
46227 @if libdecnumber
46228 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46229 mkdir stage2-libdecnumber; \
46230 mv stage2-libdecnumber libdecnumber ; \
46231 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46232 @endif libdecnumber
46233 @if libiberty
46234 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46235 mkdir stage2-libiberty; \
46236 mv stage2-libiberty libiberty ; \
46237 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46238 @endif libiberty
46239 @if libiberty-linker-plugin
46240 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46241 mkdir stage2-libiberty-linker-plugin; \
46242 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46243 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46244 @endif libiberty-linker-plugin
46245 @if zlib
46246 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46247 mkdir stage2-zlib; \
46248 mv stage2-zlib zlib ; \
46249 mv stage1-zlib prev-zlib || test -f stage1-lean
46250 @endif zlib
46251 @if lto-plugin
46252 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46253 mkdir stage2-lto-plugin; \
46254 mv stage2-lto-plugin lto-plugin ; \
46255 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46256 @endif lto-plugin
46257 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46258 mkdir stage2-$(TARGET_SUBDIR); \
46259 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46260 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46262 stage2-end::
46263 @if bfd
46264 @if test -d $(HOST_SUBDIR)/bfd ; then \
46265 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46266 mv prev-bfd stage1-bfd ; : ; \
46268 @endif bfd
46269 @if opcodes
46270 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46271 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46272 mv prev-opcodes stage1-opcodes ; : ; \
46274 @endif opcodes
46275 @if binutils
46276 @if test -d $(HOST_SUBDIR)/binutils ; then \
46277 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46278 mv prev-binutils stage1-binutils ; : ; \
46280 @endif binutils
46281 @if fixincludes
46282 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46283 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46284 mv prev-fixincludes stage1-fixincludes ; : ; \
46286 @endif fixincludes
46287 @if gas
46288 @if test -d $(HOST_SUBDIR)/gas ; then \
46289 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46290 mv prev-gas stage1-gas ; : ; \
46292 @endif gas
46293 @if gcc
46294 @if test -d $(HOST_SUBDIR)/gcc ; then \
46295 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46296 mv prev-gcc stage1-gcc ; : ; \
46298 @endif gcc
46299 @if gmp
46300 @if test -d $(HOST_SUBDIR)/gmp ; then \
46301 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46302 mv prev-gmp stage1-gmp ; : ; \
46304 @endif gmp
46305 @if mpfr
46306 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46307 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46308 mv prev-mpfr stage1-mpfr ; : ; \
46310 @endif mpfr
46311 @if mpc
46312 @if test -d $(HOST_SUBDIR)/mpc ; then \
46313 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46314 mv prev-mpc stage1-mpc ; : ; \
46316 @endif mpc
46317 @if isl
46318 @if test -d $(HOST_SUBDIR)/isl ; then \
46319 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46320 mv prev-isl stage1-isl ; : ; \
46322 @endif isl
46323 @if cloog
46324 @if test -d $(HOST_SUBDIR)/cloog ; then \
46325 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
46326 mv prev-cloog stage1-cloog ; : ; \
46328 @endif cloog
46329 @if libelf
46330 @if test -d $(HOST_SUBDIR)/libelf ; then \
46331 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46332 mv prev-libelf stage1-libelf ; : ; \
46334 @endif libelf
46335 @if gold
46336 @if test -d $(HOST_SUBDIR)/gold ; then \
46337 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46338 mv prev-gold stage1-gold ; : ; \
46340 @endif gold
46341 @if intl
46342 @if test -d $(HOST_SUBDIR)/intl ; then \
46343 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46344 mv prev-intl stage1-intl ; : ; \
46346 @endif intl
46347 @if ld
46348 @if test -d $(HOST_SUBDIR)/ld ; then \
46349 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46350 mv prev-ld stage1-ld ; : ; \
46352 @endif ld
46353 @if libbacktrace
46354 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46355 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46356 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46358 @endif libbacktrace
46359 @if libcpp
46360 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46361 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46362 mv prev-libcpp stage1-libcpp ; : ; \
46364 @endif libcpp
46365 @if libdecnumber
46366 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46367 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46368 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46370 @endif libdecnumber
46371 @if libiberty
46372 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46373 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46374 mv prev-libiberty stage1-libiberty ; : ; \
46376 @endif libiberty
46377 @if libiberty-linker-plugin
46378 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46379 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46380 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46382 @endif libiberty-linker-plugin
46383 @if zlib
46384 @if test -d $(HOST_SUBDIR)/zlib ; then \
46385 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46386 mv prev-zlib stage1-zlib ; : ; \
46388 @endif zlib
46389 @if lto-plugin
46390 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46391 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46392 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46394 @endif lto-plugin
46395 @if test -d $(TARGET_SUBDIR) ; then \
46396 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46397 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46399 rm -f stage_current
46401 # Bubble a bug fix through all the stages up to stage 2. They are
46402 # remade, but not reconfigured. The next stage (if any) will not be
46403 # reconfigured either.
46404 .PHONY: stage2-bubble
46405 stage2-bubble:: stage1-bubble
46406 @r=`${PWD_COMMAND}`; export r; \
46407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46408 if test -f stage2-lean || test -f stage1-lean ; then \
46409 echo Skipping rebuild of stage2 ; \
46410 else \
46411 $(MAKE) stage2-start; \
46412 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46415 .PHONY: all-stage2 clean-stage2
46416 do-clean: clean-stage2
46418 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46419 # only possibility, but now it conflicts with no-bootstrap rules
46420 @if gcc-bootstrap
46424 .PHONY: bootstrap2 bootstrap2-lean
46425 bootstrap2:
46426 echo stage2 > stage_final
46427 @r=`${PWD_COMMAND}`; export r; \
46428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46429 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46430 @: $(MAKE); $(unstage)
46431 @r=`${PWD_COMMAND}`; export r; \
46432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46433 TFLAGS="$(STAGE2_TFLAGS)"; \
46434 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46436 bootstrap2-lean:
46437 echo stage2 > stage_final
46438 @r=`${PWD_COMMAND}`; export r; \
46439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46440 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46441 @: $(MAKE); $(unstage)
46442 @r=`${PWD_COMMAND}`; export r; \
46443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46444 TFLAGS="$(STAGE2_TFLAGS)"; \
46445 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46448 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46449 distclean-stage1:: distclean-stage2
46450 .PHONY: distclean-stage2
46451 distclean-stage2::
46452 @: $(MAKE); $(stage)
46453 @test "`cat stage_last`" != stage2 || rm -f stage_last
46454 rm -rf stage2-*
46457 @endif gcc-bootstrap
46460 .PHONY: stage3-start stage3-end
46462 stage3-start::
46463 @: $(MAKE); $(stage); \
46464 echo stage3 > stage_current ; \
46465 echo stage3 > stage_last; \
46466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46467 @if bfd
46468 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46469 mkdir stage3-bfd; \
46470 mv stage3-bfd bfd ; \
46471 mv stage2-bfd prev-bfd || test -f stage2-lean
46472 @endif bfd
46473 @if opcodes
46474 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46475 mkdir stage3-opcodes; \
46476 mv stage3-opcodes opcodes ; \
46477 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46478 @endif opcodes
46479 @if binutils
46480 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46481 mkdir stage3-binutils; \
46482 mv stage3-binutils binutils ; \
46483 mv stage2-binutils prev-binutils || test -f stage2-lean
46484 @endif binutils
46485 @if fixincludes
46486 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46487 mkdir stage3-fixincludes; \
46488 mv stage3-fixincludes fixincludes ; \
46489 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46490 @endif fixincludes
46491 @if gas
46492 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46493 mkdir stage3-gas; \
46494 mv stage3-gas gas ; \
46495 mv stage2-gas prev-gas || test -f stage2-lean
46496 @endif gas
46497 @if gcc
46498 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46499 mkdir stage3-gcc; \
46500 mv stage3-gcc gcc ; \
46501 mv stage2-gcc prev-gcc || test -f stage2-lean
46502 @endif gcc
46503 @if gmp
46504 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46505 mkdir stage3-gmp; \
46506 mv stage3-gmp gmp ; \
46507 mv stage2-gmp prev-gmp || test -f stage2-lean
46508 @endif gmp
46509 @if mpfr
46510 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46511 mkdir stage3-mpfr; \
46512 mv stage3-mpfr mpfr ; \
46513 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46514 @endif mpfr
46515 @if mpc
46516 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46517 mkdir stage3-mpc; \
46518 mv stage3-mpc mpc ; \
46519 mv stage2-mpc prev-mpc || test -f stage2-lean
46520 @endif mpc
46521 @if isl
46522 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46523 mkdir stage3-isl; \
46524 mv stage3-isl isl ; \
46525 mv stage2-isl prev-isl || test -f stage2-lean
46526 @endif isl
46527 @if cloog
46528 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
46529 mkdir stage3-cloog; \
46530 mv stage3-cloog cloog ; \
46531 mv stage2-cloog prev-cloog || test -f stage2-lean
46532 @endif cloog
46533 @if libelf
46534 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46535 mkdir stage3-libelf; \
46536 mv stage3-libelf libelf ; \
46537 mv stage2-libelf prev-libelf || test -f stage2-lean
46538 @endif libelf
46539 @if gold
46540 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46541 mkdir stage3-gold; \
46542 mv stage3-gold gold ; \
46543 mv stage2-gold prev-gold || test -f stage2-lean
46544 @endif gold
46545 @if intl
46546 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46547 mkdir stage3-intl; \
46548 mv stage3-intl intl ; \
46549 mv stage2-intl prev-intl || test -f stage2-lean
46550 @endif intl
46551 @if ld
46552 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46553 mkdir stage3-ld; \
46554 mv stage3-ld ld ; \
46555 mv stage2-ld prev-ld || test -f stage2-lean
46556 @endif ld
46557 @if libbacktrace
46558 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46559 mkdir stage3-libbacktrace; \
46560 mv stage3-libbacktrace libbacktrace ; \
46561 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46562 @endif libbacktrace
46563 @if libcpp
46564 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46565 mkdir stage3-libcpp; \
46566 mv stage3-libcpp libcpp ; \
46567 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46568 @endif libcpp
46569 @if libdecnumber
46570 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46571 mkdir stage3-libdecnumber; \
46572 mv stage3-libdecnumber libdecnumber ; \
46573 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46574 @endif libdecnumber
46575 @if libiberty
46576 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46577 mkdir stage3-libiberty; \
46578 mv stage3-libiberty libiberty ; \
46579 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46580 @endif libiberty
46581 @if libiberty-linker-plugin
46582 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46583 mkdir stage3-libiberty-linker-plugin; \
46584 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46585 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46586 @endif libiberty-linker-plugin
46587 @if zlib
46588 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46589 mkdir stage3-zlib; \
46590 mv stage3-zlib zlib ; \
46591 mv stage2-zlib prev-zlib || test -f stage2-lean
46592 @endif zlib
46593 @if lto-plugin
46594 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46595 mkdir stage3-lto-plugin; \
46596 mv stage3-lto-plugin lto-plugin ; \
46597 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46598 @endif lto-plugin
46599 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46600 mkdir stage3-$(TARGET_SUBDIR); \
46601 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46602 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46604 stage3-end::
46605 @if bfd
46606 @if test -d $(HOST_SUBDIR)/bfd ; then \
46607 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46608 mv prev-bfd stage2-bfd ; : ; \
46610 @endif bfd
46611 @if opcodes
46612 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46613 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46614 mv prev-opcodes stage2-opcodes ; : ; \
46616 @endif opcodes
46617 @if binutils
46618 @if test -d $(HOST_SUBDIR)/binutils ; then \
46619 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46620 mv prev-binutils stage2-binutils ; : ; \
46622 @endif binutils
46623 @if fixincludes
46624 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46625 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46626 mv prev-fixincludes stage2-fixincludes ; : ; \
46628 @endif fixincludes
46629 @if gas
46630 @if test -d $(HOST_SUBDIR)/gas ; then \
46631 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46632 mv prev-gas stage2-gas ; : ; \
46634 @endif gas
46635 @if gcc
46636 @if test -d $(HOST_SUBDIR)/gcc ; then \
46637 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46638 mv prev-gcc stage2-gcc ; : ; \
46640 @endif gcc
46641 @if gmp
46642 @if test -d $(HOST_SUBDIR)/gmp ; then \
46643 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46644 mv prev-gmp stage2-gmp ; : ; \
46646 @endif gmp
46647 @if mpfr
46648 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46649 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46650 mv prev-mpfr stage2-mpfr ; : ; \
46652 @endif mpfr
46653 @if mpc
46654 @if test -d $(HOST_SUBDIR)/mpc ; then \
46655 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46656 mv prev-mpc stage2-mpc ; : ; \
46658 @endif mpc
46659 @if isl
46660 @if test -d $(HOST_SUBDIR)/isl ; then \
46661 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46662 mv prev-isl stage2-isl ; : ; \
46664 @endif isl
46665 @if cloog
46666 @if test -d $(HOST_SUBDIR)/cloog ; then \
46667 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
46668 mv prev-cloog stage2-cloog ; : ; \
46670 @endif cloog
46671 @if libelf
46672 @if test -d $(HOST_SUBDIR)/libelf ; then \
46673 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46674 mv prev-libelf stage2-libelf ; : ; \
46676 @endif libelf
46677 @if gold
46678 @if test -d $(HOST_SUBDIR)/gold ; then \
46679 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46680 mv prev-gold stage2-gold ; : ; \
46682 @endif gold
46683 @if intl
46684 @if test -d $(HOST_SUBDIR)/intl ; then \
46685 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46686 mv prev-intl stage2-intl ; : ; \
46688 @endif intl
46689 @if ld
46690 @if test -d $(HOST_SUBDIR)/ld ; then \
46691 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46692 mv prev-ld stage2-ld ; : ; \
46694 @endif ld
46695 @if libbacktrace
46696 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46697 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46698 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46700 @endif libbacktrace
46701 @if libcpp
46702 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46703 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46704 mv prev-libcpp stage2-libcpp ; : ; \
46706 @endif libcpp
46707 @if libdecnumber
46708 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46709 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46710 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46712 @endif libdecnumber
46713 @if libiberty
46714 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46715 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46716 mv prev-libiberty stage2-libiberty ; : ; \
46718 @endif libiberty
46719 @if libiberty-linker-plugin
46720 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46721 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46722 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46724 @endif libiberty-linker-plugin
46725 @if zlib
46726 @if test -d $(HOST_SUBDIR)/zlib ; then \
46727 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46728 mv prev-zlib stage2-zlib ; : ; \
46730 @endif zlib
46731 @if lto-plugin
46732 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46733 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46734 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46736 @endif lto-plugin
46737 @if test -d $(TARGET_SUBDIR) ; then \
46738 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46739 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46741 rm -f stage_current
46743 # Bubble a bug fix through all the stages up to stage 3. They are
46744 # remade, but not reconfigured. The next stage (if any) will not be
46745 # reconfigured either.
46746 .PHONY: stage3-bubble
46747 stage3-bubble:: stage2-bubble
46748 @r=`${PWD_COMMAND}`; export r; \
46749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46750 if test -f stage3-lean || test -f stage2-lean ; then \
46751 echo Skipping rebuild of stage3 ; \
46752 else \
46753 $(MAKE) stage3-start; \
46754 if $(LEAN); then \
46755 rm -rf stage1-* ; \
46756 $(STAMP) stage1-lean ; \
46757 fi; \
46758 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46760 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46762 .PHONY: all-stage3 clean-stage3
46763 do-clean: clean-stage3
46765 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46766 # only possibility, but now it conflicts with no-bootstrap rules
46767 @if gcc-bootstrap
46769 compare:
46770 @r=`${PWD_COMMAND}`; export r; \
46771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46772 if test -f stage2-lean; then \
46773 echo Cannot compare object files as stage 2 was deleted. ; \
46774 exit 0 ; \
46775 fi; \
46776 : $(MAKE); $(stage); \
46777 rm -f .bad_compare ; \
46778 echo Comparing stages 2 and 3 ; \
46779 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46780 files=`find stage3-* -name "*$(objext)" -print | \
46781 sed -n s,^stage$$sed-,,p` ; \
46782 for file in $${files} ; do \
46783 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46784 if test ! -f $$f1; then continue; fi; \
46785 $(do-compare) > /dev/null 2>&1; \
46786 if test $$? -eq 1; then \
46787 case $$file in \
46788 @compare_exclusions@) \
46789 echo warning: $$file differs ;; \
46790 *) \
46791 echo $$file differs >> .bad_compare ;; \
46792 esac ; \
46793 fi ; \
46794 done ; \
46795 if [ -f .bad_compare ]; then \
46796 echo "Bootstrap comparison failure!"; \
46797 cat .bad_compare; \
46798 exit 1; \
46799 else \
46800 echo Comparison successful.; \
46801 fi ; \
46802 $(STAMP) compare
46803 if $(LEAN); then \
46804 rm -rf stage2-*; \
46805 $(STAMP) stage2-lean; \
46810 .PHONY: bootstrap bootstrap-lean
46811 bootstrap:
46812 echo stage3 > stage_final
46813 @r=`${PWD_COMMAND}`; export r; \
46814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46816 @: $(MAKE); $(unstage)
46817 @r=`${PWD_COMMAND}`; export r; \
46818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46819 TFLAGS="$(STAGE3_TFLAGS)"; \
46820 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46822 bootstrap-lean:
46823 echo stage3 > stage_final
46824 @r=`${PWD_COMMAND}`; export r; \
46825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46826 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46827 @: $(MAKE); $(unstage)
46828 @r=`${PWD_COMMAND}`; export r; \
46829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46830 TFLAGS="$(STAGE3_TFLAGS)"; \
46831 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46834 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46835 distclean-stage2:: distclean-stage3
46836 .PHONY: distclean-stage3
46837 distclean-stage3::
46838 @: $(MAKE); $(stage)
46839 @test "`cat stage_last`" != stage3 || rm -f stage_last
46840 rm -rf stage3-* compare
46843 .PHONY: cleanstrap
46844 cleanstrap: do-distclean local-clean
46845 echo stage3 > stage_final
46846 @r=`${PWD_COMMAND}`; export r; \
46847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46848 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46849 @: $(MAKE); $(unstage)
46850 @r=`${PWD_COMMAND}`; export r; \
46851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46852 TFLAGS="$(STAGE3_TFLAGS)"; \
46853 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46855 @endif gcc-bootstrap
46858 .PHONY: stage4-start stage4-end
46860 stage4-start::
46861 @: $(MAKE); $(stage); \
46862 echo stage4 > stage_current ; \
46863 echo stage4 > stage_last; \
46864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46865 @if bfd
46866 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46867 mkdir stage4-bfd; \
46868 mv stage4-bfd bfd ; \
46869 mv stage3-bfd prev-bfd || test -f stage3-lean
46870 @endif bfd
46871 @if opcodes
46872 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46873 mkdir stage4-opcodes; \
46874 mv stage4-opcodes opcodes ; \
46875 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46876 @endif opcodes
46877 @if binutils
46878 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46879 mkdir stage4-binutils; \
46880 mv stage4-binutils binutils ; \
46881 mv stage3-binutils prev-binutils || test -f stage3-lean
46882 @endif binutils
46883 @if fixincludes
46884 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46885 mkdir stage4-fixincludes; \
46886 mv stage4-fixincludes fixincludes ; \
46887 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46888 @endif fixincludes
46889 @if gas
46890 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46891 mkdir stage4-gas; \
46892 mv stage4-gas gas ; \
46893 mv stage3-gas prev-gas || test -f stage3-lean
46894 @endif gas
46895 @if gcc
46896 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46897 mkdir stage4-gcc; \
46898 mv stage4-gcc gcc ; \
46899 mv stage3-gcc prev-gcc || test -f stage3-lean
46900 @endif gcc
46901 @if gmp
46902 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46903 mkdir stage4-gmp; \
46904 mv stage4-gmp gmp ; \
46905 mv stage3-gmp prev-gmp || test -f stage3-lean
46906 @endif gmp
46907 @if mpfr
46908 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46909 mkdir stage4-mpfr; \
46910 mv stage4-mpfr mpfr ; \
46911 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46912 @endif mpfr
46913 @if mpc
46914 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46915 mkdir stage4-mpc; \
46916 mv stage4-mpc mpc ; \
46917 mv stage3-mpc prev-mpc || test -f stage3-lean
46918 @endif mpc
46919 @if isl
46920 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46921 mkdir stage4-isl; \
46922 mv stage4-isl isl ; \
46923 mv stage3-isl prev-isl || test -f stage3-lean
46924 @endif isl
46925 @if cloog
46926 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
46927 mkdir stage4-cloog; \
46928 mv stage4-cloog cloog ; \
46929 mv stage3-cloog prev-cloog || test -f stage3-lean
46930 @endif cloog
46931 @if libelf
46932 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
46933 mkdir stage4-libelf; \
46934 mv stage4-libelf libelf ; \
46935 mv stage3-libelf prev-libelf || test -f stage3-lean
46936 @endif libelf
46937 @if gold
46938 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
46939 mkdir stage4-gold; \
46940 mv stage4-gold gold ; \
46941 mv stage3-gold prev-gold || test -f stage3-lean
46942 @endif gold
46943 @if intl
46944 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
46945 mkdir stage4-intl; \
46946 mv stage4-intl intl ; \
46947 mv stage3-intl prev-intl || test -f stage3-lean
46948 @endif intl
46949 @if ld
46950 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
46951 mkdir stage4-ld; \
46952 mv stage4-ld ld ; \
46953 mv stage3-ld prev-ld || test -f stage3-lean
46954 @endif ld
46955 @if libbacktrace
46956 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
46957 mkdir stage4-libbacktrace; \
46958 mv stage4-libbacktrace libbacktrace ; \
46959 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
46960 @endif libbacktrace
46961 @if libcpp
46962 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
46963 mkdir stage4-libcpp; \
46964 mv stage4-libcpp libcpp ; \
46965 mv stage3-libcpp prev-libcpp || test -f stage3-lean
46966 @endif libcpp
46967 @if libdecnumber
46968 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
46969 mkdir stage4-libdecnumber; \
46970 mv stage4-libdecnumber libdecnumber ; \
46971 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
46972 @endif libdecnumber
46973 @if libiberty
46974 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
46975 mkdir stage4-libiberty; \
46976 mv stage4-libiberty libiberty ; \
46977 mv stage3-libiberty prev-libiberty || test -f stage3-lean
46978 @endif libiberty
46979 @if libiberty-linker-plugin
46980 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
46981 mkdir stage4-libiberty-linker-plugin; \
46982 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
46983 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
46984 @endif libiberty-linker-plugin
46985 @if zlib
46986 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
46987 mkdir stage4-zlib; \
46988 mv stage4-zlib zlib ; \
46989 mv stage3-zlib prev-zlib || test -f stage3-lean
46990 @endif zlib
46991 @if lto-plugin
46992 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
46993 mkdir stage4-lto-plugin; \
46994 mv stage4-lto-plugin lto-plugin ; \
46995 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
46996 @endif lto-plugin
46997 @[ -d stage4-$(TARGET_SUBDIR) ] || \
46998 mkdir stage4-$(TARGET_SUBDIR); \
46999 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47000 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47002 stage4-end::
47003 @if bfd
47004 @if test -d $(HOST_SUBDIR)/bfd ; then \
47005 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47006 mv prev-bfd stage3-bfd ; : ; \
47008 @endif bfd
47009 @if opcodes
47010 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47011 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47012 mv prev-opcodes stage3-opcodes ; : ; \
47014 @endif opcodes
47015 @if binutils
47016 @if test -d $(HOST_SUBDIR)/binutils ; then \
47017 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47018 mv prev-binutils stage3-binutils ; : ; \
47020 @endif binutils
47021 @if fixincludes
47022 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47023 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47024 mv prev-fixincludes stage3-fixincludes ; : ; \
47026 @endif fixincludes
47027 @if gas
47028 @if test -d $(HOST_SUBDIR)/gas ; then \
47029 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47030 mv prev-gas stage3-gas ; : ; \
47032 @endif gas
47033 @if gcc
47034 @if test -d $(HOST_SUBDIR)/gcc ; then \
47035 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47036 mv prev-gcc stage3-gcc ; : ; \
47038 @endif gcc
47039 @if gmp
47040 @if test -d $(HOST_SUBDIR)/gmp ; then \
47041 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47042 mv prev-gmp stage3-gmp ; : ; \
47044 @endif gmp
47045 @if mpfr
47046 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47047 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47048 mv prev-mpfr stage3-mpfr ; : ; \
47050 @endif mpfr
47051 @if mpc
47052 @if test -d $(HOST_SUBDIR)/mpc ; then \
47053 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47054 mv prev-mpc stage3-mpc ; : ; \
47056 @endif mpc
47057 @if isl
47058 @if test -d $(HOST_SUBDIR)/isl ; then \
47059 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47060 mv prev-isl stage3-isl ; : ; \
47062 @endif isl
47063 @if cloog
47064 @if test -d $(HOST_SUBDIR)/cloog ; then \
47065 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
47066 mv prev-cloog stage3-cloog ; : ; \
47068 @endif cloog
47069 @if libelf
47070 @if test -d $(HOST_SUBDIR)/libelf ; then \
47071 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47072 mv prev-libelf stage3-libelf ; : ; \
47074 @endif libelf
47075 @if gold
47076 @if test -d $(HOST_SUBDIR)/gold ; then \
47077 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47078 mv prev-gold stage3-gold ; : ; \
47080 @endif gold
47081 @if intl
47082 @if test -d $(HOST_SUBDIR)/intl ; then \
47083 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47084 mv prev-intl stage3-intl ; : ; \
47086 @endif intl
47087 @if ld
47088 @if test -d $(HOST_SUBDIR)/ld ; then \
47089 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47090 mv prev-ld stage3-ld ; : ; \
47092 @endif ld
47093 @if libbacktrace
47094 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47095 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47096 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47098 @endif libbacktrace
47099 @if libcpp
47100 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47101 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47102 mv prev-libcpp stage3-libcpp ; : ; \
47104 @endif libcpp
47105 @if libdecnumber
47106 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47107 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47108 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47110 @endif libdecnumber
47111 @if libiberty
47112 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47113 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47114 mv prev-libiberty stage3-libiberty ; : ; \
47116 @endif libiberty
47117 @if libiberty-linker-plugin
47118 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47119 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47120 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47122 @endif libiberty-linker-plugin
47123 @if zlib
47124 @if test -d $(HOST_SUBDIR)/zlib ; then \
47125 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47126 mv prev-zlib stage3-zlib ; : ; \
47128 @endif zlib
47129 @if lto-plugin
47130 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47131 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47132 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47134 @endif lto-plugin
47135 @if test -d $(TARGET_SUBDIR) ; then \
47136 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47137 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47139 rm -f stage_current
47141 # Bubble a bug fix through all the stages up to stage 4. They are
47142 # remade, but not reconfigured. The next stage (if any) will not be
47143 # reconfigured either.
47144 .PHONY: stage4-bubble
47145 stage4-bubble:: stage3-bubble
47146 @r=`${PWD_COMMAND}`; export r; \
47147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47148 if test -f stage4-lean || test -f stage3-lean ; then \
47149 echo Skipping rebuild of stage4 ; \
47150 else \
47151 $(MAKE) stage4-start; \
47152 if $(LEAN); then \
47153 rm -rf stage2-* ; \
47154 $(STAMP) stage2-lean ; \
47155 fi; \
47156 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47160 .PHONY: all-stage4 clean-stage4
47161 do-clean: clean-stage4
47163 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47164 # only possibility, but now it conflicts with no-bootstrap rules
47165 @if gcc-bootstrap
47167 compare3:
47168 @r=`${PWD_COMMAND}`; export r; \
47169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47170 if test -f stage3-lean; then \
47171 echo Cannot compare object files as stage 3 was deleted. ; \
47172 exit 0 ; \
47173 fi; \
47174 : $(MAKE); $(stage); \
47175 rm -f .bad_compare ; \
47176 echo Comparing stages 3 and 4 ; \
47177 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47178 files=`find stage4-* -name "*$(objext)" -print | \
47179 sed -n s,^stage$$sed-,,p` ; \
47180 for file in $${files} ; do \
47181 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47182 if test ! -f $$f1; then continue; fi; \
47183 $(do-compare3) > /dev/null 2>&1; \
47184 if test $$? -eq 1; then \
47185 case $$file in \
47186 @compare_exclusions@) \
47187 echo warning: $$file differs ;; \
47188 *) \
47189 echo $$file differs >> .bad_compare ;; \
47190 esac ; \
47191 fi ; \
47192 done ; \
47193 if [ -f .bad_compare ]; then \
47194 echo "Bootstrap comparison failure!"; \
47195 cat .bad_compare; \
47196 exit 1; \
47197 else \
47198 echo Comparison successful.; \
47199 fi ; \
47200 $(STAMP) compare3
47201 if $(LEAN); then \
47202 rm -rf stage3-*; \
47203 $(STAMP) stage3-lean; \
47208 .PHONY: bootstrap4 bootstrap4-lean
47209 bootstrap4:
47210 echo stage4 > stage_final
47211 @r=`${PWD_COMMAND}`; export r; \
47212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47214 @: $(MAKE); $(unstage)
47215 @r=`${PWD_COMMAND}`; export r; \
47216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47217 TFLAGS="$(STAGE4_TFLAGS)"; \
47218 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47220 bootstrap4-lean:
47221 echo stage4 > stage_final
47222 @r=`${PWD_COMMAND}`; export r; \
47223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47224 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47225 @: $(MAKE); $(unstage)
47226 @r=`${PWD_COMMAND}`; export r; \
47227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47228 TFLAGS="$(STAGE4_TFLAGS)"; \
47229 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47232 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47233 distclean-stage3:: distclean-stage4
47234 .PHONY: distclean-stage4
47235 distclean-stage4::
47236 @: $(MAKE); $(stage)
47237 @test "`cat stage_last`" != stage4 || rm -f stage_last
47238 rm -rf stage4-* compare3
47241 @endif gcc-bootstrap
47244 .PHONY: stageprofile-start stageprofile-end
47246 stageprofile-start::
47247 @: $(MAKE); $(stage); \
47248 echo stageprofile > stage_current ; \
47249 echo stageprofile > stage_last; \
47250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47251 @if bfd
47252 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47253 mkdir stageprofile-bfd; \
47254 mv stageprofile-bfd bfd ; \
47255 mv stage1-bfd prev-bfd || test -f stage1-lean
47256 @endif bfd
47257 @if opcodes
47258 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47259 mkdir stageprofile-opcodes; \
47260 mv stageprofile-opcodes opcodes ; \
47261 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47262 @endif opcodes
47263 @if binutils
47264 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47265 mkdir stageprofile-binutils; \
47266 mv stageprofile-binutils binutils ; \
47267 mv stage1-binutils prev-binutils || test -f stage1-lean
47268 @endif binutils
47269 @if fixincludes
47270 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47271 mkdir stageprofile-fixincludes; \
47272 mv stageprofile-fixincludes fixincludes ; \
47273 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47274 @endif fixincludes
47275 @if gas
47276 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47277 mkdir stageprofile-gas; \
47278 mv stageprofile-gas gas ; \
47279 mv stage1-gas prev-gas || test -f stage1-lean
47280 @endif gas
47281 @if gcc
47282 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47283 mkdir stageprofile-gcc; \
47284 mv stageprofile-gcc gcc ; \
47285 mv stage1-gcc prev-gcc || test -f stage1-lean
47286 @endif gcc
47287 @if gmp
47288 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47289 mkdir stageprofile-gmp; \
47290 mv stageprofile-gmp gmp ; \
47291 mv stage1-gmp prev-gmp || test -f stage1-lean
47292 @endif gmp
47293 @if mpfr
47294 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47295 mkdir stageprofile-mpfr; \
47296 mv stageprofile-mpfr mpfr ; \
47297 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47298 @endif mpfr
47299 @if mpc
47300 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47301 mkdir stageprofile-mpc; \
47302 mv stageprofile-mpc mpc ; \
47303 mv stage1-mpc prev-mpc || test -f stage1-lean
47304 @endif mpc
47305 @if isl
47306 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47307 mkdir stageprofile-isl; \
47308 mv stageprofile-isl isl ; \
47309 mv stage1-isl prev-isl || test -f stage1-lean
47310 @endif isl
47311 @if cloog
47312 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
47313 mkdir stageprofile-cloog; \
47314 mv stageprofile-cloog cloog ; \
47315 mv stage1-cloog prev-cloog || test -f stage1-lean
47316 @endif cloog
47317 @if libelf
47318 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47319 mkdir stageprofile-libelf; \
47320 mv stageprofile-libelf libelf ; \
47321 mv stage1-libelf prev-libelf || test -f stage1-lean
47322 @endif libelf
47323 @if gold
47324 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47325 mkdir stageprofile-gold; \
47326 mv stageprofile-gold gold ; \
47327 mv stage1-gold prev-gold || test -f stage1-lean
47328 @endif gold
47329 @if intl
47330 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47331 mkdir stageprofile-intl; \
47332 mv stageprofile-intl intl ; \
47333 mv stage1-intl prev-intl || test -f stage1-lean
47334 @endif intl
47335 @if ld
47336 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47337 mkdir stageprofile-ld; \
47338 mv stageprofile-ld ld ; \
47339 mv stage1-ld prev-ld || test -f stage1-lean
47340 @endif ld
47341 @if libbacktrace
47342 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47343 mkdir stageprofile-libbacktrace; \
47344 mv stageprofile-libbacktrace libbacktrace ; \
47345 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47346 @endif libbacktrace
47347 @if libcpp
47348 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47349 mkdir stageprofile-libcpp; \
47350 mv stageprofile-libcpp libcpp ; \
47351 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47352 @endif libcpp
47353 @if libdecnumber
47354 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47355 mkdir stageprofile-libdecnumber; \
47356 mv stageprofile-libdecnumber libdecnumber ; \
47357 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47358 @endif libdecnumber
47359 @if libiberty
47360 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47361 mkdir stageprofile-libiberty; \
47362 mv stageprofile-libiberty libiberty ; \
47363 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47364 @endif libiberty
47365 @if libiberty-linker-plugin
47366 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47367 mkdir stageprofile-libiberty-linker-plugin; \
47368 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47369 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47370 @endif libiberty-linker-plugin
47371 @if zlib
47372 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47373 mkdir stageprofile-zlib; \
47374 mv stageprofile-zlib zlib ; \
47375 mv stage1-zlib prev-zlib || test -f stage1-lean
47376 @endif zlib
47377 @if lto-plugin
47378 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47379 mkdir stageprofile-lto-plugin; \
47380 mv stageprofile-lto-plugin lto-plugin ; \
47381 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47382 @endif lto-plugin
47383 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47384 mkdir stageprofile-$(TARGET_SUBDIR); \
47385 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47386 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47388 stageprofile-end::
47389 @if bfd
47390 @if test -d $(HOST_SUBDIR)/bfd ; then \
47391 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47392 mv prev-bfd stage1-bfd ; : ; \
47394 @endif bfd
47395 @if opcodes
47396 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47397 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47398 mv prev-opcodes stage1-opcodes ; : ; \
47400 @endif opcodes
47401 @if binutils
47402 @if test -d $(HOST_SUBDIR)/binutils ; then \
47403 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47404 mv prev-binutils stage1-binutils ; : ; \
47406 @endif binutils
47407 @if fixincludes
47408 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47409 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47410 mv prev-fixincludes stage1-fixincludes ; : ; \
47412 @endif fixincludes
47413 @if gas
47414 @if test -d $(HOST_SUBDIR)/gas ; then \
47415 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47416 mv prev-gas stage1-gas ; : ; \
47418 @endif gas
47419 @if gcc
47420 @if test -d $(HOST_SUBDIR)/gcc ; then \
47421 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47422 mv prev-gcc stage1-gcc ; : ; \
47424 @endif gcc
47425 @if gmp
47426 @if test -d $(HOST_SUBDIR)/gmp ; then \
47427 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47428 mv prev-gmp stage1-gmp ; : ; \
47430 @endif gmp
47431 @if mpfr
47432 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47433 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47434 mv prev-mpfr stage1-mpfr ; : ; \
47436 @endif mpfr
47437 @if mpc
47438 @if test -d $(HOST_SUBDIR)/mpc ; then \
47439 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47440 mv prev-mpc stage1-mpc ; : ; \
47442 @endif mpc
47443 @if isl
47444 @if test -d $(HOST_SUBDIR)/isl ; then \
47445 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47446 mv prev-isl stage1-isl ; : ; \
47448 @endif isl
47449 @if cloog
47450 @if test -d $(HOST_SUBDIR)/cloog ; then \
47451 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
47452 mv prev-cloog stage1-cloog ; : ; \
47454 @endif cloog
47455 @if libelf
47456 @if test -d $(HOST_SUBDIR)/libelf ; then \
47457 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47458 mv prev-libelf stage1-libelf ; : ; \
47460 @endif libelf
47461 @if gold
47462 @if test -d $(HOST_SUBDIR)/gold ; then \
47463 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47464 mv prev-gold stage1-gold ; : ; \
47466 @endif gold
47467 @if intl
47468 @if test -d $(HOST_SUBDIR)/intl ; then \
47469 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47470 mv prev-intl stage1-intl ; : ; \
47472 @endif intl
47473 @if ld
47474 @if test -d $(HOST_SUBDIR)/ld ; then \
47475 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47476 mv prev-ld stage1-ld ; : ; \
47478 @endif ld
47479 @if libbacktrace
47480 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47481 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47482 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47484 @endif libbacktrace
47485 @if libcpp
47486 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47487 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47488 mv prev-libcpp stage1-libcpp ; : ; \
47490 @endif libcpp
47491 @if libdecnumber
47492 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47493 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47494 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47496 @endif libdecnumber
47497 @if libiberty
47498 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47499 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47500 mv prev-libiberty stage1-libiberty ; : ; \
47502 @endif libiberty
47503 @if libiberty-linker-plugin
47504 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47505 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47506 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47508 @endif libiberty-linker-plugin
47509 @if zlib
47510 @if test -d $(HOST_SUBDIR)/zlib ; then \
47511 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47512 mv prev-zlib stage1-zlib ; : ; \
47514 @endif zlib
47515 @if lto-plugin
47516 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47517 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47518 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47520 @endif lto-plugin
47521 @if test -d $(TARGET_SUBDIR) ; then \
47522 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47523 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47525 rm -f stage_current
47527 # Bubble a bug fix through all the stages up to stage profile. They are
47528 # remade, but not reconfigured. The next stage (if any) will not be
47529 # reconfigured either.
47530 .PHONY: stageprofile-bubble
47531 stageprofile-bubble:: stage1-bubble
47532 @r=`${PWD_COMMAND}`; export r; \
47533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47534 if test -f stageprofile-lean || test -f stage1-lean ; then \
47535 echo Skipping rebuild of stageprofile ; \
47536 else \
47537 $(MAKE) stageprofile-start; \
47538 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47541 .PHONY: all-stageprofile clean-stageprofile
47542 do-clean: clean-stageprofile
47544 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47545 # only possibility, but now it conflicts with no-bootstrap rules
47546 @if gcc-bootstrap
47551 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47552 distclean-stage1:: distclean-stageprofile
47553 .PHONY: distclean-stageprofile
47554 distclean-stageprofile::
47555 @: $(MAKE); $(stage)
47556 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47557 rm -rf stageprofile-*
47560 @endif gcc-bootstrap
47563 .PHONY: stagefeedback-start stagefeedback-end
47565 stagefeedback-start::
47566 @: $(MAKE); $(stage); \
47567 echo stagefeedback > stage_current ; \
47568 echo stagefeedback > stage_last; \
47569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47570 @if bfd
47571 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47572 mkdir stagefeedback-bfd; \
47573 mv stagefeedback-bfd bfd ; \
47574 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47575 @endif bfd
47576 @if opcodes
47577 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47578 mkdir stagefeedback-opcodes; \
47579 mv stagefeedback-opcodes opcodes ; \
47580 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47581 @endif opcodes
47582 @if binutils
47583 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47584 mkdir stagefeedback-binutils; \
47585 mv stagefeedback-binutils binutils ; \
47586 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47587 @endif binutils
47588 @if fixincludes
47589 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47590 mkdir stagefeedback-fixincludes; \
47591 mv stagefeedback-fixincludes fixincludes ; \
47592 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47593 @endif fixincludes
47594 @if gas
47595 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47596 mkdir stagefeedback-gas; \
47597 mv stagefeedback-gas gas ; \
47598 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47599 @endif gas
47600 @if gcc
47601 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47602 mkdir stagefeedback-gcc; \
47603 mv stagefeedback-gcc gcc ; \
47604 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47605 @endif gcc
47606 @if gmp
47607 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47608 mkdir stagefeedback-gmp; \
47609 mv stagefeedback-gmp gmp ; \
47610 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47611 @endif gmp
47612 @if mpfr
47613 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47614 mkdir stagefeedback-mpfr; \
47615 mv stagefeedback-mpfr mpfr ; \
47616 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47617 @endif mpfr
47618 @if mpc
47619 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47620 mkdir stagefeedback-mpc; \
47621 mv stagefeedback-mpc mpc ; \
47622 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47623 @endif mpc
47624 @if isl
47625 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47626 mkdir stagefeedback-isl; \
47627 mv stagefeedback-isl isl ; \
47628 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47629 @endif isl
47630 @if cloog
47631 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
47632 mkdir stagefeedback-cloog; \
47633 mv stagefeedback-cloog cloog ; \
47634 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
47635 @endif cloog
47636 @if libelf
47637 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47638 mkdir stagefeedback-libelf; \
47639 mv stagefeedback-libelf libelf ; \
47640 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47641 @endif libelf
47642 @if gold
47643 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47644 mkdir stagefeedback-gold; \
47645 mv stagefeedback-gold gold ; \
47646 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47647 @endif gold
47648 @if intl
47649 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47650 mkdir stagefeedback-intl; \
47651 mv stagefeedback-intl intl ; \
47652 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47653 @endif intl
47654 @if ld
47655 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47656 mkdir stagefeedback-ld; \
47657 mv stagefeedback-ld ld ; \
47658 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47659 @endif ld
47660 @if libbacktrace
47661 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47662 mkdir stagefeedback-libbacktrace; \
47663 mv stagefeedback-libbacktrace libbacktrace ; \
47664 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47665 @endif libbacktrace
47666 @if libcpp
47667 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47668 mkdir stagefeedback-libcpp; \
47669 mv stagefeedback-libcpp libcpp ; \
47670 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47671 @endif libcpp
47672 @if libdecnumber
47673 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47674 mkdir stagefeedback-libdecnumber; \
47675 mv stagefeedback-libdecnumber libdecnumber ; \
47676 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47677 @endif libdecnumber
47678 @if libiberty
47679 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47680 mkdir stagefeedback-libiberty; \
47681 mv stagefeedback-libiberty libiberty ; \
47682 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47683 @endif libiberty
47684 @if libiberty-linker-plugin
47685 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47686 mkdir stagefeedback-libiberty-linker-plugin; \
47687 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47688 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47689 @endif libiberty-linker-plugin
47690 @if zlib
47691 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47692 mkdir stagefeedback-zlib; \
47693 mv stagefeedback-zlib zlib ; \
47694 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47695 @endif zlib
47696 @if lto-plugin
47697 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47698 mkdir stagefeedback-lto-plugin; \
47699 mv stagefeedback-lto-plugin lto-plugin ; \
47700 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47701 @endif lto-plugin
47702 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47703 mkdir stagefeedback-$(TARGET_SUBDIR); \
47704 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47705 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47707 stagefeedback-end::
47708 @if bfd
47709 @if test -d $(HOST_SUBDIR)/bfd ; then \
47710 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47711 mv prev-bfd stageprofile-bfd ; : ; \
47713 @endif bfd
47714 @if opcodes
47715 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47716 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47717 mv prev-opcodes stageprofile-opcodes ; : ; \
47719 @endif opcodes
47720 @if binutils
47721 @if test -d $(HOST_SUBDIR)/binutils ; then \
47722 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47723 mv prev-binutils stageprofile-binutils ; : ; \
47725 @endif binutils
47726 @if fixincludes
47727 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47728 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47729 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47731 @endif fixincludes
47732 @if gas
47733 @if test -d $(HOST_SUBDIR)/gas ; then \
47734 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47735 mv prev-gas stageprofile-gas ; : ; \
47737 @endif gas
47738 @if gcc
47739 @if test -d $(HOST_SUBDIR)/gcc ; then \
47740 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47741 mv prev-gcc stageprofile-gcc ; : ; \
47743 @endif gcc
47744 @if gmp
47745 @if test -d $(HOST_SUBDIR)/gmp ; then \
47746 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47747 mv prev-gmp stageprofile-gmp ; : ; \
47749 @endif gmp
47750 @if mpfr
47751 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47752 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47753 mv prev-mpfr stageprofile-mpfr ; : ; \
47755 @endif mpfr
47756 @if mpc
47757 @if test -d $(HOST_SUBDIR)/mpc ; then \
47758 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47759 mv prev-mpc stageprofile-mpc ; : ; \
47761 @endif mpc
47762 @if isl
47763 @if test -d $(HOST_SUBDIR)/isl ; then \
47764 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47765 mv prev-isl stageprofile-isl ; : ; \
47767 @endif isl
47768 @if cloog
47769 @if test -d $(HOST_SUBDIR)/cloog ; then \
47770 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
47771 mv prev-cloog stageprofile-cloog ; : ; \
47773 @endif cloog
47774 @if libelf
47775 @if test -d $(HOST_SUBDIR)/libelf ; then \
47776 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47777 mv prev-libelf stageprofile-libelf ; : ; \
47779 @endif libelf
47780 @if gold
47781 @if test -d $(HOST_SUBDIR)/gold ; then \
47782 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47783 mv prev-gold stageprofile-gold ; : ; \
47785 @endif gold
47786 @if intl
47787 @if test -d $(HOST_SUBDIR)/intl ; then \
47788 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47789 mv prev-intl stageprofile-intl ; : ; \
47791 @endif intl
47792 @if ld
47793 @if test -d $(HOST_SUBDIR)/ld ; then \
47794 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47795 mv prev-ld stageprofile-ld ; : ; \
47797 @endif ld
47798 @if libbacktrace
47799 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47800 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47801 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47803 @endif libbacktrace
47804 @if libcpp
47805 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47806 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47807 mv prev-libcpp stageprofile-libcpp ; : ; \
47809 @endif libcpp
47810 @if libdecnumber
47811 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47812 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47813 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47815 @endif libdecnumber
47816 @if libiberty
47817 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47818 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47819 mv prev-libiberty stageprofile-libiberty ; : ; \
47821 @endif libiberty
47822 @if libiberty-linker-plugin
47823 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47824 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47825 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47827 @endif libiberty-linker-plugin
47828 @if zlib
47829 @if test -d $(HOST_SUBDIR)/zlib ; then \
47830 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47831 mv prev-zlib stageprofile-zlib ; : ; \
47833 @endif zlib
47834 @if lto-plugin
47835 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47836 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47837 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47839 @endif lto-plugin
47840 @if test -d $(TARGET_SUBDIR) ; then \
47841 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47842 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47844 rm -f stage_current
47846 # Bubble a bug fix through all the stages up to stage feedback. They are
47847 # remade, but not reconfigured. The next stage (if any) will not be
47848 # reconfigured either.
47849 .PHONY: stagefeedback-bubble
47850 stagefeedback-bubble:: stageprofile-bubble
47851 @r=`${PWD_COMMAND}`; export r; \
47852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47853 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47854 echo Skipping rebuild of stagefeedback ; \
47855 else \
47856 $(MAKE) stagefeedback-start; \
47857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47860 .PHONY: all-stagefeedback clean-stagefeedback
47861 do-clean: clean-stagefeedback
47863 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47864 # only possibility, but now it conflicts with no-bootstrap rules
47865 @if gcc-bootstrap
47869 .PHONY: profiledbootstrap profiledbootstrap-lean
47870 profiledbootstrap:
47871 echo stagefeedback > stage_final
47872 @r=`${PWD_COMMAND}`; export r; \
47873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47874 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47875 @: $(MAKE); $(unstage)
47876 @r=`${PWD_COMMAND}`; export r; \
47877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47879 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47881 profiledbootstrap-lean:
47882 echo stagefeedback > stage_final
47883 @r=`${PWD_COMMAND}`; export r; \
47884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47885 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47886 @: $(MAKE); $(unstage)
47887 @r=`${PWD_COMMAND}`; export r; \
47888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47889 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47890 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47893 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47894 distclean-stageprofile:: distclean-stagefeedback
47895 .PHONY: distclean-stagefeedback
47896 distclean-stagefeedback::
47897 @: $(MAKE); $(stage)
47898 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47899 rm -rf stagefeedback-*
47902 @endif gcc-bootstrap
47906 stageprofile-end::
47907 $(MAKE) distclean-stagefeedback
47909 stagefeedback-start::
47910 @r=`${PWD_COMMAND}`; export r; \
47911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47912 for i in prev-*; do \
47913 j=`echo $$i | sed s/^prev-//` ; \
47914 cd $$r/$$i && \
47915 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47916 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47917 done
47919 @if gcc-bootstrap
47920 do-distclean: distclean-stage1
47922 # Provide a GCC build when we're building target libraries. This does
47923 # not work as a dependency, just as the minimum necessary to avoid errors.
47924 stage_last:
47925 @r=`${PWD_COMMAND}`; export r; \
47926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47927 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47929 # Same as unstage, but not phony and defaulting to stage1-start. We place
47930 # it in the dependency so that for example `make -j3 all-gcc' works.
47931 stage_current:
47932 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47934 .PHONY: restrap
47935 restrap::
47936 @: $(MAKE); $(stage)
47937 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47938 restrap:: all
47939 @endif gcc-bootstrap
47941 # --------------------------------------
47942 # Dependencies between different modules
47943 # --------------------------------------
47945 # Generic dependencies for target modules on host stuff, especially gcc
47946 @if gcc-bootstrap
47947 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47948 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47949 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47950 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47951 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47952 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47953 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47954 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47955 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47956 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47957 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47958 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47959 configure-stage1-target-libvtv: maybe-all-stage1-gcc
47960 configure-stage2-target-libvtv: maybe-all-stage2-gcc
47961 configure-stage3-target-libvtv: maybe-all-stage3-gcc
47962 configure-stage4-target-libvtv: maybe-all-stage4-gcc
47963 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
47964 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
47965 configure-target-libcilkrts: stage_last
47966 configure-target-libssp: stage_last
47967 configure-target-newlib: stage_last
47968 configure-stage1-target-libgcc: maybe-all-stage1-gcc
47969 configure-stage2-target-libgcc: maybe-all-stage2-gcc
47970 configure-stage3-target-libgcc: maybe-all-stage3-gcc
47971 configure-stage4-target-libgcc: maybe-all-stage4-gcc
47972 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
47973 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
47974 configure-target-libbacktrace: stage_last
47975 configure-target-libquadmath: stage_last
47976 configure-target-libgfortran: stage_last
47977 configure-target-libobjc: stage_last
47978 configure-target-libgo: stage_last
47979 configure-target-libtermcap: stage_last
47980 configure-target-winsup: stage_last
47981 configure-target-libgloss: stage_last
47982 configure-target-libffi: stage_last
47983 configure-target-libjava: stage_last
47984 configure-target-zlib: stage_last
47985 configure-target-boehm-gc: stage_last
47986 configure-target-rda: stage_last
47987 configure-target-libada: stage_last
47988 configure-stage1-target-libgomp: maybe-all-stage1-gcc
47989 configure-stage2-target-libgomp: maybe-all-stage2-gcc
47990 configure-stage3-target-libgomp: maybe-all-stage3-gcc
47991 configure-stage4-target-libgomp: maybe-all-stage4-gcc
47992 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
47993 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
47994 configure-target-libitm: stage_last
47995 configure-target-libatomic: stage_last
47996 @endif gcc-bootstrap
47998 @if gcc-no-bootstrap
47999 configure-target-libstdc++-v3: maybe-all-gcc
48000 configure-target-libsanitizer: maybe-all-gcc
48001 configure-target-libvtv: maybe-all-gcc
48002 configure-target-libcilkrts: maybe-all-gcc
48003 configure-target-libssp: maybe-all-gcc
48004 configure-target-newlib: maybe-all-gcc
48005 configure-target-libgcc: maybe-all-gcc
48006 configure-target-libbacktrace: maybe-all-gcc
48007 configure-target-libquadmath: maybe-all-gcc
48008 configure-target-libgfortran: maybe-all-gcc
48009 configure-target-libobjc: maybe-all-gcc
48010 configure-target-libgo: maybe-all-gcc
48011 configure-target-libtermcap: maybe-all-gcc
48012 configure-target-winsup: maybe-all-gcc
48013 configure-target-libgloss: maybe-all-gcc
48014 configure-target-libffi: maybe-all-gcc
48015 configure-target-libjava: maybe-all-gcc
48016 configure-target-zlib: maybe-all-gcc
48017 configure-target-boehm-gc: maybe-all-gcc
48018 configure-target-rda: maybe-all-gcc
48019 configure-target-libada: maybe-all-gcc
48020 configure-target-libgomp: maybe-all-gcc
48021 configure-target-libitm: maybe-all-gcc
48022 configure-target-libatomic: maybe-all-gcc
48023 @endif gcc-no-bootstrap
48026 # There are two types of dependencies here: 'hard' dependencies, where one
48027 # module simply won't build without the other; and 'soft' dependencies, where
48028 # if the depended-on module is missing, the depending module will do without
48029 # or find a substitute somewhere (perhaps installed). Soft dependencies
48030 # are made here to depend on a 'maybe-' target. If you're not sure,
48031 # it's safer to use a soft dependency.
48038 # With all the machinery above in place, it is pretty easy to generate
48039 # dependencies. Host dependencies are a bit more complex because we have
48040 # to check for bootstrap/prebootstrap dependencies. To resolve
48041 # prebootstrap dependencies, prebootstrap modules are gathered in
48042 # a hash table.
48043 all-build-bison: maybe-all-build-texinfo
48044 all-build-flex: maybe-all-build-texinfo
48045 all-build-flex: maybe-all-build-bison
48046 all-build-flex: maybe-all-build-m4
48047 all-build-libiberty: maybe-all-build-texinfo
48048 all-build-m4: maybe-all-build-texinfo
48049 all-build-fixincludes: maybe-all-build-libiberty
48050 configure-gcc: maybe-configure-intl
48052 configure-stage1-gcc: maybe-configure-stage1-intl
48053 configure-stage2-gcc: maybe-configure-stage2-intl
48054 configure-stage3-gcc: maybe-configure-stage3-intl
48055 configure-stage4-gcc: maybe-configure-stage4-intl
48056 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48057 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48058 configure-gcc: maybe-all-gmp
48060 configure-stage1-gcc: maybe-all-stage1-gmp
48061 configure-stage2-gcc: maybe-all-stage2-gmp
48062 configure-stage3-gcc: maybe-all-stage3-gmp
48063 configure-stage4-gcc: maybe-all-stage4-gmp
48064 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48065 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48066 configure-gcc: maybe-all-lto-plugin
48068 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48069 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48070 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48071 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48072 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48073 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48074 configure-gcc: maybe-all-binutils
48076 configure-stage1-gcc: maybe-all-stage1-binutils
48077 configure-stage2-gcc: maybe-all-stage2-binutils
48078 configure-stage3-gcc: maybe-all-stage3-binutils
48079 configure-stage4-gcc: maybe-all-stage4-binutils
48080 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48081 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48082 configure-gcc: maybe-all-gas
48084 configure-stage1-gcc: maybe-all-stage1-gas
48085 configure-stage2-gcc: maybe-all-stage2-gas
48086 configure-stage3-gcc: maybe-all-stage3-gas
48087 configure-stage4-gcc: maybe-all-stage4-gas
48088 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48089 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48090 configure-gcc: maybe-all-ld
48092 configure-stage1-gcc: maybe-all-stage1-ld
48093 configure-stage2-gcc: maybe-all-stage2-ld
48094 configure-stage3-gcc: maybe-all-stage3-ld
48095 configure-stage4-gcc: maybe-all-stage4-ld
48096 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48097 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48098 configure-gcc: maybe-all-gold
48100 configure-stage1-gcc: maybe-all-stage1-gold
48101 configure-stage2-gcc: maybe-all-stage2-gold
48102 configure-stage3-gcc: maybe-all-stage3-gold
48103 configure-stage4-gcc: maybe-all-stage4-gold
48104 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48105 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48106 configure-gcc: maybe-all-libelf
48108 configure-stage1-gcc: maybe-all-stage1-libelf
48109 configure-stage2-gcc: maybe-all-stage2-libelf
48110 configure-stage3-gcc: maybe-all-stage3-libelf
48111 configure-stage4-gcc: maybe-all-stage4-libelf
48112 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48113 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48114 all-gcc: all-libiberty
48116 all-stage1-gcc: all-stage1-libiberty
48117 all-stage2-gcc: all-stage2-libiberty
48118 all-stage3-gcc: all-stage3-libiberty
48119 all-stage4-gcc: all-stage4-libiberty
48120 all-stageprofile-gcc: all-stageprofile-libiberty
48121 all-stagefeedback-gcc: all-stagefeedback-libiberty
48122 all-gcc: maybe-all-intl
48124 all-stage1-gcc: maybe-all-stage1-intl
48125 all-stage2-gcc: maybe-all-stage2-intl
48126 all-stage3-gcc: maybe-all-stage3-intl
48127 all-stage4-gcc: maybe-all-stage4-intl
48128 all-stageprofile-gcc: maybe-all-stageprofile-intl
48129 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48130 all-gcc: maybe-all-mpfr
48132 all-stage1-gcc: maybe-all-stage1-mpfr
48133 all-stage2-gcc: maybe-all-stage2-mpfr
48134 all-stage3-gcc: maybe-all-stage3-mpfr
48135 all-stage4-gcc: maybe-all-stage4-mpfr
48136 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48137 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48138 all-gcc: maybe-all-mpc
48140 all-stage1-gcc: maybe-all-stage1-mpc
48141 all-stage2-gcc: maybe-all-stage2-mpc
48142 all-stage3-gcc: maybe-all-stage3-mpc
48143 all-stage4-gcc: maybe-all-stage4-mpc
48144 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48145 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48146 all-gcc: maybe-all-cloog
48148 all-stage1-gcc: maybe-all-stage1-cloog
48149 all-stage2-gcc: maybe-all-stage2-cloog
48150 all-stage3-gcc: maybe-all-stage3-cloog
48151 all-stage4-gcc: maybe-all-stage4-cloog
48152 all-stageprofile-gcc: maybe-all-stageprofile-cloog
48153 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
48154 all-gcc: maybe-all-build-texinfo
48156 all-stage1-gcc: maybe-all-build-texinfo
48157 all-stage2-gcc: maybe-all-build-texinfo
48158 all-stage3-gcc: maybe-all-build-texinfo
48159 all-stage4-gcc: maybe-all-build-texinfo
48160 all-stageprofile-gcc: maybe-all-build-texinfo
48161 all-stagefeedback-gcc: maybe-all-build-texinfo
48162 all-gcc: maybe-all-build-bison
48164 all-stage1-gcc: maybe-all-build-bison
48165 all-stage2-gcc: maybe-all-build-bison
48166 all-stage3-gcc: maybe-all-build-bison
48167 all-stage4-gcc: maybe-all-build-bison
48168 all-stageprofile-gcc: maybe-all-build-bison
48169 all-stagefeedback-gcc: maybe-all-build-bison
48170 all-gcc: maybe-all-build-flex
48172 all-stage1-gcc: maybe-all-build-flex
48173 all-stage2-gcc: maybe-all-build-flex
48174 all-stage3-gcc: maybe-all-build-flex
48175 all-stage4-gcc: maybe-all-build-flex
48176 all-stageprofile-gcc: maybe-all-build-flex
48177 all-stagefeedback-gcc: maybe-all-build-flex
48178 all-gcc: maybe-all-build-libiberty
48180 all-stage1-gcc: maybe-all-build-libiberty
48181 all-stage2-gcc: maybe-all-build-libiberty
48182 all-stage3-gcc: maybe-all-build-libiberty
48183 all-stage4-gcc: maybe-all-build-libiberty
48184 all-stageprofile-gcc: maybe-all-build-libiberty
48185 all-stagefeedback-gcc: maybe-all-build-libiberty
48186 all-gcc: maybe-all-build-fixincludes
48188 all-stage1-gcc: maybe-all-build-fixincludes
48189 all-stage2-gcc: maybe-all-build-fixincludes
48190 all-stage3-gcc: maybe-all-build-fixincludes
48191 all-stage4-gcc: maybe-all-build-fixincludes
48192 all-stageprofile-gcc: maybe-all-build-fixincludes
48193 all-stagefeedback-gcc: maybe-all-build-fixincludes
48194 all-gcc: maybe-all-zlib
48196 all-stage1-gcc: maybe-all-stage1-zlib
48197 all-stage2-gcc: maybe-all-stage2-zlib
48198 all-stage3-gcc: maybe-all-stage3-zlib
48199 all-stage4-gcc: maybe-all-stage4-zlib
48200 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48201 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48202 all-gcc: all-libbacktrace
48204 all-stage1-gcc: all-stage1-libbacktrace
48205 all-stage2-gcc: all-stage2-libbacktrace
48206 all-stage3-gcc: all-stage3-libbacktrace
48207 all-stage4-gcc: all-stage4-libbacktrace
48208 all-stageprofile-gcc: all-stageprofile-libbacktrace
48209 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48210 all-gcc: all-libcpp
48212 all-stage1-gcc: all-stage1-libcpp
48213 all-stage2-gcc: all-stage2-libcpp
48214 all-stage3-gcc: all-stage3-libcpp
48215 all-stage4-gcc: all-stage4-libcpp
48216 all-stageprofile-gcc: all-stageprofile-libcpp
48217 all-stagefeedback-gcc: all-stagefeedback-libcpp
48218 all-gcc: all-libdecnumber
48220 all-stage1-gcc: all-stage1-libdecnumber
48221 all-stage2-gcc: all-stage2-libdecnumber
48222 all-stage3-gcc: all-stage3-libdecnumber
48223 all-stage4-gcc: all-stage4-libdecnumber
48224 all-stageprofile-gcc: all-stageprofile-libdecnumber
48225 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48226 all-gcc: maybe-all-libiberty
48228 all-stage1-gcc: maybe-all-stage1-libiberty
48229 all-stage2-gcc: maybe-all-stage2-libiberty
48230 all-stage3-gcc: maybe-all-stage3-libiberty
48231 all-stage4-gcc: maybe-all-stage4-libiberty
48232 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48233 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48234 all-gcc: maybe-all-fixincludes
48236 all-stage1-gcc: maybe-all-stage1-fixincludes
48237 all-stage2-gcc: maybe-all-stage2-fixincludes
48238 all-stage3-gcc: maybe-all-stage3-fixincludes
48239 all-stage4-gcc: maybe-all-stage4-fixincludes
48240 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48241 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48242 all-gcc: maybe-all-lto-plugin
48244 all-stage1-gcc: maybe-all-stage1-lto-plugin
48245 all-stage2-gcc: maybe-all-stage2-lto-plugin
48246 all-stage3-gcc: maybe-all-stage3-lto-plugin
48247 all-stage4-gcc: maybe-all-stage4-lto-plugin
48248 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48249 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48250 info-gcc: maybe-all-build-libiberty
48252 info-stage1-gcc: maybe-all-build-libiberty
48253 info-stage2-gcc: maybe-all-build-libiberty
48254 info-stage3-gcc: maybe-all-build-libiberty
48255 info-stage4-gcc: maybe-all-build-libiberty
48256 info-stageprofile-gcc: maybe-all-build-libiberty
48257 info-stagefeedback-gcc: maybe-all-build-libiberty
48258 dvi-gcc: maybe-all-build-libiberty
48260 dvi-stage1-gcc: maybe-all-build-libiberty
48261 dvi-stage2-gcc: maybe-all-build-libiberty
48262 dvi-stage3-gcc: maybe-all-build-libiberty
48263 dvi-stage4-gcc: maybe-all-build-libiberty
48264 dvi-stageprofile-gcc: maybe-all-build-libiberty
48265 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48266 pdf-gcc: maybe-all-build-libiberty
48268 pdf-stage1-gcc: maybe-all-build-libiberty
48269 pdf-stage2-gcc: maybe-all-build-libiberty
48270 pdf-stage3-gcc: maybe-all-build-libiberty
48271 pdf-stage4-gcc: maybe-all-build-libiberty
48272 pdf-stageprofile-gcc: maybe-all-build-libiberty
48273 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48274 html-gcc: maybe-all-build-libiberty
48276 html-stage1-gcc: maybe-all-build-libiberty
48277 html-stage2-gcc: maybe-all-build-libiberty
48278 html-stage3-gcc: maybe-all-build-libiberty
48279 html-stage4-gcc: maybe-all-build-libiberty
48280 html-stageprofile-gcc: maybe-all-build-libiberty
48281 html-stagefeedback-gcc: maybe-all-build-libiberty
48282 install-gcc: maybe-install-fixincludes
48283 install-gcc: maybe-install-lto-plugin
48284 install-strip-gcc: maybe-install-strip-fixincludes
48285 install-strip-gcc: maybe-install-strip-lto-plugin
48286 configure-libcpp: configure-libiberty
48288 configure-stage1-libcpp: configure-stage1-libiberty
48289 configure-stage2-libcpp: configure-stage2-libiberty
48290 configure-stage3-libcpp: configure-stage3-libiberty
48291 configure-stage4-libcpp: configure-stage4-libiberty
48292 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48293 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48294 configure-libcpp: maybe-configure-intl
48296 configure-stage1-libcpp: maybe-configure-stage1-intl
48297 configure-stage2-libcpp: maybe-configure-stage2-intl
48298 configure-stage3-libcpp: maybe-configure-stage3-intl
48299 configure-stage4-libcpp: maybe-configure-stage4-intl
48300 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48301 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48302 all-libcpp: all-libiberty
48304 all-stage1-libcpp: all-stage1-libiberty
48305 all-stage2-libcpp: all-stage2-libiberty
48306 all-stage3-libcpp: all-stage3-libiberty
48307 all-stage4-libcpp: all-stage4-libiberty
48308 all-stageprofile-libcpp: all-stageprofile-libiberty
48309 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48310 all-libcpp: maybe-all-intl
48312 all-stage1-libcpp: maybe-all-stage1-intl
48313 all-stage2-libcpp: maybe-all-stage2-intl
48314 all-stage3-libcpp: maybe-all-stage3-intl
48315 all-stage4-libcpp: maybe-all-stage4-intl
48316 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48317 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48318 all-fixincludes: maybe-all-libiberty
48320 all-stage1-fixincludes: maybe-all-stage1-libiberty
48321 all-stage2-fixincludes: maybe-all-stage2-libiberty
48322 all-stage3-fixincludes: maybe-all-stage3-libiberty
48323 all-stage4-fixincludes: maybe-all-stage4-libiberty
48324 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48325 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48326 all-gnattools: maybe-all-target-libada
48327 all-gnattools: maybe-all-target-libstdc++-v3
48328 all-lto-plugin: maybe-all-libiberty
48330 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48331 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48332 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48333 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48334 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48335 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48336 all-lto-plugin: maybe-all-libiberty-linker-plugin
48338 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48339 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48340 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48341 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48342 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48343 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48344 all-utils: maybe-all-libiberty
48345 configure-mpfr: maybe-all-gmp
48347 configure-stage1-mpfr: maybe-all-stage1-gmp
48348 configure-stage2-mpfr: maybe-all-stage2-gmp
48349 configure-stage3-mpfr: maybe-all-stage3-gmp
48350 configure-stage4-mpfr: maybe-all-stage4-gmp
48351 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48352 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48353 configure-mpc: maybe-all-mpfr
48355 configure-stage1-mpc: maybe-all-stage1-mpfr
48356 configure-stage2-mpc: maybe-all-stage2-mpfr
48357 configure-stage3-mpc: maybe-all-stage3-mpfr
48358 configure-stage4-mpc: maybe-all-stage4-mpfr
48359 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48360 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48361 configure-isl: maybe-all-gmp
48363 configure-stage1-isl: maybe-all-stage1-gmp
48364 configure-stage2-isl: maybe-all-stage2-gmp
48365 configure-stage3-isl: maybe-all-stage3-gmp
48366 configure-stage4-isl: maybe-all-stage4-gmp
48367 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48368 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48369 configure-cloog: maybe-all-isl
48371 configure-stage1-cloog: maybe-all-stage1-isl
48372 configure-stage2-cloog: maybe-all-stage2-isl
48373 configure-stage3-cloog: maybe-all-stage3-isl
48374 configure-stage4-cloog: maybe-all-stage4-isl
48375 configure-stageprofile-cloog: maybe-all-stageprofile-isl
48376 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
48377 configure-cloog: maybe-all-gmp
48379 configure-stage1-cloog: maybe-all-stage1-gmp
48380 configure-stage2-cloog: maybe-all-stage2-gmp
48381 configure-stage3-cloog: maybe-all-stage3-gmp
48382 configure-stage4-cloog: maybe-all-stage4-gmp
48383 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
48384 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
48385 configure-gdb: maybe-all-intl
48386 configure-gdb: maybe-configure-sim
48387 configure-gdb: maybe-all-bfd
48388 configure-gdb: maybe-all-libiconv
48389 all-gdb: maybe-all-libiberty
48390 all-gdb: maybe-all-libiconv
48391 all-gdb: maybe-all-opcodes
48392 all-gdb: maybe-all-readline
48393 all-gdb: maybe-all-build-bison
48394 all-gdb: maybe-all-sim
48395 all-gdb: maybe-all-libdecnumber
48396 all-gdb: maybe-all-libtermcap
48397 configure-libgui: maybe-configure-tcl
48398 configure-libgui: maybe-configure-tk
48399 all-libgui: maybe-all-tcl
48400 all-libgui: maybe-all-tk
48401 all-libgui: maybe-all-itcl
48402 configure-bfd: configure-libiberty
48404 configure-stage1-bfd: configure-stage1-libiberty
48405 configure-stage2-bfd: configure-stage2-libiberty
48406 configure-stage3-bfd: configure-stage3-libiberty
48407 configure-stage4-bfd: configure-stage4-libiberty
48408 configure-stageprofile-bfd: configure-stageprofile-libiberty
48409 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48410 configure-bfd: maybe-configure-intl
48412 configure-stage1-bfd: maybe-configure-stage1-intl
48413 configure-stage2-bfd: maybe-configure-stage2-intl
48414 configure-stage3-bfd: maybe-configure-stage3-intl
48415 configure-stage4-bfd: maybe-configure-stage4-intl
48416 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48417 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48418 all-bfd: maybe-all-libiberty
48420 all-stage1-bfd: maybe-all-stage1-libiberty
48421 all-stage2-bfd: maybe-all-stage2-libiberty
48422 all-stage3-bfd: maybe-all-stage3-libiberty
48423 all-stage4-bfd: maybe-all-stage4-libiberty
48424 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48425 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48426 all-bfd: maybe-all-intl
48428 all-stage1-bfd: maybe-all-stage1-intl
48429 all-stage2-bfd: maybe-all-stage2-intl
48430 all-stage3-bfd: maybe-all-stage3-intl
48431 all-stage4-bfd: maybe-all-stage4-intl
48432 all-stageprofile-bfd: maybe-all-stageprofile-intl
48433 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48434 configure-opcodes: configure-libiberty
48436 configure-stage1-opcodes: configure-stage1-libiberty
48437 configure-stage2-opcodes: configure-stage2-libiberty
48438 configure-stage3-opcodes: configure-stage3-libiberty
48439 configure-stage4-opcodes: configure-stage4-libiberty
48440 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48441 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48442 all-opcodes: maybe-all-libiberty
48444 all-stage1-opcodes: maybe-all-stage1-libiberty
48445 all-stage2-opcodes: maybe-all-stage2-libiberty
48446 all-stage3-opcodes: maybe-all-stage3-libiberty
48447 all-stage4-opcodes: maybe-all-stage4-libiberty
48448 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48449 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48450 configure-binutils: maybe-configure-intl
48452 configure-stage1-binutils: maybe-configure-stage1-intl
48453 configure-stage2-binutils: maybe-configure-stage2-intl
48454 configure-stage3-binutils: maybe-configure-stage3-intl
48455 configure-stage4-binutils: maybe-configure-stage4-intl
48456 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48457 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48458 all-binutils: maybe-all-libiberty
48460 all-stage1-binutils: maybe-all-stage1-libiberty
48461 all-stage2-binutils: maybe-all-stage2-libiberty
48462 all-stage3-binutils: maybe-all-stage3-libiberty
48463 all-stage4-binutils: maybe-all-stage4-libiberty
48464 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48465 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48466 all-binutils: maybe-all-opcodes
48468 all-stage1-binutils: maybe-all-stage1-opcodes
48469 all-stage2-binutils: maybe-all-stage2-opcodes
48470 all-stage3-binutils: maybe-all-stage3-opcodes
48471 all-stage4-binutils: maybe-all-stage4-opcodes
48472 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48473 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48474 all-binutils: maybe-all-bfd
48476 all-stage1-binutils: maybe-all-stage1-bfd
48477 all-stage2-binutils: maybe-all-stage2-bfd
48478 all-stage3-binutils: maybe-all-stage3-bfd
48479 all-stage4-binutils: maybe-all-stage4-bfd
48480 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48481 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48482 all-binutils: maybe-all-build-flex
48484 all-stage1-binutils: maybe-all-build-flex
48485 all-stage2-binutils: maybe-all-build-flex
48486 all-stage3-binutils: maybe-all-build-flex
48487 all-stage4-binutils: maybe-all-build-flex
48488 all-stageprofile-binutils: maybe-all-build-flex
48489 all-stagefeedback-binutils: maybe-all-build-flex
48490 all-binutils: maybe-all-build-bison
48492 all-stage1-binutils: maybe-all-build-bison
48493 all-stage2-binutils: maybe-all-build-bison
48494 all-stage3-binutils: maybe-all-build-bison
48495 all-stage4-binutils: maybe-all-build-bison
48496 all-stageprofile-binutils: maybe-all-build-bison
48497 all-stagefeedback-binutils: maybe-all-build-bison
48498 all-binutils: maybe-all-intl
48500 all-stage1-binutils: maybe-all-stage1-intl
48501 all-stage2-binutils: maybe-all-stage2-intl
48502 all-stage3-binutils: maybe-all-stage3-intl
48503 all-stage4-binutils: maybe-all-stage4-intl
48504 all-stageprofile-binutils: maybe-all-stageprofile-intl
48505 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48506 all-binutils: maybe-all-gas
48508 all-stage1-binutils: maybe-all-stage1-gas
48509 all-stage2-binutils: maybe-all-stage2-gas
48510 all-stage3-binutils: maybe-all-stage3-gas
48511 all-stage4-binutils: maybe-all-stage4-gas
48512 all-stageprofile-binutils: maybe-all-stageprofile-gas
48513 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48514 install-binutils: maybe-install-opcodes
48515 install-strip-binutils: maybe-install-strip-opcodes
48516 install-opcodes: maybe-install-bfd
48517 install-strip-opcodes: maybe-install-strip-bfd
48518 configure-gas: maybe-configure-intl
48520 configure-stage1-gas: maybe-configure-stage1-intl
48521 configure-stage2-gas: maybe-configure-stage2-intl
48522 configure-stage3-gas: maybe-configure-stage3-intl
48523 configure-stage4-gas: maybe-configure-stage4-intl
48524 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48525 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48526 all-gas: maybe-all-libiberty
48528 all-stage1-gas: maybe-all-stage1-libiberty
48529 all-stage2-gas: maybe-all-stage2-libiberty
48530 all-stage3-gas: maybe-all-stage3-libiberty
48531 all-stage4-gas: maybe-all-stage4-libiberty
48532 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48533 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48534 all-gas: maybe-all-opcodes
48536 all-stage1-gas: maybe-all-stage1-opcodes
48537 all-stage2-gas: maybe-all-stage2-opcodes
48538 all-stage3-gas: maybe-all-stage3-opcodes
48539 all-stage4-gas: maybe-all-stage4-opcodes
48540 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48541 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48542 all-gas: maybe-all-bfd
48544 all-stage1-gas: maybe-all-stage1-bfd
48545 all-stage2-gas: maybe-all-stage2-bfd
48546 all-stage3-gas: maybe-all-stage3-bfd
48547 all-stage4-gas: maybe-all-stage4-bfd
48548 all-stageprofile-gas: maybe-all-stageprofile-bfd
48549 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48550 all-gas: maybe-all-intl
48552 all-stage1-gas: maybe-all-stage1-intl
48553 all-stage2-gas: maybe-all-stage2-intl
48554 all-stage3-gas: maybe-all-stage3-intl
48555 all-stage4-gas: maybe-all-stage4-intl
48556 all-stageprofile-gas: maybe-all-stageprofile-intl
48557 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48558 configure-gprof: maybe-configure-intl
48559 all-gprof: maybe-all-libiberty
48560 all-gprof: maybe-all-bfd
48561 all-gprof: maybe-all-opcodes
48562 all-gprof: maybe-all-intl
48563 all-gprof: maybe-all-gas
48564 configure-ld: maybe-configure-intl
48566 configure-stage1-ld: maybe-configure-stage1-intl
48567 configure-stage2-ld: maybe-configure-stage2-intl
48568 configure-stage3-ld: maybe-configure-stage3-intl
48569 configure-stage4-ld: maybe-configure-stage4-intl
48570 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48571 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48572 all-ld: maybe-all-libiberty
48574 all-stage1-ld: maybe-all-stage1-libiberty
48575 all-stage2-ld: maybe-all-stage2-libiberty
48576 all-stage3-ld: maybe-all-stage3-libiberty
48577 all-stage4-ld: maybe-all-stage4-libiberty
48578 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48579 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48580 all-ld: maybe-all-bfd
48582 all-stage1-ld: maybe-all-stage1-bfd
48583 all-stage2-ld: maybe-all-stage2-bfd
48584 all-stage3-ld: maybe-all-stage3-bfd
48585 all-stage4-ld: maybe-all-stage4-bfd
48586 all-stageprofile-ld: maybe-all-stageprofile-bfd
48587 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48588 all-ld: maybe-all-opcodes
48590 all-stage1-ld: maybe-all-stage1-opcodes
48591 all-stage2-ld: maybe-all-stage2-opcodes
48592 all-stage3-ld: maybe-all-stage3-opcodes
48593 all-stage4-ld: maybe-all-stage4-opcodes
48594 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48595 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48596 all-ld: maybe-all-build-bison
48598 all-stage1-ld: maybe-all-build-bison
48599 all-stage2-ld: maybe-all-build-bison
48600 all-stage3-ld: maybe-all-build-bison
48601 all-stage4-ld: maybe-all-build-bison
48602 all-stageprofile-ld: maybe-all-build-bison
48603 all-stagefeedback-ld: maybe-all-build-bison
48604 all-ld: maybe-all-build-flex
48606 all-stage1-ld: maybe-all-build-flex
48607 all-stage2-ld: maybe-all-build-flex
48608 all-stage3-ld: maybe-all-build-flex
48609 all-stage4-ld: maybe-all-build-flex
48610 all-stageprofile-ld: maybe-all-build-flex
48611 all-stagefeedback-ld: maybe-all-build-flex
48612 all-ld: maybe-all-intl
48614 all-stage1-ld: maybe-all-stage1-intl
48615 all-stage2-ld: maybe-all-stage2-intl
48616 all-stage3-ld: maybe-all-stage3-intl
48617 all-stage4-ld: maybe-all-stage4-intl
48618 all-stageprofile-ld: maybe-all-stageprofile-intl
48619 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48620 all-ld: maybe-all-gas
48622 all-stage1-ld: maybe-all-stage1-gas
48623 all-stage2-ld: maybe-all-stage2-gas
48624 all-stage3-ld: maybe-all-stage3-gas
48625 all-stage4-ld: maybe-all-stage4-gas
48626 all-stageprofile-ld: maybe-all-stageprofile-gas
48627 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48628 all-ld: maybe-all-binutils
48630 all-stage1-ld: maybe-all-stage1-binutils
48631 all-stage2-ld: maybe-all-stage2-binutils
48632 all-stage3-ld: maybe-all-stage3-binutils
48633 all-stage4-ld: maybe-all-stage4-binutils
48634 all-stageprofile-ld: maybe-all-stageprofile-binutils
48635 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48636 install-ld: maybe-install-gold
48637 install-strip-ld: maybe-install-strip-gold
48638 configure-gold: maybe-configure-intl
48640 configure-stage1-gold: maybe-configure-stage1-intl
48641 configure-stage2-gold: maybe-configure-stage2-intl
48642 configure-stage3-gold: maybe-configure-stage3-intl
48643 configure-stage4-gold: maybe-configure-stage4-intl
48644 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48645 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48646 all-gold: maybe-all-libiberty
48648 all-stage1-gold: maybe-all-stage1-libiberty
48649 all-stage2-gold: maybe-all-stage2-libiberty
48650 all-stage3-gold: maybe-all-stage3-libiberty
48651 all-stage4-gold: maybe-all-stage4-libiberty
48652 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48653 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48654 all-gold: maybe-all-intl
48656 all-stage1-gold: maybe-all-stage1-intl
48657 all-stage2-gold: maybe-all-stage2-intl
48658 all-stage3-gold: maybe-all-stage3-intl
48659 all-stage4-gold: maybe-all-stage4-intl
48660 all-stageprofile-gold: maybe-all-stageprofile-intl
48661 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48662 all-gold: maybe-all-bfd
48664 all-stage1-gold: maybe-all-stage1-bfd
48665 all-stage2-gold: maybe-all-stage2-bfd
48666 all-stage3-gold: maybe-all-stage3-bfd
48667 all-stage4-gold: maybe-all-stage4-bfd
48668 all-stageprofile-gold: maybe-all-stageprofile-bfd
48669 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48670 all-gold: maybe-all-build-bison
48672 all-stage1-gold: maybe-all-build-bison
48673 all-stage2-gold: maybe-all-build-bison
48674 all-stage3-gold: maybe-all-build-bison
48675 all-stage4-gold: maybe-all-build-bison
48676 all-stageprofile-gold: maybe-all-build-bison
48677 all-stagefeedback-gold: maybe-all-build-bison
48678 all-gold: maybe-all-gas
48680 all-stage1-gold: maybe-all-stage1-gas
48681 all-stage2-gold: maybe-all-stage2-gas
48682 all-stage3-gold: maybe-all-stage3-gas
48683 all-stage4-gold: maybe-all-stage4-gas
48684 all-stageprofile-gold: maybe-all-stageprofile-gas
48685 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48686 check-gold: maybe-all-binutils
48688 check-stage1-gold: maybe-all-stage1-binutils
48689 check-stage2-gold: maybe-all-stage2-binutils
48690 check-stage3-gold: maybe-all-stage3-binutils
48691 check-stage4-gold: maybe-all-stage4-binutils
48692 check-stageprofile-gold: maybe-all-stageprofile-binutils
48693 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48694 check-gold: maybe-all-gas
48696 check-stage1-gold: maybe-all-stage1-gas
48697 check-stage2-gold: maybe-all-stage2-gas
48698 check-stage3-gold: maybe-all-stage3-gas
48699 check-stage4-gold: maybe-all-stage4-gas
48700 check-stageprofile-gold: maybe-all-stageprofile-gas
48701 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48702 configure-opcodes: maybe-configure-intl
48704 configure-stage1-opcodes: maybe-configure-stage1-intl
48705 configure-stage2-opcodes: maybe-configure-stage2-intl
48706 configure-stage3-opcodes: maybe-configure-stage3-intl
48707 configure-stage4-opcodes: maybe-configure-stage4-intl
48708 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48709 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48710 all-opcodes: maybe-all-bfd
48712 all-stage1-opcodes: maybe-all-stage1-bfd
48713 all-stage2-opcodes: maybe-all-stage2-bfd
48714 all-stage3-opcodes: maybe-all-stage3-bfd
48715 all-stage4-opcodes: maybe-all-stage4-bfd
48716 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48717 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48718 all-opcodes: maybe-all-libiberty
48720 all-stage1-opcodes: maybe-all-stage1-libiberty
48721 all-stage2-opcodes: maybe-all-stage2-libiberty
48722 all-stage3-opcodes: maybe-all-stage3-libiberty
48723 all-stage4-opcodes: maybe-all-stage4-libiberty
48724 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48725 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48726 all-opcodes: maybe-all-intl
48728 all-stage1-opcodes: maybe-all-stage1-intl
48729 all-stage2-opcodes: maybe-all-stage2-intl
48730 all-stage3-opcodes: maybe-all-stage3-intl
48731 all-stage4-opcodes: maybe-all-stage4-intl
48732 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48733 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48734 all-dejagnu: maybe-all-tcl
48735 all-dejagnu: maybe-all-expect
48736 all-dejagnu: maybe-all-tk
48737 configure-expect: maybe-configure-tcl
48738 configure-expect: maybe-configure-tk
48739 all-expect: maybe-all-tcl
48740 all-expect: maybe-all-tk
48741 configure-itcl: maybe-configure-tcl
48742 configure-itcl: maybe-configure-tk
48743 all-itcl: maybe-all-tcl
48744 all-itcl: maybe-all-tk
48745 install-itcl: maybe-install-tcl
48746 install-strip-itcl: maybe-install-strip-tcl
48747 configure-tk: maybe-configure-tcl
48748 all-tk: maybe-all-tcl
48749 all-sid: maybe-all-libiberty
48750 all-sid: maybe-all-bfd
48751 all-sid: maybe-all-opcodes
48752 all-sid: maybe-all-tcl
48753 all-sid: maybe-all-tk
48754 install-sid: maybe-install-tcl
48755 install-strip-sid: maybe-install-strip-tcl
48756 install-sid: maybe-install-tk
48757 install-strip-sid: maybe-install-strip-tk
48758 configure-sim: maybe-configure-intl
48759 all-sim: maybe-all-intl
48760 all-sim: maybe-all-libiberty
48761 all-sim: maybe-all-bfd
48762 all-sim: maybe-all-opcodes
48763 all-sim: maybe-all-readline
48764 all-sim: maybe-configure-gdb
48765 all-fastjar: maybe-all-zlib
48766 all-fastjar: maybe-all-build-texinfo
48767 all-fastjar: maybe-all-libiberty
48768 all-bison: maybe-all-intl
48769 all-bison: maybe-all-build-texinfo
48770 all-flex: maybe-all-build-bison
48771 all-flex: maybe-all-intl
48772 all-flex: maybe-all-m4
48773 all-flex: maybe-all-build-texinfo
48774 all-m4: maybe-all-intl
48775 all-m4: maybe-all-build-texinfo
48776 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48777 configure-target-fastjar: maybe-configure-target-zlib
48778 all-target-fastjar: maybe-all-target-zlib
48779 configure-target-libgo: maybe-configure-target-libffi
48780 configure-target-libgo: maybe-all-target-libstdc++-v3
48781 all-target-libgo: maybe-all-target-libbacktrace
48782 all-target-libgo: maybe-all-target-libffi
48783 all-target-libgo: maybe-all-target-libatomic
48784 configure-target-libjava: maybe-configure-target-zlib
48785 configure-target-libjava: maybe-configure-target-boehm-gc
48786 configure-target-libjava: maybe-configure-target-libffi
48787 all-target-libjava: maybe-all-fastjar
48788 all-target-libjava: maybe-all-target-zlib
48789 all-target-libjava: maybe-all-target-boehm-gc
48790 all-target-libjava: maybe-all-target-libffi
48791 configure-target-libobjc: maybe-configure-target-boehm-gc
48792 all-target-libobjc: maybe-all-target-boehm-gc
48793 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48795 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48796 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48797 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48798 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48799 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48800 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48801 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48803 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48804 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48805 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48806 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48807 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48808 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48809 configure-target-libvtv: maybe-all-target-libstdc++-v3
48811 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48812 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48813 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48814 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48815 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48816 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48817 all-target-libstdc++-v3: maybe-configure-target-libgomp
48819 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48820 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48821 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48822 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48823 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48824 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48825 install-target-libgo: maybe-install-target-libatomic
48826 install-target-libgfortran: maybe-install-target-libquadmath
48827 install-target-libgfortran: maybe-install-target-libgcc
48828 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48829 install-target-libsanitizer: maybe-install-target-libgcc
48830 install-target-libvtv: maybe-install-target-libstdc++-v3
48831 install-target-libvtv: maybe-install-target-libgcc
48832 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48833 install-target-libcilkrts: maybe-install-target-libgcc
48834 install-target-libjava: maybe-install-target-libgcc
48835 install-target-libitm: maybe-install-target-libgcc
48836 install-target-libobjc: maybe-install-target-libgcc
48837 install-target-libstdc++-v3: maybe-install-target-libgcc
48838 all-target-libgloss: maybe-all-target-newlib
48839 all-target-winsup: maybe-all-target-libtermcap
48840 configure-target-newlib: maybe-all-binutils
48841 configure-target-newlib: maybe-all-ld
48842 configure-target-libgfortran: maybe-all-target-libquadmath
48845 # Dependencies for target modules on other target modules are
48846 # described by lang_env_dependencies; the defaults apply to anything
48847 # not mentioned there.
48850 @if gcc-bootstrap
48851 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48852 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48853 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48854 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48855 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48856 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48857 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48858 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48859 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48860 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48861 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48862 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48863 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48864 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48865 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48866 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48867 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48868 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48869 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48870 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48871 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48872 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48873 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48874 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48875 @endif gcc-bootstrap
48877 @if gcc-no-bootstrap
48878 configure-target-libstdc++-v3: maybe-all-target-libgcc
48879 configure-target-libsanitizer: maybe-all-target-libgcc
48880 configure-target-libvtv: maybe-all-target-libgcc
48881 configure-target-libcilkrts: maybe-all-target-libgcc
48882 configure-target-libssp: maybe-all-target-libgcc
48883 configure-target-newlib: maybe-all-target-libgcc
48884 configure-target-libbacktrace: maybe-all-target-libgcc
48885 configure-target-libquadmath: maybe-all-target-libgcc
48886 configure-target-libgfortran: maybe-all-target-libgcc
48887 configure-target-libobjc: maybe-all-target-libgcc
48888 configure-target-libgo: maybe-all-target-libgcc
48889 configure-target-libtermcap: maybe-all-target-libgcc
48890 configure-target-winsup: maybe-all-target-libgcc
48891 configure-target-libgloss: maybe-all-target-libgcc
48892 configure-target-libffi: maybe-all-target-libgcc
48893 configure-target-libjava: maybe-all-target-libgcc
48894 configure-target-zlib: maybe-all-target-libgcc
48895 configure-target-boehm-gc: maybe-all-target-libgcc
48896 configure-target-rda: maybe-all-target-libgcc
48897 configure-target-libada: maybe-all-target-libgcc
48898 configure-target-libgomp: maybe-all-target-libgcc
48899 configure-target-libitm: maybe-all-target-libgcc
48900 configure-target-libatomic: maybe-all-target-libgcc
48901 @endif gcc-no-bootstrap
48904 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48906 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48908 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48910 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48911 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48913 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48917 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48919 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48921 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48923 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48925 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48927 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48929 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
48932 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
48934 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
48935 configure-target-libjava: maybe-all-target-libstdc++-v3
48937 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
48939 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
48941 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
48943 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
48945 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
48947 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
48948 configure-target-libitm: maybe-all-target-libstdc++-v3
48950 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
48953 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
48954 GDB_TK = @GDB_TK@
48955 INSTALL_GDB_TK = @INSTALL_GDB_TK@
48956 configure-gdb: $(CONFIGURE_GDB_TK)
48957 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
48958 install-gdb: $(INSTALL_GDB_TK)
48960 # Serialization dependencies. Host configures don't work well in parallel to
48961 # each other, due to contention over config.cache. Target configures and
48962 # build configures are similar.
48963 @serialization_dependencies@
48965 # --------------------------------
48966 # Regenerating top level configury
48967 # --------------------------------
48969 # Rebuilding Makefile.in, using autogen.
48970 AUTOGEN = autogen
48971 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
48972 cd $(srcdir) && $(AUTOGEN) Makefile.def
48974 # Rebuilding Makefile.
48975 Makefile: $(srcdir)/Makefile.in config.status
48976 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
48978 config.status: configure
48979 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
48981 # Rebuilding configure.
48982 AUTOCONF = autoconf
48983 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
48984 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
48985 cd $(srcdir) && $(AUTOCONF)
48987 # ------------------------------
48988 # Special directives to GNU Make
48989 # ------------------------------
48991 # Don't pass command-line variables to submakes.
48992 .NOEXPORT:
48993 MAKEOVERRIDES=
48995 # end of Makefile.in