]> git.ipfire.org Git - thirdparty/gcc.git/blob - Makefile.in
2019-06-14 Richard Biener <rguenther@suse.de>
[thirdparty/gcc.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
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
8 #
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.
13 #
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.
18 #
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/>.
22 #
23
24 # First, test for a proper version of make, but only where one is required.
25
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
31
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
36
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@
49
50 program_transform_name = @program_transform_name@
51
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
54
55 srcdir = @srcdir@
56
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
82
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@
92
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
96
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
102
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
106
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@
111
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)"
117
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
121
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
124
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
127
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
130
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;
144
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 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
157 GOC="$(GOC_FOR_BUILD)"; export GOC; \
158 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
159 GDC="$(GDC_FOR_BUILD)"; export GDC; \
160 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
161 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
162 LD="$(LD_FOR_BUILD)"; export LD; \
163 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
164 NM="$(NM_FOR_BUILD)"; export NM; \
165 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
166 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
167 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168
169 # These variables must be set on the make command line for directories
170 # built for the build system to override those in BASE_FLAGS_TO_PASS.
171 EXTRA_BUILD_FLAGS = \
172 CFLAGS="$(CFLAGS_FOR_BUILD)" \
173 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174
175 # This is the list of directories to built for the host system.
176 SUBDIRS = @configdirs@
177 TARGET_CONFIGDIRS = @target_configdirs@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the host system.
180 HOST_CONFIGARGS = @host_configargs@
181 # Host programs are put under this directory, which is . except if building
182 # with srcdir=..
183 HOST_SUBDIR = @host_subdir@
184 # This is the list of variables to export in the environment when
185 # configuring subdirectories for the host system. We need to pass
186 # some to the GCC configure because of its hybrid host/target nature.
187 HOST_EXPORTS = \
188 $(BASE_EXPORTS) \
189 CC="$(CC)"; export CC; \
190 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
191 CFLAGS="$(CFLAGS)"; export CFLAGS; \
192 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
193 CXX="$(CXX)"; export CXX; \
194 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 GDC="$(GDC)"; export GDC; \
198 AR="$(AR)"; export AR; \
199 AS="$(AS)"; export AS; \
200 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
201 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
202 LD="$(LD)"; export LD; \
203 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
204 NM="$(NM)"; export NM; \
205 RANLIB="$(RANLIB)"; export RANLIB; \
206 WINDRES="$(WINDRES)"; export WINDRES; \
207 WINDMC="$(WINDMC)"; export WINDMC; \
208 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
209 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
210 OTOOL="$(OTOOL)"; export OTOOL; \
211 READELF="$(READELF)"; export READELF; \
212 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
213 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
214 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
215 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
216 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
217 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
218 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
219 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
220 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
221 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
222 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
223 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
224 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
225 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
226 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
227 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
228 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
229 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
230 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
231 @if gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
233 @endif gcc-bootstrap
234 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
235
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX='$(CXX)'; export CXX; \
238 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
239 @if target-libstdc++-v3-bootstrap
240 # Override the above if we're bootstrapping C++.
241 POSTSTAGE1_CXX_EXPORT = \
242 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
243 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
244 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
247 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
248 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
249 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
250 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
251 export CXX; \
252 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
253 @endif target-libstdc++-v3-bootstrap
254
255 # Similar, for later GCC stages.
256 POSTSTAGE1_HOST_EXPORTS = \
257 $(HOST_EXPORTS) \
258 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
259 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
260 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
261 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
262 $(POSTSTAGE1_CXX_EXPORT) \
263 $(LTO_EXPORTS) \
264 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
265 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
266 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
267 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
268 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
269 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
270 export GDC; \
271 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
272 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
273 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
274 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
275
276 # Target libraries are put under this directory:
277 TARGET_SUBDIR = @target_subdir@
278 # This is set by the configure script to the arguments to use when configuring
279 # directories built for the target.
280 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
281 # This is the list of variables to export in the environment when
282 # configuring subdirectories for the target system.
283 BASE_TARGET_EXPORTS = \
284 $(BASE_EXPORTS) \
285 AR="$(AR_FOR_TARGET)"; export AR; \
286 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
287 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
289 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
290 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
291 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
292 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
293 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
294 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
295 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
296 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
297 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
298 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
299 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
300 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
301 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
302 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
303 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
304 READELF="$(READELF_FOR_TARGET)"; export READELF; \
305 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
306 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
307 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
308 @if gcc-bootstrap
309 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
310 @endif gcc-bootstrap
311 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
312 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
313
314 RAW_CXX_TARGET_EXPORTS = \
315 $(BASE_TARGET_EXPORTS) \
316 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
317 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
318
319 NORMAL_TARGET_EXPORTS = \
320 $(BASE_TARGET_EXPORTS) \
321 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
322
323 # Where to find GMP
324 HOST_GMPLIBS = @gmplibs@
325 HOST_GMPINC = @gmpinc@
326
327 # Where to find isl
328 HOST_ISLLIBS = @isllibs@
329 HOST_ISLINC = @islinc@
330
331 # Where to find libelf
332 HOST_LIBELFLIBS = @libelflibs@
333 HOST_LIBELFINC = @libelfinc@
334
335 # ----------------------------------------------
336 # Programs producing files for the BUILD machine
337 # ----------------------------------------------
338
339 SHELL = @SHELL@
340
341 # pwd command to use. Allow user to override default by setting PWDCMD in
342 # the environment to account for automounters. The make variable must not
343 # be called PWDCMD, otherwise the value set here is passed to make
344 # subprocesses and overrides the setting from the user's environment.
345 # Don't use PWD since it is a common shell environment variable and we
346 # don't want to corrupt it.
347 PWD_COMMAND = $${PWDCMD-pwd}
348
349 # compilers to use to create programs which must be run in the build
350 # environment.
351 AR_FOR_BUILD = @AR_FOR_BUILD@
352 AS_FOR_BUILD = @AS_FOR_BUILD@
353 CC_FOR_BUILD = @CC_FOR_BUILD@
354 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
355 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
356 CXX_FOR_BUILD = @CXX_FOR_BUILD@
357 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
358 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
359 GOC_FOR_BUILD = @GOC_FOR_BUILD@
360 GDC_FOR_BUILD = @GDC_FOR_BUILD@
361 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
362 LD_FOR_BUILD = @LD_FOR_BUILD@
363 NM_FOR_BUILD = @NM_FOR_BUILD@
364 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
365 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
366 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
367
368 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
369 # here so that they can be overridden by Makefile fragments.
370 BUILD_PREFIX = @BUILD_PREFIX@
371 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
372
373 # Flags to pass to stage2 and later makes. They are defined
374 # here so that they can be overridden by Makefile fragments.
375 BOOT_CFLAGS= -g -O2
376 BOOT_LDFLAGS=
377 BOOT_ADAFLAGS= -gnatpg
378
379 AWK = @AWK@
380 SED = @SED@
381 BISON = @BISON@
382 YACC = @YACC@
383 FLEX = @FLEX@
384 LEX = @LEX@
385 M4 = @M4@
386 MAKEINFO = @MAKEINFO@
387 EXPECT = @EXPECT@
388 RUNTEST = @RUNTEST@
389
390 AUTO_PROFILE = gcc-auto-profile -c 10000000
391
392 # This just becomes part of the MAKEINFO definition passed down to
393 # sub-makes. It lets flags be given on the command line while still
394 # using the makeinfo from the object tree.
395 # (Default to avoid splitting info files by setting the threshold high.)
396 MAKEINFOFLAGS = --split-size=5000000
397
398 # ---------------------------------------------
399 # Programs producing files for the HOST machine
400 # ---------------------------------------------
401
402 AS = @AS@
403 AR = @AR@
404 AR_FLAGS = rc
405 CC = @CC@
406 CXX = @CXX@
407 DLLTOOL = @DLLTOOL@
408 LD = @LD@
409 LIPO = @LIPO@
410 NM = @NM@
411 OBJDUMP = @OBJDUMP@
412 OTOOL = @OTOOL@
413 RANLIB = @RANLIB@
414 READELF = @READELF@
415 STRIP = @STRIP@
416 WINDRES = @WINDRES@
417 WINDMC = @WINDMC@
418
419 GDC = @GDC@
420 GNATBIND = @GNATBIND@
421 GNATMAKE = @GNATMAKE@
422
423 CFLAGS = @CFLAGS@
424 LDFLAGS = @LDFLAGS@
425 LIBCFLAGS = $(CFLAGS)
426 CXXFLAGS = @CXXFLAGS@
427 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
428 GOCFLAGS = $(CFLAGS)
429 GDCFLAGS = $(CFLAGS)
430
431 CREATE_GCOV = create_gcov
432
433 TFLAGS =
434
435 # Defaults for all stages; some are overridden below.
436
437 STAGE_CFLAGS = $(BOOT_CFLAGS)
438 STAGE_TFLAGS = $(TFLAGS)
439 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
440
441
442 # Defaults for stage 1; some are overridden below.
443 STAGE1_CFLAGS = $(STAGE_CFLAGS)
444 STAGE1_CXXFLAGS = $(CXXFLAGS)
445 @if target-libstdc++-v3-bootstrap
446 # Override the above if we're bootstrapping C++.
447 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
448 @endif target-libstdc++-v3-bootstrap
449 STAGE1_TFLAGS = $(STAGE_TFLAGS)
450 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
451
452 # Defaults for stage 2; some are overridden below.
453 STAGE2_CFLAGS = $(STAGE_CFLAGS)
454 STAGE2_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE2_TFLAGS = $(STAGE_TFLAGS)
460 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
461
462 # Defaults for stage 3; some are overridden below.
463 STAGE3_CFLAGS = $(STAGE_CFLAGS)
464 STAGE3_CXXFLAGS = $(CXXFLAGS)
465 @if target-libstdc++-v3-bootstrap
466 # Override the above if we're bootstrapping C++.
467 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
468 @endif target-libstdc++-v3-bootstrap
469 STAGE3_TFLAGS = $(STAGE_TFLAGS)
470 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
471
472 # Defaults for stage 4; some are overridden below.
473 STAGE4_CFLAGS = $(STAGE_CFLAGS)
474 STAGE4_CXXFLAGS = $(CXXFLAGS)
475 @if target-libstdc++-v3-bootstrap
476 # Override the above if we're bootstrapping C++.
477 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
478 @endif target-libstdc++-v3-bootstrap
479 STAGE4_TFLAGS = $(STAGE_TFLAGS)
480 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
481
482 # Defaults for stage profile; some are overridden below.
483 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
484 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
485 @if target-libstdc++-v3-bootstrap
486 # Override the above if we're bootstrapping C++.
487 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
488 @endif target-libstdc++-v3-bootstrap
489 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
490 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
491
492 # Defaults for stage train; some are overridden below.
493 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
494 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
495 @if target-libstdc++-v3-bootstrap
496 # Override the above if we're bootstrapping C++.
497 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
498 @endif target-libstdc++-v3-bootstrap
499 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
500 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
501
502 # Defaults for stage feedback; some are overridden below.
503 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
504 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
505 @if target-libstdc++-v3-bootstrap
506 # Override the above if we're bootstrapping C++.
507 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
508 @endif target-libstdc++-v3-bootstrap
509 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
510 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
511
512 # Defaults for stage autoprofile; some are overridden below.
513 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
514 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
515 @if target-libstdc++-v3-bootstrap
516 # Override the above if we're bootstrapping C++.
517 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
518 @endif target-libstdc++-v3-bootstrap
519 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
520 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
521
522 # Defaults for stage autofeedback; some are overridden below.
523 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
524 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
525 @if target-libstdc++-v3-bootstrap
526 # Override the above if we're bootstrapping C++.
527 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
528 @endif target-libstdc++-v3-bootstrap
529 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
530 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
531
532
533 # By default, C and C++ are the only stage1 languages, because they are the
534 # only ones we require to build with the bootstrap compiler, and also the
535 # only ones useful for building stage2.
536
537 STAGE1_CFLAGS = @stage1_cflags@
538 STAGE1_CHECKING = @stage1_checking@
539 STAGE1_LANGUAGES = @stage1_languages@
540 # * We force-disable intermodule optimizations, even if
541 # --enable-intermodule was passed, since the installed compiler
542 # probably can't handle them. Luckily, autoconf always respects
543 # the last argument when conflicting --enable arguments are passed.
544 # * Likewise, we force-disable coverage flags, since the installed
545 # compiler probably has never heard of them.
546 # * We also disable -Wformat, since older GCCs don't understand newer %s.
547 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
548 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
549 --disable-build-format-warnings
550
551 # When using the slow stage1 compiler disable IL verification and forcefully
552 # enable it when using the stage2 compiler instead. As we later compare
553 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
554 # checking when building all target libraries for release builds.
555 STAGE1_TFLAGS += -fno-checking
556 STAGE2_CFLAGS += -fno-checking
557 STAGE2_TFLAGS += -fno-checking
558 STAGE3_CFLAGS += -fchecking=1
559 STAGE3_TFLAGS += -fchecking=1
560
561 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
562 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
563
564 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
565 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
566
567 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
568 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
569
570 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
571 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
572
573 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
574 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
575
576 do-compare = @do_compare@
577 do-compare3 = $(do-compare)
578
579 # -----------------------------------------------
580 # Programs producing files for the TARGET machine
581 # -----------------------------------------------
582
583 AR_FOR_TARGET=@AR_FOR_TARGET@
584 AS_FOR_TARGET=@AS_FOR_TARGET@
585 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
586
587 # If GCC_FOR_TARGET is not overriden on the command line, then this
588 # variable is passed down to the gcc Makefile, where it is used to
589 # build libgcc2.a. We define it here so that it can itself be
590 # overridden on the command line.
591 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
592 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
593 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
594 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
595 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
596 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
597 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
598 LD_FOR_TARGET=@LD_FOR_TARGET@
599
600 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
601 NM_FOR_TARGET=@NM_FOR_TARGET@
602 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
603 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
604 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
605 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
606 READELF_FOR_TARGET=@READELF_FOR_TARGET@
607 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
608 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
609 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
610
611 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
612 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
613 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
614
615 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
616 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
617
618 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
619 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
620 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
621 GOCFLAGS_FOR_TARGET = -O2 -g
622 GDCFLAGS_FOR_TARGET = -O2 -g
623
624 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
625 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
626 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
627
628 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
629
630 # ------------------------------------
631 # Miscellaneous targets and flag lists
632 # ------------------------------------
633
634 # The first rule in the file had better be this one. Don't put any above it.
635 # This lives here to allow makefile fragments to contain dependencies.
636 all:
637
638 #### host and target specific makefile fragments come in here.
639 @target_makefile_frag@
640 @alphaieee_frag@
641 @ospace_frag@
642 @host_makefile_frag@
643 ###
644
645 # This is the list of directories that may be needed in RPATH_ENVVAR
646 # so that programs built for the target machine work.
647 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
648
649 @if target-libstdc++-v3
650 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
651 @endif target-libstdc++-v3
652
653 @if target-libsanitizer
654 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
655 @endif target-libsanitizer
656
657 @if target-libvtv
658 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
659 @endif target-libvtv
660
661 @if target-liboffloadmic
662 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
663 @endif target-liboffloadmic
664
665 @if target-libssp
666 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
667 @endif target-libssp
668
669 @if target-libphobos
670 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
671 @endif target-libphobos
672
673 @if target-libgomp
674 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
675 @endif target-libgomp
676
677 @if target-libitm
678 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
679 @endif target-libitm
680
681 @if target-libatomic
682 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
683 @endif target-libatomic
684
685
686
687 # This is the list of directories that may be needed in RPATH_ENVVAR
688 # so that programs built for the host machine work.
689 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
690
691 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
692 @if gcc
693 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
694 @endif gcc
695
696
697 @if gmp
698 HOST_LIB_PATH_gmp = \
699 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
700 @endif gmp
701
702 @if mpfr
703 HOST_LIB_PATH_mpfr = \
704 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
705 @endif mpfr
706
707 @if mpc
708 HOST_LIB_PATH_mpc = \
709 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
710 @endif mpc
711
712 @if isl
713 HOST_LIB_PATH_isl = \
714 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
715 @endif isl
716
717 @if libelf
718 HOST_LIB_PATH_libelf = \
719 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
720 @endif libelf
721
722
723 CXX_FOR_TARGET_FLAG_TO_PASS = \
724 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
725 @if target-libstdc++-v3
726 # CXX_FOR_TARGET is tricky to get right for target libs that require a
727 # functional C++ compiler. When we recurse, if we expand
728 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
729 # libstdc++ include flags from the script. Instead, we get an
730 # -funconfigured-* word, so that we'll get errors if this invalid C++
731 # command line is used for anything, but also so that we can use the
732 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
733 # don't pass it on, sub-make will use the default definition, that
734 # re-expands it at the time of use, so we'll get it right when we need
735 # it. One potential exception is the expansion of CXX_FOR_TARGET
736 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
737 # really work, for C++ host programs can't depend on the current-stage
738 # C++ target library.
739 CXX_FOR_TARGET_FLAG_TO_PASS = \
740 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
741 @endif target-libstdc++-v3
742
743 # Flags to pass down to all sub-makes. STAGE*FLAGS,
744 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
745 # overrideable (for a bootstrap build stage1 also builds gcc.info).
746 BASE_FLAGS_TO_PASS = \
747 "DESTDIR=$(DESTDIR)" \
748 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
749 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
750 "bindir=$(bindir)" \
751 "datadir=$(datadir)" \
752 "exec_prefix=$(exec_prefix)" \
753 "includedir=$(includedir)" \
754 "datarootdir=$(datarootdir)" \
755 "docdir=$(docdir)" \
756 "infodir=$(infodir)" \
757 "pdfdir=$(pdfdir)" \
758 "htmldir=$(htmldir)" \
759 "libdir=$(libdir)" \
760 "libexecdir=$(libexecdir)" \
761 "lispdir=$(lispdir)" \
762 "localstatedir=$(localstatedir)" \
763 "mandir=$(mandir)" \
764 "oldincludedir=$(oldincludedir)" \
765 "prefix=$(prefix)" \
766 "sbindir=$(sbindir)" \
767 "sharedstatedir=$(sharedstatedir)" \
768 "sysconfdir=$(sysconfdir)" \
769 "tooldir=$(tooldir)" \
770 "build_tooldir=$(build_tooldir)" \
771 "target_alias=$(target_alias)" \
772 "AWK=$(AWK)" \
773 "BISON=$(BISON)" \
774 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
775 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
776 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
777 "EXPECT=$(EXPECT)" \
778 "FLEX=$(FLEX)" \
779 "INSTALL=$(INSTALL)" \
780 "INSTALL_DATA=$(INSTALL_DATA)" \
781 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
782 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
783 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
784 "LEX=$(LEX)" \
785 "M4=$(M4)" \
786 "MAKE=$(MAKE)" \
787 "RUNTEST=$(RUNTEST)" \
788 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
789 "SED=$(SED)" \
790 "SHELL=$(SHELL)" \
791 "YACC=$(YACC)" \
792 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
793 "ADA_CFLAGS=$(ADA_CFLAGS)" \
794 "AR_FLAGS=$(AR_FLAGS)" \
795 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
796 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
797 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
798 "CFLAGS=$(CFLAGS)" \
799 "CXXFLAGS=$(CXXFLAGS)" \
800 "LDFLAGS=$(LDFLAGS)" \
801 "LIBCFLAGS=$(LIBCFLAGS)" \
802 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
803 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
804 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
805 "GNATBIND=$(GNATBIND)" \
806 "GNATMAKE=$(GNATMAKE)" \
807 "GDC=$(GDC)" \
808 "GDCFLAGS=$(GDCFLAGS)" \
809 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
810 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
811 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
812 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
813 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
814 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
815 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
816 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
817 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
818 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
819 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
820 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
821 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
822 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
823 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
824 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
825 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
826 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
827 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
828 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
829 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
830 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
831 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
832 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
833 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
834 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
835 "BUILD_CONFIG=$(BUILD_CONFIG)" \
836 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
837 "LEAN=$(LEAN)" \
838 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
839 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
840 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
841 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
842 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
843 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
844 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
845 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
846 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
847 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
848 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
849 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
850 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
851 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
852 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
853 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
854 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
855 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
856 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
857 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
858 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
859 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
860 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
861 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
862 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
863 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
864 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
865 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
866 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
867 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
868 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
869 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
870 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
871 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
872 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
873 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
874 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
875 "TFLAGS=$(TFLAGS)" \
876 "CONFIG_SHELL=$(SHELL)" \
877 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
878 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
879
880 # We leave this in just in case, but it is not needed anymore.
881 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
882
883 # Flags to pass down to most sub-makes, in which we're building with
884 # the host environment.
885 EXTRA_HOST_FLAGS = \
886 'AR=$(AR)' \
887 'AS=$(AS)' \
888 'CC=$(CC)' \
889 'CXX=$(CXX)' \
890 'DLLTOOL=$(DLLTOOL)' \
891 'GFORTRAN=$(GFORTRAN)' \
892 'GOC=$(GOC)' \
893 'GDC=$(GDC)' \
894 'LD=$(LD)' \
895 'LIPO=$(LIPO)' \
896 'NM=$(NM)' \
897 'OBJDUMP=$(OBJDUMP)' \
898 'OTOOL=$(OTOOL)' \
899 'RANLIB=$(RANLIB)' \
900 'READELF=$(READELF)' \
901 'STRIP=$(STRIP)' \
902 'WINDRES=$(WINDRES)' \
903 'WINDMC=$(WINDMC)' \
904 'CREATE_GCOV=$(CREATE_GCOV)'
905
906 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
907
908 # Flags to pass to stage1 or when not bootstrapping.
909
910 STAGE1_FLAGS_TO_PASS = \
911 LDFLAGS="$${LDFLAGS}" \
912 HOST_LIBS="$${HOST_LIBS}"
913
914 # Flags to pass to stage2 and later makes.
915
916 POSTSTAGE1_FLAGS_TO_PASS = \
917 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
918 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
919 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
920 GNATBIND="$${GNATBIND}" \
921 LDFLAGS="$${LDFLAGS}" \
922 HOST_LIBS="$${HOST_LIBS}" \
923 $(LTO_FLAGS_TO_PASS) \
924 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
925
926 @if gcc-bootstrap
927 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
928 $(POSTSTAGE1_HOST_EXPORTS) \
929 fi;
930
931 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
932 @endif gcc-bootstrap
933
934 # Flags to pass down to makes which are built with the target environment.
935 # The double $ decreases the length of the command line; those variables
936 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
937 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
938 # so we expand them here.
939 EXTRA_TARGET_FLAGS = \
940 'AR=$$(AR_FOR_TARGET)' \
941 'AS=$(COMPILER_AS_FOR_TARGET)' \
942 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
943 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
944 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
945 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
946 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
947 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
948 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
949 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
950 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
951 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
952 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
953 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
954 'LD=$(COMPILER_LD_FOR_TARGET)' \
955 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
956 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
957 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
958 'NM=$(COMPILER_NM_FOR_TARGET)' \
959 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
960 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
961 'RANLIB=$$(RANLIB_FOR_TARGET)' \
962 'READELF=$$(READELF_FOR_TARGET)' \
963 'WINDRES=$$(WINDRES_FOR_TARGET)' \
964 'WINDMC=$$(WINDMC_FOR_TARGET)' \
965 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
966 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
967 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
968 "TFLAGS=$$TFLAGS"
969
970 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
971
972 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
973 # unfortunately needs the native compiler and the target ar and
974 # ranlib.
975 # If any variables are added here, they must be added to do-*, below.
976 # The BUILD_* variables are a special case, which are used for the gcc
977 # cross-building scheme.
978 EXTRA_GCC_FLAGS = \
979 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
980 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
981 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
982
983 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
984
985 @if gcc
986 BUILD_CONFIG = @BUILD_CONFIG@
987 ifneq ($(BUILD_CONFIG),)
988 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
989 endif
990 @endif gcc
991
992 .PHONY: configure-host
993 configure-host: \
994 maybe-configure-bfd \
995 maybe-configure-opcodes \
996 maybe-configure-binutils \
997 maybe-configure-bison \
998 maybe-configure-cgen \
999 maybe-configure-dejagnu \
1000 maybe-configure-etc \
1001 maybe-configure-fastjar \
1002 maybe-configure-fixincludes \
1003 maybe-configure-flex \
1004 maybe-configure-gas \
1005 maybe-configure-gcc \
1006 maybe-configure-gmp \
1007 maybe-configure-mpfr \
1008 maybe-configure-mpc \
1009 maybe-configure-isl \
1010 maybe-configure-libelf \
1011 maybe-configure-gold \
1012 maybe-configure-gprof \
1013 maybe-configure-intl \
1014 maybe-configure-tcl \
1015 maybe-configure-itcl \
1016 maybe-configure-ld \
1017 maybe-configure-libbacktrace \
1018 maybe-configure-libcpp \
1019 maybe-configure-libdecnumber \
1020 maybe-configure-libgui \
1021 maybe-configure-libiberty \
1022 maybe-configure-libiberty-linker-plugin \
1023 maybe-configure-libiconv \
1024 maybe-configure-m4 \
1025 maybe-configure-readline \
1026 maybe-configure-sid \
1027 maybe-configure-sim \
1028 maybe-configure-texinfo \
1029 maybe-configure-zlib \
1030 maybe-configure-gdb \
1031 maybe-configure-expect \
1032 maybe-configure-guile \
1033 maybe-configure-tk \
1034 maybe-configure-libtermcap \
1035 maybe-configure-utils \
1036 maybe-configure-gnattools \
1037 maybe-configure-lto-plugin \
1038 maybe-configure-libcc1 \
1039 maybe-configure-gotools \
1040 maybe-configure-libctf
1041 .PHONY: configure-target
1042 configure-target: \
1043 maybe-configure-target-libstdc++-v3 \
1044 maybe-configure-target-libsanitizer \
1045 maybe-configure-target-libvtv \
1046 maybe-configure-target-liboffloadmic \
1047 maybe-configure-target-libssp \
1048 maybe-configure-target-newlib \
1049 maybe-configure-target-libgcc \
1050 maybe-configure-target-libbacktrace \
1051 maybe-configure-target-libquadmath \
1052 maybe-configure-target-libgfortran \
1053 maybe-configure-target-libobjc \
1054 maybe-configure-target-libgo \
1055 maybe-configure-target-libhsail-rt \
1056 maybe-configure-target-libphobos \
1057 maybe-configure-target-libtermcap \
1058 maybe-configure-target-winsup \
1059 maybe-configure-target-libgloss \
1060 maybe-configure-target-libffi \
1061 maybe-configure-target-zlib \
1062 maybe-configure-target-rda \
1063 maybe-configure-target-libada \
1064 maybe-configure-target-libgomp \
1065 maybe-configure-target-libitm \
1066 maybe-configure-target-libatomic
1067
1068 # The target built for a native non-bootstrap build.
1069 .PHONY: all
1070 all:
1071 @if gcc-bootstrap
1072 [ -f stage_final ] || echo stage3 > stage_final
1073 @r=`${PWD_COMMAND}`; export r; \
1074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1075 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1076 @endif gcc-bootstrap
1077 @: $(MAKE); $(unstage)
1078 @r=`${PWD_COMMAND}`; export r; \
1079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1080 @if gcc-bootstrap
1081 if [ -f stage_last ]; then \
1082 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1083 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1084 else \
1085 @endif gcc-bootstrap
1086 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1087 @if gcc-bootstrap
1088 ; \
1089 fi \
1090 @endif gcc-bootstrap
1091 && :
1092
1093 .PHONY: all-build
1094
1095 all-build: maybe-all-build-libiberty
1096 all-build: maybe-all-build-bison
1097 all-build: maybe-all-build-flex
1098 all-build: maybe-all-build-m4
1099 all-build: maybe-all-build-texinfo
1100 all-build: maybe-all-build-fixincludes
1101 all-build: maybe-all-build-libcpp
1102
1103 .PHONY: all-host
1104
1105 @if bfd-no-bootstrap
1106 all-host: maybe-all-bfd
1107 @endif bfd-no-bootstrap
1108 @if opcodes-no-bootstrap
1109 all-host: maybe-all-opcodes
1110 @endif opcodes-no-bootstrap
1111 @if binutils-no-bootstrap
1112 all-host: maybe-all-binutils
1113 @endif binutils-no-bootstrap
1114 all-host: maybe-all-bison
1115 all-host: maybe-all-cgen
1116 all-host: maybe-all-dejagnu
1117 all-host: maybe-all-etc
1118 all-host: maybe-all-fastjar
1119 @if fixincludes-no-bootstrap
1120 all-host: maybe-all-fixincludes
1121 @endif fixincludes-no-bootstrap
1122 all-host: maybe-all-flex
1123 @if gas-no-bootstrap
1124 all-host: maybe-all-gas
1125 @endif gas-no-bootstrap
1126 @if gcc-no-bootstrap
1127 all-host: maybe-all-gcc
1128 @endif gcc-no-bootstrap
1129 @if gmp-no-bootstrap
1130 all-host: maybe-all-gmp
1131 @endif gmp-no-bootstrap
1132 @if mpfr-no-bootstrap
1133 all-host: maybe-all-mpfr
1134 @endif mpfr-no-bootstrap
1135 @if mpc-no-bootstrap
1136 all-host: maybe-all-mpc
1137 @endif mpc-no-bootstrap
1138 @if isl-no-bootstrap
1139 all-host: maybe-all-isl
1140 @endif isl-no-bootstrap
1141 @if libelf-no-bootstrap
1142 all-host: maybe-all-libelf
1143 @endif libelf-no-bootstrap
1144 @if gold-no-bootstrap
1145 all-host: maybe-all-gold
1146 @endif gold-no-bootstrap
1147 all-host: maybe-all-gprof
1148 @if intl-no-bootstrap
1149 all-host: maybe-all-intl
1150 @endif intl-no-bootstrap
1151 all-host: maybe-all-tcl
1152 all-host: maybe-all-itcl
1153 @if ld-no-bootstrap
1154 all-host: maybe-all-ld
1155 @endif ld-no-bootstrap
1156 @if libbacktrace-no-bootstrap
1157 all-host: maybe-all-libbacktrace
1158 @endif libbacktrace-no-bootstrap
1159 @if libcpp-no-bootstrap
1160 all-host: maybe-all-libcpp
1161 @endif libcpp-no-bootstrap
1162 @if libdecnumber-no-bootstrap
1163 all-host: maybe-all-libdecnumber
1164 @endif libdecnumber-no-bootstrap
1165 all-host: maybe-all-libgui
1166 @if libiberty-no-bootstrap
1167 all-host: maybe-all-libiberty
1168 @endif libiberty-no-bootstrap
1169 @if libiberty-linker-plugin-no-bootstrap
1170 all-host: maybe-all-libiberty-linker-plugin
1171 @endif libiberty-linker-plugin-no-bootstrap
1172 @if libiconv-no-bootstrap
1173 all-host: maybe-all-libiconv
1174 @endif libiconv-no-bootstrap
1175 all-host: maybe-all-m4
1176 all-host: maybe-all-readline
1177 all-host: maybe-all-sid
1178 all-host: maybe-all-sim
1179 all-host: maybe-all-texinfo
1180 @if zlib-no-bootstrap
1181 all-host: maybe-all-zlib
1182 @endif zlib-no-bootstrap
1183 all-host: maybe-all-gdb
1184 all-host: maybe-all-expect
1185 all-host: maybe-all-guile
1186 all-host: maybe-all-tk
1187 all-host: maybe-all-libtermcap
1188 all-host: maybe-all-utils
1189 all-host: maybe-all-gnattools
1190 @if lto-plugin-no-bootstrap
1191 all-host: maybe-all-lto-plugin
1192 @endif lto-plugin-no-bootstrap
1193 all-host: maybe-all-libcc1
1194 all-host: maybe-all-gotools
1195 @if libctf-no-bootstrap
1196 all-host: maybe-all-libctf
1197 @endif libctf-no-bootstrap
1198
1199 .PHONY: all-target
1200
1201 @if target-libstdc++-v3-no-bootstrap
1202 all-target: maybe-all-target-libstdc++-v3
1203 @endif target-libstdc++-v3-no-bootstrap
1204 @if target-libsanitizer-no-bootstrap
1205 all-target: maybe-all-target-libsanitizer
1206 @endif target-libsanitizer-no-bootstrap
1207 @if target-libvtv-no-bootstrap
1208 all-target: maybe-all-target-libvtv
1209 @endif target-libvtv-no-bootstrap
1210 all-target: maybe-all-target-liboffloadmic
1211 all-target: maybe-all-target-libssp
1212 all-target: maybe-all-target-newlib
1213 @if target-libgcc-no-bootstrap
1214 all-target: maybe-all-target-libgcc
1215 @endif target-libgcc-no-bootstrap
1216 all-target: maybe-all-target-libbacktrace
1217 all-target: maybe-all-target-libquadmath
1218 all-target: maybe-all-target-libgfortran
1219 all-target: maybe-all-target-libobjc
1220 all-target: maybe-all-target-libgo
1221 all-target: maybe-all-target-libhsail-rt
1222 all-target: maybe-all-target-libphobos
1223 all-target: maybe-all-target-libtermcap
1224 all-target: maybe-all-target-winsup
1225 all-target: maybe-all-target-libgloss
1226 all-target: maybe-all-target-libffi
1227 all-target: maybe-all-target-zlib
1228 all-target: maybe-all-target-rda
1229 all-target: maybe-all-target-libada
1230 @if target-libgomp-no-bootstrap
1231 all-target: maybe-all-target-libgomp
1232 @endif target-libgomp-no-bootstrap
1233 all-target: maybe-all-target-libitm
1234 all-target: maybe-all-target-libatomic
1235
1236 # Do a target for all the subdirectories. A ``make do-X'' will do a
1237 # ``make X'' in all subdirectories (because, in general, there is a
1238 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1239 # but it may do additional work as well).
1240
1241 .PHONY: do-info
1242 do-info:
1243 @: $(MAKE); $(unstage)
1244 @r=`${PWD_COMMAND}`; export r; \
1245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1246 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1247 info-target
1248
1249
1250 .PHONY: info-host
1251
1252 info-host: maybe-info-bfd
1253 info-host: maybe-info-opcodes
1254 info-host: maybe-info-binutils
1255 info-host: maybe-info-bison
1256 info-host: maybe-info-cgen
1257 info-host: maybe-info-dejagnu
1258 info-host: maybe-info-etc
1259 info-host: maybe-info-fastjar
1260 info-host: maybe-info-fixincludes
1261 info-host: maybe-info-flex
1262 info-host: maybe-info-gas
1263 info-host: maybe-info-gcc
1264 info-host: maybe-info-gmp
1265 info-host: maybe-info-mpfr
1266 info-host: maybe-info-mpc
1267 info-host: maybe-info-isl
1268 info-host: maybe-info-libelf
1269 info-host: maybe-info-gold
1270 info-host: maybe-info-gprof
1271 info-host: maybe-info-intl
1272 info-host: maybe-info-tcl
1273 info-host: maybe-info-itcl
1274 info-host: maybe-info-ld
1275 info-host: maybe-info-libbacktrace
1276 info-host: maybe-info-libcpp
1277 info-host: maybe-info-libdecnumber
1278 info-host: maybe-info-libgui
1279 info-host: maybe-info-libiberty
1280 info-host: maybe-info-libiberty-linker-plugin
1281 info-host: maybe-info-libiconv
1282 info-host: maybe-info-m4
1283 info-host: maybe-info-readline
1284 info-host: maybe-info-sid
1285 info-host: maybe-info-sim
1286 info-host: maybe-info-texinfo
1287 info-host: maybe-info-zlib
1288 info-host: maybe-info-gdb
1289 info-host: maybe-info-expect
1290 info-host: maybe-info-guile
1291 info-host: maybe-info-tk
1292 info-host: maybe-info-libtermcap
1293 info-host: maybe-info-utils
1294 info-host: maybe-info-gnattools
1295 info-host: maybe-info-lto-plugin
1296 info-host: maybe-info-libcc1
1297 info-host: maybe-info-gotools
1298 info-host: maybe-info-libctf
1299
1300 .PHONY: info-target
1301
1302 info-target: maybe-info-target-libstdc++-v3
1303 info-target: maybe-info-target-libsanitizer
1304 info-target: maybe-info-target-libvtv
1305 info-target: maybe-info-target-liboffloadmic
1306 info-target: maybe-info-target-libssp
1307 info-target: maybe-info-target-newlib
1308 info-target: maybe-info-target-libgcc
1309 info-target: maybe-info-target-libbacktrace
1310 info-target: maybe-info-target-libquadmath
1311 info-target: maybe-info-target-libgfortran
1312 info-target: maybe-info-target-libobjc
1313 info-target: maybe-info-target-libgo
1314 info-target: maybe-info-target-libhsail-rt
1315 info-target: maybe-info-target-libphobos
1316 info-target: maybe-info-target-libtermcap
1317 info-target: maybe-info-target-winsup
1318 info-target: maybe-info-target-libgloss
1319 info-target: maybe-info-target-libffi
1320 info-target: maybe-info-target-zlib
1321 info-target: maybe-info-target-rda
1322 info-target: maybe-info-target-libada
1323 info-target: maybe-info-target-libgomp
1324 info-target: maybe-info-target-libitm
1325 info-target: maybe-info-target-libatomic
1326
1327 .PHONY: do-dvi
1328 do-dvi:
1329 @: $(MAKE); $(unstage)
1330 @r=`${PWD_COMMAND}`; export r; \
1331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1332 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1333 dvi-target
1334
1335
1336 .PHONY: dvi-host
1337
1338 dvi-host: maybe-dvi-bfd
1339 dvi-host: maybe-dvi-opcodes
1340 dvi-host: maybe-dvi-binutils
1341 dvi-host: maybe-dvi-bison
1342 dvi-host: maybe-dvi-cgen
1343 dvi-host: maybe-dvi-dejagnu
1344 dvi-host: maybe-dvi-etc
1345 dvi-host: maybe-dvi-fastjar
1346 dvi-host: maybe-dvi-fixincludes
1347 dvi-host: maybe-dvi-flex
1348 dvi-host: maybe-dvi-gas
1349 dvi-host: maybe-dvi-gcc
1350 dvi-host: maybe-dvi-gmp
1351 dvi-host: maybe-dvi-mpfr
1352 dvi-host: maybe-dvi-mpc
1353 dvi-host: maybe-dvi-isl
1354 dvi-host: maybe-dvi-libelf
1355 dvi-host: maybe-dvi-gold
1356 dvi-host: maybe-dvi-gprof
1357 dvi-host: maybe-dvi-intl
1358 dvi-host: maybe-dvi-tcl
1359 dvi-host: maybe-dvi-itcl
1360 dvi-host: maybe-dvi-ld
1361 dvi-host: maybe-dvi-libbacktrace
1362 dvi-host: maybe-dvi-libcpp
1363 dvi-host: maybe-dvi-libdecnumber
1364 dvi-host: maybe-dvi-libgui
1365 dvi-host: maybe-dvi-libiberty
1366 dvi-host: maybe-dvi-libiberty-linker-plugin
1367 dvi-host: maybe-dvi-libiconv
1368 dvi-host: maybe-dvi-m4
1369 dvi-host: maybe-dvi-readline
1370 dvi-host: maybe-dvi-sid
1371 dvi-host: maybe-dvi-sim
1372 dvi-host: maybe-dvi-texinfo
1373 dvi-host: maybe-dvi-zlib
1374 dvi-host: maybe-dvi-gdb
1375 dvi-host: maybe-dvi-expect
1376 dvi-host: maybe-dvi-guile
1377 dvi-host: maybe-dvi-tk
1378 dvi-host: maybe-dvi-libtermcap
1379 dvi-host: maybe-dvi-utils
1380 dvi-host: maybe-dvi-gnattools
1381 dvi-host: maybe-dvi-lto-plugin
1382 dvi-host: maybe-dvi-libcc1
1383 dvi-host: maybe-dvi-gotools
1384 dvi-host: maybe-dvi-libctf
1385
1386 .PHONY: dvi-target
1387
1388 dvi-target: maybe-dvi-target-libstdc++-v3
1389 dvi-target: maybe-dvi-target-libsanitizer
1390 dvi-target: maybe-dvi-target-libvtv
1391 dvi-target: maybe-dvi-target-liboffloadmic
1392 dvi-target: maybe-dvi-target-libssp
1393 dvi-target: maybe-dvi-target-newlib
1394 dvi-target: maybe-dvi-target-libgcc
1395 dvi-target: maybe-dvi-target-libbacktrace
1396 dvi-target: maybe-dvi-target-libquadmath
1397 dvi-target: maybe-dvi-target-libgfortran
1398 dvi-target: maybe-dvi-target-libobjc
1399 dvi-target: maybe-dvi-target-libgo
1400 dvi-target: maybe-dvi-target-libhsail-rt
1401 dvi-target: maybe-dvi-target-libphobos
1402 dvi-target: maybe-dvi-target-libtermcap
1403 dvi-target: maybe-dvi-target-winsup
1404 dvi-target: maybe-dvi-target-libgloss
1405 dvi-target: maybe-dvi-target-libffi
1406 dvi-target: maybe-dvi-target-zlib
1407 dvi-target: maybe-dvi-target-rda
1408 dvi-target: maybe-dvi-target-libada
1409 dvi-target: maybe-dvi-target-libgomp
1410 dvi-target: maybe-dvi-target-libitm
1411 dvi-target: maybe-dvi-target-libatomic
1412
1413 .PHONY: do-pdf
1414 do-pdf:
1415 @: $(MAKE); $(unstage)
1416 @r=`${PWD_COMMAND}`; export r; \
1417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1419 pdf-target
1420
1421
1422 .PHONY: pdf-host
1423
1424 pdf-host: maybe-pdf-bfd
1425 pdf-host: maybe-pdf-opcodes
1426 pdf-host: maybe-pdf-binutils
1427 pdf-host: maybe-pdf-bison
1428 pdf-host: maybe-pdf-cgen
1429 pdf-host: maybe-pdf-dejagnu
1430 pdf-host: maybe-pdf-etc
1431 pdf-host: maybe-pdf-fastjar
1432 pdf-host: maybe-pdf-fixincludes
1433 pdf-host: maybe-pdf-flex
1434 pdf-host: maybe-pdf-gas
1435 pdf-host: maybe-pdf-gcc
1436 pdf-host: maybe-pdf-gmp
1437 pdf-host: maybe-pdf-mpfr
1438 pdf-host: maybe-pdf-mpc
1439 pdf-host: maybe-pdf-isl
1440 pdf-host: maybe-pdf-libelf
1441 pdf-host: maybe-pdf-gold
1442 pdf-host: maybe-pdf-gprof
1443 pdf-host: maybe-pdf-intl
1444 pdf-host: maybe-pdf-tcl
1445 pdf-host: maybe-pdf-itcl
1446 pdf-host: maybe-pdf-ld
1447 pdf-host: maybe-pdf-libbacktrace
1448 pdf-host: maybe-pdf-libcpp
1449 pdf-host: maybe-pdf-libdecnumber
1450 pdf-host: maybe-pdf-libgui
1451 pdf-host: maybe-pdf-libiberty
1452 pdf-host: maybe-pdf-libiberty-linker-plugin
1453 pdf-host: maybe-pdf-libiconv
1454 pdf-host: maybe-pdf-m4
1455 pdf-host: maybe-pdf-readline
1456 pdf-host: maybe-pdf-sid
1457 pdf-host: maybe-pdf-sim
1458 pdf-host: maybe-pdf-texinfo
1459 pdf-host: maybe-pdf-zlib
1460 pdf-host: maybe-pdf-gdb
1461 pdf-host: maybe-pdf-expect
1462 pdf-host: maybe-pdf-guile
1463 pdf-host: maybe-pdf-tk
1464 pdf-host: maybe-pdf-libtermcap
1465 pdf-host: maybe-pdf-utils
1466 pdf-host: maybe-pdf-gnattools
1467 pdf-host: maybe-pdf-lto-plugin
1468 pdf-host: maybe-pdf-libcc1
1469 pdf-host: maybe-pdf-gotools
1470 pdf-host: maybe-pdf-libctf
1471
1472 .PHONY: pdf-target
1473
1474 pdf-target: maybe-pdf-target-libstdc++-v3
1475 pdf-target: maybe-pdf-target-libsanitizer
1476 pdf-target: maybe-pdf-target-libvtv
1477 pdf-target: maybe-pdf-target-liboffloadmic
1478 pdf-target: maybe-pdf-target-libssp
1479 pdf-target: maybe-pdf-target-newlib
1480 pdf-target: maybe-pdf-target-libgcc
1481 pdf-target: maybe-pdf-target-libbacktrace
1482 pdf-target: maybe-pdf-target-libquadmath
1483 pdf-target: maybe-pdf-target-libgfortran
1484 pdf-target: maybe-pdf-target-libobjc
1485 pdf-target: maybe-pdf-target-libgo
1486 pdf-target: maybe-pdf-target-libhsail-rt
1487 pdf-target: maybe-pdf-target-libphobos
1488 pdf-target: maybe-pdf-target-libtermcap
1489 pdf-target: maybe-pdf-target-winsup
1490 pdf-target: maybe-pdf-target-libgloss
1491 pdf-target: maybe-pdf-target-libffi
1492 pdf-target: maybe-pdf-target-zlib
1493 pdf-target: maybe-pdf-target-rda
1494 pdf-target: maybe-pdf-target-libada
1495 pdf-target: maybe-pdf-target-libgomp
1496 pdf-target: maybe-pdf-target-libitm
1497 pdf-target: maybe-pdf-target-libatomic
1498
1499 .PHONY: do-html
1500 do-html:
1501 @: $(MAKE); $(unstage)
1502 @r=`${PWD_COMMAND}`; export r; \
1503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1504 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1505 html-target
1506
1507
1508 .PHONY: html-host
1509
1510 html-host: maybe-html-bfd
1511 html-host: maybe-html-opcodes
1512 html-host: maybe-html-binutils
1513 html-host: maybe-html-bison
1514 html-host: maybe-html-cgen
1515 html-host: maybe-html-dejagnu
1516 html-host: maybe-html-etc
1517 html-host: maybe-html-fastjar
1518 html-host: maybe-html-fixincludes
1519 html-host: maybe-html-flex
1520 html-host: maybe-html-gas
1521 html-host: maybe-html-gcc
1522 html-host: maybe-html-gmp
1523 html-host: maybe-html-mpfr
1524 html-host: maybe-html-mpc
1525 html-host: maybe-html-isl
1526 html-host: maybe-html-libelf
1527 html-host: maybe-html-gold
1528 html-host: maybe-html-gprof
1529 html-host: maybe-html-intl
1530 html-host: maybe-html-tcl
1531 html-host: maybe-html-itcl
1532 html-host: maybe-html-ld
1533 html-host: maybe-html-libbacktrace
1534 html-host: maybe-html-libcpp
1535 html-host: maybe-html-libdecnumber
1536 html-host: maybe-html-libgui
1537 html-host: maybe-html-libiberty
1538 html-host: maybe-html-libiberty-linker-plugin
1539 html-host: maybe-html-libiconv
1540 html-host: maybe-html-m4
1541 html-host: maybe-html-readline
1542 html-host: maybe-html-sid
1543 html-host: maybe-html-sim
1544 html-host: maybe-html-texinfo
1545 html-host: maybe-html-zlib
1546 html-host: maybe-html-gdb
1547 html-host: maybe-html-expect
1548 html-host: maybe-html-guile
1549 html-host: maybe-html-tk
1550 html-host: maybe-html-libtermcap
1551 html-host: maybe-html-utils
1552 html-host: maybe-html-gnattools
1553 html-host: maybe-html-lto-plugin
1554 html-host: maybe-html-libcc1
1555 html-host: maybe-html-gotools
1556 html-host: maybe-html-libctf
1557
1558 .PHONY: html-target
1559
1560 html-target: maybe-html-target-libstdc++-v3
1561 html-target: maybe-html-target-libsanitizer
1562 html-target: maybe-html-target-libvtv
1563 html-target: maybe-html-target-liboffloadmic
1564 html-target: maybe-html-target-libssp
1565 html-target: maybe-html-target-newlib
1566 html-target: maybe-html-target-libgcc
1567 html-target: maybe-html-target-libbacktrace
1568 html-target: maybe-html-target-libquadmath
1569 html-target: maybe-html-target-libgfortran
1570 html-target: maybe-html-target-libobjc
1571 html-target: maybe-html-target-libgo
1572 html-target: maybe-html-target-libhsail-rt
1573 html-target: maybe-html-target-libphobos
1574 html-target: maybe-html-target-libtermcap
1575 html-target: maybe-html-target-winsup
1576 html-target: maybe-html-target-libgloss
1577 html-target: maybe-html-target-libffi
1578 html-target: maybe-html-target-zlib
1579 html-target: maybe-html-target-rda
1580 html-target: maybe-html-target-libada
1581 html-target: maybe-html-target-libgomp
1582 html-target: maybe-html-target-libitm
1583 html-target: maybe-html-target-libatomic
1584
1585 .PHONY: do-TAGS
1586 do-TAGS:
1587 @: $(MAKE); $(unstage)
1588 @r=`${PWD_COMMAND}`; export r; \
1589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1590 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1591 TAGS-target
1592
1593
1594 .PHONY: TAGS-host
1595
1596 TAGS-host: maybe-TAGS-bfd
1597 TAGS-host: maybe-TAGS-opcodes
1598 TAGS-host: maybe-TAGS-binutils
1599 TAGS-host: maybe-TAGS-bison
1600 TAGS-host: maybe-TAGS-cgen
1601 TAGS-host: maybe-TAGS-dejagnu
1602 TAGS-host: maybe-TAGS-etc
1603 TAGS-host: maybe-TAGS-fastjar
1604 TAGS-host: maybe-TAGS-fixincludes
1605 TAGS-host: maybe-TAGS-flex
1606 TAGS-host: maybe-TAGS-gas
1607 TAGS-host: maybe-TAGS-gcc
1608 TAGS-host: maybe-TAGS-gmp
1609 TAGS-host: maybe-TAGS-mpfr
1610 TAGS-host: maybe-TAGS-mpc
1611 TAGS-host: maybe-TAGS-isl
1612 TAGS-host: maybe-TAGS-libelf
1613 TAGS-host: maybe-TAGS-gold
1614 TAGS-host: maybe-TAGS-gprof
1615 TAGS-host: maybe-TAGS-intl
1616 TAGS-host: maybe-TAGS-tcl
1617 TAGS-host: maybe-TAGS-itcl
1618 TAGS-host: maybe-TAGS-ld
1619 TAGS-host: maybe-TAGS-libbacktrace
1620 TAGS-host: maybe-TAGS-libcpp
1621 TAGS-host: maybe-TAGS-libdecnumber
1622 TAGS-host: maybe-TAGS-libgui
1623 TAGS-host: maybe-TAGS-libiberty
1624 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1625 TAGS-host: maybe-TAGS-libiconv
1626 TAGS-host: maybe-TAGS-m4
1627 TAGS-host: maybe-TAGS-readline
1628 TAGS-host: maybe-TAGS-sid
1629 TAGS-host: maybe-TAGS-sim
1630 TAGS-host: maybe-TAGS-texinfo
1631 TAGS-host: maybe-TAGS-zlib
1632 TAGS-host: maybe-TAGS-gdb
1633 TAGS-host: maybe-TAGS-expect
1634 TAGS-host: maybe-TAGS-guile
1635 TAGS-host: maybe-TAGS-tk
1636 TAGS-host: maybe-TAGS-libtermcap
1637 TAGS-host: maybe-TAGS-utils
1638 TAGS-host: maybe-TAGS-gnattools
1639 TAGS-host: maybe-TAGS-lto-plugin
1640 TAGS-host: maybe-TAGS-libcc1
1641 TAGS-host: maybe-TAGS-gotools
1642 TAGS-host: maybe-TAGS-libctf
1643
1644 .PHONY: TAGS-target
1645
1646 TAGS-target: maybe-TAGS-target-libstdc++-v3
1647 TAGS-target: maybe-TAGS-target-libsanitizer
1648 TAGS-target: maybe-TAGS-target-libvtv
1649 TAGS-target: maybe-TAGS-target-liboffloadmic
1650 TAGS-target: maybe-TAGS-target-libssp
1651 TAGS-target: maybe-TAGS-target-newlib
1652 TAGS-target: maybe-TAGS-target-libgcc
1653 TAGS-target: maybe-TAGS-target-libbacktrace
1654 TAGS-target: maybe-TAGS-target-libquadmath
1655 TAGS-target: maybe-TAGS-target-libgfortran
1656 TAGS-target: maybe-TAGS-target-libobjc
1657 TAGS-target: maybe-TAGS-target-libgo
1658 TAGS-target: maybe-TAGS-target-libhsail-rt
1659 TAGS-target: maybe-TAGS-target-libphobos
1660 TAGS-target: maybe-TAGS-target-libtermcap
1661 TAGS-target: maybe-TAGS-target-winsup
1662 TAGS-target: maybe-TAGS-target-libgloss
1663 TAGS-target: maybe-TAGS-target-libffi
1664 TAGS-target: maybe-TAGS-target-zlib
1665 TAGS-target: maybe-TAGS-target-rda
1666 TAGS-target: maybe-TAGS-target-libada
1667 TAGS-target: maybe-TAGS-target-libgomp
1668 TAGS-target: maybe-TAGS-target-libitm
1669 TAGS-target: maybe-TAGS-target-libatomic
1670
1671 .PHONY: do-install-info
1672 do-install-info:
1673 @: $(MAKE); $(unstage)
1674 @r=`${PWD_COMMAND}`; export r; \
1675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1676 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1677 install-info-target
1678
1679
1680 .PHONY: install-info-host
1681
1682 install-info-host: maybe-install-info-bfd
1683 install-info-host: maybe-install-info-opcodes
1684 install-info-host: maybe-install-info-binutils
1685 install-info-host: maybe-install-info-bison
1686 install-info-host: maybe-install-info-cgen
1687 install-info-host: maybe-install-info-dejagnu
1688 install-info-host: maybe-install-info-etc
1689 install-info-host: maybe-install-info-fastjar
1690 install-info-host: maybe-install-info-fixincludes
1691 install-info-host: maybe-install-info-flex
1692 install-info-host: maybe-install-info-gas
1693 install-info-host: maybe-install-info-gcc
1694 install-info-host: maybe-install-info-gmp
1695 install-info-host: maybe-install-info-mpfr
1696 install-info-host: maybe-install-info-mpc
1697 install-info-host: maybe-install-info-isl
1698 install-info-host: maybe-install-info-libelf
1699 install-info-host: maybe-install-info-gold
1700 install-info-host: maybe-install-info-gprof
1701 install-info-host: maybe-install-info-intl
1702 install-info-host: maybe-install-info-tcl
1703 install-info-host: maybe-install-info-itcl
1704 install-info-host: maybe-install-info-ld
1705 install-info-host: maybe-install-info-libbacktrace
1706 install-info-host: maybe-install-info-libcpp
1707 install-info-host: maybe-install-info-libdecnumber
1708 install-info-host: maybe-install-info-libgui
1709 install-info-host: maybe-install-info-libiberty
1710 install-info-host: maybe-install-info-libiberty-linker-plugin
1711 install-info-host: maybe-install-info-libiconv
1712 install-info-host: maybe-install-info-m4
1713 install-info-host: maybe-install-info-readline
1714 install-info-host: maybe-install-info-sid
1715 install-info-host: maybe-install-info-sim
1716 install-info-host: maybe-install-info-texinfo
1717 install-info-host: maybe-install-info-zlib
1718 install-info-host: maybe-install-info-gdb
1719 install-info-host: maybe-install-info-expect
1720 install-info-host: maybe-install-info-guile
1721 install-info-host: maybe-install-info-tk
1722 install-info-host: maybe-install-info-libtermcap
1723 install-info-host: maybe-install-info-utils
1724 install-info-host: maybe-install-info-gnattools
1725 install-info-host: maybe-install-info-lto-plugin
1726 install-info-host: maybe-install-info-libcc1
1727 install-info-host: maybe-install-info-gotools
1728 install-info-host: maybe-install-info-libctf
1729
1730 .PHONY: install-info-target
1731
1732 install-info-target: maybe-install-info-target-libstdc++-v3
1733 install-info-target: maybe-install-info-target-libsanitizer
1734 install-info-target: maybe-install-info-target-libvtv
1735 install-info-target: maybe-install-info-target-liboffloadmic
1736 install-info-target: maybe-install-info-target-libssp
1737 install-info-target: maybe-install-info-target-newlib
1738 install-info-target: maybe-install-info-target-libgcc
1739 install-info-target: maybe-install-info-target-libbacktrace
1740 install-info-target: maybe-install-info-target-libquadmath
1741 install-info-target: maybe-install-info-target-libgfortran
1742 install-info-target: maybe-install-info-target-libobjc
1743 install-info-target: maybe-install-info-target-libgo
1744 install-info-target: maybe-install-info-target-libhsail-rt
1745 install-info-target: maybe-install-info-target-libphobos
1746 install-info-target: maybe-install-info-target-libtermcap
1747 install-info-target: maybe-install-info-target-winsup
1748 install-info-target: maybe-install-info-target-libgloss
1749 install-info-target: maybe-install-info-target-libffi
1750 install-info-target: maybe-install-info-target-zlib
1751 install-info-target: maybe-install-info-target-rda
1752 install-info-target: maybe-install-info-target-libada
1753 install-info-target: maybe-install-info-target-libgomp
1754 install-info-target: maybe-install-info-target-libitm
1755 install-info-target: maybe-install-info-target-libatomic
1756
1757 .PHONY: do-install-pdf
1758 do-install-pdf:
1759 @: $(MAKE); $(unstage)
1760 @r=`${PWD_COMMAND}`; export r; \
1761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1763 install-pdf-target
1764
1765
1766 .PHONY: install-pdf-host
1767
1768 install-pdf-host: maybe-install-pdf-bfd
1769 install-pdf-host: maybe-install-pdf-opcodes
1770 install-pdf-host: maybe-install-pdf-binutils
1771 install-pdf-host: maybe-install-pdf-bison
1772 install-pdf-host: maybe-install-pdf-cgen
1773 install-pdf-host: maybe-install-pdf-dejagnu
1774 install-pdf-host: maybe-install-pdf-etc
1775 install-pdf-host: maybe-install-pdf-fastjar
1776 install-pdf-host: maybe-install-pdf-fixincludes
1777 install-pdf-host: maybe-install-pdf-flex
1778 install-pdf-host: maybe-install-pdf-gas
1779 install-pdf-host: maybe-install-pdf-gcc
1780 install-pdf-host: maybe-install-pdf-gmp
1781 install-pdf-host: maybe-install-pdf-mpfr
1782 install-pdf-host: maybe-install-pdf-mpc
1783 install-pdf-host: maybe-install-pdf-isl
1784 install-pdf-host: maybe-install-pdf-libelf
1785 install-pdf-host: maybe-install-pdf-gold
1786 install-pdf-host: maybe-install-pdf-gprof
1787 install-pdf-host: maybe-install-pdf-intl
1788 install-pdf-host: maybe-install-pdf-tcl
1789 install-pdf-host: maybe-install-pdf-itcl
1790 install-pdf-host: maybe-install-pdf-ld
1791 install-pdf-host: maybe-install-pdf-libbacktrace
1792 install-pdf-host: maybe-install-pdf-libcpp
1793 install-pdf-host: maybe-install-pdf-libdecnumber
1794 install-pdf-host: maybe-install-pdf-libgui
1795 install-pdf-host: maybe-install-pdf-libiberty
1796 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1797 install-pdf-host: maybe-install-pdf-libiconv
1798 install-pdf-host: maybe-install-pdf-m4
1799 install-pdf-host: maybe-install-pdf-readline
1800 install-pdf-host: maybe-install-pdf-sid
1801 install-pdf-host: maybe-install-pdf-sim
1802 install-pdf-host: maybe-install-pdf-texinfo
1803 install-pdf-host: maybe-install-pdf-zlib
1804 install-pdf-host: maybe-install-pdf-gdb
1805 install-pdf-host: maybe-install-pdf-expect
1806 install-pdf-host: maybe-install-pdf-guile
1807 install-pdf-host: maybe-install-pdf-tk
1808 install-pdf-host: maybe-install-pdf-libtermcap
1809 install-pdf-host: maybe-install-pdf-utils
1810 install-pdf-host: maybe-install-pdf-gnattools
1811 install-pdf-host: maybe-install-pdf-lto-plugin
1812 install-pdf-host: maybe-install-pdf-libcc1
1813 install-pdf-host: maybe-install-pdf-gotools
1814 install-pdf-host: maybe-install-pdf-libctf
1815
1816 .PHONY: install-pdf-target
1817
1818 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1819 install-pdf-target: maybe-install-pdf-target-libsanitizer
1820 install-pdf-target: maybe-install-pdf-target-libvtv
1821 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1822 install-pdf-target: maybe-install-pdf-target-libssp
1823 install-pdf-target: maybe-install-pdf-target-newlib
1824 install-pdf-target: maybe-install-pdf-target-libgcc
1825 install-pdf-target: maybe-install-pdf-target-libbacktrace
1826 install-pdf-target: maybe-install-pdf-target-libquadmath
1827 install-pdf-target: maybe-install-pdf-target-libgfortran
1828 install-pdf-target: maybe-install-pdf-target-libobjc
1829 install-pdf-target: maybe-install-pdf-target-libgo
1830 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1831 install-pdf-target: maybe-install-pdf-target-libphobos
1832 install-pdf-target: maybe-install-pdf-target-libtermcap
1833 install-pdf-target: maybe-install-pdf-target-winsup
1834 install-pdf-target: maybe-install-pdf-target-libgloss
1835 install-pdf-target: maybe-install-pdf-target-libffi
1836 install-pdf-target: maybe-install-pdf-target-zlib
1837 install-pdf-target: maybe-install-pdf-target-rda
1838 install-pdf-target: maybe-install-pdf-target-libada
1839 install-pdf-target: maybe-install-pdf-target-libgomp
1840 install-pdf-target: maybe-install-pdf-target-libitm
1841 install-pdf-target: maybe-install-pdf-target-libatomic
1842
1843 .PHONY: do-install-html
1844 do-install-html:
1845 @: $(MAKE); $(unstage)
1846 @r=`${PWD_COMMAND}`; export r; \
1847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1848 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1849 install-html-target
1850
1851
1852 .PHONY: install-html-host
1853
1854 install-html-host: maybe-install-html-bfd
1855 install-html-host: maybe-install-html-opcodes
1856 install-html-host: maybe-install-html-binutils
1857 install-html-host: maybe-install-html-bison
1858 install-html-host: maybe-install-html-cgen
1859 install-html-host: maybe-install-html-dejagnu
1860 install-html-host: maybe-install-html-etc
1861 install-html-host: maybe-install-html-fastjar
1862 install-html-host: maybe-install-html-fixincludes
1863 install-html-host: maybe-install-html-flex
1864 install-html-host: maybe-install-html-gas
1865 install-html-host: maybe-install-html-gcc
1866 install-html-host: maybe-install-html-gmp
1867 install-html-host: maybe-install-html-mpfr
1868 install-html-host: maybe-install-html-mpc
1869 install-html-host: maybe-install-html-isl
1870 install-html-host: maybe-install-html-libelf
1871 install-html-host: maybe-install-html-gold
1872 install-html-host: maybe-install-html-gprof
1873 install-html-host: maybe-install-html-intl
1874 install-html-host: maybe-install-html-tcl
1875 install-html-host: maybe-install-html-itcl
1876 install-html-host: maybe-install-html-ld
1877 install-html-host: maybe-install-html-libbacktrace
1878 install-html-host: maybe-install-html-libcpp
1879 install-html-host: maybe-install-html-libdecnumber
1880 install-html-host: maybe-install-html-libgui
1881 install-html-host: maybe-install-html-libiberty
1882 install-html-host: maybe-install-html-libiberty-linker-plugin
1883 install-html-host: maybe-install-html-libiconv
1884 install-html-host: maybe-install-html-m4
1885 install-html-host: maybe-install-html-readline
1886 install-html-host: maybe-install-html-sid
1887 install-html-host: maybe-install-html-sim
1888 install-html-host: maybe-install-html-texinfo
1889 install-html-host: maybe-install-html-zlib
1890 install-html-host: maybe-install-html-gdb
1891 install-html-host: maybe-install-html-expect
1892 install-html-host: maybe-install-html-guile
1893 install-html-host: maybe-install-html-tk
1894 install-html-host: maybe-install-html-libtermcap
1895 install-html-host: maybe-install-html-utils
1896 install-html-host: maybe-install-html-gnattools
1897 install-html-host: maybe-install-html-lto-plugin
1898 install-html-host: maybe-install-html-libcc1
1899 install-html-host: maybe-install-html-gotools
1900 install-html-host: maybe-install-html-libctf
1901
1902 .PHONY: install-html-target
1903
1904 install-html-target: maybe-install-html-target-libstdc++-v3
1905 install-html-target: maybe-install-html-target-libsanitizer
1906 install-html-target: maybe-install-html-target-libvtv
1907 install-html-target: maybe-install-html-target-liboffloadmic
1908 install-html-target: maybe-install-html-target-libssp
1909 install-html-target: maybe-install-html-target-newlib
1910 install-html-target: maybe-install-html-target-libgcc
1911 install-html-target: maybe-install-html-target-libbacktrace
1912 install-html-target: maybe-install-html-target-libquadmath
1913 install-html-target: maybe-install-html-target-libgfortran
1914 install-html-target: maybe-install-html-target-libobjc
1915 install-html-target: maybe-install-html-target-libgo
1916 install-html-target: maybe-install-html-target-libhsail-rt
1917 install-html-target: maybe-install-html-target-libphobos
1918 install-html-target: maybe-install-html-target-libtermcap
1919 install-html-target: maybe-install-html-target-winsup
1920 install-html-target: maybe-install-html-target-libgloss
1921 install-html-target: maybe-install-html-target-libffi
1922 install-html-target: maybe-install-html-target-zlib
1923 install-html-target: maybe-install-html-target-rda
1924 install-html-target: maybe-install-html-target-libada
1925 install-html-target: maybe-install-html-target-libgomp
1926 install-html-target: maybe-install-html-target-libitm
1927 install-html-target: maybe-install-html-target-libatomic
1928
1929 .PHONY: do-installcheck
1930 do-installcheck:
1931 @: $(MAKE); $(unstage)
1932 @r=`${PWD_COMMAND}`; export r; \
1933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1934 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1935 installcheck-target
1936
1937
1938 .PHONY: installcheck-host
1939
1940 installcheck-host: maybe-installcheck-bfd
1941 installcheck-host: maybe-installcheck-opcodes
1942 installcheck-host: maybe-installcheck-binutils
1943 installcheck-host: maybe-installcheck-bison
1944 installcheck-host: maybe-installcheck-cgen
1945 installcheck-host: maybe-installcheck-dejagnu
1946 installcheck-host: maybe-installcheck-etc
1947 installcheck-host: maybe-installcheck-fastjar
1948 installcheck-host: maybe-installcheck-fixincludes
1949 installcheck-host: maybe-installcheck-flex
1950 installcheck-host: maybe-installcheck-gas
1951 installcheck-host: maybe-installcheck-gcc
1952 installcheck-host: maybe-installcheck-gmp
1953 installcheck-host: maybe-installcheck-mpfr
1954 installcheck-host: maybe-installcheck-mpc
1955 installcheck-host: maybe-installcheck-isl
1956 installcheck-host: maybe-installcheck-libelf
1957 installcheck-host: maybe-installcheck-gold
1958 installcheck-host: maybe-installcheck-gprof
1959 installcheck-host: maybe-installcheck-intl
1960 installcheck-host: maybe-installcheck-tcl
1961 installcheck-host: maybe-installcheck-itcl
1962 installcheck-host: maybe-installcheck-ld
1963 installcheck-host: maybe-installcheck-libbacktrace
1964 installcheck-host: maybe-installcheck-libcpp
1965 installcheck-host: maybe-installcheck-libdecnumber
1966 installcheck-host: maybe-installcheck-libgui
1967 installcheck-host: maybe-installcheck-libiberty
1968 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1969 installcheck-host: maybe-installcheck-libiconv
1970 installcheck-host: maybe-installcheck-m4
1971 installcheck-host: maybe-installcheck-readline
1972 installcheck-host: maybe-installcheck-sid
1973 installcheck-host: maybe-installcheck-sim
1974 installcheck-host: maybe-installcheck-texinfo
1975 installcheck-host: maybe-installcheck-zlib
1976 installcheck-host: maybe-installcheck-gdb
1977 installcheck-host: maybe-installcheck-expect
1978 installcheck-host: maybe-installcheck-guile
1979 installcheck-host: maybe-installcheck-tk
1980 installcheck-host: maybe-installcheck-libtermcap
1981 installcheck-host: maybe-installcheck-utils
1982 installcheck-host: maybe-installcheck-gnattools
1983 installcheck-host: maybe-installcheck-lto-plugin
1984 installcheck-host: maybe-installcheck-libcc1
1985 installcheck-host: maybe-installcheck-gotools
1986 installcheck-host: maybe-installcheck-libctf
1987
1988 .PHONY: installcheck-target
1989
1990 installcheck-target: maybe-installcheck-target-libstdc++-v3
1991 installcheck-target: maybe-installcheck-target-libsanitizer
1992 installcheck-target: maybe-installcheck-target-libvtv
1993 installcheck-target: maybe-installcheck-target-liboffloadmic
1994 installcheck-target: maybe-installcheck-target-libssp
1995 installcheck-target: maybe-installcheck-target-newlib
1996 installcheck-target: maybe-installcheck-target-libgcc
1997 installcheck-target: maybe-installcheck-target-libbacktrace
1998 installcheck-target: maybe-installcheck-target-libquadmath
1999 installcheck-target: maybe-installcheck-target-libgfortran
2000 installcheck-target: maybe-installcheck-target-libobjc
2001 installcheck-target: maybe-installcheck-target-libgo
2002 installcheck-target: maybe-installcheck-target-libhsail-rt
2003 installcheck-target: maybe-installcheck-target-libphobos
2004 installcheck-target: maybe-installcheck-target-libtermcap
2005 installcheck-target: maybe-installcheck-target-winsup
2006 installcheck-target: maybe-installcheck-target-libgloss
2007 installcheck-target: maybe-installcheck-target-libffi
2008 installcheck-target: maybe-installcheck-target-zlib
2009 installcheck-target: maybe-installcheck-target-rda
2010 installcheck-target: maybe-installcheck-target-libada
2011 installcheck-target: maybe-installcheck-target-libgomp
2012 installcheck-target: maybe-installcheck-target-libitm
2013 installcheck-target: maybe-installcheck-target-libatomic
2014
2015 .PHONY: do-mostlyclean
2016 do-mostlyclean:
2017 @: $(MAKE); $(unstage)
2018 @r=`${PWD_COMMAND}`; export r; \
2019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2020 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2021 mostlyclean-target
2022
2023
2024 .PHONY: mostlyclean-host
2025
2026 mostlyclean-host: maybe-mostlyclean-bfd
2027 mostlyclean-host: maybe-mostlyclean-opcodes
2028 mostlyclean-host: maybe-mostlyclean-binutils
2029 mostlyclean-host: maybe-mostlyclean-bison
2030 mostlyclean-host: maybe-mostlyclean-cgen
2031 mostlyclean-host: maybe-mostlyclean-dejagnu
2032 mostlyclean-host: maybe-mostlyclean-etc
2033 mostlyclean-host: maybe-mostlyclean-fastjar
2034 mostlyclean-host: maybe-mostlyclean-fixincludes
2035 mostlyclean-host: maybe-mostlyclean-flex
2036 mostlyclean-host: maybe-mostlyclean-gas
2037 mostlyclean-host: maybe-mostlyclean-gcc
2038 mostlyclean-host: maybe-mostlyclean-gmp
2039 mostlyclean-host: maybe-mostlyclean-mpfr
2040 mostlyclean-host: maybe-mostlyclean-mpc
2041 mostlyclean-host: maybe-mostlyclean-isl
2042 mostlyclean-host: maybe-mostlyclean-libelf
2043 mostlyclean-host: maybe-mostlyclean-gold
2044 mostlyclean-host: maybe-mostlyclean-gprof
2045 mostlyclean-host: maybe-mostlyclean-intl
2046 mostlyclean-host: maybe-mostlyclean-tcl
2047 mostlyclean-host: maybe-mostlyclean-itcl
2048 mostlyclean-host: maybe-mostlyclean-ld
2049 mostlyclean-host: maybe-mostlyclean-libbacktrace
2050 mostlyclean-host: maybe-mostlyclean-libcpp
2051 mostlyclean-host: maybe-mostlyclean-libdecnumber
2052 mostlyclean-host: maybe-mostlyclean-libgui
2053 mostlyclean-host: maybe-mostlyclean-libiberty
2054 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2055 mostlyclean-host: maybe-mostlyclean-libiconv
2056 mostlyclean-host: maybe-mostlyclean-m4
2057 mostlyclean-host: maybe-mostlyclean-readline
2058 mostlyclean-host: maybe-mostlyclean-sid
2059 mostlyclean-host: maybe-mostlyclean-sim
2060 mostlyclean-host: maybe-mostlyclean-texinfo
2061 mostlyclean-host: maybe-mostlyclean-zlib
2062 mostlyclean-host: maybe-mostlyclean-gdb
2063 mostlyclean-host: maybe-mostlyclean-expect
2064 mostlyclean-host: maybe-mostlyclean-guile
2065 mostlyclean-host: maybe-mostlyclean-tk
2066 mostlyclean-host: maybe-mostlyclean-libtermcap
2067 mostlyclean-host: maybe-mostlyclean-utils
2068 mostlyclean-host: maybe-mostlyclean-gnattools
2069 mostlyclean-host: maybe-mostlyclean-lto-plugin
2070 mostlyclean-host: maybe-mostlyclean-libcc1
2071 mostlyclean-host: maybe-mostlyclean-gotools
2072 mostlyclean-host: maybe-mostlyclean-libctf
2073
2074 .PHONY: mostlyclean-target
2075
2076 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2077 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2078 mostlyclean-target: maybe-mostlyclean-target-libvtv
2079 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2080 mostlyclean-target: maybe-mostlyclean-target-libssp
2081 mostlyclean-target: maybe-mostlyclean-target-newlib
2082 mostlyclean-target: maybe-mostlyclean-target-libgcc
2083 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2084 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2085 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2086 mostlyclean-target: maybe-mostlyclean-target-libobjc
2087 mostlyclean-target: maybe-mostlyclean-target-libgo
2088 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2089 mostlyclean-target: maybe-mostlyclean-target-libphobos
2090 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2091 mostlyclean-target: maybe-mostlyclean-target-winsup
2092 mostlyclean-target: maybe-mostlyclean-target-libgloss
2093 mostlyclean-target: maybe-mostlyclean-target-libffi
2094 mostlyclean-target: maybe-mostlyclean-target-zlib
2095 mostlyclean-target: maybe-mostlyclean-target-rda
2096 mostlyclean-target: maybe-mostlyclean-target-libada
2097 mostlyclean-target: maybe-mostlyclean-target-libgomp
2098 mostlyclean-target: maybe-mostlyclean-target-libitm
2099 mostlyclean-target: maybe-mostlyclean-target-libatomic
2100
2101 .PHONY: do-clean
2102 do-clean:
2103 @: $(MAKE); $(unstage)
2104 @r=`${PWD_COMMAND}`; export r; \
2105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2107 clean-target
2108
2109
2110 .PHONY: clean-host
2111
2112 clean-host: maybe-clean-bfd
2113 clean-host: maybe-clean-opcodes
2114 clean-host: maybe-clean-binutils
2115 clean-host: maybe-clean-bison
2116 clean-host: maybe-clean-cgen
2117 clean-host: maybe-clean-dejagnu
2118 clean-host: maybe-clean-etc
2119 clean-host: maybe-clean-fastjar
2120 clean-host: maybe-clean-fixincludes
2121 clean-host: maybe-clean-flex
2122 clean-host: maybe-clean-gas
2123 clean-host: maybe-clean-gcc
2124 clean-host: maybe-clean-gmp
2125 clean-host: maybe-clean-mpfr
2126 clean-host: maybe-clean-mpc
2127 clean-host: maybe-clean-isl
2128 clean-host: maybe-clean-libelf
2129 clean-host: maybe-clean-gold
2130 clean-host: maybe-clean-gprof
2131 clean-host: maybe-clean-intl
2132 clean-host: maybe-clean-tcl
2133 clean-host: maybe-clean-itcl
2134 clean-host: maybe-clean-ld
2135 clean-host: maybe-clean-libbacktrace
2136 clean-host: maybe-clean-libcpp
2137 clean-host: maybe-clean-libdecnumber
2138 clean-host: maybe-clean-libgui
2139 clean-host: maybe-clean-libiberty
2140 clean-host: maybe-clean-libiberty-linker-plugin
2141 clean-host: maybe-clean-libiconv
2142 clean-host: maybe-clean-m4
2143 clean-host: maybe-clean-readline
2144 clean-host: maybe-clean-sid
2145 clean-host: maybe-clean-sim
2146 clean-host: maybe-clean-texinfo
2147 clean-host: maybe-clean-zlib
2148 clean-host: maybe-clean-gdb
2149 clean-host: maybe-clean-expect
2150 clean-host: maybe-clean-guile
2151 clean-host: maybe-clean-tk
2152 clean-host: maybe-clean-libtermcap
2153 clean-host: maybe-clean-utils
2154 clean-host: maybe-clean-gnattools
2155 clean-host: maybe-clean-lto-plugin
2156 clean-host: maybe-clean-libcc1
2157 clean-host: maybe-clean-gotools
2158 clean-host: maybe-clean-libctf
2159
2160 .PHONY: clean-target
2161
2162 clean-target: maybe-clean-target-libstdc++-v3
2163 clean-target: maybe-clean-target-libsanitizer
2164 clean-target: maybe-clean-target-libvtv
2165 clean-target: maybe-clean-target-liboffloadmic
2166 clean-target: maybe-clean-target-libssp
2167 clean-target: maybe-clean-target-newlib
2168 clean-target: maybe-clean-target-libgcc
2169 clean-target: maybe-clean-target-libbacktrace
2170 clean-target: maybe-clean-target-libquadmath
2171 clean-target: maybe-clean-target-libgfortran
2172 clean-target: maybe-clean-target-libobjc
2173 clean-target: maybe-clean-target-libgo
2174 clean-target: maybe-clean-target-libhsail-rt
2175 clean-target: maybe-clean-target-libphobos
2176 clean-target: maybe-clean-target-libtermcap
2177 clean-target: maybe-clean-target-winsup
2178 clean-target: maybe-clean-target-libgloss
2179 clean-target: maybe-clean-target-libffi
2180 clean-target: maybe-clean-target-zlib
2181 clean-target: maybe-clean-target-rda
2182 clean-target: maybe-clean-target-libada
2183 clean-target: maybe-clean-target-libgomp
2184 clean-target: maybe-clean-target-libitm
2185 clean-target: maybe-clean-target-libatomic
2186
2187 .PHONY: do-distclean
2188 do-distclean:
2189 @: $(MAKE); $(unstage)
2190 @r=`${PWD_COMMAND}`; export r; \
2191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2192 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2193 distclean-target
2194
2195
2196 .PHONY: distclean-host
2197
2198 distclean-host: maybe-distclean-bfd
2199 distclean-host: maybe-distclean-opcodes
2200 distclean-host: maybe-distclean-binutils
2201 distclean-host: maybe-distclean-bison
2202 distclean-host: maybe-distclean-cgen
2203 distclean-host: maybe-distclean-dejagnu
2204 distclean-host: maybe-distclean-etc
2205 distclean-host: maybe-distclean-fastjar
2206 distclean-host: maybe-distclean-fixincludes
2207 distclean-host: maybe-distclean-flex
2208 distclean-host: maybe-distclean-gas
2209 distclean-host: maybe-distclean-gcc
2210 distclean-host: maybe-distclean-gmp
2211 distclean-host: maybe-distclean-mpfr
2212 distclean-host: maybe-distclean-mpc
2213 distclean-host: maybe-distclean-isl
2214 distclean-host: maybe-distclean-libelf
2215 distclean-host: maybe-distclean-gold
2216 distclean-host: maybe-distclean-gprof
2217 distclean-host: maybe-distclean-intl
2218 distclean-host: maybe-distclean-tcl
2219 distclean-host: maybe-distclean-itcl
2220 distclean-host: maybe-distclean-ld
2221 distclean-host: maybe-distclean-libbacktrace
2222 distclean-host: maybe-distclean-libcpp
2223 distclean-host: maybe-distclean-libdecnumber
2224 distclean-host: maybe-distclean-libgui
2225 distclean-host: maybe-distclean-libiberty
2226 distclean-host: maybe-distclean-libiberty-linker-plugin
2227 distclean-host: maybe-distclean-libiconv
2228 distclean-host: maybe-distclean-m4
2229 distclean-host: maybe-distclean-readline
2230 distclean-host: maybe-distclean-sid
2231 distclean-host: maybe-distclean-sim
2232 distclean-host: maybe-distclean-texinfo
2233 distclean-host: maybe-distclean-zlib
2234 distclean-host: maybe-distclean-gdb
2235 distclean-host: maybe-distclean-expect
2236 distclean-host: maybe-distclean-guile
2237 distclean-host: maybe-distclean-tk
2238 distclean-host: maybe-distclean-libtermcap
2239 distclean-host: maybe-distclean-utils
2240 distclean-host: maybe-distclean-gnattools
2241 distclean-host: maybe-distclean-lto-plugin
2242 distclean-host: maybe-distclean-libcc1
2243 distclean-host: maybe-distclean-gotools
2244 distclean-host: maybe-distclean-libctf
2245
2246 .PHONY: distclean-target
2247
2248 distclean-target: maybe-distclean-target-libstdc++-v3
2249 distclean-target: maybe-distclean-target-libsanitizer
2250 distclean-target: maybe-distclean-target-libvtv
2251 distclean-target: maybe-distclean-target-liboffloadmic
2252 distclean-target: maybe-distclean-target-libssp
2253 distclean-target: maybe-distclean-target-newlib
2254 distclean-target: maybe-distclean-target-libgcc
2255 distclean-target: maybe-distclean-target-libbacktrace
2256 distclean-target: maybe-distclean-target-libquadmath
2257 distclean-target: maybe-distclean-target-libgfortran
2258 distclean-target: maybe-distclean-target-libobjc
2259 distclean-target: maybe-distclean-target-libgo
2260 distclean-target: maybe-distclean-target-libhsail-rt
2261 distclean-target: maybe-distclean-target-libphobos
2262 distclean-target: maybe-distclean-target-libtermcap
2263 distclean-target: maybe-distclean-target-winsup
2264 distclean-target: maybe-distclean-target-libgloss
2265 distclean-target: maybe-distclean-target-libffi
2266 distclean-target: maybe-distclean-target-zlib
2267 distclean-target: maybe-distclean-target-rda
2268 distclean-target: maybe-distclean-target-libada
2269 distclean-target: maybe-distclean-target-libgomp
2270 distclean-target: maybe-distclean-target-libitm
2271 distclean-target: maybe-distclean-target-libatomic
2272
2273 .PHONY: do-maintainer-clean
2274 do-maintainer-clean:
2275 @: $(MAKE); $(unstage)
2276 @r=`${PWD_COMMAND}`; export r; \
2277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2279 maintainer-clean-target
2280
2281
2282 .PHONY: maintainer-clean-host
2283
2284 maintainer-clean-host: maybe-maintainer-clean-bfd
2285 maintainer-clean-host: maybe-maintainer-clean-opcodes
2286 maintainer-clean-host: maybe-maintainer-clean-binutils
2287 maintainer-clean-host: maybe-maintainer-clean-bison
2288 maintainer-clean-host: maybe-maintainer-clean-cgen
2289 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2290 maintainer-clean-host: maybe-maintainer-clean-etc
2291 maintainer-clean-host: maybe-maintainer-clean-fastjar
2292 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2293 maintainer-clean-host: maybe-maintainer-clean-flex
2294 maintainer-clean-host: maybe-maintainer-clean-gas
2295 maintainer-clean-host: maybe-maintainer-clean-gcc
2296 maintainer-clean-host: maybe-maintainer-clean-gmp
2297 maintainer-clean-host: maybe-maintainer-clean-mpfr
2298 maintainer-clean-host: maybe-maintainer-clean-mpc
2299 maintainer-clean-host: maybe-maintainer-clean-isl
2300 maintainer-clean-host: maybe-maintainer-clean-libelf
2301 maintainer-clean-host: maybe-maintainer-clean-gold
2302 maintainer-clean-host: maybe-maintainer-clean-gprof
2303 maintainer-clean-host: maybe-maintainer-clean-intl
2304 maintainer-clean-host: maybe-maintainer-clean-tcl
2305 maintainer-clean-host: maybe-maintainer-clean-itcl
2306 maintainer-clean-host: maybe-maintainer-clean-ld
2307 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2308 maintainer-clean-host: maybe-maintainer-clean-libcpp
2309 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2310 maintainer-clean-host: maybe-maintainer-clean-libgui
2311 maintainer-clean-host: maybe-maintainer-clean-libiberty
2312 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2313 maintainer-clean-host: maybe-maintainer-clean-libiconv
2314 maintainer-clean-host: maybe-maintainer-clean-m4
2315 maintainer-clean-host: maybe-maintainer-clean-readline
2316 maintainer-clean-host: maybe-maintainer-clean-sid
2317 maintainer-clean-host: maybe-maintainer-clean-sim
2318 maintainer-clean-host: maybe-maintainer-clean-texinfo
2319 maintainer-clean-host: maybe-maintainer-clean-zlib
2320 maintainer-clean-host: maybe-maintainer-clean-gdb
2321 maintainer-clean-host: maybe-maintainer-clean-expect
2322 maintainer-clean-host: maybe-maintainer-clean-guile
2323 maintainer-clean-host: maybe-maintainer-clean-tk
2324 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2325 maintainer-clean-host: maybe-maintainer-clean-utils
2326 maintainer-clean-host: maybe-maintainer-clean-gnattools
2327 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2328 maintainer-clean-host: maybe-maintainer-clean-libcc1
2329 maintainer-clean-host: maybe-maintainer-clean-gotools
2330 maintainer-clean-host: maybe-maintainer-clean-libctf
2331
2332 .PHONY: maintainer-clean-target
2333
2334 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2335 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2336 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2337 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2338 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2339 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2340 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2341 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2342 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2343 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2344 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2345 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2346 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2347 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2348 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2349 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2350 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2351 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2352 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2353 maintainer-clean-target: maybe-maintainer-clean-target-rda
2354 maintainer-clean-target: maybe-maintainer-clean-target-libada
2355 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2356 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2357 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2358
2359
2360 # Here are the targets which correspond to the do-X targets.
2361
2362 .PHONY: info installcheck dvi pdf html
2363 .PHONY: install-info install-pdf install-html
2364 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2365 .PHONY: local-clean local-distclean local-maintainer-clean
2366 info: do-info
2367 installcheck: do-installcheck
2368 dvi: do-dvi
2369 pdf: do-pdf
2370 html: do-html
2371
2372 # Make sure makeinfo is built before we do a `make info', if we're
2373 # in fact building texinfo.
2374 do-info: maybe-all-texinfo
2375
2376 install-info: do-install-info dir.info
2377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2378 if [ -f dir.info ]; then \
2379 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2380 else true; fi
2381
2382 install-pdf: do-install-pdf
2383
2384 install-html: do-install-html
2385
2386 local-clean:
2387 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2388
2389 local-distclean:
2390 -rm -f Makefile config.status config.cache mh-frag mt-frag
2391 -rm -f maybedep.tmp serdep.tmp stage_final
2392 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2393 rm -rf $(TARGET_SUBDIR); \
2394 else true; fi
2395 -rm -rf $(BUILD_SUBDIR)
2396 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2397 rm -rf $(HOST_SUBDIR); \
2398 else true; fi
2399 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2400 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2401 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2402 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2403 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2404 -rmdir texinfo zlib 2>/dev/null
2405 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2406
2407 local-maintainer-clean:
2408 @echo "This command is intended for maintainers to use;"
2409 @echo "it deletes files that may require special tools to rebuild."
2410
2411 clean: do-clean local-clean
2412 mostlyclean: do-mostlyclean local-clean
2413 distclean: do-distclean local-clean local-distclean
2414 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2415 maintainer-clean: local-distclean
2416 realclean: maintainer-clean
2417
2418 # Check target.
2419
2420 .PHONY: check do-check
2421 check: do-check
2422
2423 # Only include modules actually being configured and built.
2424 .PHONY: check-host
2425 check-host: \
2426 maybe-check-bfd \
2427 maybe-check-opcodes \
2428 maybe-check-binutils \
2429 maybe-check-bison \
2430 maybe-check-cgen \
2431 maybe-check-dejagnu \
2432 maybe-check-etc \
2433 maybe-check-fastjar \
2434 maybe-check-fixincludes \
2435 maybe-check-flex \
2436 maybe-check-gas \
2437 maybe-check-gcc \
2438 maybe-check-gmp \
2439 maybe-check-mpfr \
2440 maybe-check-mpc \
2441 maybe-check-isl \
2442 maybe-check-libelf \
2443 maybe-check-gold \
2444 maybe-check-gprof \
2445 maybe-check-intl \
2446 maybe-check-tcl \
2447 maybe-check-itcl \
2448 maybe-check-ld \
2449 maybe-check-libbacktrace \
2450 maybe-check-libcpp \
2451 maybe-check-libdecnumber \
2452 maybe-check-libgui \
2453 maybe-check-libiberty \
2454 maybe-check-libiberty-linker-plugin \
2455 maybe-check-libiconv \
2456 maybe-check-m4 \
2457 maybe-check-readline \
2458 maybe-check-sid \
2459 maybe-check-sim \
2460 maybe-check-texinfo \
2461 maybe-check-zlib \
2462 maybe-check-gdb \
2463 maybe-check-expect \
2464 maybe-check-guile \
2465 maybe-check-tk \
2466 maybe-check-libtermcap \
2467 maybe-check-utils \
2468 maybe-check-gnattools \
2469 maybe-check-lto-plugin \
2470 maybe-check-libcc1 \
2471 maybe-check-gotools \
2472 maybe-check-libctf
2473
2474 .PHONY: check-target
2475 check-target: \
2476 maybe-check-target-libstdc++-v3 \
2477 maybe-check-target-libsanitizer \
2478 maybe-check-target-libvtv \
2479 maybe-check-target-liboffloadmic \
2480 maybe-check-target-libssp \
2481 maybe-check-target-newlib \
2482 maybe-check-target-libgcc \
2483 maybe-check-target-libbacktrace \
2484 maybe-check-target-libquadmath \
2485 maybe-check-target-libgfortran \
2486 maybe-check-target-libobjc \
2487 maybe-check-target-libgo \
2488 maybe-check-target-libhsail-rt \
2489 maybe-check-target-libphobos \
2490 maybe-check-target-libtermcap \
2491 maybe-check-target-winsup \
2492 maybe-check-target-libgloss \
2493 maybe-check-target-libffi \
2494 maybe-check-target-zlib \
2495 maybe-check-target-rda \
2496 maybe-check-target-libada \
2497 maybe-check-target-libgomp \
2498 maybe-check-target-libitm \
2499 maybe-check-target-libatomic
2500
2501 do-check:
2502 @: $(MAKE); $(unstage)
2503 @r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2506
2507 # Automated reporting of test results.
2508
2509 warning.log: build.log
2510 $(srcdir)/contrib/warn_summary build.log > $@
2511
2512 mail-report.log:
2513 if test x'$(BOOT_CFLAGS)' != x''; then \
2514 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2515 fi; \
2516 $(srcdir)/contrib/test_summary -t >$@
2517 chmod +x $@
2518 echo If you really want to send e-mail, run ./$@ now
2519
2520 mail-report-with-warnings.log: warning.log
2521 if test x'$(BOOT_CFLAGS)' != x''; then \
2522 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2523 fi; \
2524 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2525 chmod +x $@
2526 echo If you really want to send e-mail, run ./$@ now
2527
2528 # Local Vim config
2529
2530 $(srcdir)/.local.vimrc:
2531 $(LN_S) contrib/vimrc $@
2532
2533 $(srcdir)/.lvimrc:
2534 $(LN_S) contrib/vimrc $@
2535
2536 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2537
2538 .PHONY: vimrc
2539
2540 # clang-format config
2541
2542 $(srcdir)/.clang-format:
2543 $(LN_S) contrib/clang-format $@
2544
2545 clang-format: $(srcdir)/.clang-format
2546
2547 .PHONY: clang-format
2548
2549 # Installation targets.
2550
2551 .PHONY: install uninstall
2552 install:
2553 @: $(MAKE); $(unstage)
2554 @r=`${PWD_COMMAND}`; export r; \
2555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2556 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2557
2558 .PHONY: install-host-nogcc
2559 install-host-nogcc: \
2560 maybe-install-bfd \
2561 maybe-install-opcodes \
2562 maybe-install-binutils \
2563 maybe-install-bison \
2564 maybe-install-cgen \
2565 maybe-install-dejagnu \
2566 maybe-install-etc \
2567 maybe-install-fastjar \
2568 maybe-install-fixincludes \
2569 maybe-install-flex \
2570 maybe-install-gas \
2571 maybe-install-gmp \
2572 maybe-install-mpfr \
2573 maybe-install-mpc \
2574 maybe-install-isl \
2575 maybe-install-libelf \
2576 maybe-install-gold \
2577 maybe-install-gprof \
2578 maybe-install-intl \
2579 maybe-install-tcl \
2580 maybe-install-itcl \
2581 maybe-install-ld \
2582 maybe-install-libbacktrace \
2583 maybe-install-libcpp \
2584 maybe-install-libdecnumber \
2585 maybe-install-libgui \
2586 maybe-install-libiberty \
2587 maybe-install-libiberty-linker-plugin \
2588 maybe-install-libiconv \
2589 maybe-install-m4 \
2590 maybe-install-readline \
2591 maybe-install-sid \
2592 maybe-install-sim \
2593 maybe-install-texinfo \
2594 maybe-install-zlib \
2595 maybe-install-gdb \
2596 maybe-install-expect \
2597 maybe-install-guile \
2598 maybe-install-tk \
2599 maybe-install-libtermcap \
2600 maybe-install-utils \
2601 maybe-install-gnattools \
2602 maybe-install-lto-plugin \
2603 maybe-install-libcc1 \
2604 maybe-install-gotools \
2605 maybe-install-libctf
2606
2607 .PHONY: install-host
2608 install-host: \
2609 maybe-install-bfd \
2610 maybe-install-opcodes \
2611 maybe-install-binutils \
2612 maybe-install-bison \
2613 maybe-install-cgen \
2614 maybe-install-dejagnu \
2615 maybe-install-etc \
2616 maybe-install-fastjar \
2617 maybe-install-fixincludes \
2618 maybe-install-flex \
2619 maybe-install-gas \
2620 maybe-install-gcc \
2621 maybe-install-gmp \
2622 maybe-install-mpfr \
2623 maybe-install-mpc \
2624 maybe-install-isl \
2625 maybe-install-libelf \
2626 maybe-install-gold \
2627 maybe-install-gprof \
2628 maybe-install-intl \
2629 maybe-install-tcl \
2630 maybe-install-itcl \
2631 maybe-install-ld \
2632 maybe-install-libbacktrace \
2633 maybe-install-libcpp \
2634 maybe-install-libdecnumber \
2635 maybe-install-libgui \
2636 maybe-install-libiberty \
2637 maybe-install-libiberty-linker-plugin \
2638 maybe-install-libiconv \
2639 maybe-install-m4 \
2640 maybe-install-readline \
2641 maybe-install-sid \
2642 maybe-install-sim \
2643 maybe-install-texinfo \
2644 maybe-install-zlib \
2645 maybe-install-gdb \
2646 maybe-install-expect \
2647 maybe-install-guile \
2648 maybe-install-tk \
2649 maybe-install-libtermcap \
2650 maybe-install-utils \
2651 maybe-install-gnattools \
2652 maybe-install-lto-plugin \
2653 maybe-install-libcc1 \
2654 maybe-install-gotools \
2655 maybe-install-libctf
2656
2657 .PHONY: install-target
2658 install-target: \
2659 maybe-install-target-libstdc++-v3 \
2660 maybe-install-target-libsanitizer \
2661 maybe-install-target-libvtv \
2662 maybe-install-target-liboffloadmic \
2663 maybe-install-target-libssp \
2664 maybe-install-target-newlib \
2665 maybe-install-target-libgcc \
2666 maybe-install-target-libbacktrace \
2667 maybe-install-target-libquadmath \
2668 maybe-install-target-libgfortran \
2669 maybe-install-target-libobjc \
2670 maybe-install-target-libgo \
2671 maybe-install-target-libhsail-rt \
2672 maybe-install-target-libphobos \
2673 maybe-install-target-libtermcap \
2674 maybe-install-target-winsup \
2675 maybe-install-target-libgloss \
2676 maybe-install-target-libffi \
2677 maybe-install-target-zlib \
2678 maybe-install-target-rda \
2679 maybe-install-target-libada \
2680 maybe-install-target-libgomp \
2681 maybe-install-target-libitm \
2682 maybe-install-target-libatomic
2683
2684 uninstall:
2685 @echo "the uninstall target is not supported in this tree"
2686
2687 .PHONY: install.all
2688 install.all: install-no-fixedincludes
2689 @if [ -f ./gcc/Makefile ]; then \
2690 r=`${PWD_COMMAND}`; export r; \
2691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 $(HOST_EXPORTS) \
2693 (cd ./gcc && \
2694 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2695 else \
2696 true; \
2697 fi
2698
2699 # install-no-fixedincludes is used to allow the elaboration of binary packages
2700 # suitable for distribution, where we cannot include the fixed system header
2701 # files.
2702 .PHONY: install-no-fixedincludes
2703 install-no-fixedincludes: installdirs install-host-nogcc \
2704 install-target gcc-install-no-fixedincludes
2705
2706 .PHONY: install-strip
2707 install-strip:
2708 @: $(MAKE); $(unstage)
2709 @r=`${PWD_COMMAND}`; export r; \
2710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2711 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2712
2713 .PHONY: install-strip-host
2714 install-strip-host: \
2715 maybe-install-strip-bfd \
2716 maybe-install-strip-opcodes \
2717 maybe-install-strip-binutils \
2718 maybe-install-strip-bison \
2719 maybe-install-strip-cgen \
2720 maybe-install-strip-dejagnu \
2721 maybe-install-strip-etc \
2722 maybe-install-strip-fastjar \
2723 maybe-install-strip-fixincludes \
2724 maybe-install-strip-flex \
2725 maybe-install-strip-gas \
2726 maybe-install-strip-gcc \
2727 maybe-install-strip-gmp \
2728 maybe-install-strip-mpfr \
2729 maybe-install-strip-mpc \
2730 maybe-install-strip-isl \
2731 maybe-install-strip-libelf \
2732 maybe-install-strip-gold \
2733 maybe-install-strip-gprof \
2734 maybe-install-strip-intl \
2735 maybe-install-strip-tcl \
2736 maybe-install-strip-itcl \
2737 maybe-install-strip-ld \
2738 maybe-install-strip-libbacktrace \
2739 maybe-install-strip-libcpp \
2740 maybe-install-strip-libdecnumber \
2741 maybe-install-strip-libgui \
2742 maybe-install-strip-libiberty \
2743 maybe-install-strip-libiberty-linker-plugin \
2744 maybe-install-strip-libiconv \
2745 maybe-install-strip-m4 \
2746 maybe-install-strip-readline \
2747 maybe-install-strip-sid \
2748 maybe-install-strip-sim \
2749 maybe-install-strip-texinfo \
2750 maybe-install-strip-zlib \
2751 maybe-install-strip-gdb \
2752 maybe-install-strip-expect \
2753 maybe-install-strip-guile \
2754 maybe-install-strip-tk \
2755 maybe-install-strip-libtermcap \
2756 maybe-install-strip-utils \
2757 maybe-install-strip-gnattools \
2758 maybe-install-strip-lto-plugin \
2759 maybe-install-strip-libcc1 \
2760 maybe-install-strip-gotools \
2761 maybe-install-strip-libctf
2762
2763 .PHONY: install-strip-target
2764 install-strip-target: \
2765 maybe-install-strip-target-libstdc++-v3 \
2766 maybe-install-strip-target-libsanitizer \
2767 maybe-install-strip-target-libvtv \
2768 maybe-install-strip-target-liboffloadmic \
2769 maybe-install-strip-target-libssp \
2770 maybe-install-strip-target-newlib \
2771 maybe-install-strip-target-libgcc \
2772 maybe-install-strip-target-libbacktrace \
2773 maybe-install-strip-target-libquadmath \
2774 maybe-install-strip-target-libgfortran \
2775 maybe-install-strip-target-libobjc \
2776 maybe-install-strip-target-libgo \
2777 maybe-install-strip-target-libhsail-rt \
2778 maybe-install-strip-target-libphobos \
2779 maybe-install-strip-target-libtermcap \
2780 maybe-install-strip-target-winsup \
2781 maybe-install-strip-target-libgloss \
2782 maybe-install-strip-target-libffi \
2783 maybe-install-strip-target-zlib \
2784 maybe-install-strip-target-rda \
2785 maybe-install-strip-target-libada \
2786 maybe-install-strip-target-libgomp \
2787 maybe-install-strip-target-libitm \
2788 maybe-install-strip-target-libatomic
2789
2790
2791 ### other supporting targets
2792
2793 MAKEDIRS= \
2794 $(DESTDIR)$(prefix) \
2795 $(DESTDIR)$(exec_prefix)
2796 .PHONY: installdirs
2797 installdirs: mkinstalldirs
2798 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2799
2800 dir.info: do-install-info
2801 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2802 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2803 mv -f dir.info.new dir.info; \
2804 else true; \
2805 fi
2806
2807 dist:
2808 @echo "Building a full distribution of this tree isn't done"
2809 @echo "via 'make dist'. Check out the etc/ subdirectory"
2810
2811 etags tags: TAGS
2812
2813 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2814 # ability to use several tags files at once, so there is probably no need
2815 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2816 # (if we felt like it) have this Makefile write a piece of elisp which
2817 # the user could load to tell emacs19 where all the TAGS files we just
2818 # built are.
2819 TAGS: do-TAGS
2820
2821 # ------------------------------------
2822 # Macros for configure and all targets
2823 # ------------------------------------
2824
2825
2826
2827
2828
2829 # --------------------------------------
2830 # Modules which run on the build machine
2831 # --------------------------------------
2832
2833
2834 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2835 maybe-configure-build-libiberty:
2836 @if gcc-bootstrap
2837 configure-build-libiberty: stage_current
2838 @endif gcc-bootstrap
2839 @if build-libiberty
2840 maybe-configure-build-libiberty: configure-build-libiberty
2841 configure-build-libiberty:
2842 @: $(MAKE); $(unstage)
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2846 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2847 $(BUILD_EXPORTS) \
2848 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2849 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2850 case $(srcdir) in \
2851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2852 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2854 esac; \
2855 module_srcdir=libiberty; \
2856 rm -f no-such-file || : ; \
2857 CONFIG_SITE=no-such-file $(SHELL) \
2858 $$s/$$module_srcdir/configure \
2859 --srcdir=$${topdir}/$$module_srcdir \
2860 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2861 --target=${target_alias} \
2862 || exit 1
2863 @endif build-libiberty
2864
2865
2866
2867
2868
2869 .PHONY: all-build-libiberty maybe-all-build-libiberty
2870 maybe-all-build-libiberty:
2871 @if gcc-bootstrap
2872 all-build-libiberty: stage_current
2873 @endif gcc-bootstrap
2874 @if build-libiberty
2875 TARGET-build-libiberty=all
2876 maybe-all-build-libiberty: all-build-libiberty
2877 all-build-libiberty: configure-build-libiberty
2878 @: $(MAKE); $(unstage)
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(BUILD_EXPORTS) \
2882 (cd $(BUILD_SUBDIR)/libiberty && \
2883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2884 $(TARGET-build-libiberty))
2885 @endif build-libiberty
2886
2887
2888
2889
2890
2891 .PHONY: configure-build-bison maybe-configure-build-bison
2892 maybe-configure-build-bison:
2893 @if gcc-bootstrap
2894 configure-build-bison: stage_current
2895 @endif gcc-bootstrap
2896 @if build-bison
2897 maybe-configure-build-bison: configure-build-bison
2898 configure-build-bison:
2899 @: $(MAKE); $(unstage)
2900 @r=`${PWD_COMMAND}`; export r; \
2901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2902 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2903 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2904 $(BUILD_EXPORTS) \
2905 echo Configuring in $(BUILD_SUBDIR)/bison; \
2906 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2907 case $(srcdir) in \
2908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2909 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2911 esac; \
2912 module_srcdir=bison; \
2913 rm -f no-such-file || : ; \
2914 CONFIG_SITE=no-such-file $(SHELL) \
2915 $$s/$$module_srcdir/configure \
2916 --srcdir=$${topdir}/$$module_srcdir \
2917 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2918 --target=${target_alias} \
2919 || exit 1
2920 @endif build-bison
2921
2922
2923
2924
2925
2926 .PHONY: all-build-bison maybe-all-build-bison
2927 maybe-all-build-bison:
2928 @if gcc-bootstrap
2929 all-build-bison: stage_current
2930 @endif gcc-bootstrap
2931 @if build-bison
2932 TARGET-build-bison=all
2933 maybe-all-build-bison: all-build-bison
2934 all-build-bison: configure-build-bison
2935 @: $(MAKE); $(unstage)
2936 @r=`${PWD_COMMAND}`; export r; \
2937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 $(BUILD_EXPORTS) \
2939 (cd $(BUILD_SUBDIR)/bison && \
2940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2941 $(TARGET-build-bison))
2942 @endif build-bison
2943
2944
2945
2946
2947
2948 .PHONY: configure-build-flex maybe-configure-build-flex
2949 maybe-configure-build-flex:
2950 @if gcc-bootstrap
2951 configure-build-flex: stage_current
2952 @endif gcc-bootstrap
2953 @if build-flex
2954 maybe-configure-build-flex: configure-build-flex
2955 configure-build-flex:
2956 @: $(MAKE); $(unstage)
2957 @r=`${PWD_COMMAND}`; export r; \
2958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2959 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2960 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2961 $(BUILD_EXPORTS) \
2962 echo Configuring in $(BUILD_SUBDIR)/flex; \
2963 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2964 case $(srcdir) in \
2965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2966 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2968 esac; \
2969 module_srcdir=flex; \
2970 rm -f no-such-file || : ; \
2971 CONFIG_SITE=no-such-file $(SHELL) \
2972 $$s/$$module_srcdir/configure \
2973 --srcdir=$${topdir}/$$module_srcdir \
2974 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2975 --target=${target_alias} \
2976 || exit 1
2977 @endif build-flex
2978
2979
2980
2981
2982
2983 .PHONY: all-build-flex maybe-all-build-flex
2984 maybe-all-build-flex:
2985 @if gcc-bootstrap
2986 all-build-flex: stage_current
2987 @endif gcc-bootstrap
2988 @if build-flex
2989 TARGET-build-flex=all
2990 maybe-all-build-flex: all-build-flex
2991 all-build-flex: configure-build-flex
2992 @: $(MAKE); $(unstage)
2993 @r=`${PWD_COMMAND}`; export r; \
2994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2995 $(BUILD_EXPORTS) \
2996 (cd $(BUILD_SUBDIR)/flex && \
2997 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2998 $(TARGET-build-flex))
2999 @endif build-flex
3000
3001
3002
3003
3004
3005 .PHONY: configure-build-m4 maybe-configure-build-m4
3006 maybe-configure-build-m4:
3007 @if gcc-bootstrap
3008 configure-build-m4: stage_current
3009 @endif gcc-bootstrap
3010 @if build-m4
3011 maybe-configure-build-m4: configure-build-m4
3012 configure-build-m4:
3013 @: $(MAKE); $(unstage)
3014 @r=`${PWD_COMMAND}`; export r; \
3015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3016 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3017 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3018 $(BUILD_EXPORTS) \
3019 echo Configuring in $(BUILD_SUBDIR)/m4; \
3020 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3021 case $(srcdir) in \
3022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3023 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3025 esac; \
3026 module_srcdir=m4; \
3027 rm -f no-such-file || : ; \
3028 CONFIG_SITE=no-such-file $(SHELL) \
3029 $$s/$$module_srcdir/configure \
3030 --srcdir=$${topdir}/$$module_srcdir \
3031 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3032 --target=${target_alias} \
3033 || exit 1
3034 @endif build-m4
3035
3036
3037
3038
3039
3040 .PHONY: all-build-m4 maybe-all-build-m4
3041 maybe-all-build-m4:
3042 @if gcc-bootstrap
3043 all-build-m4: stage_current
3044 @endif gcc-bootstrap
3045 @if build-m4
3046 TARGET-build-m4=all
3047 maybe-all-build-m4: all-build-m4
3048 all-build-m4: configure-build-m4
3049 @: $(MAKE); $(unstage)
3050 @r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(BUILD_EXPORTS) \
3053 (cd $(BUILD_SUBDIR)/m4 && \
3054 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3055 $(TARGET-build-m4))
3056 @endif build-m4
3057
3058
3059
3060
3061
3062 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3063 maybe-configure-build-texinfo:
3064 @if gcc-bootstrap
3065 configure-build-texinfo: stage_current
3066 @endif gcc-bootstrap
3067 @if build-texinfo
3068 maybe-configure-build-texinfo: configure-build-texinfo
3069 configure-build-texinfo:
3070 @: $(MAKE); $(unstage)
3071 @r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3074 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3075 $(BUILD_EXPORTS) \
3076 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3077 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3078 case $(srcdir) in \
3079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3080 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3082 esac; \
3083 module_srcdir=texinfo; \
3084 rm -f no-such-file || : ; \
3085 CONFIG_SITE=no-such-file $(SHELL) \
3086 $$s/$$module_srcdir/configure \
3087 --srcdir=$${topdir}/$$module_srcdir \
3088 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3089 --target=${target_alias} \
3090 || exit 1
3091 @endif build-texinfo
3092
3093
3094
3095
3096
3097 .PHONY: all-build-texinfo maybe-all-build-texinfo
3098 maybe-all-build-texinfo:
3099 @if gcc-bootstrap
3100 all-build-texinfo: stage_current
3101 @endif gcc-bootstrap
3102 @if build-texinfo
3103 TARGET-build-texinfo=all
3104 maybe-all-build-texinfo: all-build-texinfo
3105 all-build-texinfo: configure-build-texinfo
3106 @: $(MAKE); $(unstage)
3107 @r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 $(BUILD_EXPORTS) \
3110 (cd $(BUILD_SUBDIR)/texinfo && \
3111 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3112 $(TARGET-build-texinfo))
3113 @endif build-texinfo
3114
3115
3116
3117
3118
3119 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3120 maybe-configure-build-fixincludes:
3121 @if gcc-bootstrap
3122 configure-build-fixincludes: stage_current
3123 @endif gcc-bootstrap
3124 @if build-fixincludes
3125 maybe-configure-build-fixincludes: configure-build-fixincludes
3126 configure-build-fixincludes:
3127 @: $(MAKE); $(unstage)
3128 @r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3131 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3132 $(BUILD_EXPORTS) \
3133 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3134 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3135 case $(srcdir) in \
3136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3137 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3139 esac; \
3140 module_srcdir=fixincludes; \
3141 rm -f no-such-file || : ; \
3142 CONFIG_SITE=no-such-file $(SHELL) \
3143 $$s/$$module_srcdir/configure \
3144 --srcdir=$${topdir}/$$module_srcdir \
3145 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3146 --target=${target_alias} \
3147 || exit 1
3148 @endif build-fixincludes
3149
3150
3151
3152
3153
3154 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3155 maybe-all-build-fixincludes:
3156 @if gcc-bootstrap
3157 all-build-fixincludes: stage_current
3158 @endif gcc-bootstrap
3159 @if build-fixincludes
3160 TARGET-build-fixincludes=all
3161 maybe-all-build-fixincludes: all-build-fixincludes
3162 all-build-fixincludes: configure-build-fixincludes
3163 @: $(MAKE); $(unstage)
3164 @r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166 $(BUILD_EXPORTS) \
3167 (cd $(BUILD_SUBDIR)/fixincludes && \
3168 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3169 $(TARGET-build-fixincludes))
3170 @endif build-fixincludes
3171
3172
3173
3174
3175
3176 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3177 maybe-configure-build-libcpp:
3178 @if gcc-bootstrap
3179 configure-build-libcpp: stage_current
3180 @endif gcc-bootstrap
3181 @if build-libcpp
3182 maybe-configure-build-libcpp: configure-build-libcpp
3183 configure-build-libcpp:
3184 @: $(MAKE); $(unstage)
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3188 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3189 $(BUILD_EXPORTS) \
3190 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3191 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3192 case $(srcdir) in \
3193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3194 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3196 esac; \
3197 module_srcdir=libcpp; \
3198 rm -f no-such-file || : ; \
3199 CONFIG_SITE=no-such-file $(SHELL) \
3200 $$s/$$module_srcdir/configure \
3201 --srcdir=$${topdir}/$$module_srcdir \
3202 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3203 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3204 || exit 1
3205 @endif build-libcpp
3206
3207
3208
3209
3210
3211 .PHONY: all-build-libcpp maybe-all-build-libcpp
3212 maybe-all-build-libcpp:
3213 @if gcc-bootstrap
3214 all-build-libcpp: stage_current
3215 @endif gcc-bootstrap
3216 @if build-libcpp
3217 TARGET-build-libcpp=all
3218 maybe-all-build-libcpp: all-build-libcpp
3219 all-build-libcpp: configure-build-libcpp
3220 @: $(MAKE); $(unstage)
3221 @r=`${PWD_COMMAND}`; export r; \
3222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3223 $(BUILD_EXPORTS) \
3224 (cd $(BUILD_SUBDIR)/libcpp && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3226 $(TARGET-build-libcpp))
3227 @endif build-libcpp
3228
3229
3230
3231
3232
3233 # --------------------------------------
3234 # Modules which run on the host machine
3235 # --------------------------------------
3236
3237
3238 .PHONY: configure-bfd maybe-configure-bfd
3239 maybe-configure-bfd:
3240 @if gcc-bootstrap
3241 configure-bfd: stage_current
3242 @endif gcc-bootstrap
3243 @if bfd
3244 maybe-configure-bfd: configure-bfd
3245 configure-bfd:
3246 @r=`${PWD_COMMAND}`; export r; \
3247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3250 $(HOST_EXPORTS) \
3251 echo Configuring in $(HOST_SUBDIR)/bfd; \
3252 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3253 case $(srcdir) in \
3254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3255 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3257 esac; \
3258 module_srcdir=bfd; \
3259 $(SHELL) \
3260 $$s/$$module_srcdir/configure \
3261 --srcdir=$${topdir}/$$module_srcdir \
3262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3263 --target=${target_alias} \
3264 || exit 1
3265 @endif bfd
3266
3267
3268
3269 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3270 maybe-configure-stage1-bfd:
3271 @if bfd-bootstrap
3272 maybe-configure-stage1-bfd: configure-stage1-bfd
3273 configure-stage1-bfd:
3274 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3276 @r=`${PWD_COMMAND}`; export r; \
3277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3278 TFLAGS="$(STAGE1_TFLAGS)"; \
3279 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3280 $(HOST_EXPORTS) \
3281 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3282 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3283 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3284 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3286 cd $(HOST_SUBDIR)/bfd || exit 1; \
3287 case $(srcdir) in \
3288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3289 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3291 esac; \
3292 module_srcdir=bfd; \
3293 $(SHELL) $$s/$$module_srcdir/configure \
3294 --srcdir=$${topdir}/$$module_srcdir \
3295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3296 --target=${target_alias} \
3297 \
3298 $(STAGE1_CONFIGURE_FLAGS)
3299 @endif bfd-bootstrap
3300
3301 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3302 maybe-configure-stage2-bfd:
3303 @if bfd-bootstrap
3304 maybe-configure-stage2-bfd: configure-stage2-bfd
3305 configure-stage2-bfd:
3306 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3308 @r=`${PWD_COMMAND}`; export r; \
3309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3310 TFLAGS="$(STAGE2_TFLAGS)"; \
3311 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3312 $(HOST_EXPORTS) \
3313 $(POSTSTAGE1_HOST_EXPORTS) \
3314 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3315 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3316 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3317 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3319 cd $(HOST_SUBDIR)/bfd || exit 1; \
3320 case $(srcdir) in \
3321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3322 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3324 esac; \
3325 module_srcdir=bfd; \
3326 $(SHELL) $$s/$$module_srcdir/configure \
3327 --srcdir=$${topdir}/$$module_srcdir \
3328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3329 --target=${target_alias} \
3330 --with-build-libsubdir=$(HOST_SUBDIR) \
3331 $(STAGE2_CONFIGURE_FLAGS)
3332 @endif bfd-bootstrap
3333
3334 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3335 maybe-configure-stage3-bfd:
3336 @if bfd-bootstrap
3337 maybe-configure-stage3-bfd: configure-stage3-bfd
3338 configure-stage3-bfd:
3339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3341 @r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 TFLAGS="$(STAGE3_TFLAGS)"; \
3344 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3345 $(HOST_EXPORTS) \
3346 $(POSTSTAGE1_HOST_EXPORTS) \
3347 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3348 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3349 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3350 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3352 cd $(HOST_SUBDIR)/bfd || exit 1; \
3353 case $(srcdir) in \
3354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3355 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3357 esac; \
3358 module_srcdir=bfd; \
3359 $(SHELL) $$s/$$module_srcdir/configure \
3360 --srcdir=$${topdir}/$$module_srcdir \
3361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3362 --target=${target_alias} \
3363 --with-build-libsubdir=$(HOST_SUBDIR) \
3364 $(STAGE3_CONFIGURE_FLAGS)
3365 @endif bfd-bootstrap
3366
3367 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3368 maybe-configure-stage4-bfd:
3369 @if bfd-bootstrap
3370 maybe-configure-stage4-bfd: configure-stage4-bfd
3371 configure-stage4-bfd:
3372 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3374 @r=`${PWD_COMMAND}`; export r; \
3375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 TFLAGS="$(STAGE4_TFLAGS)"; \
3377 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3378 $(HOST_EXPORTS) \
3379 $(POSTSTAGE1_HOST_EXPORTS) \
3380 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3381 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3382 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3383 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3385 cd $(HOST_SUBDIR)/bfd || exit 1; \
3386 case $(srcdir) in \
3387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3388 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3390 esac; \
3391 module_srcdir=bfd; \
3392 $(SHELL) $$s/$$module_srcdir/configure \
3393 --srcdir=$${topdir}/$$module_srcdir \
3394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3395 --target=${target_alias} \
3396 --with-build-libsubdir=$(HOST_SUBDIR) \
3397 $(STAGE4_CONFIGURE_FLAGS)
3398 @endif bfd-bootstrap
3399
3400 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3401 maybe-configure-stageprofile-bfd:
3402 @if bfd-bootstrap
3403 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3404 configure-stageprofile-bfd:
3405 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3407 @r=`${PWD_COMMAND}`; export r; \
3408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3409 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3410 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3411 $(HOST_EXPORTS) \
3412 $(POSTSTAGE1_HOST_EXPORTS) \
3413 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3414 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3415 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3416 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3418 cd $(HOST_SUBDIR)/bfd || exit 1; \
3419 case $(srcdir) in \
3420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3421 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3423 esac; \
3424 module_srcdir=bfd; \
3425 $(SHELL) $$s/$$module_srcdir/configure \
3426 --srcdir=$${topdir}/$$module_srcdir \
3427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3428 --target=${target_alias} \
3429 --with-build-libsubdir=$(HOST_SUBDIR) \
3430 $(STAGEprofile_CONFIGURE_FLAGS)
3431 @endif bfd-bootstrap
3432
3433 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3434 maybe-configure-stagetrain-bfd:
3435 @if bfd-bootstrap
3436 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3437 configure-stagetrain-bfd:
3438 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3440 @r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3443 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3444 $(HOST_EXPORTS) \
3445 $(POSTSTAGE1_HOST_EXPORTS) \
3446 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3447 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3448 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3449 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3451 cd $(HOST_SUBDIR)/bfd || exit 1; \
3452 case $(srcdir) in \
3453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3454 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3456 esac; \
3457 module_srcdir=bfd; \
3458 $(SHELL) $$s/$$module_srcdir/configure \
3459 --srcdir=$${topdir}/$$module_srcdir \
3460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3461 --target=${target_alias} \
3462 --with-build-libsubdir=$(HOST_SUBDIR) \
3463 $(STAGEtrain_CONFIGURE_FLAGS)
3464 @endif bfd-bootstrap
3465
3466 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3467 maybe-configure-stagefeedback-bfd:
3468 @if bfd-bootstrap
3469 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3470 configure-stagefeedback-bfd:
3471 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3473 @r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3476 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3477 $(HOST_EXPORTS) \
3478 $(POSTSTAGE1_HOST_EXPORTS) \
3479 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3480 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3481 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3482 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3484 cd $(HOST_SUBDIR)/bfd || exit 1; \
3485 case $(srcdir) in \
3486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3487 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3489 esac; \
3490 module_srcdir=bfd; \
3491 $(SHELL) $$s/$$module_srcdir/configure \
3492 --srcdir=$${topdir}/$$module_srcdir \
3493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3494 --target=${target_alias} \
3495 --with-build-libsubdir=$(HOST_SUBDIR) \
3496 $(STAGEfeedback_CONFIGURE_FLAGS)
3497 @endif bfd-bootstrap
3498
3499 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3500 maybe-configure-stageautoprofile-bfd:
3501 @if bfd-bootstrap
3502 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3503 configure-stageautoprofile-bfd:
3504 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3506 @r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3509 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3510 $(HOST_EXPORTS) \
3511 $(POSTSTAGE1_HOST_EXPORTS) \
3512 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3513 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3514 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3515 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3517 cd $(HOST_SUBDIR)/bfd || exit 1; \
3518 case $(srcdir) in \
3519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3520 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3522 esac; \
3523 module_srcdir=bfd; \
3524 $(SHELL) $$s/$$module_srcdir/configure \
3525 --srcdir=$${topdir}/$$module_srcdir \
3526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3527 --target=${target_alias} \
3528 --with-build-libsubdir=$(HOST_SUBDIR) \
3529 $(STAGEautoprofile_CONFIGURE_FLAGS)
3530 @endif bfd-bootstrap
3531
3532 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3533 maybe-configure-stageautofeedback-bfd:
3534 @if bfd-bootstrap
3535 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3536 configure-stageautofeedback-bfd:
3537 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3539 @r=`${PWD_COMMAND}`; export r; \
3540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3541 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3542 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3543 $(HOST_EXPORTS) \
3544 $(POSTSTAGE1_HOST_EXPORTS) \
3545 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3546 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3547 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3548 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3550 cd $(HOST_SUBDIR)/bfd || exit 1; \
3551 case $(srcdir) in \
3552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3553 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3555 esac; \
3556 module_srcdir=bfd; \
3557 $(SHELL) $$s/$$module_srcdir/configure \
3558 --srcdir=$${topdir}/$$module_srcdir \
3559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3560 --target=${target_alias} \
3561 --with-build-libsubdir=$(HOST_SUBDIR) \
3562 $(STAGEautofeedback_CONFIGURE_FLAGS)
3563 @endif bfd-bootstrap
3564
3565
3566
3567
3568
3569 .PHONY: all-bfd maybe-all-bfd
3570 maybe-all-bfd:
3571 @if gcc-bootstrap
3572 all-bfd: stage_current
3573 @endif gcc-bootstrap
3574 @if bfd
3575 TARGET-bfd=all
3576 maybe-all-bfd: all-bfd
3577 all-bfd: configure-bfd
3578 @r=`${PWD_COMMAND}`; export r; \
3579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3580 $(HOST_EXPORTS) \
3581 (cd $(HOST_SUBDIR)/bfd && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3583 $(TARGET-bfd))
3584 @endif bfd
3585
3586
3587
3588 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3589 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3590 maybe-all-stage1-bfd:
3591 maybe-clean-stage1-bfd:
3592 @if bfd-bootstrap
3593 maybe-all-stage1-bfd: all-stage1-bfd
3594 all-stage1: all-stage1-bfd
3595 TARGET-stage1-bfd = $(TARGET-bfd)
3596 all-stage1-bfd: configure-stage1-bfd
3597 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3598 @r=`${PWD_COMMAND}`; export r; \
3599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 TFLAGS="$(STAGE1_TFLAGS)"; \
3601 $(HOST_EXPORTS) \
3602 cd $(HOST_SUBDIR)/bfd && \
3603 \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3605 CFLAGS="$(STAGE1_CFLAGS)" \
3606 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3607 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3608 LIBCFLAGS="$(LIBCFLAGS)" \
3609 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3610 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3611 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3612 $(EXTRA_HOST_FLAGS) \
3613 $(STAGE1_FLAGS_TO_PASS) \
3614 TFLAGS="$(STAGE1_TFLAGS)" \
3615 $(TARGET-stage1-bfd)
3616
3617 maybe-clean-stage1-bfd: clean-stage1-bfd
3618 clean-stage1: clean-stage1-bfd
3619 clean-stage1-bfd:
3620 @if [ $(current_stage) = stage1 ]; then \
3621 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3622 else \
3623 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3624 $(MAKE) stage1-start; \
3625 fi; \
3626 cd $(HOST_SUBDIR)/bfd && \
3627 $(MAKE) $(EXTRA_HOST_FLAGS) \
3628 $(STAGE1_FLAGS_TO_PASS) clean
3629 @endif bfd-bootstrap
3630
3631
3632 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3633 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3634 maybe-all-stage2-bfd:
3635 maybe-clean-stage2-bfd:
3636 @if bfd-bootstrap
3637 maybe-all-stage2-bfd: all-stage2-bfd
3638 all-stage2: all-stage2-bfd
3639 TARGET-stage2-bfd = $(TARGET-bfd)
3640 all-stage2-bfd: configure-stage2-bfd
3641 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3642 @r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644 TFLAGS="$(STAGE2_TFLAGS)"; \
3645 $(HOST_EXPORTS) \
3646 $(POSTSTAGE1_HOST_EXPORTS) \
3647 cd $(HOST_SUBDIR)/bfd && \
3648 \
3649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3650 CFLAGS="$(STAGE2_CFLAGS)" \
3651 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3652 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3653 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3658 TFLAGS="$(STAGE2_TFLAGS)" \
3659 $(TARGET-stage2-bfd)
3660
3661 maybe-clean-stage2-bfd: clean-stage2-bfd
3662 clean-stage2: clean-stage2-bfd
3663 clean-stage2-bfd:
3664 @if [ $(current_stage) = stage2 ]; then \
3665 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3666 else \
3667 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3668 $(MAKE) stage2-start; \
3669 fi; \
3670 cd $(HOST_SUBDIR)/bfd && \
3671 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3672 @endif bfd-bootstrap
3673
3674
3675 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3676 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3677 maybe-all-stage3-bfd:
3678 maybe-clean-stage3-bfd:
3679 @if bfd-bootstrap
3680 maybe-all-stage3-bfd: all-stage3-bfd
3681 all-stage3: all-stage3-bfd
3682 TARGET-stage3-bfd = $(TARGET-bfd)
3683 all-stage3-bfd: configure-stage3-bfd
3684 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3685 @r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 TFLAGS="$(STAGE3_TFLAGS)"; \
3688 $(HOST_EXPORTS) \
3689 $(POSTSTAGE1_HOST_EXPORTS) \
3690 cd $(HOST_SUBDIR)/bfd && \
3691 \
3692 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3693 CFLAGS="$(STAGE3_CFLAGS)" \
3694 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3695 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3696 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3701 TFLAGS="$(STAGE3_TFLAGS)" \
3702 $(TARGET-stage3-bfd)
3703
3704 maybe-clean-stage3-bfd: clean-stage3-bfd
3705 clean-stage3: clean-stage3-bfd
3706 clean-stage3-bfd:
3707 @if [ $(current_stage) = stage3 ]; then \
3708 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3709 else \
3710 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3711 $(MAKE) stage3-start; \
3712 fi; \
3713 cd $(HOST_SUBDIR)/bfd && \
3714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3715 @endif bfd-bootstrap
3716
3717
3718 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3719 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3720 maybe-all-stage4-bfd:
3721 maybe-clean-stage4-bfd:
3722 @if bfd-bootstrap
3723 maybe-all-stage4-bfd: all-stage4-bfd
3724 all-stage4: all-stage4-bfd
3725 TARGET-stage4-bfd = $(TARGET-bfd)
3726 all-stage4-bfd: configure-stage4-bfd
3727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3728 @r=`${PWD_COMMAND}`; export r; \
3729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3730 TFLAGS="$(STAGE4_TFLAGS)"; \
3731 $(HOST_EXPORTS) \
3732 $(POSTSTAGE1_HOST_EXPORTS) \
3733 cd $(HOST_SUBDIR)/bfd && \
3734 \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3736 CFLAGS="$(STAGE4_CFLAGS)" \
3737 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
3738 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3739 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3744 TFLAGS="$(STAGE4_TFLAGS)" \
3745 $(TARGET-stage4-bfd)
3746
3747 maybe-clean-stage4-bfd: clean-stage4-bfd
3748 clean-stage4: clean-stage4-bfd
3749 clean-stage4-bfd:
3750 @if [ $(current_stage) = stage4 ]; then \
3751 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3752 else \
3753 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3754 $(MAKE) stage4-start; \
3755 fi; \
3756 cd $(HOST_SUBDIR)/bfd && \
3757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3758 @endif bfd-bootstrap
3759
3760
3761 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3762 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3763 maybe-all-stageprofile-bfd:
3764 maybe-clean-stageprofile-bfd:
3765 @if bfd-bootstrap
3766 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3767 all-stageprofile: all-stageprofile-bfd
3768 TARGET-stageprofile-bfd = $(TARGET-bfd)
3769 all-stageprofile-bfd: configure-stageprofile-bfd
3770 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3771 @r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3774 $(HOST_EXPORTS) \
3775 $(POSTSTAGE1_HOST_EXPORTS) \
3776 cd $(HOST_SUBDIR)/bfd && \
3777 \
3778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3779 CFLAGS="$(STAGEprofile_CFLAGS)" \
3780 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
3781 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3782 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3786 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3787 TFLAGS="$(STAGEprofile_TFLAGS)" \
3788 $(TARGET-stageprofile-bfd)
3789
3790 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3791 clean-stageprofile: clean-stageprofile-bfd
3792 clean-stageprofile-bfd:
3793 @if [ $(current_stage) = stageprofile ]; then \
3794 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3795 else \
3796 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3797 $(MAKE) stageprofile-start; \
3798 fi; \
3799 cd $(HOST_SUBDIR)/bfd && \
3800 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3801 @endif bfd-bootstrap
3802
3803
3804 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3805 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3806 maybe-all-stagetrain-bfd:
3807 maybe-clean-stagetrain-bfd:
3808 @if bfd-bootstrap
3809 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3810 all-stagetrain: all-stagetrain-bfd
3811 TARGET-stagetrain-bfd = $(TARGET-bfd)
3812 all-stagetrain-bfd: configure-stagetrain-bfd
3813 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3814 @r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3816 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3817 $(HOST_EXPORTS) \
3818 $(POSTSTAGE1_HOST_EXPORTS) \
3819 cd $(HOST_SUBDIR)/bfd && \
3820 \
3821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3822 CFLAGS="$(STAGEtrain_CFLAGS)" \
3823 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
3824 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3825 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3830 TFLAGS="$(STAGEtrain_TFLAGS)" \
3831 $(TARGET-stagetrain-bfd)
3832
3833 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3834 clean-stagetrain: clean-stagetrain-bfd
3835 clean-stagetrain-bfd:
3836 @if [ $(current_stage) = stagetrain ]; then \
3837 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3838 else \
3839 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3840 $(MAKE) stagetrain-start; \
3841 fi; \
3842 cd $(HOST_SUBDIR)/bfd && \
3843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3844 @endif bfd-bootstrap
3845
3846
3847 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3848 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3849 maybe-all-stagefeedback-bfd:
3850 maybe-clean-stagefeedback-bfd:
3851 @if bfd-bootstrap
3852 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3853 all-stagefeedback: all-stagefeedback-bfd
3854 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3855 all-stagefeedback-bfd: configure-stagefeedback-bfd
3856 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3857 @r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3860 $(HOST_EXPORTS) \
3861 $(POSTSTAGE1_HOST_EXPORTS) \
3862 cd $(HOST_SUBDIR)/bfd && \
3863 \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3865 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3866 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
3867 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3868 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3872 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3873 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3874 $(TARGET-stagefeedback-bfd)
3875
3876 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3877 clean-stagefeedback: clean-stagefeedback-bfd
3878 clean-stagefeedback-bfd:
3879 @if [ $(current_stage) = stagefeedback ]; then \
3880 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3881 else \
3882 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3883 $(MAKE) stagefeedback-start; \
3884 fi; \
3885 cd $(HOST_SUBDIR)/bfd && \
3886 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3887 @endif bfd-bootstrap
3888
3889
3890 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3891 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3892 maybe-all-stageautoprofile-bfd:
3893 maybe-clean-stageautoprofile-bfd:
3894 @if bfd-bootstrap
3895 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3896 all-stageautoprofile: all-stageautoprofile-bfd
3897 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3898 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3899 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3900 @r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3903 $(HOST_EXPORTS) \
3904 $(POSTSTAGE1_HOST_EXPORTS) \
3905 cd $(HOST_SUBDIR)/bfd && \
3906 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3908 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3909 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
3910 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3911 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3916 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3917 $(TARGET-stageautoprofile-bfd)
3918
3919 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3920 clean-stageautoprofile: clean-stageautoprofile-bfd
3921 clean-stageautoprofile-bfd:
3922 @if [ $(current_stage) = stageautoprofile ]; then \
3923 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3924 else \
3925 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3926 $(MAKE) stageautoprofile-start; \
3927 fi; \
3928 cd $(HOST_SUBDIR)/bfd && \
3929 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3930 @endif bfd-bootstrap
3931
3932
3933 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3934 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3935 maybe-all-stageautofeedback-bfd:
3936 maybe-clean-stageautofeedback-bfd:
3937 @if bfd-bootstrap
3938 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3939 all-stageautofeedback: all-stageautofeedback-bfd
3940 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3941 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3942 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3943 @r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3946 $(HOST_EXPORTS) \
3947 $(POSTSTAGE1_HOST_EXPORTS) \
3948 cd $(HOST_SUBDIR)/bfd && \
3949 \
3950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3951 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3952 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
3953 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3954 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3959 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3960 $(TARGET-stageautofeedback-bfd)
3961
3962 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3963 clean-stageautofeedback: clean-stageautofeedback-bfd
3964 clean-stageautofeedback-bfd:
3965 @if [ $(current_stage) = stageautofeedback ]; then \
3966 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3967 else \
3968 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3969 $(MAKE) stageautofeedback-start; \
3970 fi; \
3971 cd $(HOST_SUBDIR)/bfd && \
3972 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3973 @endif bfd-bootstrap
3974
3975
3976
3977
3978
3979 .PHONY: check-bfd maybe-check-bfd
3980 maybe-check-bfd:
3981 @if bfd
3982 maybe-check-bfd: check-bfd
3983
3984 check-bfd:
3985 @: $(MAKE); $(unstage)
3986 @r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3989 (cd $(HOST_SUBDIR)/bfd && \
3990 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3991
3992 @endif bfd
3993
3994 .PHONY: install-bfd maybe-install-bfd
3995 maybe-install-bfd:
3996 @if bfd
3997 maybe-install-bfd: install-bfd
3998
3999 install-bfd: installdirs
4000 @: $(MAKE); $(unstage)
4001 @r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 $(HOST_EXPORTS) \
4004 (cd $(HOST_SUBDIR)/bfd && \
4005 $(MAKE) $(FLAGS_TO_PASS) install)
4006
4007 @endif bfd
4008
4009 .PHONY: install-strip-bfd maybe-install-strip-bfd
4010 maybe-install-strip-bfd:
4011 @if bfd
4012 maybe-install-strip-bfd: install-strip-bfd
4013
4014 install-strip-bfd: installdirs
4015 @: $(MAKE); $(unstage)
4016 @r=`${PWD_COMMAND}`; export r; \
4017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4018 $(HOST_EXPORTS) \
4019 (cd $(HOST_SUBDIR)/bfd && \
4020 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4021
4022 @endif bfd
4023
4024 # Other targets (info, dvi, pdf, etc.)
4025
4026 .PHONY: maybe-info-bfd info-bfd
4027 maybe-info-bfd:
4028 @if bfd
4029 maybe-info-bfd: info-bfd
4030
4031 info-bfd: \
4032 configure-bfd
4033 @[ -f ./bfd/Makefile ] || exit 0; \
4034 r=`${PWD_COMMAND}`; export r; \
4035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4036 $(HOST_EXPORTS) \
4037 for flag in $(EXTRA_HOST_FLAGS) ; do \
4038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4039 done; \
4040 echo "Doing info in bfd"; \
4041 (cd $(HOST_SUBDIR)/bfd && \
4042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4044 "RANLIB=$${RANLIB}" \
4045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4046 info) \
4047 || exit 1
4048
4049 @endif bfd
4050
4051 .PHONY: maybe-dvi-bfd dvi-bfd
4052 maybe-dvi-bfd:
4053 @if bfd
4054 maybe-dvi-bfd: dvi-bfd
4055
4056 dvi-bfd: \
4057 configure-bfd
4058 @[ -f ./bfd/Makefile ] || exit 0; \
4059 r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 $(HOST_EXPORTS) \
4062 for flag in $(EXTRA_HOST_FLAGS) ; do \
4063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4064 done; \
4065 echo "Doing dvi in bfd"; \
4066 (cd $(HOST_SUBDIR)/bfd && \
4067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4069 "RANLIB=$${RANLIB}" \
4070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4071 dvi) \
4072 || exit 1
4073
4074 @endif bfd
4075
4076 .PHONY: maybe-pdf-bfd pdf-bfd
4077 maybe-pdf-bfd:
4078 @if bfd
4079 maybe-pdf-bfd: pdf-bfd
4080
4081 pdf-bfd: \
4082 configure-bfd
4083 @[ -f ./bfd/Makefile ] || exit 0; \
4084 r=`${PWD_COMMAND}`; export r; \
4085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4086 $(HOST_EXPORTS) \
4087 for flag in $(EXTRA_HOST_FLAGS) ; do \
4088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4089 done; \
4090 echo "Doing pdf in bfd"; \
4091 (cd $(HOST_SUBDIR)/bfd && \
4092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4094 "RANLIB=$${RANLIB}" \
4095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4096 pdf) \
4097 || exit 1
4098
4099 @endif bfd
4100
4101 .PHONY: maybe-html-bfd html-bfd
4102 maybe-html-bfd:
4103 @if bfd
4104 maybe-html-bfd: html-bfd
4105
4106 html-bfd: \
4107 configure-bfd
4108 @[ -f ./bfd/Makefile ] || exit 0; \
4109 r=`${PWD_COMMAND}`; export r; \
4110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 $(HOST_EXPORTS) \
4112 for flag in $(EXTRA_HOST_FLAGS) ; do \
4113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4114 done; \
4115 echo "Doing html in bfd"; \
4116 (cd $(HOST_SUBDIR)/bfd && \
4117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4119 "RANLIB=$${RANLIB}" \
4120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4121 html) \
4122 || exit 1
4123
4124 @endif bfd
4125
4126 .PHONY: maybe-TAGS-bfd TAGS-bfd
4127 maybe-TAGS-bfd:
4128 @if bfd
4129 maybe-TAGS-bfd: TAGS-bfd
4130
4131 TAGS-bfd: \
4132 configure-bfd
4133 @[ -f ./bfd/Makefile ] || exit 0; \
4134 r=`${PWD_COMMAND}`; export r; \
4135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4136 $(HOST_EXPORTS) \
4137 for flag in $(EXTRA_HOST_FLAGS) ; do \
4138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4139 done; \
4140 echo "Doing TAGS in bfd"; \
4141 (cd $(HOST_SUBDIR)/bfd && \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4144 "RANLIB=$${RANLIB}" \
4145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4146 TAGS) \
4147 || exit 1
4148
4149 @endif bfd
4150
4151 .PHONY: maybe-install-info-bfd install-info-bfd
4152 maybe-install-info-bfd:
4153 @if bfd
4154 maybe-install-info-bfd: install-info-bfd
4155
4156 install-info-bfd: \
4157 configure-bfd \
4158 info-bfd
4159 @[ -f ./bfd/Makefile ] || exit 0; \
4160 r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(HOST_EXPORTS) \
4163 for flag in $(EXTRA_HOST_FLAGS) ; do \
4164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4165 done; \
4166 echo "Doing install-info in bfd"; \
4167 (cd $(HOST_SUBDIR)/bfd && \
4168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4170 "RANLIB=$${RANLIB}" \
4171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4172 install-info) \
4173 || exit 1
4174
4175 @endif bfd
4176
4177 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4178 maybe-install-pdf-bfd:
4179 @if bfd
4180 maybe-install-pdf-bfd: install-pdf-bfd
4181
4182 install-pdf-bfd: \
4183 configure-bfd \
4184 pdf-bfd
4185 @[ -f ./bfd/Makefile ] || exit 0; \
4186 r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 $(HOST_EXPORTS) \
4189 for flag in $(EXTRA_HOST_FLAGS) ; do \
4190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4191 done; \
4192 echo "Doing install-pdf in bfd"; \
4193 (cd $(HOST_SUBDIR)/bfd && \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4196 "RANLIB=$${RANLIB}" \
4197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4198 install-pdf) \
4199 || exit 1
4200
4201 @endif bfd
4202
4203 .PHONY: maybe-install-html-bfd install-html-bfd
4204 maybe-install-html-bfd:
4205 @if bfd
4206 maybe-install-html-bfd: install-html-bfd
4207
4208 install-html-bfd: \
4209 configure-bfd \
4210 html-bfd
4211 @[ -f ./bfd/Makefile ] || exit 0; \
4212 r=`${PWD_COMMAND}`; export r; \
4213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4214 $(HOST_EXPORTS) \
4215 for flag in $(EXTRA_HOST_FLAGS) ; do \
4216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4217 done; \
4218 echo "Doing install-html in bfd"; \
4219 (cd $(HOST_SUBDIR)/bfd && \
4220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4222 "RANLIB=$${RANLIB}" \
4223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4224 install-html) \
4225 || exit 1
4226
4227 @endif bfd
4228
4229 .PHONY: maybe-installcheck-bfd installcheck-bfd
4230 maybe-installcheck-bfd:
4231 @if bfd
4232 maybe-installcheck-bfd: installcheck-bfd
4233
4234 installcheck-bfd: \
4235 configure-bfd
4236 @[ -f ./bfd/Makefile ] || exit 0; \
4237 r=`${PWD_COMMAND}`; export r; \
4238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4239 $(HOST_EXPORTS) \
4240 for flag in $(EXTRA_HOST_FLAGS) ; do \
4241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4242 done; \
4243 echo "Doing installcheck in bfd"; \
4244 (cd $(HOST_SUBDIR)/bfd && \
4245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4247 "RANLIB=$${RANLIB}" \
4248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4249 installcheck) \
4250 || exit 1
4251
4252 @endif bfd
4253
4254 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4255 maybe-mostlyclean-bfd:
4256 @if bfd
4257 maybe-mostlyclean-bfd: mostlyclean-bfd
4258
4259 mostlyclean-bfd:
4260 @[ -f ./bfd/Makefile ] || exit 0; \
4261 r=`${PWD_COMMAND}`; export r; \
4262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4263 $(HOST_EXPORTS) \
4264 for flag in $(EXTRA_HOST_FLAGS) ; do \
4265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4266 done; \
4267 echo "Doing mostlyclean in bfd"; \
4268 (cd $(HOST_SUBDIR)/bfd && \
4269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4271 "RANLIB=$${RANLIB}" \
4272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4273 mostlyclean) \
4274 || exit 1
4275
4276 @endif bfd
4277
4278 .PHONY: maybe-clean-bfd clean-bfd
4279 maybe-clean-bfd:
4280 @if bfd
4281 maybe-clean-bfd: clean-bfd
4282
4283 clean-bfd:
4284 @[ -f ./bfd/Makefile ] || exit 0; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 for flag in $(EXTRA_HOST_FLAGS) ; do \
4289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4290 done; \
4291 echo "Doing clean in bfd"; \
4292 (cd $(HOST_SUBDIR)/bfd && \
4293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4295 "RANLIB=$${RANLIB}" \
4296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4297 clean) \
4298 || exit 1
4299
4300 @endif bfd
4301
4302 .PHONY: maybe-distclean-bfd distclean-bfd
4303 maybe-distclean-bfd:
4304 @if bfd
4305 maybe-distclean-bfd: distclean-bfd
4306
4307 distclean-bfd:
4308 @[ -f ./bfd/Makefile ] || exit 0; \
4309 r=`${PWD_COMMAND}`; export r; \
4310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 $(HOST_EXPORTS) \
4312 for flag in $(EXTRA_HOST_FLAGS) ; do \
4313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4314 done; \
4315 echo "Doing distclean in bfd"; \
4316 (cd $(HOST_SUBDIR)/bfd && \
4317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4319 "RANLIB=$${RANLIB}" \
4320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4321 distclean) \
4322 || exit 1
4323
4324 @endif bfd
4325
4326 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4327 maybe-maintainer-clean-bfd:
4328 @if bfd
4329 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4330
4331 maintainer-clean-bfd:
4332 @[ -f ./bfd/Makefile ] || exit 0; \
4333 r=`${PWD_COMMAND}`; export r; \
4334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4335 $(HOST_EXPORTS) \
4336 for flag in $(EXTRA_HOST_FLAGS) ; do \
4337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4338 done; \
4339 echo "Doing maintainer-clean in bfd"; \
4340 (cd $(HOST_SUBDIR)/bfd && \
4341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4343 "RANLIB=$${RANLIB}" \
4344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4345 maintainer-clean) \
4346 || exit 1
4347
4348 @endif bfd
4349
4350
4351
4352 .PHONY: configure-opcodes maybe-configure-opcodes
4353 maybe-configure-opcodes:
4354 @if gcc-bootstrap
4355 configure-opcodes: stage_current
4356 @endif gcc-bootstrap
4357 @if opcodes
4358 maybe-configure-opcodes: configure-opcodes
4359 configure-opcodes:
4360 @r=`${PWD_COMMAND}`; export r; \
4361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4362 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4364 $(HOST_EXPORTS) \
4365 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4366 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4367 case $(srcdir) in \
4368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4369 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4371 esac; \
4372 module_srcdir=opcodes; \
4373 $(SHELL) \
4374 $$s/$$module_srcdir/configure \
4375 --srcdir=$${topdir}/$$module_srcdir \
4376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4377 --target=${target_alias} \
4378 || exit 1
4379 @endif opcodes
4380
4381
4382
4383 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4384 maybe-configure-stage1-opcodes:
4385 @if opcodes-bootstrap
4386 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4387 configure-stage1-opcodes:
4388 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4390 @r=`${PWD_COMMAND}`; export r; \
4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 TFLAGS="$(STAGE1_TFLAGS)"; \
4393 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4394 $(HOST_EXPORTS) \
4395 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4396 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4397 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4398 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4400 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4401 case $(srcdir) in \
4402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4403 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4405 esac; \
4406 module_srcdir=opcodes; \
4407 $(SHELL) $$s/$$module_srcdir/configure \
4408 --srcdir=$${topdir}/$$module_srcdir \
4409 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4410 --target=${target_alias} \
4411 \
4412 $(STAGE1_CONFIGURE_FLAGS)
4413 @endif opcodes-bootstrap
4414
4415 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4416 maybe-configure-stage2-opcodes:
4417 @if opcodes-bootstrap
4418 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4419 configure-stage2-opcodes:
4420 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4421 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4422 @r=`${PWD_COMMAND}`; export r; \
4423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4424 TFLAGS="$(STAGE2_TFLAGS)"; \
4425 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4426 $(HOST_EXPORTS) \
4427 $(POSTSTAGE1_HOST_EXPORTS) \
4428 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4429 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4430 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4431 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4433 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4434 case $(srcdir) in \
4435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4436 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4438 esac; \
4439 module_srcdir=opcodes; \
4440 $(SHELL) $$s/$$module_srcdir/configure \
4441 --srcdir=$${topdir}/$$module_srcdir \
4442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4443 --target=${target_alias} \
4444 --with-build-libsubdir=$(HOST_SUBDIR) \
4445 $(STAGE2_CONFIGURE_FLAGS)
4446 @endif opcodes-bootstrap
4447
4448 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4449 maybe-configure-stage3-opcodes:
4450 @if opcodes-bootstrap
4451 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4452 configure-stage3-opcodes:
4453 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4454 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4455 @r=`${PWD_COMMAND}`; export r; \
4456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4457 TFLAGS="$(STAGE3_TFLAGS)"; \
4458 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4459 $(HOST_EXPORTS) \
4460 $(POSTSTAGE1_HOST_EXPORTS) \
4461 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4462 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4463 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4464 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4466 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4467 case $(srcdir) in \
4468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4469 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4471 esac; \
4472 module_srcdir=opcodes; \
4473 $(SHELL) $$s/$$module_srcdir/configure \
4474 --srcdir=$${topdir}/$$module_srcdir \
4475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4476 --target=${target_alias} \
4477 --with-build-libsubdir=$(HOST_SUBDIR) \
4478 $(STAGE3_CONFIGURE_FLAGS)
4479 @endif opcodes-bootstrap
4480
4481 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4482 maybe-configure-stage4-opcodes:
4483 @if opcodes-bootstrap
4484 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4485 configure-stage4-opcodes:
4486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4488 @r=`${PWD_COMMAND}`; export r; \
4489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4490 TFLAGS="$(STAGE4_TFLAGS)"; \
4491 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4492 $(HOST_EXPORTS) \
4493 $(POSTSTAGE1_HOST_EXPORTS) \
4494 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4495 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4496 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4497 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4499 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4500 case $(srcdir) in \
4501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4502 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4504 esac; \
4505 module_srcdir=opcodes; \
4506 $(SHELL) $$s/$$module_srcdir/configure \
4507 --srcdir=$${topdir}/$$module_srcdir \
4508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4509 --target=${target_alias} \
4510 --with-build-libsubdir=$(HOST_SUBDIR) \
4511 $(STAGE4_CONFIGURE_FLAGS)
4512 @endif opcodes-bootstrap
4513
4514 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4515 maybe-configure-stageprofile-opcodes:
4516 @if opcodes-bootstrap
4517 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4518 configure-stageprofile-opcodes:
4519 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4521 @r=`${PWD_COMMAND}`; export r; \
4522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4523 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4524 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4525 $(HOST_EXPORTS) \
4526 $(POSTSTAGE1_HOST_EXPORTS) \
4527 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4528 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4529 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4530 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4532 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4533 case $(srcdir) in \
4534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4535 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4537 esac; \
4538 module_srcdir=opcodes; \
4539 $(SHELL) $$s/$$module_srcdir/configure \
4540 --srcdir=$${topdir}/$$module_srcdir \
4541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4542 --target=${target_alias} \
4543 --with-build-libsubdir=$(HOST_SUBDIR) \
4544 $(STAGEprofile_CONFIGURE_FLAGS)
4545 @endif opcodes-bootstrap
4546
4547 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4548 maybe-configure-stagetrain-opcodes:
4549 @if opcodes-bootstrap
4550 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4551 configure-stagetrain-opcodes:
4552 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4554 @r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4556 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4557 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4558 $(HOST_EXPORTS) \
4559 $(POSTSTAGE1_HOST_EXPORTS) \
4560 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4561 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4562 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4563 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4565 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4566 case $(srcdir) in \
4567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4568 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4570 esac; \
4571 module_srcdir=opcodes; \
4572 $(SHELL) $$s/$$module_srcdir/configure \
4573 --srcdir=$${topdir}/$$module_srcdir \
4574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4575 --target=${target_alias} \
4576 --with-build-libsubdir=$(HOST_SUBDIR) \
4577 $(STAGEtrain_CONFIGURE_FLAGS)
4578 @endif opcodes-bootstrap
4579
4580 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4581 maybe-configure-stagefeedback-opcodes:
4582 @if opcodes-bootstrap
4583 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4584 configure-stagefeedback-opcodes:
4585 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4587 @r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4590 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4591 $(HOST_EXPORTS) \
4592 $(POSTSTAGE1_HOST_EXPORTS) \
4593 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4594 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4595 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4596 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4598 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4599 case $(srcdir) in \
4600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4601 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4603 esac; \
4604 module_srcdir=opcodes; \
4605 $(SHELL) $$s/$$module_srcdir/configure \
4606 --srcdir=$${topdir}/$$module_srcdir \
4607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4608 --target=${target_alias} \
4609 --with-build-libsubdir=$(HOST_SUBDIR) \
4610 $(STAGEfeedback_CONFIGURE_FLAGS)
4611 @endif opcodes-bootstrap
4612
4613 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4614 maybe-configure-stageautoprofile-opcodes:
4615 @if opcodes-bootstrap
4616 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4617 configure-stageautoprofile-opcodes:
4618 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4620 @r=`${PWD_COMMAND}`; export r; \
4621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4622 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4623 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4624 $(HOST_EXPORTS) \
4625 $(POSTSTAGE1_HOST_EXPORTS) \
4626 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4627 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4628 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4629 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4631 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4632 case $(srcdir) in \
4633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4634 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4636 esac; \
4637 module_srcdir=opcodes; \
4638 $(SHELL) $$s/$$module_srcdir/configure \
4639 --srcdir=$${topdir}/$$module_srcdir \
4640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4641 --target=${target_alias} \
4642 --with-build-libsubdir=$(HOST_SUBDIR) \
4643 $(STAGEautoprofile_CONFIGURE_FLAGS)
4644 @endif opcodes-bootstrap
4645
4646 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4647 maybe-configure-stageautofeedback-opcodes:
4648 @if opcodes-bootstrap
4649 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4650 configure-stageautofeedback-opcodes:
4651 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4653 @r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4656 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4657 $(HOST_EXPORTS) \
4658 $(POSTSTAGE1_HOST_EXPORTS) \
4659 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4660 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4661 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4662 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4664 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4665 case $(srcdir) in \
4666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4667 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4669 esac; \
4670 module_srcdir=opcodes; \
4671 $(SHELL) $$s/$$module_srcdir/configure \
4672 --srcdir=$${topdir}/$$module_srcdir \
4673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4674 --target=${target_alias} \
4675 --with-build-libsubdir=$(HOST_SUBDIR) \
4676 $(STAGEautofeedback_CONFIGURE_FLAGS)
4677 @endif opcodes-bootstrap
4678
4679
4680
4681
4682
4683 .PHONY: all-opcodes maybe-all-opcodes
4684 maybe-all-opcodes:
4685 @if gcc-bootstrap
4686 all-opcodes: stage_current
4687 @endif gcc-bootstrap
4688 @if opcodes
4689 TARGET-opcodes=all
4690 maybe-all-opcodes: all-opcodes
4691 all-opcodes: configure-opcodes
4692 @r=`${PWD_COMMAND}`; export r; \
4693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 $(HOST_EXPORTS) \
4695 (cd $(HOST_SUBDIR)/opcodes && \
4696 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4697 $(TARGET-opcodes))
4698 @endif opcodes
4699
4700
4701
4702 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4703 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4704 maybe-all-stage1-opcodes:
4705 maybe-clean-stage1-opcodes:
4706 @if opcodes-bootstrap
4707 maybe-all-stage1-opcodes: all-stage1-opcodes
4708 all-stage1: all-stage1-opcodes
4709 TARGET-stage1-opcodes = $(TARGET-opcodes)
4710 all-stage1-opcodes: configure-stage1-opcodes
4711 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4712 @r=`${PWD_COMMAND}`; export r; \
4713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714 TFLAGS="$(STAGE1_TFLAGS)"; \
4715 $(HOST_EXPORTS) \
4716 cd $(HOST_SUBDIR)/opcodes && \
4717 \
4718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4719 CFLAGS="$(STAGE1_CFLAGS)" \
4720 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
4721 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4722 LIBCFLAGS="$(LIBCFLAGS)" \
4723 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4724 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4725 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4726 $(EXTRA_HOST_FLAGS) \
4727 $(STAGE1_FLAGS_TO_PASS) \
4728 TFLAGS="$(STAGE1_TFLAGS)" \
4729 $(TARGET-stage1-opcodes)
4730
4731 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4732 clean-stage1: clean-stage1-opcodes
4733 clean-stage1-opcodes:
4734 @if [ $(current_stage) = stage1 ]; then \
4735 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4736 else \
4737 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4738 $(MAKE) stage1-start; \
4739 fi; \
4740 cd $(HOST_SUBDIR)/opcodes && \
4741 $(MAKE) $(EXTRA_HOST_FLAGS) \
4742 $(STAGE1_FLAGS_TO_PASS) clean
4743 @endif opcodes-bootstrap
4744
4745
4746 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4747 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4748 maybe-all-stage2-opcodes:
4749 maybe-clean-stage2-opcodes:
4750 @if opcodes-bootstrap
4751 maybe-all-stage2-opcodes: all-stage2-opcodes
4752 all-stage2: all-stage2-opcodes
4753 TARGET-stage2-opcodes = $(TARGET-opcodes)
4754 all-stage2-opcodes: configure-stage2-opcodes
4755 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4756 @r=`${PWD_COMMAND}`; export r; \
4757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4758 TFLAGS="$(STAGE2_TFLAGS)"; \
4759 $(HOST_EXPORTS) \
4760 $(POSTSTAGE1_HOST_EXPORTS) \
4761 cd $(HOST_SUBDIR)/opcodes && \
4762 \
4763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4764 CFLAGS="$(STAGE2_CFLAGS)" \
4765 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
4766 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4767 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4771 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4772 TFLAGS="$(STAGE2_TFLAGS)" \
4773 $(TARGET-stage2-opcodes)
4774
4775 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4776 clean-stage2: clean-stage2-opcodes
4777 clean-stage2-opcodes:
4778 @if [ $(current_stage) = stage2 ]; then \
4779 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4780 else \
4781 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4782 $(MAKE) stage2-start; \
4783 fi; \
4784 cd $(HOST_SUBDIR)/opcodes && \
4785 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4786 @endif opcodes-bootstrap
4787
4788
4789 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4790 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4791 maybe-all-stage3-opcodes:
4792 maybe-clean-stage3-opcodes:
4793 @if opcodes-bootstrap
4794 maybe-all-stage3-opcodes: all-stage3-opcodes
4795 all-stage3: all-stage3-opcodes
4796 TARGET-stage3-opcodes = $(TARGET-opcodes)
4797 all-stage3-opcodes: configure-stage3-opcodes
4798 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4799 @r=`${PWD_COMMAND}`; export r; \
4800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4801 TFLAGS="$(STAGE3_TFLAGS)"; \
4802 $(HOST_EXPORTS) \
4803 $(POSTSTAGE1_HOST_EXPORTS) \
4804 cd $(HOST_SUBDIR)/opcodes && \
4805 \
4806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4807 CFLAGS="$(STAGE3_CFLAGS)" \
4808 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
4809 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4810 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4815 TFLAGS="$(STAGE3_TFLAGS)" \
4816 $(TARGET-stage3-opcodes)
4817
4818 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4819 clean-stage3: clean-stage3-opcodes
4820 clean-stage3-opcodes:
4821 @if [ $(current_stage) = stage3 ]; then \
4822 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4823 else \
4824 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4825 $(MAKE) stage3-start; \
4826 fi; \
4827 cd $(HOST_SUBDIR)/opcodes && \
4828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4829 @endif opcodes-bootstrap
4830
4831
4832 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4833 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4834 maybe-all-stage4-opcodes:
4835 maybe-clean-stage4-opcodes:
4836 @if opcodes-bootstrap
4837 maybe-all-stage4-opcodes: all-stage4-opcodes
4838 all-stage4: all-stage4-opcodes
4839 TARGET-stage4-opcodes = $(TARGET-opcodes)
4840 all-stage4-opcodes: configure-stage4-opcodes
4841 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4842 @r=`${PWD_COMMAND}`; export r; \
4843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4844 TFLAGS="$(STAGE4_TFLAGS)"; \
4845 $(HOST_EXPORTS) \
4846 $(POSTSTAGE1_HOST_EXPORTS) \
4847 cd $(HOST_SUBDIR)/opcodes && \
4848 \
4849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4850 CFLAGS="$(STAGE4_CFLAGS)" \
4851 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4852 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4853 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4858 TFLAGS="$(STAGE4_TFLAGS)" \
4859 $(TARGET-stage4-opcodes)
4860
4861 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4862 clean-stage4: clean-stage4-opcodes
4863 clean-stage4-opcodes:
4864 @if [ $(current_stage) = stage4 ]; then \
4865 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4866 else \
4867 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4868 $(MAKE) stage4-start; \
4869 fi; \
4870 cd $(HOST_SUBDIR)/opcodes && \
4871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4872 @endif opcodes-bootstrap
4873
4874
4875 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4876 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4877 maybe-all-stageprofile-opcodes:
4878 maybe-clean-stageprofile-opcodes:
4879 @if opcodes-bootstrap
4880 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4881 all-stageprofile: all-stageprofile-opcodes
4882 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4883 all-stageprofile-opcodes: configure-stageprofile-opcodes
4884 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4885 @r=`${PWD_COMMAND}`; export r; \
4886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4887 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4888 $(HOST_EXPORTS) \
4889 $(POSTSTAGE1_HOST_EXPORTS) \
4890 cd $(HOST_SUBDIR)/opcodes && \
4891 \
4892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4893 CFLAGS="$(STAGEprofile_CFLAGS)" \
4894 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4895 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4896 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4901 TFLAGS="$(STAGEprofile_TFLAGS)" \
4902 $(TARGET-stageprofile-opcodes)
4903
4904 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4905 clean-stageprofile: clean-stageprofile-opcodes
4906 clean-stageprofile-opcodes:
4907 @if [ $(current_stage) = stageprofile ]; then \
4908 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4909 else \
4910 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4911 $(MAKE) stageprofile-start; \
4912 fi; \
4913 cd $(HOST_SUBDIR)/opcodes && \
4914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4915 @endif opcodes-bootstrap
4916
4917
4918 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4919 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4920 maybe-all-stagetrain-opcodes:
4921 maybe-clean-stagetrain-opcodes:
4922 @if opcodes-bootstrap
4923 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4924 all-stagetrain: all-stagetrain-opcodes
4925 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4926 all-stagetrain-opcodes: configure-stagetrain-opcodes
4927 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4928 @r=`${PWD_COMMAND}`; export r; \
4929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4930 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4931 $(HOST_EXPORTS) \
4932 $(POSTSTAGE1_HOST_EXPORTS) \
4933 cd $(HOST_SUBDIR)/opcodes && \
4934 \
4935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4936 CFLAGS="$(STAGEtrain_CFLAGS)" \
4937 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4938 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4939 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4944 TFLAGS="$(STAGEtrain_TFLAGS)" \
4945 $(TARGET-stagetrain-opcodes)
4946
4947 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4948 clean-stagetrain: clean-stagetrain-opcodes
4949 clean-stagetrain-opcodes:
4950 @if [ $(current_stage) = stagetrain ]; then \
4951 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4952 else \
4953 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4954 $(MAKE) stagetrain-start; \
4955 fi; \
4956 cd $(HOST_SUBDIR)/opcodes && \
4957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4958 @endif opcodes-bootstrap
4959
4960
4961 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4962 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4963 maybe-all-stagefeedback-opcodes:
4964 maybe-clean-stagefeedback-opcodes:
4965 @if opcodes-bootstrap
4966 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4967 all-stagefeedback: all-stagefeedback-opcodes
4968 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4969 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4971 @r=`${PWD_COMMAND}`; export r; \
4972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4973 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4974 $(HOST_EXPORTS) \
4975 $(POSTSTAGE1_HOST_EXPORTS) \
4976 cd $(HOST_SUBDIR)/opcodes && \
4977 \
4978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4979 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4980 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
4981 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4982 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4987 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4988 $(TARGET-stagefeedback-opcodes)
4989
4990 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4991 clean-stagefeedback: clean-stagefeedback-opcodes
4992 clean-stagefeedback-opcodes:
4993 @if [ $(current_stage) = stagefeedback ]; then \
4994 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4995 else \
4996 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4997 $(MAKE) stagefeedback-start; \
4998 fi; \
4999 cd $(HOST_SUBDIR)/opcodes && \
5000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5001 @endif opcodes-bootstrap
5002
5003
5004 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5005 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5006 maybe-all-stageautoprofile-opcodes:
5007 maybe-clean-stageautoprofile-opcodes:
5008 @if opcodes-bootstrap
5009 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5010 all-stageautoprofile: all-stageautoprofile-opcodes
5011 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5012 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5013 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5014 @r=`${PWD_COMMAND}`; export r; \
5015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5016 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5017 $(HOST_EXPORTS) \
5018 $(POSTSTAGE1_HOST_EXPORTS) \
5019 cd $(HOST_SUBDIR)/opcodes && \
5020 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5022 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5023 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5024 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5025 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5030 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5031 $(TARGET-stageautoprofile-opcodes)
5032
5033 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5034 clean-stageautoprofile: clean-stageautoprofile-opcodes
5035 clean-stageautoprofile-opcodes:
5036 @if [ $(current_stage) = stageautoprofile ]; then \
5037 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5038 else \
5039 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5040 $(MAKE) stageautoprofile-start; \
5041 fi; \
5042 cd $(HOST_SUBDIR)/opcodes && \
5043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5044 @endif opcodes-bootstrap
5045
5046
5047 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5048 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5049 maybe-all-stageautofeedback-opcodes:
5050 maybe-clean-stageautofeedback-opcodes:
5051 @if opcodes-bootstrap
5052 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5053 all-stageautofeedback: all-stageautofeedback-opcodes
5054 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5055 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5056 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5057 @r=`${PWD_COMMAND}`; export r; \
5058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5059 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5060 $(HOST_EXPORTS) \
5061 $(POSTSTAGE1_HOST_EXPORTS) \
5062 cd $(HOST_SUBDIR)/opcodes && \
5063 \
5064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5065 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5066 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5067 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5068 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5072 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5073 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5074 $(TARGET-stageautofeedback-opcodes)
5075
5076 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5077 clean-stageautofeedback: clean-stageautofeedback-opcodes
5078 clean-stageautofeedback-opcodes:
5079 @if [ $(current_stage) = stageautofeedback ]; then \
5080 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5081 else \
5082 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5083 $(MAKE) stageautofeedback-start; \
5084 fi; \
5085 cd $(HOST_SUBDIR)/opcodes && \
5086 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5087 @endif opcodes-bootstrap
5088
5089
5090
5091
5092
5093 .PHONY: check-opcodes maybe-check-opcodes
5094 maybe-check-opcodes:
5095 @if opcodes
5096 maybe-check-opcodes: check-opcodes
5097
5098 check-opcodes:
5099 @: $(MAKE); $(unstage)
5100 @r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5103 (cd $(HOST_SUBDIR)/opcodes && \
5104 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5105
5106 @endif opcodes
5107
5108 .PHONY: install-opcodes maybe-install-opcodes
5109 maybe-install-opcodes:
5110 @if opcodes
5111 maybe-install-opcodes: install-opcodes
5112
5113 install-opcodes: installdirs
5114 @: $(MAKE); $(unstage)
5115 @r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 $(HOST_EXPORTS) \
5118 (cd $(HOST_SUBDIR)/opcodes && \
5119 $(MAKE) $(FLAGS_TO_PASS) install)
5120
5121 @endif opcodes
5122
5123 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5124 maybe-install-strip-opcodes:
5125 @if opcodes
5126 maybe-install-strip-opcodes: install-strip-opcodes
5127
5128 install-strip-opcodes: installdirs
5129 @: $(MAKE); $(unstage)
5130 @r=`${PWD_COMMAND}`; export r; \
5131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5132 $(HOST_EXPORTS) \
5133 (cd $(HOST_SUBDIR)/opcodes && \
5134 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5135
5136 @endif opcodes
5137
5138 # Other targets (info, dvi, pdf, etc.)
5139
5140 .PHONY: maybe-info-opcodes info-opcodes
5141 maybe-info-opcodes:
5142 @if opcodes
5143 maybe-info-opcodes: info-opcodes
5144
5145 info-opcodes: \
5146 configure-opcodes
5147 @[ -f ./opcodes/Makefile ] || exit 0; \
5148 r=`${PWD_COMMAND}`; export r; \
5149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5150 $(HOST_EXPORTS) \
5151 for flag in $(EXTRA_HOST_FLAGS) ; do \
5152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5153 done; \
5154 echo "Doing info in opcodes"; \
5155 (cd $(HOST_SUBDIR)/opcodes && \
5156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5158 "RANLIB=$${RANLIB}" \
5159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5160 info) \
5161 || exit 1
5162
5163 @endif opcodes
5164
5165 .PHONY: maybe-dvi-opcodes dvi-opcodes
5166 maybe-dvi-opcodes:
5167 @if opcodes
5168 maybe-dvi-opcodes: dvi-opcodes
5169
5170 dvi-opcodes: \
5171 configure-opcodes
5172 @[ -f ./opcodes/Makefile ] || exit 0; \
5173 r=`${PWD_COMMAND}`; export r; \
5174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 $(HOST_EXPORTS) \
5176 for flag in $(EXTRA_HOST_FLAGS) ; do \
5177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 done; \
5179 echo "Doing dvi in opcodes"; \
5180 (cd $(HOST_SUBDIR)/opcodes && \
5181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5183 "RANLIB=$${RANLIB}" \
5184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5185 dvi) \
5186 || exit 1
5187
5188 @endif opcodes
5189
5190 .PHONY: maybe-pdf-opcodes pdf-opcodes
5191 maybe-pdf-opcodes:
5192 @if opcodes
5193 maybe-pdf-opcodes: pdf-opcodes
5194
5195 pdf-opcodes: \
5196 configure-opcodes
5197 @[ -f ./opcodes/Makefile ] || exit 0; \
5198 r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing pdf in opcodes"; \
5205 (cd $(HOST_SUBDIR)/opcodes && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5210 pdf) \
5211 || exit 1
5212
5213 @endif opcodes
5214
5215 .PHONY: maybe-html-opcodes html-opcodes
5216 maybe-html-opcodes:
5217 @if opcodes
5218 maybe-html-opcodes: html-opcodes
5219
5220 html-opcodes: \
5221 configure-opcodes
5222 @[ -f ./opcodes/Makefile ] || exit 0; \
5223 r=`${PWD_COMMAND}`; export r; \
5224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5225 $(HOST_EXPORTS) \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 done; \
5229 echo "Doing html in opcodes"; \
5230 (cd $(HOST_SUBDIR)/opcodes && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5235 html) \
5236 || exit 1
5237
5238 @endif opcodes
5239
5240 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5241 maybe-TAGS-opcodes:
5242 @if opcodes
5243 maybe-TAGS-opcodes: TAGS-opcodes
5244
5245 TAGS-opcodes: \
5246 configure-opcodes
5247 @[ -f ./opcodes/Makefile ] || exit 0; \
5248 r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 $(HOST_EXPORTS) \
5251 for flag in $(EXTRA_HOST_FLAGS) ; do \
5252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5253 done; \
5254 echo "Doing TAGS in opcodes"; \
5255 (cd $(HOST_SUBDIR)/opcodes && \
5256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5258 "RANLIB=$${RANLIB}" \
5259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5260 TAGS) \
5261 || exit 1
5262
5263 @endif opcodes
5264
5265 .PHONY: maybe-install-info-opcodes install-info-opcodes
5266 maybe-install-info-opcodes:
5267 @if opcodes
5268 maybe-install-info-opcodes: install-info-opcodes
5269
5270 install-info-opcodes: \
5271 configure-opcodes \
5272 info-opcodes
5273 @[ -f ./opcodes/Makefile ] || exit 0; \
5274 r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 for flag in $(EXTRA_HOST_FLAGS) ; do \
5278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5279 done; \
5280 echo "Doing install-info in opcodes"; \
5281 (cd $(HOST_SUBDIR)/opcodes && \
5282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5284 "RANLIB=$${RANLIB}" \
5285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5286 install-info) \
5287 || exit 1
5288
5289 @endif opcodes
5290
5291 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5292 maybe-install-pdf-opcodes:
5293 @if opcodes
5294 maybe-install-pdf-opcodes: install-pdf-opcodes
5295
5296 install-pdf-opcodes: \
5297 configure-opcodes \
5298 pdf-opcodes
5299 @[ -f ./opcodes/Makefile ] || exit 0; \
5300 r=`${PWD_COMMAND}`; export r; \
5301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302 $(HOST_EXPORTS) \
5303 for flag in $(EXTRA_HOST_FLAGS) ; do \
5304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5305 done; \
5306 echo "Doing install-pdf in opcodes"; \
5307 (cd $(HOST_SUBDIR)/opcodes && \
5308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5310 "RANLIB=$${RANLIB}" \
5311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5312 install-pdf) \
5313 || exit 1
5314
5315 @endif opcodes
5316
5317 .PHONY: maybe-install-html-opcodes install-html-opcodes
5318 maybe-install-html-opcodes:
5319 @if opcodes
5320 maybe-install-html-opcodes: install-html-opcodes
5321
5322 install-html-opcodes: \
5323 configure-opcodes \
5324 html-opcodes
5325 @[ -f ./opcodes/Makefile ] || exit 0; \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 $(HOST_EXPORTS) \
5329 for flag in $(EXTRA_HOST_FLAGS) ; do \
5330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5331 done; \
5332 echo "Doing install-html in opcodes"; \
5333 (cd $(HOST_SUBDIR)/opcodes && \
5334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5336 "RANLIB=$${RANLIB}" \
5337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5338 install-html) \
5339 || exit 1
5340
5341 @endif opcodes
5342
5343 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5344 maybe-installcheck-opcodes:
5345 @if opcodes
5346 maybe-installcheck-opcodes: installcheck-opcodes
5347
5348 installcheck-opcodes: \
5349 configure-opcodes
5350 @[ -f ./opcodes/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 for flag in $(EXTRA_HOST_FLAGS) ; do \
5355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5356 done; \
5357 echo "Doing installcheck in opcodes"; \
5358 (cd $(HOST_SUBDIR)/opcodes && \
5359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5361 "RANLIB=$${RANLIB}" \
5362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5363 installcheck) \
5364 || exit 1
5365
5366 @endif opcodes
5367
5368 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5369 maybe-mostlyclean-opcodes:
5370 @if opcodes
5371 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5372
5373 mostlyclean-opcodes:
5374 @[ -f ./opcodes/Makefile ] || exit 0; \
5375 r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 $(HOST_EXPORTS) \
5378 for flag in $(EXTRA_HOST_FLAGS) ; do \
5379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5380 done; \
5381 echo "Doing mostlyclean in opcodes"; \
5382 (cd $(HOST_SUBDIR)/opcodes && \
5383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5385 "RANLIB=$${RANLIB}" \
5386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5387 mostlyclean) \
5388 || exit 1
5389
5390 @endif opcodes
5391
5392 .PHONY: maybe-clean-opcodes clean-opcodes
5393 maybe-clean-opcodes:
5394 @if opcodes
5395 maybe-clean-opcodes: clean-opcodes
5396
5397 clean-opcodes:
5398 @[ -f ./opcodes/Makefile ] || exit 0; \
5399 r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) \
5402 for flag in $(EXTRA_HOST_FLAGS) ; do \
5403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 done; \
5405 echo "Doing clean in opcodes"; \
5406 (cd $(HOST_SUBDIR)/opcodes && \
5407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5409 "RANLIB=$${RANLIB}" \
5410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5411 clean) \
5412 || exit 1
5413
5414 @endif opcodes
5415
5416 .PHONY: maybe-distclean-opcodes distclean-opcodes
5417 maybe-distclean-opcodes:
5418 @if opcodes
5419 maybe-distclean-opcodes: distclean-opcodes
5420
5421 distclean-opcodes:
5422 @[ -f ./opcodes/Makefile ] || exit 0; \
5423 r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5425 $(HOST_EXPORTS) \
5426 for flag in $(EXTRA_HOST_FLAGS) ; do \
5427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5428 done; \
5429 echo "Doing distclean in opcodes"; \
5430 (cd $(HOST_SUBDIR)/opcodes && \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433 "RANLIB=$${RANLIB}" \
5434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5435 distclean) \
5436 || exit 1
5437
5438 @endif opcodes
5439
5440 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5441 maybe-maintainer-clean-opcodes:
5442 @if opcodes
5443 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5444
5445 maintainer-clean-opcodes:
5446 @[ -f ./opcodes/Makefile ] || exit 0; \
5447 r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 $(HOST_EXPORTS) \
5450 for flag in $(EXTRA_HOST_FLAGS) ; do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing maintainer-clean in opcodes"; \
5454 (cd $(HOST_SUBDIR)/opcodes && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5459 maintainer-clean) \
5460 || exit 1
5461
5462 @endif opcodes
5463
5464
5465
5466 .PHONY: configure-binutils maybe-configure-binutils
5467 maybe-configure-binutils:
5468 @if gcc-bootstrap
5469 configure-binutils: stage_current
5470 @endif gcc-bootstrap
5471 @if binutils
5472 maybe-configure-binutils: configure-binutils
5473 configure-binutils:
5474 @r=`${PWD_COMMAND}`; export r; \
5475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5476 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5478 $(HOST_EXPORTS) \
5479 echo Configuring in $(HOST_SUBDIR)/binutils; \
5480 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5481 case $(srcdir) in \
5482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5483 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5485 esac; \
5486 module_srcdir=binutils; \
5487 $(SHELL) \
5488 $$s/$$module_srcdir/configure \
5489 --srcdir=$${topdir}/$$module_srcdir \
5490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5491 --target=${target_alias} \
5492 || exit 1
5493 @endif binutils
5494
5495
5496
5497 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5498 maybe-configure-stage1-binutils:
5499 @if binutils-bootstrap
5500 maybe-configure-stage1-binutils: configure-stage1-binutils
5501 configure-stage1-binutils:
5502 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5504 @r=`${PWD_COMMAND}`; export r; \
5505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5506 TFLAGS="$(STAGE1_TFLAGS)"; \
5507 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5508 $(HOST_EXPORTS) \
5509 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5510 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5511 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5512 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5514 cd $(HOST_SUBDIR)/binutils || exit 1; \
5515 case $(srcdir) in \
5516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5517 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5519 esac; \
5520 module_srcdir=binutils; \
5521 $(SHELL) $$s/$$module_srcdir/configure \
5522 --srcdir=$${topdir}/$$module_srcdir \
5523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5524 --target=${target_alias} \
5525 \
5526 $(STAGE1_CONFIGURE_FLAGS)
5527 @endif binutils-bootstrap
5528
5529 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5530 maybe-configure-stage2-binutils:
5531 @if binutils-bootstrap
5532 maybe-configure-stage2-binutils: configure-stage2-binutils
5533 configure-stage2-binutils:
5534 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5536 @r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 TFLAGS="$(STAGE2_TFLAGS)"; \
5539 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5540 $(HOST_EXPORTS) \
5541 $(POSTSTAGE1_HOST_EXPORTS) \
5542 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5543 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5544 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5545 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5547 cd $(HOST_SUBDIR)/binutils || exit 1; \
5548 case $(srcdir) in \
5549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5550 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5552 esac; \
5553 module_srcdir=binutils; \
5554 $(SHELL) $$s/$$module_srcdir/configure \
5555 --srcdir=$${topdir}/$$module_srcdir \
5556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5557 --target=${target_alias} \
5558 --with-build-libsubdir=$(HOST_SUBDIR) \
5559 $(STAGE2_CONFIGURE_FLAGS)
5560 @endif binutils-bootstrap
5561
5562 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5563 maybe-configure-stage3-binutils:
5564 @if binutils-bootstrap
5565 maybe-configure-stage3-binutils: configure-stage3-binutils
5566 configure-stage3-binutils:
5567 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5569 @r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5571 TFLAGS="$(STAGE3_TFLAGS)"; \
5572 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5573 $(HOST_EXPORTS) \
5574 $(POSTSTAGE1_HOST_EXPORTS) \
5575 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5576 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5577 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5578 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5580 cd $(HOST_SUBDIR)/binutils || exit 1; \
5581 case $(srcdir) in \
5582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5583 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5585 esac; \
5586 module_srcdir=binutils; \
5587 $(SHELL) $$s/$$module_srcdir/configure \
5588 --srcdir=$${topdir}/$$module_srcdir \
5589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5590 --target=${target_alias} \
5591 --with-build-libsubdir=$(HOST_SUBDIR) \
5592 $(STAGE3_CONFIGURE_FLAGS)
5593 @endif binutils-bootstrap
5594
5595 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5596 maybe-configure-stage4-binutils:
5597 @if binutils-bootstrap
5598 maybe-configure-stage4-binutils: configure-stage4-binutils
5599 configure-stage4-binutils:
5600 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5602 @r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 TFLAGS="$(STAGE4_TFLAGS)"; \
5605 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5606 $(HOST_EXPORTS) \
5607 $(POSTSTAGE1_HOST_EXPORTS) \
5608 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5609 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5610 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5611 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5613 cd $(HOST_SUBDIR)/binutils || exit 1; \
5614 case $(srcdir) in \
5615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5616 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5618 esac; \
5619 module_srcdir=binutils; \
5620 $(SHELL) $$s/$$module_srcdir/configure \
5621 --srcdir=$${topdir}/$$module_srcdir \
5622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5623 --target=${target_alias} \
5624 --with-build-libsubdir=$(HOST_SUBDIR) \
5625 $(STAGE4_CONFIGURE_FLAGS)
5626 @endif binutils-bootstrap
5627
5628 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5629 maybe-configure-stageprofile-binutils:
5630 @if binutils-bootstrap
5631 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5632 configure-stageprofile-binutils:
5633 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5634 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5635 @r=`${PWD_COMMAND}`; export r; \
5636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5637 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5638 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5639 $(HOST_EXPORTS) \
5640 $(POSTSTAGE1_HOST_EXPORTS) \
5641 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5642 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5643 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5644 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5646 cd $(HOST_SUBDIR)/binutils || exit 1; \
5647 case $(srcdir) in \
5648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5649 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5651 esac; \
5652 module_srcdir=binutils; \
5653 $(SHELL) $$s/$$module_srcdir/configure \
5654 --srcdir=$${topdir}/$$module_srcdir \
5655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5656 --target=${target_alias} \
5657 --with-build-libsubdir=$(HOST_SUBDIR) \
5658 $(STAGEprofile_CONFIGURE_FLAGS)
5659 @endif binutils-bootstrap
5660
5661 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5662 maybe-configure-stagetrain-binutils:
5663 @if binutils-bootstrap
5664 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5665 configure-stagetrain-binutils:
5666 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5668 @r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5671 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5672 $(HOST_EXPORTS) \
5673 $(POSTSTAGE1_HOST_EXPORTS) \
5674 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5675 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5676 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5677 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5679 cd $(HOST_SUBDIR)/binutils || exit 1; \
5680 case $(srcdir) in \
5681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5682 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5684 esac; \
5685 module_srcdir=binutils; \
5686 $(SHELL) $$s/$$module_srcdir/configure \
5687 --srcdir=$${topdir}/$$module_srcdir \
5688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5689 --target=${target_alias} \
5690 --with-build-libsubdir=$(HOST_SUBDIR) \
5691 $(STAGEtrain_CONFIGURE_FLAGS)
5692 @endif binutils-bootstrap
5693
5694 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5695 maybe-configure-stagefeedback-binutils:
5696 @if binutils-bootstrap
5697 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5698 configure-stagefeedback-binutils:
5699 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5701 @r=`${PWD_COMMAND}`; export r; \
5702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5704 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5705 $(HOST_EXPORTS) \
5706 $(POSTSTAGE1_HOST_EXPORTS) \
5707 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5708 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5709 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5710 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5712 cd $(HOST_SUBDIR)/binutils || exit 1; \
5713 case $(srcdir) in \
5714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5715 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5717 esac; \
5718 module_srcdir=binutils; \
5719 $(SHELL) $$s/$$module_srcdir/configure \
5720 --srcdir=$${topdir}/$$module_srcdir \
5721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5722 --target=${target_alias} \
5723 --with-build-libsubdir=$(HOST_SUBDIR) \
5724 $(STAGEfeedback_CONFIGURE_FLAGS)
5725 @endif binutils-bootstrap
5726
5727 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5728 maybe-configure-stageautoprofile-binutils:
5729 @if binutils-bootstrap
5730 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5731 configure-stageautoprofile-binutils:
5732 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5734 @r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5736 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5737 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5738 $(HOST_EXPORTS) \
5739 $(POSTSTAGE1_HOST_EXPORTS) \
5740 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5741 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5742 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5743 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5745 cd $(HOST_SUBDIR)/binutils || exit 1; \
5746 case $(srcdir) in \
5747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5748 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5750 esac; \
5751 module_srcdir=binutils; \
5752 $(SHELL) $$s/$$module_srcdir/configure \
5753 --srcdir=$${topdir}/$$module_srcdir \
5754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5755 --target=${target_alias} \
5756 --with-build-libsubdir=$(HOST_SUBDIR) \
5757 $(STAGEautoprofile_CONFIGURE_FLAGS)
5758 @endif binutils-bootstrap
5759
5760 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5761 maybe-configure-stageautofeedback-binutils:
5762 @if binutils-bootstrap
5763 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5764 configure-stageautofeedback-binutils:
5765 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5766 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5767 @r=`${PWD_COMMAND}`; export r; \
5768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5769 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5770 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5771 $(HOST_EXPORTS) \
5772 $(POSTSTAGE1_HOST_EXPORTS) \
5773 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5774 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5775 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5776 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5778 cd $(HOST_SUBDIR)/binutils || exit 1; \
5779 case $(srcdir) in \
5780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5781 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5783 esac; \
5784 module_srcdir=binutils; \
5785 $(SHELL) $$s/$$module_srcdir/configure \
5786 --srcdir=$${topdir}/$$module_srcdir \
5787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5788 --target=${target_alias} \
5789 --with-build-libsubdir=$(HOST_SUBDIR) \
5790 $(STAGEautofeedback_CONFIGURE_FLAGS)
5791 @endif binutils-bootstrap
5792
5793
5794
5795
5796
5797 .PHONY: all-binutils maybe-all-binutils
5798 maybe-all-binutils:
5799 @if gcc-bootstrap
5800 all-binutils: stage_current
5801 @endif gcc-bootstrap
5802 @if binutils
5803 TARGET-binutils=all
5804 maybe-all-binutils: all-binutils
5805 all-binutils: configure-binutils
5806 @r=`${PWD_COMMAND}`; export r; \
5807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5808 $(HOST_EXPORTS) \
5809 (cd $(HOST_SUBDIR)/binutils && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5811 $(TARGET-binutils))
5812 @endif binutils
5813
5814
5815
5816 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5817 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5818 maybe-all-stage1-binutils:
5819 maybe-clean-stage1-binutils:
5820 @if binutils-bootstrap
5821 maybe-all-stage1-binutils: all-stage1-binutils
5822 all-stage1: all-stage1-binutils
5823 TARGET-stage1-binutils = $(TARGET-binutils)
5824 all-stage1-binutils: configure-stage1-binutils
5825 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5826 @r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 TFLAGS="$(STAGE1_TFLAGS)"; \
5829 $(HOST_EXPORTS) \
5830 cd $(HOST_SUBDIR)/binutils && \
5831 \
5832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5833 CFLAGS="$(STAGE1_CFLAGS)" \
5834 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5835 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5836 LIBCFLAGS="$(LIBCFLAGS)" \
5837 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5838 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5839 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5840 $(EXTRA_HOST_FLAGS) \
5841 $(STAGE1_FLAGS_TO_PASS) \
5842 TFLAGS="$(STAGE1_TFLAGS)" \
5843 $(TARGET-stage1-binutils)
5844
5845 maybe-clean-stage1-binutils: clean-stage1-binutils
5846 clean-stage1: clean-stage1-binutils
5847 clean-stage1-binutils:
5848 @if [ $(current_stage) = stage1 ]; then \
5849 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5850 else \
5851 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5852 $(MAKE) stage1-start; \
5853 fi; \
5854 cd $(HOST_SUBDIR)/binutils && \
5855 $(MAKE) $(EXTRA_HOST_FLAGS) \
5856 $(STAGE1_FLAGS_TO_PASS) clean
5857 @endif binutils-bootstrap
5858
5859
5860 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5861 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5862 maybe-all-stage2-binutils:
5863 maybe-clean-stage2-binutils:
5864 @if binutils-bootstrap
5865 maybe-all-stage2-binutils: all-stage2-binutils
5866 all-stage2: all-stage2-binutils
5867 TARGET-stage2-binutils = $(TARGET-binutils)
5868 all-stage2-binutils: configure-stage2-binutils
5869 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5870 @r=`${PWD_COMMAND}`; export r; \
5871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5872 TFLAGS="$(STAGE2_TFLAGS)"; \
5873 $(HOST_EXPORTS) \
5874 $(POSTSTAGE1_HOST_EXPORTS) \
5875 cd $(HOST_SUBDIR)/binutils && \
5876 \
5877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5878 CFLAGS="$(STAGE2_CFLAGS)" \
5879 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5880 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5881 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5886 TFLAGS="$(STAGE2_TFLAGS)" \
5887 $(TARGET-stage2-binutils)
5888
5889 maybe-clean-stage2-binutils: clean-stage2-binutils
5890 clean-stage2: clean-stage2-binutils
5891 clean-stage2-binutils:
5892 @if [ $(current_stage) = stage2 ]; then \
5893 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5894 else \
5895 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5896 $(MAKE) stage2-start; \
5897 fi; \
5898 cd $(HOST_SUBDIR)/binutils && \
5899 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5900 @endif binutils-bootstrap
5901
5902
5903 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5904 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5905 maybe-all-stage3-binutils:
5906 maybe-clean-stage3-binutils:
5907 @if binutils-bootstrap
5908 maybe-all-stage3-binutils: all-stage3-binutils
5909 all-stage3: all-stage3-binutils
5910 TARGET-stage3-binutils = $(TARGET-binutils)
5911 all-stage3-binutils: configure-stage3-binutils
5912 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5913 @r=`${PWD_COMMAND}`; export r; \
5914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5915 TFLAGS="$(STAGE3_TFLAGS)"; \
5916 $(HOST_EXPORTS) \
5917 $(POSTSTAGE1_HOST_EXPORTS) \
5918 cd $(HOST_SUBDIR)/binutils && \
5919 \
5920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5921 CFLAGS="$(STAGE3_CFLAGS)" \
5922 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5923 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5924 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5929 TFLAGS="$(STAGE3_TFLAGS)" \
5930 $(TARGET-stage3-binutils)
5931
5932 maybe-clean-stage3-binutils: clean-stage3-binutils
5933 clean-stage3: clean-stage3-binutils
5934 clean-stage3-binutils:
5935 @if [ $(current_stage) = stage3 ]; then \
5936 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5937 else \
5938 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5939 $(MAKE) stage3-start; \
5940 fi; \
5941 cd $(HOST_SUBDIR)/binutils && \
5942 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5943 @endif binutils-bootstrap
5944
5945
5946 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5947 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5948 maybe-all-stage4-binutils:
5949 maybe-clean-stage4-binutils:
5950 @if binutils-bootstrap
5951 maybe-all-stage4-binutils: all-stage4-binutils
5952 all-stage4: all-stage4-binutils
5953 TARGET-stage4-binutils = $(TARGET-binutils)
5954 all-stage4-binutils: configure-stage4-binutils
5955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5956 @r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958 TFLAGS="$(STAGE4_TFLAGS)"; \
5959 $(HOST_EXPORTS) \
5960 $(POSTSTAGE1_HOST_EXPORTS) \
5961 cd $(HOST_SUBDIR)/binutils && \
5962 \
5963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5964 CFLAGS="$(STAGE4_CFLAGS)" \
5965 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5966 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5967 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5972 TFLAGS="$(STAGE4_TFLAGS)" \
5973 $(TARGET-stage4-binutils)
5974
5975 maybe-clean-stage4-binutils: clean-stage4-binutils
5976 clean-stage4: clean-stage4-binutils
5977 clean-stage4-binutils:
5978 @if [ $(current_stage) = stage4 ]; then \
5979 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5980 else \
5981 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5982 $(MAKE) stage4-start; \
5983 fi; \
5984 cd $(HOST_SUBDIR)/binutils && \
5985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5986 @endif binutils-bootstrap
5987
5988
5989 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5990 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5991 maybe-all-stageprofile-binutils:
5992 maybe-clean-stageprofile-binutils:
5993 @if binutils-bootstrap
5994 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5995 all-stageprofile: all-stageprofile-binutils
5996 TARGET-stageprofile-binutils = $(TARGET-binutils)
5997 all-stageprofile-binutils: configure-stageprofile-binutils
5998 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5999 @r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6002 $(HOST_EXPORTS) \
6003 $(POSTSTAGE1_HOST_EXPORTS) \
6004 cd $(HOST_SUBDIR)/binutils && \
6005 \
6006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6007 CFLAGS="$(STAGEprofile_CFLAGS)" \
6008 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6009 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6010 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6015 TFLAGS="$(STAGEprofile_TFLAGS)" \
6016 $(TARGET-stageprofile-binutils)
6017
6018 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6019 clean-stageprofile: clean-stageprofile-binutils
6020 clean-stageprofile-binutils:
6021 @if [ $(current_stage) = stageprofile ]; then \
6022 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6023 else \
6024 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6025 $(MAKE) stageprofile-start; \
6026 fi; \
6027 cd $(HOST_SUBDIR)/binutils && \
6028 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6029 @endif binutils-bootstrap
6030
6031
6032 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6033 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6034 maybe-all-stagetrain-binutils:
6035 maybe-clean-stagetrain-binutils:
6036 @if binutils-bootstrap
6037 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6038 all-stagetrain: all-stagetrain-binutils
6039 TARGET-stagetrain-binutils = $(TARGET-binutils)
6040 all-stagetrain-binutils: configure-stagetrain-binutils
6041 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6042 @r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6045 $(HOST_EXPORTS) \
6046 $(POSTSTAGE1_HOST_EXPORTS) \
6047 cd $(HOST_SUBDIR)/binutils && \
6048 \
6049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6050 CFLAGS="$(STAGEtrain_CFLAGS)" \
6051 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6052 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6053 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6058 TFLAGS="$(STAGEtrain_TFLAGS)" \
6059 $(TARGET-stagetrain-binutils)
6060
6061 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6062 clean-stagetrain: clean-stagetrain-binutils
6063 clean-stagetrain-binutils:
6064 @if [ $(current_stage) = stagetrain ]; then \
6065 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6066 else \
6067 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6068 $(MAKE) stagetrain-start; \
6069 fi; \
6070 cd $(HOST_SUBDIR)/binutils && \
6071 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6072 @endif binutils-bootstrap
6073
6074
6075 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6076 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6077 maybe-all-stagefeedback-binutils:
6078 maybe-clean-stagefeedback-binutils:
6079 @if binutils-bootstrap
6080 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6081 all-stagefeedback: all-stagefeedback-binutils
6082 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6083 all-stagefeedback-binutils: configure-stagefeedback-binutils
6084 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6085 @r=`${PWD_COMMAND}`; export r; \
6086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6088 $(HOST_EXPORTS) \
6089 $(POSTSTAGE1_HOST_EXPORTS) \
6090 cd $(HOST_SUBDIR)/binutils && \
6091 \
6092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6093 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6094 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6095 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6096 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6101 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6102 $(TARGET-stagefeedback-binutils)
6103
6104 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6105 clean-stagefeedback: clean-stagefeedback-binutils
6106 clean-stagefeedback-binutils:
6107 @if [ $(current_stage) = stagefeedback ]; then \
6108 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6109 else \
6110 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6111 $(MAKE) stagefeedback-start; \
6112 fi; \
6113 cd $(HOST_SUBDIR)/binutils && \
6114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6115 @endif binutils-bootstrap
6116
6117
6118 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6119 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6120 maybe-all-stageautoprofile-binutils:
6121 maybe-clean-stageautoprofile-binutils:
6122 @if binutils-bootstrap
6123 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6124 all-stageautoprofile: all-stageautoprofile-binutils
6125 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6126 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6127 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6128 @r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6131 $(HOST_EXPORTS) \
6132 $(POSTSTAGE1_HOST_EXPORTS) \
6133 cd $(HOST_SUBDIR)/binutils && \
6134 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6136 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6137 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6138 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6139 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6144 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6145 $(TARGET-stageautoprofile-binutils)
6146
6147 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6148 clean-stageautoprofile: clean-stageautoprofile-binutils
6149 clean-stageautoprofile-binutils:
6150 @if [ $(current_stage) = stageautoprofile ]; then \
6151 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6152 else \
6153 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6154 $(MAKE) stageautoprofile-start; \
6155 fi; \
6156 cd $(HOST_SUBDIR)/binutils && \
6157 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6158 @endif binutils-bootstrap
6159
6160
6161 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6162 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6163 maybe-all-stageautofeedback-binutils:
6164 maybe-clean-stageautofeedback-binutils:
6165 @if binutils-bootstrap
6166 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6167 all-stageautofeedback: all-stageautofeedback-binutils
6168 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6169 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6170 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6171 @r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6174 $(HOST_EXPORTS) \
6175 $(POSTSTAGE1_HOST_EXPORTS) \
6176 cd $(HOST_SUBDIR)/binutils && \
6177 \
6178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6179 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6180 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6181 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6182 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6187 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6188 $(TARGET-stageautofeedback-binutils)
6189
6190 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6191 clean-stageautofeedback: clean-stageautofeedback-binutils
6192 clean-stageautofeedback-binutils:
6193 @if [ $(current_stage) = stageautofeedback ]; then \
6194 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6195 else \
6196 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6197 $(MAKE) stageautofeedback-start; \
6198 fi; \
6199 cd $(HOST_SUBDIR)/binutils && \
6200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6201 @endif binutils-bootstrap
6202
6203
6204
6205
6206
6207 .PHONY: check-binutils maybe-check-binutils
6208 maybe-check-binutils:
6209 @if binutils
6210 maybe-check-binutils: check-binutils
6211
6212 check-binutils:
6213 @: $(MAKE); $(unstage)
6214 @r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6217 (cd $(HOST_SUBDIR)/binutils && \
6218 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6219
6220 @endif binutils
6221
6222 .PHONY: install-binutils maybe-install-binutils
6223 maybe-install-binutils:
6224 @if binutils
6225 maybe-install-binutils: install-binutils
6226
6227 install-binutils: installdirs
6228 @: $(MAKE); $(unstage)
6229 @r=`${PWD_COMMAND}`; export r; \
6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6231 $(HOST_EXPORTS) \
6232 (cd $(HOST_SUBDIR)/binutils && \
6233 $(MAKE) $(FLAGS_TO_PASS) install)
6234
6235 @endif binutils
6236
6237 .PHONY: install-strip-binutils maybe-install-strip-binutils
6238 maybe-install-strip-binutils:
6239 @if binutils
6240 maybe-install-strip-binutils: install-strip-binutils
6241
6242 install-strip-binutils: installdirs
6243 @: $(MAKE); $(unstage)
6244 @r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246 $(HOST_EXPORTS) \
6247 (cd $(HOST_SUBDIR)/binutils && \
6248 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6249
6250 @endif binutils
6251
6252 # Other targets (info, dvi, pdf, etc.)
6253
6254 .PHONY: maybe-info-binutils info-binutils
6255 maybe-info-binutils:
6256 @if binutils
6257 maybe-info-binutils: info-binutils
6258
6259 info-binutils: \
6260 configure-binutils
6261 @[ -f ./binutils/Makefile ] || exit 0; \
6262 r=`${PWD_COMMAND}`; export r; \
6263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6264 $(HOST_EXPORTS) \
6265 for flag in $(EXTRA_HOST_FLAGS) ; do \
6266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6267 done; \
6268 echo "Doing info in binutils"; \
6269 (cd $(HOST_SUBDIR)/binutils && \
6270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6272 "RANLIB=$${RANLIB}" \
6273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6274 info) \
6275 || exit 1
6276
6277 @endif binutils
6278
6279 .PHONY: maybe-dvi-binutils dvi-binutils
6280 maybe-dvi-binutils:
6281 @if binutils
6282 maybe-dvi-binutils: dvi-binutils
6283
6284 dvi-binutils: \
6285 configure-binutils
6286 @[ -f ./binutils/Makefile ] || exit 0; \
6287 r=`${PWD_COMMAND}`; export r; \
6288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 $(HOST_EXPORTS) \
6290 for flag in $(EXTRA_HOST_FLAGS) ; do \
6291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292 done; \
6293 echo "Doing dvi in binutils"; \
6294 (cd $(HOST_SUBDIR)/binutils && \
6295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6297 "RANLIB=$${RANLIB}" \
6298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6299 dvi) \
6300 || exit 1
6301
6302 @endif binutils
6303
6304 .PHONY: maybe-pdf-binutils pdf-binutils
6305 maybe-pdf-binutils:
6306 @if binutils
6307 maybe-pdf-binutils: pdf-binutils
6308
6309 pdf-binutils: \
6310 configure-binutils
6311 @[ -f ./binutils/Makefile ] || exit 0; \
6312 r=`${PWD_COMMAND}`; export r; \
6313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6314 $(HOST_EXPORTS) \
6315 for flag in $(EXTRA_HOST_FLAGS) ; do \
6316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6317 done; \
6318 echo "Doing pdf in binutils"; \
6319 (cd $(HOST_SUBDIR)/binutils && \
6320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6322 "RANLIB=$${RANLIB}" \
6323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6324 pdf) \
6325 || exit 1
6326
6327 @endif binutils
6328
6329 .PHONY: maybe-html-binutils html-binutils
6330 maybe-html-binutils:
6331 @if binutils
6332 maybe-html-binutils: html-binutils
6333
6334 html-binutils: \
6335 configure-binutils
6336 @[ -f ./binutils/Makefile ] || exit 0; \
6337 r=`${PWD_COMMAND}`; export r; \
6338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6339 $(HOST_EXPORTS) \
6340 for flag in $(EXTRA_HOST_FLAGS) ; do \
6341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6342 done; \
6343 echo "Doing html in binutils"; \
6344 (cd $(HOST_SUBDIR)/binutils && \
6345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6347 "RANLIB=$${RANLIB}" \
6348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6349 html) \
6350 || exit 1
6351
6352 @endif binutils
6353
6354 .PHONY: maybe-TAGS-binutils TAGS-binutils
6355 maybe-TAGS-binutils:
6356 @if binutils
6357 maybe-TAGS-binutils: TAGS-binutils
6358
6359 TAGS-binutils: \
6360 configure-binutils
6361 @[ -f ./binutils/Makefile ] || exit 0; \
6362 r=`${PWD_COMMAND}`; export r; \
6363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6364 $(HOST_EXPORTS) \
6365 for flag in $(EXTRA_HOST_FLAGS) ; do \
6366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6367 done; \
6368 echo "Doing TAGS in binutils"; \
6369 (cd $(HOST_SUBDIR)/binutils && \
6370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6372 "RANLIB=$${RANLIB}" \
6373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6374 TAGS) \
6375 || exit 1
6376
6377 @endif binutils
6378
6379 .PHONY: maybe-install-info-binutils install-info-binutils
6380 maybe-install-info-binutils:
6381 @if binutils
6382 maybe-install-info-binutils: install-info-binutils
6383
6384 install-info-binutils: \
6385 configure-binutils \
6386 info-binutils
6387 @[ -f ./binutils/Makefile ] || exit 0; \
6388 r=`${PWD_COMMAND}`; export r; \
6389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6390 $(HOST_EXPORTS) \
6391 for flag in $(EXTRA_HOST_FLAGS) ; do \
6392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6393 done; \
6394 echo "Doing install-info in binutils"; \
6395 (cd $(HOST_SUBDIR)/binutils && \
6396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6398 "RANLIB=$${RANLIB}" \
6399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6400 install-info) \
6401 || exit 1
6402
6403 @endif binutils
6404
6405 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6406 maybe-install-pdf-binutils:
6407 @if binutils
6408 maybe-install-pdf-binutils: install-pdf-binutils
6409
6410 install-pdf-binutils: \
6411 configure-binutils \
6412 pdf-binutils
6413 @[ -f ./binutils/Makefile ] || exit 0; \
6414 r=`${PWD_COMMAND}`; export r; \
6415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6416 $(HOST_EXPORTS) \
6417 for flag in $(EXTRA_HOST_FLAGS) ; do \
6418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6419 done; \
6420 echo "Doing install-pdf in binutils"; \
6421 (cd $(HOST_SUBDIR)/binutils && \
6422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6424 "RANLIB=$${RANLIB}" \
6425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6426 install-pdf) \
6427 || exit 1
6428
6429 @endif binutils
6430
6431 .PHONY: maybe-install-html-binutils install-html-binutils
6432 maybe-install-html-binutils:
6433 @if binutils
6434 maybe-install-html-binutils: install-html-binutils
6435
6436 install-html-binutils: \
6437 configure-binutils \
6438 html-binutils
6439 @[ -f ./binutils/Makefile ] || exit 0; \
6440 r=`${PWD_COMMAND}`; export r; \
6441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6442 $(HOST_EXPORTS) \
6443 for flag in $(EXTRA_HOST_FLAGS) ; do \
6444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6445 done; \
6446 echo "Doing install-html in binutils"; \
6447 (cd $(HOST_SUBDIR)/binutils && \
6448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6450 "RANLIB=$${RANLIB}" \
6451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6452 install-html) \
6453 || exit 1
6454
6455 @endif binutils
6456
6457 .PHONY: maybe-installcheck-binutils installcheck-binutils
6458 maybe-installcheck-binutils:
6459 @if binutils
6460 maybe-installcheck-binutils: installcheck-binutils
6461
6462 installcheck-binutils: \
6463 configure-binutils
6464 @[ -f ./binutils/Makefile ] || exit 0; \
6465 r=`${PWD_COMMAND}`; export r; \
6466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6467 $(HOST_EXPORTS) \
6468 for flag in $(EXTRA_HOST_FLAGS) ; do \
6469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6470 done; \
6471 echo "Doing installcheck in binutils"; \
6472 (cd $(HOST_SUBDIR)/binutils && \
6473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6475 "RANLIB=$${RANLIB}" \
6476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6477 installcheck) \
6478 || exit 1
6479
6480 @endif binutils
6481
6482 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6483 maybe-mostlyclean-binutils:
6484 @if binutils
6485 maybe-mostlyclean-binutils: mostlyclean-binutils
6486
6487 mostlyclean-binutils:
6488 @[ -f ./binutils/Makefile ] || exit 0; \
6489 r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 $(HOST_EXPORTS) \
6492 for flag in $(EXTRA_HOST_FLAGS) ; do \
6493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6494 done; \
6495 echo "Doing mostlyclean in binutils"; \
6496 (cd $(HOST_SUBDIR)/binutils && \
6497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6499 "RANLIB=$${RANLIB}" \
6500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6501 mostlyclean) \
6502 || exit 1
6503
6504 @endif binutils
6505
6506 .PHONY: maybe-clean-binutils clean-binutils
6507 maybe-clean-binutils:
6508 @if binutils
6509 maybe-clean-binutils: clean-binutils
6510
6511 clean-binutils:
6512 @[ -f ./binutils/Makefile ] || exit 0; \
6513 r=`${PWD_COMMAND}`; export r; \
6514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6515 $(HOST_EXPORTS) \
6516 for flag in $(EXTRA_HOST_FLAGS) ; do \
6517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6518 done; \
6519 echo "Doing clean in binutils"; \
6520 (cd $(HOST_SUBDIR)/binutils && \
6521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6523 "RANLIB=$${RANLIB}" \
6524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6525 clean) \
6526 || exit 1
6527
6528 @endif binutils
6529
6530 .PHONY: maybe-distclean-binutils distclean-binutils
6531 maybe-distclean-binutils:
6532 @if binutils
6533 maybe-distclean-binutils: distclean-binutils
6534
6535 distclean-binutils:
6536 @[ -f ./binutils/Makefile ] || exit 0; \
6537 r=`${PWD_COMMAND}`; export r; \
6538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6539 $(HOST_EXPORTS) \
6540 for flag in $(EXTRA_HOST_FLAGS) ; do \
6541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6542 done; \
6543 echo "Doing distclean in binutils"; \
6544 (cd $(HOST_SUBDIR)/binutils && \
6545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547 "RANLIB=$${RANLIB}" \
6548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6549 distclean) \
6550 || exit 1
6551
6552 @endif binutils
6553
6554 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6555 maybe-maintainer-clean-binutils:
6556 @if binutils
6557 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6558
6559 maintainer-clean-binutils:
6560 @[ -f ./binutils/Makefile ] || exit 0; \
6561 r=`${PWD_COMMAND}`; export r; \
6562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6563 $(HOST_EXPORTS) \
6564 for flag in $(EXTRA_HOST_FLAGS) ; do \
6565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6566 done; \
6567 echo "Doing maintainer-clean in binutils"; \
6568 (cd $(HOST_SUBDIR)/binutils && \
6569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6571 "RANLIB=$${RANLIB}" \
6572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6573 maintainer-clean) \
6574 || exit 1
6575
6576 @endif binutils
6577
6578
6579
6580 .PHONY: configure-bison maybe-configure-bison
6581 maybe-configure-bison:
6582 @if gcc-bootstrap
6583 configure-bison: stage_current
6584 @endif gcc-bootstrap
6585 @if bison
6586 maybe-configure-bison: configure-bison
6587 configure-bison:
6588 @: $(MAKE); $(unstage)
6589 @r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6593 $(HOST_EXPORTS) \
6594 echo Configuring in $(HOST_SUBDIR)/bison; \
6595 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6596 case $(srcdir) in \
6597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6598 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6600 esac; \
6601 module_srcdir=bison; \
6602 $(SHELL) \
6603 $$s/$$module_srcdir/configure \
6604 --srcdir=$${topdir}/$$module_srcdir \
6605 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6606 --target=${target_alias} \
6607 || exit 1
6608 @endif bison
6609
6610
6611
6612
6613
6614 .PHONY: all-bison maybe-all-bison
6615 maybe-all-bison:
6616 @if gcc-bootstrap
6617 all-bison: stage_current
6618 @endif gcc-bootstrap
6619 @if bison
6620 TARGET-bison=all
6621 maybe-all-bison: all-bison
6622 all-bison: configure-bison
6623 @: $(MAKE); $(unstage)
6624 @r=`${PWD_COMMAND}`; export r; \
6625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6626 $(HOST_EXPORTS) \
6627 (cd $(HOST_SUBDIR)/bison && \
6628 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6629 $(TARGET-bison))
6630 @endif bison
6631
6632
6633
6634
6635 .PHONY: check-bison maybe-check-bison
6636 maybe-check-bison:
6637 @if bison
6638 maybe-check-bison: check-bison
6639
6640 # This module is only tested in a native toolchain.
6641 check-bison:
6642 @: $(MAKE); $(unstage)
6643 @if [ '$(host)' = '$(target)' ]; then \
6644 r=`${PWD_COMMAND}`; export r; \
6645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6646 $(HOST_EXPORTS) \
6647 (cd $(HOST_SUBDIR)/bison && \
6648 $(MAKE) $(FLAGS_TO_PASS) check)
6649 fi
6650
6651 @endif bison
6652
6653 .PHONY: install-bison maybe-install-bison
6654 maybe-install-bison:
6655 @if bison
6656 maybe-install-bison: install-bison
6657
6658 install-bison: installdirs
6659 @: $(MAKE); $(unstage)
6660 @r=`${PWD_COMMAND}`; export r; \
6661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6662 $(HOST_EXPORTS) \
6663 (cd $(HOST_SUBDIR)/bison && \
6664 $(MAKE) $(FLAGS_TO_PASS) install)
6665
6666 @endif bison
6667
6668 .PHONY: install-strip-bison maybe-install-strip-bison
6669 maybe-install-strip-bison:
6670 @if bison
6671 maybe-install-strip-bison: install-strip-bison
6672
6673 install-strip-bison: installdirs
6674 @: $(MAKE); $(unstage)
6675 @r=`${PWD_COMMAND}`; export r; \
6676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6677 $(HOST_EXPORTS) \
6678 (cd $(HOST_SUBDIR)/bison && \
6679 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6680
6681 @endif bison
6682
6683 # Other targets (info, dvi, pdf, etc.)
6684
6685 .PHONY: maybe-info-bison info-bison
6686 maybe-info-bison:
6687 @if bison
6688 maybe-info-bison: info-bison
6689
6690 info-bison: \
6691 configure-bison
6692 @: $(MAKE); $(unstage)
6693 @[ -f ./bison/Makefile ] || exit 0; \
6694 r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 $(HOST_EXPORTS) \
6697 for flag in $(EXTRA_HOST_FLAGS) ; do \
6698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6699 done; \
6700 echo "Doing info in bison"; \
6701 (cd $(HOST_SUBDIR)/bison && \
6702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6704 "RANLIB=$${RANLIB}" \
6705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6706 info) \
6707 || exit 1
6708
6709 @endif bison
6710
6711 .PHONY: maybe-dvi-bison dvi-bison
6712 maybe-dvi-bison:
6713 @if bison
6714 maybe-dvi-bison: dvi-bison
6715
6716 dvi-bison: \
6717 configure-bison
6718 @: $(MAKE); $(unstage)
6719 @[ -f ./bison/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(HOST_EXPORTS) \
6723 for flag in $(EXTRA_HOST_FLAGS) ; do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing dvi in bison"; \
6727 (cd $(HOST_SUBDIR)/bison && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6732 dvi) \
6733 || exit 1
6734
6735 @endif bison
6736
6737 .PHONY: maybe-pdf-bison pdf-bison
6738 maybe-pdf-bison:
6739 @if bison
6740 maybe-pdf-bison: pdf-bison
6741
6742 pdf-bison: \
6743 configure-bison
6744 @: $(MAKE); $(unstage)
6745 @[ -f ./bison/Makefile ] || exit 0; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 for flag in $(EXTRA_HOST_FLAGS) ; do \
6750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6751 done; \
6752 echo "Doing pdf in bison"; \
6753 (cd $(HOST_SUBDIR)/bison && \
6754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6756 "RANLIB=$${RANLIB}" \
6757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6758 pdf) \
6759 || exit 1
6760
6761 @endif bison
6762
6763 .PHONY: maybe-html-bison html-bison
6764 maybe-html-bison:
6765 @if bison
6766 maybe-html-bison: html-bison
6767
6768 html-bison: \
6769 configure-bison
6770 @: $(MAKE); $(unstage)
6771 @[ -f ./bison/Makefile ] || exit 0; \
6772 r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 $(HOST_EXPORTS) \
6775 for flag in $(EXTRA_HOST_FLAGS) ; do \
6776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6777 done; \
6778 echo "Doing html in bison"; \
6779 (cd $(HOST_SUBDIR)/bison && \
6780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6782 "RANLIB=$${RANLIB}" \
6783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6784 html) \
6785 || exit 1
6786
6787 @endif bison
6788
6789 .PHONY: maybe-TAGS-bison TAGS-bison
6790 maybe-TAGS-bison:
6791 @if bison
6792 maybe-TAGS-bison: TAGS-bison
6793
6794 TAGS-bison: \
6795 configure-bison
6796 @: $(MAKE); $(unstage)
6797 @[ -f ./bison/Makefile ] || exit 0; \
6798 r=`${PWD_COMMAND}`; export r; \
6799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 $(HOST_EXPORTS) \
6801 for flag in $(EXTRA_HOST_FLAGS) ; do \
6802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6803 done; \
6804 echo "Doing TAGS in bison"; \
6805 (cd $(HOST_SUBDIR)/bison && \
6806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6808 "RANLIB=$${RANLIB}" \
6809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6810 TAGS) \
6811 || exit 1
6812
6813 @endif bison
6814
6815 .PHONY: maybe-install-info-bison install-info-bison
6816 maybe-install-info-bison:
6817 @if bison
6818 maybe-install-info-bison: install-info-bison
6819
6820 install-info-bison: \
6821 configure-bison \
6822 info-bison
6823 @: $(MAKE); $(unstage)
6824 @[ -f ./bison/Makefile ] || exit 0; \
6825 r=`${PWD_COMMAND}`; export r; \
6826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6827 $(HOST_EXPORTS) \
6828 for flag in $(EXTRA_HOST_FLAGS) ; do \
6829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6830 done; \
6831 echo "Doing install-info in bison"; \
6832 (cd $(HOST_SUBDIR)/bison && \
6833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6835 "RANLIB=$${RANLIB}" \
6836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6837 install-info) \
6838 || exit 1
6839
6840 @endif bison
6841
6842 .PHONY: maybe-install-pdf-bison install-pdf-bison
6843 maybe-install-pdf-bison:
6844 @if bison
6845 maybe-install-pdf-bison: install-pdf-bison
6846
6847 install-pdf-bison: \
6848 configure-bison \
6849 pdf-bison
6850 @: $(MAKE); $(unstage)
6851 @[ -f ./bison/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6854 $(HOST_EXPORTS) \
6855 for flag in $(EXTRA_HOST_FLAGS) ; do \
6856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6857 done; \
6858 echo "Doing install-pdf in bison"; \
6859 (cd $(HOST_SUBDIR)/bison && \
6860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6862 "RANLIB=$${RANLIB}" \
6863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6864 install-pdf) \
6865 || exit 1
6866
6867 @endif bison
6868
6869 .PHONY: maybe-install-html-bison install-html-bison
6870 maybe-install-html-bison:
6871 @if bison
6872 maybe-install-html-bison: install-html-bison
6873
6874 install-html-bison: \
6875 configure-bison \
6876 html-bison
6877 @: $(MAKE); $(unstage)
6878 @[ -f ./bison/Makefile ] || exit 0; \
6879 r=`${PWD_COMMAND}`; export r; \
6880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6881 $(HOST_EXPORTS) \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 done; \
6885 echo "Doing install-html in bison"; \
6886 (cd $(HOST_SUBDIR)/bison && \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6891 install-html) \
6892 || exit 1
6893
6894 @endif bison
6895
6896 .PHONY: maybe-installcheck-bison installcheck-bison
6897 maybe-installcheck-bison:
6898 @if bison
6899 maybe-installcheck-bison: installcheck-bison
6900
6901 installcheck-bison: \
6902 configure-bison
6903 @: $(MAKE); $(unstage)
6904 @[ -f ./bison/Makefile ] || exit 0; \
6905 r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 $(HOST_EXPORTS) \
6908 for flag in $(EXTRA_HOST_FLAGS) ; do \
6909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6910 done; \
6911 echo "Doing installcheck in bison"; \
6912 (cd $(HOST_SUBDIR)/bison && \
6913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6915 "RANLIB=$${RANLIB}" \
6916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6917 installcheck) \
6918 || exit 1
6919
6920 @endif bison
6921
6922 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6923 maybe-mostlyclean-bison:
6924 @if bison
6925 maybe-mostlyclean-bison: mostlyclean-bison
6926
6927 mostlyclean-bison:
6928 @: $(MAKE); $(unstage)
6929 @[ -f ./bison/Makefile ] || exit 0; \
6930 r=`${PWD_COMMAND}`; export r; \
6931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6932 $(HOST_EXPORTS) \
6933 for flag in $(EXTRA_HOST_FLAGS) ; do \
6934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6935 done; \
6936 echo "Doing mostlyclean in bison"; \
6937 (cd $(HOST_SUBDIR)/bison && \
6938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6940 "RANLIB=$${RANLIB}" \
6941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6942 mostlyclean) \
6943 || exit 1
6944
6945 @endif bison
6946
6947 .PHONY: maybe-clean-bison clean-bison
6948 maybe-clean-bison:
6949 @if bison
6950 maybe-clean-bison: clean-bison
6951
6952 clean-bison:
6953 @: $(MAKE); $(unstage)
6954 @[ -f ./bison/Makefile ] || exit 0; \
6955 r=`${PWD_COMMAND}`; export r; \
6956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6957 $(HOST_EXPORTS) \
6958 for flag in $(EXTRA_HOST_FLAGS) ; do \
6959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6960 done; \
6961 echo "Doing clean in bison"; \
6962 (cd $(HOST_SUBDIR)/bison && \
6963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6965 "RANLIB=$${RANLIB}" \
6966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6967 clean) \
6968 || exit 1
6969
6970 @endif bison
6971
6972 .PHONY: maybe-distclean-bison distclean-bison
6973 maybe-distclean-bison:
6974 @if bison
6975 maybe-distclean-bison: distclean-bison
6976
6977 distclean-bison:
6978 @: $(MAKE); $(unstage)
6979 @[ -f ./bison/Makefile ] || exit 0; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(HOST_EXPORTS) \
6983 for flag in $(EXTRA_HOST_FLAGS) ; do \
6984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6985 done; \
6986 echo "Doing distclean in bison"; \
6987 (cd $(HOST_SUBDIR)/bison && \
6988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6990 "RANLIB=$${RANLIB}" \
6991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6992 distclean) \
6993 || exit 1
6994
6995 @endif bison
6996
6997 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6998 maybe-maintainer-clean-bison:
6999 @if bison
7000 maybe-maintainer-clean-bison: maintainer-clean-bison
7001
7002 maintainer-clean-bison:
7003 @: $(MAKE); $(unstage)
7004 @[ -f ./bison/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 done; \
7011 echo "Doing maintainer-clean in bison"; \
7012 (cd $(HOST_SUBDIR)/bison && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7017 maintainer-clean) \
7018 || exit 1
7019
7020 @endif bison
7021
7022
7023
7024 .PHONY: configure-cgen maybe-configure-cgen
7025 maybe-configure-cgen:
7026 @if gcc-bootstrap
7027 configure-cgen: stage_current
7028 @endif gcc-bootstrap
7029 @if cgen
7030 maybe-configure-cgen: configure-cgen
7031 configure-cgen:
7032 @: $(MAKE); $(unstage)
7033 @r=`${PWD_COMMAND}`; export r; \
7034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7035 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7037 $(HOST_EXPORTS) \
7038 echo Configuring in $(HOST_SUBDIR)/cgen; \
7039 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7040 case $(srcdir) in \
7041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7042 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7044 esac; \
7045 module_srcdir=cgen; \
7046 $(SHELL) \
7047 $$s/$$module_srcdir/configure \
7048 --srcdir=$${topdir}/$$module_srcdir \
7049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7050 --target=${target_alias} \
7051 || exit 1
7052 @endif cgen
7053
7054
7055
7056
7057
7058 .PHONY: all-cgen maybe-all-cgen
7059 maybe-all-cgen:
7060 @if gcc-bootstrap
7061 all-cgen: stage_current
7062 @endif gcc-bootstrap
7063 @if cgen
7064 TARGET-cgen=all
7065 maybe-all-cgen: all-cgen
7066 all-cgen: configure-cgen
7067 @: $(MAKE); $(unstage)
7068 @r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 (cd $(HOST_SUBDIR)/cgen && \
7072 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7073 $(TARGET-cgen))
7074 @endif cgen
7075
7076
7077
7078
7079 .PHONY: check-cgen maybe-check-cgen
7080 maybe-check-cgen:
7081 @if cgen
7082 maybe-check-cgen: check-cgen
7083
7084 check-cgen:
7085 @: $(MAKE); $(unstage)
7086 @r=`${PWD_COMMAND}`; export r; \
7087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 $(HOST_EXPORTS) \
7089 (cd $(HOST_SUBDIR)/cgen && \
7090 $(MAKE) $(FLAGS_TO_PASS) check)
7091
7092 @endif cgen
7093
7094 .PHONY: install-cgen maybe-install-cgen
7095 maybe-install-cgen:
7096 @if cgen
7097 maybe-install-cgen: install-cgen
7098
7099 install-cgen: installdirs
7100 @: $(MAKE); $(unstage)
7101 @r=`${PWD_COMMAND}`; export r; \
7102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7103 $(HOST_EXPORTS) \
7104 (cd $(HOST_SUBDIR)/cgen && \
7105 $(MAKE) $(FLAGS_TO_PASS) install)
7106
7107 @endif cgen
7108
7109 .PHONY: install-strip-cgen maybe-install-strip-cgen
7110 maybe-install-strip-cgen:
7111 @if cgen
7112 maybe-install-strip-cgen: install-strip-cgen
7113
7114 install-strip-cgen: installdirs
7115 @: $(MAKE); $(unstage)
7116 @r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 (cd $(HOST_SUBDIR)/cgen && \
7120 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7121
7122 @endif cgen
7123
7124 # Other targets (info, dvi, pdf, etc.)
7125
7126 .PHONY: maybe-info-cgen info-cgen
7127 maybe-info-cgen:
7128 @if cgen
7129 maybe-info-cgen: info-cgen
7130
7131 info-cgen: \
7132 configure-cgen
7133 @: $(MAKE); $(unstage)
7134 @[ -f ./cgen/Makefile ] || exit 0; \
7135 r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(HOST_EXPORTS) \
7138 for flag in $(EXTRA_HOST_FLAGS) ; do \
7139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 done; \
7141 echo "Doing info in cgen"; \
7142 (cd $(HOST_SUBDIR)/cgen && \
7143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7145 "RANLIB=$${RANLIB}" \
7146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7147 info) \
7148 || exit 1
7149
7150 @endif cgen
7151
7152 .PHONY: maybe-dvi-cgen dvi-cgen
7153 maybe-dvi-cgen:
7154 @if cgen
7155 maybe-dvi-cgen: dvi-cgen
7156
7157 dvi-cgen: \
7158 configure-cgen
7159 @: $(MAKE); $(unstage)
7160 @[ -f ./cgen/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing dvi in cgen"; \
7168 (cd $(HOST_SUBDIR)/cgen && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7173 dvi) \
7174 || exit 1
7175
7176 @endif cgen
7177
7178 .PHONY: maybe-pdf-cgen pdf-cgen
7179 maybe-pdf-cgen:
7180 @if cgen
7181 maybe-pdf-cgen: pdf-cgen
7182
7183 pdf-cgen: \
7184 configure-cgen
7185 @: $(MAKE); $(unstage)
7186 @[ -f ./cgen/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189 $(HOST_EXPORTS) \
7190 for flag in $(EXTRA_HOST_FLAGS) ; do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7192 done; \
7193 echo "Doing pdf in cgen"; \
7194 (cd $(HOST_SUBDIR)/cgen && \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7199 pdf) \
7200 || exit 1
7201
7202 @endif cgen
7203
7204 .PHONY: maybe-html-cgen html-cgen
7205 maybe-html-cgen:
7206 @if cgen
7207 maybe-html-cgen: html-cgen
7208
7209 html-cgen: \
7210 configure-cgen
7211 @: $(MAKE); $(unstage)
7212 @[ -f ./cgen/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS) ; do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing html in cgen"; \
7220 (cd $(HOST_SUBDIR)/cgen && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7225 html) \
7226 || exit 1
7227
7228 @endif cgen
7229
7230 .PHONY: maybe-TAGS-cgen TAGS-cgen
7231 maybe-TAGS-cgen:
7232 @if cgen
7233 maybe-TAGS-cgen: TAGS-cgen
7234
7235 TAGS-cgen: \
7236 configure-cgen
7237 @: $(MAKE); $(unstage)
7238 @[ -f ./cgen/Makefile ] || exit 0; \
7239 r=`${PWD_COMMAND}`; export r; \
7240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7241 $(HOST_EXPORTS) \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7244 done; \
7245 echo "Doing TAGS in cgen"; \
7246 (cd $(HOST_SUBDIR)/cgen && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7251 TAGS) \
7252 || exit 1
7253
7254 @endif cgen
7255
7256 .PHONY: maybe-install-info-cgen install-info-cgen
7257 maybe-install-info-cgen:
7258 @if cgen
7259 maybe-install-info-cgen: install-info-cgen
7260
7261 install-info-cgen: \
7262 configure-cgen \
7263 info-cgen
7264 @: $(MAKE); $(unstage)
7265 @[ -f ./cgen/Makefile ] || exit 0; \
7266 r=`${PWD_COMMAND}`; export r; \
7267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7268 $(HOST_EXPORTS) \
7269 for flag in $(EXTRA_HOST_FLAGS) ; do \
7270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7271 done; \
7272 echo "Doing install-info in cgen"; \
7273 (cd $(HOST_SUBDIR)/cgen && \
7274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7276 "RANLIB=$${RANLIB}" \
7277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7278 install-info) \
7279 || exit 1
7280
7281 @endif cgen
7282
7283 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7284 maybe-install-pdf-cgen:
7285 @if cgen
7286 maybe-install-pdf-cgen: install-pdf-cgen
7287
7288 install-pdf-cgen: \
7289 configure-cgen \
7290 pdf-cgen
7291 @: $(MAKE); $(unstage)
7292 @[ -f ./cgen/Makefile ] || exit 0; \
7293 r=`${PWD_COMMAND}`; export r; \
7294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295 $(HOST_EXPORTS) \
7296 for flag in $(EXTRA_HOST_FLAGS) ; do \
7297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7298 done; \
7299 echo "Doing install-pdf in cgen"; \
7300 (cd $(HOST_SUBDIR)/cgen && \
7301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7303 "RANLIB=$${RANLIB}" \
7304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7305 install-pdf) \
7306 || exit 1
7307
7308 @endif cgen
7309
7310 .PHONY: maybe-install-html-cgen install-html-cgen
7311 maybe-install-html-cgen:
7312 @if cgen
7313 maybe-install-html-cgen: install-html-cgen
7314
7315 install-html-cgen: \
7316 configure-cgen \
7317 html-cgen
7318 @: $(MAKE); $(unstage)
7319 @[ -f ./cgen/Makefile ] || exit 0; \
7320 r=`${PWD_COMMAND}`; export r; \
7321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7322 $(HOST_EXPORTS) \
7323 for flag in $(EXTRA_HOST_FLAGS) ; do \
7324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7325 done; \
7326 echo "Doing install-html in cgen"; \
7327 (cd $(HOST_SUBDIR)/cgen && \
7328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7330 "RANLIB=$${RANLIB}" \
7331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7332 install-html) \
7333 || exit 1
7334
7335 @endif cgen
7336
7337 .PHONY: maybe-installcheck-cgen installcheck-cgen
7338 maybe-installcheck-cgen:
7339 @if cgen
7340 maybe-installcheck-cgen: installcheck-cgen
7341
7342 installcheck-cgen: \
7343 configure-cgen
7344 @: $(MAKE); $(unstage)
7345 @[ -f ./cgen/Makefile ] || exit 0; \
7346 r=`${PWD_COMMAND}`; export r; \
7347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7348 $(HOST_EXPORTS) \
7349 for flag in $(EXTRA_HOST_FLAGS) ; do \
7350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7351 done; \
7352 echo "Doing installcheck in cgen"; \
7353 (cd $(HOST_SUBDIR)/cgen && \
7354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7356 "RANLIB=$${RANLIB}" \
7357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7358 installcheck) \
7359 || exit 1
7360
7361 @endif cgen
7362
7363 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7364 maybe-mostlyclean-cgen:
7365 @if cgen
7366 maybe-mostlyclean-cgen: mostlyclean-cgen
7367
7368 mostlyclean-cgen:
7369 @: $(MAKE); $(unstage)
7370 @[ -f ./cgen/Makefile ] || exit 0; \
7371 r=`${PWD_COMMAND}`; export r; \
7372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 $(HOST_EXPORTS) \
7374 for flag in $(EXTRA_HOST_FLAGS) ; do \
7375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7376 done; \
7377 echo "Doing mostlyclean in cgen"; \
7378 (cd $(HOST_SUBDIR)/cgen && \
7379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7381 "RANLIB=$${RANLIB}" \
7382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7383 mostlyclean) \
7384 || exit 1
7385
7386 @endif cgen
7387
7388 .PHONY: maybe-clean-cgen clean-cgen
7389 maybe-clean-cgen:
7390 @if cgen
7391 maybe-clean-cgen: clean-cgen
7392
7393 clean-cgen:
7394 @: $(MAKE); $(unstage)
7395 @[ -f ./cgen/Makefile ] || exit 0; \
7396 r=`${PWD_COMMAND}`; export r; \
7397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7398 $(HOST_EXPORTS) \
7399 for flag in $(EXTRA_HOST_FLAGS) ; do \
7400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7401 done; \
7402 echo "Doing clean in cgen"; \
7403 (cd $(HOST_SUBDIR)/cgen && \
7404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7406 "RANLIB=$${RANLIB}" \
7407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7408 clean) \
7409 || exit 1
7410
7411 @endif cgen
7412
7413 .PHONY: maybe-distclean-cgen distclean-cgen
7414 maybe-distclean-cgen:
7415 @if cgen
7416 maybe-distclean-cgen: distclean-cgen
7417
7418 distclean-cgen:
7419 @: $(MAKE); $(unstage)
7420 @[ -f ./cgen/Makefile ] || exit 0; \
7421 r=`${PWD_COMMAND}`; export r; \
7422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7423 $(HOST_EXPORTS) \
7424 for flag in $(EXTRA_HOST_FLAGS) ; do \
7425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7426 done; \
7427 echo "Doing distclean in cgen"; \
7428 (cd $(HOST_SUBDIR)/cgen && \
7429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7431 "RANLIB=$${RANLIB}" \
7432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7433 distclean) \
7434 || exit 1
7435
7436 @endif cgen
7437
7438 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7439 maybe-maintainer-clean-cgen:
7440 @if cgen
7441 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7442
7443 maintainer-clean-cgen:
7444 @: $(MAKE); $(unstage)
7445 @[ -f ./cgen/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 for flag in $(EXTRA_HOST_FLAGS) ; do \
7450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7451 done; \
7452 echo "Doing maintainer-clean in cgen"; \
7453 (cd $(HOST_SUBDIR)/cgen && \
7454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456 "RANLIB=$${RANLIB}" \
7457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7458 maintainer-clean) \
7459 || exit 1
7460
7461 @endif cgen
7462
7463
7464
7465 .PHONY: configure-dejagnu maybe-configure-dejagnu
7466 maybe-configure-dejagnu:
7467 @if gcc-bootstrap
7468 configure-dejagnu: stage_current
7469 @endif gcc-bootstrap
7470 @if dejagnu
7471 maybe-configure-dejagnu: configure-dejagnu
7472 configure-dejagnu:
7473 @: $(MAKE); $(unstage)
7474 @r=`${PWD_COMMAND}`; export r; \
7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7476 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7478 $(HOST_EXPORTS) \
7479 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7480 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7481 case $(srcdir) in \
7482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7483 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7485 esac; \
7486 module_srcdir=dejagnu; \
7487 $(SHELL) \
7488 $$s/$$module_srcdir/configure \
7489 --srcdir=$${topdir}/$$module_srcdir \
7490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7491 --target=${target_alias} \
7492 || exit 1
7493 @endif dejagnu
7494
7495
7496
7497
7498
7499 .PHONY: all-dejagnu maybe-all-dejagnu
7500 maybe-all-dejagnu:
7501 @if gcc-bootstrap
7502 all-dejagnu: stage_current
7503 @endif gcc-bootstrap
7504 @if dejagnu
7505 TARGET-dejagnu=all
7506 maybe-all-dejagnu: all-dejagnu
7507 all-dejagnu: configure-dejagnu
7508 @: $(MAKE); $(unstage)
7509 @r=`${PWD_COMMAND}`; export r; \
7510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7511 $(HOST_EXPORTS) \
7512 (cd $(HOST_SUBDIR)/dejagnu && \
7513 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7514 $(TARGET-dejagnu))
7515 @endif dejagnu
7516
7517
7518
7519
7520 .PHONY: check-dejagnu maybe-check-dejagnu
7521 maybe-check-dejagnu:
7522 @if dejagnu
7523 maybe-check-dejagnu: check-dejagnu
7524
7525 check-dejagnu:
7526 @: $(MAKE); $(unstage)
7527 @r=`${PWD_COMMAND}`; export r; \
7528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7529 $(HOST_EXPORTS) \
7530 (cd $(HOST_SUBDIR)/dejagnu && \
7531 $(MAKE) $(FLAGS_TO_PASS) check)
7532
7533 @endif dejagnu
7534
7535 .PHONY: install-dejagnu maybe-install-dejagnu
7536 maybe-install-dejagnu:
7537 @if dejagnu
7538 maybe-install-dejagnu: install-dejagnu
7539
7540 install-dejagnu: installdirs
7541 @: $(MAKE); $(unstage)
7542 @r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 (cd $(HOST_SUBDIR)/dejagnu && \
7546 $(MAKE) $(FLAGS_TO_PASS) install)
7547
7548 @endif dejagnu
7549
7550 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7551 maybe-install-strip-dejagnu:
7552 @if dejagnu
7553 maybe-install-strip-dejagnu: install-strip-dejagnu
7554
7555 install-strip-dejagnu: installdirs
7556 @: $(MAKE); $(unstage)
7557 @r=`${PWD_COMMAND}`; export r; \
7558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7559 $(HOST_EXPORTS) \
7560 (cd $(HOST_SUBDIR)/dejagnu && \
7561 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7562
7563 @endif dejagnu
7564
7565 # Other targets (info, dvi, pdf, etc.)
7566
7567 .PHONY: maybe-info-dejagnu info-dejagnu
7568 maybe-info-dejagnu:
7569 @if dejagnu
7570 maybe-info-dejagnu: info-dejagnu
7571
7572 info-dejagnu: \
7573 configure-dejagnu
7574 @: $(MAKE); $(unstage)
7575 @[ -f ./dejagnu/Makefile ] || exit 0; \
7576 r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 for flag in $(EXTRA_HOST_FLAGS) ; do \
7580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581 done; \
7582 echo "Doing info in dejagnu"; \
7583 (cd $(HOST_SUBDIR)/dejagnu && \
7584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7586 "RANLIB=$${RANLIB}" \
7587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7588 info) \
7589 || exit 1
7590
7591 @endif dejagnu
7592
7593 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7594 maybe-dvi-dejagnu:
7595 @if dejagnu
7596 maybe-dvi-dejagnu: dvi-dejagnu
7597
7598 dvi-dejagnu: \
7599 configure-dejagnu
7600 @: $(MAKE); $(unstage)
7601 @[ -f ./dejagnu/Makefile ] || exit 0; \
7602 r=`${PWD_COMMAND}`; export r; \
7603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7604 $(HOST_EXPORTS) \
7605 for flag in $(EXTRA_HOST_FLAGS) ; do \
7606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7607 done; \
7608 echo "Doing dvi in dejagnu"; \
7609 (cd $(HOST_SUBDIR)/dejagnu && \
7610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7612 "RANLIB=$${RANLIB}" \
7613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7614 dvi) \
7615 || exit 1
7616
7617 @endif dejagnu
7618
7619 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7620 maybe-pdf-dejagnu:
7621 @if dejagnu
7622 maybe-pdf-dejagnu: pdf-dejagnu
7623
7624 pdf-dejagnu: \
7625 configure-dejagnu
7626 @: $(MAKE); $(unstage)
7627 @[ -f ./dejagnu/Makefile ] || exit 0; \
7628 r=`${PWD_COMMAND}`; export r; \
7629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7630 $(HOST_EXPORTS) \
7631 for flag in $(EXTRA_HOST_FLAGS) ; do \
7632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7633 done; \
7634 echo "Doing pdf in dejagnu"; \
7635 (cd $(HOST_SUBDIR)/dejagnu && \
7636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7638 "RANLIB=$${RANLIB}" \
7639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7640 pdf) \
7641 || exit 1
7642
7643 @endif dejagnu
7644
7645 .PHONY: maybe-html-dejagnu html-dejagnu
7646 maybe-html-dejagnu:
7647 @if dejagnu
7648 maybe-html-dejagnu: html-dejagnu
7649
7650 html-dejagnu: \
7651 configure-dejagnu
7652 @: $(MAKE); $(unstage)
7653 @[ -f ./dejagnu/Makefile ] || exit 0; \
7654 r=`${PWD_COMMAND}`; export r; \
7655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7656 $(HOST_EXPORTS) \
7657 for flag in $(EXTRA_HOST_FLAGS) ; do \
7658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7659 done; \
7660 echo "Doing html in dejagnu"; \
7661 (cd $(HOST_SUBDIR)/dejagnu && \
7662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7664 "RANLIB=$${RANLIB}" \
7665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7666 html) \
7667 || exit 1
7668
7669 @endif dejagnu
7670
7671 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7672 maybe-TAGS-dejagnu:
7673 @if dejagnu
7674 maybe-TAGS-dejagnu: TAGS-dejagnu
7675
7676 TAGS-dejagnu: \
7677 configure-dejagnu
7678 @: $(MAKE); $(unstage)
7679 @[ -f ./dejagnu/Makefile ] || exit 0; \
7680 r=`${PWD_COMMAND}`; export r; \
7681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7682 $(HOST_EXPORTS) \
7683 for flag in $(EXTRA_HOST_FLAGS) ; do \
7684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7685 done; \
7686 echo "Doing TAGS in dejagnu"; \
7687 (cd $(HOST_SUBDIR)/dejagnu && \
7688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7690 "RANLIB=$${RANLIB}" \
7691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7692 TAGS) \
7693 || exit 1
7694
7695 @endif dejagnu
7696
7697 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7698 maybe-install-info-dejagnu:
7699 @if dejagnu
7700 maybe-install-info-dejagnu: install-info-dejagnu
7701
7702 install-info-dejagnu: \
7703 configure-dejagnu \
7704 info-dejagnu
7705 @: $(MAKE); $(unstage)
7706 @[ -f ./dejagnu/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing install-info in dejagnu"; \
7714 (cd $(HOST_SUBDIR)/dejagnu && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7719 install-info) \
7720 || exit 1
7721
7722 @endif dejagnu
7723
7724 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7725 maybe-install-pdf-dejagnu:
7726 @if dejagnu
7727 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7728
7729 install-pdf-dejagnu: \
7730 configure-dejagnu \
7731 pdf-dejagnu
7732 @: $(MAKE); $(unstage)
7733 @[ -f ./dejagnu/Makefile ] || exit 0; \
7734 r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 $(HOST_EXPORTS) \
7737 for flag in $(EXTRA_HOST_FLAGS) ; do \
7738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739 done; \
7740 echo "Doing install-pdf in dejagnu"; \
7741 (cd $(HOST_SUBDIR)/dejagnu && \
7742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7744 "RANLIB=$${RANLIB}" \
7745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7746 install-pdf) \
7747 || exit 1
7748
7749 @endif dejagnu
7750
7751 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7752 maybe-install-html-dejagnu:
7753 @if dejagnu
7754 maybe-install-html-dejagnu: install-html-dejagnu
7755
7756 install-html-dejagnu: \
7757 configure-dejagnu \
7758 html-dejagnu
7759 @: $(MAKE); $(unstage)
7760 @[ -f ./dejagnu/Makefile ] || exit 0; \
7761 r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 $(HOST_EXPORTS) \
7764 for flag in $(EXTRA_HOST_FLAGS) ; do \
7765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7766 done; \
7767 echo "Doing install-html in dejagnu"; \
7768 (cd $(HOST_SUBDIR)/dejagnu && \
7769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7771 "RANLIB=$${RANLIB}" \
7772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7773 install-html) \
7774 || exit 1
7775
7776 @endif dejagnu
7777
7778 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7779 maybe-installcheck-dejagnu:
7780 @if dejagnu
7781 maybe-installcheck-dejagnu: installcheck-dejagnu
7782
7783 installcheck-dejagnu: \
7784 configure-dejagnu
7785 @: $(MAKE); $(unstage)
7786 @[ -f ./dejagnu/Makefile ] || exit 0; \
7787 r=`${PWD_COMMAND}`; export r; \
7788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7789 $(HOST_EXPORTS) \
7790 for flag in $(EXTRA_HOST_FLAGS) ; do \
7791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7792 done; \
7793 echo "Doing installcheck in dejagnu"; \
7794 (cd $(HOST_SUBDIR)/dejagnu && \
7795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7797 "RANLIB=$${RANLIB}" \
7798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7799 installcheck) \
7800 || exit 1
7801
7802 @endif dejagnu
7803
7804 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7805 maybe-mostlyclean-dejagnu:
7806 @if dejagnu
7807 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7808
7809 mostlyclean-dejagnu:
7810 @: $(MAKE); $(unstage)
7811 @[ -f ./dejagnu/Makefile ] || exit 0; \
7812 r=`${PWD_COMMAND}`; export r; \
7813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7814 $(HOST_EXPORTS) \
7815 for flag in $(EXTRA_HOST_FLAGS) ; do \
7816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7817 done; \
7818 echo "Doing mostlyclean in dejagnu"; \
7819 (cd $(HOST_SUBDIR)/dejagnu && \
7820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7822 "RANLIB=$${RANLIB}" \
7823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7824 mostlyclean) \
7825 || exit 1
7826
7827 @endif dejagnu
7828
7829 .PHONY: maybe-clean-dejagnu clean-dejagnu
7830 maybe-clean-dejagnu:
7831 @if dejagnu
7832 maybe-clean-dejagnu: clean-dejagnu
7833
7834 clean-dejagnu:
7835 @: $(MAKE); $(unstage)
7836 @[ -f ./dejagnu/Makefile ] || exit 0; \
7837 r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7839 $(HOST_EXPORTS) \
7840 for flag in $(EXTRA_HOST_FLAGS) ; do \
7841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7842 done; \
7843 echo "Doing clean in dejagnu"; \
7844 (cd $(HOST_SUBDIR)/dejagnu && \
7845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7847 "RANLIB=$${RANLIB}" \
7848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7849 clean) \
7850 || exit 1
7851
7852 @endif dejagnu
7853
7854 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7855 maybe-distclean-dejagnu:
7856 @if dejagnu
7857 maybe-distclean-dejagnu: distclean-dejagnu
7858
7859 distclean-dejagnu:
7860 @: $(MAKE); $(unstage)
7861 @[ -f ./dejagnu/Makefile ] || exit 0; \
7862 r=`${PWD_COMMAND}`; export r; \
7863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7864 $(HOST_EXPORTS) \
7865 for flag in $(EXTRA_HOST_FLAGS) ; do \
7866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7867 done; \
7868 echo "Doing distclean in dejagnu"; \
7869 (cd $(HOST_SUBDIR)/dejagnu && \
7870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7872 "RANLIB=$${RANLIB}" \
7873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7874 distclean) \
7875 || exit 1
7876
7877 @endif dejagnu
7878
7879 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7880 maybe-maintainer-clean-dejagnu:
7881 @if dejagnu
7882 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7883
7884 maintainer-clean-dejagnu:
7885 @: $(MAKE); $(unstage)
7886 @[ -f ./dejagnu/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing maintainer-clean in dejagnu"; \
7894 (cd $(HOST_SUBDIR)/dejagnu && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7899 maintainer-clean) \
7900 || exit 1
7901
7902 @endif dejagnu
7903
7904
7905
7906 .PHONY: configure-etc maybe-configure-etc
7907 maybe-configure-etc:
7908 @if gcc-bootstrap
7909 configure-etc: stage_current
7910 @endif gcc-bootstrap
7911 @if etc
7912 maybe-configure-etc: configure-etc
7913 configure-etc:
7914 @: $(MAKE); $(unstage)
7915 @r=`${PWD_COMMAND}`; export r; \
7916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7917 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7919 $(HOST_EXPORTS) \
7920 echo Configuring in $(HOST_SUBDIR)/etc; \
7921 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7922 case $(srcdir) in \
7923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7924 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7926 esac; \
7927 module_srcdir=etc; \
7928 $(SHELL) \
7929 $$s/$$module_srcdir/configure \
7930 --srcdir=$${topdir}/$$module_srcdir \
7931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7932 --target=${target_alias} \
7933 || exit 1
7934 @endif etc
7935
7936
7937
7938
7939
7940 .PHONY: all-etc maybe-all-etc
7941 maybe-all-etc:
7942 @if gcc-bootstrap
7943 all-etc: stage_current
7944 @endif gcc-bootstrap
7945 @if etc
7946 TARGET-etc=all
7947 maybe-all-etc: all-etc
7948 all-etc: configure-etc
7949 @: $(MAKE); $(unstage)
7950 @r=`${PWD_COMMAND}`; export r; \
7951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7952 $(HOST_EXPORTS) \
7953 (cd $(HOST_SUBDIR)/etc && \
7954 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7955 $(TARGET-etc))
7956 @endif etc
7957
7958
7959
7960
7961 .PHONY: check-etc maybe-check-etc
7962 maybe-check-etc:
7963 @if etc
7964 maybe-check-etc: check-etc
7965
7966 check-etc:
7967 @: $(MAKE); $(unstage)
7968 @r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 (cd $(HOST_SUBDIR)/etc && \
7972 $(MAKE) $(FLAGS_TO_PASS) check)
7973
7974 @endif etc
7975
7976 .PHONY: install-etc maybe-install-etc
7977 maybe-install-etc:
7978 @if etc
7979 maybe-install-etc: install-etc
7980
7981 install-etc: installdirs
7982 @: $(MAKE); $(unstage)
7983 @r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 $(HOST_EXPORTS) \
7986 (cd $(HOST_SUBDIR)/etc && \
7987 $(MAKE) $(FLAGS_TO_PASS) install)
7988
7989 @endif etc
7990
7991 .PHONY: install-strip-etc maybe-install-strip-etc
7992 maybe-install-strip-etc:
7993 @if etc
7994 maybe-install-strip-etc: install-strip-etc
7995
7996 install-strip-etc: installdirs
7997 @: $(MAKE); $(unstage)
7998 @r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8000 $(HOST_EXPORTS) \
8001 (cd $(HOST_SUBDIR)/etc && \
8002 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8003
8004 @endif etc
8005
8006 # Other targets (info, dvi, pdf, etc.)
8007
8008 .PHONY: maybe-info-etc info-etc
8009 maybe-info-etc:
8010 @if etc
8011 maybe-info-etc: info-etc
8012
8013 info-etc: \
8014 configure-etc
8015 @: $(MAKE); $(unstage)
8016 @[ -f ./etc/Makefile ] || exit 0; \
8017 r=`${PWD_COMMAND}`; export r; \
8018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8019 $(HOST_EXPORTS) \
8020 for flag in $(EXTRA_HOST_FLAGS) ; do \
8021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8022 done; \
8023 echo "Doing info in etc"; \
8024 (cd $(HOST_SUBDIR)/etc && \
8025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8027 "RANLIB=$${RANLIB}" \
8028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8029 info) \
8030 || exit 1
8031
8032 @endif etc
8033
8034 .PHONY: maybe-dvi-etc dvi-etc
8035 maybe-dvi-etc:
8036 @if etc
8037 maybe-dvi-etc: dvi-etc
8038
8039 dvi-etc: \
8040 configure-etc
8041 @: $(MAKE); $(unstage)
8042 @[ -f ./etc/Makefile ] || exit 0; \
8043 r=`${PWD_COMMAND}`; export r; \
8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 $(HOST_EXPORTS) \
8046 for flag in $(EXTRA_HOST_FLAGS) ; do \
8047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 done; \
8049 echo "Doing dvi in etc"; \
8050 (cd $(HOST_SUBDIR)/etc && \
8051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8053 "RANLIB=$${RANLIB}" \
8054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8055 dvi) \
8056 || exit 1
8057
8058 @endif etc
8059
8060 .PHONY: maybe-pdf-etc pdf-etc
8061 maybe-pdf-etc:
8062 @if etc
8063 maybe-pdf-etc: pdf-etc
8064
8065 pdf-etc: \
8066 configure-etc
8067 @: $(MAKE); $(unstage)
8068 @[ -f ./etc/Makefile ] || exit 0; \
8069 r=`${PWD_COMMAND}`; export r; \
8070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8071 $(HOST_EXPORTS) \
8072 for flag in $(EXTRA_HOST_FLAGS) ; do \
8073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8074 done; \
8075 echo "Doing pdf in etc"; \
8076 (cd $(HOST_SUBDIR)/etc && \
8077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8079 "RANLIB=$${RANLIB}" \
8080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8081 pdf) \
8082 || exit 1
8083
8084 @endif etc
8085
8086 .PHONY: maybe-html-etc html-etc
8087 maybe-html-etc:
8088 @if etc
8089 maybe-html-etc: html-etc
8090
8091 html-etc: \
8092 configure-etc
8093 @: $(MAKE); $(unstage)
8094 @[ -f ./etc/Makefile ] || exit 0; \
8095 r=`${PWD_COMMAND}`; export r; \
8096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8097 $(HOST_EXPORTS) \
8098 for flag in $(EXTRA_HOST_FLAGS) ; do \
8099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8100 done; \
8101 echo "Doing html in etc"; \
8102 (cd $(HOST_SUBDIR)/etc && \
8103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8105 "RANLIB=$${RANLIB}" \
8106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8107 html) \
8108 || exit 1
8109
8110 @endif etc
8111
8112 .PHONY: maybe-TAGS-etc TAGS-etc
8113 maybe-TAGS-etc:
8114 @if etc
8115 maybe-TAGS-etc: TAGS-etc
8116
8117 TAGS-etc: \
8118 configure-etc
8119 @: $(MAKE); $(unstage)
8120 @[ -f ./etc/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS) ; do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing TAGS in etc"; \
8128 (cd $(HOST_SUBDIR)/etc && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8133 TAGS) \
8134 || exit 1
8135
8136 @endif etc
8137
8138 .PHONY: maybe-install-info-etc install-info-etc
8139 maybe-install-info-etc:
8140 @if etc
8141 maybe-install-info-etc: install-info-etc
8142
8143 install-info-etc: \
8144 configure-etc \
8145 info-etc
8146 @: $(MAKE); $(unstage)
8147 @[ -f ./etc/Makefile ] || exit 0; \
8148 r=`${PWD_COMMAND}`; export r; \
8149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8150 $(HOST_EXPORTS) \
8151 for flag in $(EXTRA_HOST_FLAGS) ; do \
8152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8153 done; \
8154 echo "Doing install-info in etc"; \
8155 (cd $(HOST_SUBDIR)/etc && \
8156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8158 "RANLIB=$${RANLIB}" \
8159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8160 install-info) \
8161 || exit 1
8162
8163 @endif etc
8164
8165 .PHONY: maybe-install-pdf-etc install-pdf-etc
8166 maybe-install-pdf-etc:
8167 @if etc
8168 maybe-install-pdf-etc: install-pdf-etc
8169
8170 install-pdf-etc: \
8171 configure-etc \
8172 pdf-etc
8173 @: $(MAKE); $(unstage)
8174 @[ -f ./etc/Makefile ] || exit 0; \
8175 r=`${PWD_COMMAND}`; export r; \
8176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8177 $(HOST_EXPORTS) \
8178 for flag in $(EXTRA_HOST_FLAGS) ; do \
8179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8180 done; \
8181 echo "Doing install-pdf in etc"; \
8182 (cd $(HOST_SUBDIR)/etc && \
8183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8185 "RANLIB=$${RANLIB}" \
8186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8187 install-pdf) \
8188 || exit 1
8189
8190 @endif etc
8191
8192 .PHONY: maybe-install-html-etc install-html-etc
8193 maybe-install-html-etc:
8194 @if etc
8195 maybe-install-html-etc: install-html-etc
8196
8197 install-html-etc: \
8198 configure-etc \
8199 html-etc
8200 @: $(MAKE); $(unstage)
8201 @[ -f ./etc/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing install-html in etc"; \
8209 (cd $(HOST_SUBDIR)/etc && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8214 install-html) \
8215 || exit 1
8216
8217 @endif etc
8218
8219 .PHONY: maybe-installcheck-etc installcheck-etc
8220 maybe-installcheck-etc:
8221 @if etc
8222 maybe-installcheck-etc: installcheck-etc
8223
8224 installcheck-etc: \
8225 configure-etc
8226 @: $(MAKE); $(unstage)
8227 @[ -f ./etc/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 for flag in $(EXTRA_HOST_FLAGS) ; do \
8232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 done; \
8234 echo "Doing installcheck in etc"; \
8235 (cd $(HOST_SUBDIR)/etc && \
8236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8238 "RANLIB=$${RANLIB}" \
8239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8240 installcheck) \
8241 || exit 1
8242
8243 @endif etc
8244
8245 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8246 maybe-mostlyclean-etc:
8247 @if etc
8248 maybe-mostlyclean-etc: mostlyclean-etc
8249
8250 mostlyclean-etc:
8251 @: $(MAKE); $(unstage)
8252 @[ -f ./etc/Makefile ] || exit 0; \
8253 r=`${PWD_COMMAND}`; export r; \
8254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 $(HOST_EXPORTS) \
8256 for flag in $(EXTRA_HOST_FLAGS) ; do \
8257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8258 done; \
8259 echo "Doing mostlyclean in etc"; \
8260 (cd $(HOST_SUBDIR)/etc && \
8261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8263 "RANLIB=$${RANLIB}" \
8264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8265 mostlyclean) \
8266 || exit 1
8267
8268 @endif etc
8269
8270 .PHONY: maybe-clean-etc clean-etc
8271 maybe-clean-etc:
8272 @if etc
8273 maybe-clean-etc: clean-etc
8274
8275 clean-etc:
8276 @: $(MAKE); $(unstage)
8277 @[ -f ./etc/Makefile ] || exit 0; \
8278 r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(HOST_EXPORTS) \
8281 for flag in $(EXTRA_HOST_FLAGS) ; do \
8282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8283 done; \
8284 echo "Doing clean in etc"; \
8285 (cd $(HOST_SUBDIR)/etc && \
8286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8288 "RANLIB=$${RANLIB}" \
8289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8290 clean) \
8291 || exit 1
8292
8293 @endif etc
8294
8295 .PHONY: maybe-distclean-etc distclean-etc
8296 maybe-distclean-etc:
8297 @if etc
8298 maybe-distclean-etc: distclean-etc
8299
8300 distclean-etc:
8301 @: $(MAKE); $(unstage)
8302 @[ -f ./etc/Makefile ] || exit 0; \
8303 r=`${PWD_COMMAND}`; export r; \
8304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8305 $(HOST_EXPORTS) \
8306 for flag in $(EXTRA_HOST_FLAGS) ; do \
8307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8308 done; \
8309 echo "Doing distclean in etc"; \
8310 (cd $(HOST_SUBDIR)/etc && \
8311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8313 "RANLIB=$${RANLIB}" \
8314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8315 distclean) \
8316 || exit 1
8317
8318 @endif etc
8319
8320 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8321 maybe-maintainer-clean-etc:
8322 @if etc
8323 maybe-maintainer-clean-etc: maintainer-clean-etc
8324
8325 maintainer-clean-etc:
8326 @: $(MAKE); $(unstage)
8327 @[ -f ./etc/Makefile ] || exit 0; \
8328 r=`${PWD_COMMAND}`; export r; \
8329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8330 $(HOST_EXPORTS) \
8331 for flag in $(EXTRA_HOST_FLAGS) ; do \
8332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8333 done; \
8334 echo "Doing maintainer-clean in etc"; \
8335 (cd $(HOST_SUBDIR)/etc && \
8336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8338 "RANLIB=$${RANLIB}" \
8339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8340 maintainer-clean) \
8341 || exit 1
8342
8343 @endif etc
8344
8345
8346
8347 .PHONY: configure-fastjar maybe-configure-fastjar
8348 maybe-configure-fastjar:
8349 @if gcc-bootstrap
8350 configure-fastjar: stage_current
8351 @endif gcc-bootstrap
8352 @if fastjar
8353 maybe-configure-fastjar: configure-fastjar
8354 configure-fastjar:
8355 @: $(MAKE); $(unstage)
8356 @r=`${PWD_COMMAND}`; export r; \
8357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8360 $(HOST_EXPORTS) \
8361 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8362 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8363 case $(srcdir) in \
8364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8365 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8367 esac; \
8368 module_srcdir=fastjar; \
8369 $(SHELL) \
8370 $$s/$$module_srcdir/configure \
8371 --srcdir=$${topdir}/$$module_srcdir \
8372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8373 --target=${target_alias} \
8374 || exit 1
8375 @endif fastjar
8376
8377
8378
8379
8380
8381 .PHONY: all-fastjar maybe-all-fastjar
8382 maybe-all-fastjar:
8383 @if gcc-bootstrap
8384 all-fastjar: stage_current
8385 @endif gcc-bootstrap
8386 @if fastjar
8387 TARGET-fastjar=all
8388 maybe-all-fastjar: all-fastjar
8389 all-fastjar: configure-fastjar
8390 @: $(MAKE); $(unstage)
8391 @r=`${PWD_COMMAND}`; export r; \
8392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8393 $(HOST_EXPORTS) \
8394 (cd $(HOST_SUBDIR)/fastjar && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8396 $(TARGET-fastjar))
8397 @endif fastjar
8398
8399
8400
8401
8402 .PHONY: check-fastjar maybe-check-fastjar
8403 maybe-check-fastjar:
8404 @if fastjar
8405 maybe-check-fastjar: check-fastjar
8406
8407 # This module is only tested in a native toolchain.
8408 check-fastjar:
8409 @: $(MAKE); $(unstage)
8410 @if [ '$(host)' = '$(target)' ]; then \
8411 r=`${PWD_COMMAND}`; export r; \
8412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8413 $(HOST_EXPORTS) \
8414 (cd $(HOST_SUBDIR)/fastjar && \
8415 $(MAKE) $(FLAGS_TO_PASS) check)
8416 fi
8417
8418 @endif fastjar
8419
8420 .PHONY: install-fastjar maybe-install-fastjar
8421 maybe-install-fastjar:
8422 @if fastjar
8423 maybe-install-fastjar: install-fastjar
8424
8425 install-fastjar: installdirs
8426 @: $(MAKE); $(unstage)
8427 @r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(HOST_EXPORTS) \
8430 (cd $(HOST_SUBDIR)/fastjar && \
8431 $(MAKE) $(FLAGS_TO_PASS) install)
8432
8433 @endif fastjar
8434
8435 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8436 maybe-install-strip-fastjar:
8437 @if fastjar
8438 maybe-install-strip-fastjar: install-strip-fastjar
8439
8440 install-strip-fastjar: installdirs
8441 @: $(MAKE); $(unstage)
8442 @r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 (cd $(HOST_SUBDIR)/fastjar && \
8446 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8447
8448 @endif fastjar
8449
8450 # Other targets (info, dvi, pdf, etc.)
8451
8452 .PHONY: maybe-info-fastjar info-fastjar
8453 maybe-info-fastjar:
8454 @if fastjar
8455 maybe-info-fastjar: info-fastjar
8456
8457 info-fastjar: \
8458 configure-fastjar
8459 @: $(MAKE); $(unstage)
8460 @[ -f ./fastjar/Makefile ] || exit 0; \
8461 r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing info in fastjar"; \
8468 (cd $(HOST_SUBDIR)/fastjar && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8473 info) \
8474 || exit 1
8475
8476 @endif fastjar
8477
8478 .PHONY: maybe-dvi-fastjar dvi-fastjar
8479 maybe-dvi-fastjar:
8480 @if fastjar
8481 maybe-dvi-fastjar: dvi-fastjar
8482
8483 dvi-fastjar: \
8484 configure-fastjar
8485 @: $(MAKE); $(unstage)
8486 @[ -f ./fastjar/Makefile ] || exit 0; \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8489 $(HOST_EXPORTS) \
8490 for flag in $(EXTRA_HOST_FLAGS) ; do \
8491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8492 done; \
8493 echo "Doing dvi in fastjar"; \
8494 (cd $(HOST_SUBDIR)/fastjar && \
8495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8497 "RANLIB=$${RANLIB}" \
8498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8499 dvi) \
8500 || exit 1
8501
8502 @endif fastjar
8503
8504 .PHONY: maybe-pdf-fastjar pdf-fastjar
8505 maybe-pdf-fastjar:
8506 @if fastjar
8507 maybe-pdf-fastjar: pdf-fastjar
8508
8509 pdf-fastjar: \
8510 configure-fastjar
8511 @: $(MAKE); $(unstage)
8512 @[ -f ./fastjar/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 pdf in fastjar"; \
8520 (cd $(HOST_SUBDIR)/fastjar && \
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 pdf) \
8526 || exit 1
8527
8528 @endif fastjar
8529
8530 .PHONY: maybe-html-fastjar html-fastjar
8531 maybe-html-fastjar:
8532 @if fastjar
8533 maybe-html-fastjar: html-fastjar
8534
8535 html-fastjar: \
8536 configure-fastjar
8537 @: $(MAKE); $(unstage)
8538 @[ -f ./fastjar/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 html in fastjar"; \
8546 (cd $(HOST_SUBDIR)/fastjar && \
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 html) \
8552 || exit 1
8553
8554 @endif fastjar
8555
8556 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8557 maybe-TAGS-fastjar:
8558 @if fastjar
8559 maybe-TAGS-fastjar: TAGS-fastjar
8560
8561 TAGS-fastjar: \
8562 configure-fastjar
8563 @: $(MAKE); $(unstage)
8564 @[ -f ./fastjar/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 TAGS in fastjar"; \
8572 (cd $(HOST_SUBDIR)/fastjar && \
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 TAGS) \
8578 || exit 1
8579
8580 @endif fastjar
8581
8582 .PHONY: maybe-install-info-fastjar install-info-fastjar
8583 maybe-install-info-fastjar:
8584 @if fastjar
8585 maybe-install-info-fastjar: install-info-fastjar
8586
8587 install-info-fastjar: \
8588 configure-fastjar \
8589 info-fastjar
8590 @: $(MAKE); $(unstage)
8591 @[ -f ./fastjar/Makefile ] || exit 0; \
8592 r=`${PWD_COMMAND}`; export r; \
8593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 $(HOST_EXPORTS) \
8595 for flag in $(EXTRA_HOST_FLAGS) ; do \
8596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8597 done; \
8598 echo "Doing install-info in fastjar"; \
8599 (cd $(HOST_SUBDIR)/fastjar && \
8600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602 "RANLIB=$${RANLIB}" \
8603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8604 install-info) \
8605 || exit 1
8606
8607 @endif fastjar
8608
8609 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8610 maybe-install-pdf-fastjar:
8611 @if fastjar
8612 maybe-install-pdf-fastjar: install-pdf-fastjar
8613
8614 install-pdf-fastjar: \
8615 configure-fastjar \
8616 pdf-fastjar
8617 @: $(MAKE); $(unstage)
8618 @[ -f ./fastjar/Makefile ] || exit 0; \
8619 r=`${PWD_COMMAND}`; export r; \
8620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621 $(HOST_EXPORTS) \
8622 for flag in $(EXTRA_HOST_FLAGS) ; do \
8623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8624 done; \
8625 echo "Doing install-pdf in fastjar"; \
8626 (cd $(HOST_SUBDIR)/fastjar && \
8627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8629 "RANLIB=$${RANLIB}" \
8630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8631 install-pdf) \
8632 || exit 1
8633
8634 @endif fastjar
8635
8636 .PHONY: maybe-install-html-fastjar install-html-fastjar
8637 maybe-install-html-fastjar:
8638 @if fastjar
8639 maybe-install-html-fastjar: install-html-fastjar
8640
8641 install-html-fastjar: \
8642 configure-fastjar \
8643 html-fastjar
8644 @: $(MAKE); $(unstage)
8645 @[ -f ./fastjar/Makefile ] || exit 0; \
8646 r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648 $(HOST_EXPORTS) \
8649 for flag in $(EXTRA_HOST_FLAGS) ; do \
8650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8651 done; \
8652 echo "Doing install-html in fastjar"; \
8653 (cd $(HOST_SUBDIR)/fastjar && \
8654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8656 "RANLIB=$${RANLIB}" \
8657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8658 install-html) \
8659 || exit 1
8660
8661 @endif fastjar
8662
8663 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8664 maybe-installcheck-fastjar:
8665 @if fastjar
8666 maybe-installcheck-fastjar: installcheck-fastjar
8667
8668 installcheck-fastjar: \
8669 configure-fastjar
8670 @: $(MAKE); $(unstage)
8671 @[ -f ./fastjar/Makefile ] || exit 0; \
8672 r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8674 $(HOST_EXPORTS) \
8675 for flag in $(EXTRA_HOST_FLAGS) ; do \
8676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8677 done; \
8678 echo "Doing installcheck in fastjar"; \
8679 (cd $(HOST_SUBDIR)/fastjar && \
8680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8682 "RANLIB=$${RANLIB}" \
8683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8684 installcheck) \
8685 || exit 1
8686
8687 @endif fastjar
8688
8689 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8690 maybe-mostlyclean-fastjar:
8691 @if fastjar
8692 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8693
8694 mostlyclean-fastjar:
8695 @: $(MAKE); $(unstage)
8696 @[ -f ./fastjar/Makefile ] || exit 0; \
8697 r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8699 $(HOST_EXPORTS) \
8700 for flag in $(EXTRA_HOST_FLAGS) ; do \
8701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8702 done; \
8703 echo "Doing mostlyclean in fastjar"; \
8704 (cd $(HOST_SUBDIR)/fastjar && \
8705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8707 "RANLIB=$${RANLIB}" \
8708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8709 mostlyclean) \
8710 || exit 1
8711
8712 @endif fastjar
8713
8714 .PHONY: maybe-clean-fastjar clean-fastjar
8715 maybe-clean-fastjar:
8716 @if fastjar
8717 maybe-clean-fastjar: clean-fastjar
8718
8719 clean-fastjar:
8720 @: $(MAKE); $(unstage)
8721 @[ -f ./fastjar/Makefile ] || exit 0; \
8722 r=`${PWD_COMMAND}`; export r; \
8723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8724 $(HOST_EXPORTS) \
8725 for flag in $(EXTRA_HOST_FLAGS) ; do \
8726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8727 done; \
8728 echo "Doing clean in fastjar"; \
8729 (cd $(HOST_SUBDIR)/fastjar && \
8730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8732 "RANLIB=$${RANLIB}" \
8733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8734 clean) \
8735 || exit 1
8736
8737 @endif fastjar
8738
8739 .PHONY: maybe-distclean-fastjar distclean-fastjar
8740 maybe-distclean-fastjar:
8741 @if fastjar
8742 maybe-distclean-fastjar: distclean-fastjar
8743
8744 distclean-fastjar:
8745 @: $(MAKE); $(unstage)
8746 @[ -f ./fastjar/Makefile ] || exit 0; \
8747 r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(HOST_EXPORTS) \
8750 for flag in $(EXTRA_HOST_FLAGS) ; do \
8751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8752 done; \
8753 echo "Doing distclean in fastjar"; \
8754 (cd $(HOST_SUBDIR)/fastjar && \
8755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8757 "RANLIB=$${RANLIB}" \
8758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8759 distclean) \
8760 || exit 1
8761
8762 @endif fastjar
8763
8764 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8765 maybe-maintainer-clean-fastjar:
8766 @if fastjar
8767 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8768
8769 maintainer-clean-fastjar:
8770 @: $(MAKE); $(unstage)
8771 @[ -f ./fastjar/Makefile ] || exit 0; \
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774 $(HOST_EXPORTS) \
8775 for flag in $(EXTRA_HOST_FLAGS) ; do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8777 done; \
8778 echo "Doing maintainer-clean in fastjar"; \
8779 (cd $(HOST_SUBDIR)/fastjar && \
8780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782 "RANLIB=$${RANLIB}" \
8783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8784 maintainer-clean) \
8785 || exit 1
8786
8787 @endif fastjar
8788
8789
8790
8791 .PHONY: configure-fixincludes maybe-configure-fixincludes
8792 maybe-configure-fixincludes:
8793 @if gcc-bootstrap
8794 configure-fixincludes: stage_current
8795 @endif gcc-bootstrap
8796 @if fixincludes
8797 maybe-configure-fixincludes: configure-fixincludes
8798 configure-fixincludes:
8799 @r=`${PWD_COMMAND}`; export r; \
8800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8801 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8803 $(HOST_EXPORTS) \
8804 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8805 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8806 case $(srcdir) in \
8807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8808 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8810 esac; \
8811 module_srcdir=fixincludes; \
8812 $(SHELL) \
8813 $$s/$$module_srcdir/configure \
8814 --srcdir=$${topdir}/$$module_srcdir \
8815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8816 --target=${target_alias} \
8817 || exit 1
8818 @endif fixincludes
8819
8820
8821
8822 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8823 maybe-configure-stage1-fixincludes:
8824 @if fixincludes-bootstrap
8825 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8826 configure-stage1-fixincludes:
8827 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8829 @r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 TFLAGS="$(STAGE1_TFLAGS)"; \
8832 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8833 $(HOST_EXPORTS) \
8834 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8835 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8836 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8837 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8839 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8840 case $(srcdir) in \
8841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8842 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8844 esac; \
8845 module_srcdir=fixincludes; \
8846 $(SHELL) $$s/$$module_srcdir/configure \
8847 --srcdir=$${topdir}/$$module_srcdir \
8848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8849 --target=${target_alias} \
8850 \
8851 $(STAGE1_CONFIGURE_FLAGS)
8852 @endif fixincludes-bootstrap
8853
8854 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8855 maybe-configure-stage2-fixincludes:
8856 @if fixincludes-bootstrap
8857 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8858 configure-stage2-fixincludes:
8859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8861 @r=`${PWD_COMMAND}`; export r; \
8862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8863 TFLAGS="$(STAGE2_TFLAGS)"; \
8864 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8865 $(HOST_EXPORTS) \
8866 $(POSTSTAGE1_HOST_EXPORTS) \
8867 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8868 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8869 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8870 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8872 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8873 case $(srcdir) in \
8874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8875 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8877 esac; \
8878 module_srcdir=fixincludes; \
8879 $(SHELL) $$s/$$module_srcdir/configure \
8880 --srcdir=$${topdir}/$$module_srcdir \
8881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8882 --target=${target_alias} \
8883 --with-build-libsubdir=$(HOST_SUBDIR) \
8884 $(STAGE2_CONFIGURE_FLAGS)
8885 @endif fixincludes-bootstrap
8886
8887 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8888 maybe-configure-stage3-fixincludes:
8889 @if fixincludes-bootstrap
8890 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8891 configure-stage3-fixincludes:
8892 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8894 @r=`${PWD_COMMAND}`; export r; \
8895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8896 TFLAGS="$(STAGE3_TFLAGS)"; \
8897 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8898 $(HOST_EXPORTS) \
8899 $(POSTSTAGE1_HOST_EXPORTS) \
8900 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8901 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8902 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8903 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8905 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8906 case $(srcdir) in \
8907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8908 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8910 esac; \
8911 module_srcdir=fixincludes; \
8912 $(SHELL) $$s/$$module_srcdir/configure \
8913 --srcdir=$${topdir}/$$module_srcdir \
8914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8915 --target=${target_alias} \
8916 --with-build-libsubdir=$(HOST_SUBDIR) \
8917 $(STAGE3_CONFIGURE_FLAGS)
8918 @endif fixincludes-bootstrap
8919
8920 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8921 maybe-configure-stage4-fixincludes:
8922 @if fixincludes-bootstrap
8923 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8924 configure-stage4-fixincludes:
8925 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8927 @r=`${PWD_COMMAND}`; export r; \
8928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929 TFLAGS="$(STAGE4_TFLAGS)"; \
8930 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8931 $(HOST_EXPORTS) \
8932 $(POSTSTAGE1_HOST_EXPORTS) \
8933 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8934 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8935 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8936 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8938 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8939 case $(srcdir) in \
8940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8941 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8943 esac; \
8944 module_srcdir=fixincludes; \
8945 $(SHELL) $$s/$$module_srcdir/configure \
8946 --srcdir=$${topdir}/$$module_srcdir \
8947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8948 --target=${target_alias} \
8949 --with-build-libsubdir=$(HOST_SUBDIR) \
8950 $(STAGE4_CONFIGURE_FLAGS)
8951 @endif fixincludes-bootstrap
8952
8953 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8954 maybe-configure-stageprofile-fixincludes:
8955 @if fixincludes-bootstrap
8956 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8957 configure-stageprofile-fixincludes:
8958 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8963 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8964 $(HOST_EXPORTS) \
8965 $(POSTSTAGE1_HOST_EXPORTS) \
8966 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8967 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8968 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8969 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8971 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8972 case $(srcdir) in \
8973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8974 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8976 esac; \
8977 module_srcdir=fixincludes; \
8978 $(SHELL) $$s/$$module_srcdir/configure \
8979 --srcdir=$${topdir}/$$module_srcdir \
8980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8981 --target=${target_alias} \
8982 --with-build-libsubdir=$(HOST_SUBDIR) \
8983 $(STAGEprofile_CONFIGURE_FLAGS)
8984 @endif fixincludes-bootstrap
8985
8986 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8987 maybe-configure-stagetrain-fixincludes:
8988 @if fixincludes-bootstrap
8989 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8990 configure-stagetrain-fixincludes:
8991 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8993 @r=`${PWD_COMMAND}`; export r; \
8994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8995 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8996 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8997 $(HOST_EXPORTS) \
8998 $(POSTSTAGE1_HOST_EXPORTS) \
8999 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9000 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9001 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9002 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9004 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9005 case $(srcdir) in \
9006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9007 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9009 esac; \
9010 module_srcdir=fixincludes; \
9011 $(SHELL) $$s/$$module_srcdir/configure \
9012 --srcdir=$${topdir}/$$module_srcdir \
9013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9014 --target=${target_alias} \
9015 --with-build-libsubdir=$(HOST_SUBDIR) \
9016 $(STAGEtrain_CONFIGURE_FLAGS)
9017 @endif fixincludes-bootstrap
9018
9019 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9020 maybe-configure-stagefeedback-fixincludes:
9021 @if fixincludes-bootstrap
9022 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9023 configure-stagefeedback-fixincludes:
9024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9026 @r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9029 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9030 $(HOST_EXPORTS) \
9031 $(POSTSTAGE1_HOST_EXPORTS) \
9032 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9033 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9034 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9035 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9037 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9038 case $(srcdir) in \
9039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9040 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9042 esac; \
9043 module_srcdir=fixincludes; \
9044 $(SHELL) $$s/$$module_srcdir/configure \
9045 --srcdir=$${topdir}/$$module_srcdir \
9046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9047 --target=${target_alias} \
9048 --with-build-libsubdir=$(HOST_SUBDIR) \
9049 $(STAGEfeedback_CONFIGURE_FLAGS)
9050 @endif fixincludes-bootstrap
9051
9052 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9053 maybe-configure-stageautoprofile-fixincludes:
9054 @if fixincludes-bootstrap
9055 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9056 configure-stageautoprofile-fixincludes:
9057 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9059 @r=`${PWD_COMMAND}`; export r; \
9060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9061 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9062 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9063 $(HOST_EXPORTS) \
9064 $(POSTSTAGE1_HOST_EXPORTS) \
9065 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9066 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9067 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9068 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9070 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9071 case $(srcdir) in \
9072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9073 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9075 esac; \
9076 module_srcdir=fixincludes; \
9077 $(SHELL) $$s/$$module_srcdir/configure \
9078 --srcdir=$${topdir}/$$module_srcdir \
9079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9080 --target=${target_alias} \
9081 --with-build-libsubdir=$(HOST_SUBDIR) \
9082 $(STAGEautoprofile_CONFIGURE_FLAGS)
9083 @endif fixincludes-bootstrap
9084
9085 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9086 maybe-configure-stageautofeedback-fixincludes:
9087 @if fixincludes-bootstrap
9088 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9089 configure-stageautofeedback-fixincludes:
9090 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9092 @r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9095 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9096 $(HOST_EXPORTS) \
9097 $(POSTSTAGE1_HOST_EXPORTS) \
9098 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9099 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9100 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9101 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9103 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9104 case $(srcdir) in \
9105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9106 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9108 esac; \
9109 module_srcdir=fixincludes; \
9110 $(SHELL) $$s/$$module_srcdir/configure \
9111 --srcdir=$${topdir}/$$module_srcdir \
9112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9113 --target=${target_alias} \
9114 --with-build-libsubdir=$(HOST_SUBDIR) \
9115 $(STAGEautofeedback_CONFIGURE_FLAGS)
9116 @endif fixincludes-bootstrap
9117
9118
9119
9120
9121
9122 .PHONY: all-fixincludes maybe-all-fixincludes
9123 maybe-all-fixincludes:
9124 @if gcc-bootstrap
9125 all-fixincludes: stage_current
9126 @endif gcc-bootstrap
9127 @if fixincludes
9128 TARGET-fixincludes=all
9129 maybe-all-fixincludes: all-fixincludes
9130 all-fixincludes: configure-fixincludes
9131 @r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 (cd $(HOST_SUBDIR)/fixincludes && \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9136 $(TARGET-fixincludes))
9137 @endif fixincludes
9138
9139
9140
9141 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9142 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9143 maybe-all-stage1-fixincludes:
9144 maybe-clean-stage1-fixincludes:
9145 @if fixincludes-bootstrap
9146 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9147 all-stage1: all-stage1-fixincludes
9148 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9149 all-stage1-fixincludes: configure-stage1-fixincludes
9150 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9151 @r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153 TFLAGS="$(STAGE1_TFLAGS)"; \
9154 $(HOST_EXPORTS) \
9155 cd $(HOST_SUBDIR)/fixincludes && \
9156 \
9157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9158 CFLAGS="$(STAGE1_CFLAGS)" \
9159 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9160 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9161 LIBCFLAGS="$(LIBCFLAGS)" \
9162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9165 $(EXTRA_HOST_FLAGS) \
9166 $(STAGE1_FLAGS_TO_PASS) \
9167 TFLAGS="$(STAGE1_TFLAGS)" \
9168 $(TARGET-stage1-fixincludes)
9169
9170 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9171 clean-stage1: clean-stage1-fixincludes
9172 clean-stage1-fixincludes:
9173 @if [ $(current_stage) = stage1 ]; then \
9174 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9175 else \
9176 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9177 $(MAKE) stage1-start; \
9178 fi; \
9179 cd $(HOST_SUBDIR)/fixincludes && \
9180 $(MAKE) $(EXTRA_HOST_FLAGS) \
9181 $(STAGE1_FLAGS_TO_PASS) clean
9182 @endif fixincludes-bootstrap
9183
9184
9185 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9186 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9187 maybe-all-stage2-fixincludes:
9188 maybe-clean-stage2-fixincludes:
9189 @if fixincludes-bootstrap
9190 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9191 all-stage2: all-stage2-fixincludes
9192 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9193 all-stage2-fixincludes: configure-stage2-fixincludes
9194 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9195 @r=`${PWD_COMMAND}`; export r; \
9196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 TFLAGS="$(STAGE2_TFLAGS)"; \
9198 $(HOST_EXPORTS) \
9199 $(POSTSTAGE1_HOST_EXPORTS) \
9200 cd $(HOST_SUBDIR)/fixincludes && \
9201 \
9202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9203 CFLAGS="$(STAGE2_CFLAGS)" \
9204 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9205 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9206 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9211 TFLAGS="$(STAGE2_TFLAGS)" \
9212 $(TARGET-stage2-fixincludes)
9213
9214 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9215 clean-stage2: clean-stage2-fixincludes
9216 clean-stage2-fixincludes:
9217 @if [ $(current_stage) = stage2 ]; then \
9218 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9219 else \
9220 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9221 $(MAKE) stage2-start; \
9222 fi; \
9223 cd $(HOST_SUBDIR)/fixincludes && \
9224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9225 @endif fixincludes-bootstrap
9226
9227
9228 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9229 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9230 maybe-all-stage3-fixincludes:
9231 maybe-clean-stage3-fixincludes:
9232 @if fixincludes-bootstrap
9233 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9234 all-stage3: all-stage3-fixincludes
9235 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9236 all-stage3-fixincludes: configure-stage3-fixincludes
9237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9238 @r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9240 TFLAGS="$(STAGE3_TFLAGS)"; \
9241 $(HOST_EXPORTS) \
9242 $(POSTSTAGE1_HOST_EXPORTS) \
9243 cd $(HOST_SUBDIR)/fixincludes && \
9244 \
9245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9246 CFLAGS="$(STAGE3_CFLAGS)" \
9247 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9248 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9249 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9254 TFLAGS="$(STAGE3_TFLAGS)" \
9255 $(TARGET-stage3-fixincludes)
9256
9257 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9258 clean-stage3: clean-stage3-fixincludes
9259 clean-stage3-fixincludes:
9260 @if [ $(current_stage) = stage3 ]; then \
9261 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9262 else \
9263 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9264 $(MAKE) stage3-start; \
9265 fi; \
9266 cd $(HOST_SUBDIR)/fixincludes && \
9267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9268 @endif fixincludes-bootstrap
9269
9270
9271 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9272 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9273 maybe-all-stage4-fixincludes:
9274 maybe-clean-stage4-fixincludes:
9275 @if fixincludes-bootstrap
9276 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9277 all-stage4: all-stage4-fixincludes
9278 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9279 all-stage4-fixincludes: configure-stage4-fixincludes
9280 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9281 @r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 TFLAGS="$(STAGE4_TFLAGS)"; \
9284 $(HOST_EXPORTS) \
9285 $(POSTSTAGE1_HOST_EXPORTS) \
9286 cd $(HOST_SUBDIR)/fixincludes && \
9287 \
9288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9289 CFLAGS="$(STAGE4_CFLAGS)" \
9290 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9291 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9292 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9297 TFLAGS="$(STAGE4_TFLAGS)" \
9298 $(TARGET-stage4-fixincludes)
9299
9300 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9301 clean-stage4: clean-stage4-fixincludes
9302 clean-stage4-fixincludes:
9303 @if [ $(current_stage) = stage4 ]; then \
9304 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9305 else \
9306 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9307 $(MAKE) stage4-start; \
9308 fi; \
9309 cd $(HOST_SUBDIR)/fixincludes && \
9310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9311 @endif fixincludes-bootstrap
9312
9313
9314 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9315 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9316 maybe-all-stageprofile-fixincludes:
9317 maybe-clean-stageprofile-fixincludes:
9318 @if fixincludes-bootstrap
9319 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9320 all-stageprofile: all-stageprofile-fixincludes
9321 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9322 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9323 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9324 @r=`${PWD_COMMAND}`; export r; \
9325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9327 $(HOST_EXPORTS) \
9328 $(POSTSTAGE1_HOST_EXPORTS) \
9329 cd $(HOST_SUBDIR)/fixincludes && \
9330 \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9332 CFLAGS="$(STAGEprofile_CFLAGS)" \
9333 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9334 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9335 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9340 TFLAGS="$(STAGEprofile_TFLAGS)" \
9341 $(TARGET-stageprofile-fixincludes)
9342
9343 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9344 clean-stageprofile: clean-stageprofile-fixincludes
9345 clean-stageprofile-fixincludes:
9346 @if [ $(current_stage) = stageprofile ]; then \
9347 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9348 else \
9349 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9350 $(MAKE) stageprofile-start; \
9351 fi; \
9352 cd $(HOST_SUBDIR)/fixincludes && \
9353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9354 @endif fixincludes-bootstrap
9355
9356
9357 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9358 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9359 maybe-all-stagetrain-fixincludes:
9360 maybe-clean-stagetrain-fixincludes:
9361 @if fixincludes-bootstrap
9362 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9363 all-stagetrain: all-stagetrain-fixincludes
9364 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9365 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9366 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9367 @r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9370 $(HOST_EXPORTS) \
9371 $(POSTSTAGE1_HOST_EXPORTS) \
9372 cd $(HOST_SUBDIR)/fixincludes && \
9373 \
9374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9375 CFLAGS="$(STAGEtrain_CFLAGS)" \
9376 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9377 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9378 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9383 TFLAGS="$(STAGEtrain_TFLAGS)" \
9384 $(TARGET-stagetrain-fixincludes)
9385
9386 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9387 clean-stagetrain: clean-stagetrain-fixincludes
9388 clean-stagetrain-fixincludes:
9389 @if [ $(current_stage) = stagetrain ]; then \
9390 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9391 else \
9392 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9393 $(MAKE) stagetrain-start; \
9394 fi; \
9395 cd $(HOST_SUBDIR)/fixincludes && \
9396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9397 @endif fixincludes-bootstrap
9398
9399
9400 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9401 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9402 maybe-all-stagefeedback-fixincludes:
9403 maybe-clean-stagefeedback-fixincludes:
9404 @if fixincludes-bootstrap
9405 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9406 all-stagefeedback: all-stagefeedback-fixincludes
9407 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9408 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9409 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9410 @r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9413 $(HOST_EXPORTS) \
9414 $(POSTSTAGE1_HOST_EXPORTS) \
9415 cd $(HOST_SUBDIR)/fixincludes && \
9416 \
9417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9418 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9419 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9420 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9421 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9426 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9427 $(TARGET-stagefeedback-fixincludes)
9428
9429 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9430 clean-stagefeedback: clean-stagefeedback-fixincludes
9431 clean-stagefeedback-fixincludes:
9432 @if [ $(current_stage) = stagefeedback ]; then \
9433 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9434 else \
9435 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9436 $(MAKE) stagefeedback-start; \
9437 fi; \
9438 cd $(HOST_SUBDIR)/fixincludes && \
9439 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9440 @endif fixincludes-bootstrap
9441
9442
9443 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9444 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9445 maybe-all-stageautoprofile-fixincludes:
9446 maybe-clean-stageautoprofile-fixincludes:
9447 @if fixincludes-bootstrap
9448 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9449 all-stageautoprofile: all-stageautoprofile-fixincludes
9450 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9451 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9452 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9453 @r=`${PWD_COMMAND}`; export r; \
9454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9455 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9456 $(HOST_EXPORTS) \
9457 $(POSTSTAGE1_HOST_EXPORTS) \
9458 cd $(HOST_SUBDIR)/fixincludes && \
9459 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9461 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9462 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9463 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9464 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9468 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9469 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9470 $(TARGET-stageautoprofile-fixincludes)
9471
9472 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9473 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9474 clean-stageautoprofile-fixincludes:
9475 @if [ $(current_stage) = stageautoprofile ]; then \
9476 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9477 else \
9478 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9479 $(MAKE) stageautoprofile-start; \
9480 fi; \
9481 cd $(HOST_SUBDIR)/fixincludes && \
9482 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9483 @endif fixincludes-bootstrap
9484
9485
9486 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9487 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9488 maybe-all-stageautofeedback-fixincludes:
9489 maybe-clean-stageautofeedback-fixincludes:
9490 @if fixincludes-bootstrap
9491 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9492 all-stageautofeedback: all-stageautofeedback-fixincludes
9493 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9494 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9495 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9496 @r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9498 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9499 $(HOST_EXPORTS) \
9500 $(POSTSTAGE1_HOST_EXPORTS) \
9501 cd $(HOST_SUBDIR)/fixincludes && \
9502 \
9503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9504 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9505 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9506 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9507 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9512 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9513 $(TARGET-stageautofeedback-fixincludes)
9514
9515 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9516 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9517 clean-stageautofeedback-fixincludes:
9518 @if [ $(current_stage) = stageautofeedback ]; then \
9519 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9520 else \
9521 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9522 $(MAKE) stageautofeedback-start; \
9523 fi; \
9524 cd $(HOST_SUBDIR)/fixincludes && \
9525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9526 @endif fixincludes-bootstrap
9527
9528
9529
9530
9531
9532 .PHONY: check-fixincludes maybe-check-fixincludes
9533 maybe-check-fixincludes:
9534 @if fixincludes
9535 maybe-check-fixincludes: check-fixincludes
9536
9537 check-fixincludes:
9538 @: $(MAKE); $(unstage)
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9542 (cd $(HOST_SUBDIR)/fixincludes && \
9543 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9544
9545 @endif fixincludes
9546
9547 .PHONY: install-fixincludes maybe-install-fixincludes
9548 maybe-install-fixincludes:
9549 @if fixincludes
9550 maybe-install-fixincludes: install-fixincludes
9551
9552 install-fixincludes: installdirs
9553 @: $(MAKE); $(unstage)
9554 @r=`${PWD_COMMAND}`; export r; \
9555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 $(HOST_EXPORTS) \
9557 (cd $(HOST_SUBDIR)/fixincludes && \
9558 $(MAKE) $(FLAGS_TO_PASS) install)
9559
9560 @endif fixincludes
9561
9562 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9563 maybe-install-strip-fixincludes:
9564 @if fixincludes
9565 maybe-install-strip-fixincludes: install-strip-fixincludes
9566
9567 install-strip-fixincludes: installdirs
9568 @: $(MAKE); $(unstage)
9569 @r=`${PWD_COMMAND}`; export r; \
9570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9571 $(HOST_EXPORTS) \
9572 (cd $(HOST_SUBDIR)/fixincludes && \
9573 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9574
9575 @endif fixincludes
9576
9577 # Other targets (info, dvi, pdf, etc.)
9578
9579 .PHONY: maybe-info-fixincludes info-fixincludes
9580 maybe-info-fixincludes:
9581 @if fixincludes
9582 maybe-info-fixincludes: info-fixincludes
9583
9584 info-fixincludes: \
9585 configure-fixincludes
9586 @[ -f ./fixincludes/Makefile ] || exit 0; \
9587 r=`${PWD_COMMAND}`; export r; \
9588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9589 $(HOST_EXPORTS) \
9590 for flag in $(EXTRA_HOST_FLAGS) ; do \
9591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9592 done; \
9593 echo "Doing info in fixincludes"; \
9594 (cd $(HOST_SUBDIR)/fixincludes && \
9595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9597 "RANLIB=$${RANLIB}" \
9598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9599 info) \
9600 || exit 1
9601
9602 @endif fixincludes
9603
9604 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9605 maybe-dvi-fixincludes:
9606 @if fixincludes
9607 maybe-dvi-fixincludes: dvi-fixincludes
9608
9609 dvi-fixincludes: \
9610 configure-fixincludes
9611 @[ -f ./fixincludes/Makefile ] || exit 0; \
9612 r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 $(HOST_EXPORTS) \
9615 for flag in $(EXTRA_HOST_FLAGS) ; do \
9616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9617 done; \
9618 echo "Doing dvi in fixincludes"; \
9619 (cd $(HOST_SUBDIR)/fixincludes && \
9620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9622 "RANLIB=$${RANLIB}" \
9623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9624 dvi) \
9625 || exit 1
9626
9627 @endif fixincludes
9628
9629 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9630 maybe-pdf-fixincludes:
9631 @if fixincludes
9632 maybe-pdf-fixincludes: pdf-fixincludes
9633
9634 pdf-fixincludes: \
9635 configure-fixincludes
9636 @[ -f ./fixincludes/Makefile ] || exit 0; \
9637 r=`${PWD_COMMAND}`; export r; \
9638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9639 $(HOST_EXPORTS) \
9640 for flag in $(EXTRA_HOST_FLAGS) ; do \
9641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9642 done; \
9643 echo "Doing pdf in fixincludes"; \
9644 (cd $(HOST_SUBDIR)/fixincludes && \
9645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9647 "RANLIB=$${RANLIB}" \
9648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9649 pdf) \
9650 || exit 1
9651
9652 @endif fixincludes
9653
9654 .PHONY: maybe-html-fixincludes html-fixincludes
9655 maybe-html-fixincludes:
9656 @if fixincludes
9657 maybe-html-fixincludes: html-fixincludes
9658
9659 html-fixincludes: \
9660 configure-fixincludes
9661 @[ -f ./fixincludes/Makefile ] || exit 0; \
9662 r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(HOST_EXPORTS) \
9665 for flag in $(EXTRA_HOST_FLAGS) ; do \
9666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9667 done; \
9668 echo "Doing html in fixincludes"; \
9669 (cd $(HOST_SUBDIR)/fixincludes && \
9670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9672 "RANLIB=$${RANLIB}" \
9673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9674 html) \
9675 || exit 1
9676
9677 @endif fixincludes
9678
9679 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9680 maybe-TAGS-fixincludes:
9681 @if fixincludes
9682 maybe-TAGS-fixincludes: TAGS-fixincludes
9683
9684 # fixincludes doesn't support TAGS.
9685 TAGS-fixincludes:
9686
9687 @endif fixincludes
9688
9689 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9690 maybe-install-info-fixincludes:
9691 @if fixincludes
9692 maybe-install-info-fixincludes: install-info-fixincludes
9693
9694 install-info-fixincludes: \
9695 configure-fixincludes \
9696 info-fixincludes
9697 @[ -f ./fixincludes/Makefile ] || exit 0; \
9698 r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 $(HOST_EXPORTS) \
9701 for flag in $(EXTRA_HOST_FLAGS) ; do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 done; \
9704 echo "Doing install-info in fixincludes"; \
9705 (cd $(HOST_SUBDIR)/fixincludes && \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9710 install-info) \
9711 || exit 1
9712
9713 @endif fixincludes
9714
9715 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9716 maybe-install-pdf-fixincludes:
9717 @if fixincludes
9718 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9719
9720 install-pdf-fixincludes: \
9721 configure-fixincludes \
9722 pdf-fixincludes
9723 @[ -f ./fixincludes/Makefile ] || exit 0; \
9724 r=`${PWD_COMMAND}`; export r; \
9725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9726 $(HOST_EXPORTS) \
9727 for flag in $(EXTRA_HOST_FLAGS) ; do \
9728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9729 done; \
9730 echo "Doing install-pdf in fixincludes"; \
9731 (cd $(HOST_SUBDIR)/fixincludes && \
9732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9734 "RANLIB=$${RANLIB}" \
9735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9736 install-pdf) \
9737 || exit 1
9738
9739 @endif fixincludes
9740
9741 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9742 maybe-install-html-fixincludes:
9743 @if fixincludes
9744 maybe-install-html-fixincludes: install-html-fixincludes
9745
9746 install-html-fixincludes: \
9747 configure-fixincludes \
9748 html-fixincludes
9749 @[ -f ./fixincludes/Makefile ] || exit 0; \
9750 r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 $(HOST_EXPORTS) \
9753 for flag in $(EXTRA_HOST_FLAGS) ; do \
9754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9755 done; \
9756 echo "Doing install-html in fixincludes"; \
9757 (cd $(HOST_SUBDIR)/fixincludes && \
9758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9760 "RANLIB=$${RANLIB}" \
9761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9762 install-html) \
9763 || exit 1
9764
9765 @endif fixincludes
9766
9767 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9768 maybe-installcheck-fixincludes:
9769 @if fixincludes
9770 maybe-installcheck-fixincludes: installcheck-fixincludes
9771
9772 installcheck-fixincludes: \
9773 configure-fixincludes
9774 @[ -f ./fixincludes/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(HOST_EXPORTS) \
9778 for flag in $(EXTRA_HOST_FLAGS) ; do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 done; \
9781 echo "Doing installcheck in fixincludes"; \
9782 (cd $(HOST_SUBDIR)/fixincludes && \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9787 installcheck) \
9788 || exit 1
9789
9790 @endif fixincludes
9791
9792 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9793 maybe-mostlyclean-fixincludes:
9794 @if fixincludes
9795 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9796
9797 mostlyclean-fixincludes:
9798 @[ -f ./fixincludes/Makefile ] || exit 0; \
9799 r=`${PWD_COMMAND}`; export r; \
9800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9801 $(HOST_EXPORTS) \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9804 done; \
9805 echo "Doing mostlyclean in fixincludes"; \
9806 (cd $(HOST_SUBDIR)/fixincludes && \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9811 mostlyclean) \
9812 || exit 1
9813
9814 @endif fixincludes
9815
9816 .PHONY: maybe-clean-fixincludes clean-fixincludes
9817 maybe-clean-fixincludes:
9818 @if fixincludes
9819 maybe-clean-fixincludes: clean-fixincludes
9820
9821 clean-fixincludes:
9822 @[ -f ./fixincludes/Makefile ] || exit 0; \
9823 r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9825 $(HOST_EXPORTS) \
9826 for flag in $(EXTRA_HOST_FLAGS) ; do \
9827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9828 done; \
9829 echo "Doing clean in fixincludes"; \
9830 (cd $(HOST_SUBDIR)/fixincludes && \
9831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9833 "RANLIB=$${RANLIB}" \
9834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9835 clean) \
9836 || exit 1
9837
9838 @endif fixincludes
9839
9840 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9841 maybe-distclean-fixincludes:
9842 @if fixincludes
9843 maybe-distclean-fixincludes: distclean-fixincludes
9844
9845 distclean-fixincludes:
9846 @[ -f ./fixincludes/Makefile ] || exit 0; \
9847 r=`${PWD_COMMAND}`; export r; \
9848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9849 $(HOST_EXPORTS) \
9850 for flag in $(EXTRA_HOST_FLAGS) ; do \
9851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9852 done; \
9853 echo "Doing distclean in fixincludes"; \
9854 (cd $(HOST_SUBDIR)/fixincludes && \
9855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9857 "RANLIB=$${RANLIB}" \
9858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9859 distclean) \
9860 || exit 1
9861
9862 @endif fixincludes
9863
9864 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9865 maybe-maintainer-clean-fixincludes:
9866 @if fixincludes
9867 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9868
9869 maintainer-clean-fixincludes:
9870 @[ -f ./fixincludes/Makefile ] || exit 0; \
9871 r=`${PWD_COMMAND}`; export r; \
9872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 $(HOST_EXPORTS) \
9874 for flag in $(EXTRA_HOST_FLAGS) ; do \
9875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9876 done; \
9877 echo "Doing maintainer-clean in fixincludes"; \
9878 (cd $(HOST_SUBDIR)/fixincludes && \
9879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9881 "RANLIB=$${RANLIB}" \
9882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9883 maintainer-clean) \
9884 || exit 1
9885
9886 @endif fixincludes
9887
9888
9889
9890 .PHONY: configure-flex maybe-configure-flex
9891 maybe-configure-flex:
9892 @if gcc-bootstrap
9893 configure-flex: stage_current
9894 @endif gcc-bootstrap
9895 @if flex
9896 maybe-configure-flex: configure-flex
9897 configure-flex:
9898 @: $(MAKE); $(unstage)
9899 @r=`${PWD_COMMAND}`; export r; \
9900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9901 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9903 $(HOST_EXPORTS) \
9904 echo Configuring in $(HOST_SUBDIR)/flex; \
9905 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9906 case $(srcdir) in \
9907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9908 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9910 esac; \
9911 module_srcdir=flex; \
9912 $(SHELL) \
9913 $$s/$$module_srcdir/configure \
9914 --srcdir=$${topdir}/$$module_srcdir \
9915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9916 --target=${target_alias} \
9917 || exit 1
9918 @endif flex
9919
9920
9921
9922
9923
9924 .PHONY: all-flex maybe-all-flex
9925 maybe-all-flex:
9926 @if gcc-bootstrap
9927 all-flex: stage_current
9928 @endif gcc-bootstrap
9929 @if flex
9930 TARGET-flex=all
9931 maybe-all-flex: all-flex
9932 all-flex: configure-flex
9933 @: $(MAKE); $(unstage)
9934 @r=`${PWD_COMMAND}`; export r; \
9935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9936 $(HOST_EXPORTS) \
9937 (cd $(HOST_SUBDIR)/flex && \
9938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9939 $(TARGET-flex))
9940 @endif flex
9941
9942
9943
9944
9945 .PHONY: check-flex maybe-check-flex
9946 maybe-check-flex:
9947 @if flex
9948 maybe-check-flex: check-flex
9949
9950 # This module is only tested in a native toolchain.
9951 check-flex:
9952 @: $(MAKE); $(unstage)
9953 @if [ '$(host)' = '$(target)' ]; then \
9954 r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 (cd $(HOST_SUBDIR)/flex && \
9958 $(MAKE) $(FLAGS_TO_PASS) check)
9959 fi
9960
9961 @endif flex
9962
9963 .PHONY: install-flex maybe-install-flex
9964 maybe-install-flex:
9965 @if flex
9966 maybe-install-flex: install-flex
9967
9968 install-flex: installdirs
9969 @: $(MAKE); $(unstage)
9970 @r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 (cd $(HOST_SUBDIR)/flex && \
9974 $(MAKE) $(FLAGS_TO_PASS) install)
9975
9976 @endif flex
9977
9978 .PHONY: install-strip-flex maybe-install-strip-flex
9979 maybe-install-strip-flex:
9980 @if flex
9981 maybe-install-strip-flex: install-strip-flex
9982
9983 install-strip-flex: installdirs
9984 @: $(MAKE); $(unstage)
9985 @r=`${PWD_COMMAND}`; export r; \
9986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9987 $(HOST_EXPORTS) \
9988 (cd $(HOST_SUBDIR)/flex && \
9989 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9990
9991 @endif flex
9992
9993 # Other targets (info, dvi, pdf, etc.)
9994
9995 .PHONY: maybe-info-flex info-flex
9996 maybe-info-flex:
9997 @if flex
9998 maybe-info-flex: info-flex
9999
10000 info-flex: \
10001 configure-flex
10002 @: $(MAKE); $(unstage)
10003 @[ -f ./flex/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 info in flex"; \
10011 (cd $(HOST_SUBDIR)/flex && \
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 info) \
10017 || exit 1
10018
10019 @endif flex
10020
10021 .PHONY: maybe-dvi-flex dvi-flex
10022 maybe-dvi-flex:
10023 @if flex
10024 maybe-dvi-flex: dvi-flex
10025
10026 dvi-flex: \
10027 configure-flex
10028 @: $(MAKE); $(unstage)
10029 @[ -f ./flex/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 for flag in $(EXTRA_HOST_FLAGS) ; do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 echo "Doing dvi in flex"; \
10037 (cd $(HOST_SUBDIR)/flex && \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10042 dvi) \
10043 || exit 1
10044
10045 @endif flex
10046
10047 .PHONY: maybe-pdf-flex pdf-flex
10048 maybe-pdf-flex:
10049 @if flex
10050 maybe-pdf-flex: pdf-flex
10051
10052 pdf-flex: \
10053 configure-flex
10054 @: $(MAKE); $(unstage)
10055 @[ -f ./flex/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) ; do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing pdf in flex"; \
10063 (cd $(HOST_SUBDIR)/flex && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10068 pdf) \
10069 || exit 1
10070
10071 @endif flex
10072
10073 .PHONY: maybe-html-flex html-flex
10074 maybe-html-flex:
10075 @if flex
10076 maybe-html-flex: html-flex
10077
10078 html-flex: \
10079 configure-flex
10080 @: $(MAKE); $(unstage)
10081 @[ -f ./flex/Makefile ] || exit 0; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(HOST_EXPORTS) \
10085 for flag in $(EXTRA_HOST_FLAGS) ; do \
10086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10087 done; \
10088 echo "Doing html in flex"; \
10089 (cd $(HOST_SUBDIR)/flex && \
10090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10092 "RANLIB=$${RANLIB}" \
10093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10094 html) \
10095 || exit 1
10096
10097 @endif flex
10098
10099 .PHONY: maybe-TAGS-flex TAGS-flex
10100 maybe-TAGS-flex:
10101 @if flex
10102 maybe-TAGS-flex: TAGS-flex
10103
10104 TAGS-flex: \
10105 configure-flex
10106 @: $(MAKE); $(unstage)
10107 @[ -f ./flex/Makefile ] || exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(HOST_EXPORTS) \
10111 for flag in $(EXTRA_HOST_FLAGS) ; do \
10112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10113 done; \
10114 echo "Doing TAGS in flex"; \
10115 (cd $(HOST_SUBDIR)/flex && \
10116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10118 "RANLIB=$${RANLIB}" \
10119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10120 TAGS) \
10121 || exit 1
10122
10123 @endif flex
10124
10125 .PHONY: maybe-install-info-flex install-info-flex
10126 maybe-install-info-flex:
10127 @if flex
10128 maybe-install-info-flex: install-info-flex
10129
10130 install-info-flex: \
10131 configure-flex \
10132 info-flex
10133 @: $(MAKE); $(unstage)
10134 @[ -f ./flex/Makefile ] || exit 0; \
10135 r=`${PWD_COMMAND}`; export r; \
10136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS) ; do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing install-info in flex"; \
10142 (cd $(HOST_SUBDIR)/flex && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10147 install-info) \
10148 || exit 1
10149
10150 @endif flex
10151
10152 .PHONY: maybe-install-pdf-flex install-pdf-flex
10153 maybe-install-pdf-flex:
10154 @if flex
10155 maybe-install-pdf-flex: install-pdf-flex
10156
10157 install-pdf-flex: \
10158 configure-flex \
10159 pdf-flex
10160 @: $(MAKE); $(unstage)
10161 @[ -f ./flex/Makefile ] || exit 0; \
10162 r=`${PWD_COMMAND}`; export r; \
10163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10164 $(HOST_EXPORTS) \
10165 for flag in $(EXTRA_HOST_FLAGS) ; do \
10166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10167 done; \
10168 echo "Doing install-pdf in flex"; \
10169 (cd $(HOST_SUBDIR)/flex && \
10170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10172 "RANLIB=$${RANLIB}" \
10173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10174 install-pdf) \
10175 || exit 1
10176
10177 @endif flex
10178
10179 .PHONY: maybe-install-html-flex install-html-flex
10180 maybe-install-html-flex:
10181 @if flex
10182 maybe-install-html-flex: install-html-flex
10183
10184 install-html-flex: \
10185 configure-flex \
10186 html-flex
10187 @: $(MAKE); $(unstage)
10188 @[ -f ./flex/Makefile ] || exit 0; \
10189 r=`${PWD_COMMAND}`; export r; \
10190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10191 $(HOST_EXPORTS) \
10192 for flag in $(EXTRA_HOST_FLAGS) ; do \
10193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10194 done; \
10195 echo "Doing install-html in flex"; \
10196 (cd $(HOST_SUBDIR)/flex && \
10197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10199 "RANLIB=$${RANLIB}" \
10200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10201 install-html) \
10202 || exit 1
10203
10204 @endif flex
10205
10206 .PHONY: maybe-installcheck-flex installcheck-flex
10207 maybe-installcheck-flex:
10208 @if flex
10209 maybe-installcheck-flex: installcheck-flex
10210
10211 installcheck-flex: \
10212 configure-flex
10213 @: $(MAKE); $(unstage)
10214 @[ -f ./flex/Makefile ] || exit 0; \
10215 r=`${PWD_COMMAND}`; export r; \
10216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10217 $(HOST_EXPORTS) \
10218 for flag in $(EXTRA_HOST_FLAGS) ; do \
10219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10220 done; \
10221 echo "Doing installcheck in flex"; \
10222 (cd $(HOST_SUBDIR)/flex && \
10223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10225 "RANLIB=$${RANLIB}" \
10226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10227 installcheck) \
10228 || exit 1
10229
10230 @endif flex
10231
10232 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10233 maybe-mostlyclean-flex:
10234 @if flex
10235 maybe-mostlyclean-flex: mostlyclean-flex
10236
10237 mostlyclean-flex:
10238 @: $(MAKE); $(unstage)
10239 @[ -f ./flex/Makefile ] || exit 0; \
10240 r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(HOST_EXPORTS) \
10243 for flag in $(EXTRA_HOST_FLAGS) ; do \
10244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10245 done; \
10246 echo "Doing mostlyclean in flex"; \
10247 (cd $(HOST_SUBDIR)/flex && \
10248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10250 "RANLIB=$${RANLIB}" \
10251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10252 mostlyclean) \
10253 || exit 1
10254
10255 @endif flex
10256
10257 .PHONY: maybe-clean-flex clean-flex
10258 maybe-clean-flex:
10259 @if flex
10260 maybe-clean-flex: clean-flex
10261
10262 clean-flex:
10263 @: $(MAKE); $(unstage)
10264 @[ -f ./flex/Makefile ] || exit 0; \
10265 r=`${PWD_COMMAND}`; export r; \
10266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10267 $(HOST_EXPORTS) \
10268 for flag in $(EXTRA_HOST_FLAGS) ; do \
10269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10270 done; \
10271 echo "Doing clean in flex"; \
10272 (cd $(HOST_SUBDIR)/flex && \
10273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275 "RANLIB=$${RANLIB}" \
10276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10277 clean) \
10278 || exit 1
10279
10280 @endif flex
10281
10282 .PHONY: maybe-distclean-flex distclean-flex
10283 maybe-distclean-flex:
10284 @if flex
10285 maybe-distclean-flex: distclean-flex
10286
10287 distclean-flex:
10288 @: $(MAKE); $(unstage)
10289 @[ -f ./flex/Makefile ] || exit 0; \
10290 r=`${PWD_COMMAND}`; export r; \
10291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10292 $(HOST_EXPORTS) \
10293 for flag in $(EXTRA_HOST_FLAGS) ; do \
10294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10295 done; \
10296 echo "Doing distclean in flex"; \
10297 (cd $(HOST_SUBDIR)/flex && \
10298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10300 "RANLIB=$${RANLIB}" \
10301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10302 distclean) \
10303 || exit 1
10304
10305 @endif flex
10306
10307 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10308 maybe-maintainer-clean-flex:
10309 @if flex
10310 maybe-maintainer-clean-flex: maintainer-clean-flex
10311
10312 maintainer-clean-flex:
10313 @: $(MAKE); $(unstage)
10314 @[ -f ./flex/Makefile ] || exit 0; \
10315 r=`${PWD_COMMAND}`; export r; \
10316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10317 $(HOST_EXPORTS) \
10318 for flag in $(EXTRA_HOST_FLAGS) ; do \
10319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10320 done; \
10321 echo "Doing maintainer-clean in flex"; \
10322 (cd $(HOST_SUBDIR)/flex && \
10323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10325 "RANLIB=$${RANLIB}" \
10326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10327 maintainer-clean) \
10328 || exit 1
10329
10330 @endif flex
10331
10332
10333
10334 .PHONY: configure-gas maybe-configure-gas
10335 maybe-configure-gas:
10336 @if gcc-bootstrap
10337 configure-gas: stage_current
10338 @endif gcc-bootstrap
10339 @if gas
10340 maybe-configure-gas: configure-gas
10341 configure-gas:
10342 @r=`${PWD_COMMAND}`; export r; \
10343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10344 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10346 $(HOST_EXPORTS) \
10347 echo Configuring in $(HOST_SUBDIR)/gas; \
10348 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10349 case $(srcdir) in \
10350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10351 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10353 esac; \
10354 module_srcdir=gas; \
10355 $(SHELL) \
10356 $$s/$$module_srcdir/configure \
10357 --srcdir=$${topdir}/$$module_srcdir \
10358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10359 --target=${target_alias} \
10360 || exit 1
10361 @endif gas
10362
10363
10364
10365 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10366 maybe-configure-stage1-gas:
10367 @if gas-bootstrap
10368 maybe-configure-stage1-gas: configure-stage1-gas
10369 configure-stage1-gas:
10370 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10372 @r=`${PWD_COMMAND}`; export r; \
10373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10374 TFLAGS="$(STAGE1_TFLAGS)"; \
10375 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10376 $(HOST_EXPORTS) \
10377 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10378 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10379 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10380 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10382 cd $(HOST_SUBDIR)/gas || exit 1; \
10383 case $(srcdir) in \
10384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10385 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10387 esac; \
10388 module_srcdir=gas; \
10389 $(SHELL) $$s/$$module_srcdir/configure \
10390 --srcdir=$${topdir}/$$module_srcdir \
10391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10392 --target=${target_alias} \
10393 \
10394 $(STAGE1_CONFIGURE_FLAGS)
10395 @endif gas-bootstrap
10396
10397 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10398 maybe-configure-stage2-gas:
10399 @if gas-bootstrap
10400 maybe-configure-stage2-gas: configure-stage2-gas
10401 configure-stage2-gas:
10402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10404 @r=`${PWD_COMMAND}`; export r; \
10405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10406 TFLAGS="$(STAGE2_TFLAGS)"; \
10407 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10408 $(HOST_EXPORTS) \
10409 $(POSTSTAGE1_HOST_EXPORTS) \
10410 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10411 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10412 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10413 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10415 cd $(HOST_SUBDIR)/gas || exit 1; \
10416 case $(srcdir) in \
10417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10418 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10420 esac; \
10421 module_srcdir=gas; \
10422 $(SHELL) $$s/$$module_srcdir/configure \
10423 --srcdir=$${topdir}/$$module_srcdir \
10424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10425 --target=${target_alias} \
10426 --with-build-libsubdir=$(HOST_SUBDIR) \
10427 $(STAGE2_CONFIGURE_FLAGS)
10428 @endif gas-bootstrap
10429
10430 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10431 maybe-configure-stage3-gas:
10432 @if gas-bootstrap
10433 maybe-configure-stage3-gas: configure-stage3-gas
10434 configure-stage3-gas:
10435 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10437 @r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 TFLAGS="$(STAGE3_TFLAGS)"; \
10440 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10441 $(HOST_EXPORTS) \
10442 $(POSTSTAGE1_HOST_EXPORTS) \
10443 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10444 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10445 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10446 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10448 cd $(HOST_SUBDIR)/gas || exit 1; \
10449 case $(srcdir) in \
10450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10451 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10453 esac; \
10454 module_srcdir=gas; \
10455 $(SHELL) $$s/$$module_srcdir/configure \
10456 --srcdir=$${topdir}/$$module_srcdir \
10457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10458 --target=${target_alias} \
10459 --with-build-libsubdir=$(HOST_SUBDIR) \
10460 $(STAGE3_CONFIGURE_FLAGS)
10461 @endif gas-bootstrap
10462
10463 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10464 maybe-configure-stage4-gas:
10465 @if gas-bootstrap
10466 maybe-configure-stage4-gas: configure-stage4-gas
10467 configure-stage4-gas:
10468 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10470 @r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 TFLAGS="$(STAGE4_TFLAGS)"; \
10473 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10474 $(HOST_EXPORTS) \
10475 $(POSTSTAGE1_HOST_EXPORTS) \
10476 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10477 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10478 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10479 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10481 cd $(HOST_SUBDIR)/gas || exit 1; \
10482 case $(srcdir) in \
10483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10484 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10486 esac; \
10487 module_srcdir=gas; \
10488 $(SHELL) $$s/$$module_srcdir/configure \
10489 --srcdir=$${topdir}/$$module_srcdir \
10490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10491 --target=${target_alias} \
10492 --with-build-libsubdir=$(HOST_SUBDIR) \
10493 $(STAGE4_CONFIGURE_FLAGS)
10494 @endif gas-bootstrap
10495
10496 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10497 maybe-configure-stageprofile-gas:
10498 @if gas-bootstrap
10499 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10500 configure-stageprofile-gas:
10501 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10503 @r=`${PWD_COMMAND}`; export r; \
10504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10505 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10506 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10507 $(HOST_EXPORTS) \
10508 $(POSTSTAGE1_HOST_EXPORTS) \
10509 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10510 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10511 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10512 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10514 cd $(HOST_SUBDIR)/gas || exit 1; \
10515 case $(srcdir) in \
10516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10517 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10519 esac; \
10520 module_srcdir=gas; \
10521 $(SHELL) $$s/$$module_srcdir/configure \
10522 --srcdir=$${topdir}/$$module_srcdir \
10523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10524 --target=${target_alias} \
10525 --with-build-libsubdir=$(HOST_SUBDIR) \
10526 $(STAGEprofile_CONFIGURE_FLAGS)
10527 @endif gas-bootstrap
10528
10529 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10530 maybe-configure-stagetrain-gas:
10531 @if gas-bootstrap
10532 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10533 configure-stagetrain-gas:
10534 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10536 @r=`${PWD_COMMAND}`; export r; \
10537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10539 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10540 $(HOST_EXPORTS) \
10541 $(POSTSTAGE1_HOST_EXPORTS) \
10542 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10543 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10544 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10545 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10547 cd $(HOST_SUBDIR)/gas || exit 1; \
10548 case $(srcdir) in \
10549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10550 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10552 esac; \
10553 module_srcdir=gas; \
10554 $(SHELL) $$s/$$module_srcdir/configure \
10555 --srcdir=$${topdir}/$$module_srcdir \
10556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10557 --target=${target_alias} \
10558 --with-build-libsubdir=$(HOST_SUBDIR) \
10559 $(STAGEtrain_CONFIGURE_FLAGS)
10560 @endif gas-bootstrap
10561
10562 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10563 maybe-configure-stagefeedback-gas:
10564 @if gas-bootstrap
10565 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10566 configure-stagefeedback-gas:
10567 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10569 @r=`${PWD_COMMAND}`; export r; \
10570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10571 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10572 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10573 $(HOST_EXPORTS) \
10574 $(POSTSTAGE1_HOST_EXPORTS) \
10575 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10576 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10577 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10578 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10580 cd $(HOST_SUBDIR)/gas || exit 1; \
10581 case $(srcdir) in \
10582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10583 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10585 esac; \
10586 module_srcdir=gas; \
10587 $(SHELL) $$s/$$module_srcdir/configure \
10588 --srcdir=$${topdir}/$$module_srcdir \
10589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10590 --target=${target_alias} \
10591 --with-build-libsubdir=$(HOST_SUBDIR) \
10592 $(STAGEfeedback_CONFIGURE_FLAGS)
10593 @endif gas-bootstrap
10594
10595 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10596 maybe-configure-stageautoprofile-gas:
10597 @if gas-bootstrap
10598 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10599 configure-stageautoprofile-gas:
10600 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10602 @r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10605 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10606 $(HOST_EXPORTS) \
10607 $(POSTSTAGE1_HOST_EXPORTS) \
10608 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10609 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10610 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10611 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10613 cd $(HOST_SUBDIR)/gas || exit 1; \
10614 case $(srcdir) in \
10615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10616 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10618 esac; \
10619 module_srcdir=gas; \
10620 $(SHELL) $$s/$$module_srcdir/configure \
10621 --srcdir=$${topdir}/$$module_srcdir \
10622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10623 --target=${target_alias} \
10624 --with-build-libsubdir=$(HOST_SUBDIR) \
10625 $(STAGEautoprofile_CONFIGURE_FLAGS)
10626 @endif gas-bootstrap
10627
10628 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10629 maybe-configure-stageautofeedback-gas:
10630 @if gas-bootstrap
10631 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10632 configure-stageautofeedback-gas:
10633 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10634 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10638 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10639 $(HOST_EXPORTS) \
10640 $(POSTSTAGE1_HOST_EXPORTS) \
10641 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10642 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10643 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10644 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10646 cd $(HOST_SUBDIR)/gas || exit 1; \
10647 case $(srcdir) in \
10648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10649 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10651 esac; \
10652 module_srcdir=gas; \
10653 $(SHELL) $$s/$$module_srcdir/configure \
10654 --srcdir=$${topdir}/$$module_srcdir \
10655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10656 --target=${target_alias} \
10657 --with-build-libsubdir=$(HOST_SUBDIR) \
10658 $(STAGEautofeedback_CONFIGURE_FLAGS)
10659 @endif gas-bootstrap
10660
10661
10662
10663
10664
10665 .PHONY: all-gas maybe-all-gas
10666 maybe-all-gas:
10667 @if gcc-bootstrap
10668 all-gas: stage_current
10669 @endif gcc-bootstrap
10670 @if gas
10671 TARGET-gas=all
10672 maybe-all-gas: all-gas
10673 all-gas: configure-gas
10674 @r=`${PWD_COMMAND}`; export r; \
10675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10676 $(HOST_EXPORTS) \
10677 (cd $(HOST_SUBDIR)/gas && \
10678 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10679 $(TARGET-gas))
10680 @endif gas
10681
10682
10683
10684 .PHONY: all-stage1-gas maybe-all-stage1-gas
10685 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10686 maybe-all-stage1-gas:
10687 maybe-clean-stage1-gas:
10688 @if gas-bootstrap
10689 maybe-all-stage1-gas: all-stage1-gas
10690 all-stage1: all-stage1-gas
10691 TARGET-stage1-gas = $(TARGET-gas)
10692 all-stage1-gas: configure-stage1-gas
10693 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 TFLAGS="$(STAGE1_TFLAGS)"; \
10697 $(HOST_EXPORTS) \
10698 cd $(HOST_SUBDIR)/gas && \
10699 \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10701 CFLAGS="$(STAGE1_CFLAGS)" \
10702 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
10703 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10704 LIBCFLAGS="$(LIBCFLAGS)" \
10705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10708 $(EXTRA_HOST_FLAGS) \
10709 $(STAGE1_FLAGS_TO_PASS) \
10710 TFLAGS="$(STAGE1_TFLAGS)" \
10711 $(TARGET-stage1-gas)
10712
10713 maybe-clean-stage1-gas: clean-stage1-gas
10714 clean-stage1: clean-stage1-gas
10715 clean-stage1-gas:
10716 @if [ $(current_stage) = stage1 ]; then \
10717 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10718 else \
10719 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10720 $(MAKE) stage1-start; \
10721 fi; \
10722 cd $(HOST_SUBDIR)/gas && \
10723 $(MAKE) $(EXTRA_HOST_FLAGS) \
10724 $(STAGE1_FLAGS_TO_PASS) clean
10725 @endif gas-bootstrap
10726
10727
10728 .PHONY: all-stage2-gas maybe-all-stage2-gas
10729 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10730 maybe-all-stage2-gas:
10731 maybe-clean-stage2-gas:
10732 @if gas-bootstrap
10733 maybe-all-stage2-gas: all-stage2-gas
10734 all-stage2: all-stage2-gas
10735 TARGET-stage2-gas = $(TARGET-gas)
10736 all-stage2-gas: configure-stage2-gas
10737 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10738 @r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 TFLAGS="$(STAGE2_TFLAGS)"; \
10741 $(HOST_EXPORTS) \
10742 $(POSTSTAGE1_HOST_EXPORTS) \
10743 cd $(HOST_SUBDIR)/gas && \
10744 \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10746 CFLAGS="$(STAGE2_CFLAGS)" \
10747 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
10748 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10749 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10753 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10754 TFLAGS="$(STAGE2_TFLAGS)" \
10755 $(TARGET-stage2-gas)
10756
10757 maybe-clean-stage2-gas: clean-stage2-gas
10758 clean-stage2: clean-stage2-gas
10759 clean-stage2-gas:
10760 @if [ $(current_stage) = stage2 ]; then \
10761 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10762 else \
10763 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10764 $(MAKE) stage2-start; \
10765 fi; \
10766 cd $(HOST_SUBDIR)/gas && \
10767 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10768 @endif gas-bootstrap
10769
10770
10771 .PHONY: all-stage3-gas maybe-all-stage3-gas
10772 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10773 maybe-all-stage3-gas:
10774 maybe-clean-stage3-gas:
10775 @if gas-bootstrap
10776 maybe-all-stage3-gas: all-stage3-gas
10777 all-stage3: all-stage3-gas
10778 TARGET-stage3-gas = $(TARGET-gas)
10779 all-stage3-gas: configure-stage3-gas
10780 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10781 @r=`${PWD_COMMAND}`; export r; \
10782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10783 TFLAGS="$(STAGE3_TFLAGS)"; \
10784 $(HOST_EXPORTS) \
10785 $(POSTSTAGE1_HOST_EXPORTS) \
10786 cd $(HOST_SUBDIR)/gas && \
10787 \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10789 CFLAGS="$(STAGE3_CFLAGS)" \
10790 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
10791 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10792 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10796 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10797 TFLAGS="$(STAGE3_TFLAGS)" \
10798 $(TARGET-stage3-gas)
10799
10800 maybe-clean-stage3-gas: clean-stage3-gas
10801 clean-stage3: clean-stage3-gas
10802 clean-stage3-gas:
10803 @if [ $(current_stage) = stage3 ]; then \
10804 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10805 else \
10806 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10807 $(MAKE) stage3-start; \
10808 fi; \
10809 cd $(HOST_SUBDIR)/gas && \
10810 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10811 @endif gas-bootstrap
10812
10813
10814 .PHONY: all-stage4-gas maybe-all-stage4-gas
10815 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10816 maybe-all-stage4-gas:
10817 maybe-clean-stage4-gas:
10818 @if gas-bootstrap
10819 maybe-all-stage4-gas: all-stage4-gas
10820 all-stage4: all-stage4-gas
10821 TARGET-stage4-gas = $(TARGET-gas)
10822 all-stage4-gas: configure-stage4-gas
10823 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10824 @r=`${PWD_COMMAND}`; export r; \
10825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10826 TFLAGS="$(STAGE4_TFLAGS)"; \
10827 $(HOST_EXPORTS) \
10828 $(POSTSTAGE1_HOST_EXPORTS) \
10829 cd $(HOST_SUBDIR)/gas && \
10830 \
10831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10832 CFLAGS="$(STAGE4_CFLAGS)" \
10833 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
10834 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10835 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10840 TFLAGS="$(STAGE4_TFLAGS)" \
10841 $(TARGET-stage4-gas)
10842
10843 maybe-clean-stage4-gas: clean-stage4-gas
10844 clean-stage4: clean-stage4-gas
10845 clean-stage4-gas:
10846 @if [ $(current_stage) = stage4 ]; then \
10847 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10848 else \
10849 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10850 $(MAKE) stage4-start; \
10851 fi; \
10852 cd $(HOST_SUBDIR)/gas && \
10853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10854 @endif gas-bootstrap
10855
10856
10857 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10858 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10859 maybe-all-stageprofile-gas:
10860 maybe-clean-stageprofile-gas:
10861 @if gas-bootstrap
10862 maybe-all-stageprofile-gas: all-stageprofile-gas
10863 all-stageprofile: all-stageprofile-gas
10864 TARGET-stageprofile-gas = $(TARGET-gas)
10865 all-stageprofile-gas: configure-stageprofile-gas
10866 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10867 @r=`${PWD_COMMAND}`; export r; \
10868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10869 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10870 $(HOST_EXPORTS) \
10871 $(POSTSTAGE1_HOST_EXPORTS) \
10872 cd $(HOST_SUBDIR)/gas && \
10873 \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10875 CFLAGS="$(STAGEprofile_CFLAGS)" \
10876 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
10877 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10878 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10879 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10880 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10881 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10882 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10883 TFLAGS="$(STAGEprofile_TFLAGS)" \
10884 $(TARGET-stageprofile-gas)
10885
10886 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10887 clean-stageprofile: clean-stageprofile-gas
10888 clean-stageprofile-gas:
10889 @if [ $(current_stage) = stageprofile ]; then \
10890 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10891 else \
10892 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10893 $(MAKE) stageprofile-start; \
10894 fi; \
10895 cd $(HOST_SUBDIR)/gas && \
10896 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10897 @endif gas-bootstrap
10898
10899
10900 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10901 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10902 maybe-all-stagetrain-gas:
10903 maybe-clean-stagetrain-gas:
10904 @if gas-bootstrap
10905 maybe-all-stagetrain-gas: all-stagetrain-gas
10906 all-stagetrain: all-stagetrain-gas
10907 TARGET-stagetrain-gas = $(TARGET-gas)
10908 all-stagetrain-gas: configure-stagetrain-gas
10909 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10910 @r=`${PWD_COMMAND}`; export r; \
10911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10912 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10913 $(HOST_EXPORTS) \
10914 $(POSTSTAGE1_HOST_EXPORTS) \
10915 cd $(HOST_SUBDIR)/gas && \
10916 \
10917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10918 CFLAGS="$(STAGEtrain_CFLAGS)" \
10919 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
10920 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10921 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10922 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10923 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10924 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10925 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10926 TFLAGS="$(STAGEtrain_TFLAGS)" \
10927 $(TARGET-stagetrain-gas)
10928
10929 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10930 clean-stagetrain: clean-stagetrain-gas
10931 clean-stagetrain-gas:
10932 @if [ $(current_stage) = stagetrain ]; then \
10933 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10934 else \
10935 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10936 $(MAKE) stagetrain-start; \
10937 fi; \
10938 cd $(HOST_SUBDIR)/gas && \
10939 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10940 @endif gas-bootstrap
10941
10942
10943 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10944 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10945 maybe-all-stagefeedback-gas:
10946 maybe-clean-stagefeedback-gas:
10947 @if gas-bootstrap
10948 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10949 all-stagefeedback: all-stagefeedback-gas
10950 TARGET-stagefeedback-gas = $(TARGET-gas)
10951 all-stagefeedback-gas: configure-stagefeedback-gas
10952 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10953 @r=`${PWD_COMMAND}`; export r; \
10954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10956 $(HOST_EXPORTS) \
10957 $(POSTSTAGE1_HOST_EXPORTS) \
10958 cd $(HOST_SUBDIR)/gas && \
10959 \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10961 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10962 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
10963 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10964 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10969 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10970 $(TARGET-stagefeedback-gas)
10971
10972 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10973 clean-stagefeedback: clean-stagefeedback-gas
10974 clean-stagefeedback-gas:
10975 @if [ $(current_stage) = stagefeedback ]; then \
10976 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10977 else \
10978 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10979 $(MAKE) stagefeedback-start; \
10980 fi; \
10981 cd $(HOST_SUBDIR)/gas && \
10982 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10983 @endif gas-bootstrap
10984
10985
10986 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10987 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10988 maybe-all-stageautoprofile-gas:
10989 maybe-clean-stageautoprofile-gas:
10990 @if gas-bootstrap
10991 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10992 all-stageautoprofile: all-stageautoprofile-gas
10993 TARGET-stageautoprofile-gas = $(TARGET-gas)
10994 all-stageautoprofile-gas: configure-stageautoprofile-gas
10995 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10996 @r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10999 $(HOST_EXPORTS) \
11000 $(POSTSTAGE1_HOST_EXPORTS) \
11001 cd $(HOST_SUBDIR)/gas && \
11002 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11004 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11005 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11006 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11007 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11012 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11013 $(TARGET-stageautoprofile-gas)
11014
11015 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11016 clean-stageautoprofile: clean-stageautoprofile-gas
11017 clean-stageautoprofile-gas:
11018 @if [ $(current_stage) = stageautoprofile ]; then \
11019 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11020 else \
11021 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11022 $(MAKE) stageautoprofile-start; \
11023 fi; \
11024 cd $(HOST_SUBDIR)/gas && \
11025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11026 @endif gas-bootstrap
11027
11028
11029 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11030 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11031 maybe-all-stageautofeedback-gas:
11032 maybe-clean-stageautofeedback-gas:
11033 @if gas-bootstrap
11034 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11035 all-stageautofeedback: all-stageautofeedback-gas
11036 TARGET-stageautofeedback-gas = $(TARGET-gas)
11037 all-stageautofeedback-gas: configure-stageautofeedback-gas
11038 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11039 @r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11042 $(HOST_EXPORTS) \
11043 $(POSTSTAGE1_HOST_EXPORTS) \
11044 cd $(HOST_SUBDIR)/gas && \
11045 \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11047 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11048 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11049 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11050 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11055 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11056 $(TARGET-stageautofeedback-gas)
11057
11058 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11059 clean-stageautofeedback: clean-stageautofeedback-gas
11060 clean-stageautofeedback-gas:
11061 @if [ $(current_stage) = stageautofeedback ]; then \
11062 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11063 else \
11064 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11065 $(MAKE) stageautofeedback-start; \
11066 fi; \
11067 cd $(HOST_SUBDIR)/gas && \
11068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11069 @endif gas-bootstrap
11070
11071
11072
11073
11074
11075 .PHONY: check-gas maybe-check-gas
11076 maybe-check-gas:
11077 @if gas
11078 maybe-check-gas: check-gas
11079
11080 check-gas:
11081 @: $(MAKE); $(unstage)
11082 @r=`${PWD_COMMAND}`; export r; \
11083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11085 (cd $(HOST_SUBDIR)/gas && \
11086 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11087
11088 @endif gas
11089
11090 .PHONY: install-gas maybe-install-gas
11091 maybe-install-gas:
11092 @if gas
11093 maybe-install-gas: install-gas
11094
11095 install-gas: installdirs
11096 @: $(MAKE); $(unstage)
11097 @r=`${PWD_COMMAND}`; export r; \
11098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11099 $(HOST_EXPORTS) \
11100 (cd $(HOST_SUBDIR)/gas && \
11101 $(MAKE) $(FLAGS_TO_PASS) install)
11102
11103 @endif gas
11104
11105 .PHONY: install-strip-gas maybe-install-strip-gas
11106 maybe-install-strip-gas:
11107 @if gas
11108 maybe-install-strip-gas: install-strip-gas
11109
11110 install-strip-gas: installdirs
11111 @: $(MAKE); $(unstage)
11112 @r=`${PWD_COMMAND}`; export r; \
11113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11114 $(HOST_EXPORTS) \
11115 (cd $(HOST_SUBDIR)/gas && \
11116 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11117
11118 @endif gas
11119
11120 # Other targets (info, dvi, pdf, etc.)
11121
11122 .PHONY: maybe-info-gas info-gas
11123 maybe-info-gas:
11124 @if gas
11125 maybe-info-gas: info-gas
11126
11127 info-gas: \
11128 configure-gas
11129 @[ -f ./gas/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(HOST_EXPORTS) \
11133 for flag in $(EXTRA_HOST_FLAGS) ; do \
11134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 done; \
11136 echo "Doing info in gas"; \
11137 (cd $(HOST_SUBDIR)/gas && \
11138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11140 "RANLIB=$${RANLIB}" \
11141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11142 info) \
11143 || exit 1
11144
11145 @endif gas
11146
11147 .PHONY: maybe-dvi-gas dvi-gas
11148 maybe-dvi-gas:
11149 @if gas
11150 maybe-dvi-gas: dvi-gas
11151
11152 dvi-gas: \
11153 configure-gas
11154 @[ -f ./gas/Makefile ] || exit 0; \
11155 r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 for flag in $(EXTRA_HOST_FLAGS) ; do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing dvi in gas"; \
11162 (cd $(HOST_SUBDIR)/gas && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11167 dvi) \
11168 || exit 1
11169
11170 @endif gas
11171
11172 .PHONY: maybe-pdf-gas pdf-gas
11173 maybe-pdf-gas:
11174 @if gas
11175 maybe-pdf-gas: pdf-gas
11176
11177 pdf-gas: \
11178 configure-gas
11179 @[ -f ./gas/Makefile ] || exit 0; \
11180 r=`${PWD_COMMAND}`; export r; \
11181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11182 $(HOST_EXPORTS) \
11183 for flag in $(EXTRA_HOST_FLAGS) ; do \
11184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 done; \
11186 echo "Doing pdf in gas"; \
11187 (cd $(HOST_SUBDIR)/gas && \
11188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11190 "RANLIB=$${RANLIB}" \
11191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11192 pdf) \
11193 || exit 1
11194
11195 @endif gas
11196
11197 .PHONY: maybe-html-gas html-gas
11198 maybe-html-gas:
11199 @if gas
11200 maybe-html-gas: html-gas
11201
11202 html-gas: \
11203 configure-gas
11204 @[ -f ./gas/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing html in gas"; \
11212 (cd $(HOST_SUBDIR)/gas && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11217 html) \
11218 || exit 1
11219
11220 @endif gas
11221
11222 .PHONY: maybe-TAGS-gas TAGS-gas
11223 maybe-TAGS-gas:
11224 @if gas
11225 maybe-TAGS-gas: TAGS-gas
11226
11227 TAGS-gas: \
11228 configure-gas
11229 @[ -f ./gas/Makefile ] || exit 0; \
11230 r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 $(HOST_EXPORTS) \
11233 for flag in $(EXTRA_HOST_FLAGS) ; do \
11234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11235 done; \
11236 echo "Doing TAGS in gas"; \
11237 (cd $(HOST_SUBDIR)/gas && \
11238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11240 "RANLIB=$${RANLIB}" \
11241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11242 TAGS) \
11243 || exit 1
11244
11245 @endif gas
11246
11247 .PHONY: maybe-install-info-gas install-info-gas
11248 maybe-install-info-gas:
11249 @if gas
11250 maybe-install-info-gas: install-info-gas
11251
11252 install-info-gas: \
11253 configure-gas \
11254 info-gas
11255 @[ -f ./gas/Makefile ] || exit 0; \
11256 r=`${PWD_COMMAND}`; export r; \
11257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11258 $(HOST_EXPORTS) \
11259 for flag in $(EXTRA_HOST_FLAGS) ; do \
11260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11261 done; \
11262 echo "Doing install-info in gas"; \
11263 (cd $(HOST_SUBDIR)/gas && \
11264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11266 "RANLIB=$${RANLIB}" \
11267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11268 install-info) \
11269 || exit 1
11270
11271 @endif gas
11272
11273 .PHONY: maybe-install-pdf-gas install-pdf-gas
11274 maybe-install-pdf-gas:
11275 @if gas
11276 maybe-install-pdf-gas: install-pdf-gas
11277
11278 install-pdf-gas: \
11279 configure-gas \
11280 pdf-gas
11281 @[ -f ./gas/Makefile ] || exit 0; \
11282 r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 $(HOST_EXPORTS) \
11285 for flag in $(EXTRA_HOST_FLAGS) ; do \
11286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11287 done; \
11288 echo "Doing install-pdf in gas"; \
11289 (cd $(HOST_SUBDIR)/gas && \
11290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11292 "RANLIB=$${RANLIB}" \
11293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11294 install-pdf) \
11295 || exit 1
11296
11297 @endif gas
11298
11299 .PHONY: maybe-install-html-gas install-html-gas
11300 maybe-install-html-gas:
11301 @if gas
11302 maybe-install-html-gas: install-html-gas
11303
11304 install-html-gas: \
11305 configure-gas \
11306 html-gas
11307 @[ -f ./gas/Makefile ] || exit 0; \
11308 r=`${PWD_COMMAND}`; export r; \
11309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11310 $(HOST_EXPORTS) \
11311 for flag in $(EXTRA_HOST_FLAGS) ; do \
11312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11313 done; \
11314 echo "Doing install-html in gas"; \
11315 (cd $(HOST_SUBDIR)/gas && \
11316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11318 "RANLIB=$${RANLIB}" \
11319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11320 install-html) \
11321 || exit 1
11322
11323 @endif gas
11324
11325 .PHONY: maybe-installcheck-gas installcheck-gas
11326 maybe-installcheck-gas:
11327 @if gas
11328 maybe-installcheck-gas: installcheck-gas
11329
11330 installcheck-gas: \
11331 configure-gas
11332 @[ -f ./gas/Makefile ] || exit 0; \
11333 r=`${PWD_COMMAND}`; export r; \
11334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11335 $(HOST_EXPORTS) \
11336 for flag in $(EXTRA_HOST_FLAGS) ; do \
11337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11338 done; \
11339 echo "Doing installcheck in gas"; \
11340 (cd $(HOST_SUBDIR)/gas && \
11341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11343 "RANLIB=$${RANLIB}" \
11344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11345 installcheck) \
11346 || exit 1
11347
11348 @endif gas
11349
11350 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11351 maybe-mostlyclean-gas:
11352 @if gas
11353 maybe-mostlyclean-gas: mostlyclean-gas
11354
11355 mostlyclean-gas:
11356 @[ -f ./gas/Makefile ] || exit 0; \
11357 r=`${PWD_COMMAND}`; export r; \
11358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11359 $(HOST_EXPORTS) \
11360 for flag in $(EXTRA_HOST_FLAGS) ; do \
11361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11362 done; \
11363 echo "Doing mostlyclean in gas"; \
11364 (cd $(HOST_SUBDIR)/gas && \
11365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11367 "RANLIB=$${RANLIB}" \
11368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11369 mostlyclean) \
11370 || exit 1
11371
11372 @endif gas
11373
11374 .PHONY: maybe-clean-gas clean-gas
11375 maybe-clean-gas:
11376 @if gas
11377 maybe-clean-gas: clean-gas
11378
11379 clean-gas:
11380 @[ -f ./gas/Makefile ] || exit 0; \
11381 r=`${PWD_COMMAND}`; export r; \
11382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11383 $(HOST_EXPORTS) \
11384 for flag in $(EXTRA_HOST_FLAGS) ; do \
11385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386 done; \
11387 echo "Doing clean in gas"; \
11388 (cd $(HOST_SUBDIR)/gas && \
11389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391 "RANLIB=$${RANLIB}" \
11392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11393 clean) \
11394 || exit 1
11395
11396 @endif gas
11397
11398 .PHONY: maybe-distclean-gas distclean-gas
11399 maybe-distclean-gas:
11400 @if gas
11401 maybe-distclean-gas: distclean-gas
11402
11403 distclean-gas:
11404 @[ -f ./gas/Makefile ] || exit 0; \
11405 r=`${PWD_COMMAND}`; export r; \
11406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 $(HOST_EXPORTS) \
11408 for flag in $(EXTRA_HOST_FLAGS) ; do \
11409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11410 done; \
11411 echo "Doing distclean in gas"; \
11412 (cd $(HOST_SUBDIR)/gas && \
11413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11415 "RANLIB=$${RANLIB}" \
11416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11417 distclean) \
11418 || exit 1
11419
11420 @endif gas
11421
11422 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11423 maybe-maintainer-clean-gas:
11424 @if gas
11425 maybe-maintainer-clean-gas: maintainer-clean-gas
11426
11427 maintainer-clean-gas:
11428 @[ -f ./gas/Makefile ] || exit 0; \
11429 r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 $(HOST_EXPORTS) \
11432 for flag in $(EXTRA_HOST_FLAGS) ; do \
11433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 done; \
11435 echo "Doing maintainer-clean in gas"; \
11436 (cd $(HOST_SUBDIR)/gas && \
11437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11439 "RANLIB=$${RANLIB}" \
11440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11441 maintainer-clean) \
11442 || exit 1
11443
11444 @endif gas
11445
11446
11447
11448 .PHONY: configure-gcc maybe-configure-gcc
11449 maybe-configure-gcc:
11450 @if gcc-bootstrap
11451 configure-gcc: stage_current
11452 @endif gcc-bootstrap
11453 @if gcc
11454 maybe-configure-gcc: configure-gcc
11455 configure-gcc:
11456 @r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11460 $(HOST_EXPORTS) \
11461 echo Configuring in $(HOST_SUBDIR)/gcc; \
11462 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11463 case $(srcdir) in \
11464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11465 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11467 esac; \
11468 module_srcdir=gcc; \
11469 $(SHELL) \
11470 $$s/$$module_srcdir/configure \
11471 --srcdir=$${topdir}/$$module_srcdir \
11472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11473 --target=${target_alias} \
11474 || exit 1
11475 @endif gcc
11476
11477
11478
11479 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11480 maybe-configure-stage1-gcc:
11481 @if gcc-bootstrap
11482 maybe-configure-stage1-gcc: configure-stage1-gcc
11483 configure-stage1-gcc:
11484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11486 @r=`${PWD_COMMAND}`; export r; \
11487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11488 TFLAGS="$(STAGE1_TFLAGS)"; \
11489 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11490 $(HOST_EXPORTS) \
11491 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11492 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11493 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11494 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11496 cd $(HOST_SUBDIR)/gcc || exit 1; \
11497 case $(srcdir) in \
11498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11499 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11501 esac; \
11502 module_srcdir=gcc; \
11503 $(SHELL) $$s/$$module_srcdir/configure \
11504 --srcdir=$${topdir}/$$module_srcdir \
11505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11506 --target=${target_alias} \
11507 \
11508 $(STAGE1_CONFIGURE_FLAGS)
11509 @endif gcc-bootstrap
11510
11511 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11512 maybe-configure-stage2-gcc:
11513 @if gcc-bootstrap
11514 maybe-configure-stage2-gcc: configure-stage2-gcc
11515 configure-stage2-gcc:
11516 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11517 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 TFLAGS="$(STAGE2_TFLAGS)"; \
11521 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11522 $(HOST_EXPORTS) \
11523 $(POSTSTAGE1_HOST_EXPORTS) \
11524 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11525 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11526 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11527 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11529 cd $(HOST_SUBDIR)/gcc || exit 1; \
11530 case $(srcdir) in \
11531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11532 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11534 esac; \
11535 module_srcdir=gcc; \
11536 $(SHELL) $$s/$$module_srcdir/configure \
11537 --srcdir=$${topdir}/$$module_srcdir \
11538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11539 --target=${target_alias} \
11540 --with-build-libsubdir=$(HOST_SUBDIR) \
11541 $(STAGE2_CONFIGURE_FLAGS)
11542 @endif gcc-bootstrap
11543
11544 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11545 maybe-configure-stage3-gcc:
11546 @if gcc-bootstrap
11547 maybe-configure-stage3-gcc: configure-stage3-gcc
11548 configure-stage3-gcc:
11549 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11551 @r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 TFLAGS="$(STAGE3_TFLAGS)"; \
11554 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11555 $(HOST_EXPORTS) \
11556 $(POSTSTAGE1_HOST_EXPORTS) \
11557 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11558 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11559 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11560 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11562 cd $(HOST_SUBDIR)/gcc || exit 1; \
11563 case $(srcdir) in \
11564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11565 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11567 esac; \
11568 module_srcdir=gcc; \
11569 $(SHELL) $$s/$$module_srcdir/configure \
11570 --srcdir=$${topdir}/$$module_srcdir \
11571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11572 --target=${target_alias} \
11573 --with-build-libsubdir=$(HOST_SUBDIR) \
11574 $(STAGE3_CONFIGURE_FLAGS)
11575 @endif gcc-bootstrap
11576
11577 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11578 maybe-configure-stage4-gcc:
11579 @if gcc-bootstrap
11580 maybe-configure-stage4-gcc: configure-stage4-gcc
11581 configure-stage4-gcc:
11582 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11584 @r=`${PWD_COMMAND}`; export r; \
11585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11586 TFLAGS="$(STAGE4_TFLAGS)"; \
11587 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11588 $(HOST_EXPORTS) \
11589 $(POSTSTAGE1_HOST_EXPORTS) \
11590 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11591 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11592 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11593 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11595 cd $(HOST_SUBDIR)/gcc || exit 1; \
11596 case $(srcdir) in \
11597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11598 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11600 esac; \
11601 module_srcdir=gcc; \
11602 $(SHELL) $$s/$$module_srcdir/configure \
11603 --srcdir=$${topdir}/$$module_srcdir \
11604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11605 --target=${target_alias} \
11606 --with-build-libsubdir=$(HOST_SUBDIR) \
11607 $(STAGE4_CONFIGURE_FLAGS)
11608 @endif gcc-bootstrap
11609
11610 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11611 maybe-configure-stageprofile-gcc:
11612 @if gcc-bootstrap
11613 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11614 configure-stageprofile-gcc:
11615 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11617 @r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11620 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11621 $(HOST_EXPORTS) \
11622 $(POSTSTAGE1_HOST_EXPORTS) \
11623 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11624 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11625 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11626 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11628 cd $(HOST_SUBDIR)/gcc || exit 1; \
11629 case $(srcdir) in \
11630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11631 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11633 esac; \
11634 module_srcdir=gcc; \
11635 $(SHELL) $$s/$$module_srcdir/configure \
11636 --srcdir=$${topdir}/$$module_srcdir \
11637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11638 --target=${target_alias} \
11639 --with-build-libsubdir=$(HOST_SUBDIR) \
11640 $(STAGEprofile_CONFIGURE_FLAGS)
11641 @endif gcc-bootstrap
11642
11643 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11644 maybe-configure-stagetrain-gcc:
11645 @if gcc-bootstrap
11646 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11647 configure-stagetrain-gcc:
11648 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11650 @r=`${PWD_COMMAND}`; export r; \
11651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11652 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11653 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11654 $(HOST_EXPORTS) \
11655 $(POSTSTAGE1_HOST_EXPORTS) \
11656 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11657 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11658 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11659 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11661 cd $(HOST_SUBDIR)/gcc || exit 1; \
11662 case $(srcdir) in \
11663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11664 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11666 esac; \
11667 module_srcdir=gcc; \
11668 $(SHELL) $$s/$$module_srcdir/configure \
11669 --srcdir=$${topdir}/$$module_srcdir \
11670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11671 --target=${target_alias} \
11672 --with-build-libsubdir=$(HOST_SUBDIR) \
11673 $(STAGEtrain_CONFIGURE_FLAGS)
11674 @endif gcc-bootstrap
11675
11676 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11677 maybe-configure-stagefeedback-gcc:
11678 @if gcc-bootstrap
11679 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11680 configure-stagefeedback-gcc:
11681 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11683 @r=`${PWD_COMMAND}`; export r; \
11684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11686 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11687 $(HOST_EXPORTS) \
11688 $(POSTSTAGE1_HOST_EXPORTS) \
11689 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11690 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11691 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11692 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11694 cd $(HOST_SUBDIR)/gcc || exit 1; \
11695 case $(srcdir) in \
11696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11697 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11699 esac; \
11700 module_srcdir=gcc; \
11701 $(SHELL) $$s/$$module_srcdir/configure \
11702 --srcdir=$${topdir}/$$module_srcdir \
11703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11704 --target=${target_alias} \
11705 --with-build-libsubdir=$(HOST_SUBDIR) \
11706 $(STAGEfeedback_CONFIGURE_FLAGS)
11707 @endif gcc-bootstrap
11708
11709 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11710 maybe-configure-stageautoprofile-gcc:
11711 @if gcc-bootstrap
11712 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11713 configure-stageautoprofile-gcc:
11714 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11716 @r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11718 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11719 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11720 $(HOST_EXPORTS) \
11721 $(POSTSTAGE1_HOST_EXPORTS) \
11722 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11723 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11724 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11725 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11727 cd $(HOST_SUBDIR)/gcc || exit 1; \
11728 case $(srcdir) in \
11729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11730 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11732 esac; \
11733 module_srcdir=gcc; \
11734 $(SHELL) $$s/$$module_srcdir/configure \
11735 --srcdir=$${topdir}/$$module_srcdir \
11736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11737 --target=${target_alias} \
11738 --with-build-libsubdir=$(HOST_SUBDIR) \
11739 $(STAGEautoprofile_CONFIGURE_FLAGS)
11740 @endif gcc-bootstrap
11741
11742 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11743 maybe-configure-stageautofeedback-gcc:
11744 @if gcc-bootstrap
11745 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11746 configure-stageautofeedback-gcc:
11747 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11749 @r=`${PWD_COMMAND}`; export r; \
11750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11751 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11752 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11753 $(HOST_EXPORTS) \
11754 $(POSTSTAGE1_HOST_EXPORTS) \
11755 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11756 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11757 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11758 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11760 cd $(HOST_SUBDIR)/gcc || exit 1; \
11761 case $(srcdir) in \
11762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11763 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11765 esac; \
11766 module_srcdir=gcc; \
11767 $(SHELL) $$s/$$module_srcdir/configure \
11768 --srcdir=$${topdir}/$$module_srcdir \
11769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11770 --target=${target_alias} \
11771 --with-build-libsubdir=$(HOST_SUBDIR) \
11772 $(STAGEautofeedback_CONFIGURE_FLAGS)
11773 @endif gcc-bootstrap
11774
11775
11776
11777
11778
11779 .PHONY: all-gcc maybe-all-gcc
11780 maybe-all-gcc:
11781 @if gcc-bootstrap
11782 all-gcc: stage_current
11783 @endif gcc-bootstrap
11784 @if gcc
11785 TARGET-gcc=all
11786 maybe-all-gcc: all-gcc
11787 all-gcc: configure-gcc
11788 @r=`${PWD_COMMAND}`; export r; \
11789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11790 $(HOST_EXPORTS) \
11791 (cd $(HOST_SUBDIR)/gcc && \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11793 $(TARGET-gcc))
11794 @endif gcc
11795
11796
11797
11798 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11799 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11800 maybe-all-stage1-gcc:
11801 maybe-clean-stage1-gcc:
11802 @if gcc-bootstrap
11803 maybe-all-stage1-gcc: all-stage1-gcc
11804 all-stage1: all-stage1-gcc
11805 TARGET-stage1-gcc = $(TARGET-gcc)
11806 all-stage1-gcc: configure-stage1-gcc
11807 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11808 @r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 TFLAGS="$(STAGE1_TFLAGS)"; \
11811 $(HOST_EXPORTS) \
11812 cd $(HOST_SUBDIR)/gcc && \
11813 \
11814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11815 CFLAGS="$(STAGE1_CFLAGS)" \
11816 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11817 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11818 LIBCFLAGS="$(LIBCFLAGS)" \
11819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11822 $(EXTRA_HOST_FLAGS) \
11823 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11824 TFLAGS="$(STAGE1_TFLAGS)" \
11825 $(TARGET-stage1-gcc)
11826
11827 maybe-clean-stage1-gcc: clean-stage1-gcc
11828 clean-stage1: clean-stage1-gcc
11829 clean-stage1-gcc:
11830 @if [ $(current_stage) = stage1 ]; then \
11831 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11832 else \
11833 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11834 $(MAKE) stage1-start; \
11835 fi; \
11836 cd $(HOST_SUBDIR)/gcc && \
11837 $(MAKE) $(EXTRA_HOST_FLAGS) \
11838 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11839 @endif gcc-bootstrap
11840
11841
11842 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11843 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11844 maybe-all-stage2-gcc:
11845 maybe-clean-stage2-gcc:
11846 @if gcc-bootstrap
11847 maybe-all-stage2-gcc: all-stage2-gcc
11848 all-stage2: all-stage2-gcc
11849 TARGET-stage2-gcc = $(TARGET-gcc)
11850 all-stage2-gcc: configure-stage2-gcc
11851 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11852 @r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 TFLAGS="$(STAGE2_TFLAGS)"; \
11855 $(HOST_EXPORTS) \
11856 $(POSTSTAGE1_HOST_EXPORTS) \
11857 cd $(HOST_SUBDIR)/gcc && \
11858 \
11859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11860 CFLAGS="$(STAGE2_CFLAGS)" \
11861 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11862 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11863 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11864 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11865 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11866 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11867 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11868 TFLAGS="$(STAGE2_TFLAGS)" \
11869 $(TARGET-stage2-gcc)
11870
11871 maybe-clean-stage2-gcc: clean-stage2-gcc
11872 clean-stage2: clean-stage2-gcc
11873 clean-stage2-gcc:
11874 @if [ $(current_stage) = stage2 ]; then \
11875 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11876 else \
11877 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11878 $(MAKE) stage2-start; \
11879 fi; \
11880 cd $(HOST_SUBDIR)/gcc && \
11881 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11882 @endif gcc-bootstrap
11883
11884
11885 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11886 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11887 maybe-all-stage3-gcc:
11888 maybe-clean-stage3-gcc:
11889 @if gcc-bootstrap
11890 maybe-all-stage3-gcc: all-stage3-gcc
11891 all-stage3: all-stage3-gcc
11892 TARGET-stage3-gcc = $(TARGET-gcc)
11893 all-stage3-gcc: configure-stage3-gcc
11894 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11895 @r=`${PWD_COMMAND}`; export r; \
11896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11897 TFLAGS="$(STAGE3_TFLAGS)"; \
11898 $(HOST_EXPORTS) \
11899 $(POSTSTAGE1_HOST_EXPORTS) \
11900 cd $(HOST_SUBDIR)/gcc && \
11901 \
11902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11903 CFLAGS="$(STAGE3_CFLAGS)" \
11904 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11905 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11906 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11910 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11911 TFLAGS="$(STAGE3_TFLAGS)" \
11912 $(TARGET-stage3-gcc)
11913
11914 maybe-clean-stage3-gcc: clean-stage3-gcc
11915 clean-stage3: clean-stage3-gcc
11916 clean-stage3-gcc:
11917 @if [ $(current_stage) = stage3 ]; then \
11918 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11919 else \
11920 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11921 $(MAKE) stage3-start; \
11922 fi; \
11923 cd $(HOST_SUBDIR)/gcc && \
11924 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11925 @endif gcc-bootstrap
11926
11927
11928 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11929 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11930 maybe-all-stage4-gcc:
11931 maybe-clean-stage4-gcc:
11932 @if gcc-bootstrap
11933 maybe-all-stage4-gcc: all-stage4-gcc
11934 all-stage4: all-stage4-gcc
11935 TARGET-stage4-gcc = $(TARGET-gcc)
11936 all-stage4-gcc: configure-stage4-gcc
11937 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 TFLAGS="$(STAGE4_TFLAGS)"; \
11941 $(HOST_EXPORTS) \
11942 $(POSTSTAGE1_HOST_EXPORTS) \
11943 cd $(HOST_SUBDIR)/gcc && \
11944 \
11945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11946 CFLAGS="$(STAGE4_CFLAGS)" \
11947 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11948 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11949 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11954 TFLAGS="$(STAGE4_TFLAGS)" \
11955 $(TARGET-stage4-gcc)
11956
11957 maybe-clean-stage4-gcc: clean-stage4-gcc
11958 clean-stage4: clean-stage4-gcc
11959 clean-stage4-gcc:
11960 @if [ $(current_stage) = stage4 ]; then \
11961 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11962 else \
11963 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11964 $(MAKE) stage4-start; \
11965 fi; \
11966 cd $(HOST_SUBDIR)/gcc && \
11967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11968 @endif gcc-bootstrap
11969
11970
11971 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11972 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11973 maybe-all-stageprofile-gcc:
11974 maybe-clean-stageprofile-gcc:
11975 @if gcc-bootstrap
11976 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11977 all-stageprofile: all-stageprofile-gcc
11978 TARGET-stageprofile-gcc = $(TARGET-gcc)
11979 all-stageprofile-gcc: configure-stageprofile-gcc
11980 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11981 @r=`${PWD_COMMAND}`; export r; \
11982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11983 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11984 $(HOST_EXPORTS) \
11985 $(POSTSTAGE1_HOST_EXPORTS) \
11986 cd $(HOST_SUBDIR)/gcc && \
11987 \
11988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11989 CFLAGS="$(STAGEprofile_CFLAGS)" \
11990 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
11991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11992 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11997 TFLAGS="$(STAGEprofile_TFLAGS)" \
11998 $(TARGET-stageprofile-gcc)
11999
12000 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12001 clean-stageprofile: clean-stageprofile-gcc
12002 clean-stageprofile-gcc:
12003 @if [ $(current_stage) = stageprofile ]; then \
12004 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12005 else \
12006 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12007 $(MAKE) stageprofile-start; \
12008 fi; \
12009 cd $(HOST_SUBDIR)/gcc && \
12010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12011 @endif gcc-bootstrap
12012
12013
12014 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12015 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12016 maybe-all-stagetrain-gcc:
12017 maybe-clean-stagetrain-gcc:
12018 @if gcc-bootstrap
12019 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12020 all-stagetrain: all-stagetrain-gcc
12021 TARGET-stagetrain-gcc = $(TARGET-gcc)
12022 all-stagetrain-gcc: configure-stagetrain-gcc
12023 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12024 @r=`${PWD_COMMAND}`; export r; \
12025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12027 $(HOST_EXPORTS) \
12028 $(POSTSTAGE1_HOST_EXPORTS) \
12029 cd $(HOST_SUBDIR)/gcc && \
12030 \
12031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12032 CFLAGS="$(STAGEtrain_CFLAGS)" \
12033 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12034 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12035 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12040 TFLAGS="$(STAGEtrain_TFLAGS)" \
12041 $(TARGET-stagetrain-gcc)
12042
12043 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12044 clean-stagetrain: clean-stagetrain-gcc
12045 clean-stagetrain-gcc:
12046 @if [ $(current_stage) = stagetrain ]; then \
12047 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12048 else \
12049 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12050 $(MAKE) stagetrain-start; \
12051 fi; \
12052 cd $(HOST_SUBDIR)/gcc && \
12053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12054 @endif gcc-bootstrap
12055
12056
12057 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12058 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12059 maybe-all-stagefeedback-gcc:
12060 maybe-clean-stagefeedback-gcc:
12061 @if gcc-bootstrap
12062 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12063 all-stagefeedback: all-stagefeedback-gcc
12064 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12065 all-stagefeedback-gcc: configure-stagefeedback-gcc
12066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12067 @r=`${PWD_COMMAND}`; export r; \
12068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12069 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12070 $(HOST_EXPORTS) \
12071 $(POSTSTAGE1_HOST_EXPORTS) \
12072 cd $(HOST_SUBDIR)/gcc && \
12073 \
12074 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12075 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12076 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12077 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12078 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12083 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12084 $(TARGET-stagefeedback-gcc)
12085
12086 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12087 clean-stagefeedback: clean-stagefeedback-gcc
12088 clean-stagefeedback-gcc:
12089 @if [ $(current_stage) = stagefeedback ]; then \
12090 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12091 else \
12092 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12093 $(MAKE) stagefeedback-start; \
12094 fi; \
12095 cd $(HOST_SUBDIR)/gcc && \
12096 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12097 @endif gcc-bootstrap
12098
12099
12100 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12101 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12102 maybe-all-stageautoprofile-gcc:
12103 maybe-clean-stageautoprofile-gcc:
12104 @if gcc-bootstrap
12105 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12106 all-stageautoprofile: all-stageautoprofile-gcc
12107 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12108 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12109 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12110 @r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12113 $(HOST_EXPORTS) \
12114 $(POSTSTAGE1_HOST_EXPORTS) \
12115 cd $(HOST_SUBDIR)/gcc && \
12116 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12118 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12119 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12120 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12121 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12126 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12127 $(TARGET-stageautoprofile-gcc)
12128
12129 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12130 clean-stageautoprofile: clean-stageautoprofile-gcc
12131 clean-stageautoprofile-gcc:
12132 @if [ $(current_stage) = stageautoprofile ]; then \
12133 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12134 else \
12135 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12136 $(MAKE) stageautoprofile-start; \
12137 fi; \
12138 cd $(HOST_SUBDIR)/gcc && \
12139 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12140 @endif gcc-bootstrap
12141
12142
12143 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12144 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12145 maybe-all-stageautofeedback-gcc:
12146 maybe-clean-stageautofeedback-gcc:
12147 @if gcc-bootstrap
12148 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12149 all-stageautofeedback: all-stageautofeedback-gcc
12150 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12151 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12152 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12153 @r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12156 $(HOST_EXPORTS) \
12157 $(POSTSTAGE1_HOST_EXPORTS) \
12158 cd $(HOST_SUBDIR)/gcc && \
12159 \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12161 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12162 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12163 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12164 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12169 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12170 $(TARGET-stageautofeedback-gcc)
12171
12172 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12173 clean-stageautofeedback: clean-stageautofeedback-gcc
12174 clean-stageautofeedback-gcc:
12175 @if [ $(current_stage) = stageautofeedback ]; then \
12176 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12177 else \
12178 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12179 $(MAKE) stageautofeedback-start; \
12180 fi; \
12181 cd $(HOST_SUBDIR)/gcc && \
12182 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12183 @endif gcc-bootstrap
12184
12185
12186
12187
12188
12189 .PHONY: check-gcc maybe-check-gcc
12190 maybe-check-gcc:
12191 @if gcc
12192 maybe-check-gcc: check-gcc
12193
12194 check-gcc:
12195 @: $(MAKE); $(unstage)
12196 @r=`${PWD_COMMAND}`; export r; \
12197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12198 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12199 (cd $(HOST_SUBDIR)/gcc && \
12200 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12201
12202 @endif gcc
12203
12204 .PHONY: install-gcc maybe-install-gcc
12205 maybe-install-gcc:
12206 @if gcc
12207 maybe-install-gcc: install-gcc
12208
12209 install-gcc: installdirs
12210 @: $(MAKE); $(unstage)
12211 @r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213 $(HOST_EXPORTS) \
12214 (cd $(HOST_SUBDIR)/gcc && \
12215 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12216
12217 @endif gcc
12218
12219 .PHONY: install-strip-gcc maybe-install-strip-gcc
12220 maybe-install-strip-gcc:
12221 @if gcc
12222 maybe-install-strip-gcc: install-strip-gcc
12223
12224 install-strip-gcc: installdirs
12225 @: $(MAKE); $(unstage)
12226 @r=`${PWD_COMMAND}`; export r; \
12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12228 $(HOST_EXPORTS) \
12229 (cd $(HOST_SUBDIR)/gcc && \
12230 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12231
12232 @endif gcc
12233
12234 # Other targets (info, dvi, pdf, etc.)
12235
12236 .PHONY: maybe-info-gcc info-gcc
12237 maybe-info-gcc:
12238 @if gcc
12239 maybe-info-gcc: info-gcc
12240
12241 info-gcc: \
12242 configure-gcc
12243 @[ -f ./gcc/Makefile ] || exit 0; \
12244 r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 $(HOST_EXPORTS) \
12247 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12249 done; \
12250 echo "Doing info in gcc"; \
12251 (cd $(HOST_SUBDIR)/gcc && \
12252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12254 "RANLIB=$${RANLIB}" \
12255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12256 info) \
12257 || exit 1
12258
12259 @endif gcc
12260
12261 .PHONY: maybe-dvi-gcc dvi-gcc
12262 maybe-dvi-gcc:
12263 @if gcc
12264 maybe-dvi-gcc: dvi-gcc
12265
12266 dvi-gcc: \
12267 configure-gcc
12268 @[ -f ./gcc/Makefile ] || exit 0; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12274 done; \
12275 echo "Doing dvi in gcc"; \
12276 (cd $(HOST_SUBDIR)/gcc && \
12277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12279 "RANLIB=$${RANLIB}" \
12280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12281 dvi) \
12282 || exit 1
12283
12284 @endif gcc
12285
12286 .PHONY: maybe-pdf-gcc pdf-gcc
12287 maybe-pdf-gcc:
12288 @if gcc
12289 maybe-pdf-gcc: pdf-gcc
12290
12291 pdf-gcc: \
12292 configure-gcc
12293 @[ -f ./gcc/Makefile ] || exit 0; \
12294 r=`${PWD_COMMAND}`; export r; \
12295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing pdf in gcc"; \
12301 (cd $(HOST_SUBDIR)/gcc && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12306 pdf) \
12307 || exit 1
12308
12309 @endif gcc
12310
12311 .PHONY: maybe-html-gcc html-gcc
12312 maybe-html-gcc:
12313 @if gcc
12314 maybe-html-gcc: html-gcc
12315
12316 html-gcc: \
12317 configure-gcc
12318 @[ -f ./gcc/Makefile ] || exit 0; \
12319 r=`${PWD_COMMAND}`; export r; \
12320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing html in gcc"; \
12326 (cd $(HOST_SUBDIR)/gcc && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12331 html) \
12332 || exit 1
12333
12334 @endif gcc
12335
12336 .PHONY: maybe-TAGS-gcc TAGS-gcc
12337 maybe-TAGS-gcc:
12338 @if gcc
12339 maybe-TAGS-gcc: TAGS-gcc
12340
12341 TAGS-gcc: \
12342 configure-gcc
12343 @[ -f ./gcc/Makefile ] || exit 0; \
12344 r=`${PWD_COMMAND}`; export r; \
12345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12346 $(HOST_EXPORTS) \
12347 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing TAGS in gcc"; \
12351 (cd $(HOST_SUBDIR)/gcc && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12356 TAGS) \
12357 || exit 1
12358
12359 @endif gcc
12360
12361 .PHONY: maybe-install-info-gcc install-info-gcc
12362 maybe-install-info-gcc:
12363 @if gcc
12364 maybe-install-info-gcc: install-info-gcc
12365
12366 install-info-gcc: \
12367 configure-gcc \
12368 info-gcc
12369 @[ -f ./gcc/Makefile ] || exit 0; \
12370 r=`${PWD_COMMAND}`; export r; \
12371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12372 $(HOST_EXPORTS) \
12373 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12375 done; \
12376 echo "Doing install-info in gcc"; \
12377 (cd $(HOST_SUBDIR)/gcc && \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12382 install-info) \
12383 || exit 1
12384
12385 @endif gcc
12386
12387 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12388 maybe-install-pdf-gcc:
12389 @if gcc
12390 maybe-install-pdf-gcc: install-pdf-gcc
12391
12392 install-pdf-gcc: \
12393 configure-gcc \
12394 pdf-gcc
12395 @[ -f ./gcc/Makefile ] || exit 0; \
12396 r=`${PWD_COMMAND}`; export r; \
12397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398 $(HOST_EXPORTS) \
12399 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12401 done; \
12402 echo "Doing install-pdf in gcc"; \
12403 (cd $(HOST_SUBDIR)/gcc && \
12404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12406 "RANLIB=$${RANLIB}" \
12407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12408 install-pdf) \
12409 || exit 1
12410
12411 @endif gcc
12412
12413 .PHONY: maybe-install-html-gcc install-html-gcc
12414 maybe-install-html-gcc:
12415 @if gcc
12416 maybe-install-html-gcc: install-html-gcc
12417
12418 install-html-gcc: \
12419 configure-gcc \
12420 html-gcc
12421 @[ -f ./gcc/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12424 $(HOST_EXPORTS) \
12425 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427 done; \
12428 echo "Doing install-html in gcc"; \
12429 (cd $(HOST_SUBDIR)/gcc && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432 "RANLIB=$${RANLIB}" \
12433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12434 install-html) \
12435 || exit 1
12436
12437 @endif gcc
12438
12439 .PHONY: maybe-installcheck-gcc installcheck-gcc
12440 maybe-installcheck-gcc:
12441 @if gcc
12442 maybe-installcheck-gcc: installcheck-gcc
12443
12444 installcheck-gcc: \
12445 configure-gcc
12446 @[ -f ./gcc/Makefile ] || exit 0; \
12447 r=`${PWD_COMMAND}`; export r; \
12448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12449 $(HOST_EXPORTS) \
12450 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12452 done; \
12453 echo "Doing installcheck in gcc"; \
12454 (cd $(HOST_SUBDIR)/gcc && \
12455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12457 "RANLIB=$${RANLIB}" \
12458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12459 installcheck) \
12460 || exit 1
12461
12462 @endif gcc
12463
12464 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12465 maybe-mostlyclean-gcc:
12466 @if gcc
12467 maybe-mostlyclean-gcc: mostlyclean-gcc
12468
12469 mostlyclean-gcc:
12470 @[ -f ./gcc/Makefile ] || exit 0; \
12471 r=`${PWD_COMMAND}`; export r; \
12472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12473 $(HOST_EXPORTS) \
12474 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12476 done; \
12477 echo "Doing mostlyclean in gcc"; \
12478 (cd $(HOST_SUBDIR)/gcc && \
12479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12481 "RANLIB=$${RANLIB}" \
12482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12483 mostlyclean) \
12484 || exit 1
12485
12486 @endif gcc
12487
12488 .PHONY: maybe-clean-gcc clean-gcc
12489 maybe-clean-gcc:
12490 @if gcc
12491 maybe-clean-gcc: clean-gcc
12492
12493 clean-gcc:
12494 @[ -f ./gcc/Makefile ] || exit 0; \
12495 r=`${PWD_COMMAND}`; export r; \
12496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12497 $(HOST_EXPORTS) \
12498 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12500 done; \
12501 echo "Doing clean in gcc"; \
12502 (cd $(HOST_SUBDIR)/gcc && \
12503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12505 "RANLIB=$${RANLIB}" \
12506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12507 clean) \
12508 || exit 1
12509
12510 @endif gcc
12511
12512 .PHONY: maybe-distclean-gcc distclean-gcc
12513 maybe-distclean-gcc:
12514 @if gcc
12515 maybe-distclean-gcc: distclean-gcc
12516
12517 distclean-gcc:
12518 @[ -f ./gcc/Makefile ] || exit 0; \
12519 r=`${PWD_COMMAND}`; export r; \
12520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12521 $(HOST_EXPORTS) \
12522 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12524 done; \
12525 echo "Doing distclean in gcc"; \
12526 (cd $(HOST_SUBDIR)/gcc && \
12527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12529 "RANLIB=$${RANLIB}" \
12530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12531 distclean) \
12532 || exit 1
12533
12534 @endif gcc
12535
12536 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12537 maybe-maintainer-clean-gcc:
12538 @if gcc
12539 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12540
12541 maintainer-clean-gcc:
12542 @[ -f ./gcc/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(HOST_EXPORTS) \
12546 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 done; \
12549 echo "Doing maintainer-clean in gcc"; \
12550 (cd $(HOST_SUBDIR)/gcc && \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12555 maintainer-clean) \
12556 || exit 1
12557
12558 @endif gcc
12559
12560
12561
12562 .PHONY: configure-gmp maybe-configure-gmp
12563 maybe-configure-gmp:
12564 @if gcc-bootstrap
12565 configure-gmp: stage_current
12566 @endif gcc-bootstrap
12567 @if gmp
12568 maybe-configure-gmp: configure-gmp
12569 configure-gmp:
12570 @r=`${PWD_COMMAND}`; export r; \
12571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12574 $(HOST_EXPORTS) \
12575 echo Configuring in $(HOST_SUBDIR)/gmp; \
12576 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12577 case $(srcdir) in \
12578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12579 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12581 esac; \
12582 module_srcdir=gmp; \
12583 $(SHELL) \
12584 $$s/$$module_srcdir/configure \
12585 --srcdir=$${topdir}/$$module_srcdir \
12586 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12587 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12588 || exit 1
12589 @endif gmp
12590
12591
12592
12593 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12594 maybe-configure-stage1-gmp:
12595 @if gmp-bootstrap
12596 maybe-configure-stage1-gmp: configure-stage1-gmp
12597 configure-stage1-gmp:
12598 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12600 @r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 TFLAGS="$(STAGE1_TFLAGS)"; \
12603 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12604 $(HOST_EXPORTS) \
12605 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12606 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12607 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12608 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12610 cd $(HOST_SUBDIR)/gmp || exit 1; \
12611 case $(srcdir) in \
12612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12613 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12615 esac; \
12616 module_srcdir=gmp; \
12617 $(SHELL) $$s/$$module_srcdir/configure \
12618 --srcdir=$${topdir}/$$module_srcdir \
12619 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12620 --target=none-${host_vendor}-${host_os} \
12621 \
12622 $(STAGE1_CONFIGURE_FLAGS) \
12623 --disable-shared LEX="touch lex.yy.c"
12624 @endif gmp-bootstrap
12625
12626 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12627 maybe-configure-stage2-gmp:
12628 @if gmp-bootstrap
12629 maybe-configure-stage2-gmp: configure-stage2-gmp
12630 configure-stage2-gmp:
12631 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12633 @r=`${PWD_COMMAND}`; export r; \
12634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12635 TFLAGS="$(STAGE2_TFLAGS)"; \
12636 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12637 $(HOST_EXPORTS) \
12638 $(POSTSTAGE1_HOST_EXPORTS) \
12639 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12640 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12641 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12642 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12644 cd $(HOST_SUBDIR)/gmp || exit 1; \
12645 case $(srcdir) in \
12646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12647 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12649 esac; \
12650 module_srcdir=gmp; \
12651 $(SHELL) $$s/$$module_srcdir/configure \
12652 --srcdir=$${topdir}/$$module_srcdir \
12653 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12654 --target=none-${host_vendor}-${host_os} \
12655 --with-build-libsubdir=$(HOST_SUBDIR) \
12656 $(STAGE2_CONFIGURE_FLAGS) \
12657 --disable-shared LEX="touch lex.yy.c"
12658 @endif gmp-bootstrap
12659
12660 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12661 maybe-configure-stage3-gmp:
12662 @if gmp-bootstrap
12663 maybe-configure-stage3-gmp: configure-stage3-gmp
12664 configure-stage3-gmp:
12665 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12667 @r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12669 TFLAGS="$(STAGE3_TFLAGS)"; \
12670 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12671 $(HOST_EXPORTS) \
12672 $(POSTSTAGE1_HOST_EXPORTS) \
12673 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12674 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12675 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12676 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12678 cd $(HOST_SUBDIR)/gmp || exit 1; \
12679 case $(srcdir) in \
12680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12681 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12683 esac; \
12684 module_srcdir=gmp; \
12685 $(SHELL) $$s/$$module_srcdir/configure \
12686 --srcdir=$${topdir}/$$module_srcdir \
12687 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12688 --target=none-${host_vendor}-${host_os} \
12689 --with-build-libsubdir=$(HOST_SUBDIR) \
12690 $(STAGE3_CONFIGURE_FLAGS) \
12691 --disable-shared LEX="touch lex.yy.c"
12692 @endif gmp-bootstrap
12693
12694 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12695 maybe-configure-stage4-gmp:
12696 @if gmp-bootstrap
12697 maybe-configure-stage4-gmp: configure-stage4-gmp
12698 configure-stage4-gmp:
12699 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12701 @r=`${PWD_COMMAND}`; export r; \
12702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12703 TFLAGS="$(STAGE4_TFLAGS)"; \
12704 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12705 $(HOST_EXPORTS) \
12706 $(POSTSTAGE1_HOST_EXPORTS) \
12707 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12708 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12709 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12710 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12712 cd $(HOST_SUBDIR)/gmp || exit 1; \
12713 case $(srcdir) in \
12714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12715 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12717 esac; \
12718 module_srcdir=gmp; \
12719 $(SHELL) $$s/$$module_srcdir/configure \
12720 --srcdir=$${topdir}/$$module_srcdir \
12721 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12722 --target=none-${host_vendor}-${host_os} \
12723 --with-build-libsubdir=$(HOST_SUBDIR) \
12724 $(STAGE4_CONFIGURE_FLAGS) \
12725 --disable-shared LEX="touch lex.yy.c"
12726 @endif gmp-bootstrap
12727
12728 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12729 maybe-configure-stageprofile-gmp:
12730 @if gmp-bootstrap
12731 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12732 configure-stageprofile-gmp:
12733 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12735 @r=`${PWD_COMMAND}`; export r; \
12736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12737 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12738 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12739 $(HOST_EXPORTS) \
12740 $(POSTSTAGE1_HOST_EXPORTS) \
12741 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12742 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12743 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12744 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12746 cd $(HOST_SUBDIR)/gmp || exit 1; \
12747 case $(srcdir) in \
12748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12749 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12751 esac; \
12752 module_srcdir=gmp; \
12753 $(SHELL) $$s/$$module_srcdir/configure \
12754 --srcdir=$${topdir}/$$module_srcdir \
12755 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12756 --target=none-${host_vendor}-${host_os} \
12757 --with-build-libsubdir=$(HOST_SUBDIR) \
12758 $(STAGEprofile_CONFIGURE_FLAGS) \
12759 --disable-shared LEX="touch lex.yy.c"
12760 @endif gmp-bootstrap
12761
12762 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12763 maybe-configure-stagetrain-gmp:
12764 @if gmp-bootstrap
12765 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12766 configure-stagetrain-gmp:
12767 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12769 @r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12771 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12772 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12773 $(HOST_EXPORTS) \
12774 $(POSTSTAGE1_HOST_EXPORTS) \
12775 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12776 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12777 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12778 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12780 cd $(HOST_SUBDIR)/gmp || exit 1; \
12781 case $(srcdir) in \
12782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12783 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12785 esac; \
12786 module_srcdir=gmp; \
12787 $(SHELL) $$s/$$module_srcdir/configure \
12788 --srcdir=$${topdir}/$$module_srcdir \
12789 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12790 --target=none-${host_vendor}-${host_os} \
12791 --with-build-libsubdir=$(HOST_SUBDIR) \
12792 $(STAGEtrain_CONFIGURE_FLAGS) \
12793 --disable-shared LEX="touch lex.yy.c"
12794 @endif gmp-bootstrap
12795
12796 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12797 maybe-configure-stagefeedback-gmp:
12798 @if gmp-bootstrap
12799 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12800 configure-stagefeedback-gmp:
12801 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12803 @r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12805 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12806 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12807 $(HOST_EXPORTS) \
12808 $(POSTSTAGE1_HOST_EXPORTS) \
12809 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12810 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12811 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12812 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12814 cd $(HOST_SUBDIR)/gmp || exit 1; \
12815 case $(srcdir) in \
12816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12817 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12819 esac; \
12820 module_srcdir=gmp; \
12821 $(SHELL) $$s/$$module_srcdir/configure \
12822 --srcdir=$${topdir}/$$module_srcdir \
12823 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12824 --target=none-${host_vendor}-${host_os} \
12825 --with-build-libsubdir=$(HOST_SUBDIR) \
12826 $(STAGEfeedback_CONFIGURE_FLAGS) \
12827 --disable-shared LEX="touch lex.yy.c"
12828 @endif gmp-bootstrap
12829
12830 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12831 maybe-configure-stageautoprofile-gmp:
12832 @if gmp-bootstrap
12833 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12834 configure-stageautoprofile-gmp:
12835 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12837 @r=`${PWD_COMMAND}`; export r; \
12838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12840 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12841 $(HOST_EXPORTS) \
12842 $(POSTSTAGE1_HOST_EXPORTS) \
12843 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12844 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12845 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12846 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12848 cd $(HOST_SUBDIR)/gmp || exit 1; \
12849 case $(srcdir) in \
12850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12851 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12853 esac; \
12854 module_srcdir=gmp; \
12855 $(SHELL) $$s/$$module_srcdir/configure \
12856 --srcdir=$${topdir}/$$module_srcdir \
12857 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12858 --target=none-${host_vendor}-${host_os} \
12859 --with-build-libsubdir=$(HOST_SUBDIR) \
12860 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12861 --disable-shared LEX="touch lex.yy.c"
12862 @endif gmp-bootstrap
12863
12864 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12865 maybe-configure-stageautofeedback-gmp:
12866 @if gmp-bootstrap
12867 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12868 configure-stageautofeedback-gmp:
12869 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12870 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12871 @r=`${PWD_COMMAND}`; export r; \
12872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12873 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12874 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12875 $(HOST_EXPORTS) \
12876 $(POSTSTAGE1_HOST_EXPORTS) \
12877 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12878 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12879 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12880 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12882 cd $(HOST_SUBDIR)/gmp || exit 1; \
12883 case $(srcdir) in \
12884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12885 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12887 esac; \
12888 module_srcdir=gmp; \
12889 $(SHELL) $$s/$$module_srcdir/configure \
12890 --srcdir=$${topdir}/$$module_srcdir \
12891 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12892 --target=none-${host_vendor}-${host_os} \
12893 --with-build-libsubdir=$(HOST_SUBDIR) \
12894 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12895 --disable-shared LEX="touch lex.yy.c"
12896 @endif gmp-bootstrap
12897
12898
12899
12900
12901
12902 .PHONY: all-gmp maybe-all-gmp
12903 maybe-all-gmp:
12904 @if gcc-bootstrap
12905 all-gmp: stage_current
12906 @endif gcc-bootstrap
12907 @if gmp
12908 TARGET-gmp=all
12909 maybe-all-gmp: all-gmp
12910 all-gmp: configure-gmp
12911 @r=`${PWD_COMMAND}`; export r; \
12912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 $(HOST_EXPORTS) \
12914 (cd $(HOST_SUBDIR)/gmp && \
12915 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12916 $(TARGET-gmp))
12917 @endif gmp
12918
12919
12920
12921 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12922 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12923 maybe-all-stage1-gmp:
12924 maybe-clean-stage1-gmp:
12925 @if gmp-bootstrap
12926 maybe-all-stage1-gmp: all-stage1-gmp
12927 all-stage1: all-stage1-gmp
12928 TARGET-stage1-gmp = $(TARGET-gmp)
12929 all-stage1-gmp: configure-stage1-gmp
12930 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12931 @r=`${PWD_COMMAND}`; export r; \
12932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12933 TFLAGS="$(STAGE1_TFLAGS)"; \
12934 $(HOST_EXPORTS) \
12935 cd $(HOST_SUBDIR)/gmp && \
12936 \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12938 CFLAGS="$(STAGE1_CFLAGS)" \
12939 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12940 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12941 LIBCFLAGS="$(LIBCFLAGS)" \
12942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12945 $(EXTRA_HOST_FLAGS) \
12946 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12947 TFLAGS="$(STAGE1_TFLAGS)" \
12948 $(TARGET-stage1-gmp)
12949
12950 maybe-clean-stage1-gmp: clean-stage1-gmp
12951 clean-stage1: clean-stage1-gmp
12952 clean-stage1-gmp:
12953 @if [ $(current_stage) = stage1 ]; then \
12954 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12955 else \
12956 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12957 $(MAKE) stage1-start; \
12958 fi; \
12959 cd $(HOST_SUBDIR)/gmp && \
12960 $(MAKE) $(EXTRA_HOST_FLAGS) \
12961 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12962 @endif gmp-bootstrap
12963
12964
12965 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12966 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12967 maybe-all-stage2-gmp:
12968 maybe-clean-stage2-gmp:
12969 @if gmp-bootstrap
12970 maybe-all-stage2-gmp: all-stage2-gmp
12971 all-stage2: all-stage2-gmp
12972 TARGET-stage2-gmp = $(TARGET-gmp)
12973 all-stage2-gmp: configure-stage2-gmp
12974 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12975 @r=`${PWD_COMMAND}`; export r; \
12976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12977 TFLAGS="$(STAGE2_TFLAGS)"; \
12978 $(HOST_EXPORTS) \
12979 $(POSTSTAGE1_HOST_EXPORTS) \
12980 cd $(HOST_SUBDIR)/gmp && \
12981 \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12983 CFLAGS="$(STAGE2_CFLAGS)" \
12984 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
12985 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12986 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12991 TFLAGS="$(STAGE2_TFLAGS)" \
12992 $(TARGET-stage2-gmp)
12993
12994 maybe-clean-stage2-gmp: clean-stage2-gmp
12995 clean-stage2: clean-stage2-gmp
12996 clean-stage2-gmp:
12997 @if [ $(current_stage) = stage2 ]; then \
12998 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12999 else \
13000 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13001 $(MAKE) stage2-start; \
13002 fi; \
13003 cd $(HOST_SUBDIR)/gmp && \
13004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13005 @endif gmp-bootstrap
13006
13007
13008 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13009 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13010 maybe-all-stage3-gmp:
13011 maybe-clean-stage3-gmp:
13012 @if gmp-bootstrap
13013 maybe-all-stage3-gmp: all-stage3-gmp
13014 all-stage3: all-stage3-gmp
13015 TARGET-stage3-gmp = $(TARGET-gmp)
13016 all-stage3-gmp: configure-stage3-gmp
13017 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13018 @r=`${PWD_COMMAND}`; export r; \
13019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13020 TFLAGS="$(STAGE3_TFLAGS)"; \
13021 $(HOST_EXPORTS) \
13022 $(POSTSTAGE1_HOST_EXPORTS) \
13023 cd $(HOST_SUBDIR)/gmp && \
13024 \
13025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13026 CFLAGS="$(STAGE3_CFLAGS)" \
13027 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13028 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13029 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13034 TFLAGS="$(STAGE3_TFLAGS)" \
13035 $(TARGET-stage3-gmp)
13036
13037 maybe-clean-stage3-gmp: clean-stage3-gmp
13038 clean-stage3: clean-stage3-gmp
13039 clean-stage3-gmp:
13040 @if [ $(current_stage) = stage3 ]; then \
13041 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13042 else \
13043 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13044 $(MAKE) stage3-start; \
13045 fi; \
13046 cd $(HOST_SUBDIR)/gmp && \
13047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13048 @endif gmp-bootstrap
13049
13050
13051 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13052 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13053 maybe-all-stage4-gmp:
13054 maybe-clean-stage4-gmp:
13055 @if gmp-bootstrap
13056 maybe-all-stage4-gmp: all-stage4-gmp
13057 all-stage4: all-stage4-gmp
13058 TARGET-stage4-gmp = $(TARGET-gmp)
13059 all-stage4-gmp: configure-stage4-gmp
13060 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13061 @r=`${PWD_COMMAND}`; export r; \
13062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13063 TFLAGS="$(STAGE4_TFLAGS)"; \
13064 $(HOST_EXPORTS) \
13065 $(POSTSTAGE1_HOST_EXPORTS) \
13066 cd $(HOST_SUBDIR)/gmp && \
13067 \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13069 CFLAGS="$(STAGE4_CFLAGS)" \
13070 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13071 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13072 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13077 TFLAGS="$(STAGE4_TFLAGS)" \
13078 $(TARGET-stage4-gmp)
13079
13080 maybe-clean-stage4-gmp: clean-stage4-gmp
13081 clean-stage4: clean-stage4-gmp
13082 clean-stage4-gmp:
13083 @if [ $(current_stage) = stage4 ]; then \
13084 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13085 else \
13086 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13087 $(MAKE) stage4-start; \
13088 fi; \
13089 cd $(HOST_SUBDIR)/gmp && \
13090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13091 @endif gmp-bootstrap
13092
13093
13094 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13095 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13096 maybe-all-stageprofile-gmp:
13097 maybe-clean-stageprofile-gmp:
13098 @if gmp-bootstrap
13099 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13100 all-stageprofile: all-stageprofile-gmp
13101 TARGET-stageprofile-gmp = $(TARGET-gmp)
13102 all-stageprofile-gmp: configure-stageprofile-gmp
13103 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13104 @r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13107 $(HOST_EXPORTS) \
13108 $(POSTSTAGE1_HOST_EXPORTS) \
13109 cd $(HOST_SUBDIR)/gmp && \
13110 \
13111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13112 CFLAGS="$(STAGEprofile_CFLAGS)" \
13113 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13114 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13115 LIBCFLAGS="$(STAGEprofile_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) AM_CFLAGS="-DNO_ASM" \
13120 TFLAGS="$(STAGEprofile_TFLAGS)" \
13121 $(TARGET-stageprofile-gmp)
13122
13123 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13124 clean-stageprofile: clean-stageprofile-gmp
13125 clean-stageprofile-gmp:
13126 @if [ $(current_stage) = stageprofile ]; then \
13127 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13128 else \
13129 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13130 $(MAKE) stageprofile-start; \
13131 fi; \
13132 cd $(HOST_SUBDIR)/gmp && \
13133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13134 @endif gmp-bootstrap
13135
13136
13137 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13138 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13139 maybe-all-stagetrain-gmp:
13140 maybe-clean-stagetrain-gmp:
13141 @if gmp-bootstrap
13142 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13143 all-stagetrain: all-stagetrain-gmp
13144 TARGET-stagetrain-gmp = $(TARGET-gmp)
13145 all-stagetrain-gmp: configure-stagetrain-gmp
13146 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13147 @r=`${PWD_COMMAND}`; export r; \
13148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13150 $(HOST_EXPORTS) \
13151 $(POSTSTAGE1_HOST_EXPORTS) \
13152 cd $(HOST_SUBDIR)/gmp && \
13153 \
13154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13155 CFLAGS="$(STAGEtrain_CFLAGS)" \
13156 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13157 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13158 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13162 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13163 TFLAGS="$(STAGEtrain_TFLAGS)" \
13164 $(TARGET-stagetrain-gmp)
13165
13166 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13167 clean-stagetrain: clean-stagetrain-gmp
13168 clean-stagetrain-gmp:
13169 @if [ $(current_stage) = stagetrain ]; then \
13170 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13171 else \
13172 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13173 $(MAKE) stagetrain-start; \
13174 fi; \
13175 cd $(HOST_SUBDIR)/gmp && \
13176 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13177 @endif gmp-bootstrap
13178
13179
13180 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13181 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13182 maybe-all-stagefeedback-gmp:
13183 maybe-clean-stagefeedback-gmp:
13184 @if gmp-bootstrap
13185 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13186 all-stagefeedback: all-stagefeedback-gmp
13187 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13188 all-stagefeedback-gmp: configure-stagefeedback-gmp
13189 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13193 $(HOST_EXPORTS) \
13194 $(POSTSTAGE1_HOST_EXPORTS) \
13195 cd $(HOST_SUBDIR)/gmp && \
13196 \
13197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13198 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13199 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13200 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13201 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13206 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13207 $(TARGET-stagefeedback-gmp)
13208
13209 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13210 clean-stagefeedback: clean-stagefeedback-gmp
13211 clean-stagefeedback-gmp:
13212 @if [ $(current_stage) = stagefeedback ]; then \
13213 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13214 else \
13215 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13216 $(MAKE) stagefeedback-start; \
13217 fi; \
13218 cd $(HOST_SUBDIR)/gmp && \
13219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13220 @endif gmp-bootstrap
13221
13222
13223 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13224 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13225 maybe-all-stageautoprofile-gmp:
13226 maybe-clean-stageautoprofile-gmp:
13227 @if gmp-bootstrap
13228 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13229 all-stageautoprofile: all-stageautoprofile-gmp
13230 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13231 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13232 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13233 @r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13236 $(HOST_EXPORTS) \
13237 $(POSTSTAGE1_HOST_EXPORTS) \
13238 cd $(HOST_SUBDIR)/gmp && \
13239 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13241 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13242 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13243 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13244 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13249 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13250 $(TARGET-stageautoprofile-gmp)
13251
13252 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13253 clean-stageautoprofile: clean-stageautoprofile-gmp
13254 clean-stageautoprofile-gmp:
13255 @if [ $(current_stage) = stageautoprofile ]; then \
13256 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13257 else \
13258 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13259 $(MAKE) stageautoprofile-start; \
13260 fi; \
13261 cd $(HOST_SUBDIR)/gmp && \
13262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13263 @endif gmp-bootstrap
13264
13265
13266 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13267 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13268 maybe-all-stageautofeedback-gmp:
13269 maybe-clean-stageautofeedback-gmp:
13270 @if gmp-bootstrap
13271 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13272 all-stageautofeedback: all-stageautofeedback-gmp
13273 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13274 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13275 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13279 $(HOST_EXPORTS) \
13280 $(POSTSTAGE1_HOST_EXPORTS) \
13281 cd $(HOST_SUBDIR)/gmp && \
13282 \
13283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13284 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13285 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13286 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13287 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13292 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13293 $(TARGET-stageautofeedback-gmp)
13294
13295 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13296 clean-stageautofeedback: clean-stageautofeedback-gmp
13297 clean-stageautofeedback-gmp:
13298 @if [ $(current_stage) = stageautofeedback ]; then \
13299 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13300 else \
13301 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13302 $(MAKE) stageautofeedback-start; \
13303 fi; \
13304 cd $(HOST_SUBDIR)/gmp && \
13305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13306 @endif gmp-bootstrap
13307
13308
13309
13310
13311
13312 .PHONY: check-gmp maybe-check-gmp
13313 maybe-check-gmp:
13314 @if gmp
13315 maybe-check-gmp: check-gmp
13316
13317 check-gmp:
13318 @: $(MAKE); $(unstage)
13319 @r=`${PWD_COMMAND}`; export r; \
13320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13321 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13322 (cd $(HOST_SUBDIR)/gmp && \
13323 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13324
13325 @endif gmp
13326
13327 .PHONY: install-gmp maybe-install-gmp
13328 maybe-install-gmp:
13329 @if gmp
13330 maybe-install-gmp: install-gmp
13331
13332 install-gmp:
13333
13334 @endif gmp
13335
13336 .PHONY: install-strip-gmp maybe-install-strip-gmp
13337 maybe-install-strip-gmp:
13338 @if gmp
13339 maybe-install-strip-gmp: install-strip-gmp
13340
13341 install-strip-gmp:
13342
13343 @endif gmp
13344
13345 # Other targets (info, dvi, pdf, etc.)
13346
13347 .PHONY: maybe-info-gmp info-gmp
13348 maybe-info-gmp:
13349 @if gmp
13350 maybe-info-gmp: info-gmp
13351
13352 info-gmp: \
13353 configure-gmp
13354 @[ -f ./gmp/Makefile ] || exit 0; \
13355 r=`${PWD_COMMAND}`; export r; \
13356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13357 $(HOST_EXPORTS) \
13358 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13360 done; \
13361 echo "Doing info in gmp"; \
13362 (cd $(HOST_SUBDIR)/gmp && \
13363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13365 "RANLIB=$${RANLIB}" \
13366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13367 info) \
13368 || exit 1
13369
13370 @endif gmp
13371
13372 .PHONY: maybe-dvi-gmp dvi-gmp
13373 maybe-dvi-gmp:
13374 @if gmp
13375 maybe-dvi-gmp: dvi-gmp
13376
13377 dvi-gmp: \
13378 configure-gmp
13379 @[ -f ./gmp/Makefile ] || exit 0; \
13380 r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13382 $(HOST_EXPORTS) \
13383 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13385 done; \
13386 echo "Doing dvi in gmp"; \
13387 (cd $(HOST_SUBDIR)/gmp && \
13388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13390 "RANLIB=$${RANLIB}" \
13391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13392 dvi) \
13393 || exit 1
13394
13395 @endif gmp
13396
13397 .PHONY: maybe-pdf-gmp pdf-gmp
13398 maybe-pdf-gmp:
13399 @if gmp
13400 maybe-pdf-gmp: pdf-gmp
13401
13402 pdf-gmp: \
13403 configure-gmp
13404 @[ -f ./gmp/Makefile ] || exit 0; \
13405 r=`${PWD_COMMAND}`; export r; \
13406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13407 $(HOST_EXPORTS) \
13408 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13410 done; \
13411 echo "Doing pdf in gmp"; \
13412 (cd $(HOST_SUBDIR)/gmp && \
13413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13415 "RANLIB=$${RANLIB}" \
13416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13417 pdf) \
13418 || exit 1
13419
13420 @endif gmp
13421
13422 .PHONY: maybe-html-gmp html-gmp
13423 maybe-html-gmp:
13424 @if gmp
13425 maybe-html-gmp: html-gmp
13426
13427 html-gmp: \
13428 configure-gmp
13429 @[ -f ./gmp/Makefile ] || exit 0; \
13430 r=`${PWD_COMMAND}`; export r; \
13431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13432 $(HOST_EXPORTS) \
13433 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13435 done; \
13436 echo "Doing html in gmp"; \
13437 (cd $(HOST_SUBDIR)/gmp && \
13438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13440 "RANLIB=$${RANLIB}" \
13441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13442 html) \
13443 || exit 1
13444
13445 @endif gmp
13446
13447 .PHONY: maybe-TAGS-gmp TAGS-gmp
13448 maybe-TAGS-gmp:
13449 @if gmp
13450 maybe-TAGS-gmp: TAGS-gmp
13451
13452 TAGS-gmp: \
13453 configure-gmp
13454 @[ -f ./gmp/Makefile ] || exit 0; \
13455 r=`${PWD_COMMAND}`; export r; \
13456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 $(HOST_EXPORTS) \
13458 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13460 done; \
13461 echo "Doing TAGS in gmp"; \
13462 (cd $(HOST_SUBDIR)/gmp && \
13463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13465 "RANLIB=$${RANLIB}" \
13466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13467 TAGS) \
13468 || exit 1
13469
13470 @endif gmp
13471
13472 .PHONY: maybe-install-info-gmp install-info-gmp
13473 maybe-install-info-gmp:
13474 @if gmp
13475 maybe-install-info-gmp: install-info-gmp
13476
13477 install-info-gmp: \
13478 configure-gmp \
13479 info-gmp
13480 @[ -f ./gmp/Makefile ] || exit 0; \
13481 r=`${PWD_COMMAND}`; export r; \
13482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13483 $(HOST_EXPORTS) \
13484 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13486 done; \
13487 echo "Doing install-info in gmp"; \
13488 (cd $(HOST_SUBDIR)/gmp && \
13489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13491 "RANLIB=$${RANLIB}" \
13492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13493 install-info) \
13494 || exit 1
13495
13496 @endif gmp
13497
13498 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13499 maybe-install-pdf-gmp:
13500 @if gmp
13501 maybe-install-pdf-gmp: install-pdf-gmp
13502
13503 install-pdf-gmp: \
13504 configure-gmp \
13505 pdf-gmp
13506 @[ -f ./gmp/Makefile ] || exit 0; \
13507 r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509 $(HOST_EXPORTS) \
13510 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13512 done; \
13513 echo "Doing install-pdf in gmp"; \
13514 (cd $(HOST_SUBDIR)/gmp && \
13515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13517 "RANLIB=$${RANLIB}" \
13518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13519 install-pdf) \
13520 || exit 1
13521
13522 @endif gmp
13523
13524 .PHONY: maybe-install-html-gmp install-html-gmp
13525 maybe-install-html-gmp:
13526 @if gmp
13527 maybe-install-html-gmp: install-html-gmp
13528
13529 install-html-gmp: \
13530 configure-gmp \
13531 html-gmp
13532 @[ -f ./gmp/Makefile ] || exit 0; \
13533 r=`${PWD_COMMAND}`; export r; \
13534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535 $(HOST_EXPORTS) \
13536 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13538 done; \
13539 echo "Doing install-html in gmp"; \
13540 (cd $(HOST_SUBDIR)/gmp && \
13541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543 "RANLIB=$${RANLIB}" \
13544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13545 install-html) \
13546 || exit 1
13547
13548 @endif gmp
13549
13550 .PHONY: maybe-installcheck-gmp installcheck-gmp
13551 maybe-installcheck-gmp:
13552 @if gmp
13553 maybe-installcheck-gmp: installcheck-gmp
13554
13555 installcheck-gmp: \
13556 configure-gmp
13557 @[ -f ./gmp/Makefile ] || exit 0; \
13558 r=`${PWD_COMMAND}`; export r; \
13559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13560 $(HOST_EXPORTS) \
13561 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13563 done; \
13564 echo "Doing installcheck in gmp"; \
13565 (cd $(HOST_SUBDIR)/gmp && \
13566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568 "RANLIB=$${RANLIB}" \
13569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13570 installcheck) \
13571 || exit 1
13572
13573 @endif gmp
13574
13575 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13576 maybe-mostlyclean-gmp:
13577 @if gmp
13578 maybe-mostlyclean-gmp: mostlyclean-gmp
13579
13580 mostlyclean-gmp:
13581 @[ -f ./gmp/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing mostlyclean in gmp"; \
13589 (cd $(HOST_SUBDIR)/gmp && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13594 mostlyclean) \
13595 || exit 1
13596
13597 @endif gmp
13598
13599 .PHONY: maybe-clean-gmp clean-gmp
13600 maybe-clean-gmp:
13601 @if gmp
13602 maybe-clean-gmp: clean-gmp
13603
13604 clean-gmp:
13605 @[ -f ./gmp/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(HOST_EXPORTS) \
13609 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611 done; \
13612 echo "Doing clean in gmp"; \
13613 (cd $(HOST_SUBDIR)/gmp && \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13618 clean) \
13619 || exit 1
13620
13621 @endif gmp
13622
13623 .PHONY: maybe-distclean-gmp distclean-gmp
13624 maybe-distclean-gmp:
13625 @if gmp
13626 maybe-distclean-gmp: distclean-gmp
13627
13628 distclean-gmp:
13629 @[ -f ./gmp/Makefile ] || exit 0; \
13630 r=`${PWD_COMMAND}`; export r; \
13631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13632 $(HOST_EXPORTS) \
13633 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13635 done; \
13636 echo "Doing distclean in gmp"; \
13637 (cd $(HOST_SUBDIR)/gmp && \
13638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13640 "RANLIB=$${RANLIB}" \
13641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13642 distclean) \
13643 || exit 1
13644
13645 @endif gmp
13646
13647 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13648 maybe-maintainer-clean-gmp:
13649 @if gmp
13650 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13651
13652 maintainer-clean-gmp:
13653 @[ -f ./gmp/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing maintainer-clean in gmp"; \
13661 (cd $(HOST_SUBDIR)/gmp && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13666 maintainer-clean) \
13667 || exit 1
13668
13669 @endif gmp
13670
13671
13672
13673 .PHONY: configure-mpfr maybe-configure-mpfr
13674 maybe-configure-mpfr:
13675 @if gcc-bootstrap
13676 configure-mpfr: stage_current
13677 @endif gcc-bootstrap
13678 @if mpfr
13679 maybe-configure-mpfr: configure-mpfr
13680 configure-mpfr:
13681 @r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13685 $(HOST_EXPORTS) \
13686 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13687 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13688 case $(srcdir) in \
13689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13690 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13692 esac; \
13693 module_srcdir=mpfr; \
13694 $(SHELL) \
13695 $$s/$$module_srcdir/configure \
13696 --srcdir=$${topdir}/$$module_srcdir \
13697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13698 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13699 || exit 1
13700 @endif mpfr
13701
13702
13703
13704 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13705 maybe-configure-stage1-mpfr:
13706 @if mpfr-bootstrap
13707 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13708 configure-stage1-mpfr:
13709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13711 @r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 TFLAGS="$(STAGE1_TFLAGS)"; \
13714 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13715 $(HOST_EXPORTS) \
13716 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13717 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13718 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13719 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13721 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13722 case $(srcdir) in \
13723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13724 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13726 esac; \
13727 module_srcdir=mpfr; \
13728 $(SHELL) $$s/$$module_srcdir/configure \
13729 --srcdir=$${topdir}/$$module_srcdir \
13730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13731 --target=${target_alias} \
13732 \
13733 $(STAGE1_CONFIGURE_FLAGS) \
13734 --disable-shared @extra_mpfr_configure_flags@
13735 @endif mpfr-bootstrap
13736
13737 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13738 maybe-configure-stage2-mpfr:
13739 @if mpfr-bootstrap
13740 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13741 configure-stage2-mpfr:
13742 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13744 @r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 TFLAGS="$(STAGE2_TFLAGS)"; \
13747 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13748 $(HOST_EXPORTS) \
13749 $(POSTSTAGE1_HOST_EXPORTS) \
13750 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13751 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13752 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13753 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13755 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13756 case $(srcdir) in \
13757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13758 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13760 esac; \
13761 module_srcdir=mpfr; \
13762 $(SHELL) $$s/$$module_srcdir/configure \
13763 --srcdir=$${topdir}/$$module_srcdir \
13764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13765 --target=${target_alias} \
13766 --with-build-libsubdir=$(HOST_SUBDIR) \
13767 $(STAGE2_CONFIGURE_FLAGS) \
13768 --disable-shared @extra_mpfr_configure_flags@
13769 @endif mpfr-bootstrap
13770
13771 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13772 maybe-configure-stage3-mpfr:
13773 @if mpfr-bootstrap
13774 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13775 configure-stage3-mpfr:
13776 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13778 @r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13780 TFLAGS="$(STAGE3_TFLAGS)"; \
13781 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13782 $(HOST_EXPORTS) \
13783 $(POSTSTAGE1_HOST_EXPORTS) \
13784 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13785 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13786 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13787 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13789 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13790 case $(srcdir) in \
13791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13792 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13794 esac; \
13795 module_srcdir=mpfr; \
13796 $(SHELL) $$s/$$module_srcdir/configure \
13797 --srcdir=$${topdir}/$$module_srcdir \
13798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13799 --target=${target_alias} \
13800 --with-build-libsubdir=$(HOST_SUBDIR) \
13801 $(STAGE3_CONFIGURE_FLAGS) \
13802 --disable-shared @extra_mpfr_configure_flags@
13803 @endif mpfr-bootstrap
13804
13805 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13806 maybe-configure-stage4-mpfr:
13807 @if mpfr-bootstrap
13808 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13809 configure-stage4-mpfr:
13810 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13812 @r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 TFLAGS="$(STAGE4_TFLAGS)"; \
13815 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13816 $(HOST_EXPORTS) \
13817 $(POSTSTAGE1_HOST_EXPORTS) \
13818 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13819 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13820 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13821 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13823 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13824 case $(srcdir) in \
13825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13826 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13828 esac; \
13829 module_srcdir=mpfr; \
13830 $(SHELL) $$s/$$module_srcdir/configure \
13831 --srcdir=$${topdir}/$$module_srcdir \
13832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13833 --target=${target_alias} \
13834 --with-build-libsubdir=$(HOST_SUBDIR) \
13835 $(STAGE4_CONFIGURE_FLAGS) \
13836 --disable-shared @extra_mpfr_configure_flags@
13837 @endif mpfr-bootstrap
13838
13839 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13840 maybe-configure-stageprofile-mpfr:
13841 @if mpfr-bootstrap
13842 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13843 configure-stageprofile-mpfr:
13844 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13846 @r=`${PWD_COMMAND}`; export r; \
13847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13848 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13849 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13850 $(HOST_EXPORTS) \
13851 $(POSTSTAGE1_HOST_EXPORTS) \
13852 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13853 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13854 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13855 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13857 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13858 case $(srcdir) in \
13859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13860 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13862 esac; \
13863 module_srcdir=mpfr; \
13864 $(SHELL) $$s/$$module_srcdir/configure \
13865 --srcdir=$${topdir}/$$module_srcdir \
13866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13867 --target=${target_alias} \
13868 --with-build-libsubdir=$(HOST_SUBDIR) \
13869 $(STAGEprofile_CONFIGURE_FLAGS) \
13870 --disable-shared @extra_mpfr_configure_flags@
13871 @endif mpfr-bootstrap
13872
13873 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13874 maybe-configure-stagetrain-mpfr:
13875 @if mpfr-bootstrap
13876 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13877 configure-stagetrain-mpfr:
13878 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13880 @r=`${PWD_COMMAND}`; export r; \
13881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13882 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13883 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13884 $(HOST_EXPORTS) \
13885 $(POSTSTAGE1_HOST_EXPORTS) \
13886 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13887 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13888 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13889 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13891 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13892 case $(srcdir) in \
13893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13894 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13896 esac; \
13897 module_srcdir=mpfr; \
13898 $(SHELL) $$s/$$module_srcdir/configure \
13899 --srcdir=$${topdir}/$$module_srcdir \
13900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13901 --target=${target_alias} \
13902 --with-build-libsubdir=$(HOST_SUBDIR) \
13903 $(STAGEtrain_CONFIGURE_FLAGS) \
13904 --disable-shared @extra_mpfr_configure_flags@
13905 @endif mpfr-bootstrap
13906
13907 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13908 maybe-configure-stagefeedback-mpfr:
13909 @if mpfr-bootstrap
13910 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13911 configure-stagefeedback-mpfr:
13912 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13914 @r=`${PWD_COMMAND}`; export r; \
13915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13916 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13917 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13918 $(HOST_EXPORTS) \
13919 $(POSTSTAGE1_HOST_EXPORTS) \
13920 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13921 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13922 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13923 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13925 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13926 case $(srcdir) in \
13927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13928 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13930 esac; \
13931 module_srcdir=mpfr; \
13932 $(SHELL) $$s/$$module_srcdir/configure \
13933 --srcdir=$${topdir}/$$module_srcdir \
13934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13935 --target=${target_alias} \
13936 --with-build-libsubdir=$(HOST_SUBDIR) \
13937 $(STAGEfeedback_CONFIGURE_FLAGS) \
13938 --disable-shared @extra_mpfr_configure_flags@
13939 @endif mpfr-bootstrap
13940
13941 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13942 maybe-configure-stageautoprofile-mpfr:
13943 @if mpfr-bootstrap
13944 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13945 configure-stageautoprofile-mpfr:
13946 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13948 @r=`${PWD_COMMAND}`; export r; \
13949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13950 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13951 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13952 $(HOST_EXPORTS) \
13953 $(POSTSTAGE1_HOST_EXPORTS) \
13954 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13955 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13956 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13957 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13959 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13960 case $(srcdir) in \
13961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13962 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13964 esac; \
13965 module_srcdir=mpfr; \
13966 $(SHELL) $$s/$$module_srcdir/configure \
13967 --srcdir=$${topdir}/$$module_srcdir \
13968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13969 --target=${target_alias} \
13970 --with-build-libsubdir=$(HOST_SUBDIR) \
13971 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13972 --disable-shared @extra_mpfr_configure_flags@
13973 @endif mpfr-bootstrap
13974
13975 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13976 maybe-configure-stageautofeedback-mpfr:
13977 @if mpfr-bootstrap
13978 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13979 configure-stageautofeedback-mpfr:
13980 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13982 @r=`${PWD_COMMAND}`; export r; \
13983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13984 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13985 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13986 $(HOST_EXPORTS) \
13987 $(POSTSTAGE1_HOST_EXPORTS) \
13988 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13989 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13990 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13991 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13993 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13994 case $(srcdir) in \
13995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13996 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13998 esac; \
13999 module_srcdir=mpfr; \
14000 $(SHELL) $$s/$$module_srcdir/configure \
14001 --srcdir=$${topdir}/$$module_srcdir \
14002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14003 --target=${target_alias} \
14004 --with-build-libsubdir=$(HOST_SUBDIR) \
14005 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14006 --disable-shared @extra_mpfr_configure_flags@
14007 @endif mpfr-bootstrap
14008
14009
14010
14011
14012
14013 .PHONY: all-mpfr maybe-all-mpfr
14014 maybe-all-mpfr:
14015 @if gcc-bootstrap
14016 all-mpfr: stage_current
14017 @endif gcc-bootstrap
14018 @if mpfr
14019 TARGET-mpfr=all
14020 maybe-all-mpfr: all-mpfr
14021 all-mpfr: configure-mpfr
14022 @r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 $(HOST_EXPORTS) \
14025 (cd $(HOST_SUBDIR)/mpfr && \
14026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14027 $(TARGET-mpfr))
14028 @endif mpfr
14029
14030
14031
14032 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14033 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14034 maybe-all-stage1-mpfr:
14035 maybe-clean-stage1-mpfr:
14036 @if mpfr-bootstrap
14037 maybe-all-stage1-mpfr: all-stage1-mpfr
14038 all-stage1: all-stage1-mpfr
14039 TARGET-stage1-mpfr = $(TARGET-mpfr)
14040 all-stage1-mpfr: configure-stage1-mpfr
14041 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14042 @r=`${PWD_COMMAND}`; export r; \
14043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14044 TFLAGS="$(STAGE1_TFLAGS)"; \
14045 $(HOST_EXPORTS) \
14046 cd $(HOST_SUBDIR)/mpfr && \
14047 \
14048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14049 CFLAGS="$(STAGE1_CFLAGS)" \
14050 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14051 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14052 LIBCFLAGS="$(LIBCFLAGS)" \
14053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14056 $(EXTRA_HOST_FLAGS) \
14057 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14058 TFLAGS="$(STAGE1_TFLAGS)" \
14059 $(TARGET-stage1-mpfr)
14060
14061 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14062 clean-stage1: clean-stage1-mpfr
14063 clean-stage1-mpfr:
14064 @if [ $(current_stage) = stage1 ]; then \
14065 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14066 else \
14067 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14068 $(MAKE) stage1-start; \
14069 fi; \
14070 cd $(HOST_SUBDIR)/mpfr && \
14071 $(MAKE) $(EXTRA_HOST_FLAGS) \
14072 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14073 @endif mpfr-bootstrap
14074
14075
14076 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14077 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14078 maybe-all-stage2-mpfr:
14079 maybe-clean-stage2-mpfr:
14080 @if mpfr-bootstrap
14081 maybe-all-stage2-mpfr: all-stage2-mpfr
14082 all-stage2: all-stage2-mpfr
14083 TARGET-stage2-mpfr = $(TARGET-mpfr)
14084 all-stage2-mpfr: configure-stage2-mpfr
14085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14086 @r=`${PWD_COMMAND}`; export r; \
14087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14088 TFLAGS="$(STAGE2_TFLAGS)"; \
14089 $(HOST_EXPORTS) \
14090 $(POSTSTAGE1_HOST_EXPORTS) \
14091 cd $(HOST_SUBDIR)/mpfr && \
14092 \
14093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14094 CFLAGS="$(STAGE2_CFLAGS)" \
14095 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14096 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14097 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14102 TFLAGS="$(STAGE2_TFLAGS)" \
14103 $(TARGET-stage2-mpfr)
14104
14105 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14106 clean-stage2: clean-stage2-mpfr
14107 clean-stage2-mpfr:
14108 @if [ $(current_stage) = stage2 ]; then \
14109 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14110 else \
14111 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14112 $(MAKE) stage2-start; \
14113 fi; \
14114 cd $(HOST_SUBDIR)/mpfr && \
14115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14116 @endif mpfr-bootstrap
14117
14118
14119 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14120 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14121 maybe-all-stage3-mpfr:
14122 maybe-clean-stage3-mpfr:
14123 @if mpfr-bootstrap
14124 maybe-all-stage3-mpfr: all-stage3-mpfr
14125 all-stage3: all-stage3-mpfr
14126 TARGET-stage3-mpfr = $(TARGET-mpfr)
14127 all-stage3-mpfr: configure-stage3-mpfr
14128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14129 @r=`${PWD_COMMAND}`; export r; \
14130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14131 TFLAGS="$(STAGE3_TFLAGS)"; \
14132 $(HOST_EXPORTS) \
14133 $(POSTSTAGE1_HOST_EXPORTS) \
14134 cd $(HOST_SUBDIR)/mpfr && \
14135 \
14136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14137 CFLAGS="$(STAGE3_CFLAGS)" \
14138 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14139 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14140 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14145 TFLAGS="$(STAGE3_TFLAGS)" \
14146 $(TARGET-stage3-mpfr)
14147
14148 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14149 clean-stage3: clean-stage3-mpfr
14150 clean-stage3-mpfr:
14151 @if [ $(current_stage) = stage3 ]; then \
14152 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14153 else \
14154 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14155 $(MAKE) stage3-start; \
14156 fi; \
14157 cd $(HOST_SUBDIR)/mpfr && \
14158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14159 @endif mpfr-bootstrap
14160
14161
14162 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14163 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14164 maybe-all-stage4-mpfr:
14165 maybe-clean-stage4-mpfr:
14166 @if mpfr-bootstrap
14167 maybe-all-stage4-mpfr: all-stage4-mpfr
14168 all-stage4: all-stage4-mpfr
14169 TARGET-stage4-mpfr = $(TARGET-mpfr)
14170 all-stage4-mpfr: configure-stage4-mpfr
14171 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14172 @r=`${PWD_COMMAND}`; export r; \
14173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14174 TFLAGS="$(STAGE4_TFLAGS)"; \
14175 $(HOST_EXPORTS) \
14176 $(POSTSTAGE1_HOST_EXPORTS) \
14177 cd $(HOST_SUBDIR)/mpfr && \
14178 \
14179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14180 CFLAGS="$(STAGE4_CFLAGS)" \
14181 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14182 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14183 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14188 TFLAGS="$(STAGE4_TFLAGS)" \
14189 $(TARGET-stage4-mpfr)
14190
14191 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14192 clean-stage4: clean-stage4-mpfr
14193 clean-stage4-mpfr:
14194 @if [ $(current_stage) = stage4 ]; then \
14195 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14196 else \
14197 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14198 $(MAKE) stage4-start; \
14199 fi; \
14200 cd $(HOST_SUBDIR)/mpfr && \
14201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14202 @endif mpfr-bootstrap
14203
14204
14205 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14206 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14207 maybe-all-stageprofile-mpfr:
14208 maybe-clean-stageprofile-mpfr:
14209 @if mpfr-bootstrap
14210 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14211 all-stageprofile: all-stageprofile-mpfr
14212 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14213 all-stageprofile-mpfr: configure-stageprofile-mpfr
14214 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14215 @r=`${PWD_COMMAND}`; export r; \
14216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14217 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14218 $(HOST_EXPORTS) \
14219 $(POSTSTAGE1_HOST_EXPORTS) \
14220 cd $(HOST_SUBDIR)/mpfr && \
14221 \
14222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14223 CFLAGS="$(STAGEprofile_CFLAGS)" \
14224 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14225 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14226 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14231 TFLAGS="$(STAGEprofile_TFLAGS)" \
14232 $(TARGET-stageprofile-mpfr)
14233
14234 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14235 clean-stageprofile: clean-stageprofile-mpfr
14236 clean-stageprofile-mpfr:
14237 @if [ $(current_stage) = stageprofile ]; then \
14238 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14239 else \
14240 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14241 $(MAKE) stageprofile-start; \
14242 fi; \
14243 cd $(HOST_SUBDIR)/mpfr && \
14244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14245 @endif mpfr-bootstrap
14246
14247
14248 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14249 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14250 maybe-all-stagetrain-mpfr:
14251 maybe-clean-stagetrain-mpfr:
14252 @if mpfr-bootstrap
14253 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14254 all-stagetrain: all-stagetrain-mpfr
14255 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14256 all-stagetrain-mpfr: configure-stagetrain-mpfr
14257 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14258 @r=`${PWD_COMMAND}`; export r; \
14259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14260 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14261 $(HOST_EXPORTS) \
14262 $(POSTSTAGE1_HOST_EXPORTS) \
14263 cd $(HOST_SUBDIR)/mpfr && \
14264 \
14265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14266 CFLAGS="$(STAGEtrain_CFLAGS)" \
14267 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14268 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14269 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14274 TFLAGS="$(STAGEtrain_TFLAGS)" \
14275 $(TARGET-stagetrain-mpfr)
14276
14277 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14278 clean-stagetrain: clean-stagetrain-mpfr
14279 clean-stagetrain-mpfr:
14280 @if [ $(current_stage) = stagetrain ]; then \
14281 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14282 else \
14283 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14284 $(MAKE) stagetrain-start; \
14285 fi; \
14286 cd $(HOST_SUBDIR)/mpfr && \
14287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14288 @endif mpfr-bootstrap
14289
14290
14291 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14292 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14293 maybe-all-stagefeedback-mpfr:
14294 maybe-clean-stagefeedback-mpfr:
14295 @if mpfr-bootstrap
14296 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14297 all-stagefeedback: all-stagefeedback-mpfr
14298 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14299 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14301 @r=`${PWD_COMMAND}`; export r; \
14302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14304 $(HOST_EXPORTS) \
14305 $(POSTSTAGE1_HOST_EXPORTS) \
14306 cd $(HOST_SUBDIR)/mpfr && \
14307 \
14308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14309 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14310 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14311 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14312 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14317 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14318 $(TARGET-stagefeedback-mpfr)
14319
14320 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14321 clean-stagefeedback: clean-stagefeedback-mpfr
14322 clean-stagefeedback-mpfr:
14323 @if [ $(current_stage) = stagefeedback ]; then \
14324 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14325 else \
14326 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14327 $(MAKE) stagefeedback-start; \
14328 fi; \
14329 cd $(HOST_SUBDIR)/mpfr && \
14330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14331 @endif mpfr-bootstrap
14332
14333
14334 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14335 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14336 maybe-all-stageautoprofile-mpfr:
14337 maybe-clean-stageautoprofile-mpfr:
14338 @if mpfr-bootstrap
14339 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14340 all-stageautoprofile: all-stageautoprofile-mpfr
14341 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14342 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14343 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14344 @r=`${PWD_COMMAND}`; export r; \
14345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14346 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14347 $(HOST_EXPORTS) \
14348 $(POSTSTAGE1_HOST_EXPORTS) \
14349 cd $(HOST_SUBDIR)/mpfr && \
14350 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14352 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14353 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14354 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14355 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14360 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14361 $(TARGET-stageautoprofile-mpfr)
14362
14363 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14364 clean-stageautoprofile: clean-stageautoprofile-mpfr
14365 clean-stageautoprofile-mpfr:
14366 @if [ $(current_stage) = stageautoprofile ]; then \
14367 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14368 else \
14369 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14370 $(MAKE) stageautoprofile-start; \
14371 fi; \
14372 cd $(HOST_SUBDIR)/mpfr && \
14373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14374 @endif mpfr-bootstrap
14375
14376
14377 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14378 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14379 maybe-all-stageautofeedback-mpfr:
14380 maybe-clean-stageautofeedback-mpfr:
14381 @if mpfr-bootstrap
14382 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14383 all-stageautofeedback: all-stageautofeedback-mpfr
14384 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14385 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14386 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14387 @r=`${PWD_COMMAND}`; export r; \
14388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14389 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14390 $(HOST_EXPORTS) \
14391 $(POSTSTAGE1_HOST_EXPORTS) \
14392 cd $(HOST_SUBDIR)/mpfr && \
14393 \
14394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14395 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14396 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14397 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14398 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14403 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14404 $(TARGET-stageautofeedback-mpfr)
14405
14406 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14407 clean-stageautofeedback: clean-stageautofeedback-mpfr
14408 clean-stageautofeedback-mpfr:
14409 @if [ $(current_stage) = stageautofeedback ]; then \
14410 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14411 else \
14412 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14413 $(MAKE) stageautofeedback-start; \
14414 fi; \
14415 cd $(HOST_SUBDIR)/mpfr && \
14416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14417 @endif mpfr-bootstrap
14418
14419
14420
14421
14422
14423 .PHONY: check-mpfr maybe-check-mpfr
14424 maybe-check-mpfr:
14425 @if mpfr
14426 maybe-check-mpfr: check-mpfr
14427
14428 check-mpfr:
14429 @: $(MAKE); $(unstage)
14430 @r=`${PWD_COMMAND}`; export r; \
14431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14432 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14433 (cd $(HOST_SUBDIR)/mpfr && \
14434 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14435
14436 @endif mpfr
14437
14438 .PHONY: install-mpfr maybe-install-mpfr
14439 maybe-install-mpfr:
14440 @if mpfr
14441 maybe-install-mpfr: install-mpfr
14442
14443 install-mpfr:
14444
14445 @endif mpfr
14446
14447 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14448 maybe-install-strip-mpfr:
14449 @if mpfr
14450 maybe-install-strip-mpfr: install-strip-mpfr
14451
14452 install-strip-mpfr:
14453
14454 @endif mpfr
14455
14456 # Other targets (info, dvi, pdf, etc.)
14457
14458 .PHONY: maybe-info-mpfr info-mpfr
14459 maybe-info-mpfr:
14460 @if mpfr
14461 maybe-info-mpfr: info-mpfr
14462
14463 info-mpfr: \
14464 configure-mpfr
14465 @[ -f ./mpfr/Makefile ] || exit 0; \
14466 r=`${PWD_COMMAND}`; export r; \
14467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14468 $(HOST_EXPORTS) \
14469 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14471 done; \
14472 echo "Doing info in mpfr"; \
14473 (cd $(HOST_SUBDIR)/mpfr && \
14474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14476 "RANLIB=$${RANLIB}" \
14477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14478 info) \
14479 || exit 1
14480
14481 @endif mpfr
14482
14483 .PHONY: maybe-dvi-mpfr dvi-mpfr
14484 maybe-dvi-mpfr:
14485 @if mpfr
14486 maybe-dvi-mpfr: dvi-mpfr
14487
14488 dvi-mpfr: \
14489 configure-mpfr
14490 @[ -f ./mpfr/Makefile ] || exit 0; \
14491 r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(HOST_EXPORTS) \
14494 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14496 done; \
14497 echo "Doing dvi in mpfr"; \
14498 (cd $(HOST_SUBDIR)/mpfr && \
14499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14501 "RANLIB=$${RANLIB}" \
14502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14503 dvi) \
14504 || exit 1
14505
14506 @endif mpfr
14507
14508 .PHONY: maybe-pdf-mpfr pdf-mpfr
14509 maybe-pdf-mpfr:
14510 @if mpfr
14511 maybe-pdf-mpfr: pdf-mpfr
14512
14513 pdf-mpfr: \
14514 configure-mpfr
14515 @[ -f ./mpfr/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(HOST_EXPORTS) \
14519 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 done; \
14522 echo "Doing pdf in mpfr"; \
14523 (cd $(HOST_SUBDIR)/mpfr && \
14524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14526 "RANLIB=$${RANLIB}" \
14527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14528 pdf) \
14529 || exit 1
14530
14531 @endif mpfr
14532
14533 .PHONY: maybe-html-mpfr html-mpfr
14534 maybe-html-mpfr:
14535 @if mpfr
14536 maybe-html-mpfr: html-mpfr
14537
14538 html-mpfr: \
14539 configure-mpfr
14540 @[ -f ./mpfr/Makefile ] || exit 0; \
14541 r=`${PWD_COMMAND}`; export r; \
14542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 $(HOST_EXPORTS) \
14544 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14546 done; \
14547 echo "Doing html in mpfr"; \
14548 (cd $(HOST_SUBDIR)/mpfr && \
14549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14551 "RANLIB=$${RANLIB}" \
14552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14553 html) \
14554 || exit 1
14555
14556 @endif mpfr
14557
14558 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14559 maybe-TAGS-mpfr:
14560 @if mpfr
14561 maybe-TAGS-mpfr: TAGS-mpfr
14562
14563 TAGS-mpfr: \
14564 configure-mpfr
14565 @[ -f ./mpfr/Makefile ] || exit 0; \
14566 r=`${PWD_COMMAND}`; export r; \
14567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14568 $(HOST_EXPORTS) \
14569 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14571 done; \
14572 echo "Doing TAGS in mpfr"; \
14573 (cd $(HOST_SUBDIR)/mpfr && \
14574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14576 "RANLIB=$${RANLIB}" \
14577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14578 TAGS) \
14579 || exit 1
14580
14581 @endif mpfr
14582
14583 .PHONY: maybe-install-info-mpfr install-info-mpfr
14584 maybe-install-info-mpfr:
14585 @if mpfr
14586 maybe-install-info-mpfr: install-info-mpfr
14587
14588 install-info-mpfr: \
14589 configure-mpfr \
14590 info-mpfr
14591 @[ -f ./mpfr/Makefile ] || exit 0; \
14592 r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(HOST_EXPORTS) \
14595 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14597 done; \
14598 echo "Doing install-info in mpfr"; \
14599 (cd $(HOST_SUBDIR)/mpfr && \
14600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14602 "RANLIB=$${RANLIB}" \
14603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14604 install-info) \
14605 || exit 1
14606
14607 @endif mpfr
14608
14609 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14610 maybe-install-pdf-mpfr:
14611 @if mpfr
14612 maybe-install-pdf-mpfr: install-pdf-mpfr
14613
14614 install-pdf-mpfr: \
14615 configure-mpfr \
14616 pdf-mpfr
14617 @[ -f ./mpfr/Makefile ] || exit 0; \
14618 r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14620 $(HOST_EXPORTS) \
14621 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14623 done; \
14624 echo "Doing install-pdf in mpfr"; \
14625 (cd $(HOST_SUBDIR)/mpfr && \
14626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14628 "RANLIB=$${RANLIB}" \
14629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14630 install-pdf) \
14631 || exit 1
14632
14633 @endif mpfr
14634
14635 .PHONY: maybe-install-html-mpfr install-html-mpfr
14636 maybe-install-html-mpfr:
14637 @if mpfr
14638 maybe-install-html-mpfr: install-html-mpfr
14639
14640 install-html-mpfr: \
14641 configure-mpfr \
14642 html-mpfr
14643 @[ -f ./mpfr/Makefile ] || exit 0; \
14644 r=`${PWD_COMMAND}`; export r; \
14645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14646 $(HOST_EXPORTS) \
14647 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14649 done; \
14650 echo "Doing install-html in mpfr"; \
14651 (cd $(HOST_SUBDIR)/mpfr && \
14652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14654 "RANLIB=$${RANLIB}" \
14655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14656 install-html) \
14657 || exit 1
14658
14659 @endif mpfr
14660
14661 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14662 maybe-installcheck-mpfr:
14663 @if mpfr
14664 maybe-installcheck-mpfr: installcheck-mpfr
14665
14666 installcheck-mpfr: \
14667 configure-mpfr
14668 @[ -f ./mpfr/Makefile ] || exit 0; \
14669 r=`${PWD_COMMAND}`; export r; \
14670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14671 $(HOST_EXPORTS) \
14672 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14674 done; \
14675 echo "Doing installcheck in mpfr"; \
14676 (cd $(HOST_SUBDIR)/mpfr && \
14677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14679 "RANLIB=$${RANLIB}" \
14680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14681 installcheck) \
14682 || exit 1
14683
14684 @endif mpfr
14685
14686 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14687 maybe-mostlyclean-mpfr:
14688 @if mpfr
14689 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14690
14691 mostlyclean-mpfr:
14692 @[ -f ./mpfr/Makefile ] || exit 0; \
14693 r=`${PWD_COMMAND}`; export r; \
14694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 $(HOST_EXPORTS) \
14696 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14698 done; \
14699 echo "Doing mostlyclean in mpfr"; \
14700 (cd $(HOST_SUBDIR)/mpfr && \
14701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14703 "RANLIB=$${RANLIB}" \
14704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14705 mostlyclean) \
14706 || exit 1
14707
14708 @endif mpfr
14709
14710 .PHONY: maybe-clean-mpfr clean-mpfr
14711 maybe-clean-mpfr:
14712 @if mpfr
14713 maybe-clean-mpfr: clean-mpfr
14714
14715 clean-mpfr:
14716 @[ -f ./mpfr/Makefile ] || exit 0; \
14717 r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 $(HOST_EXPORTS) \
14720 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14722 done; \
14723 echo "Doing clean in mpfr"; \
14724 (cd $(HOST_SUBDIR)/mpfr && \
14725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14727 "RANLIB=$${RANLIB}" \
14728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14729 clean) \
14730 || exit 1
14731
14732 @endif mpfr
14733
14734 .PHONY: maybe-distclean-mpfr distclean-mpfr
14735 maybe-distclean-mpfr:
14736 @if mpfr
14737 maybe-distclean-mpfr: distclean-mpfr
14738
14739 distclean-mpfr:
14740 @[ -f ./mpfr/Makefile ] || exit 0; \
14741 r=`${PWD_COMMAND}`; export r; \
14742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14743 $(HOST_EXPORTS) \
14744 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14746 done; \
14747 echo "Doing distclean in mpfr"; \
14748 (cd $(HOST_SUBDIR)/mpfr && \
14749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14751 "RANLIB=$${RANLIB}" \
14752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14753 distclean) \
14754 || exit 1
14755
14756 @endif mpfr
14757
14758 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14759 maybe-maintainer-clean-mpfr:
14760 @if mpfr
14761 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14762
14763 maintainer-clean-mpfr:
14764 @[ -f ./mpfr/Makefile ] || exit 0; \
14765 r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(HOST_EXPORTS) \
14768 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14770 done; \
14771 echo "Doing maintainer-clean in mpfr"; \
14772 (cd $(HOST_SUBDIR)/mpfr && \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14775 "RANLIB=$${RANLIB}" \
14776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14777 maintainer-clean) \
14778 || exit 1
14779
14780 @endif mpfr
14781
14782
14783
14784 .PHONY: configure-mpc maybe-configure-mpc
14785 maybe-configure-mpc:
14786 @if gcc-bootstrap
14787 configure-mpc: stage_current
14788 @endif gcc-bootstrap
14789 @if mpc
14790 maybe-configure-mpc: configure-mpc
14791 configure-mpc:
14792 @r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14796 $(HOST_EXPORTS) \
14797 echo Configuring in $(HOST_SUBDIR)/mpc; \
14798 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14799 case $(srcdir) in \
14800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14801 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14803 esac; \
14804 module_srcdir=mpc; \
14805 $(SHELL) \
14806 $$s/$$module_srcdir/configure \
14807 --srcdir=$${topdir}/$$module_srcdir \
14808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14809 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14810 || exit 1
14811 @endif mpc
14812
14813
14814
14815 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14816 maybe-configure-stage1-mpc:
14817 @if mpc-bootstrap
14818 maybe-configure-stage1-mpc: configure-stage1-mpc
14819 configure-stage1-mpc:
14820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14822 @r=`${PWD_COMMAND}`; export r; \
14823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14824 TFLAGS="$(STAGE1_TFLAGS)"; \
14825 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14826 $(HOST_EXPORTS) \
14827 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14828 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14829 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14830 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14832 cd $(HOST_SUBDIR)/mpc || exit 1; \
14833 case $(srcdir) in \
14834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14835 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14837 esac; \
14838 module_srcdir=mpc; \
14839 $(SHELL) $$s/$$module_srcdir/configure \
14840 --srcdir=$${topdir}/$$module_srcdir \
14841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14842 --target=${target_alias} \
14843 \
14844 $(STAGE1_CONFIGURE_FLAGS) \
14845 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14846 @endif mpc-bootstrap
14847
14848 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14849 maybe-configure-stage2-mpc:
14850 @if mpc-bootstrap
14851 maybe-configure-stage2-mpc: configure-stage2-mpc
14852 configure-stage2-mpc:
14853 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14855 @r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 TFLAGS="$(STAGE2_TFLAGS)"; \
14858 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14859 $(HOST_EXPORTS) \
14860 $(POSTSTAGE1_HOST_EXPORTS) \
14861 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14862 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14863 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14864 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14866 cd $(HOST_SUBDIR)/mpc || exit 1; \
14867 case $(srcdir) in \
14868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14869 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14871 esac; \
14872 module_srcdir=mpc; \
14873 $(SHELL) $$s/$$module_srcdir/configure \
14874 --srcdir=$${topdir}/$$module_srcdir \
14875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14876 --target=${target_alias} \
14877 --with-build-libsubdir=$(HOST_SUBDIR) \
14878 $(STAGE2_CONFIGURE_FLAGS) \
14879 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14880 @endif mpc-bootstrap
14881
14882 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14883 maybe-configure-stage3-mpc:
14884 @if mpc-bootstrap
14885 maybe-configure-stage3-mpc: configure-stage3-mpc
14886 configure-stage3-mpc:
14887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14889 @r=`${PWD_COMMAND}`; export r; \
14890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14891 TFLAGS="$(STAGE3_TFLAGS)"; \
14892 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14893 $(HOST_EXPORTS) \
14894 $(POSTSTAGE1_HOST_EXPORTS) \
14895 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14896 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14897 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14898 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14900 cd $(HOST_SUBDIR)/mpc || exit 1; \
14901 case $(srcdir) in \
14902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14903 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14905 esac; \
14906 module_srcdir=mpc; \
14907 $(SHELL) $$s/$$module_srcdir/configure \
14908 --srcdir=$${topdir}/$$module_srcdir \
14909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14910 --target=${target_alias} \
14911 --with-build-libsubdir=$(HOST_SUBDIR) \
14912 $(STAGE3_CONFIGURE_FLAGS) \
14913 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14914 @endif mpc-bootstrap
14915
14916 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14917 maybe-configure-stage4-mpc:
14918 @if mpc-bootstrap
14919 maybe-configure-stage4-mpc: configure-stage4-mpc
14920 configure-stage4-mpc:
14921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14923 @r=`${PWD_COMMAND}`; export r; \
14924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14925 TFLAGS="$(STAGE4_TFLAGS)"; \
14926 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14927 $(HOST_EXPORTS) \
14928 $(POSTSTAGE1_HOST_EXPORTS) \
14929 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14930 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14931 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14932 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14934 cd $(HOST_SUBDIR)/mpc || exit 1; \
14935 case $(srcdir) in \
14936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14937 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14939 esac; \
14940 module_srcdir=mpc; \
14941 $(SHELL) $$s/$$module_srcdir/configure \
14942 --srcdir=$${topdir}/$$module_srcdir \
14943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14944 --target=${target_alias} \
14945 --with-build-libsubdir=$(HOST_SUBDIR) \
14946 $(STAGE4_CONFIGURE_FLAGS) \
14947 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14948 @endif mpc-bootstrap
14949
14950 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14951 maybe-configure-stageprofile-mpc:
14952 @if mpc-bootstrap
14953 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14954 configure-stageprofile-mpc:
14955 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14957 @r=`${PWD_COMMAND}`; export r; \
14958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14959 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14960 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14961 $(HOST_EXPORTS) \
14962 $(POSTSTAGE1_HOST_EXPORTS) \
14963 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14964 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14965 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14966 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14968 cd $(HOST_SUBDIR)/mpc || exit 1; \
14969 case $(srcdir) in \
14970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14971 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14973 esac; \
14974 module_srcdir=mpc; \
14975 $(SHELL) $$s/$$module_srcdir/configure \
14976 --srcdir=$${topdir}/$$module_srcdir \
14977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14978 --target=${target_alias} \
14979 --with-build-libsubdir=$(HOST_SUBDIR) \
14980 $(STAGEprofile_CONFIGURE_FLAGS) \
14981 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14982 @endif mpc-bootstrap
14983
14984 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14985 maybe-configure-stagetrain-mpc:
14986 @if mpc-bootstrap
14987 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14988 configure-stagetrain-mpc:
14989 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14991 @r=`${PWD_COMMAND}`; export r; \
14992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14993 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14994 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14995 $(HOST_EXPORTS) \
14996 $(POSTSTAGE1_HOST_EXPORTS) \
14997 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14998 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14999 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15000 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15002 cd $(HOST_SUBDIR)/mpc || exit 1; \
15003 case $(srcdir) in \
15004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15005 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15007 esac; \
15008 module_srcdir=mpc; \
15009 $(SHELL) $$s/$$module_srcdir/configure \
15010 --srcdir=$${topdir}/$$module_srcdir \
15011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15012 --target=${target_alias} \
15013 --with-build-libsubdir=$(HOST_SUBDIR) \
15014 $(STAGEtrain_CONFIGURE_FLAGS) \
15015 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15016 @endif mpc-bootstrap
15017
15018 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15019 maybe-configure-stagefeedback-mpc:
15020 @if mpc-bootstrap
15021 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15022 configure-stagefeedback-mpc:
15023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15025 @r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15027 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15028 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15029 $(HOST_EXPORTS) \
15030 $(POSTSTAGE1_HOST_EXPORTS) \
15031 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15032 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15033 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15034 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15036 cd $(HOST_SUBDIR)/mpc || exit 1; \
15037 case $(srcdir) in \
15038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15039 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15041 esac; \
15042 module_srcdir=mpc; \
15043 $(SHELL) $$s/$$module_srcdir/configure \
15044 --srcdir=$${topdir}/$$module_srcdir \
15045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15046 --target=${target_alias} \
15047 --with-build-libsubdir=$(HOST_SUBDIR) \
15048 $(STAGEfeedback_CONFIGURE_FLAGS) \
15049 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15050 @endif mpc-bootstrap
15051
15052 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15053 maybe-configure-stageautoprofile-mpc:
15054 @if mpc-bootstrap
15055 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15056 configure-stageautoprofile-mpc:
15057 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15059 @r=`${PWD_COMMAND}`; export r; \
15060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15062 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15063 $(HOST_EXPORTS) \
15064 $(POSTSTAGE1_HOST_EXPORTS) \
15065 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15066 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15067 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15068 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15070 cd $(HOST_SUBDIR)/mpc || exit 1; \
15071 case $(srcdir) in \
15072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15073 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15075 esac; \
15076 module_srcdir=mpc; \
15077 $(SHELL) $$s/$$module_srcdir/configure \
15078 --srcdir=$${topdir}/$$module_srcdir \
15079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15080 --target=${target_alias} \
15081 --with-build-libsubdir=$(HOST_SUBDIR) \
15082 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15083 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15084 @endif mpc-bootstrap
15085
15086 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15087 maybe-configure-stageautofeedback-mpc:
15088 @if mpc-bootstrap
15089 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15090 configure-stageautofeedback-mpc:
15091 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15093 @r=`${PWD_COMMAND}`; export r; \
15094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15095 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15096 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15097 $(HOST_EXPORTS) \
15098 $(POSTSTAGE1_HOST_EXPORTS) \
15099 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15100 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15101 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15102 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15104 cd $(HOST_SUBDIR)/mpc || exit 1; \
15105 case $(srcdir) in \
15106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15107 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15109 esac; \
15110 module_srcdir=mpc; \
15111 $(SHELL) $$s/$$module_srcdir/configure \
15112 --srcdir=$${topdir}/$$module_srcdir \
15113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15114 --target=${target_alias} \
15115 --with-build-libsubdir=$(HOST_SUBDIR) \
15116 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15117 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15118 @endif mpc-bootstrap
15119
15120
15121
15122
15123
15124 .PHONY: all-mpc maybe-all-mpc
15125 maybe-all-mpc:
15126 @if gcc-bootstrap
15127 all-mpc: stage_current
15128 @endif gcc-bootstrap
15129 @if mpc
15130 TARGET-mpc=all
15131 maybe-all-mpc: all-mpc
15132 all-mpc: configure-mpc
15133 @r=`${PWD_COMMAND}`; export r; \
15134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15135 $(HOST_EXPORTS) \
15136 (cd $(HOST_SUBDIR)/mpc && \
15137 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15138 $(TARGET-mpc))
15139 @endif mpc
15140
15141
15142
15143 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15144 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15145 maybe-all-stage1-mpc:
15146 maybe-clean-stage1-mpc:
15147 @if mpc-bootstrap
15148 maybe-all-stage1-mpc: all-stage1-mpc
15149 all-stage1: all-stage1-mpc
15150 TARGET-stage1-mpc = $(TARGET-mpc)
15151 all-stage1-mpc: configure-stage1-mpc
15152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15153 @r=`${PWD_COMMAND}`; export r; \
15154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15155 TFLAGS="$(STAGE1_TFLAGS)"; \
15156 $(HOST_EXPORTS) \
15157 cd $(HOST_SUBDIR)/mpc && \
15158 \
15159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15160 CFLAGS="$(STAGE1_CFLAGS)" \
15161 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15162 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15163 LIBCFLAGS="$(LIBCFLAGS)" \
15164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15167 $(EXTRA_HOST_FLAGS) \
15168 $(STAGE1_FLAGS_TO_PASS) \
15169 TFLAGS="$(STAGE1_TFLAGS)" \
15170 $(TARGET-stage1-mpc)
15171
15172 maybe-clean-stage1-mpc: clean-stage1-mpc
15173 clean-stage1: clean-stage1-mpc
15174 clean-stage1-mpc:
15175 @if [ $(current_stage) = stage1 ]; then \
15176 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15177 else \
15178 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15179 $(MAKE) stage1-start; \
15180 fi; \
15181 cd $(HOST_SUBDIR)/mpc && \
15182 $(MAKE) $(EXTRA_HOST_FLAGS) \
15183 $(STAGE1_FLAGS_TO_PASS) clean
15184 @endif mpc-bootstrap
15185
15186
15187 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15188 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15189 maybe-all-stage2-mpc:
15190 maybe-clean-stage2-mpc:
15191 @if mpc-bootstrap
15192 maybe-all-stage2-mpc: all-stage2-mpc
15193 all-stage2: all-stage2-mpc
15194 TARGET-stage2-mpc = $(TARGET-mpc)
15195 all-stage2-mpc: configure-stage2-mpc
15196 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15197 @r=`${PWD_COMMAND}`; export r; \
15198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15199 TFLAGS="$(STAGE2_TFLAGS)"; \
15200 $(HOST_EXPORTS) \
15201 $(POSTSTAGE1_HOST_EXPORTS) \
15202 cd $(HOST_SUBDIR)/mpc && \
15203 \
15204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15205 CFLAGS="$(STAGE2_CFLAGS)" \
15206 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15207 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15208 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15213 TFLAGS="$(STAGE2_TFLAGS)" \
15214 $(TARGET-stage2-mpc)
15215
15216 maybe-clean-stage2-mpc: clean-stage2-mpc
15217 clean-stage2: clean-stage2-mpc
15218 clean-stage2-mpc:
15219 @if [ $(current_stage) = stage2 ]; then \
15220 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15221 else \
15222 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15223 $(MAKE) stage2-start; \
15224 fi; \
15225 cd $(HOST_SUBDIR)/mpc && \
15226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15227 @endif mpc-bootstrap
15228
15229
15230 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15231 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15232 maybe-all-stage3-mpc:
15233 maybe-clean-stage3-mpc:
15234 @if mpc-bootstrap
15235 maybe-all-stage3-mpc: all-stage3-mpc
15236 all-stage3: all-stage3-mpc
15237 TARGET-stage3-mpc = $(TARGET-mpc)
15238 all-stage3-mpc: configure-stage3-mpc
15239 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15240 @r=`${PWD_COMMAND}`; export r; \
15241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15242 TFLAGS="$(STAGE3_TFLAGS)"; \
15243 $(HOST_EXPORTS) \
15244 $(POSTSTAGE1_HOST_EXPORTS) \
15245 cd $(HOST_SUBDIR)/mpc && \
15246 \
15247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15248 CFLAGS="$(STAGE3_CFLAGS)" \
15249 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15250 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15251 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15255 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15256 TFLAGS="$(STAGE3_TFLAGS)" \
15257 $(TARGET-stage3-mpc)
15258
15259 maybe-clean-stage3-mpc: clean-stage3-mpc
15260 clean-stage3: clean-stage3-mpc
15261 clean-stage3-mpc:
15262 @if [ $(current_stage) = stage3 ]; then \
15263 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15264 else \
15265 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15266 $(MAKE) stage3-start; \
15267 fi; \
15268 cd $(HOST_SUBDIR)/mpc && \
15269 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15270 @endif mpc-bootstrap
15271
15272
15273 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15274 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15275 maybe-all-stage4-mpc:
15276 maybe-clean-stage4-mpc:
15277 @if mpc-bootstrap
15278 maybe-all-stage4-mpc: all-stage4-mpc
15279 all-stage4: all-stage4-mpc
15280 TARGET-stage4-mpc = $(TARGET-mpc)
15281 all-stage4-mpc: configure-stage4-mpc
15282 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15283 @r=`${PWD_COMMAND}`; export r; \
15284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15285 TFLAGS="$(STAGE4_TFLAGS)"; \
15286 $(HOST_EXPORTS) \
15287 $(POSTSTAGE1_HOST_EXPORTS) \
15288 cd $(HOST_SUBDIR)/mpc && \
15289 \
15290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15291 CFLAGS="$(STAGE4_CFLAGS)" \
15292 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15293 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15294 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15299 TFLAGS="$(STAGE4_TFLAGS)" \
15300 $(TARGET-stage4-mpc)
15301
15302 maybe-clean-stage4-mpc: clean-stage4-mpc
15303 clean-stage4: clean-stage4-mpc
15304 clean-stage4-mpc:
15305 @if [ $(current_stage) = stage4 ]; then \
15306 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15307 else \
15308 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15309 $(MAKE) stage4-start; \
15310 fi; \
15311 cd $(HOST_SUBDIR)/mpc && \
15312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15313 @endif mpc-bootstrap
15314
15315
15316 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15317 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15318 maybe-all-stageprofile-mpc:
15319 maybe-clean-stageprofile-mpc:
15320 @if mpc-bootstrap
15321 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15322 all-stageprofile: all-stageprofile-mpc
15323 TARGET-stageprofile-mpc = $(TARGET-mpc)
15324 all-stageprofile-mpc: configure-stageprofile-mpc
15325 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15326 @r=`${PWD_COMMAND}`; export r; \
15327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15328 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15329 $(HOST_EXPORTS) \
15330 $(POSTSTAGE1_HOST_EXPORTS) \
15331 cd $(HOST_SUBDIR)/mpc && \
15332 \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15334 CFLAGS="$(STAGEprofile_CFLAGS)" \
15335 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15336 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15337 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15342 TFLAGS="$(STAGEprofile_TFLAGS)" \
15343 $(TARGET-stageprofile-mpc)
15344
15345 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15346 clean-stageprofile: clean-stageprofile-mpc
15347 clean-stageprofile-mpc:
15348 @if [ $(current_stage) = stageprofile ]; then \
15349 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15350 else \
15351 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15352 $(MAKE) stageprofile-start; \
15353 fi; \
15354 cd $(HOST_SUBDIR)/mpc && \
15355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15356 @endif mpc-bootstrap
15357
15358
15359 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15360 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15361 maybe-all-stagetrain-mpc:
15362 maybe-clean-stagetrain-mpc:
15363 @if mpc-bootstrap
15364 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15365 all-stagetrain: all-stagetrain-mpc
15366 TARGET-stagetrain-mpc = $(TARGET-mpc)
15367 all-stagetrain-mpc: configure-stagetrain-mpc
15368 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15369 @r=`${PWD_COMMAND}`; export r; \
15370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15371 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15372 $(HOST_EXPORTS) \
15373 $(POSTSTAGE1_HOST_EXPORTS) \
15374 cd $(HOST_SUBDIR)/mpc && \
15375 \
15376 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15377 CFLAGS="$(STAGEtrain_CFLAGS)" \
15378 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
15379 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15380 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15385 TFLAGS="$(STAGEtrain_TFLAGS)" \
15386 $(TARGET-stagetrain-mpc)
15387
15388 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15389 clean-stagetrain: clean-stagetrain-mpc
15390 clean-stagetrain-mpc:
15391 @if [ $(current_stage) = stagetrain ]; then \
15392 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15393 else \
15394 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15395 $(MAKE) stagetrain-start; \
15396 fi; \
15397 cd $(HOST_SUBDIR)/mpc && \
15398 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15399 @endif mpc-bootstrap
15400
15401
15402 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15403 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15404 maybe-all-stagefeedback-mpc:
15405 maybe-clean-stagefeedback-mpc:
15406 @if mpc-bootstrap
15407 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15408 all-stagefeedback: all-stagefeedback-mpc
15409 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15410 all-stagefeedback-mpc: configure-stagefeedback-mpc
15411 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15412 @r=`${PWD_COMMAND}`; export r; \
15413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15414 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15415 $(HOST_EXPORTS) \
15416 $(POSTSTAGE1_HOST_EXPORTS) \
15417 cd $(HOST_SUBDIR)/mpc && \
15418 \
15419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15420 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15421 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
15422 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15423 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15428 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15429 $(TARGET-stagefeedback-mpc)
15430
15431 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15432 clean-stagefeedback: clean-stagefeedback-mpc
15433 clean-stagefeedback-mpc:
15434 @if [ $(current_stage) = stagefeedback ]; then \
15435 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15436 else \
15437 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15438 $(MAKE) stagefeedback-start; \
15439 fi; \
15440 cd $(HOST_SUBDIR)/mpc && \
15441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15442 @endif mpc-bootstrap
15443
15444
15445 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15446 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15447 maybe-all-stageautoprofile-mpc:
15448 maybe-clean-stageautoprofile-mpc:
15449 @if mpc-bootstrap
15450 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15451 all-stageautoprofile: all-stageautoprofile-mpc
15452 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15453 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15454 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15455 @r=`${PWD_COMMAND}`; export r; \
15456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15457 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15458 $(HOST_EXPORTS) \
15459 $(POSTSTAGE1_HOST_EXPORTS) \
15460 cd $(HOST_SUBDIR)/mpc && \
15461 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15463 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15464 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
15465 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15466 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15470 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15471 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15472 $(TARGET-stageautoprofile-mpc)
15473
15474 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15475 clean-stageautoprofile: clean-stageautoprofile-mpc
15476 clean-stageautoprofile-mpc:
15477 @if [ $(current_stage) = stageautoprofile ]; then \
15478 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15479 else \
15480 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15481 $(MAKE) stageautoprofile-start; \
15482 fi; \
15483 cd $(HOST_SUBDIR)/mpc && \
15484 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15485 @endif mpc-bootstrap
15486
15487
15488 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15489 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15490 maybe-all-stageautofeedback-mpc:
15491 maybe-clean-stageautofeedback-mpc:
15492 @if mpc-bootstrap
15493 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15494 all-stageautofeedback: all-stageautofeedback-mpc
15495 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15496 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15497 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15498 @r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15500 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15501 $(HOST_EXPORTS) \
15502 $(POSTSTAGE1_HOST_EXPORTS) \
15503 cd $(HOST_SUBDIR)/mpc && \
15504 \
15505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15506 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15507 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
15508 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15509 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15514 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15515 $(TARGET-stageautofeedback-mpc)
15516
15517 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15518 clean-stageautofeedback: clean-stageautofeedback-mpc
15519 clean-stageautofeedback-mpc:
15520 @if [ $(current_stage) = stageautofeedback ]; then \
15521 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15522 else \
15523 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15524 $(MAKE) stageautofeedback-start; \
15525 fi; \
15526 cd $(HOST_SUBDIR)/mpc && \
15527 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15528 @endif mpc-bootstrap
15529
15530
15531
15532
15533
15534 .PHONY: check-mpc maybe-check-mpc
15535 maybe-check-mpc:
15536 @if mpc
15537 maybe-check-mpc: check-mpc
15538
15539 check-mpc:
15540 @: $(MAKE); $(unstage)
15541 @r=`${PWD_COMMAND}`; export r; \
15542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15544 (cd $(HOST_SUBDIR)/mpc && \
15545 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15546
15547 @endif mpc
15548
15549 .PHONY: install-mpc maybe-install-mpc
15550 maybe-install-mpc:
15551 @if mpc
15552 maybe-install-mpc: install-mpc
15553
15554 install-mpc:
15555
15556 @endif mpc
15557
15558 .PHONY: install-strip-mpc maybe-install-strip-mpc
15559 maybe-install-strip-mpc:
15560 @if mpc
15561 maybe-install-strip-mpc: install-strip-mpc
15562
15563 install-strip-mpc:
15564
15565 @endif mpc
15566
15567 # Other targets (info, dvi, pdf, etc.)
15568
15569 .PHONY: maybe-info-mpc info-mpc
15570 maybe-info-mpc:
15571 @if mpc
15572 maybe-info-mpc: info-mpc
15573
15574 info-mpc: \
15575 configure-mpc
15576 @[ -f ./mpc/Makefile ] || exit 0; \
15577 r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 $(HOST_EXPORTS) \
15580 for flag in $(EXTRA_HOST_FLAGS) ; do \
15581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15582 done; \
15583 echo "Doing info in mpc"; \
15584 (cd $(HOST_SUBDIR)/mpc && \
15585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15587 "RANLIB=$${RANLIB}" \
15588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15589 info) \
15590 || exit 1
15591
15592 @endif mpc
15593
15594 .PHONY: maybe-dvi-mpc dvi-mpc
15595 maybe-dvi-mpc:
15596 @if mpc
15597 maybe-dvi-mpc: dvi-mpc
15598
15599 dvi-mpc: \
15600 configure-mpc
15601 @[ -f ./mpc/Makefile ] || exit 0; \
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(HOST_EXPORTS) \
15605 for flag in $(EXTRA_HOST_FLAGS) ; do \
15606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15607 done; \
15608 echo "Doing dvi in mpc"; \
15609 (cd $(HOST_SUBDIR)/mpc && \
15610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15612 "RANLIB=$${RANLIB}" \
15613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15614 dvi) \
15615 || exit 1
15616
15617 @endif mpc
15618
15619 .PHONY: maybe-pdf-mpc pdf-mpc
15620 maybe-pdf-mpc:
15621 @if mpc
15622 maybe-pdf-mpc: pdf-mpc
15623
15624 pdf-mpc: \
15625 configure-mpc
15626 @[ -f ./mpc/Makefile ] || exit 0; \
15627 r=`${PWD_COMMAND}`; export r; \
15628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15629 $(HOST_EXPORTS) \
15630 for flag in $(EXTRA_HOST_FLAGS) ; do \
15631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15632 done; \
15633 echo "Doing pdf in mpc"; \
15634 (cd $(HOST_SUBDIR)/mpc && \
15635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15637 "RANLIB=$${RANLIB}" \
15638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15639 pdf) \
15640 || exit 1
15641
15642 @endif mpc
15643
15644 .PHONY: maybe-html-mpc html-mpc
15645 maybe-html-mpc:
15646 @if mpc
15647 maybe-html-mpc: html-mpc
15648
15649 html-mpc: \
15650 configure-mpc
15651 @[ -f ./mpc/Makefile ] || exit 0; \
15652 r=`${PWD_COMMAND}`; export r; \
15653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15654 $(HOST_EXPORTS) \
15655 for flag in $(EXTRA_HOST_FLAGS) ; do \
15656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15657 done; \
15658 echo "Doing html in mpc"; \
15659 (cd $(HOST_SUBDIR)/mpc && \
15660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15662 "RANLIB=$${RANLIB}" \
15663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15664 html) \
15665 || exit 1
15666
15667 @endif mpc
15668
15669 .PHONY: maybe-TAGS-mpc TAGS-mpc
15670 maybe-TAGS-mpc:
15671 @if mpc
15672 maybe-TAGS-mpc: TAGS-mpc
15673
15674 TAGS-mpc: \
15675 configure-mpc
15676 @[ -f ./mpc/Makefile ] || exit 0; \
15677 r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 $(HOST_EXPORTS) \
15680 for flag in $(EXTRA_HOST_FLAGS) ; do \
15681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15682 done; \
15683 echo "Doing TAGS in mpc"; \
15684 (cd $(HOST_SUBDIR)/mpc && \
15685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15687 "RANLIB=$${RANLIB}" \
15688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15689 TAGS) \
15690 || exit 1
15691
15692 @endif mpc
15693
15694 .PHONY: maybe-install-info-mpc install-info-mpc
15695 maybe-install-info-mpc:
15696 @if mpc
15697 maybe-install-info-mpc: install-info-mpc
15698
15699 install-info-mpc: \
15700 configure-mpc \
15701 info-mpc
15702 @[ -f ./mpc/Makefile ] || exit 0; \
15703 r=`${PWD_COMMAND}`; export r; \
15704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15705 $(HOST_EXPORTS) \
15706 for flag in $(EXTRA_HOST_FLAGS) ; do \
15707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15708 done; \
15709 echo "Doing install-info in mpc"; \
15710 (cd $(HOST_SUBDIR)/mpc && \
15711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15713 "RANLIB=$${RANLIB}" \
15714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15715 install-info) \
15716 || exit 1
15717
15718 @endif mpc
15719
15720 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15721 maybe-install-pdf-mpc:
15722 @if mpc
15723 maybe-install-pdf-mpc: install-pdf-mpc
15724
15725 install-pdf-mpc: \
15726 configure-mpc \
15727 pdf-mpc
15728 @[ -f ./mpc/Makefile ] || exit 0; \
15729 r=`${PWD_COMMAND}`; export r; \
15730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15731 $(HOST_EXPORTS) \
15732 for flag in $(EXTRA_HOST_FLAGS) ; do \
15733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15734 done; \
15735 echo "Doing install-pdf in mpc"; \
15736 (cd $(HOST_SUBDIR)/mpc && \
15737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15739 "RANLIB=$${RANLIB}" \
15740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15741 install-pdf) \
15742 || exit 1
15743
15744 @endif mpc
15745
15746 .PHONY: maybe-install-html-mpc install-html-mpc
15747 maybe-install-html-mpc:
15748 @if mpc
15749 maybe-install-html-mpc: install-html-mpc
15750
15751 install-html-mpc: \
15752 configure-mpc \
15753 html-mpc
15754 @[ -f ./mpc/Makefile ] || exit 0; \
15755 r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757 $(HOST_EXPORTS) \
15758 for flag in $(EXTRA_HOST_FLAGS) ; do \
15759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15760 done; \
15761 echo "Doing install-html in mpc"; \
15762 (cd $(HOST_SUBDIR)/mpc && \
15763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15765 "RANLIB=$${RANLIB}" \
15766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15767 install-html) \
15768 || exit 1
15769
15770 @endif mpc
15771
15772 .PHONY: maybe-installcheck-mpc installcheck-mpc
15773 maybe-installcheck-mpc:
15774 @if mpc
15775 maybe-installcheck-mpc: installcheck-mpc
15776
15777 installcheck-mpc: \
15778 configure-mpc
15779 @[ -f ./mpc/Makefile ] || exit 0; \
15780 r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782 $(HOST_EXPORTS) \
15783 for flag in $(EXTRA_HOST_FLAGS) ; do \
15784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15785 done; \
15786 echo "Doing installcheck in mpc"; \
15787 (cd $(HOST_SUBDIR)/mpc && \
15788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15790 "RANLIB=$${RANLIB}" \
15791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15792 installcheck) \
15793 || exit 1
15794
15795 @endif mpc
15796
15797 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15798 maybe-mostlyclean-mpc:
15799 @if mpc
15800 maybe-mostlyclean-mpc: mostlyclean-mpc
15801
15802 mostlyclean-mpc:
15803 @[ -f ./mpc/Makefile ] || exit 0; \
15804 r=`${PWD_COMMAND}`; export r; \
15805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15806 $(HOST_EXPORTS) \
15807 for flag in $(EXTRA_HOST_FLAGS) ; do \
15808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15809 done; \
15810 echo "Doing mostlyclean in mpc"; \
15811 (cd $(HOST_SUBDIR)/mpc && \
15812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15814 "RANLIB=$${RANLIB}" \
15815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15816 mostlyclean) \
15817 || exit 1
15818
15819 @endif mpc
15820
15821 .PHONY: maybe-clean-mpc clean-mpc
15822 maybe-clean-mpc:
15823 @if mpc
15824 maybe-clean-mpc: clean-mpc
15825
15826 clean-mpc:
15827 @[ -f ./mpc/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing clean in mpc"; \
15835 (cd $(HOST_SUBDIR)/mpc && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15840 clean) \
15841 || exit 1
15842
15843 @endif mpc
15844
15845 .PHONY: maybe-distclean-mpc distclean-mpc
15846 maybe-distclean-mpc:
15847 @if mpc
15848 maybe-distclean-mpc: distclean-mpc
15849
15850 distclean-mpc:
15851 @[ -f ./mpc/Makefile ] || exit 0; \
15852 r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854 $(HOST_EXPORTS) \
15855 for flag in $(EXTRA_HOST_FLAGS) ; do \
15856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15857 done; \
15858 echo "Doing distclean in mpc"; \
15859 (cd $(HOST_SUBDIR)/mpc && \
15860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15862 "RANLIB=$${RANLIB}" \
15863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15864 distclean) \
15865 || exit 1
15866
15867 @endif mpc
15868
15869 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15870 maybe-maintainer-clean-mpc:
15871 @if mpc
15872 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15873
15874 maintainer-clean-mpc:
15875 @[ -f ./mpc/Makefile ] || exit 0; \
15876 r=`${PWD_COMMAND}`; export r; \
15877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 $(HOST_EXPORTS) \
15879 for flag in $(EXTRA_HOST_FLAGS) ; do \
15880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15881 done; \
15882 echo "Doing maintainer-clean in mpc"; \
15883 (cd $(HOST_SUBDIR)/mpc && \
15884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15886 "RANLIB=$${RANLIB}" \
15887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15888 maintainer-clean) \
15889 || exit 1
15890
15891 @endif mpc
15892
15893
15894
15895 .PHONY: configure-isl maybe-configure-isl
15896 maybe-configure-isl:
15897 @if gcc-bootstrap
15898 configure-isl: stage_current
15899 @endif gcc-bootstrap
15900 @if isl
15901 maybe-configure-isl: configure-isl
15902 configure-isl:
15903 @r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15907 $(HOST_EXPORTS) \
15908 echo Configuring in $(HOST_SUBDIR)/isl; \
15909 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15910 case $(srcdir) in \
15911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15912 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15914 esac; \
15915 module_srcdir=isl; \
15916 $(SHELL) \
15917 $$s/$$module_srcdir/configure \
15918 --srcdir=$${topdir}/$$module_srcdir \
15919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15920 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15921 || exit 1
15922 @endif isl
15923
15924
15925
15926 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15927 maybe-configure-stage1-isl:
15928 @if isl-bootstrap
15929 maybe-configure-stage1-isl: configure-stage1-isl
15930 configure-stage1-isl:
15931 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15933 @r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 TFLAGS="$(STAGE1_TFLAGS)"; \
15936 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15937 $(HOST_EXPORTS) \
15938 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15939 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15940 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15941 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15943 cd $(HOST_SUBDIR)/isl || exit 1; \
15944 case $(srcdir) in \
15945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15946 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15948 esac; \
15949 module_srcdir=isl; \
15950 $(SHELL) $$s/$$module_srcdir/configure \
15951 --srcdir=$${topdir}/$$module_srcdir \
15952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15953 --target=${target_alias} \
15954 \
15955 $(STAGE1_CONFIGURE_FLAGS) \
15956 --disable-shared @extra_isl_gmp_configure_flags@
15957 @endif isl-bootstrap
15958
15959 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15960 maybe-configure-stage2-isl:
15961 @if isl-bootstrap
15962 maybe-configure-stage2-isl: configure-stage2-isl
15963 configure-stage2-isl:
15964 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15966 @r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 TFLAGS="$(STAGE2_TFLAGS)"; \
15969 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15970 $(HOST_EXPORTS) \
15971 $(POSTSTAGE1_HOST_EXPORTS) \
15972 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15973 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15974 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15975 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15977 cd $(HOST_SUBDIR)/isl || exit 1; \
15978 case $(srcdir) in \
15979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15980 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15982 esac; \
15983 module_srcdir=isl; \
15984 $(SHELL) $$s/$$module_srcdir/configure \
15985 --srcdir=$${topdir}/$$module_srcdir \
15986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15987 --target=${target_alias} \
15988 --with-build-libsubdir=$(HOST_SUBDIR) \
15989 $(STAGE2_CONFIGURE_FLAGS) \
15990 --disable-shared @extra_isl_gmp_configure_flags@
15991 @endif isl-bootstrap
15992
15993 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15994 maybe-configure-stage3-isl:
15995 @if isl-bootstrap
15996 maybe-configure-stage3-isl: configure-stage3-isl
15997 configure-stage3-isl:
15998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16000 @r=`${PWD_COMMAND}`; export r; \
16001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16002 TFLAGS="$(STAGE3_TFLAGS)"; \
16003 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16004 $(HOST_EXPORTS) \
16005 $(POSTSTAGE1_HOST_EXPORTS) \
16006 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16007 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16008 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16009 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16011 cd $(HOST_SUBDIR)/isl || exit 1; \
16012 case $(srcdir) in \
16013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16014 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16016 esac; \
16017 module_srcdir=isl; \
16018 $(SHELL) $$s/$$module_srcdir/configure \
16019 --srcdir=$${topdir}/$$module_srcdir \
16020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16021 --target=${target_alias} \
16022 --with-build-libsubdir=$(HOST_SUBDIR) \
16023 $(STAGE3_CONFIGURE_FLAGS) \
16024 --disable-shared @extra_isl_gmp_configure_flags@
16025 @endif isl-bootstrap
16026
16027 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16028 maybe-configure-stage4-isl:
16029 @if isl-bootstrap
16030 maybe-configure-stage4-isl: configure-stage4-isl
16031 configure-stage4-isl:
16032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16034 @r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 TFLAGS="$(STAGE4_TFLAGS)"; \
16037 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16038 $(HOST_EXPORTS) \
16039 $(POSTSTAGE1_HOST_EXPORTS) \
16040 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16041 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16042 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16043 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16045 cd $(HOST_SUBDIR)/isl || exit 1; \
16046 case $(srcdir) in \
16047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16048 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16050 esac; \
16051 module_srcdir=isl; \
16052 $(SHELL) $$s/$$module_srcdir/configure \
16053 --srcdir=$${topdir}/$$module_srcdir \
16054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16055 --target=${target_alias} \
16056 --with-build-libsubdir=$(HOST_SUBDIR) \
16057 $(STAGE4_CONFIGURE_FLAGS) \
16058 --disable-shared @extra_isl_gmp_configure_flags@
16059 @endif isl-bootstrap
16060
16061 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16062 maybe-configure-stageprofile-isl:
16063 @if isl-bootstrap
16064 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16065 configure-stageprofile-isl:
16066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16068 @r=`${PWD_COMMAND}`; export r; \
16069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16070 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16071 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16072 $(HOST_EXPORTS) \
16073 $(POSTSTAGE1_HOST_EXPORTS) \
16074 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16075 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16076 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16077 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16079 cd $(HOST_SUBDIR)/isl || exit 1; \
16080 case $(srcdir) in \
16081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16082 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16084 esac; \
16085 module_srcdir=isl; \
16086 $(SHELL) $$s/$$module_srcdir/configure \
16087 --srcdir=$${topdir}/$$module_srcdir \
16088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16089 --target=${target_alias} \
16090 --with-build-libsubdir=$(HOST_SUBDIR) \
16091 $(STAGEprofile_CONFIGURE_FLAGS) \
16092 --disable-shared @extra_isl_gmp_configure_flags@
16093 @endif isl-bootstrap
16094
16095 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16096 maybe-configure-stagetrain-isl:
16097 @if isl-bootstrap
16098 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16099 configure-stagetrain-isl:
16100 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16102 @r=`${PWD_COMMAND}`; export r; \
16103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16104 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16105 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16106 $(HOST_EXPORTS) \
16107 $(POSTSTAGE1_HOST_EXPORTS) \
16108 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16109 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16110 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16111 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16113 cd $(HOST_SUBDIR)/isl || exit 1; \
16114 case $(srcdir) in \
16115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16116 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16118 esac; \
16119 module_srcdir=isl; \
16120 $(SHELL) $$s/$$module_srcdir/configure \
16121 --srcdir=$${topdir}/$$module_srcdir \
16122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16123 --target=${target_alias} \
16124 --with-build-libsubdir=$(HOST_SUBDIR) \
16125 $(STAGEtrain_CONFIGURE_FLAGS) \
16126 --disable-shared @extra_isl_gmp_configure_flags@
16127 @endif isl-bootstrap
16128
16129 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16130 maybe-configure-stagefeedback-isl:
16131 @if isl-bootstrap
16132 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16133 configure-stagefeedback-isl:
16134 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16136 @r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16139 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16140 $(HOST_EXPORTS) \
16141 $(POSTSTAGE1_HOST_EXPORTS) \
16142 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16143 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16144 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16145 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16147 cd $(HOST_SUBDIR)/isl || exit 1; \
16148 case $(srcdir) in \
16149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16150 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16152 esac; \
16153 module_srcdir=isl; \
16154 $(SHELL) $$s/$$module_srcdir/configure \
16155 --srcdir=$${topdir}/$$module_srcdir \
16156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16157 --target=${target_alias} \
16158 --with-build-libsubdir=$(HOST_SUBDIR) \
16159 $(STAGEfeedback_CONFIGURE_FLAGS) \
16160 --disable-shared @extra_isl_gmp_configure_flags@
16161 @endif isl-bootstrap
16162
16163 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16164 maybe-configure-stageautoprofile-isl:
16165 @if isl-bootstrap
16166 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16167 configure-stageautoprofile-isl:
16168 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16170 @r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16173 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16174 $(HOST_EXPORTS) \
16175 $(POSTSTAGE1_HOST_EXPORTS) \
16176 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16177 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16178 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16179 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16181 cd $(HOST_SUBDIR)/isl || exit 1; \
16182 case $(srcdir) in \
16183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16184 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16186 esac; \
16187 module_srcdir=isl; \
16188 $(SHELL) $$s/$$module_srcdir/configure \
16189 --srcdir=$${topdir}/$$module_srcdir \
16190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16191 --target=${target_alias} \
16192 --with-build-libsubdir=$(HOST_SUBDIR) \
16193 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16194 --disable-shared @extra_isl_gmp_configure_flags@
16195 @endif isl-bootstrap
16196
16197 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16198 maybe-configure-stageautofeedback-isl:
16199 @if isl-bootstrap
16200 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16201 configure-stageautofeedback-isl:
16202 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16204 @r=`${PWD_COMMAND}`; export r; \
16205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16207 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16208 $(HOST_EXPORTS) \
16209 $(POSTSTAGE1_HOST_EXPORTS) \
16210 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16211 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16212 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16213 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16215 cd $(HOST_SUBDIR)/isl || exit 1; \
16216 case $(srcdir) in \
16217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16218 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16220 esac; \
16221 module_srcdir=isl; \
16222 $(SHELL) $$s/$$module_srcdir/configure \
16223 --srcdir=$${topdir}/$$module_srcdir \
16224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16225 --target=${target_alias} \
16226 --with-build-libsubdir=$(HOST_SUBDIR) \
16227 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16228 --disable-shared @extra_isl_gmp_configure_flags@
16229 @endif isl-bootstrap
16230
16231
16232
16233
16234
16235 .PHONY: all-isl maybe-all-isl
16236 maybe-all-isl:
16237 @if gcc-bootstrap
16238 all-isl: stage_current
16239 @endif gcc-bootstrap
16240 @if isl
16241 TARGET-isl=all
16242 maybe-all-isl: all-isl
16243 all-isl: configure-isl
16244 @r=`${PWD_COMMAND}`; export r; \
16245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16246 $(HOST_EXPORTS) \
16247 (cd $(HOST_SUBDIR)/isl && \
16248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16249 $(TARGET-isl))
16250 @endif isl
16251
16252
16253
16254 .PHONY: all-stage1-isl maybe-all-stage1-isl
16255 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16256 maybe-all-stage1-isl:
16257 maybe-clean-stage1-isl:
16258 @if isl-bootstrap
16259 maybe-all-stage1-isl: all-stage1-isl
16260 all-stage1: all-stage1-isl
16261 TARGET-stage1-isl = $(TARGET-isl)
16262 all-stage1-isl: configure-stage1-isl
16263 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16264 @r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 TFLAGS="$(STAGE1_TFLAGS)"; \
16267 $(HOST_EXPORTS) \
16268 cd $(HOST_SUBDIR)/isl && \
16269 \
16270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16271 CFLAGS="$(STAGE1_CFLAGS)" \
16272 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16273 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16274 LIBCFLAGS="$(LIBCFLAGS)" \
16275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16278 $(EXTRA_HOST_FLAGS) \
16279 $(STAGE1_FLAGS_TO_PASS) V=1 \
16280 TFLAGS="$(STAGE1_TFLAGS)" \
16281 $(TARGET-stage1-isl)
16282
16283 maybe-clean-stage1-isl: clean-stage1-isl
16284 clean-stage1: clean-stage1-isl
16285 clean-stage1-isl:
16286 @if [ $(current_stage) = stage1 ]; then \
16287 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16288 else \
16289 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16290 $(MAKE) stage1-start; \
16291 fi; \
16292 cd $(HOST_SUBDIR)/isl && \
16293 $(MAKE) $(EXTRA_HOST_FLAGS) \
16294 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16295 @endif isl-bootstrap
16296
16297
16298 .PHONY: all-stage2-isl maybe-all-stage2-isl
16299 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16300 maybe-all-stage2-isl:
16301 maybe-clean-stage2-isl:
16302 @if isl-bootstrap
16303 maybe-all-stage2-isl: all-stage2-isl
16304 all-stage2: all-stage2-isl
16305 TARGET-stage2-isl = $(TARGET-isl)
16306 all-stage2-isl: configure-stage2-isl
16307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16308 @r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 TFLAGS="$(STAGE2_TFLAGS)"; \
16311 $(HOST_EXPORTS) \
16312 $(POSTSTAGE1_HOST_EXPORTS) \
16313 cd $(HOST_SUBDIR)/isl && \
16314 \
16315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16316 CFLAGS="$(STAGE2_CFLAGS)" \
16317 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16318 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16319 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16324 TFLAGS="$(STAGE2_TFLAGS)" \
16325 $(TARGET-stage2-isl)
16326
16327 maybe-clean-stage2-isl: clean-stage2-isl
16328 clean-stage2: clean-stage2-isl
16329 clean-stage2-isl:
16330 @if [ $(current_stage) = stage2 ]; then \
16331 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16332 else \
16333 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16334 $(MAKE) stage2-start; \
16335 fi; \
16336 cd $(HOST_SUBDIR)/isl && \
16337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16338 @endif isl-bootstrap
16339
16340
16341 .PHONY: all-stage3-isl maybe-all-stage3-isl
16342 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16343 maybe-all-stage3-isl:
16344 maybe-clean-stage3-isl:
16345 @if isl-bootstrap
16346 maybe-all-stage3-isl: all-stage3-isl
16347 all-stage3: all-stage3-isl
16348 TARGET-stage3-isl = $(TARGET-isl)
16349 all-stage3-isl: configure-stage3-isl
16350 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16351 @r=`${PWD_COMMAND}`; export r; \
16352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 TFLAGS="$(STAGE3_TFLAGS)"; \
16354 $(HOST_EXPORTS) \
16355 $(POSTSTAGE1_HOST_EXPORTS) \
16356 cd $(HOST_SUBDIR)/isl && \
16357 \
16358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16359 CFLAGS="$(STAGE3_CFLAGS)" \
16360 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
16361 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16362 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16366 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16367 TFLAGS="$(STAGE3_TFLAGS)" \
16368 $(TARGET-stage3-isl)
16369
16370 maybe-clean-stage3-isl: clean-stage3-isl
16371 clean-stage3: clean-stage3-isl
16372 clean-stage3-isl:
16373 @if [ $(current_stage) = stage3 ]; then \
16374 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16375 else \
16376 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16377 $(MAKE) stage3-start; \
16378 fi; \
16379 cd $(HOST_SUBDIR)/isl && \
16380 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16381 @endif isl-bootstrap
16382
16383
16384 .PHONY: all-stage4-isl maybe-all-stage4-isl
16385 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16386 maybe-all-stage4-isl:
16387 maybe-clean-stage4-isl:
16388 @if isl-bootstrap
16389 maybe-all-stage4-isl: all-stage4-isl
16390 all-stage4: all-stage4-isl
16391 TARGET-stage4-isl = $(TARGET-isl)
16392 all-stage4-isl: configure-stage4-isl
16393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16394 @r=`${PWD_COMMAND}`; export r; \
16395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16396 TFLAGS="$(STAGE4_TFLAGS)"; \
16397 $(HOST_EXPORTS) \
16398 $(POSTSTAGE1_HOST_EXPORTS) \
16399 cd $(HOST_SUBDIR)/isl && \
16400 \
16401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16402 CFLAGS="$(STAGE4_CFLAGS)" \
16403 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
16404 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16405 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16410 TFLAGS="$(STAGE4_TFLAGS)" \
16411 $(TARGET-stage4-isl)
16412
16413 maybe-clean-stage4-isl: clean-stage4-isl
16414 clean-stage4: clean-stage4-isl
16415 clean-stage4-isl:
16416 @if [ $(current_stage) = stage4 ]; then \
16417 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16418 else \
16419 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16420 $(MAKE) stage4-start; \
16421 fi; \
16422 cd $(HOST_SUBDIR)/isl && \
16423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16424 @endif isl-bootstrap
16425
16426
16427 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16428 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16429 maybe-all-stageprofile-isl:
16430 maybe-clean-stageprofile-isl:
16431 @if isl-bootstrap
16432 maybe-all-stageprofile-isl: all-stageprofile-isl
16433 all-stageprofile: all-stageprofile-isl
16434 TARGET-stageprofile-isl = $(TARGET-isl)
16435 all-stageprofile-isl: configure-stageprofile-isl
16436 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16437 @r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16440 $(HOST_EXPORTS) \
16441 $(POSTSTAGE1_HOST_EXPORTS) \
16442 cd $(HOST_SUBDIR)/isl && \
16443 \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16445 CFLAGS="$(STAGEprofile_CFLAGS)" \
16446 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
16447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16448 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16452 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16453 TFLAGS="$(STAGEprofile_TFLAGS)" \
16454 $(TARGET-stageprofile-isl)
16455
16456 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16457 clean-stageprofile: clean-stageprofile-isl
16458 clean-stageprofile-isl:
16459 @if [ $(current_stage) = stageprofile ]; then \
16460 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16461 else \
16462 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16463 $(MAKE) stageprofile-start; \
16464 fi; \
16465 cd $(HOST_SUBDIR)/isl && \
16466 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16467 @endif isl-bootstrap
16468
16469
16470 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16471 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16472 maybe-all-stagetrain-isl:
16473 maybe-clean-stagetrain-isl:
16474 @if isl-bootstrap
16475 maybe-all-stagetrain-isl: all-stagetrain-isl
16476 all-stagetrain: all-stagetrain-isl
16477 TARGET-stagetrain-isl = $(TARGET-isl)
16478 all-stagetrain-isl: configure-stagetrain-isl
16479 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16480 @r=`${PWD_COMMAND}`; export r; \
16481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16482 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16483 $(HOST_EXPORTS) \
16484 $(POSTSTAGE1_HOST_EXPORTS) \
16485 cd $(HOST_SUBDIR)/isl && \
16486 \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16488 CFLAGS="$(STAGEtrain_CFLAGS)" \
16489 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16490 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16491 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16496 TFLAGS="$(STAGEtrain_TFLAGS)" \
16497 $(TARGET-stagetrain-isl)
16498
16499 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16500 clean-stagetrain: clean-stagetrain-isl
16501 clean-stagetrain-isl:
16502 @if [ $(current_stage) = stagetrain ]; then \
16503 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16504 else \
16505 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16506 $(MAKE) stagetrain-start; \
16507 fi; \
16508 cd $(HOST_SUBDIR)/isl && \
16509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16510 @endif isl-bootstrap
16511
16512
16513 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16514 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16515 maybe-all-stagefeedback-isl:
16516 maybe-clean-stagefeedback-isl:
16517 @if isl-bootstrap
16518 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16519 all-stagefeedback: all-stagefeedback-isl
16520 TARGET-stagefeedback-isl = $(TARGET-isl)
16521 all-stagefeedback-isl: configure-stagefeedback-isl
16522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16523 @r=`${PWD_COMMAND}`; export r; \
16524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16525 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16526 $(HOST_EXPORTS) \
16527 $(POSTSTAGE1_HOST_EXPORTS) \
16528 cd $(HOST_SUBDIR)/isl && \
16529 \
16530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16531 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16532 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16533 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16534 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16539 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16540 $(TARGET-stagefeedback-isl)
16541
16542 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16543 clean-stagefeedback: clean-stagefeedback-isl
16544 clean-stagefeedback-isl:
16545 @if [ $(current_stage) = stagefeedback ]; then \
16546 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16547 else \
16548 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16549 $(MAKE) stagefeedback-start; \
16550 fi; \
16551 cd $(HOST_SUBDIR)/isl && \
16552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16553 @endif isl-bootstrap
16554
16555
16556 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16557 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16558 maybe-all-stageautoprofile-isl:
16559 maybe-clean-stageautoprofile-isl:
16560 @if isl-bootstrap
16561 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16562 all-stageautoprofile: all-stageautoprofile-isl
16563 TARGET-stageautoprofile-isl = $(TARGET-isl)
16564 all-stageautoprofile-isl: configure-stageautoprofile-isl
16565 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16566 @r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16569 $(HOST_EXPORTS) \
16570 $(POSTSTAGE1_HOST_EXPORTS) \
16571 cd $(HOST_SUBDIR)/isl && \
16572 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16574 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16575 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16576 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16577 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16582 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16583 $(TARGET-stageautoprofile-isl)
16584
16585 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16586 clean-stageautoprofile: clean-stageautoprofile-isl
16587 clean-stageautoprofile-isl:
16588 @if [ $(current_stage) = stageautoprofile ]; then \
16589 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16590 else \
16591 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16592 $(MAKE) stageautoprofile-start; \
16593 fi; \
16594 cd $(HOST_SUBDIR)/isl && \
16595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16596 @endif isl-bootstrap
16597
16598
16599 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16600 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16601 maybe-all-stageautofeedback-isl:
16602 maybe-clean-stageautofeedback-isl:
16603 @if isl-bootstrap
16604 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16605 all-stageautofeedback: all-stageautofeedback-isl
16606 TARGET-stageautofeedback-isl = $(TARGET-isl)
16607 all-stageautofeedback-isl: configure-stageautofeedback-isl
16608 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16609 @r=`${PWD_COMMAND}`; export r; \
16610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16612 $(HOST_EXPORTS) \
16613 $(POSTSTAGE1_HOST_EXPORTS) \
16614 cd $(HOST_SUBDIR)/isl && \
16615 \
16616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16617 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16618 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16619 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16620 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16625 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16626 $(TARGET-stageautofeedback-isl)
16627
16628 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16629 clean-stageautofeedback: clean-stageautofeedback-isl
16630 clean-stageautofeedback-isl:
16631 @if [ $(current_stage) = stageautofeedback ]; then \
16632 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16633 else \
16634 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16635 $(MAKE) stageautofeedback-start; \
16636 fi; \
16637 cd $(HOST_SUBDIR)/isl && \
16638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16639 @endif isl-bootstrap
16640
16641
16642
16643
16644
16645 .PHONY: check-isl maybe-check-isl
16646 maybe-check-isl:
16647 @if isl
16648 maybe-check-isl: check-isl
16649
16650 check-isl:
16651 @: $(MAKE); $(unstage)
16652 @r=`${PWD_COMMAND}`; export r; \
16653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16654 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16655 (cd $(HOST_SUBDIR)/isl && \
16656 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16657
16658 @endif isl
16659
16660 .PHONY: install-isl maybe-install-isl
16661 maybe-install-isl:
16662 @if isl
16663 maybe-install-isl: install-isl
16664
16665 install-isl:
16666
16667 @endif isl
16668
16669 .PHONY: install-strip-isl maybe-install-strip-isl
16670 maybe-install-strip-isl:
16671 @if isl
16672 maybe-install-strip-isl: install-strip-isl
16673
16674 install-strip-isl:
16675
16676 @endif isl
16677
16678 # Other targets (info, dvi, pdf, etc.)
16679
16680 .PHONY: maybe-info-isl info-isl
16681 maybe-info-isl:
16682 @if isl
16683 maybe-info-isl: info-isl
16684
16685 info-isl: \
16686 configure-isl
16687 @[ -f ./isl/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing info in isl"; \
16695 (cd $(HOST_SUBDIR)/isl && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16700 info) \
16701 || exit 1
16702
16703 @endif isl
16704
16705 .PHONY: maybe-dvi-isl dvi-isl
16706 maybe-dvi-isl:
16707 @if isl
16708 maybe-dvi-isl: dvi-isl
16709
16710 dvi-isl: \
16711 configure-isl
16712 @[ -f ./isl/Makefile ] || exit 0; \
16713 r=`${PWD_COMMAND}`; export r; \
16714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16715 $(HOST_EXPORTS) \
16716 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16718 done; \
16719 echo "Doing dvi in isl"; \
16720 (cd $(HOST_SUBDIR)/isl && \
16721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16723 "RANLIB=$${RANLIB}" \
16724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16725 dvi) \
16726 || exit 1
16727
16728 @endif isl
16729
16730 .PHONY: maybe-pdf-isl pdf-isl
16731 maybe-pdf-isl:
16732 @if isl
16733 maybe-pdf-isl: pdf-isl
16734
16735 pdf-isl: \
16736 configure-isl
16737 @[ -f ./isl/Makefile ] || exit 0; \
16738 r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(HOST_EXPORTS) \
16741 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16743 done; \
16744 echo "Doing pdf in isl"; \
16745 (cd $(HOST_SUBDIR)/isl && \
16746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16748 "RANLIB=$${RANLIB}" \
16749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16750 pdf) \
16751 || exit 1
16752
16753 @endif isl
16754
16755 .PHONY: maybe-html-isl html-isl
16756 maybe-html-isl:
16757 @if isl
16758 maybe-html-isl: html-isl
16759
16760 html-isl: \
16761 configure-isl
16762 @[ -f ./isl/Makefile ] || exit 0; \
16763 r=`${PWD_COMMAND}`; export r; \
16764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16765 $(HOST_EXPORTS) \
16766 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16768 done; \
16769 echo "Doing html in isl"; \
16770 (cd $(HOST_SUBDIR)/isl && \
16771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16773 "RANLIB=$${RANLIB}" \
16774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16775 html) \
16776 || exit 1
16777
16778 @endif isl
16779
16780 .PHONY: maybe-TAGS-isl TAGS-isl
16781 maybe-TAGS-isl:
16782 @if isl
16783 maybe-TAGS-isl: TAGS-isl
16784
16785 TAGS-isl: \
16786 configure-isl
16787 @[ -f ./isl/Makefile ] || exit 0; \
16788 r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 $(HOST_EXPORTS) \
16791 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16793 done; \
16794 echo "Doing TAGS in isl"; \
16795 (cd $(HOST_SUBDIR)/isl && \
16796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16798 "RANLIB=$${RANLIB}" \
16799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16800 TAGS) \
16801 || exit 1
16802
16803 @endif isl
16804
16805 .PHONY: maybe-install-info-isl install-info-isl
16806 maybe-install-info-isl:
16807 @if isl
16808 maybe-install-info-isl: install-info-isl
16809
16810 install-info-isl: \
16811 configure-isl \
16812 info-isl
16813 @[ -f ./isl/Makefile ] || exit 0; \
16814 r=`${PWD_COMMAND}`; export r; \
16815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16816 $(HOST_EXPORTS) \
16817 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16819 done; \
16820 echo "Doing install-info in isl"; \
16821 (cd $(HOST_SUBDIR)/isl && \
16822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16824 "RANLIB=$${RANLIB}" \
16825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16826 install-info) \
16827 || exit 1
16828
16829 @endif isl
16830
16831 .PHONY: maybe-install-pdf-isl install-pdf-isl
16832 maybe-install-pdf-isl:
16833 @if isl
16834 maybe-install-pdf-isl: install-pdf-isl
16835
16836 install-pdf-isl: \
16837 configure-isl \
16838 pdf-isl
16839 @[ -f ./isl/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845 done; \
16846 echo "Doing install-pdf in isl"; \
16847 (cd $(HOST_SUBDIR)/isl && \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16852 install-pdf) \
16853 || exit 1
16854
16855 @endif isl
16856
16857 .PHONY: maybe-install-html-isl install-html-isl
16858 maybe-install-html-isl:
16859 @if isl
16860 maybe-install-html-isl: install-html-isl
16861
16862 install-html-isl: \
16863 configure-isl \
16864 html-isl
16865 @[ -f ./isl/Makefile ] || exit 0; \
16866 r=`${PWD_COMMAND}`; export r; \
16867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16868 $(HOST_EXPORTS) \
16869 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16871 done; \
16872 echo "Doing install-html in isl"; \
16873 (cd $(HOST_SUBDIR)/isl && \
16874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16876 "RANLIB=$${RANLIB}" \
16877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16878 install-html) \
16879 || exit 1
16880
16881 @endif isl
16882
16883 .PHONY: maybe-installcheck-isl installcheck-isl
16884 maybe-installcheck-isl:
16885 @if isl
16886 maybe-installcheck-isl: installcheck-isl
16887
16888 installcheck-isl: \
16889 configure-isl
16890 @[ -f ./isl/Makefile ] || exit 0; \
16891 r=`${PWD_COMMAND}`; export r; \
16892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16893 $(HOST_EXPORTS) \
16894 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16896 done; \
16897 echo "Doing installcheck in isl"; \
16898 (cd $(HOST_SUBDIR)/isl && \
16899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16901 "RANLIB=$${RANLIB}" \
16902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16903 installcheck) \
16904 || exit 1
16905
16906 @endif isl
16907
16908 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16909 maybe-mostlyclean-isl:
16910 @if isl
16911 maybe-mostlyclean-isl: mostlyclean-isl
16912
16913 mostlyclean-isl:
16914 @[ -f ./isl/Makefile ] || exit 0; \
16915 r=`${PWD_COMMAND}`; export r; \
16916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16917 $(HOST_EXPORTS) \
16918 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16920 done; \
16921 echo "Doing mostlyclean in isl"; \
16922 (cd $(HOST_SUBDIR)/isl && \
16923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16925 "RANLIB=$${RANLIB}" \
16926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16927 mostlyclean) \
16928 || exit 1
16929
16930 @endif isl
16931
16932 .PHONY: maybe-clean-isl clean-isl
16933 maybe-clean-isl:
16934 @if isl
16935 maybe-clean-isl: clean-isl
16936
16937 clean-isl:
16938 @[ -f ./isl/Makefile ] || exit 0; \
16939 r=`${PWD_COMMAND}`; export r; \
16940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16941 $(HOST_EXPORTS) \
16942 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16944 done; \
16945 echo "Doing clean in isl"; \
16946 (cd $(HOST_SUBDIR)/isl && \
16947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16949 "RANLIB=$${RANLIB}" \
16950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16951 clean) \
16952 || exit 1
16953
16954 @endif isl
16955
16956 .PHONY: maybe-distclean-isl distclean-isl
16957 maybe-distclean-isl:
16958 @if isl
16959 maybe-distclean-isl: distclean-isl
16960
16961 distclean-isl:
16962 @[ -f ./isl/Makefile ] || exit 0; \
16963 r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 $(HOST_EXPORTS) \
16966 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16968 done; \
16969 echo "Doing distclean in isl"; \
16970 (cd $(HOST_SUBDIR)/isl && \
16971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16973 "RANLIB=$${RANLIB}" \
16974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16975 distclean) \
16976 || exit 1
16977
16978 @endif isl
16979
16980 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16981 maybe-maintainer-clean-isl:
16982 @if isl
16983 maybe-maintainer-clean-isl: maintainer-clean-isl
16984
16985 maintainer-clean-isl:
16986 @[ -f ./isl/Makefile ] || exit 0; \
16987 r=`${PWD_COMMAND}`; export r; \
16988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16989 $(HOST_EXPORTS) \
16990 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16992 done; \
16993 echo "Doing maintainer-clean in isl"; \
16994 (cd $(HOST_SUBDIR)/isl && \
16995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16997 "RANLIB=$${RANLIB}" \
16998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16999 maintainer-clean) \
17000 || exit 1
17001
17002 @endif isl
17003
17004
17005
17006 .PHONY: configure-libelf maybe-configure-libelf
17007 maybe-configure-libelf:
17008 @if gcc-bootstrap
17009 configure-libelf: stage_current
17010 @endif gcc-bootstrap
17011 @if libelf
17012 maybe-configure-libelf: configure-libelf
17013 configure-libelf:
17014 @r=`${PWD_COMMAND}`; export r; \
17015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17016 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17018 $(HOST_EXPORTS) \
17019 echo Configuring in $(HOST_SUBDIR)/libelf; \
17020 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17021 case $(srcdir) in \
17022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17023 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17025 esac; \
17026 module_srcdir=libelf; \
17027 $(SHELL) \
17028 $$s/$$module_srcdir/configure \
17029 --srcdir=$${topdir}/$$module_srcdir \
17030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17031 --target=${target_alias} --disable-shared \
17032 || exit 1
17033 @endif libelf
17034
17035
17036
17037 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17038 maybe-configure-stage1-libelf:
17039 @if libelf-bootstrap
17040 maybe-configure-stage1-libelf: configure-stage1-libelf
17041 configure-stage1-libelf:
17042 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17044 @r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 TFLAGS="$(STAGE1_TFLAGS)"; \
17047 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17048 $(HOST_EXPORTS) \
17049 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17050 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17051 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17052 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17054 cd $(HOST_SUBDIR)/libelf || exit 1; \
17055 case $(srcdir) in \
17056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17057 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17059 esac; \
17060 module_srcdir=libelf; \
17061 $(SHELL) $$s/$$module_srcdir/configure \
17062 --srcdir=$${topdir}/$$module_srcdir \
17063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17064 --target=${target_alias} \
17065 \
17066 $(STAGE1_CONFIGURE_FLAGS) \
17067 --disable-shared
17068 @endif libelf-bootstrap
17069
17070 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17071 maybe-configure-stage2-libelf:
17072 @if libelf-bootstrap
17073 maybe-configure-stage2-libelf: configure-stage2-libelf
17074 configure-stage2-libelf:
17075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17077 @r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079 TFLAGS="$(STAGE2_TFLAGS)"; \
17080 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17081 $(HOST_EXPORTS) \
17082 $(POSTSTAGE1_HOST_EXPORTS) \
17083 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17084 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17085 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17086 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17088 cd $(HOST_SUBDIR)/libelf || exit 1; \
17089 case $(srcdir) in \
17090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17091 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17093 esac; \
17094 module_srcdir=libelf; \
17095 $(SHELL) $$s/$$module_srcdir/configure \
17096 --srcdir=$${topdir}/$$module_srcdir \
17097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17098 --target=${target_alias} \
17099 --with-build-libsubdir=$(HOST_SUBDIR) \
17100 $(STAGE2_CONFIGURE_FLAGS) \
17101 --disable-shared
17102 @endif libelf-bootstrap
17103
17104 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17105 maybe-configure-stage3-libelf:
17106 @if libelf-bootstrap
17107 maybe-configure-stage3-libelf: configure-stage3-libelf
17108 configure-stage3-libelf:
17109 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17111 @r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 TFLAGS="$(STAGE3_TFLAGS)"; \
17114 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17115 $(HOST_EXPORTS) \
17116 $(POSTSTAGE1_HOST_EXPORTS) \
17117 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17118 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17119 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17120 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17122 cd $(HOST_SUBDIR)/libelf || exit 1; \
17123 case $(srcdir) in \
17124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17125 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17127 esac; \
17128 module_srcdir=libelf; \
17129 $(SHELL) $$s/$$module_srcdir/configure \
17130 --srcdir=$${topdir}/$$module_srcdir \
17131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17132 --target=${target_alias} \
17133 --with-build-libsubdir=$(HOST_SUBDIR) \
17134 $(STAGE3_CONFIGURE_FLAGS) \
17135 --disable-shared
17136 @endif libelf-bootstrap
17137
17138 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17139 maybe-configure-stage4-libelf:
17140 @if libelf-bootstrap
17141 maybe-configure-stage4-libelf: configure-stage4-libelf
17142 configure-stage4-libelf:
17143 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17145 @r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 TFLAGS="$(STAGE4_TFLAGS)"; \
17148 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17149 $(HOST_EXPORTS) \
17150 $(POSTSTAGE1_HOST_EXPORTS) \
17151 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17152 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17153 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17154 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17156 cd $(HOST_SUBDIR)/libelf || exit 1; \
17157 case $(srcdir) in \
17158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17159 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17161 esac; \
17162 module_srcdir=libelf; \
17163 $(SHELL) $$s/$$module_srcdir/configure \
17164 --srcdir=$${topdir}/$$module_srcdir \
17165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17166 --target=${target_alias} \
17167 --with-build-libsubdir=$(HOST_SUBDIR) \
17168 $(STAGE4_CONFIGURE_FLAGS) \
17169 --disable-shared
17170 @endif libelf-bootstrap
17171
17172 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17173 maybe-configure-stageprofile-libelf:
17174 @if libelf-bootstrap
17175 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17176 configure-stageprofile-libelf:
17177 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17178 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17179 @r=`${PWD_COMMAND}`; export r; \
17180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17181 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17182 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17183 $(HOST_EXPORTS) \
17184 $(POSTSTAGE1_HOST_EXPORTS) \
17185 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17186 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17187 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17188 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17190 cd $(HOST_SUBDIR)/libelf || exit 1; \
17191 case $(srcdir) in \
17192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17193 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17195 esac; \
17196 module_srcdir=libelf; \
17197 $(SHELL) $$s/$$module_srcdir/configure \
17198 --srcdir=$${topdir}/$$module_srcdir \
17199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17200 --target=${target_alias} \
17201 --with-build-libsubdir=$(HOST_SUBDIR) \
17202 $(STAGEprofile_CONFIGURE_FLAGS) \
17203 --disable-shared
17204 @endif libelf-bootstrap
17205
17206 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17207 maybe-configure-stagetrain-libelf:
17208 @if libelf-bootstrap
17209 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17210 configure-stagetrain-libelf:
17211 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17213 @r=`${PWD_COMMAND}`; export r; \
17214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17215 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17216 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17217 $(HOST_EXPORTS) \
17218 $(POSTSTAGE1_HOST_EXPORTS) \
17219 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17220 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17221 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17222 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17224 cd $(HOST_SUBDIR)/libelf || exit 1; \
17225 case $(srcdir) in \
17226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17227 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17229 esac; \
17230 module_srcdir=libelf; \
17231 $(SHELL) $$s/$$module_srcdir/configure \
17232 --srcdir=$${topdir}/$$module_srcdir \
17233 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17234 --target=${target_alias} \
17235 --with-build-libsubdir=$(HOST_SUBDIR) \
17236 $(STAGEtrain_CONFIGURE_FLAGS) \
17237 --disable-shared
17238 @endif libelf-bootstrap
17239
17240 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17241 maybe-configure-stagefeedback-libelf:
17242 @if libelf-bootstrap
17243 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17244 configure-stagefeedback-libelf:
17245 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17246 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17247 @r=`${PWD_COMMAND}`; export r; \
17248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17249 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17250 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17251 $(HOST_EXPORTS) \
17252 $(POSTSTAGE1_HOST_EXPORTS) \
17253 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17254 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17255 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17256 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17258 cd $(HOST_SUBDIR)/libelf || exit 1; \
17259 case $(srcdir) in \
17260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17261 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17263 esac; \
17264 module_srcdir=libelf; \
17265 $(SHELL) $$s/$$module_srcdir/configure \
17266 --srcdir=$${topdir}/$$module_srcdir \
17267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17268 --target=${target_alias} \
17269 --with-build-libsubdir=$(HOST_SUBDIR) \
17270 $(STAGEfeedback_CONFIGURE_FLAGS) \
17271 --disable-shared
17272 @endif libelf-bootstrap
17273
17274 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17275 maybe-configure-stageautoprofile-libelf:
17276 @if libelf-bootstrap
17277 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17278 configure-stageautoprofile-libelf:
17279 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17281 @r=`${PWD_COMMAND}`; export r; \
17282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17284 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17285 $(HOST_EXPORTS) \
17286 $(POSTSTAGE1_HOST_EXPORTS) \
17287 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17288 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17289 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17290 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17292 cd $(HOST_SUBDIR)/libelf || exit 1; \
17293 case $(srcdir) in \
17294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17295 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17297 esac; \
17298 module_srcdir=libelf; \
17299 $(SHELL) $$s/$$module_srcdir/configure \
17300 --srcdir=$${topdir}/$$module_srcdir \
17301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17302 --target=${target_alias} \
17303 --with-build-libsubdir=$(HOST_SUBDIR) \
17304 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17305 --disable-shared
17306 @endif libelf-bootstrap
17307
17308 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17309 maybe-configure-stageautofeedback-libelf:
17310 @if libelf-bootstrap
17311 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17312 configure-stageautofeedback-libelf:
17313 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17315 @r=`${PWD_COMMAND}`; export r; \
17316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17317 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17318 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17319 $(HOST_EXPORTS) \
17320 $(POSTSTAGE1_HOST_EXPORTS) \
17321 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17322 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17323 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17324 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17326 cd $(HOST_SUBDIR)/libelf || exit 1; \
17327 case $(srcdir) in \
17328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17329 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17331 esac; \
17332 module_srcdir=libelf; \
17333 $(SHELL) $$s/$$module_srcdir/configure \
17334 --srcdir=$${topdir}/$$module_srcdir \
17335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17336 --target=${target_alias} \
17337 --with-build-libsubdir=$(HOST_SUBDIR) \
17338 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17339 --disable-shared
17340 @endif libelf-bootstrap
17341
17342
17343
17344
17345
17346 .PHONY: all-libelf maybe-all-libelf
17347 maybe-all-libelf:
17348 @if gcc-bootstrap
17349 all-libelf: stage_current
17350 @endif gcc-bootstrap
17351 @if libelf
17352 TARGET-libelf=all
17353 maybe-all-libelf: all-libelf
17354 all-libelf: configure-libelf
17355 @r=`${PWD_COMMAND}`; export r; \
17356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17357 $(HOST_EXPORTS) \
17358 (cd $(HOST_SUBDIR)/libelf && \
17359 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17360 $(TARGET-libelf))
17361 @endif libelf
17362
17363
17364
17365 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17366 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17367 maybe-all-stage1-libelf:
17368 maybe-clean-stage1-libelf:
17369 @if libelf-bootstrap
17370 maybe-all-stage1-libelf: all-stage1-libelf
17371 all-stage1: all-stage1-libelf
17372 TARGET-stage1-libelf = $(TARGET-libelf)
17373 all-stage1-libelf: configure-stage1-libelf
17374 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17375 @r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 TFLAGS="$(STAGE1_TFLAGS)"; \
17378 $(HOST_EXPORTS) \
17379 cd $(HOST_SUBDIR)/libelf && \
17380 \
17381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17382 CFLAGS="$(STAGE1_CFLAGS)" \
17383 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
17384 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17385 LIBCFLAGS="$(LIBCFLAGS)" \
17386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17389 $(EXTRA_HOST_FLAGS) \
17390 $(STAGE1_FLAGS_TO_PASS) \
17391 TFLAGS="$(STAGE1_TFLAGS)" \
17392 $(TARGET-stage1-libelf)
17393
17394 maybe-clean-stage1-libelf: clean-stage1-libelf
17395 clean-stage1: clean-stage1-libelf
17396 clean-stage1-libelf:
17397 @if [ $(current_stage) = stage1 ]; then \
17398 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17399 else \
17400 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17401 $(MAKE) stage1-start; \
17402 fi; \
17403 cd $(HOST_SUBDIR)/libelf && \
17404 $(MAKE) $(EXTRA_HOST_FLAGS) \
17405 $(STAGE1_FLAGS_TO_PASS) clean
17406 @endif libelf-bootstrap
17407
17408
17409 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17410 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17411 maybe-all-stage2-libelf:
17412 maybe-clean-stage2-libelf:
17413 @if libelf-bootstrap
17414 maybe-all-stage2-libelf: all-stage2-libelf
17415 all-stage2: all-stage2-libelf
17416 TARGET-stage2-libelf = $(TARGET-libelf)
17417 all-stage2-libelf: configure-stage2-libelf
17418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17419 @r=`${PWD_COMMAND}`; export r; \
17420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17421 TFLAGS="$(STAGE2_TFLAGS)"; \
17422 $(HOST_EXPORTS) \
17423 $(POSTSTAGE1_HOST_EXPORTS) \
17424 cd $(HOST_SUBDIR)/libelf && \
17425 \
17426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17427 CFLAGS="$(STAGE2_CFLAGS)" \
17428 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
17429 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17430 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17435 TFLAGS="$(STAGE2_TFLAGS)" \
17436 $(TARGET-stage2-libelf)
17437
17438 maybe-clean-stage2-libelf: clean-stage2-libelf
17439 clean-stage2: clean-stage2-libelf
17440 clean-stage2-libelf:
17441 @if [ $(current_stage) = stage2 ]; then \
17442 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17443 else \
17444 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17445 $(MAKE) stage2-start; \
17446 fi; \
17447 cd $(HOST_SUBDIR)/libelf && \
17448 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17449 @endif libelf-bootstrap
17450
17451
17452 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17453 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17454 maybe-all-stage3-libelf:
17455 maybe-clean-stage3-libelf:
17456 @if libelf-bootstrap
17457 maybe-all-stage3-libelf: all-stage3-libelf
17458 all-stage3: all-stage3-libelf
17459 TARGET-stage3-libelf = $(TARGET-libelf)
17460 all-stage3-libelf: configure-stage3-libelf
17461 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17462 @r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 TFLAGS="$(STAGE3_TFLAGS)"; \
17465 $(HOST_EXPORTS) \
17466 $(POSTSTAGE1_HOST_EXPORTS) \
17467 cd $(HOST_SUBDIR)/libelf && \
17468 \
17469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17470 CFLAGS="$(STAGE3_CFLAGS)" \
17471 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17472 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17473 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17477 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17478 TFLAGS="$(STAGE3_TFLAGS)" \
17479 $(TARGET-stage3-libelf)
17480
17481 maybe-clean-stage3-libelf: clean-stage3-libelf
17482 clean-stage3: clean-stage3-libelf
17483 clean-stage3-libelf:
17484 @if [ $(current_stage) = stage3 ]; then \
17485 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17486 else \
17487 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17488 $(MAKE) stage3-start; \
17489 fi; \
17490 cd $(HOST_SUBDIR)/libelf && \
17491 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17492 @endif libelf-bootstrap
17493
17494
17495 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17496 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17497 maybe-all-stage4-libelf:
17498 maybe-clean-stage4-libelf:
17499 @if libelf-bootstrap
17500 maybe-all-stage4-libelf: all-stage4-libelf
17501 all-stage4: all-stage4-libelf
17502 TARGET-stage4-libelf = $(TARGET-libelf)
17503 all-stage4-libelf: configure-stage4-libelf
17504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17505 @r=`${PWD_COMMAND}`; export r; \
17506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17507 TFLAGS="$(STAGE4_TFLAGS)"; \
17508 $(HOST_EXPORTS) \
17509 $(POSTSTAGE1_HOST_EXPORTS) \
17510 cd $(HOST_SUBDIR)/libelf && \
17511 \
17512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17513 CFLAGS="$(STAGE4_CFLAGS)" \
17514 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17515 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17516 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17520 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17521 TFLAGS="$(STAGE4_TFLAGS)" \
17522 $(TARGET-stage4-libelf)
17523
17524 maybe-clean-stage4-libelf: clean-stage4-libelf
17525 clean-stage4: clean-stage4-libelf
17526 clean-stage4-libelf:
17527 @if [ $(current_stage) = stage4 ]; then \
17528 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17529 else \
17530 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17531 $(MAKE) stage4-start; \
17532 fi; \
17533 cd $(HOST_SUBDIR)/libelf && \
17534 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17535 @endif libelf-bootstrap
17536
17537
17538 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17539 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17540 maybe-all-stageprofile-libelf:
17541 maybe-clean-stageprofile-libelf:
17542 @if libelf-bootstrap
17543 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17544 all-stageprofile: all-stageprofile-libelf
17545 TARGET-stageprofile-libelf = $(TARGET-libelf)
17546 all-stageprofile-libelf: configure-stageprofile-libelf
17547 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17548 @r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17551 $(HOST_EXPORTS) \
17552 $(POSTSTAGE1_HOST_EXPORTS) \
17553 cd $(HOST_SUBDIR)/libelf && \
17554 \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17556 CFLAGS="$(STAGEprofile_CFLAGS)" \
17557 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17558 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17559 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17563 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17564 TFLAGS="$(STAGEprofile_TFLAGS)" \
17565 $(TARGET-stageprofile-libelf)
17566
17567 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17568 clean-stageprofile: clean-stageprofile-libelf
17569 clean-stageprofile-libelf:
17570 @if [ $(current_stage) = stageprofile ]; then \
17571 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17572 else \
17573 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17574 $(MAKE) stageprofile-start; \
17575 fi; \
17576 cd $(HOST_SUBDIR)/libelf && \
17577 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17578 @endif libelf-bootstrap
17579
17580
17581 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17582 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17583 maybe-all-stagetrain-libelf:
17584 maybe-clean-stagetrain-libelf:
17585 @if libelf-bootstrap
17586 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17587 all-stagetrain: all-stagetrain-libelf
17588 TARGET-stagetrain-libelf = $(TARGET-libelf)
17589 all-stagetrain-libelf: configure-stagetrain-libelf
17590 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17591 @r=`${PWD_COMMAND}`; export r; \
17592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17593 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17594 $(HOST_EXPORTS) \
17595 $(POSTSTAGE1_HOST_EXPORTS) \
17596 cd $(HOST_SUBDIR)/libelf && \
17597 \
17598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17599 CFLAGS="$(STAGEtrain_CFLAGS)" \
17600 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17601 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17602 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17607 TFLAGS="$(STAGEtrain_TFLAGS)" \
17608 $(TARGET-stagetrain-libelf)
17609
17610 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17611 clean-stagetrain: clean-stagetrain-libelf
17612 clean-stagetrain-libelf:
17613 @if [ $(current_stage) = stagetrain ]; then \
17614 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17615 else \
17616 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17617 $(MAKE) stagetrain-start; \
17618 fi; \
17619 cd $(HOST_SUBDIR)/libelf && \
17620 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17621 @endif libelf-bootstrap
17622
17623
17624 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17625 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17626 maybe-all-stagefeedback-libelf:
17627 maybe-clean-stagefeedback-libelf:
17628 @if libelf-bootstrap
17629 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17630 all-stagefeedback: all-stagefeedback-libelf
17631 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17632 all-stagefeedback-libelf: configure-stagefeedback-libelf
17633 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17634 @r=`${PWD_COMMAND}`; export r; \
17635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17636 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17637 $(HOST_EXPORTS) \
17638 $(POSTSTAGE1_HOST_EXPORTS) \
17639 cd $(HOST_SUBDIR)/libelf && \
17640 \
17641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17642 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17643 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17644 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17645 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17650 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17651 $(TARGET-stagefeedback-libelf)
17652
17653 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17654 clean-stagefeedback: clean-stagefeedback-libelf
17655 clean-stagefeedback-libelf:
17656 @if [ $(current_stage) = stagefeedback ]; then \
17657 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17658 else \
17659 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17660 $(MAKE) stagefeedback-start; \
17661 fi; \
17662 cd $(HOST_SUBDIR)/libelf && \
17663 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17664 @endif libelf-bootstrap
17665
17666
17667 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17668 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17669 maybe-all-stageautoprofile-libelf:
17670 maybe-clean-stageautoprofile-libelf:
17671 @if libelf-bootstrap
17672 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17673 all-stageautoprofile: all-stageautoprofile-libelf
17674 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17675 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17676 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17677 @r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17680 $(HOST_EXPORTS) \
17681 $(POSTSTAGE1_HOST_EXPORTS) \
17682 cd $(HOST_SUBDIR)/libelf && \
17683 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17685 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17686 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17687 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17688 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17693 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17694 $(TARGET-stageautoprofile-libelf)
17695
17696 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17697 clean-stageautoprofile: clean-stageautoprofile-libelf
17698 clean-stageautoprofile-libelf:
17699 @if [ $(current_stage) = stageautoprofile ]; then \
17700 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17701 else \
17702 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17703 $(MAKE) stageautoprofile-start; \
17704 fi; \
17705 cd $(HOST_SUBDIR)/libelf && \
17706 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17707 @endif libelf-bootstrap
17708
17709
17710 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17711 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17712 maybe-all-stageautofeedback-libelf:
17713 maybe-clean-stageautofeedback-libelf:
17714 @if libelf-bootstrap
17715 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17716 all-stageautofeedback: all-stageautofeedback-libelf
17717 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17718 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17719 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17720 @r=`${PWD_COMMAND}`; export r; \
17721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17722 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17723 $(HOST_EXPORTS) \
17724 $(POSTSTAGE1_HOST_EXPORTS) \
17725 cd $(HOST_SUBDIR)/libelf && \
17726 \
17727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17728 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17729 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17730 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17731 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17736 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17737 $(TARGET-stageautofeedback-libelf)
17738
17739 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17740 clean-stageautofeedback: clean-stageautofeedback-libelf
17741 clean-stageautofeedback-libelf:
17742 @if [ $(current_stage) = stageautofeedback ]; then \
17743 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17744 else \
17745 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17746 $(MAKE) stageautofeedback-start; \
17747 fi; \
17748 cd $(HOST_SUBDIR)/libelf && \
17749 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17750 @endif libelf-bootstrap
17751
17752
17753
17754
17755
17756 .PHONY: check-libelf maybe-check-libelf
17757 maybe-check-libelf:
17758 @if libelf
17759 maybe-check-libelf: check-libelf
17760
17761 check-libelf:
17762 @: $(MAKE); $(unstage)
17763 @r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17766 (cd $(HOST_SUBDIR)/libelf && \
17767 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17768
17769 @endif libelf
17770
17771 .PHONY: install-libelf maybe-install-libelf
17772 maybe-install-libelf:
17773 @if libelf
17774 maybe-install-libelf: install-libelf
17775
17776 install-libelf:
17777
17778 @endif libelf
17779
17780 .PHONY: install-strip-libelf maybe-install-strip-libelf
17781 maybe-install-strip-libelf:
17782 @if libelf
17783 maybe-install-strip-libelf: install-strip-libelf
17784
17785 install-strip-libelf:
17786
17787 @endif libelf
17788
17789 # Other targets (info, dvi, pdf, etc.)
17790
17791 .PHONY: maybe-info-libelf info-libelf
17792 maybe-info-libelf:
17793 @if libelf
17794 maybe-info-libelf: info-libelf
17795
17796 info-libelf: \
17797 configure-libelf
17798 @[ -f ./libelf/Makefile ] || exit 0; \
17799 r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(HOST_EXPORTS) \
17802 for flag in $(EXTRA_HOST_FLAGS) ; do \
17803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17804 done; \
17805 echo "Doing info in libelf"; \
17806 (cd $(HOST_SUBDIR)/libelf && \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17809 "RANLIB=$${RANLIB}" \
17810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17811 info) \
17812 || exit 1
17813
17814 @endif libelf
17815
17816 .PHONY: maybe-dvi-libelf dvi-libelf
17817 maybe-dvi-libelf:
17818 @if libelf
17819 maybe-dvi-libelf: dvi-libelf
17820
17821 dvi-libelf: \
17822 configure-libelf
17823 @[ -f ./libelf/Makefile ] || exit 0; \
17824 r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 $(HOST_EXPORTS) \
17827 for flag in $(EXTRA_HOST_FLAGS) ; do \
17828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17829 done; \
17830 echo "Doing dvi in libelf"; \
17831 (cd $(HOST_SUBDIR)/libelf && \
17832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17834 "RANLIB=$${RANLIB}" \
17835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17836 dvi) \
17837 || exit 1
17838
17839 @endif libelf
17840
17841 .PHONY: maybe-pdf-libelf pdf-libelf
17842 maybe-pdf-libelf:
17843 @if libelf
17844 maybe-pdf-libelf: pdf-libelf
17845
17846 pdf-libelf: \
17847 configure-libelf
17848 @[ -f ./libelf/Makefile ] || exit 0; \
17849 r=`${PWD_COMMAND}`; export r; \
17850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17851 $(HOST_EXPORTS) \
17852 for flag in $(EXTRA_HOST_FLAGS) ; do \
17853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17854 done; \
17855 echo "Doing pdf in libelf"; \
17856 (cd $(HOST_SUBDIR)/libelf && \
17857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17859 "RANLIB=$${RANLIB}" \
17860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17861 pdf) \
17862 || exit 1
17863
17864 @endif libelf
17865
17866 .PHONY: maybe-html-libelf html-libelf
17867 maybe-html-libelf:
17868 @if libelf
17869 maybe-html-libelf: html-libelf
17870
17871 html-libelf: \
17872 configure-libelf
17873 @[ -f ./libelf/Makefile ] || exit 0; \
17874 r=`${PWD_COMMAND}`; export r; \
17875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17876 $(HOST_EXPORTS) \
17877 for flag in $(EXTRA_HOST_FLAGS) ; do \
17878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17879 done; \
17880 echo "Doing html in libelf"; \
17881 (cd $(HOST_SUBDIR)/libelf && \
17882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17884 "RANLIB=$${RANLIB}" \
17885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17886 html) \
17887 || exit 1
17888
17889 @endif libelf
17890
17891 .PHONY: maybe-TAGS-libelf TAGS-libelf
17892 maybe-TAGS-libelf:
17893 @if libelf
17894 maybe-TAGS-libelf: TAGS-libelf
17895
17896 TAGS-libelf: \
17897 configure-libelf
17898 @[ -f ./libelf/Makefile ] || exit 0; \
17899 r=`${PWD_COMMAND}`; export r; \
17900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17901 $(HOST_EXPORTS) \
17902 for flag in $(EXTRA_HOST_FLAGS) ; do \
17903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17904 done; \
17905 echo "Doing TAGS in libelf"; \
17906 (cd $(HOST_SUBDIR)/libelf && \
17907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17909 "RANLIB=$${RANLIB}" \
17910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17911 TAGS) \
17912 || exit 1
17913
17914 @endif libelf
17915
17916 .PHONY: maybe-install-info-libelf install-info-libelf
17917 maybe-install-info-libelf:
17918 @if libelf
17919 maybe-install-info-libelf: install-info-libelf
17920
17921 install-info-libelf: \
17922 configure-libelf \
17923 info-libelf
17924 @[ -f ./libelf/Makefile ] || exit 0; \
17925 r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 $(HOST_EXPORTS) \
17928 for flag in $(EXTRA_HOST_FLAGS) ; do \
17929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17930 done; \
17931 echo "Doing install-info in libelf"; \
17932 (cd $(HOST_SUBDIR)/libelf && \
17933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17935 "RANLIB=$${RANLIB}" \
17936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17937 install-info) \
17938 || exit 1
17939
17940 @endif libelf
17941
17942 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17943 maybe-install-pdf-libelf:
17944 @if libelf
17945 maybe-install-pdf-libelf: install-pdf-libelf
17946
17947 install-pdf-libelf: \
17948 configure-libelf \
17949 pdf-libelf
17950 @[ -f ./libelf/Makefile ] || exit 0; \
17951 r=`${PWD_COMMAND}`; export r; \
17952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 $(HOST_EXPORTS) \
17954 for flag in $(EXTRA_HOST_FLAGS) ; do \
17955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17956 done; \
17957 echo "Doing install-pdf in libelf"; \
17958 (cd $(HOST_SUBDIR)/libelf && \
17959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17961 "RANLIB=$${RANLIB}" \
17962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17963 install-pdf) \
17964 || exit 1
17965
17966 @endif libelf
17967
17968 .PHONY: maybe-install-html-libelf install-html-libelf
17969 maybe-install-html-libelf:
17970 @if libelf
17971 maybe-install-html-libelf: install-html-libelf
17972
17973 install-html-libelf: \
17974 configure-libelf \
17975 html-libelf
17976 @[ -f ./libelf/Makefile ] || exit 0; \
17977 r=`${PWD_COMMAND}`; export r; \
17978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17979 $(HOST_EXPORTS) \
17980 for flag in $(EXTRA_HOST_FLAGS) ; do \
17981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17982 done; \
17983 echo "Doing install-html in libelf"; \
17984 (cd $(HOST_SUBDIR)/libelf && \
17985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17987 "RANLIB=$${RANLIB}" \
17988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17989 install-html) \
17990 || exit 1
17991
17992 @endif libelf
17993
17994 .PHONY: maybe-installcheck-libelf installcheck-libelf
17995 maybe-installcheck-libelf:
17996 @if libelf
17997 maybe-installcheck-libelf: installcheck-libelf
17998
17999 installcheck-libelf: \
18000 configure-libelf
18001 @[ -f ./libelf/Makefile ] || exit 0; \
18002 r=`${PWD_COMMAND}`; export r; \
18003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18004 $(HOST_EXPORTS) \
18005 for flag in $(EXTRA_HOST_FLAGS) ; do \
18006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18007 done; \
18008 echo "Doing installcheck in libelf"; \
18009 (cd $(HOST_SUBDIR)/libelf && \
18010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18012 "RANLIB=$${RANLIB}" \
18013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18014 installcheck) \
18015 || exit 1
18016
18017 @endif libelf
18018
18019 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18020 maybe-mostlyclean-libelf:
18021 @if libelf
18022 maybe-mostlyclean-libelf: mostlyclean-libelf
18023
18024 mostlyclean-libelf:
18025 @[ -f ./libelf/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 mostlyclean in libelf"; \
18033 (cd $(HOST_SUBDIR)/libelf && \
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 mostlyclean) \
18039 || exit 1
18040
18041 @endif libelf
18042
18043 .PHONY: maybe-clean-libelf clean-libelf
18044 maybe-clean-libelf:
18045 @if libelf
18046 maybe-clean-libelf: clean-libelf
18047
18048 clean-libelf:
18049 @[ -f ./libelf/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing clean in libelf"; \
18057 (cd $(HOST_SUBDIR)/libelf && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18062 clean) \
18063 || exit 1
18064
18065 @endif libelf
18066
18067 .PHONY: maybe-distclean-libelf distclean-libelf
18068 maybe-distclean-libelf:
18069 @if libelf
18070 maybe-distclean-libelf: distclean-libelf
18071
18072 distclean-libelf:
18073 @[ -f ./libelf/Makefile ] || exit 0; \
18074 r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076 $(HOST_EXPORTS) \
18077 for flag in $(EXTRA_HOST_FLAGS) ; do \
18078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18079 done; \
18080 echo "Doing distclean in libelf"; \
18081 (cd $(HOST_SUBDIR)/libelf && \
18082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18084 "RANLIB=$${RANLIB}" \
18085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18086 distclean) \
18087 || exit 1
18088
18089 @endif libelf
18090
18091 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18092 maybe-maintainer-clean-libelf:
18093 @if libelf
18094 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18095
18096 maintainer-clean-libelf:
18097 @[ -f ./libelf/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing maintainer-clean in libelf"; \
18105 (cd $(HOST_SUBDIR)/libelf && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18110 maintainer-clean) \
18111 || exit 1
18112
18113 @endif libelf
18114
18115
18116
18117 .PHONY: configure-gold maybe-configure-gold
18118 maybe-configure-gold:
18119 @if gcc-bootstrap
18120 configure-gold: stage_current
18121 @endif gcc-bootstrap
18122 @if gold
18123 maybe-configure-gold: configure-gold
18124 configure-gold:
18125 @r=`${PWD_COMMAND}`; export r; \
18126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18127 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18129 $(HOST_EXPORTS) \
18130 echo Configuring in $(HOST_SUBDIR)/gold; \
18131 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18132 case $(srcdir) in \
18133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18134 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18136 esac; \
18137 module_srcdir=gold; \
18138 $(SHELL) \
18139 $$s/$$module_srcdir/configure \
18140 --srcdir=$${topdir}/$$module_srcdir \
18141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18142 --target=${target_alias} \
18143 || exit 1
18144 @endif gold
18145
18146
18147
18148 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18149 maybe-configure-stage1-gold:
18150 @if gold-bootstrap
18151 maybe-configure-stage1-gold: configure-stage1-gold
18152 configure-stage1-gold:
18153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18155 @r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 TFLAGS="$(STAGE1_TFLAGS)"; \
18158 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18159 $(HOST_EXPORTS) \
18160 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18161 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18162 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18163 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18165 cd $(HOST_SUBDIR)/gold || exit 1; \
18166 case $(srcdir) in \
18167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18168 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18170 esac; \
18171 module_srcdir=gold; \
18172 $(SHELL) $$s/$$module_srcdir/configure \
18173 --srcdir=$${topdir}/$$module_srcdir \
18174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18175 --target=${target_alias} \
18176 \
18177 $(STAGE1_CONFIGURE_FLAGS)
18178 @endif gold-bootstrap
18179
18180 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18181 maybe-configure-stage2-gold:
18182 @if gold-bootstrap
18183 maybe-configure-stage2-gold: configure-stage2-gold
18184 configure-stage2-gold:
18185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18187 @r=`${PWD_COMMAND}`; export r; \
18188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18189 TFLAGS="$(STAGE2_TFLAGS)"; \
18190 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18191 $(HOST_EXPORTS) \
18192 $(POSTSTAGE1_HOST_EXPORTS) \
18193 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18194 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18195 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18196 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18198 cd $(HOST_SUBDIR)/gold || exit 1; \
18199 case $(srcdir) in \
18200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18201 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18203 esac; \
18204 module_srcdir=gold; \
18205 $(SHELL) $$s/$$module_srcdir/configure \
18206 --srcdir=$${topdir}/$$module_srcdir \
18207 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18208 --target=${target_alias} \
18209 --with-build-libsubdir=$(HOST_SUBDIR) \
18210 $(STAGE2_CONFIGURE_FLAGS)
18211 @endif gold-bootstrap
18212
18213 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18214 maybe-configure-stage3-gold:
18215 @if gold-bootstrap
18216 maybe-configure-stage3-gold: configure-stage3-gold
18217 configure-stage3-gold:
18218 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18220 @r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222 TFLAGS="$(STAGE3_TFLAGS)"; \
18223 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18224 $(HOST_EXPORTS) \
18225 $(POSTSTAGE1_HOST_EXPORTS) \
18226 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18227 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18228 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18229 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18231 cd $(HOST_SUBDIR)/gold || exit 1; \
18232 case $(srcdir) in \
18233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18234 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18236 esac; \
18237 module_srcdir=gold; \
18238 $(SHELL) $$s/$$module_srcdir/configure \
18239 --srcdir=$${topdir}/$$module_srcdir \
18240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18241 --target=${target_alias} \
18242 --with-build-libsubdir=$(HOST_SUBDIR) \
18243 $(STAGE3_CONFIGURE_FLAGS)
18244 @endif gold-bootstrap
18245
18246 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18247 maybe-configure-stage4-gold:
18248 @if gold-bootstrap
18249 maybe-configure-stage4-gold: configure-stage4-gold
18250 configure-stage4-gold:
18251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18252 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18253 @r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18255 TFLAGS="$(STAGE4_TFLAGS)"; \
18256 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18257 $(HOST_EXPORTS) \
18258 $(POSTSTAGE1_HOST_EXPORTS) \
18259 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18260 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18261 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18262 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18264 cd $(HOST_SUBDIR)/gold || exit 1; \
18265 case $(srcdir) in \
18266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18267 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18269 esac; \
18270 module_srcdir=gold; \
18271 $(SHELL) $$s/$$module_srcdir/configure \
18272 --srcdir=$${topdir}/$$module_srcdir \
18273 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18274 --target=${target_alias} \
18275 --with-build-libsubdir=$(HOST_SUBDIR) \
18276 $(STAGE4_CONFIGURE_FLAGS)
18277 @endif gold-bootstrap
18278
18279 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18280 maybe-configure-stageprofile-gold:
18281 @if gold-bootstrap
18282 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18283 configure-stageprofile-gold:
18284 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18286 @r=`${PWD_COMMAND}`; export r; \
18287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18289 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18290 $(HOST_EXPORTS) \
18291 $(POSTSTAGE1_HOST_EXPORTS) \
18292 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18293 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18294 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18295 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18297 cd $(HOST_SUBDIR)/gold || exit 1; \
18298 case $(srcdir) in \
18299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18300 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18302 esac; \
18303 module_srcdir=gold; \
18304 $(SHELL) $$s/$$module_srcdir/configure \
18305 --srcdir=$${topdir}/$$module_srcdir \
18306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18307 --target=${target_alias} \
18308 --with-build-libsubdir=$(HOST_SUBDIR) \
18309 $(STAGEprofile_CONFIGURE_FLAGS)
18310 @endif gold-bootstrap
18311
18312 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18313 maybe-configure-stagetrain-gold:
18314 @if gold-bootstrap
18315 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18316 configure-stagetrain-gold:
18317 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18318 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18319 @r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18321 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18322 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18323 $(HOST_EXPORTS) \
18324 $(POSTSTAGE1_HOST_EXPORTS) \
18325 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18326 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18327 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18328 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18330 cd $(HOST_SUBDIR)/gold || exit 1; \
18331 case $(srcdir) in \
18332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18333 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18335 esac; \
18336 module_srcdir=gold; \
18337 $(SHELL) $$s/$$module_srcdir/configure \
18338 --srcdir=$${topdir}/$$module_srcdir \
18339 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18340 --target=${target_alias} \
18341 --with-build-libsubdir=$(HOST_SUBDIR) \
18342 $(STAGEtrain_CONFIGURE_FLAGS)
18343 @endif gold-bootstrap
18344
18345 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18346 maybe-configure-stagefeedback-gold:
18347 @if gold-bootstrap
18348 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18349 configure-stagefeedback-gold:
18350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18352 @r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18355 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18356 $(HOST_EXPORTS) \
18357 $(POSTSTAGE1_HOST_EXPORTS) \
18358 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18361 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18363 cd $(HOST_SUBDIR)/gold || exit 1; \
18364 case $(srcdir) in \
18365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18366 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18368 esac; \
18369 module_srcdir=gold; \
18370 $(SHELL) $$s/$$module_srcdir/configure \
18371 --srcdir=$${topdir}/$$module_srcdir \
18372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18373 --target=${target_alias} \
18374 --with-build-libsubdir=$(HOST_SUBDIR) \
18375 $(STAGEfeedback_CONFIGURE_FLAGS)
18376 @endif gold-bootstrap
18377
18378 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18379 maybe-configure-stageautoprofile-gold:
18380 @if gold-bootstrap
18381 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18382 configure-stageautoprofile-gold:
18383 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18385 @r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18388 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18389 $(HOST_EXPORTS) \
18390 $(POSTSTAGE1_HOST_EXPORTS) \
18391 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18392 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18393 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18394 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18396 cd $(HOST_SUBDIR)/gold || exit 1; \
18397 case $(srcdir) in \
18398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18399 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18401 esac; \
18402 module_srcdir=gold; \
18403 $(SHELL) $$s/$$module_srcdir/configure \
18404 --srcdir=$${topdir}/$$module_srcdir \
18405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18406 --target=${target_alias} \
18407 --with-build-libsubdir=$(HOST_SUBDIR) \
18408 $(STAGEautoprofile_CONFIGURE_FLAGS)
18409 @endif gold-bootstrap
18410
18411 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18412 maybe-configure-stageautofeedback-gold:
18413 @if gold-bootstrap
18414 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18415 configure-stageautofeedback-gold:
18416 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18417 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18418 @r=`${PWD_COMMAND}`; export r; \
18419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18420 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18421 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18422 $(HOST_EXPORTS) \
18423 $(POSTSTAGE1_HOST_EXPORTS) \
18424 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18425 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18426 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18427 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18429 cd $(HOST_SUBDIR)/gold || exit 1; \
18430 case $(srcdir) in \
18431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18432 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18434 esac; \
18435 module_srcdir=gold; \
18436 $(SHELL) $$s/$$module_srcdir/configure \
18437 --srcdir=$${topdir}/$$module_srcdir \
18438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18439 --target=${target_alias} \
18440 --with-build-libsubdir=$(HOST_SUBDIR) \
18441 $(STAGEautofeedback_CONFIGURE_FLAGS)
18442 @endif gold-bootstrap
18443
18444
18445
18446
18447
18448 .PHONY: all-gold maybe-all-gold
18449 maybe-all-gold:
18450 @if gcc-bootstrap
18451 all-gold: stage_current
18452 @endif gcc-bootstrap
18453 @if gold
18454 TARGET-gold=all
18455 maybe-all-gold: all-gold
18456 all-gold: configure-gold
18457 @r=`${PWD_COMMAND}`; export r; \
18458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18459 $(HOST_EXPORTS) \
18460 (cd $(HOST_SUBDIR)/gold && \
18461 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18462 $(TARGET-gold))
18463 @endif gold
18464
18465
18466
18467 .PHONY: all-stage1-gold maybe-all-stage1-gold
18468 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18469 maybe-all-stage1-gold:
18470 maybe-clean-stage1-gold:
18471 @if gold-bootstrap
18472 maybe-all-stage1-gold: all-stage1-gold
18473 all-stage1: all-stage1-gold
18474 TARGET-stage1-gold = $(TARGET-gold)
18475 all-stage1-gold: configure-stage1-gold
18476 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18477 @r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 TFLAGS="$(STAGE1_TFLAGS)"; \
18480 $(HOST_EXPORTS) \
18481 cd $(HOST_SUBDIR)/gold && \
18482 \
18483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18484 CFLAGS="$(STAGE1_CFLAGS)" \
18485 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18486 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18487 LIBCFLAGS="$(LIBCFLAGS)" \
18488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18491 $(EXTRA_HOST_FLAGS) \
18492 $(STAGE1_FLAGS_TO_PASS) \
18493 TFLAGS="$(STAGE1_TFLAGS)" \
18494 $(TARGET-stage1-gold)
18495
18496 maybe-clean-stage1-gold: clean-stage1-gold
18497 clean-stage1: clean-stage1-gold
18498 clean-stage1-gold:
18499 @if [ $(current_stage) = stage1 ]; then \
18500 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18501 else \
18502 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18503 $(MAKE) stage1-start; \
18504 fi; \
18505 cd $(HOST_SUBDIR)/gold && \
18506 $(MAKE) $(EXTRA_HOST_FLAGS) \
18507 $(STAGE1_FLAGS_TO_PASS) clean
18508 @endif gold-bootstrap
18509
18510
18511 .PHONY: all-stage2-gold maybe-all-stage2-gold
18512 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18513 maybe-all-stage2-gold:
18514 maybe-clean-stage2-gold:
18515 @if gold-bootstrap
18516 maybe-all-stage2-gold: all-stage2-gold
18517 all-stage2: all-stage2-gold
18518 TARGET-stage2-gold = $(TARGET-gold)
18519 all-stage2-gold: configure-stage2-gold
18520 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18521 @r=`${PWD_COMMAND}`; export r; \
18522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18523 TFLAGS="$(STAGE2_TFLAGS)"; \
18524 $(HOST_EXPORTS) \
18525 $(POSTSTAGE1_HOST_EXPORTS) \
18526 cd $(HOST_SUBDIR)/gold && \
18527 \
18528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18529 CFLAGS="$(STAGE2_CFLAGS)" \
18530 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18531 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18532 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18537 TFLAGS="$(STAGE2_TFLAGS)" \
18538 $(TARGET-stage2-gold)
18539
18540 maybe-clean-stage2-gold: clean-stage2-gold
18541 clean-stage2: clean-stage2-gold
18542 clean-stage2-gold:
18543 @if [ $(current_stage) = stage2 ]; then \
18544 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18545 else \
18546 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18547 $(MAKE) stage2-start; \
18548 fi; \
18549 cd $(HOST_SUBDIR)/gold && \
18550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18551 @endif gold-bootstrap
18552
18553
18554 .PHONY: all-stage3-gold maybe-all-stage3-gold
18555 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18556 maybe-all-stage3-gold:
18557 maybe-clean-stage3-gold:
18558 @if gold-bootstrap
18559 maybe-all-stage3-gold: all-stage3-gold
18560 all-stage3: all-stage3-gold
18561 TARGET-stage3-gold = $(TARGET-gold)
18562 all-stage3-gold: configure-stage3-gold
18563 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18564 @r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18566 TFLAGS="$(STAGE3_TFLAGS)"; \
18567 $(HOST_EXPORTS) \
18568 $(POSTSTAGE1_HOST_EXPORTS) \
18569 cd $(HOST_SUBDIR)/gold && \
18570 \
18571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18572 CFLAGS="$(STAGE3_CFLAGS)" \
18573 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18574 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18575 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18580 TFLAGS="$(STAGE3_TFLAGS)" \
18581 $(TARGET-stage3-gold)
18582
18583 maybe-clean-stage3-gold: clean-stage3-gold
18584 clean-stage3: clean-stage3-gold
18585 clean-stage3-gold:
18586 @if [ $(current_stage) = stage3 ]; then \
18587 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18588 else \
18589 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18590 $(MAKE) stage3-start; \
18591 fi; \
18592 cd $(HOST_SUBDIR)/gold && \
18593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18594 @endif gold-bootstrap
18595
18596
18597 .PHONY: all-stage4-gold maybe-all-stage4-gold
18598 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18599 maybe-all-stage4-gold:
18600 maybe-clean-stage4-gold:
18601 @if gold-bootstrap
18602 maybe-all-stage4-gold: all-stage4-gold
18603 all-stage4: all-stage4-gold
18604 TARGET-stage4-gold = $(TARGET-gold)
18605 all-stage4-gold: configure-stage4-gold
18606 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18607 @r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 TFLAGS="$(STAGE4_TFLAGS)"; \
18610 $(HOST_EXPORTS) \
18611 $(POSTSTAGE1_HOST_EXPORTS) \
18612 cd $(HOST_SUBDIR)/gold && \
18613 \
18614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18615 CFLAGS="$(STAGE4_CFLAGS)" \
18616 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18617 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18618 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18623 TFLAGS="$(STAGE4_TFLAGS)" \
18624 $(TARGET-stage4-gold)
18625
18626 maybe-clean-stage4-gold: clean-stage4-gold
18627 clean-stage4: clean-stage4-gold
18628 clean-stage4-gold:
18629 @if [ $(current_stage) = stage4 ]; then \
18630 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18631 else \
18632 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18633 $(MAKE) stage4-start; \
18634 fi; \
18635 cd $(HOST_SUBDIR)/gold && \
18636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18637 @endif gold-bootstrap
18638
18639
18640 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18641 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18642 maybe-all-stageprofile-gold:
18643 maybe-clean-stageprofile-gold:
18644 @if gold-bootstrap
18645 maybe-all-stageprofile-gold: all-stageprofile-gold
18646 all-stageprofile: all-stageprofile-gold
18647 TARGET-stageprofile-gold = $(TARGET-gold)
18648 all-stageprofile-gold: configure-stageprofile-gold
18649 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18650 @r=`${PWD_COMMAND}`; export r; \
18651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18652 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18653 $(HOST_EXPORTS) \
18654 $(POSTSTAGE1_HOST_EXPORTS) \
18655 cd $(HOST_SUBDIR)/gold && \
18656 \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18658 CFLAGS="$(STAGEprofile_CFLAGS)" \
18659 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18660 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18661 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18666 TFLAGS="$(STAGEprofile_TFLAGS)" \
18667 $(TARGET-stageprofile-gold)
18668
18669 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18670 clean-stageprofile: clean-stageprofile-gold
18671 clean-stageprofile-gold:
18672 @if [ $(current_stage) = stageprofile ]; then \
18673 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18674 else \
18675 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18676 $(MAKE) stageprofile-start; \
18677 fi; \
18678 cd $(HOST_SUBDIR)/gold && \
18679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18680 @endif gold-bootstrap
18681
18682
18683 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18684 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18685 maybe-all-stagetrain-gold:
18686 maybe-clean-stagetrain-gold:
18687 @if gold-bootstrap
18688 maybe-all-stagetrain-gold: all-stagetrain-gold
18689 all-stagetrain: all-stagetrain-gold
18690 TARGET-stagetrain-gold = $(TARGET-gold)
18691 all-stagetrain-gold: configure-stagetrain-gold
18692 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18693 @r=`${PWD_COMMAND}`; export r; \
18694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18696 $(HOST_EXPORTS) \
18697 $(POSTSTAGE1_HOST_EXPORTS) \
18698 cd $(HOST_SUBDIR)/gold && \
18699 \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18701 CFLAGS="$(STAGEtrain_CFLAGS)" \
18702 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18703 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18704 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18709 TFLAGS="$(STAGEtrain_TFLAGS)" \
18710 $(TARGET-stagetrain-gold)
18711
18712 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18713 clean-stagetrain: clean-stagetrain-gold
18714 clean-stagetrain-gold:
18715 @if [ $(current_stage) = stagetrain ]; then \
18716 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18717 else \
18718 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18719 $(MAKE) stagetrain-start; \
18720 fi; \
18721 cd $(HOST_SUBDIR)/gold && \
18722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18723 @endif gold-bootstrap
18724
18725
18726 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18727 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18728 maybe-all-stagefeedback-gold:
18729 maybe-clean-stagefeedback-gold:
18730 @if gold-bootstrap
18731 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18732 all-stagefeedback: all-stagefeedback-gold
18733 TARGET-stagefeedback-gold = $(TARGET-gold)
18734 all-stagefeedback-gold: configure-stagefeedback-gold
18735 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18736 @r=`${PWD_COMMAND}`; export r; \
18737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18738 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18739 $(HOST_EXPORTS) \
18740 $(POSTSTAGE1_HOST_EXPORTS) \
18741 cd $(HOST_SUBDIR)/gold && \
18742 \
18743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18744 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18745 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18746 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18747 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18751 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18752 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18753 $(TARGET-stagefeedback-gold)
18754
18755 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18756 clean-stagefeedback: clean-stagefeedback-gold
18757 clean-stagefeedback-gold:
18758 @if [ $(current_stage) = stagefeedback ]; then \
18759 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18760 else \
18761 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18762 $(MAKE) stagefeedback-start; \
18763 fi; \
18764 cd $(HOST_SUBDIR)/gold && \
18765 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18766 @endif gold-bootstrap
18767
18768
18769 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18770 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18771 maybe-all-stageautoprofile-gold:
18772 maybe-clean-stageautoprofile-gold:
18773 @if gold-bootstrap
18774 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18775 all-stageautoprofile: all-stageautoprofile-gold
18776 TARGET-stageautoprofile-gold = $(TARGET-gold)
18777 all-stageautoprofile-gold: configure-stageautoprofile-gold
18778 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18779 @r=`${PWD_COMMAND}`; export r; \
18780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18781 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18782 $(HOST_EXPORTS) \
18783 $(POSTSTAGE1_HOST_EXPORTS) \
18784 cd $(HOST_SUBDIR)/gold && \
18785 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18787 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18788 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18789 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18790 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18794 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18795 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18796 $(TARGET-stageautoprofile-gold)
18797
18798 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18799 clean-stageautoprofile: clean-stageautoprofile-gold
18800 clean-stageautoprofile-gold:
18801 @if [ $(current_stage) = stageautoprofile ]; then \
18802 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18803 else \
18804 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18805 $(MAKE) stageautoprofile-start; \
18806 fi; \
18807 cd $(HOST_SUBDIR)/gold && \
18808 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18809 @endif gold-bootstrap
18810
18811
18812 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18813 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18814 maybe-all-stageautofeedback-gold:
18815 maybe-clean-stageautofeedback-gold:
18816 @if gold-bootstrap
18817 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18818 all-stageautofeedback: all-stageautofeedback-gold
18819 TARGET-stageautofeedback-gold = $(TARGET-gold)
18820 all-stageautofeedback-gold: configure-stageautofeedback-gold
18821 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18822 @r=`${PWD_COMMAND}`; export r; \
18823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18824 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18825 $(HOST_EXPORTS) \
18826 $(POSTSTAGE1_HOST_EXPORTS) \
18827 cd $(HOST_SUBDIR)/gold && \
18828 \
18829 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18830 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18831 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18832 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18833 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18837 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18838 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18839 $(TARGET-stageautofeedback-gold)
18840
18841 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18842 clean-stageautofeedback: clean-stageautofeedback-gold
18843 clean-stageautofeedback-gold:
18844 @if [ $(current_stage) = stageautofeedback ]; then \
18845 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18846 else \
18847 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18848 $(MAKE) stageautofeedback-start; \
18849 fi; \
18850 cd $(HOST_SUBDIR)/gold && \
18851 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18852 @endif gold-bootstrap
18853
18854
18855
18856
18857
18858 .PHONY: check-gold maybe-check-gold
18859 maybe-check-gold:
18860 @if gold
18861 maybe-check-gold: check-gold
18862
18863 check-gold:
18864 @: $(MAKE); $(unstage)
18865 @r=`${PWD_COMMAND}`; export r; \
18866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18867 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18868 (cd $(HOST_SUBDIR)/gold && \
18869 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18870
18871 @endif gold
18872
18873 .PHONY: install-gold maybe-install-gold
18874 maybe-install-gold:
18875 @if gold
18876 maybe-install-gold: install-gold
18877
18878 install-gold: installdirs
18879 @: $(MAKE); $(unstage)
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 $(HOST_EXPORTS) \
18883 (cd $(HOST_SUBDIR)/gold && \
18884 $(MAKE) $(FLAGS_TO_PASS) install)
18885
18886 @endif gold
18887
18888 .PHONY: install-strip-gold maybe-install-strip-gold
18889 maybe-install-strip-gold:
18890 @if gold
18891 maybe-install-strip-gold: install-strip-gold
18892
18893 install-strip-gold: installdirs
18894 @: $(MAKE); $(unstage)
18895 @r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 (cd $(HOST_SUBDIR)/gold && \
18899 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18900
18901 @endif gold
18902
18903 # Other targets (info, dvi, pdf, etc.)
18904
18905 .PHONY: maybe-info-gold info-gold
18906 maybe-info-gold:
18907 @if gold
18908 maybe-info-gold: info-gold
18909
18910 info-gold: \
18911 configure-gold
18912 @[ -f ./gold/Makefile ] || exit 0; \
18913 r=`${PWD_COMMAND}`; export r; \
18914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18915 $(HOST_EXPORTS) \
18916 for flag in $(EXTRA_HOST_FLAGS) ; do \
18917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18918 done; \
18919 echo "Doing info in gold"; \
18920 (cd $(HOST_SUBDIR)/gold && \
18921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18923 "RANLIB=$${RANLIB}" \
18924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18925 info) \
18926 || exit 1
18927
18928 @endif gold
18929
18930 .PHONY: maybe-dvi-gold dvi-gold
18931 maybe-dvi-gold:
18932 @if gold
18933 maybe-dvi-gold: dvi-gold
18934
18935 dvi-gold: \
18936 configure-gold
18937 @[ -f ./gold/Makefile ] || exit 0; \
18938 r=`${PWD_COMMAND}`; export r; \
18939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18940 $(HOST_EXPORTS) \
18941 for flag in $(EXTRA_HOST_FLAGS) ; do \
18942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18943 done; \
18944 echo "Doing dvi in gold"; \
18945 (cd $(HOST_SUBDIR)/gold && \
18946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18948 "RANLIB=$${RANLIB}" \
18949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18950 dvi) \
18951 || exit 1
18952
18953 @endif gold
18954
18955 .PHONY: maybe-pdf-gold pdf-gold
18956 maybe-pdf-gold:
18957 @if gold
18958 maybe-pdf-gold: pdf-gold
18959
18960 pdf-gold: \
18961 configure-gold
18962 @[ -f ./gold/Makefile ] || exit 0; \
18963 r=`${PWD_COMMAND}`; export r; \
18964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18965 $(HOST_EXPORTS) \
18966 for flag in $(EXTRA_HOST_FLAGS) ; do \
18967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18968 done; \
18969 echo "Doing pdf in gold"; \
18970 (cd $(HOST_SUBDIR)/gold && \
18971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18973 "RANLIB=$${RANLIB}" \
18974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18975 pdf) \
18976 || exit 1
18977
18978 @endif gold
18979
18980 .PHONY: maybe-html-gold html-gold
18981 maybe-html-gold:
18982 @if gold
18983 maybe-html-gold: html-gold
18984
18985 html-gold: \
18986 configure-gold
18987 @[ -f ./gold/Makefile ] || exit 0; \
18988 r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 $(HOST_EXPORTS) \
18991 for flag in $(EXTRA_HOST_FLAGS) ; do \
18992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18993 done; \
18994 echo "Doing html in gold"; \
18995 (cd $(HOST_SUBDIR)/gold && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18998 "RANLIB=$${RANLIB}" \
18999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19000 html) \
19001 || exit 1
19002
19003 @endif gold
19004
19005 .PHONY: maybe-TAGS-gold TAGS-gold
19006 maybe-TAGS-gold:
19007 @if gold
19008 maybe-TAGS-gold: TAGS-gold
19009
19010 TAGS-gold: \
19011 configure-gold
19012 @[ -f ./gold/Makefile ] || exit 0; \
19013 r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 $(HOST_EXPORTS) \
19016 for flag in $(EXTRA_HOST_FLAGS) ; do \
19017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19018 done; \
19019 echo "Doing TAGS in gold"; \
19020 (cd $(HOST_SUBDIR)/gold && \
19021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19023 "RANLIB=$${RANLIB}" \
19024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19025 TAGS) \
19026 || exit 1
19027
19028 @endif gold
19029
19030 .PHONY: maybe-install-info-gold install-info-gold
19031 maybe-install-info-gold:
19032 @if gold
19033 maybe-install-info-gold: install-info-gold
19034
19035 install-info-gold: \
19036 configure-gold \
19037 info-gold
19038 @[ -f ./gold/Makefile ] || exit 0; \
19039 r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 $(HOST_EXPORTS) \
19042 for flag in $(EXTRA_HOST_FLAGS) ; do \
19043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19044 done; \
19045 echo "Doing install-info in gold"; \
19046 (cd $(HOST_SUBDIR)/gold && \
19047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19049 "RANLIB=$${RANLIB}" \
19050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19051 install-info) \
19052 || exit 1
19053
19054 @endif gold
19055
19056 .PHONY: maybe-install-pdf-gold install-pdf-gold
19057 maybe-install-pdf-gold:
19058 @if gold
19059 maybe-install-pdf-gold: install-pdf-gold
19060
19061 install-pdf-gold: \
19062 configure-gold \
19063 pdf-gold
19064 @[ -f ./gold/Makefile ] || exit 0; \
19065 r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing install-pdf in gold"; \
19072 (cd $(HOST_SUBDIR)/gold && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19077 install-pdf) \
19078 || exit 1
19079
19080 @endif gold
19081
19082 .PHONY: maybe-install-html-gold install-html-gold
19083 maybe-install-html-gold:
19084 @if gold
19085 maybe-install-html-gold: install-html-gold
19086
19087 install-html-gold: \
19088 configure-gold \
19089 html-gold
19090 @[ -f ./gold/Makefile ] || exit 0; \
19091 r=`${PWD_COMMAND}`; export r; \
19092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19093 $(HOST_EXPORTS) \
19094 for flag in $(EXTRA_HOST_FLAGS) ; do \
19095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19096 done; \
19097 echo "Doing install-html in gold"; \
19098 (cd $(HOST_SUBDIR)/gold && \
19099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19101 "RANLIB=$${RANLIB}" \
19102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19103 install-html) \
19104 || exit 1
19105
19106 @endif gold
19107
19108 .PHONY: maybe-installcheck-gold installcheck-gold
19109 maybe-installcheck-gold:
19110 @if gold
19111 maybe-installcheck-gold: installcheck-gold
19112
19113 installcheck-gold: \
19114 configure-gold
19115 @[ -f ./gold/Makefile ] || exit 0; \
19116 r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 $(HOST_EXPORTS) \
19119 for flag in $(EXTRA_HOST_FLAGS) ; do \
19120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19121 done; \
19122 echo "Doing installcheck in gold"; \
19123 (cd $(HOST_SUBDIR)/gold && \
19124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19126 "RANLIB=$${RANLIB}" \
19127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19128 installcheck) \
19129 || exit 1
19130
19131 @endif gold
19132
19133 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19134 maybe-mostlyclean-gold:
19135 @if gold
19136 maybe-mostlyclean-gold: mostlyclean-gold
19137
19138 mostlyclean-gold:
19139 @[ -f ./gold/Makefile ] || exit 0; \
19140 r=`${PWD_COMMAND}`; export r; \
19141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19142 $(HOST_EXPORTS) \
19143 for flag in $(EXTRA_HOST_FLAGS) ; do \
19144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19145 done; \
19146 echo "Doing mostlyclean in gold"; \
19147 (cd $(HOST_SUBDIR)/gold && \
19148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19150 "RANLIB=$${RANLIB}" \
19151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19152 mostlyclean) \
19153 || exit 1
19154
19155 @endif gold
19156
19157 .PHONY: maybe-clean-gold clean-gold
19158 maybe-clean-gold:
19159 @if gold
19160 maybe-clean-gold: clean-gold
19161
19162 clean-gold:
19163 @[ -f ./gold/Makefile ] || exit 0; \
19164 r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 for flag in $(EXTRA_HOST_FLAGS) ; do \
19168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19169 done; \
19170 echo "Doing clean in gold"; \
19171 (cd $(HOST_SUBDIR)/gold && \
19172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19174 "RANLIB=$${RANLIB}" \
19175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19176 clean) \
19177 || exit 1
19178
19179 @endif gold
19180
19181 .PHONY: maybe-distclean-gold distclean-gold
19182 maybe-distclean-gold:
19183 @if gold
19184 maybe-distclean-gold: distclean-gold
19185
19186 distclean-gold:
19187 @[ -f ./gold/Makefile ] || exit 0; \
19188 r=`${PWD_COMMAND}`; export r; \
19189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19190 $(HOST_EXPORTS) \
19191 for flag in $(EXTRA_HOST_FLAGS) ; do \
19192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19193 done; \
19194 echo "Doing distclean in gold"; \
19195 (cd $(HOST_SUBDIR)/gold && \
19196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19198 "RANLIB=$${RANLIB}" \
19199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19200 distclean) \
19201 || exit 1
19202
19203 @endif gold
19204
19205 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19206 maybe-maintainer-clean-gold:
19207 @if gold
19208 maybe-maintainer-clean-gold: maintainer-clean-gold
19209
19210 maintainer-clean-gold:
19211 @[ -f ./gold/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 $(HOST_EXPORTS) \
19215 for flag in $(EXTRA_HOST_FLAGS) ; do \
19216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19217 done; \
19218 echo "Doing maintainer-clean in gold"; \
19219 (cd $(HOST_SUBDIR)/gold && \
19220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19222 "RANLIB=$${RANLIB}" \
19223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19224 maintainer-clean) \
19225 || exit 1
19226
19227 @endif gold
19228
19229
19230
19231 .PHONY: configure-gprof maybe-configure-gprof
19232 maybe-configure-gprof:
19233 @if gcc-bootstrap
19234 configure-gprof: stage_current
19235 @endif gcc-bootstrap
19236 @if gprof
19237 maybe-configure-gprof: configure-gprof
19238 configure-gprof:
19239 @: $(MAKE); $(unstage)
19240 @r=`${PWD_COMMAND}`; export r; \
19241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19242 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19244 $(HOST_EXPORTS) \
19245 echo Configuring in $(HOST_SUBDIR)/gprof; \
19246 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19247 case $(srcdir) in \
19248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19249 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19251 esac; \
19252 module_srcdir=gprof; \
19253 $(SHELL) \
19254 $$s/$$module_srcdir/configure \
19255 --srcdir=$${topdir}/$$module_srcdir \
19256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19257 --target=${target_alias} \
19258 || exit 1
19259 @endif gprof
19260
19261
19262
19263
19264
19265 .PHONY: all-gprof maybe-all-gprof
19266 maybe-all-gprof:
19267 @if gcc-bootstrap
19268 all-gprof: stage_current
19269 @endif gcc-bootstrap
19270 @if gprof
19271 TARGET-gprof=all
19272 maybe-all-gprof: all-gprof
19273 all-gprof: configure-gprof
19274 @: $(MAKE); $(unstage)
19275 @r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(HOST_EXPORTS) \
19278 (cd $(HOST_SUBDIR)/gprof && \
19279 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19280 $(TARGET-gprof))
19281 @endif gprof
19282
19283
19284
19285
19286 .PHONY: check-gprof maybe-check-gprof
19287 maybe-check-gprof:
19288 @if gprof
19289 maybe-check-gprof: check-gprof
19290
19291 check-gprof:
19292 @: $(MAKE); $(unstage)
19293 @r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 $(HOST_EXPORTS) \
19296 (cd $(HOST_SUBDIR)/gprof && \
19297 $(MAKE) $(FLAGS_TO_PASS) check)
19298
19299 @endif gprof
19300
19301 .PHONY: install-gprof maybe-install-gprof
19302 maybe-install-gprof:
19303 @if gprof
19304 maybe-install-gprof: install-gprof
19305
19306 install-gprof: installdirs
19307 @: $(MAKE); $(unstage)
19308 @r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 (cd $(HOST_SUBDIR)/gprof && \
19312 $(MAKE) $(FLAGS_TO_PASS) install)
19313
19314 @endif gprof
19315
19316 .PHONY: install-strip-gprof maybe-install-strip-gprof
19317 maybe-install-strip-gprof:
19318 @if gprof
19319 maybe-install-strip-gprof: install-strip-gprof
19320
19321 install-strip-gprof: installdirs
19322 @: $(MAKE); $(unstage)
19323 @r=`${PWD_COMMAND}`; export r; \
19324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19325 $(HOST_EXPORTS) \
19326 (cd $(HOST_SUBDIR)/gprof && \
19327 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19328
19329 @endif gprof
19330
19331 # Other targets (info, dvi, pdf, etc.)
19332
19333 .PHONY: maybe-info-gprof info-gprof
19334 maybe-info-gprof:
19335 @if gprof
19336 maybe-info-gprof: info-gprof
19337
19338 info-gprof: \
19339 configure-gprof
19340 @: $(MAKE); $(unstage)
19341 @[ -f ./gprof/Makefile ] || exit 0; \
19342 r=`${PWD_COMMAND}`; export r; \
19343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19344 $(HOST_EXPORTS) \
19345 for flag in $(EXTRA_HOST_FLAGS) ; do \
19346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19347 done; \
19348 echo "Doing info in gprof"; \
19349 (cd $(HOST_SUBDIR)/gprof && \
19350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19352 "RANLIB=$${RANLIB}" \
19353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19354 info) \
19355 || exit 1
19356
19357 @endif gprof
19358
19359 .PHONY: maybe-dvi-gprof dvi-gprof
19360 maybe-dvi-gprof:
19361 @if gprof
19362 maybe-dvi-gprof: dvi-gprof
19363
19364 dvi-gprof: \
19365 configure-gprof
19366 @: $(MAKE); $(unstage)
19367 @[ -f ./gprof/Makefile ] || exit 0; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370 $(HOST_EXPORTS) \
19371 for flag in $(EXTRA_HOST_FLAGS) ; do \
19372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19373 done; \
19374 echo "Doing dvi in gprof"; \
19375 (cd $(HOST_SUBDIR)/gprof && \
19376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378 "RANLIB=$${RANLIB}" \
19379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19380 dvi) \
19381 || exit 1
19382
19383 @endif gprof
19384
19385 .PHONY: maybe-pdf-gprof pdf-gprof
19386 maybe-pdf-gprof:
19387 @if gprof
19388 maybe-pdf-gprof: pdf-gprof
19389
19390 pdf-gprof: \
19391 configure-gprof
19392 @: $(MAKE); $(unstage)
19393 @[ -f ./gprof/Makefile ] || exit 0; \
19394 r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19396 $(HOST_EXPORTS) \
19397 for flag in $(EXTRA_HOST_FLAGS) ; do \
19398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19399 done; \
19400 echo "Doing pdf in gprof"; \
19401 (cd $(HOST_SUBDIR)/gprof && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19404 "RANLIB=$${RANLIB}" \
19405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19406 pdf) \
19407 || exit 1
19408
19409 @endif gprof
19410
19411 .PHONY: maybe-html-gprof html-gprof
19412 maybe-html-gprof:
19413 @if gprof
19414 maybe-html-gprof: html-gprof
19415
19416 html-gprof: \
19417 configure-gprof
19418 @: $(MAKE); $(unstage)
19419 @[ -f ./gprof/Makefile ] || exit 0; \
19420 r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422 $(HOST_EXPORTS) \
19423 for flag in $(EXTRA_HOST_FLAGS) ; do \
19424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19425 done; \
19426 echo "Doing html in gprof"; \
19427 (cd $(HOST_SUBDIR)/gprof && \
19428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19430 "RANLIB=$${RANLIB}" \
19431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19432 html) \
19433 || exit 1
19434
19435 @endif gprof
19436
19437 .PHONY: maybe-TAGS-gprof TAGS-gprof
19438 maybe-TAGS-gprof:
19439 @if gprof
19440 maybe-TAGS-gprof: TAGS-gprof
19441
19442 TAGS-gprof: \
19443 configure-gprof
19444 @: $(MAKE); $(unstage)
19445 @[ -f ./gprof/Makefile ] || exit 0; \
19446 r=`${PWD_COMMAND}`; export r; \
19447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19448 $(HOST_EXPORTS) \
19449 for flag in $(EXTRA_HOST_FLAGS) ; do \
19450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19451 done; \
19452 echo "Doing TAGS in gprof"; \
19453 (cd $(HOST_SUBDIR)/gprof && \
19454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19456 "RANLIB=$${RANLIB}" \
19457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19458 TAGS) \
19459 || exit 1
19460
19461 @endif gprof
19462
19463 .PHONY: maybe-install-info-gprof install-info-gprof
19464 maybe-install-info-gprof:
19465 @if gprof
19466 maybe-install-info-gprof: install-info-gprof
19467
19468 install-info-gprof: \
19469 configure-gprof \
19470 info-gprof
19471 @: $(MAKE); $(unstage)
19472 @[ -f ./gprof/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(HOST_EXPORTS) \
19476 for flag in $(EXTRA_HOST_FLAGS) ; do \
19477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19478 done; \
19479 echo "Doing install-info in gprof"; \
19480 (cd $(HOST_SUBDIR)/gprof && \
19481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19483 "RANLIB=$${RANLIB}" \
19484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19485 install-info) \
19486 || exit 1
19487
19488 @endif gprof
19489
19490 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19491 maybe-install-pdf-gprof:
19492 @if gprof
19493 maybe-install-pdf-gprof: install-pdf-gprof
19494
19495 install-pdf-gprof: \
19496 configure-gprof \
19497 pdf-gprof
19498 @: $(MAKE); $(unstage)
19499 @[ -f ./gprof/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 $(HOST_EXPORTS) \
19503 for flag in $(EXTRA_HOST_FLAGS) ; do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19505 done; \
19506 echo "Doing install-pdf in gprof"; \
19507 (cd $(HOST_SUBDIR)/gprof && \
19508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19510 "RANLIB=$${RANLIB}" \
19511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19512 install-pdf) \
19513 || exit 1
19514
19515 @endif gprof
19516
19517 .PHONY: maybe-install-html-gprof install-html-gprof
19518 maybe-install-html-gprof:
19519 @if gprof
19520 maybe-install-html-gprof: install-html-gprof
19521
19522 install-html-gprof: \
19523 configure-gprof \
19524 html-gprof
19525 @: $(MAKE); $(unstage)
19526 @[ -f ./gprof/Makefile ] || exit 0; \
19527 r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 $(HOST_EXPORTS) \
19530 for flag in $(EXTRA_HOST_FLAGS) ; do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19532 done; \
19533 echo "Doing install-html in gprof"; \
19534 (cd $(HOST_SUBDIR)/gprof && \
19535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19537 "RANLIB=$${RANLIB}" \
19538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19539 install-html) \
19540 || exit 1
19541
19542 @endif gprof
19543
19544 .PHONY: maybe-installcheck-gprof installcheck-gprof
19545 maybe-installcheck-gprof:
19546 @if gprof
19547 maybe-installcheck-gprof: installcheck-gprof
19548
19549 installcheck-gprof: \
19550 configure-gprof
19551 @: $(MAKE); $(unstage)
19552 @[ -f ./gprof/Makefile ] || exit 0; \
19553 r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 $(HOST_EXPORTS) \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19558 done; \
19559 echo "Doing installcheck in gprof"; \
19560 (cd $(HOST_SUBDIR)/gprof && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19565 installcheck) \
19566 || exit 1
19567
19568 @endif gprof
19569
19570 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19571 maybe-mostlyclean-gprof:
19572 @if gprof
19573 maybe-mostlyclean-gprof: mostlyclean-gprof
19574
19575 mostlyclean-gprof:
19576 @: $(MAKE); $(unstage)
19577 @[ -f ./gprof/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(HOST_EXPORTS) \
19581 for flag in $(EXTRA_HOST_FLAGS) ; do \
19582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19583 done; \
19584 echo "Doing mostlyclean in gprof"; \
19585 (cd $(HOST_SUBDIR)/gprof && \
19586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19588 "RANLIB=$${RANLIB}" \
19589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19590 mostlyclean) \
19591 || exit 1
19592
19593 @endif gprof
19594
19595 .PHONY: maybe-clean-gprof clean-gprof
19596 maybe-clean-gprof:
19597 @if gprof
19598 maybe-clean-gprof: clean-gprof
19599
19600 clean-gprof:
19601 @: $(MAKE); $(unstage)
19602 @[ -f ./gprof/Makefile ] || exit 0; \
19603 r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 $(HOST_EXPORTS) \
19606 for flag in $(EXTRA_HOST_FLAGS) ; do \
19607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19608 done; \
19609 echo "Doing clean in gprof"; \
19610 (cd $(HOST_SUBDIR)/gprof && \
19611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19613 "RANLIB=$${RANLIB}" \
19614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19615 clean) \
19616 || exit 1
19617
19618 @endif gprof
19619
19620 .PHONY: maybe-distclean-gprof distclean-gprof
19621 maybe-distclean-gprof:
19622 @if gprof
19623 maybe-distclean-gprof: distclean-gprof
19624
19625 distclean-gprof:
19626 @: $(MAKE); $(unstage)
19627 @[ -f ./gprof/Makefile ] || exit 0; \
19628 r=`${PWD_COMMAND}`; export r; \
19629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19630 $(HOST_EXPORTS) \
19631 for flag in $(EXTRA_HOST_FLAGS) ; do \
19632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19633 done; \
19634 echo "Doing distclean in gprof"; \
19635 (cd $(HOST_SUBDIR)/gprof && \
19636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19638 "RANLIB=$${RANLIB}" \
19639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19640 distclean) \
19641 || exit 1
19642
19643 @endif gprof
19644
19645 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19646 maybe-maintainer-clean-gprof:
19647 @if gprof
19648 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19649
19650 maintainer-clean-gprof:
19651 @: $(MAKE); $(unstage)
19652 @[ -f ./gprof/Makefile ] || exit 0; \
19653 r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 $(HOST_EXPORTS) \
19656 for flag in $(EXTRA_HOST_FLAGS) ; do \
19657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19658 done; \
19659 echo "Doing maintainer-clean in gprof"; \
19660 (cd $(HOST_SUBDIR)/gprof && \
19661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19663 "RANLIB=$${RANLIB}" \
19664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19665 maintainer-clean) \
19666 || exit 1
19667
19668 @endif gprof
19669
19670
19671
19672 .PHONY: configure-intl maybe-configure-intl
19673 maybe-configure-intl:
19674 @if gcc-bootstrap
19675 configure-intl: stage_current
19676 @endif gcc-bootstrap
19677 @if intl
19678 maybe-configure-intl: configure-intl
19679 configure-intl:
19680 @r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19684 $(HOST_EXPORTS) \
19685 echo Configuring in $(HOST_SUBDIR)/intl; \
19686 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19687 case $(srcdir) in \
19688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19689 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19691 esac; \
19692 module_srcdir=intl; \
19693 $(SHELL) \
19694 $$s/$$module_srcdir/configure \
19695 --srcdir=$${topdir}/$$module_srcdir \
19696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19697 --target=${target_alias} \
19698 || exit 1
19699 @endif intl
19700
19701
19702
19703 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19704 maybe-configure-stage1-intl:
19705 @if intl-bootstrap
19706 maybe-configure-stage1-intl: configure-stage1-intl
19707 configure-stage1-intl:
19708 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19710 @r=`${PWD_COMMAND}`; export r; \
19711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19712 TFLAGS="$(STAGE1_TFLAGS)"; \
19713 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19714 $(HOST_EXPORTS) \
19715 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19716 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19717 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19718 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19720 cd $(HOST_SUBDIR)/intl || exit 1; \
19721 case $(srcdir) in \
19722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19723 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19725 esac; \
19726 module_srcdir=intl; \
19727 $(SHELL) $$s/$$module_srcdir/configure \
19728 --srcdir=$${topdir}/$$module_srcdir \
19729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19730 --target=${target_alias} \
19731 \
19732 $(STAGE1_CONFIGURE_FLAGS)
19733 @endif intl-bootstrap
19734
19735 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19736 maybe-configure-stage2-intl:
19737 @if intl-bootstrap
19738 maybe-configure-stage2-intl: configure-stage2-intl
19739 configure-stage2-intl:
19740 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19742 @r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 TFLAGS="$(STAGE2_TFLAGS)"; \
19745 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19746 $(HOST_EXPORTS) \
19747 $(POSTSTAGE1_HOST_EXPORTS) \
19748 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19749 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19750 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19751 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19753 cd $(HOST_SUBDIR)/intl || exit 1; \
19754 case $(srcdir) in \
19755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19756 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19758 esac; \
19759 module_srcdir=intl; \
19760 $(SHELL) $$s/$$module_srcdir/configure \
19761 --srcdir=$${topdir}/$$module_srcdir \
19762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19763 --target=${target_alias} \
19764 --with-build-libsubdir=$(HOST_SUBDIR) \
19765 $(STAGE2_CONFIGURE_FLAGS)
19766 @endif intl-bootstrap
19767
19768 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19769 maybe-configure-stage3-intl:
19770 @if intl-bootstrap
19771 maybe-configure-stage3-intl: configure-stage3-intl
19772 configure-stage3-intl:
19773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19775 @r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 TFLAGS="$(STAGE3_TFLAGS)"; \
19778 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19779 $(HOST_EXPORTS) \
19780 $(POSTSTAGE1_HOST_EXPORTS) \
19781 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19782 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19783 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19784 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19786 cd $(HOST_SUBDIR)/intl || exit 1; \
19787 case $(srcdir) in \
19788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19789 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19791 esac; \
19792 module_srcdir=intl; \
19793 $(SHELL) $$s/$$module_srcdir/configure \
19794 --srcdir=$${topdir}/$$module_srcdir \
19795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19796 --target=${target_alias} \
19797 --with-build-libsubdir=$(HOST_SUBDIR) \
19798 $(STAGE3_CONFIGURE_FLAGS)
19799 @endif intl-bootstrap
19800
19801 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19802 maybe-configure-stage4-intl:
19803 @if intl-bootstrap
19804 maybe-configure-stage4-intl: configure-stage4-intl
19805 configure-stage4-intl:
19806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19808 @r=`${PWD_COMMAND}`; export r; \
19809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19810 TFLAGS="$(STAGE4_TFLAGS)"; \
19811 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19812 $(HOST_EXPORTS) \
19813 $(POSTSTAGE1_HOST_EXPORTS) \
19814 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19815 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19816 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19817 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19819 cd $(HOST_SUBDIR)/intl || exit 1; \
19820 case $(srcdir) in \
19821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19822 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19824 esac; \
19825 module_srcdir=intl; \
19826 $(SHELL) $$s/$$module_srcdir/configure \
19827 --srcdir=$${topdir}/$$module_srcdir \
19828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19829 --target=${target_alias} \
19830 --with-build-libsubdir=$(HOST_SUBDIR) \
19831 $(STAGE4_CONFIGURE_FLAGS)
19832 @endif intl-bootstrap
19833
19834 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19835 maybe-configure-stageprofile-intl:
19836 @if intl-bootstrap
19837 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19838 configure-stageprofile-intl:
19839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19841 @r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19844 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19845 $(HOST_EXPORTS) \
19846 $(POSTSTAGE1_HOST_EXPORTS) \
19847 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19848 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19849 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19850 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19852 cd $(HOST_SUBDIR)/intl || exit 1; \
19853 case $(srcdir) in \
19854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19855 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19857 esac; \
19858 module_srcdir=intl; \
19859 $(SHELL) $$s/$$module_srcdir/configure \
19860 --srcdir=$${topdir}/$$module_srcdir \
19861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19862 --target=${target_alias} \
19863 --with-build-libsubdir=$(HOST_SUBDIR) \
19864 $(STAGEprofile_CONFIGURE_FLAGS)
19865 @endif intl-bootstrap
19866
19867 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19868 maybe-configure-stagetrain-intl:
19869 @if intl-bootstrap
19870 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19871 configure-stagetrain-intl:
19872 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19874 @r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19877 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19878 $(HOST_EXPORTS) \
19879 $(POSTSTAGE1_HOST_EXPORTS) \
19880 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19881 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19882 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19883 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19885 cd $(HOST_SUBDIR)/intl || exit 1; \
19886 case $(srcdir) in \
19887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19888 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19890 esac; \
19891 module_srcdir=intl; \
19892 $(SHELL) $$s/$$module_srcdir/configure \
19893 --srcdir=$${topdir}/$$module_srcdir \
19894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19895 --target=${target_alias} \
19896 --with-build-libsubdir=$(HOST_SUBDIR) \
19897 $(STAGEtrain_CONFIGURE_FLAGS)
19898 @endif intl-bootstrap
19899
19900 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19901 maybe-configure-stagefeedback-intl:
19902 @if intl-bootstrap
19903 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19904 configure-stagefeedback-intl:
19905 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19907 @r=`${PWD_COMMAND}`; export r; \
19908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19910 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19911 $(HOST_EXPORTS) \
19912 $(POSTSTAGE1_HOST_EXPORTS) \
19913 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19914 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19915 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19916 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19918 cd $(HOST_SUBDIR)/intl || exit 1; \
19919 case $(srcdir) in \
19920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19921 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19923 esac; \
19924 module_srcdir=intl; \
19925 $(SHELL) $$s/$$module_srcdir/configure \
19926 --srcdir=$${topdir}/$$module_srcdir \
19927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19928 --target=${target_alias} \
19929 --with-build-libsubdir=$(HOST_SUBDIR) \
19930 $(STAGEfeedback_CONFIGURE_FLAGS)
19931 @endif intl-bootstrap
19932
19933 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19934 maybe-configure-stageautoprofile-intl:
19935 @if intl-bootstrap
19936 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19937 configure-stageautoprofile-intl:
19938 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19940 @r=`${PWD_COMMAND}`; export r; \
19941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19942 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19943 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19944 $(HOST_EXPORTS) \
19945 $(POSTSTAGE1_HOST_EXPORTS) \
19946 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19947 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19948 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19949 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19951 cd $(HOST_SUBDIR)/intl || exit 1; \
19952 case $(srcdir) in \
19953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19954 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19956 esac; \
19957 module_srcdir=intl; \
19958 $(SHELL) $$s/$$module_srcdir/configure \
19959 --srcdir=$${topdir}/$$module_srcdir \
19960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19961 --target=${target_alias} \
19962 --with-build-libsubdir=$(HOST_SUBDIR) \
19963 $(STAGEautoprofile_CONFIGURE_FLAGS)
19964 @endif intl-bootstrap
19965
19966 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19967 maybe-configure-stageautofeedback-intl:
19968 @if intl-bootstrap
19969 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19970 configure-stageautofeedback-intl:
19971 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19973 @r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19976 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19977 $(HOST_EXPORTS) \
19978 $(POSTSTAGE1_HOST_EXPORTS) \
19979 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19980 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19981 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19982 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19984 cd $(HOST_SUBDIR)/intl || exit 1; \
19985 case $(srcdir) in \
19986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19987 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19989 esac; \
19990 module_srcdir=intl; \
19991 $(SHELL) $$s/$$module_srcdir/configure \
19992 --srcdir=$${topdir}/$$module_srcdir \
19993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19994 --target=${target_alias} \
19995 --with-build-libsubdir=$(HOST_SUBDIR) \
19996 $(STAGEautofeedback_CONFIGURE_FLAGS)
19997 @endif intl-bootstrap
19998
19999
20000
20001
20002
20003 .PHONY: all-intl maybe-all-intl
20004 maybe-all-intl:
20005 @if gcc-bootstrap
20006 all-intl: stage_current
20007 @endif gcc-bootstrap
20008 @if intl
20009 TARGET-intl=all
20010 maybe-all-intl: all-intl
20011 all-intl: configure-intl
20012 @r=`${PWD_COMMAND}`; export r; \
20013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20014 $(HOST_EXPORTS) \
20015 (cd $(HOST_SUBDIR)/intl && \
20016 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20017 $(TARGET-intl))
20018 @endif intl
20019
20020
20021
20022 .PHONY: all-stage1-intl maybe-all-stage1-intl
20023 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
20024 maybe-all-stage1-intl:
20025 maybe-clean-stage1-intl:
20026 @if intl-bootstrap
20027 maybe-all-stage1-intl: all-stage1-intl
20028 all-stage1: all-stage1-intl
20029 TARGET-stage1-intl = $(TARGET-intl)
20030 all-stage1-intl: configure-stage1-intl
20031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20032 @r=`${PWD_COMMAND}`; export r; \
20033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20034 TFLAGS="$(STAGE1_TFLAGS)"; \
20035 $(HOST_EXPORTS) \
20036 cd $(HOST_SUBDIR)/intl && \
20037 \
20038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20039 CFLAGS="$(STAGE1_CFLAGS)" \
20040 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20041 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20042 LIBCFLAGS="$(LIBCFLAGS)" \
20043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20046 $(EXTRA_HOST_FLAGS) \
20047 $(STAGE1_FLAGS_TO_PASS) \
20048 TFLAGS="$(STAGE1_TFLAGS)" \
20049 $(TARGET-stage1-intl)
20050
20051 maybe-clean-stage1-intl: clean-stage1-intl
20052 clean-stage1: clean-stage1-intl
20053 clean-stage1-intl:
20054 @if [ $(current_stage) = stage1 ]; then \
20055 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20056 else \
20057 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
20058 $(MAKE) stage1-start; \
20059 fi; \
20060 cd $(HOST_SUBDIR)/intl && \
20061 $(MAKE) $(EXTRA_HOST_FLAGS) \
20062 $(STAGE1_FLAGS_TO_PASS) clean
20063 @endif intl-bootstrap
20064
20065
20066 .PHONY: all-stage2-intl maybe-all-stage2-intl
20067 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
20068 maybe-all-stage2-intl:
20069 maybe-clean-stage2-intl:
20070 @if intl-bootstrap
20071 maybe-all-stage2-intl: all-stage2-intl
20072 all-stage2: all-stage2-intl
20073 TARGET-stage2-intl = $(TARGET-intl)
20074 all-stage2-intl: configure-stage2-intl
20075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20076 @r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 TFLAGS="$(STAGE2_TFLAGS)"; \
20079 $(HOST_EXPORTS) \
20080 $(POSTSTAGE1_HOST_EXPORTS) \
20081 cd $(HOST_SUBDIR)/intl && \
20082 \
20083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20084 CFLAGS="$(STAGE2_CFLAGS)" \
20085 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20086 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20087 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20092 TFLAGS="$(STAGE2_TFLAGS)" \
20093 $(TARGET-stage2-intl)
20094
20095 maybe-clean-stage2-intl: clean-stage2-intl
20096 clean-stage2: clean-stage2-intl
20097 clean-stage2-intl:
20098 @if [ $(current_stage) = stage2 ]; then \
20099 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20100 else \
20101 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
20102 $(MAKE) stage2-start; \
20103 fi; \
20104 cd $(HOST_SUBDIR)/intl && \
20105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20106 @endif intl-bootstrap
20107
20108
20109 .PHONY: all-stage3-intl maybe-all-stage3-intl
20110 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
20111 maybe-all-stage3-intl:
20112 maybe-clean-stage3-intl:
20113 @if intl-bootstrap
20114 maybe-all-stage3-intl: all-stage3-intl
20115 all-stage3: all-stage3-intl
20116 TARGET-stage3-intl = $(TARGET-intl)
20117 all-stage3-intl: configure-stage3-intl
20118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20119 @r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 TFLAGS="$(STAGE3_TFLAGS)"; \
20122 $(HOST_EXPORTS) \
20123 $(POSTSTAGE1_HOST_EXPORTS) \
20124 cd $(HOST_SUBDIR)/intl && \
20125 \
20126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20127 CFLAGS="$(STAGE3_CFLAGS)" \
20128 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20129 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20130 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20135 TFLAGS="$(STAGE3_TFLAGS)" \
20136 $(TARGET-stage3-intl)
20137
20138 maybe-clean-stage3-intl: clean-stage3-intl
20139 clean-stage3: clean-stage3-intl
20140 clean-stage3-intl:
20141 @if [ $(current_stage) = stage3 ]; then \
20142 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20143 else \
20144 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20145 $(MAKE) stage3-start; \
20146 fi; \
20147 cd $(HOST_SUBDIR)/intl && \
20148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20149 @endif intl-bootstrap
20150
20151
20152 .PHONY: all-stage4-intl maybe-all-stage4-intl
20153 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20154 maybe-all-stage4-intl:
20155 maybe-clean-stage4-intl:
20156 @if intl-bootstrap
20157 maybe-all-stage4-intl: all-stage4-intl
20158 all-stage4: all-stage4-intl
20159 TARGET-stage4-intl = $(TARGET-intl)
20160 all-stage4-intl: configure-stage4-intl
20161 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20162 @r=`${PWD_COMMAND}`; export r; \
20163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20164 TFLAGS="$(STAGE4_TFLAGS)"; \
20165 $(HOST_EXPORTS) \
20166 $(POSTSTAGE1_HOST_EXPORTS) \
20167 cd $(HOST_SUBDIR)/intl && \
20168 \
20169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20170 CFLAGS="$(STAGE4_CFLAGS)" \
20171 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20172 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20173 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20178 TFLAGS="$(STAGE4_TFLAGS)" \
20179 $(TARGET-stage4-intl)
20180
20181 maybe-clean-stage4-intl: clean-stage4-intl
20182 clean-stage4: clean-stage4-intl
20183 clean-stage4-intl:
20184 @if [ $(current_stage) = stage4 ]; then \
20185 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20186 else \
20187 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20188 $(MAKE) stage4-start; \
20189 fi; \
20190 cd $(HOST_SUBDIR)/intl && \
20191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20192 @endif intl-bootstrap
20193
20194
20195 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20196 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20197 maybe-all-stageprofile-intl:
20198 maybe-clean-stageprofile-intl:
20199 @if intl-bootstrap
20200 maybe-all-stageprofile-intl: all-stageprofile-intl
20201 all-stageprofile: all-stageprofile-intl
20202 TARGET-stageprofile-intl = $(TARGET-intl)
20203 all-stageprofile-intl: configure-stageprofile-intl
20204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20205 @r=`${PWD_COMMAND}`; export r; \
20206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20208 $(HOST_EXPORTS) \
20209 $(POSTSTAGE1_HOST_EXPORTS) \
20210 cd $(HOST_SUBDIR)/intl && \
20211 \
20212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20213 CFLAGS="$(STAGEprofile_CFLAGS)" \
20214 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20215 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20216 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20221 TFLAGS="$(STAGEprofile_TFLAGS)" \
20222 $(TARGET-stageprofile-intl)
20223
20224 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20225 clean-stageprofile: clean-stageprofile-intl
20226 clean-stageprofile-intl:
20227 @if [ $(current_stage) = stageprofile ]; then \
20228 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20229 else \
20230 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20231 $(MAKE) stageprofile-start; \
20232 fi; \
20233 cd $(HOST_SUBDIR)/intl && \
20234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20235 @endif intl-bootstrap
20236
20237
20238 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20239 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20240 maybe-all-stagetrain-intl:
20241 maybe-clean-stagetrain-intl:
20242 @if intl-bootstrap
20243 maybe-all-stagetrain-intl: all-stagetrain-intl
20244 all-stagetrain: all-stagetrain-intl
20245 TARGET-stagetrain-intl = $(TARGET-intl)
20246 all-stagetrain-intl: configure-stagetrain-intl
20247 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20248 @r=`${PWD_COMMAND}`; export r; \
20249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20250 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20251 $(HOST_EXPORTS) \
20252 $(POSTSTAGE1_HOST_EXPORTS) \
20253 cd $(HOST_SUBDIR)/intl && \
20254 \
20255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20256 CFLAGS="$(STAGEtrain_CFLAGS)" \
20257 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
20258 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20259 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20264 TFLAGS="$(STAGEtrain_TFLAGS)" \
20265 $(TARGET-stagetrain-intl)
20266
20267 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20268 clean-stagetrain: clean-stagetrain-intl
20269 clean-stagetrain-intl:
20270 @if [ $(current_stage) = stagetrain ]; then \
20271 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20272 else \
20273 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20274 $(MAKE) stagetrain-start; \
20275 fi; \
20276 cd $(HOST_SUBDIR)/intl && \
20277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20278 @endif intl-bootstrap
20279
20280
20281 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20282 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20283 maybe-all-stagefeedback-intl:
20284 maybe-clean-stagefeedback-intl:
20285 @if intl-bootstrap
20286 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20287 all-stagefeedback: all-stagefeedback-intl
20288 TARGET-stagefeedback-intl = $(TARGET-intl)
20289 all-stagefeedback-intl: configure-stagefeedback-intl
20290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20291 @r=`${PWD_COMMAND}`; export r; \
20292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20294 $(HOST_EXPORTS) \
20295 $(POSTSTAGE1_HOST_EXPORTS) \
20296 cd $(HOST_SUBDIR)/intl && \
20297 \
20298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20299 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20300 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
20301 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20302 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20307 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20308 $(TARGET-stagefeedback-intl)
20309
20310 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20311 clean-stagefeedback: clean-stagefeedback-intl
20312 clean-stagefeedback-intl:
20313 @if [ $(current_stage) = stagefeedback ]; then \
20314 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20315 else \
20316 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20317 $(MAKE) stagefeedback-start; \
20318 fi; \
20319 cd $(HOST_SUBDIR)/intl && \
20320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20321 @endif intl-bootstrap
20322
20323
20324 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20325 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20326 maybe-all-stageautoprofile-intl:
20327 maybe-clean-stageautoprofile-intl:
20328 @if intl-bootstrap
20329 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20330 all-stageautoprofile: all-stageautoprofile-intl
20331 TARGET-stageautoprofile-intl = $(TARGET-intl)
20332 all-stageautoprofile-intl: configure-stageautoprofile-intl
20333 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20334 @r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20337 $(HOST_EXPORTS) \
20338 $(POSTSTAGE1_HOST_EXPORTS) \
20339 cd $(HOST_SUBDIR)/intl && \
20340 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20342 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20343 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
20344 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20345 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20350 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20351 $(TARGET-stageautoprofile-intl)
20352
20353 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20354 clean-stageautoprofile: clean-stageautoprofile-intl
20355 clean-stageautoprofile-intl:
20356 @if [ $(current_stage) = stageautoprofile ]; then \
20357 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20358 else \
20359 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20360 $(MAKE) stageautoprofile-start; \
20361 fi; \
20362 cd $(HOST_SUBDIR)/intl && \
20363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20364 @endif intl-bootstrap
20365
20366
20367 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20368 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20369 maybe-all-stageautofeedback-intl:
20370 maybe-clean-stageautofeedback-intl:
20371 @if intl-bootstrap
20372 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20373 all-stageautofeedback: all-stageautofeedback-intl
20374 TARGET-stageautofeedback-intl = $(TARGET-intl)
20375 all-stageautofeedback-intl: configure-stageautofeedback-intl
20376 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20377 @r=`${PWD_COMMAND}`; export r; \
20378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20379 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20380 $(HOST_EXPORTS) \
20381 $(POSTSTAGE1_HOST_EXPORTS) \
20382 cd $(HOST_SUBDIR)/intl && \
20383 \
20384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20385 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20386 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
20387 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20388 LIBCFLAGS="$(STAGEautofeedback_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="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20394 $(TARGET-stageautofeedback-intl)
20395
20396 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20397 clean-stageautofeedback: clean-stageautofeedback-intl
20398 clean-stageautofeedback-intl:
20399 @if [ $(current_stage) = stageautofeedback ]; then \
20400 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20401 else \
20402 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20403 $(MAKE) stageautofeedback-start; \
20404 fi; \
20405 cd $(HOST_SUBDIR)/intl && \
20406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20407 @endif intl-bootstrap
20408
20409
20410
20411
20412
20413 .PHONY: check-intl maybe-check-intl
20414 maybe-check-intl:
20415 @if intl
20416 maybe-check-intl: check-intl
20417
20418 check-intl:
20419 @: $(MAKE); $(unstage)
20420 @r=`${PWD_COMMAND}`; export r; \
20421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20423 (cd $(HOST_SUBDIR)/intl && \
20424 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20425
20426 @endif intl
20427
20428 .PHONY: install-intl maybe-install-intl
20429 maybe-install-intl:
20430 @if intl
20431 maybe-install-intl: install-intl
20432
20433 install-intl: installdirs
20434 @: $(MAKE); $(unstage)
20435 @r=`${PWD_COMMAND}`; export r; \
20436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20437 $(HOST_EXPORTS) \
20438 (cd $(HOST_SUBDIR)/intl && \
20439 $(MAKE) $(FLAGS_TO_PASS) install)
20440
20441 @endif intl
20442
20443 .PHONY: install-strip-intl maybe-install-strip-intl
20444 maybe-install-strip-intl:
20445 @if intl
20446 maybe-install-strip-intl: install-strip-intl
20447
20448 install-strip-intl: installdirs
20449 @: $(MAKE); $(unstage)
20450 @r=`${PWD_COMMAND}`; export r; \
20451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20452 $(HOST_EXPORTS) \
20453 (cd $(HOST_SUBDIR)/intl && \
20454 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20455
20456 @endif intl
20457
20458 # Other targets (info, dvi, pdf, etc.)
20459
20460 .PHONY: maybe-info-intl info-intl
20461 maybe-info-intl:
20462 @if intl
20463 maybe-info-intl: info-intl
20464
20465 info-intl: \
20466 configure-intl
20467 @[ -f ./intl/Makefile ] || exit 0; \
20468 r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20470 $(HOST_EXPORTS) \
20471 for flag in $(EXTRA_HOST_FLAGS) ; do \
20472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20473 done; \
20474 echo "Doing info in intl"; \
20475 (cd $(HOST_SUBDIR)/intl && \
20476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20478 "RANLIB=$${RANLIB}" \
20479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20480 info) \
20481 || exit 1
20482
20483 @endif intl
20484
20485 .PHONY: maybe-dvi-intl dvi-intl
20486 maybe-dvi-intl:
20487 @if intl
20488 maybe-dvi-intl: dvi-intl
20489
20490 dvi-intl: \
20491 configure-intl
20492 @[ -f ./intl/Makefile ] || exit 0; \
20493 r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 $(HOST_EXPORTS) \
20496 for flag in $(EXTRA_HOST_FLAGS) ; do \
20497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20498 done; \
20499 echo "Doing dvi in intl"; \
20500 (cd $(HOST_SUBDIR)/intl && \
20501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20503 "RANLIB=$${RANLIB}" \
20504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20505 dvi) \
20506 || exit 1
20507
20508 @endif intl
20509
20510 .PHONY: maybe-pdf-intl pdf-intl
20511 maybe-pdf-intl:
20512 @if intl
20513 maybe-pdf-intl: pdf-intl
20514
20515 pdf-intl: \
20516 configure-intl
20517 @[ -f ./intl/Makefile ] || exit 0; \
20518 r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 $(HOST_EXPORTS) \
20521 for flag in $(EXTRA_HOST_FLAGS) ; do \
20522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20523 done; \
20524 echo "Doing pdf in intl"; \
20525 (cd $(HOST_SUBDIR)/intl && \
20526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20528 "RANLIB=$${RANLIB}" \
20529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20530 pdf) \
20531 || exit 1
20532
20533 @endif intl
20534
20535 .PHONY: maybe-html-intl html-intl
20536 maybe-html-intl:
20537 @if intl
20538 maybe-html-intl: html-intl
20539
20540 html-intl: \
20541 configure-intl
20542 @[ -f ./intl/Makefile ] || exit 0; \
20543 r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 $(HOST_EXPORTS) \
20546 for flag in $(EXTRA_HOST_FLAGS) ; do \
20547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20548 done; \
20549 echo "Doing html in intl"; \
20550 (cd $(HOST_SUBDIR)/intl && \
20551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20553 "RANLIB=$${RANLIB}" \
20554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20555 html) \
20556 || exit 1
20557
20558 @endif intl
20559
20560 .PHONY: maybe-TAGS-intl TAGS-intl
20561 maybe-TAGS-intl:
20562 @if intl
20563 maybe-TAGS-intl: TAGS-intl
20564
20565 TAGS-intl: \
20566 configure-intl
20567 @[ -f ./intl/Makefile ] || exit 0; \
20568 r=`${PWD_COMMAND}`; export r; \
20569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20570 $(HOST_EXPORTS) \
20571 for flag in $(EXTRA_HOST_FLAGS) ; do \
20572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20573 done; \
20574 echo "Doing TAGS in intl"; \
20575 (cd $(HOST_SUBDIR)/intl && \
20576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20578 "RANLIB=$${RANLIB}" \
20579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20580 TAGS) \
20581 || exit 1
20582
20583 @endif intl
20584
20585 .PHONY: maybe-install-info-intl install-info-intl
20586 maybe-install-info-intl:
20587 @if intl
20588 maybe-install-info-intl: install-info-intl
20589
20590 install-info-intl: \
20591 configure-intl \
20592 info-intl
20593 @[ -f ./intl/Makefile ] || exit 0; \
20594 r=`${PWD_COMMAND}`; export r; \
20595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20596 $(HOST_EXPORTS) \
20597 for flag in $(EXTRA_HOST_FLAGS) ; do \
20598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20599 done; \
20600 echo "Doing install-info in intl"; \
20601 (cd $(HOST_SUBDIR)/intl && \
20602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20604 "RANLIB=$${RANLIB}" \
20605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20606 install-info) \
20607 || exit 1
20608
20609 @endif intl
20610
20611 .PHONY: maybe-install-pdf-intl install-pdf-intl
20612 maybe-install-pdf-intl:
20613 @if intl
20614 maybe-install-pdf-intl: install-pdf-intl
20615
20616 install-pdf-intl: \
20617 configure-intl \
20618 pdf-intl
20619 @[ -f ./intl/Makefile ] || exit 0; \
20620 r=`${PWD_COMMAND}`; export r; \
20621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20622 $(HOST_EXPORTS) \
20623 for flag in $(EXTRA_HOST_FLAGS) ; do \
20624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20625 done; \
20626 echo "Doing install-pdf in intl"; \
20627 (cd $(HOST_SUBDIR)/intl && \
20628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20630 "RANLIB=$${RANLIB}" \
20631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20632 install-pdf) \
20633 || exit 1
20634
20635 @endif intl
20636
20637 .PHONY: maybe-install-html-intl install-html-intl
20638 maybe-install-html-intl:
20639 @if intl
20640 maybe-install-html-intl: install-html-intl
20641
20642 install-html-intl: \
20643 configure-intl \
20644 html-intl
20645 @[ -f ./intl/Makefile ] || exit 0; \
20646 r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20648 $(HOST_EXPORTS) \
20649 for flag in $(EXTRA_HOST_FLAGS) ; do \
20650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20651 done; \
20652 echo "Doing install-html in intl"; \
20653 (cd $(HOST_SUBDIR)/intl && \
20654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20656 "RANLIB=$${RANLIB}" \
20657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20658 install-html) \
20659 || exit 1
20660
20661 @endif intl
20662
20663 .PHONY: maybe-installcheck-intl installcheck-intl
20664 maybe-installcheck-intl:
20665 @if intl
20666 maybe-installcheck-intl: installcheck-intl
20667
20668 installcheck-intl: \
20669 configure-intl
20670 @[ -f ./intl/Makefile ] || exit 0; \
20671 r=`${PWD_COMMAND}`; export r; \
20672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20673 $(HOST_EXPORTS) \
20674 for flag in $(EXTRA_HOST_FLAGS) ; do \
20675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20676 done; \
20677 echo "Doing installcheck in intl"; \
20678 (cd $(HOST_SUBDIR)/intl && \
20679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20681 "RANLIB=$${RANLIB}" \
20682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20683 installcheck) \
20684 || exit 1
20685
20686 @endif intl
20687
20688 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20689 maybe-mostlyclean-intl:
20690 @if intl
20691 maybe-mostlyclean-intl: mostlyclean-intl
20692
20693 mostlyclean-intl:
20694 @[ -f ./intl/Makefile ] || exit 0; \
20695 r=`${PWD_COMMAND}`; export r; \
20696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20697 $(HOST_EXPORTS) \
20698 for flag in $(EXTRA_HOST_FLAGS) ; do \
20699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20700 done; \
20701 echo "Doing mostlyclean in intl"; \
20702 (cd $(HOST_SUBDIR)/intl && \
20703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20705 "RANLIB=$${RANLIB}" \
20706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20707 mostlyclean) \
20708 || exit 1
20709
20710 @endif intl
20711
20712 .PHONY: maybe-clean-intl clean-intl
20713 maybe-clean-intl:
20714 @if intl
20715 maybe-clean-intl: clean-intl
20716
20717 clean-intl:
20718 @[ -f ./intl/Makefile ] || exit 0; \
20719 r=`${PWD_COMMAND}`; export r; \
20720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20721 $(HOST_EXPORTS) \
20722 for flag in $(EXTRA_HOST_FLAGS) ; do \
20723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20724 done; \
20725 echo "Doing clean in intl"; \
20726 (cd $(HOST_SUBDIR)/intl && \
20727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20729 "RANLIB=$${RANLIB}" \
20730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20731 clean) \
20732 || exit 1
20733
20734 @endif intl
20735
20736 .PHONY: maybe-distclean-intl distclean-intl
20737 maybe-distclean-intl:
20738 @if intl
20739 maybe-distclean-intl: distclean-intl
20740
20741 distclean-intl:
20742 @[ -f ./intl/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 distclean in intl"; \
20750 (cd $(HOST_SUBDIR)/intl && \
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 distclean) \
20756 || exit 1
20757
20758 @endif intl
20759
20760 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20761 maybe-maintainer-clean-intl:
20762 @if intl
20763 maybe-maintainer-clean-intl: maintainer-clean-intl
20764
20765 maintainer-clean-intl:
20766 @[ -f ./intl/Makefile ] || exit 0; \
20767 r=`${PWD_COMMAND}`; export r; \
20768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20769 $(HOST_EXPORTS) \
20770 for flag in $(EXTRA_HOST_FLAGS) ; do \
20771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20772 done; \
20773 echo "Doing maintainer-clean in intl"; \
20774 (cd $(HOST_SUBDIR)/intl && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20777 "RANLIB=$${RANLIB}" \
20778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20779 maintainer-clean) \
20780 || exit 1
20781
20782 @endif intl
20783
20784
20785
20786 .PHONY: configure-tcl maybe-configure-tcl
20787 maybe-configure-tcl:
20788 @if gcc-bootstrap
20789 configure-tcl: stage_current
20790 @endif gcc-bootstrap
20791 @if tcl
20792 maybe-configure-tcl: configure-tcl
20793 configure-tcl:
20794 @: $(MAKE); $(unstage)
20795 @r=`${PWD_COMMAND}`; export r; \
20796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20797 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20799 $(HOST_EXPORTS) \
20800 echo Configuring in $(HOST_SUBDIR)/tcl; \
20801 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20802 case $(srcdir) in \
20803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20804 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20806 esac; \
20807 module_srcdir=tcl; \
20808 $(SHELL) \
20809 $$s/$$module_srcdir/configure \
20810 --srcdir=$${topdir}/$$module_srcdir \
20811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20812 --target=${target_alias} \
20813 || exit 1
20814 @endif tcl
20815
20816
20817
20818
20819
20820 .PHONY: all-tcl maybe-all-tcl
20821 maybe-all-tcl:
20822 @if gcc-bootstrap
20823 all-tcl: stage_current
20824 @endif gcc-bootstrap
20825 @if tcl
20826 TARGET-tcl=all
20827 maybe-all-tcl: all-tcl
20828 all-tcl: configure-tcl
20829 @: $(MAKE); $(unstage)
20830 @r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 $(HOST_EXPORTS) \
20833 (cd $(HOST_SUBDIR)/tcl && \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20835 $(TARGET-tcl))
20836 @endif tcl
20837
20838
20839
20840
20841 .PHONY: check-tcl maybe-check-tcl
20842 maybe-check-tcl:
20843 @if tcl
20844 maybe-check-tcl: check-tcl
20845
20846 check-tcl:
20847 @: $(MAKE); $(unstage)
20848 @r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 $(HOST_EXPORTS) \
20851 (cd $(HOST_SUBDIR)/tcl && \
20852 $(MAKE) $(FLAGS_TO_PASS) check)
20853
20854 @endif tcl
20855
20856 .PHONY: install-tcl maybe-install-tcl
20857 maybe-install-tcl:
20858 @if tcl
20859 maybe-install-tcl: install-tcl
20860
20861 install-tcl: installdirs
20862 @: $(MAKE); $(unstage)
20863 @r=`${PWD_COMMAND}`; export r; \
20864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20865 $(HOST_EXPORTS) \
20866 (cd $(HOST_SUBDIR)/tcl && \
20867 $(MAKE) $(FLAGS_TO_PASS) install)
20868
20869 @endif tcl
20870
20871 .PHONY: install-strip-tcl maybe-install-strip-tcl
20872 maybe-install-strip-tcl:
20873 @if tcl
20874 maybe-install-strip-tcl: install-strip-tcl
20875
20876 install-strip-tcl: installdirs
20877 @: $(MAKE); $(unstage)
20878 @r=`${PWD_COMMAND}`; export r; \
20879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20880 $(HOST_EXPORTS) \
20881 (cd $(HOST_SUBDIR)/tcl && \
20882 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20883
20884 @endif tcl
20885
20886 # Other targets (info, dvi, pdf, etc.)
20887
20888 .PHONY: maybe-info-tcl info-tcl
20889 maybe-info-tcl:
20890 @if tcl
20891 maybe-info-tcl: info-tcl
20892
20893 info-tcl: \
20894 configure-tcl
20895 @: $(MAKE); $(unstage)
20896 @[ -f ./tcl/Makefile ] || exit 0; \
20897 r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 for flag in $(EXTRA_HOST_FLAGS) ; do \
20901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20902 done; \
20903 echo "Doing info in tcl"; \
20904 (cd $(HOST_SUBDIR)/tcl && \
20905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20907 "RANLIB=$${RANLIB}" \
20908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20909 info) \
20910 || exit 1
20911
20912 @endif tcl
20913
20914 .PHONY: maybe-dvi-tcl dvi-tcl
20915 maybe-dvi-tcl:
20916 @if tcl
20917 maybe-dvi-tcl: dvi-tcl
20918
20919 dvi-tcl: \
20920 configure-tcl
20921 @: $(MAKE); $(unstage)
20922 @[ -f ./tcl/Makefile ] || exit 0; \
20923 r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 $(HOST_EXPORTS) \
20926 for flag in $(EXTRA_HOST_FLAGS) ; do \
20927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20928 done; \
20929 echo "Doing dvi in tcl"; \
20930 (cd $(HOST_SUBDIR)/tcl && \
20931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20933 "RANLIB=$${RANLIB}" \
20934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20935 dvi) \
20936 || exit 1
20937
20938 @endif tcl
20939
20940 .PHONY: maybe-pdf-tcl pdf-tcl
20941 maybe-pdf-tcl:
20942 @if tcl
20943 maybe-pdf-tcl: pdf-tcl
20944
20945 pdf-tcl: \
20946 configure-tcl
20947 @: $(MAKE); $(unstage)
20948 @[ -f ./tcl/Makefile ] || exit 0; \
20949 r=`${PWD_COMMAND}`; export r; \
20950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20951 $(HOST_EXPORTS) \
20952 for flag in $(EXTRA_HOST_FLAGS) ; do \
20953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20954 done; \
20955 echo "Doing pdf in tcl"; \
20956 (cd $(HOST_SUBDIR)/tcl && \
20957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20959 "RANLIB=$${RANLIB}" \
20960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20961 pdf) \
20962 || exit 1
20963
20964 @endif tcl
20965
20966 .PHONY: maybe-html-tcl html-tcl
20967 maybe-html-tcl:
20968 @if tcl
20969 maybe-html-tcl: html-tcl
20970
20971 html-tcl: \
20972 configure-tcl
20973 @: $(MAKE); $(unstage)
20974 @[ -f ./tcl/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(HOST_EXPORTS) \
20978 for flag in $(EXTRA_HOST_FLAGS) ; do \
20979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20980 done; \
20981 echo "Doing html in tcl"; \
20982 (cd $(HOST_SUBDIR)/tcl && \
20983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20985 "RANLIB=$${RANLIB}" \
20986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20987 html) \
20988 || exit 1
20989
20990 @endif tcl
20991
20992 .PHONY: maybe-TAGS-tcl TAGS-tcl
20993 maybe-TAGS-tcl:
20994 @if tcl
20995 maybe-TAGS-tcl: TAGS-tcl
20996
20997 TAGS-tcl: \
20998 configure-tcl
20999 @: $(MAKE); $(unstage)
21000 @[ -f ./tcl/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 done; \
21007 echo "Doing TAGS in tcl"; \
21008 (cd $(HOST_SUBDIR)/tcl && \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21013 TAGS) \
21014 || exit 1
21015
21016 @endif tcl
21017
21018 .PHONY: maybe-install-info-tcl install-info-tcl
21019 maybe-install-info-tcl:
21020 @if tcl
21021 maybe-install-info-tcl: install-info-tcl
21022
21023 install-info-tcl: \
21024 configure-tcl \
21025 info-tcl
21026 @: $(MAKE); $(unstage)
21027 @[ -f ./tcl/Makefile ] || exit 0; \
21028 r=`${PWD_COMMAND}`; export r; \
21029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21030 $(HOST_EXPORTS) \
21031 for flag in $(EXTRA_HOST_FLAGS) ; do \
21032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21033 done; \
21034 echo "Doing install-info in tcl"; \
21035 (cd $(HOST_SUBDIR)/tcl && \
21036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21038 "RANLIB=$${RANLIB}" \
21039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21040 install-info) \
21041 || exit 1
21042
21043 @endif tcl
21044
21045 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21046 maybe-install-pdf-tcl:
21047 @if tcl
21048 maybe-install-pdf-tcl: install-pdf-tcl
21049
21050 install-pdf-tcl: \
21051 configure-tcl \
21052 pdf-tcl
21053 @: $(MAKE); $(unstage)
21054 @[ -f ./tcl/Makefile ] || exit 0; \
21055 r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 for flag in $(EXTRA_HOST_FLAGS) ; do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060 done; \
21061 echo "Doing install-pdf in tcl"; \
21062 (cd $(HOST_SUBDIR)/tcl && \
21063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21065 "RANLIB=$${RANLIB}" \
21066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21067 install-pdf) \
21068 || exit 1
21069
21070 @endif tcl
21071
21072 .PHONY: maybe-install-html-tcl install-html-tcl
21073 maybe-install-html-tcl:
21074 @if tcl
21075 maybe-install-html-tcl: install-html-tcl
21076
21077 install-html-tcl: \
21078 configure-tcl \
21079 html-tcl
21080 @: $(MAKE); $(unstage)
21081 @[ -f ./tcl/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21084 $(HOST_EXPORTS) \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21087 done; \
21088 echo "Doing install-html in tcl"; \
21089 (cd $(HOST_SUBDIR)/tcl && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21094 install-html) \
21095 || exit 1
21096
21097 @endif tcl
21098
21099 .PHONY: maybe-installcheck-tcl installcheck-tcl
21100 maybe-installcheck-tcl:
21101 @if tcl
21102 maybe-installcheck-tcl: installcheck-tcl
21103
21104 installcheck-tcl: \
21105 configure-tcl
21106 @: $(MAKE); $(unstage)
21107 @[ -f ./tcl/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(HOST_EXPORTS) \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21113 done; \
21114 echo "Doing installcheck in tcl"; \
21115 (cd $(HOST_SUBDIR)/tcl && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21120 installcheck) \
21121 || exit 1
21122
21123 @endif tcl
21124
21125 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21126 maybe-mostlyclean-tcl:
21127 @if tcl
21128 maybe-mostlyclean-tcl: mostlyclean-tcl
21129
21130 # tcl doesn't support mostlyclean.
21131 mostlyclean-tcl:
21132
21133 @endif tcl
21134
21135 .PHONY: maybe-clean-tcl clean-tcl
21136 maybe-clean-tcl:
21137 @if tcl
21138 maybe-clean-tcl: clean-tcl
21139
21140 clean-tcl:
21141 @: $(MAKE); $(unstage)
21142 @[ -f ./tcl/Makefile ] || exit 0; \
21143 r=`${PWD_COMMAND}`; export r; \
21144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21145 $(HOST_EXPORTS) \
21146 for flag in $(EXTRA_HOST_FLAGS) ; do \
21147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21148 done; \
21149 echo "Doing clean in tcl"; \
21150 (cd $(HOST_SUBDIR)/tcl && \
21151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21153 "RANLIB=$${RANLIB}" \
21154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21155 clean) \
21156 || exit 1
21157
21158 @endif tcl
21159
21160 .PHONY: maybe-distclean-tcl distclean-tcl
21161 maybe-distclean-tcl:
21162 @if tcl
21163 maybe-distclean-tcl: distclean-tcl
21164
21165 distclean-tcl:
21166 @: $(MAKE); $(unstage)
21167 @[ -f ./tcl/Makefile ] || exit 0; \
21168 r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 $(HOST_EXPORTS) \
21171 for flag in $(EXTRA_HOST_FLAGS) ; do \
21172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21173 done; \
21174 echo "Doing distclean in tcl"; \
21175 (cd $(HOST_SUBDIR)/tcl && \
21176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21178 "RANLIB=$${RANLIB}" \
21179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21180 distclean) \
21181 || exit 1
21182
21183 @endif tcl
21184
21185 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21186 maybe-maintainer-clean-tcl:
21187 @if tcl
21188 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21189
21190 maintainer-clean-tcl:
21191 @: $(MAKE); $(unstage)
21192 @[ -f ./tcl/Makefile ] || exit 0; \
21193 r=`${PWD_COMMAND}`; export r; \
21194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21195 $(HOST_EXPORTS) \
21196 for flag in $(EXTRA_HOST_FLAGS) ; do \
21197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21198 done; \
21199 echo "Doing maintainer-clean in tcl"; \
21200 (cd $(HOST_SUBDIR)/tcl && \
21201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21203 "RANLIB=$${RANLIB}" \
21204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21205 maintainer-clean) \
21206 || exit 1
21207
21208 @endif tcl
21209
21210
21211
21212 .PHONY: configure-itcl maybe-configure-itcl
21213 maybe-configure-itcl:
21214 @if gcc-bootstrap
21215 configure-itcl: stage_current
21216 @endif gcc-bootstrap
21217 @if itcl
21218 maybe-configure-itcl: configure-itcl
21219 configure-itcl:
21220 @: $(MAKE); $(unstage)
21221 @r=`${PWD_COMMAND}`; export r; \
21222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21223 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21225 $(HOST_EXPORTS) \
21226 echo Configuring in $(HOST_SUBDIR)/itcl; \
21227 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21228 case $(srcdir) in \
21229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21230 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21232 esac; \
21233 module_srcdir=itcl; \
21234 $(SHELL) \
21235 $$s/$$module_srcdir/configure \
21236 --srcdir=$${topdir}/$$module_srcdir \
21237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21238 --target=${target_alias} \
21239 || exit 1
21240 @endif itcl
21241
21242
21243
21244
21245
21246 .PHONY: all-itcl maybe-all-itcl
21247 maybe-all-itcl:
21248 @if gcc-bootstrap
21249 all-itcl: stage_current
21250 @endif gcc-bootstrap
21251 @if itcl
21252 TARGET-itcl=all
21253 maybe-all-itcl: all-itcl
21254 all-itcl: configure-itcl
21255 @: $(MAKE); $(unstage)
21256 @r=`${PWD_COMMAND}`; export r; \
21257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 $(HOST_EXPORTS) \
21259 (cd $(HOST_SUBDIR)/itcl && \
21260 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21261 $(TARGET-itcl))
21262 @endif itcl
21263
21264
21265
21266
21267 .PHONY: check-itcl maybe-check-itcl
21268 maybe-check-itcl:
21269 @if itcl
21270 maybe-check-itcl: check-itcl
21271
21272 check-itcl:
21273 @: $(MAKE); $(unstage)
21274 @r=`${PWD_COMMAND}`; export r; \
21275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21276 $(HOST_EXPORTS) \
21277 (cd $(HOST_SUBDIR)/itcl && \
21278 $(MAKE) $(FLAGS_TO_PASS) check)
21279
21280 @endif itcl
21281
21282 .PHONY: install-itcl maybe-install-itcl
21283 maybe-install-itcl:
21284 @if itcl
21285 maybe-install-itcl: install-itcl
21286
21287 install-itcl: installdirs
21288 @: $(MAKE); $(unstage)
21289 @r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 $(HOST_EXPORTS) \
21292 (cd $(HOST_SUBDIR)/itcl && \
21293 $(MAKE) $(FLAGS_TO_PASS) install)
21294
21295 @endif itcl
21296
21297 .PHONY: install-strip-itcl maybe-install-strip-itcl
21298 maybe-install-strip-itcl:
21299 @if itcl
21300 maybe-install-strip-itcl: install-strip-itcl
21301
21302 install-strip-itcl: installdirs
21303 @: $(MAKE); $(unstage)
21304 @r=`${PWD_COMMAND}`; export r; \
21305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21306 $(HOST_EXPORTS) \
21307 (cd $(HOST_SUBDIR)/itcl && \
21308 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21309
21310 @endif itcl
21311
21312 # Other targets (info, dvi, pdf, etc.)
21313
21314 .PHONY: maybe-info-itcl info-itcl
21315 maybe-info-itcl:
21316 @if itcl
21317 maybe-info-itcl: info-itcl
21318
21319 info-itcl: \
21320 configure-itcl
21321 @: $(MAKE); $(unstage)
21322 @[ -f ./itcl/Makefile ] || exit 0; \
21323 r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 for flag in $(EXTRA_HOST_FLAGS) ; do \
21327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21328 done; \
21329 echo "Doing info in itcl"; \
21330 (cd $(HOST_SUBDIR)/itcl && \
21331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21333 "RANLIB=$${RANLIB}" \
21334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21335 info) \
21336 || exit 1
21337
21338 @endif itcl
21339
21340 .PHONY: maybe-dvi-itcl dvi-itcl
21341 maybe-dvi-itcl:
21342 @if itcl
21343 maybe-dvi-itcl: dvi-itcl
21344
21345 dvi-itcl: \
21346 configure-itcl
21347 @: $(MAKE); $(unstage)
21348 @[ -f ./itcl/Makefile ] || exit 0; \
21349 r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 $(HOST_EXPORTS) \
21352 for flag in $(EXTRA_HOST_FLAGS) ; do \
21353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21354 done; \
21355 echo "Doing dvi in itcl"; \
21356 (cd $(HOST_SUBDIR)/itcl && \
21357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21359 "RANLIB=$${RANLIB}" \
21360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21361 dvi) \
21362 || exit 1
21363
21364 @endif itcl
21365
21366 .PHONY: maybe-pdf-itcl pdf-itcl
21367 maybe-pdf-itcl:
21368 @if itcl
21369 maybe-pdf-itcl: pdf-itcl
21370
21371 pdf-itcl: \
21372 configure-itcl
21373 @: $(MAKE); $(unstage)
21374 @[ -f ./itcl/Makefile ] || exit 0; \
21375 r=`${PWD_COMMAND}`; export r; \
21376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 $(HOST_EXPORTS) \
21378 for flag in $(EXTRA_HOST_FLAGS) ; do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380 done; \
21381 echo "Doing pdf in itcl"; \
21382 (cd $(HOST_SUBDIR)/itcl && \
21383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21385 "RANLIB=$${RANLIB}" \
21386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21387 pdf) \
21388 || exit 1
21389
21390 @endif itcl
21391
21392 .PHONY: maybe-html-itcl html-itcl
21393 maybe-html-itcl:
21394 @if itcl
21395 maybe-html-itcl: html-itcl
21396
21397 html-itcl: \
21398 configure-itcl
21399 @: $(MAKE); $(unstage)
21400 @[ -f ./itcl/Makefile ] || exit 0; \
21401 r=`${PWD_COMMAND}`; export r; \
21402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21403 $(HOST_EXPORTS) \
21404 for flag in $(EXTRA_HOST_FLAGS) ; do \
21405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21406 done; \
21407 echo "Doing html in itcl"; \
21408 (cd $(HOST_SUBDIR)/itcl && \
21409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21411 "RANLIB=$${RANLIB}" \
21412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21413 html) \
21414 || exit 1
21415
21416 @endif itcl
21417
21418 .PHONY: maybe-TAGS-itcl TAGS-itcl
21419 maybe-TAGS-itcl:
21420 @if itcl
21421 maybe-TAGS-itcl: TAGS-itcl
21422
21423 TAGS-itcl: \
21424 configure-itcl
21425 @: $(MAKE); $(unstage)
21426 @[ -f ./itcl/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(HOST_EXPORTS) \
21430 for flag in $(EXTRA_HOST_FLAGS) ; do \
21431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21432 done; \
21433 echo "Doing TAGS in itcl"; \
21434 (cd $(HOST_SUBDIR)/itcl && \
21435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21437 "RANLIB=$${RANLIB}" \
21438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21439 TAGS) \
21440 || exit 1
21441
21442 @endif itcl
21443
21444 .PHONY: maybe-install-info-itcl install-info-itcl
21445 maybe-install-info-itcl:
21446 @if itcl
21447 maybe-install-info-itcl: install-info-itcl
21448
21449 install-info-itcl: \
21450 configure-itcl \
21451 info-itcl
21452 @: $(MAKE); $(unstage)
21453 @[ -f ./itcl/Makefile ] || exit 0; \
21454 r=`${PWD_COMMAND}`; export r; \
21455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21456 $(HOST_EXPORTS) \
21457 for flag in $(EXTRA_HOST_FLAGS) ; do \
21458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21459 done; \
21460 echo "Doing install-info in itcl"; \
21461 (cd $(HOST_SUBDIR)/itcl && \
21462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21464 "RANLIB=$${RANLIB}" \
21465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21466 install-info) \
21467 || exit 1
21468
21469 @endif itcl
21470
21471 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21472 maybe-install-pdf-itcl:
21473 @if itcl
21474 maybe-install-pdf-itcl: install-pdf-itcl
21475
21476 install-pdf-itcl: \
21477 configure-itcl \
21478 pdf-itcl
21479 @: $(MAKE); $(unstage)
21480 @[ -f ./itcl/Makefile ] || exit 0; \
21481 r=`${PWD_COMMAND}`; export r; \
21482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21483 $(HOST_EXPORTS) \
21484 for flag in $(EXTRA_HOST_FLAGS) ; do \
21485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21486 done; \
21487 echo "Doing install-pdf in itcl"; \
21488 (cd $(HOST_SUBDIR)/itcl && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491 "RANLIB=$${RANLIB}" \
21492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21493 install-pdf) \
21494 || exit 1
21495
21496 @endif itcl
21497
21498 .PHONY: maybe-install-html-itcl install-html-itcl
21499 maybe-install-html-itcl:
21500 @if itcl
21501 maybe-install-html-itcl: install-html-itcl
21502
21503 install-html-itcl: \
21504 configure-itcl \
21505 html-itcl
21506 @: $(MAKE); $(unstage)
21507 @[ -f ./itcl/Makefile ] || exit 0; \
21508 r=`${PWD_COMMAND}`; export r; \
21509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21510 $(HOST_EXPORTS) \
21511 for flag in $(EXTRA_HOST_FLAGS) ; do \
21512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21513 done; \
21514 echo "Doing install-html in itcl"; \
21515 (cd $(HOST_SUBDIR)/itcl && \
21516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21518 "RANLIB=$${RANLIB}" \
21519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21520 install-html) \
21521 || exit 1
21522
21523 @endif itcl
21524
21525 .PHONY: maybe-installcheck-itcl installcheck-itcl
21526 maybe-installcheck-itcl:
21527 @if itcl
21528 maybe-installcheck-itcl: installcheck-itcl
21529
21530 installcheck-itcl: \
21531 configure-itcl
21532 @: $(MAKE); $(unstage)
21533 @[ -f ./itcl/Makefile ] || exit 0; \
21534 r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 $(HOST_EXPORTS) \
21537 for flag in $(EXTRA_HOST_FLAGS) ; do \
21538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21539 done; \
21540 echo "Doing installcheck in itcl"; \
21541 (cd $(HOST_SUBDIR)/itcl && \
21542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544 "RANLIB=$${RANLIB}" \
21545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21546 installcheck) \
21547 || exit 1
21548
21549 @endif itcl
21550
21551 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21552 maybe-mostlyclean-itcl:
21553 @if itcl
21554 maybe-mostlyclean-itcl: mostlyclean-itcl
21555
21556 mostlyclean-itcl:
21557 @: $(MAKE); $(unstage)
21558 @[ -f ./itcl/Makefile ] || exit 0; \
21559 r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 $(HOST_EXPORTS) \
21562 for flag in $(EXTRA_HOST_FLAGS) ; do \
21563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21564 done; \
21565 echo "Doing mostlyclean in itcl"; \
21566 (cd $(HOST_SUBDIR)/itcl && \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569 "RANLIB=$${RANLIB}" \
21570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21571 mostlyclean) \
21572 || exit 1
21573
21574 @endif itcl
21575
21576 .PHONY: maybe-clean-itcl clean-itcl
21577 maybe-clean-itcl:
21578 @if itcl
21579 maybe-clean-itcl: clean-itcl
21580
21581 clean-itcl:
21582 @: $(MAKE); $(unstage)
21583 @[ -f ./itcl/Makefile ] || exit 0; \
21584 r=`${PWD_COMMAND}`; export r; \
21585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21586 $(HOST_EXPORTS) \
21587 for flag in $(EXTRA_HOST_FLAGS) ; do \
21588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21589 done; \
21590 echo "Doing clean in itcl"; \
21591 (cd $(HOST_SUBDIR)/itcl && \
21592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21594 "RANLIB=$${RANLIB}" \
21595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21596 clean) \
21597 || exit 1
21598
21599 @endif itcl
21600
21601 .PHONY: maybe-distclean-itcl distclean-itcl
21602 maybe-distclean-itcl:
21603 @if itcl
21604 maybe-distclean-itcl: distclean-itcl
21605
21606 distclean-itcl:
21607 @: $(MAKE); $(unstage)
21608 @[ -f ./itcl/Makefile ] || exit 0; \
21609 r=`${PWD_COMMAND}`; export r; \
21610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21611 $(HOST_EXPORTS) \
21612 for flag in $(EXTRA_HOST_FLAGS) ; do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614 done; \
21615 echo "Doing distclean in itcl"; \
21616 (cd $(HOST_SUBDIR)/itcl && \
21617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619 "RANLIB=$${RANLIB}" \
21620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21621 distclean) \
21622 || exit 1
21623
21624 @endif itcl
21625
21626 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21627 maybe-maintainer-clean-itcl:
21628 @if itcl
21629 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21630
21631 maintainer-clean-itcl:
21632 @: $(MAKE); $(unstage)
21633 @[ -f ./itcl/Makefile ] || exit 0; \
21634 r=`${PWD_COMMAND}`; export r; \
21635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21636 $(HOST_EXPORTS) \
21637 for flag in $(EXTRA_HOST_FLAGS) ; do \
21638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21639 done; \
21640 echo "Doing maintainer-clean in itcl"; \
21641 (cd $(HOST_SUBDIR)/itcl && \
21642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21644 "RANLIB=$${RANLIB}" \
21645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21646 maintainer-clean) \
21647 || exit 1
21648
21649 @endif itcl
21650
21651
21652
21653 .PHONY: configure-ld maybe-configure-ld
21654 maybe-configure-ld:
21655 @if gcc-bootstrap
21656 configure-ld: stage_current
21657 @endif gcc-bootstrap
21658 @if ld
21659 maybe-configure-ld: configure-ld
21660 configure-ld:
21661 @r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21665 $(HOST_EXPORTS) \
21666 echo Configuring in $(HOST_SUBDIR)/ld; \
21667 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21668 case $(srcdir) in \
21669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21670 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21672 esac; \
21673 module_srcdir=ld; \
21674 $(SHELL) \
21675 $$s/$$module_srcdir/configure \
21676 --srcdir=$${topdir}/$$module_srcdir \
21677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21678 --target=${target_alias} \
21679 || exit 1
21680 @endif ld
21681
21682
21683
21684 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21685 maybe-configure-stage1-ld:
21686 @if ld-bootstrap
21687 maybe-configure-stage1-ld: configure-stage1-ld
21688 configure-stage1-ld:
21689 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21691 @r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 TFLAGS="$(STAGE1_TFLAGS)"; \
21694 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21695 $(HOST_EXPORTS) \
21696 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21697 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21698 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21699 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21701 cd $(HOST_SUBDIR)/ld || exit 1; \
21702 case $(srcdir) in \
21703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21704 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21706 esac; \
21707 module_srcdir=ld; \
21708 $(SHELL) $$s/$$module_srcdir/configure \
21709 --srcdir=$${topdir}/$$module_srcdir \
21710 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21711 --target=${target_alias} \
21712 \
21713 $(STAGE1_CONFIGURE_FLAGS)
21714 @endif ld-bootstrap
21715
21716 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21717 maybe-configure-stage2-ld:
21718 @if ld-bootstrap
21719 maybe-configure-stage2-ld: configure-stage2-ld
21720 configure-stage2-ld:
21721 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21723 @r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 TFLAGS="$(STAGE2_TFLAGS)"; \
21726 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21727 $(HOST_EXPORTS) \
21728 $(POSTSTAGE1_HOST_EXPORTS) \
21729 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21730 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21731 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21732 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21734 cd $(HOST_SUBDIR)/ld || exit 1; \
21735 case $(srcdir) in \
21736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21737 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21739 esac; \
21740 module_srcdir=ld; \
21741 $(SHELL) $$s/$$module_srcdir/configure \
21742 --srcdir=$${topdir}/$$module_srcdir \
21743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21744 --target=${target_alias} \
21745 --with-build-libsubdir=$(HOST_SUBDIR) \
21746 $(STAGE2_CONFIGURE_FLAGS)
21747 @endif ld-bootstrap
21748
21749 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21750 maybe-configure-stage3-ld:
21751 @if ld-bootstrap
21752 maybe-configure-stage3-ld: configure-stage3-ld
21753 configure-stage3-ld:
21754 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21755 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21756 @r=`${PWD_COMMAND}`; export r; \
21757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21758 TFLAGS="$(STAGE3_TFLAGS)"; \
21759 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21760 $(HOST_EXPORTS) \
21761 $(POSTSTAGE1_HOST_EXPORTS) \
21762 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21763 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21764 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21765 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21767 cd $(HOST_SUBDIR)/ld || exit 1; \
21768 case $(srcdir) in \
21769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21770 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21772 esac; \
21773 module_srcdir=ld; \
21774 $(SHELL) $$s/$$module_srcdir/configure \
21775 --srcdir=$${topdir}/$$module_srcdir \
21776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21777 --target=${target_alias} \
21778 --with-build-libsubdir=$(HOST_SUBDIR) \
21779 $(STAGE3_CONFIGURE_FLAGS)
21780 @endif ld-bootstrap
21781
21782 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21783 maybe-configure-stage4-ld:
21784 @if ld-bootstrap
21785 maybe-configure-stage4-ld: configure-stage4-ld
21786 configure-stage4-ld:
21787 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21789 @r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 TFLAGS="$(STAGE4_TFLAGS)"; \
21792 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21793 $(HOST_EXPORTS) \
21794 $(POSTSTAGE1_HOST_EXPORTS) \
21795 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21796 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21797 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21798 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21800 cd $(HOST_SUBDIR)/ld || exit 1; \
21801 case $(srcdir) in \
21802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21803 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21805 esac; \
21806 module_srcdir=ld; \
21807 $(SHELL) $$s/$$module_srcdir/configure \
21808 --srcdir=$${topdir}/$$module_srcdir \
21809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21810 --target=${target_alias} \
21811 --with-build-libsubdir=$(HOST_SUBDIR) \
21812 $(STAGE4_CONFIGURE_FLAGS)
21813 @endif ld-bootstrap
21814
21815 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21816 maybe-configure-stageprofile-ld:
21817 @if ld-bootstrap
21818 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21819 configure-stageprofile-ld:
21820 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21822 @r=`${PWD_COMMAND}`; export r; \
21823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21824 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21825 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21826 $(HOST_EXPORTS) \
21827 $(POSTSTAGE1_HOST_EXPORTS) \
21828 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21829 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21830 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21831 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21833 cd $(HOST_SUBDIR)/ld || exit 1; \
21834 case $(srcdir) in \
21835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21836 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21838 esac; \
21839 module_srcdir=ld; \
21840 $(SHELL) $$s/$$module_srcdir/configure \
21841 --srcdir=$${topdir}/$$module_srcdir \
21842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21843 --target=${target_alias} \
21844 --with-build-libsubdir=$(HOST_SUBDIR) \
21845 $(STAGEprofile_CONFIGURE_FLAGS)
21846 @endif ld-bootstrap
21847
21848 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21849 maybe-configure-stagetrain-ld:
21850 @if ld-bootstrap
21851 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21852 configure-stagetrain-ld:
21853 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21855 @r=`${PWD_COMMAND}`; export r; \
21856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21857 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21858 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21859 $(HOST_EXPORTS) \
21860 $(POSTSTAGE1_HOST_EXPORTS) \
21861 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21862 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21863 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21864 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21866 cd $(HOST_SUBDIR)/ld || exit 1; \
21867 case $(srcdir) in \
21868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21869 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21871 esac; \
21872 module_srcdir=ld; \
21873 $(SHELL) $$s/$$module_srcdir/configure \
21874 --srcdir=$${topdir}/$$module_srcdir \
21875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21876 --target=${target_alias} \
21877 --with-build-libsubdir=$(HOST_SUBDIR) \
21878 $(STAGEtrain_CONFIGURE_FLAGS)
21879 @endif ld-bootstrap
21880
21881 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21882 maybe-configure-stagefeedback-ld:
21883 @if ld-bootstrap
21884 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21885 configure-stagefeedback-ld:
21886 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21888 @r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21891 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21892 $(HOST_EXPORTS) \
21893 $(POSTSTAGE1_HOST_EXPORTS) \
21894 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21895 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21896 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21897 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21899 cd $(HOST_SUBDIR)/ld || exit 1; \
21900 case $(srcdir) in \
21901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21902 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21904 esac; \
21905 module_srcdir=ld; \
21906 $(SHELL) $$s/$$module_srcdir/configure \
21907 --srcdir=$${topdir}/$$module_srcdir \
21908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21909 --target=${target_alias} \
21910 --with-build-libsubdir=$(HOST_SUBDIR) \
21911 $(STAGEfeedback_CONFIGURE_FLAGS)
21912 @endif ld-bootstrap
21913
21914 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21915 maybe-configure-stageautoprofile-ld:
21916 @if ld-bootstrap
21917 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21918 configure-stageautoprofile-ld:
21919 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21921 @r=`${PWD_COMMAND}`; export r; \
21922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21923 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21924 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21925 $(HOST_EXPORTS) \
21926 $(POSTSTAGE1_HOST_EXPORTS) \
21927 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21928 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21929 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21930 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21932 cd $(HOST_SUBDIR)/ld || exit 1; \
21933 case $(srcdir) in \
21934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21935 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21937 esac; \
21938 module_srcdir=ld; \
21939 $(SHELL) $$s/$$module_srcdir/configure \
21940 --srcdir=$${topdir}/$$module_srcdir \
21941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21942 --target=${target_alias} \
21943 --with-build-libsubdir=$(HOST_SUBDIR) \
21944 $(STAGEautoprofile_CONFIGURE_FLAGS)
21945 @endif ld-bootstrap
21946
21947 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21948 maybe-configure-stageautofeedback-ld:
21949 @if ld-bootstrap
21950 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21951 configure-stageautofeedback-ld:
21952 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21954 @r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21957 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21958 $(HOST_EXPORTS) \
21959 $(POSTSTAGE1_HOST_EXPORTS) \
21960 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21961 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21962 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21963 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21965 cd $(HOST_SUBDIR)/ld || exit 1; \
21966 case $(srcdir) in \
21967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21968 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21970 esac; \
21971 module_srcdir=ld; \
21972 $(SHELL) $$s/$$module_srcdir/configure \
21973 --srcdir=$${topdir}/$$module_srcdir \
21974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21975 --target=${target_alias} \
21976 --with-build-libsubdir=$(HOST_SUBDIR) \
21977 $(STAGEautofeedback_CONFIGURE_FLAGS)
21978 @endif ld-bootstrap
21979
21980
21981
21982
21983
21984 .PHONY: all-ld maybe-all-ld
21985 maybe-all-ld:
21986 @if gcc-bootstrap
21987 all-ld: stage_current
21988 @endif gcc-bootstrap
21989 @if ld
21990 TARGET-ld=all
21991 maybe-all-ld: all-ld
21992 all-ld: configure-ld
21993 @r=`${PWD_COMMAND}`; export r; \
21994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21995 $(HOST_EXPORTS) \
21996 (cd $(HOST_SUBDIR)/ld && \
21997 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21998 $(TARGET-ld))
21999 @endif ld
22000
22001
22002
22003 .PHONY: all-stage1-ld maybe-all-stage1-ld
22004 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22005 maybe-all-stage1-ld:
22006 maybe-clean-stage1-ld:
22007 @if ld-bootstrap
22008 maybe-all-stage1-ld: all-stage1-ld
22009 all-stage1: all-stage1-ld
22010 TARGET-stage1-ld = $(TARGET-ld)
22011 all-stage1-ld: configure-stage1-ld
22012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22013 @r=`${PWD_COMMAND}`; export r; \
22014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22015 TFLAGS="$(STAGE1_TFLAGS)"; \
22016 $(HOST_EXPORTS) \
22017 cd $(HOST_SUBDIR)/ld && \
22018 \
22019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22020 CFLAGS="$(STAGE1_CFLAGS)" \
22021 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22022 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22023 LIBCFLAGS="$(LIBCFLAGS)" \
22024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22027 $(EXTRA_HOST_FLAGS) \
22028 $(STAGE1_FLAGS_TO_PASS) \
22029 TFLAGS="$(STAGE1_TFLAGS)" \
22030 $(TARGET-stage1-ld)
22031
22032 maybe-clean-stage1-ld: clean-stage1-ld
22033 clean-stage1: clean-stage1-ld
22034 clean-stage1-ld:
22035 @if [ $(current_stage) = stage1 ]; then \
22036 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22037 else \
22038 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22039 $(MAKE) stage1-start; \
22040 fi; \
22041 cd $(HOST_SUBDIR)/ld && \
22042 $(MAKE) $(EXTRA_HOST_FLAGS) \
22043 $(STAGE1_FLAGS_TO_PASS) clean
22044 @endif ld-bootstrap
22045
22046
22047 .PHONY: all-stage2-ld maybe-all-stage2-ld
22048 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22049 maybe-all-stage2-ld:
22050 maybe-clean-stage2-ld:
22051 @if ld-bootstrap
22052 maybe-all-stage2-ld: all-stage2-ld
22053 all-stage2: all-stage2-ld
22054 TARGET-stage2-ld = $(TARGET-ld)
22055 all-stage2-ld: configure-stage2-ld
22056 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22057 @r=`${PWD_COMMAND}`; export r; \
22058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22059 TFLAGS="$(STAGE2_TFLAGS)"; \
22060 $(HOST_EXPORTS) \
22061 $(POSTSTAGE1_HOST_EXPORTS) \
22062 cd $(HOST_SUBDIR)/ld && \
22063 \
22064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22065 CFLAGS="$(STAGE2_CFLAGS)" \
22066 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22067 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22068 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22072 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22073 TFLAGS="$(STAGE2_TFLAGS)" \
22074 $(TARGET-stage2-ld)
22075
22076 maybe-clean-stage2-ld: clean-stage2-ld
22077 clean-stage2: clean-stage2-ld
22078 clean-stage2-ld:
22079 @if [ $(current_stage) = stage2 ]; then \
22080 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22081 else \
22082 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22083 $(MAKE) stage2-start; \
22084 fi; \
22085 cd $(HOST_SUBDIR)/ld && \
22086 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22087 @endif ld-bootstrap
22088
22089
22090 .PHONY: all-stage3-ld maybe-all-stage3-ld
22091 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22092 maybe-all-stage3-ld:
22093 maybe-clean-stage3-ld:
22094 @if ld-bootstrap
22095 maybe-all-stage3-ld: all-stage3-ld
22096 all-stage3: all-stage3-ld
22097 TARGET-stage3-ld = $(TARGET-ld)
22098 all-stage3-ld: configure-stage3-ld
22099 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22100 @r=`${PWD_COMMAND}`; export r; \
22101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22102 TFLAGS="$(STAGE3_TFLAGS)"; \
22103 $(HOST_EXPORTS) \
22104 $(POSTSTAGE1_HOST_EXPORTS) \
22105 cd $(HOST_SUBDIR)/ld && \
22106 \
22107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22108 CFLAGS="$(STAGE3_CFLAGS)" \
22109 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22110 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22111 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22116 TFLAGS="$(STAGE3_TFLAGS)" \
22117 $(TARGET-stage3-ld)
22118
22119 maybe-clean-stage3-ld: clean-stage3-ld
22120 clean-stage3: clean-stage3-ld
22121 clean-stage3-ld:
22122 @if [ $(current_stage) = stage3 ]; then \
22123 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22124 else \
22125 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22126 $(MAKE) stage3-start; \
22127 fi; \
22128 cd $(HOST_SUBDIR)/ld && \
22129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22130 @endif ld-bootstrap
22131
22132
22133 .PHONY: all-stage4-ld maybe-all-stage4-ld
22134 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22135 maybe-all-stage4-ld:
22136 maybe-clean-stage4-ld:
22137 @if ld-bootstrap
22138 maybe-all-stage4-ld: all-stage4-ld
22139 all-stage4: all-stage4-ld
22140 TARGET-stage4-ld = $(TARGET-ld)
22141 all-stage4-ld: configure-stage4-ld
22142 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22143 @r=`${PWD_COMMAND}`; export r; \
22144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22145 TFLAGS="$(STAGE4_TFLAGS)"; \
22146 $(HOST_EXPORTS) \
22147 $(POSTSTAGE1_HOST_EXPORTS) \
22148 cd $(HOST_SUBDIR)/ld && \
22149 \
22150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22151 CFLAGS="$(STAGE4_CFLAGS)" \
22152 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22153 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22154 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22159 TFLAGS="$(STAGE4_TFLAGS)" \
22160 $(TARGET-stage4-ld)
22161
22162 maybe-clean-stage4-ld: clean-stage4-ld
22163 clean-stage4: clean-stage4-ld
22164 clean-stage4-ld:
22165 @if [ $(current_stage) = stage4 ]; then \
22166 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22167 else \
22168 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22169 $(MAKE) stage4-start; \
22170 fi; \
22171 cd $(HOST_SUBDIR)/ld && \
22172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22173 @endif ld-bootstrap
22174
22175
22176 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22177 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22178 maybe-all-stageprofile-ld:
22179 maybe-clean-stageprofile-ld:
22180 @if ld-bootstrap
22181 maybe-all-stageprofile-ld: all-stageprofile-ld
22182 all-stageprofile: all-stageprofile-ld
22183 TARGET-stageprofile-ld = $(TARGET-ld)
22184 all-stageprofile-ld: configure-stageprofile-ld
22185 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22186 @r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22189 $(HOST_EXPORTS) \
22190 $(POSTSTAGE1_HOST_EXPORTS) \
22191 cd $(HOST_SUBDIR)/ld && \
22192 \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22194 CFLAGS="$(STAGEprofile_CFLAGS)" \
22195 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
22196 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22197 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22202 TFLAGS="$(STAGEprofile_TFLAGS)" \
22203 $(TARGET-stageprofile-ld)
22204
22205 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22206 clean-stageprofile: clean-stageprofile-ld
22207 clean-stageprofile-ld:
22208 @if [ $(current_stage) = stageprofile ]; then \
22209 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22210 else \
22211 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22212 $(MAKE) stageprofile-start; \
22213 fi; \
22214 cd $(HOST_SUBDIR)/ld && \
22215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22216 @endif ld-bootstrap
22217
22218
22219 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22220 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22221 maybe-all-stagetrain-ld:
22222 maybe-clean-stagetrain-ld:
22223 @if ld-bootstrap
22224 maybe-all-stagetrain-ld: all-stagetrain-ld
22225 all-stagetrain: all-stagetrain-ld
22226 TARGET-stagetrain-ld = $(TARGET-ld)
22227 all-stagetrain-ld: configure-stagetrain-ld
22228 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22229 @r=`${PWD_COMMAND}`; export r; \
22230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22231 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22232 $(HOST_EXPORTS) \
22233 $(POSTSTAGE1_HOST_EXPORTS) \
22234 cd $(HOST_SUBDIR)/ld && \
22235 \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22237 CFLAGS="$(STAGEtrain_CFLAGS)" \
22238 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
22239 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22240 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22245 TFLAGS="$(STAGEtrain_TFLAGS)" \
22246 $(TARGET-stagetrain-ld)
22247
22248 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22249 clean-stagetrain: clean-stagetrain-ld
22250 clean-stagetrain-ld:
22251 @if [ $(current_stage) = stagetrain ]; then \
22252 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22253 else \
22254 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22255 $(MAKE) stagetrain-start; \
22256 fi; \
22257 cd $(HOST_SUBDIR)/ld && \
22258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22259 @endif ld-bootstrap
22260
22261
22262 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22263 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22264 maybe-all-stagefeedback-ld:
22265 maybe-clean-stagefeedback-ld:
22266 @if ld-bootstrap
22267 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22268 all-stagefeedback: all-stagefeedback-ld
22269 TARGET-stagefeedback-ld = $(TARGET-ld)
22270 all-stagefeedback-ld: configure-stagefeedback-ld
22271 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22272 @r=`${PWD_COMMAND}`; export r; \
22273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22274 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22275 $(HOST_EXPORTS) \
22276 $(POSTSTAGE1_HOST_EXPORTS) \
22277 cd $(HOST_SUBDIR)/ld && \
22278 \
22279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22280 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22281 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
22282 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22283 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22287 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22288 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22289 $(TARGET-stagefeedback-ld)
22290
22291 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22292 clean-stagefeedback: clean-stagefeedback-ld
22293 clean-stagefeedback-ld:
22294 @if [ $(current_stage) = stagefeedback ]; then \
22295 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22296 else \
22297 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22298 $(MAKE) stagefeedback-start; \
22299 fi; \
22300 cd $(HOST_SUBDIR)/ld && \
22301 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22302 @endif ld-bootstrap
22303
22304
22305 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22306 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22307 maybe-all-stageautoprofile-ld:
22308 maybe-clean-stageautoprofile-ld:
22309 @if ld-bootstrap
22310 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22311 all-stageautoprofile: all-stageautoprofile-ld
22312 TARGET-stageautoprofile-ld = $(TARGET-ld)
22313 all-stageautoprofile-ld: configure-stageautoprofile-ld
22314 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22315 @r=`${PWD_COMMAND}`; export r; \
22316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22317 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22318 $(HOST_EXPORTS) \
22319 $(POSTSTAGE1_HOST_EXPORTS) \
22320 cd $(HOST_SUBDIR)/ld && \
22321 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22323 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22324 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
22325 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22326 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22331 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22332 $(TARGET-stageautoprofile-ld)
22333
22334 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22335 clean-stageautoprofile: clean-stageautoprofile-ld
22336 clean-stageautoprofile-ld:
22337 @if [ $(current_stage) = stageautoprofile ]; then \
22338 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22339 else \
22340 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22341 $(MAKE) stageautoprofile-start; \
22342 fi; \
22343 cd $(HOST_SUBDIR)/ld && \
22344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22345 @endif ld-bootstrap
22346
22347
22348 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22349 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22350 maybe-all-stageautofeedback-ld:
22351 maybe-clean-stageautofeedback-ld:
22352 @if ld-bootstrap
22353 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22354 all-stageautofeedback: all-stageautofeedback-ld
22355 TARGET-stageautofeedback-ld = $(TARGET-ld)
22356 all-stageautofeedback-ld: configure-stageautofeedback-ld
22357 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22358 @r=`${PWD_COMMAND}`; export r; \
22359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22360 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22361 $(HOST_EXPORTS) \
22362 $(POSTSTAGE1_HOST_EXPORTS) \
22363 cd $(HOST_SUBDIR)/ld && \
22364 \
22365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22366 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22367 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
22368 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22369 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22374 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22375 $(TARGET-stageautofeedback-ld)
22376
22377 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22378 clean-stageautofeedback: clean-stageautofeedback-ld
22379 clean-stageautofeedback-ld:
22380 @if [ $(current_stage) = stageautofeedback ]; then \
22381 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22382 else \
22383 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22384 $(MAKE) stageautofeedback-start; \
22385 fi; \
22386 cd $(HOST_SUBDIR)/ld && \
22387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22388 @endif ld-bootstrap
22389
22390
22391
22392
22393
22394 .PHONY: check-ld maybe-check-ld
22395 maybe-check-ld:
22396 @if ld
22397 maybe-check-ld: check-ld
22398
22399 check-ld:
22400 @: $(MAKE); $(unstage)
22401 @r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22404 (cd $(HOST_SUBDIR)/ld && \
22405 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22406
22407 @endif ld
22408
22409 .PHONY: install-ld maybe-install-ld
22410 maybe-install-ld:
22411 @if ld
22412 maybe-install-ld: install-ld
22413
22414 install-ld: installdirs
22415 @: $(MAKE); $(unstage)
22416 @r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 (cd $(HOST_SUBDIR)/ld && \
22420 $(MAKE) $(FLAGS_TO_PASS) install)
22421
22422 @endif ld
22423
22424 .PHONY: install-strip-ld maybe-install-strip-ld
22425 maybe-install-strip-ld:
22426 @if ld
22427 maybe-install-strip-ld: install-strip-ld
22428
22429 install-strip-ld: installdirs
22430 @: $(MAKE); $(unstage)
22431 @r=`${PWD_COMMAND}`; export r; \
22432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22433 $(HOST_EXPORTS) \
22434 (cd $(HOST_SUBDIR)/ld && \
22435 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22436
22437 @endif ld
22438
22439 # Other targets (info, dvi, pdf, etc.)
22440
22441 .PHONY: maybe-info-ld info-ld
22442 maybe-info-ld:
22443 @if ld
22444 maybe-info-ld: info-ld
22445
22446 info-ld: \
22447 configure-ld
22448 @[ -f ./ld/Makefile ] || exit 0; \
22449 r=`${PWD_COMMAND}`; export r; \
22450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22451 $(HOST_EXPORTS) \
22452 for flag in $(EXTRA_HOST_FLAGS) ; do \
22453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22454 done; \
22455 echo "Doing info in ld"; \
22456 (cd $(HOST_SUBDIR)/ld && \
22457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22459 "RANLIB=$${RANLIB}" \
22460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22461 info) \
22462 || exit 1
22463
22464 @endif ld
22465
22466 .PHONY: maybe-dvi-ld dvi-ld
22467 maybe-dvi-ld:
22468 @if ld
22469 maybe-dvi-ld: dvi-ld
22470
22471 dvi-ld: \
22472 configure-ld
22473 @[ -f ./ld/Makefile ] || exit 0; \
22474 r=`${PWD_COMMAND}`; export r; \
22475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22476 $(HOST_EXPORTS) \
22477 for flag in $(EXTRA_HOST_FLAGS) ; do \
22478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22479 done; \
22480 echo "Doing dvi in ld"; \
22481 (cd $(HOST_SUBDIR)/ld && \
22482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22484 "RANLIB=$${RANLIB}" \
22485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22486 dvi) \
22487 || exit 1
22488
22489 @endif ld
22490
22491 .PHONY: maybe-pdf-ld pdf-ld
22492 maybe-pdf-ld:
22493 @if ld
22494 maybe-pdf-ld: pdf-ld
22495
22496 pdf-ld: \
22497 configure-ld
22498 @[ -f ./ld/Makefile ] || exit 0; \
22499 r=`${PWD_COMMAND}`; export r; \
22500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 $(HOST_EXPORTS) \
22502 for flag in $(EXTRA_HOST_FLAGS) ; do \
22503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22504 done; \
22505 echo "Doing pdf in ld"; \
22506 (cd $(HOST_SUBDIR)/ld && \
22507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22509 "RANLIB=$${RANLIB}" \
22510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22511 pdf) \
22512 || exit 1
22513
22514 @endif ld
22515
22516 .PHONY: maybe-html-ld html-ld
22517 maybe-html-ld:
22518 @if ld
22519 maybe-html-ld: html-ld
22520
22521 html-ld: \
22522 configure-ld
22523 @[ -f ./ld/Makefile ] || exit 0; \
22524 r=`${PWD_COMMAND}`; export r; \
22525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22526 $(HOST_EXPORTS) \
22527 for flag in $(EXTRA_HOST_FLAGS) ; do \
22528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22529 done; \
22530 echo "Doing html in ld"; \
22531 (cd $(HOST_SUBDIR)/ld && \
22532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22534 "RANLIB=$${RANLIB}" \
22535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22536 html) \
22537 || exit 1
22538
22539 @endif ld
22540
22541 .PHONY: maybe-TAGS-ld TAGS-ld
22542 maybe-TAGS-ld:
22543 @if ld
22544 maybe-TAGS-ld: TAGS-ld
22545
22546 TAGS-ld: \
22547 configure-ld
22548 @[ -f ./ld/Makefile ] || exit 0; \
22549 r=`${PWD_COMMAND}`; export r; \
22550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22551 $(HOST_EXPORTS) \
22552 for flag in $(EXTRA_HOST_FLAGS) ; do \
22553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22554 done; \
22555 echo "Doing TAGS in ld"; \
22556 (cd $(HOST_SUBDIR)/ld && \
22557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22559 "RANLIB=$${RANLIB}" \
22560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22561 TAGS) \
22562 || exit 1
22563
22564 @endif ld
22565
22566 .PHONY: maybe-install-info-ld install-info-ld
22567 maybe-install-info-ld:
22568 @if ld
22569 maybe-install-info-ld: install-info-ld
22570
22571 install-info-ld: \
22572 configure-ld \
22573 info-ld
22574 @[ -f ./ld/Makefile ] || exit 0; \
22575 r=`${PWD_COMMAND}`; export r; \
22576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22577 $(HOST_EXPORTS) \
22578 for flag in $(EXTRA_HOST_FLAGS) ; do \
22579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22580 done; \
22581 echo "Doing install-info in ld"; \
22582 (cd $(HOST_SUBDIR)/ld && \
22583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22585 "RANLIB=$${RANLIB}" \
22586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22587 install-info) \
22588 || exit 1
22589
22590 @endif ld
22591
22592 .PHONY: maybe-install-pdf-ld install-pdf-ld
22593 maybe-install-pdf-ld:
22594 @if ld
22595 maybe-install-pdf-ld: install-pdf-ld
22596
22597 install-pdf-ld: \
22598 configure-ld \
22599 pdf-ld
22600 @[ -f ./ld/Makefile ] || exit 0; \
22601 r=`${PWD_COMMAND}`; export r; \
22602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22603 $(HOST_EXPORTS) \
22604 for flag in $(EXTRA_HOST_FLAGS) ; do \
22605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22606 done; \
22607 echo "Doing install-pdf in ld"; \
22608 (cd $(HOST_SUBDIR)/ld && \
22609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22611 "RANLIB=$${RANLIB}" \
22612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22613 install-pdf) \
22614 || exit 1
22615
22616 @endif ld
22617
22618 .PHONY: maybe-install-html-ld install-html-ld
22619 maybe-install-html-ld:
22620 @if ld
22621 maybe-install-html-ld: install-html-ld
22622
22623 install-html-ld: \
22624 configure-ld \
22625 html-ld
22626 @[ -f ./ld/Makefile ] || exit 0; \
22627 r=`${PWD_COMMAND}`; export r; \
22628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22629 $(HOST_EXPORTS) \
22630 for flag in $(EXTRA_HOST_FLAGS) ; do \
22631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22632 done; \
22633 echo "Doing install-html in ld"; \
22634 (cd $(HOST_SUBDIR)/ld && \
22635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22637 "RANLIB=$${RANLIB}" \
22638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22639 install-html) \
22640 || exit 1
22641
22642 @endif ld
22643
22644 .PHONY: maybe-installcheck-ld installcheck-ld
22645 maybe-installcheck-ld:
22646 @if ld
22647 maybe-installcheck-ld: installcheck-ld
22648
22649 installcheck-ld: \
22650 configure-ld
22651 @[ -f ./ld/Makefile ] || exit 0; \
22652 r=`${PWD_COMMAND}`; export r; \
22653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22654 $(HOST_EXPORTS) \
22655 for flag in $(EXTRA_HOST_FLAGS) ; do \
22656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22657 done; \
22658 echo "Doing installcheck in ld"; \
22659 (cd $(HOST_SUBDIR)/ld && \
22660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22662 "RANLIB=$${RANLIB}" \
22663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22664 installcheck) \
22665 || exit 1
22666
22667 @endif ld
22668
22669 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22670 maybe-mostlyclean-ld:
22671 @if ld
22672 maybe-mostlyclean-ld: mostlyclean-ld
22673
22674 mostlyclean-ld:
22675 @[ -f ./ld/Makefile ] || exit 0; \
22676 r=`${PWD_COMMAND}`; export r; \
22677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22678 $(HOST_EXPORTS) \
22679 for flag in $(EXTRA_HOST_FLAGS) ; do \
22680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22681 done; \
22682 echo "Doing mostlyclean in ld"; \
22683 (cd $(HOST_SUBDIR)/ld && \
22684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22686 "RANLIB=$${RANLIB}" \
22687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22688 mostlyclean) \
22689 || exit 1
22690
22691 @endif ld
22692
22693 .PHONY: maybe-clean-ld clean-ld
22694 maybe-clean-ld:
22695 @if ld
22696 maybe-clean-ld: clean-ld
22697
22698 clean-ld:
22699 @[ -f ./ld/Makefile ] || exit 0; \
22700 r=`${PWD_COMMAND}`; export r; \
22701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22702 $(HOST_EXPORTS) \
22703 for flag in $(EXTRA_HOST_FLAGS) ; do \
22704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22705 done; \
22706 echo "Doing clean in ld"; \
22707 (cd $(HOST_SUBDIR)/ld && \
22708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22710 "RANLIB=$${RANLIB}" \
22711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22712 clean) \
22713 || exit 1
22714
22715 @endif ld
22716
22717 .PHONY: maybe-distclean-ld distclean-ld
22718 maybe-distclean-ld:
22719 @if ld
22720 maybe-distclean-ld: distclean-ld
22721
22722 distclean-ld:
22723 @[ -f ./ld/Makefile ] || exit 0; \
22724 r=`${PWD_COMMAND}`; export r; \
22725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22726 $(HOST_EXPORTS) \
22727 for flag in $(EXTRA_HOST_FLAGS) ; do \
22728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22729 done; \
22730 echo "Doing distclean in ld"; \
22731 (cd $(HOST_SUBDIR)/ld && \
22732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22734 "RANLIB=$${RANLIB}" \
22735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22736 distclean) \
22737 || exit 1
22738
22739 @endif ld
22740
22741 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22742 maybe-maintainer-clean-ld:
22743 @if ld
22744 maybe-maintainer-clean-ld: maintainer-clean-ld
22745
22746 maintainer-clean-ld:
22747 @[ -f ./ld/Makefile ] || exit 0; \
22748 r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22750 $(HOST_EXPORTS) \
22751 for flag in $(EXTRA_HOST_FLAGS) ; do \
22752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22753 done; \
22754 echo "Doing maintainer-clean in ld"; \
22755 (cd $(HOST_SUBDIR)/ld && \
22756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22758 "RANLIB=$${RANLIB}" \
22759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22760 maintainer-clean) \
22761 || exit 1
22762
22763 @endif ld
22764
22765
22766
22767 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22768 maybe-configure-libbacktrace:
22769 @if gcc-bootstrap
22770 configure-libbacktrace: stage_current
22771 @endif gcc-bootstrap
22772 @if libbacktrace
22773 maybe-configure-libbacktrace: configure-libbacktrace
22774 configure-libbacktrace:
22775 @r=`${PWD_COMMAND}`; export r; \
22776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22777 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22779 $(HOST_EXPORTS) \
22780 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22781 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22782 case $(srcdir) in \
22783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22784 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22786 esac; \
22787 module_srcdir=libbacktrace; \
22788 $(SHELL) \
22789 $$s/$$module_srcdir/configure \
22790 --srcdir=$${topdir}/$$module_srcdir \
22791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22792 --target=${target_alias} \
22793 || exit 1
22794 @endif libbacktrace
22795
22796
22797
22798 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22799 maybe-configure-stage1-libbacktrace:
22800 @if libbacktrace-bootstrap
22801 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22802 configure-stage1-libbacktrace:
22803 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22805 @r=`${PWD_COMMAND}`; export r; \
22806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22807 TFLAGS="$(STAGE1_TFLAGS)"; \
22808 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22809 $(HOST_EXPORTS) \
22810 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22811 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22812 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22813 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22815 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22816 case $(srcdir) in \
22817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22818 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22820 esac; \
22821 module_srcdir=libbacktrace; \
22822 $(SHELL) $$s/$$module_srcdir/configure \
22823 --srcdir=$${topdir}/$$module_srcdir \
22824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22825 --target=${target_alias} \
22826 \
22827 $(STAGE1_CONFIGURE_FLAGS)
22828 @endif libbacktrace-bootstrap
22829
22830 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22831 maybe-configure-stage2-libbacktrace:
22832 @if libbacktrace-bootstrap
22833 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22834 configure-stage2-libbacktrace:
22835 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22837 @r=`${PWD_COMMAND}`; export r; \
22838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22839 TFLAGS="$(STAGE2_TFLAGS)"; \
22840 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22841 $(HOST_EXPORTS) \
22842 $(POSTSTAGE1_HOST_EXPORTS) \
22843 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22844 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22845 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22846 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22848 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22849 case $(srcdir) in \
22850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22851 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22853 esac; \
22854 module_srcdir=libbacktrace; \
22855 $(SHELL) $$s/$$module_srcdir/configure \
22856 --srcdir=$${topdir}/$$module_srcdir \
22857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22858 --target=${target_alias} \
22859 --with-build-libsubdir=$(HOST_SUBDIR) \
22860 $(STAGE2_CONFIGURE_FLAGS)
22861 @endif libbacktrace-bootstrap
22862
22863 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22864 maybe-configure-stage3-libbacktrace:
22865 @if libbacktrace-bootstrap
22866 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22867 configure-stage3-libbacktrace:
22868 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22870 @r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22872 TFLAGS="$(STAGE3_TFLAGS)"; \
22873 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22874 $(HOST_EXPORTS) \
22875 $(POSTSTAGE1_HOST_EXPORTS) \
22876 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22877 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22878 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22879 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22881 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22882 case $(srcdir) in \
22883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22884 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22886 esac; \
22887 module_srcdir=libbacktrace; \
22888 $(SHELL) $$s/$$module_srcdir/configure \
22889 --srcdir=$${topdir}/$$module_srcdir \
22890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22891 --target=${target_alias} \
22892 --with-build-libsubdir=$(HOST_SUBDIR) \
22893 $(STAGE3_CONFIGURE_FLAGS)
22894 @endif libbacktrace-bootstrap
22895
22896 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22897 maybe-configure-stage4-libbacktrace:
22898 @if libbacktrace-bootstrap
22899 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22900 configure-stage4-libbacktrace:
22901 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22903 @r=`${PWD_COMMAND}`; export r; \
22904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22905 TFLAGS="$(STAGE4_TFLAGS)"; \
22906 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22907 $(HOST_EXPORTS) \
22908 $(POSTSTAGE1_HOST_EXPORTS) \
22909 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22910 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22911 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22912 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22914 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22915 case $(srcdir) in \
22916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22917 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22919 esac; \
22920 module_srcdir=libbacktrace; \
22921 $(SHELL) $$s/$$module_srcdir/configure \
22922 --srcdir=$${topdir}/$$module_srcdir \
22923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22924 --target=${target_alias} \
22925 --with-build-libsubdir=$(HOST_SUBDIR) \
22926 $(STAGE4_CONFIGURE_FLAGS)
22927 @endif libbacktrace-bootstrap
22928
22929 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22930 maybe-configure-stageprofile-libbacktrace:
22931 @if libbacktrace-bootstrap
22932 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22933 configure-stageprofile-libbacktrace:
22934 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22936 @r=`${PWD_COMMAND}`; export r; \
22937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22938 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22939 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22940 $(HOST_EXPORTS) \
22941 $(POSTSTAGE1_HOST_EXPORTS) \
22942 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22943 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22944 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22945 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22947 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22948 case $(srcdir) in \
22949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22950 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22952 esac; \
22953 module_srcdir=libbacktrace; \
22954 $(SHELL) $$s/$$module_srcdir/configure \
22955 --srcdir=$${topdir}/$$module_srcdir \
22956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22957 --target=${target_alias} \
22958 --with-build-libsubdir=$(HOST_SUBDIR) \
22959 $(STAGEprofile_CONFIGURE_FLAGS)
22960 @endif libbacktrace-bootstrap
22961
22962 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22963 maybe-configure-stagetrain-libbacktrace:
22964 @if libbacktrace-bootstrap
22965 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22966 configure-stagetrain-libbacktrace:
22967 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22969 @r=`${PWD_COMMAND}`; export r; \
22970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22971 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22972 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22973 $(HOST_EXPORTS) \
22974 $(POSTSTAGE1_HOST_EXPORTS) \
22975 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22976 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22977 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22978 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22980 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22981 case $(srcdir) in \
22982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22983 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22985 esac; \
22986 module_srcdir=libbacktrace; \
22987 $(SHELL) $$s/$$module_srcdir/configure \
22988 --srcdir=$${topdir}/$$module_srcdir \
22989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22990 --target=${target_alias} \
22991 --with-build-libsubdir=$(HOST_SUBDIR) \
22992 $(STAGEtrain_CONFIGURE_FLAGS)
22993 @endif libbacktrace-bootstrap
22994
22995 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22996 maybe-configure-stagefeedback-libbacktrace:
22997 @if libbacktrace-bootstrap
22998 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22999 configure-stagefeedback-libbacktrace:
23000 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23002 @r=`${PWD_COMMAND}`; export r; \
23003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23004 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23005 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23006 $(HOST_EXPORTS) \
23007 $(POSTSTAGE1_HOST_EXPORTS) \
23008 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23009 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23010 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23011 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23013 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23014 case $(srcdir) in \
23015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23016 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23018 esac; \
23019 module_srcdir=libbacktrace; \
23020 $(SHELL) $$s/$$module_srcdir/configure \
23021 --srcdir=$${topdir}/$$module_srcdir \
23022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23023 --target=${target_alias} \
23024 --with-build-libsubdir=$(HOST_SUBDIR) \
23025 $(STAGEfeedback_CONFIGURE_FLAGS)
23026 @endif libbacktrace-bootstrap
23027
23028 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23029 maybe-configure-stageautoprofile-libbacktrace:
23030 @if libbacktrace-bootstrap
23031 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23032 configure-stageautoprofile-libbacktrace:
23033 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23035 @r=`${PWD_COMMAND}`; export r; \
23036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23037 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23038 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23039 $(HOST_EXPORTS) \
23040 $(POSTSTAGE1_HOST_EXPORTS) \
23041 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23042 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23043 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23044 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23046 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23047 case $(srcdir) in \
23048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23049 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23051 esac; \
23052 module_srcdir=libbacktrace; \
23053 $(SHELL) $$s/$$module_srcdir/configure \
23054 --srcdir=$${topdir}/$$module_srcdir \
23055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23056 --target=${target_alias} \
23057 --with-build-libsubdir=$(HOST_SUBDIR) \
23058 $(STAGEautoprofile_CONFIGURE_FLAGS)
23059 @endif libbacktrace-bootstrap
23060
23061 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23062 maybe-configure-stageautofeedback-libbacktrace:
23063 @if libbacktrace-bootstrap
23064 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23065 configure-stageautofeedback-libbacktrace:
23066 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23068 @r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23071 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23072 $(HOST_EXPORTS) \
23073 $(POSTSTAGE1_HOST_EXPORTS) \
23074 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23075 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23076 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23077 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23079 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23080 case $(srcdir) in \
23081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23082 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23084 esac; \
23085 module_srcdir=libbacktrace; \
23086 $(SHELL) $$s/$$module_srcdir/configure \
23087 --srcdir=$${topdir}/$$module_srcdir \
23088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23089 --target=${target_alias} \
23090 --with-build-libsubdir=$(HOST_SUBDIR) \
23091 $(STAGEautofeedback_CONFIGURE_FLAGS)
23092 @endif libbacktrace-bootstrap
23093
23094
23095
23096
23097
23098 .PHONY: all-libbacktrace maybe-all-libbacktrace
23099 maybe-all-libbacktrace:
23100 @if gcc-bootstrap
23101 all-libbacktrace: stage_current
23102 @endif gcc-bootstrap
23103 @if libbacktrace
23104 TARGET-libbacktrace=all
23105 maybe-all-libbacktrace: all-libbacktrace
23106 all-libbacktrace: configure-libbacktrace
23107 @r=`${PWD_COMMAND}`; export r; \
23108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23109 $(HOST_EXPORTS) \
23110 (cd $(HOST_SUBDIR)/libbacktrace && \
23111 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23112 $(TARGET-libbacktrace))
23113 @endif libbacktrace
23114
23115
23116
23117 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23118 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23119 maybe-all-stage1-libbacktrace:
23120 maybe-clean-stage1-libbacktrace:
23121 @if libbacktrace-bootstrap
23122 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23123 all-stage1: all-stage1-libbacktrace
23124 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23125 all-stage1-libbacktrace: configure-stage1-libbacktrace
23126 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23127 @r=`${PWD_COMMAND}`; export r; \
23128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23129 TFLAGS="$(STAGE1_TFLAGS)"; \
23130 $(HOST_EXPORTS) \
23131 cd $(HOST_SUBDIR)/libbacktrace && \
23132 \
23133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23134 CFLAGS="$(STAGE1_CFLAGS)" \
23135 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23136 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23137 LIBCFLAGS="$(LIBCFLAGS)" \
23138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23141 $(EXTRA_HOST_FLAGS) \
23142 $(STAGE1_FLAGS_TO_PASS) \
23143 TFLAGS="$(STAGE1_TFLAGS)" \
23144 $(TARGET-stage1-libbacktrace)
23145
23146 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
23147 clean-stage1: clean-stage1-libbacktrace
23148 clean-stage1-libbacktrace:
23149 @if [ $(current_stage) = stage1 ]; then \
23150 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23151 else \
23152 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
23153 $(MAKE) stage1-start; \
23154 fi; \
23155 cd $(HOST_SUBDIR)/libbacktrace && \
23156 $(MAKE) $(EXTRA_HOST_FLAGS) \
23157 $(STAGE1_FLAGS_TO_PASS) clean
23158 @endif libbacktrace-bootstrap
23159
23160
23161 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23162 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23163 maybe-all-stage2-libbacktrace:
23164 maybe-clean-stage2-libbacktrace:
23165 @if libbacktrace-bootstrap
23166 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23167 all-stage2: all-stage2-libbacktrace
23168 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23169 all-stage2-libbacktrace: configure-stage2-libbacktrace
23170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23171 @r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 TFLAGS="$(STAGE2_TFLAGS)"; \
23174 $(HOST_EXPORTS) \
23175 $(POSTSTAGE1_HOST_EXPORTS) \
23176 cd $(HOST_SUBDIR)/libbacktrace && \
23177 \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23179 CFLAGS="$(STAGE2_CFLAGS)" \
23180 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23181 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23182 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23187 TFLAGS="$(STAGE2_TFLAGS)" \
23188 $(TARGET-stage2-libbacktrace)
23189
23190 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23191 clean-stage2: clean-stage2-libbacktrace
23192 clean-stage2-libbacktrace:
23193 @if [ $(current_stage) = stage2 ]; then \
23194 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23195 else \
23196 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23197 $(MAKE) stage2-start; \
23198 fi; \
23199 cd $(HOST_SUBDIR)/libbacktrace && \
23200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23201 @endif libbacktrace-bootstrap
23202
23203
23204 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23205 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23206 maybe-all-stage3-libbacktrace:
23207 maybe-clean-stage3-libbacktrace:
23208 @if libbacktrace-bootstrap
23209 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23210 all-stage3: all-stage3-libbacktrace
23211 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23212 all-stage3-libbacktrace: configure-stage3-libbacktrace
23213 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23214 @r=`${PWD_COMMAND}`; export r; \
23215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 TFLAGS="$(STAGE3_TFLAGS)"; \
23217 $(HOST_EXPORTS) \
23218 $(POSTSTAGE1_HOST_EXPORTS) \
23219 cd $(HOST_SUBDIR)/libbacktrace && \
23220 \
23221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23222 CFLAGS="$(STAGE3_CFLAGS)" \
23223 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23224 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23225 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23230 TFLAGS="$(STAGE3_TFLAGS)" \
23231 $(TARGET-stage3-libbacktrace)
23232
23233 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23234 clean-stage3: clean-stage3-libbacktrace
23235 clean-stage3-libbacktrace:
23236 @if [ $(current_stage) = stage3 ]; then \
23237 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23238 else \
23239 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23240 $(MAKE) stage3-start; \
23241 fi; \
23242 cd $(HOST_SUBDIR)/libbacktrace && \
23243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23244 @endif libbacktrace-bootstrap
23245
23246
23247 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23248 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23249 maybe-all-stage4-libbacktrace:
23250 maybe-clean-stage4-libbacktrace:
23251 @if libbacktrace-bootstrap
23252 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23253 all-stage4: all-stage4-libbacktrace
23254 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23255 all-stage4-libbacktrace: configure-stage4-libbacktrace
23256 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23257 @r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 TFLAGS="$(STAGE4_TFLAGS)"; \
23260 $(HOST_EXPORTS) \
23261 $(POSTSTAGE1_HOST_EXPORTS) \
23262 cd $(HOST_SUBDIR)/libbacktrace && \
23263 \
23264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23265 CFLAGS="$(STAGE4_CFLAGS)" \
23266 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23267 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23268 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23272 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23273 TFLAGS="$(STAGE4_TFLAGS)" \
23274 $(TARGET-stage4-libbacktrace)
23275
23276 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23277 clean-stage4: clean-stage4-libbacktrace
23278 clean-stage4-libbacktrace:
23279 @if [ $(current_stage) = stage4 ]; then \
23280 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23281 else \
23282 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23283 $(MAKE) stage4-start; \
23284 fi; \
23285 cd $(HOST_SUBDIR)/libbacktrace && \
23286 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23287 @endif libbacktrace-bootstrap
23288
23289
23290 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23291 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23292 maybe-all-stageprofile-libbacktrace:
23293 maybe-clean-stageprofile-libbacktrace:
23294 @if libbacktrace-bootstrap
23295 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23296 all-stageprofile: all-stageprofile-libbacktrace
23297 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23298 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23299 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23300 @r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23303 $(HOST_EXPORTS) \
23304 $(POSTSTAGE1_HOST_EXPORTS) \
23305 cd $(HOST_SUBDIR)/libbacktrace && \
23306 \
23307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23308 CFLAGS="$(STAGEprofile_CFLAGS)" \
23309 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23310 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23311 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23316 TFLAGS="$(STAGEprofile_TFLAGS)" \
23317 $(TARGET-stageprofile-libbacktrace)
23318
23319 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23320 clean-stageprofile: clean-stageprofile-libbacktrace
23321 clean-stageprofile-libbacktrace:
23322 @if [ $(current_stage) = stageprofile ]; then \
23323 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23324 else \
23325 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23326 $(MAKE) stageprofile-start; \
23327 fi; \
23328 cd $(HOST_SUBDIR)/libbacktrace && \
23329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23330 @endif libbacktrace-bootstrap
23331
23332
23333 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23334 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23335 maybe-all-stagetrain-libbacktrace:
23336 maybe-clean-stagetrain-libbacktrace:
23337 @if libbacktrace-bootstrap
23338 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23339 all-stagetrain: all-stagetrain-libbacktrace
23340 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23341 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23342 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23343 @r=`${PWD_COMMAND}`; export r; \
23344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23345 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23346 $(HOST_EXPORTS) \
23347 $(POSTSTAGE1_HOST_EXPORTS) \
23348 cd $(HOST_SUBDIR)/libbacktrace && \
23349 \
23350 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23351 CFLAGS="$(STAGEtrain_CFLAGS)" \
23352 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23353 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23354 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23359 TFLAGS="$(STAGEtrain_TFLAGS)" \
23360 $(TARGET-stagetrain-libbacktrace)
23361
23362 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23363 clean-stagetrain: clean-stagetrain-libbacktrace
23364 clean-stagetrain-libbacktrace:
23365 @if [ $(current_stage) = stagetrain ]; then \
23366 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23367 else \
23368 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23369 $(MAKE) stagetrain-start; \
23370 fi; \
23371 cd $(HOST_SUBDIR)/libbacktrace && \
23372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23373 @endif libbacktrace-bootstrap
23374
23375
23376 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23377 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23378 maybe-all-stagefeedback-libbacktrace:
23379 maybe-clean-stagefeedback-libbacktrace:
23380 @if libbacktrace-bootstrap
23381 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23382 all-stagefeedback: all-stagefeedback-libbacktrace
23383 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23384 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23385 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23386 @r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23389 $(HOST_EXPORTS) \
23390 $(POSTSTAGE1_HOST_EXPORTS) \
23391 cd $(HOST_SUBDIR)/libbacktrace && \
23392 \
23393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23394 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23395 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23396 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23397 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23402 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23403 $(TARGET-stagefeedback-libbacktrace)
23404
23405 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23406 clean-stagefeedback: clean-stagefeedback-libbacktrace
23407 clean-stagefeedback-libbacktrace:
23408 @if [ $(current_stage) = stagefeedback ]; then \
23409 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23410 else \
23411 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23412 $(MAKE) stagefeedback-start; \
23413 fi; \
23414 cd $(HOST_SUBDIR)/libbacktrace && \
23415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23416 @endif libbacktrace-bootstrap
23417
23418
23419 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23420 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23421 maybe-all-stageautoprofile-libbacktrace:
23422 maybe-clean-stageautoprofile-libbacktrace:
23423 @if libbacktrace-bootstrap
23424 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23425 all-stageautoprofile: all-stageautoprofile-libbacktrace
23426 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23427 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23428 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23429 @r=`${PWD_COMMAND}`; export r; \
23430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23431 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23432 $(HOST_EXPORTS) \
23433 $(POSTSTAGE1_HOST_EXPORTS) \
23434 cd $(HOST_SUBDIR)/libbacktrace && \
23435 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23437 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23438 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23439 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23440 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23444 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23445 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23446 $(TARGET-stageautoprofile-libbacktrace)
23447
23448 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23449 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23450 clean-stageautoprofile-libbacktrace:
23451 @if [ $(current_stage) = stageautoprofile ]; then \
23452 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23453 else \
23454 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23455 $(MAKE) stageautoprofile-start; \
23456 fi; \
23457 cd $(HOST_SUBDIR)/libbacktrace && \
23458 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23459 @endif libbacktrace-bootstrap
23460
23461
23462 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23463 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23464 maybe-all-stageautofeedback-libbacktrace:
23465 maybe-clean-stageautofeedback-libbacktrace:
23466 @if libbacktrace-bootstrap
23467 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23468 all-stageautofeedback: all-stageautofeedback-libbacktrace
23469 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23470 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23471 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23472 @r=`${PWD_COMMAND}`; export r; \
23473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23474 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23475 $(HOST_EXPORTS) \
23476 $(POSTSTAGE1_HOST_EXPORTS) \
23477 cd $(HOST_SUBDIR)/libbacktrace && \
23478 \
23479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23480 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23481 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23482 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23483 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23488 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23489 $(TARGET-stageautofeedback-libbacktrace)
23490
23491 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23492 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23493 clean-stageautofeedback-libbacktrace:
23494 @if [ $(current_stage) = stageautofeedback ]; then \
23495 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23496 else \
23497 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23498 $(MAKE) stageautofeedback-start; \
23499 fi; \
23500 cd $(HOST_SUBDIR)/libbacktrace && \
23501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23502 @endif libbacktrace-bootstrap
23503
23504
23505
23506
23507
23508 .PHONY: check-libbacktrace maybe-check-libbacktrace
23509 maybe-check-libbacktrace:
23510 @if libbacktrace
23511 maybe-check-libbacktrace: check-libbacktrace
23512
23513 check-libbacktrace:
23514 @: $(MAKE); $(unstage)
23515 @r=`${PWD_COMMAND}`; export r; \
23516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23517 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23518 (cd $(HOST_SUBDIR)/libbacktrace && \
23519 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23520
23521 @endif libbacktrace
23522
23523 .PHONY: install-libbacktrace maybe-install-libbacktrace
23524 maybe-install-libbacktrace:
23525 @if libbacktrace
23526 maybe-install-libbacktrace: install-libbacktrace
23527
23528 install-libbacktrace: installdirs
23529 @: $(MAKE); $(unstage)
23530 @r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23532 $(HOST_EXPORTS) \
23533 (cd $(HOST_SUBDIR)/libbacktrace && \
23534 $(MAKE) $(FLAGS_TO_PASS) install)
23535
23536 @endif libbacktrace
23537
23538 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23539 maybe-install-strip-libbacktrace:
23540 @if libbacktrace
23541 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23542
23543 install-strip-libbacktrace: installdirs
23544 @: $(MAKE); $(unstage)
23545 @r=`${PWD_COMMAND}`; export r; \
23546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23547 $(HOST_EXPORTS) \
23548 (cd $(HOST_SUBDIR)/libbacktrace && \
23549 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23550
23551 @endif libbacktrace
23552
23553 # Other targets (info, dvi, pdf, etc.)
23554
23555 .PHONY: maybe-info-libbacktrace info-libbacktrace
23556 maybe-info-libbacktrace:
23557 @if libbacktrace
23558 maybe-info-libbacktrace: info-libbacktrace
23559
23560 info-libbacktrace: \
23561 configure-libbacktrace
23562 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23563 r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(HOST_EXPORTS) \
23566 for flag in $(EXTRA_HOST_FLAGS) ; do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 echo "Doing info in libbacktrace"; \
23570 (cd $(HOST_SUBDIR)/libbacktrace && \
23571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573 "RANLIB=$${RANLIB}" \
23574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23575 info) \
23576 || exit 1
23577
23578 @endif libbacktrace
23579
23580 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23581 maybe-dvi-libbacktrace:
23582 @if libbacktrace
23583 maybe-dvi-libbacktrace: dvi-libbacktrace
23584
23585 dvi-libbacktrace: \
23586 configure-libbacktrace
23587 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing dvi in libbacktrace"; \
23595 (cd $(HOST_SUBDIR)/libbacktrace && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23600 dvi) \
23601 || exit 1
23602
23603 @endif libbacktrace
23604
23605 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23606 maybe-pdf-libbacktrace:
23607 @if libbacktrace
23608 maybe-pdf-libbacktrace: pdf-libbacktrace
23609
23610 pdf-libbacktrace: \
23611 configure-libbacktrace
23612 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23613 r=`${PWD_COMMAND}`; export r; \
23614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23615 $(HOST_EXPORTS) \
23616 for flag in $(EXTRA_HOST_FLAGS) ; do \
23617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23618 done; \
23619 echo "Doing pdf in libbacktrace"; \
23620 (cd $(HOST_SUBDIR)/libbacktrace && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23623 "RANLIB=$${RANLIB}" \
23624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23625 pdf) \
23626 || exit 1
23627
23628 @endif libbacktrace
23629
23630 .PHONY: maybe-html-libbacktrace html-libbacktrace
23631 maybe-html-libbacktrace:
23632 @if libbacktrace
23633 maybe-html-libbacktrace: html-libbacktrace
23634
23635 html-libbacktrace: \
23636 configure-libbacktrace
23637 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23638 r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(HOST_EXPORTS) \
23641 for flag in $(EXTRA_HOST_FLAGS) ; do \
23642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23643 done; \
23644 echo "Doing html in libbacktrace"; \
23645 (cd $(HOST_SUBDIR)/libbacktrace && \
23646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23648 "RANLIB=$${RANLIB}" \
23649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23650 html) \
23651 || exit 1
23652
23653 @endif libbacktrace
23654
23655 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23656 maybe-TAGS-libbacktrace:
23657 @if libbacktrace
23658 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23659
23660 TAGS-libbacktrace: \
23661 configure-libbacktrace
23662 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23663 r=`${PWD_COMMAND}`; export r; \
23664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23665 $(HOST_EXPORTS) \
23666 for flag in $(EXTRA_HOST_FLAGS) ; do \
23667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23668 done; \
23669 echo "Doing TAGS in libbacktrace"; \
23670 (cd $(HOST_SUBDIR)/libbacktrace && \
23671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23673 "RANLIB=$${RANLIB}" \
23674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23675 TAGS) \
23676 || exit 1
23677
23678 @endif libbacktrace
23679
23680 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23681 maybe-install-info-libbacktrace:
23682 @if libbacktrace
23683 maybe-install-info-libbacktrace: install-info-libbacktrace
23684
23685 install-info-libbacktrace: \
23686 configure-libbacktrace \
23687 info-libbacktrace
23688 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23689 r=`${PWD_COMMAND}`; export r; \
23690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23691 $(HOST_EXPORTS) \
23692 for flag in $(EXTRA_HOST_FLAGS) ; do \
23693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23694 done; \
23695 echo "Doing install-info in libbacktrace"; \
23696 (cd $(HOST_SUBDIR)/libbacktrace && \
23697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23699 "RANLIB=$${RANLIB}" \
23700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23701 install-info) \
23702 || exit 1
23703
23704 @endif libbacktrace
23705
23706 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23707 maybe-install-pdf-libbacktrace:
23708 @if libbacktrace
23709 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23710
23711 install-pdf-libbacktrace: \
23712 configure-libbacktrace \
23713 pdf-libbacktrace
23714 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23715 r=`${PWD_COMMAND}`; export r; \
23716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23717 $(HOST_EXPORTS) \
23718 for flag in $(EXTRA_HOST_FLAGS) ; do \
23719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23720 done; \
23721 echo "Doing install-pdf in libbacktrace"; \
23722 (cd $(HOST_SUBDIR)/libbacktrace && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23727 install-pdf) \
23728 || exit 1
23729
23730 @endif libbacktrace
23731
23732 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23733 maybe-install-html-libbacktrace:
23734 @if libbacktrace
23735 maybe-install-html-libbacktrace: install-html-libbacktrace
23736
23737 install-html-libbacktrace: \
23738 configure-libbacktrace \
23739 html-libbacktrace
23740 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(HOST_EXPORTS) \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23746 done; \
23747 echo "Doing install-html in libbacktrace"; \
23748 (cd $(HOST_SUBDIR)/libbacktrace && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23753 install-html) \
23754 || exit 1
23755
23756 @endif libbacktrace
23757
23758 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23759 maybe-installcheck-libbacktrace:
23760 @if libbacktrace
23761 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23762
23763 installcheck-libbacktrace: \
23764 configure-libbacktrace
23765 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23766 r=`${PWD_COMMAND}`; export r; \
23767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23768 $(HOST_EXPORTS) \
23769 for flag in $(EXTRA_HOST_FLAGS) ; do \
23770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23771 done; \
23772 echo "Doing installcheck in libbacktrace"; \
23773 (cd $(HOST_SUBDIR)/libbacktrace && \
23774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23776 "RANLIB=$${RANLIB}" \
23777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23778 installcheck) \
23779 || exit 1
23780
23781 @endif libbacktrace
23782
23783 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23784 maybe-mostlyclean-libbacktrace:
23785 @if libbacktrace
23786 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23787
23788 mostlyclean-libbacktrace:
23789 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23790 r=`${PWD_COMMAND}`; export r; \
23791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23792 $(HOST_EXPORTS) \
23793 for flag in $(EXTRA_HOST_FLAGS) ; do \
23794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23795 done; \
23796 echo "Doing mostlyclean in libbacktrace"; \
23797 (cd $(HOST_SUBDIR)/libbacktrace && \
23798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23800 "RANLIB=$${RANLIB}" \
23801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23802 mostlyclean) \
23803 || exit 1
23804
23805 @endif libbacktrace
23806
23807 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23808 maybe-clean-libbacktrace:
23809 @if libbacktrace
23810 maybe-clean-libbacktrace: clean-libbacktrace
23811
23812 clean-libbacktrace:
23813 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23814 r=`${PWD_COMMAND}`; export r; \
23815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 $(HOST_EXPORTS) \
23817 for flag in $(EXTRA_HOST_FLAGS) ; do \
23818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23819 done; \
23820 echo "Doing clean in libbacktrace"; \
23821 (cd $(HOST_SUBDIR)/libbacktrace && \
23822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23824 "RANLIB=$${RANLIB}" \
23825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23826 clean) \
23827 || exit 1
23828
23829 @endif libbacktrace
23830
23831 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23832 maybe-distclean-libbacktrace:
23833 @if libbacktrace
23834 maybe-distclean-libbacktrace: distclean-libbacktrace
23835
23836 distclean-libbacktrace:
23837 @[ -f ./libbacktrace/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 distclean in libbacktrace"; \
23845 (cd $(HOST_SUBDIR)/libbacktrace && \
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 distclean) \
23851 || exit 1
23852
23853 @endif libbacktrace
23854
23855 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23856 maybe-maintainer-clean-libbacktrace:
23857 @if libbacktrace
23858 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23859
23860 maintainer-clean-libbacktrace:
23861 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23862 r=`${PWD_COMMAND}`; export r; \
23863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 $(HOST_EXPORTS) \
23865 for flag in $(EXTRA_HOST_FLAGS) ; do \
23866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23867 done; \
23868 echo "Doing maintainer-clean in libbacktrace"; \
23869 (cd $(HOST_SUBDIR)/libbacktrace && \
23870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23872 "RANLIB=$${RANLIB}" \
23873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23874 maintainer-clean) \
23875 || exit 1
23876
23877 @endif libbacktrace
23878
23879
23880
23881 .PHONY: configure-libcpp maybe-configure-libcpp
23882 maybe-configure-libcpp:
23883 @if gcc-bootstrap
23884 configure-libcpp: stage_current
23885 @endif gcc-bootstrap
23886 @if libcpp
23887 maybe-configure-libcpp: configure-libcpp
23888 configure-libcpp:
23889 @r=`${PWD_COMMAND}`; export r; \
23890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23891 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23893 $(HOST_EXPORTS) \
23894 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23895 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23896 case $(srcdir) in \
23897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23898 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23900 esac; \
23901 module_srcdir=libcpp; \
23902 $(SHELL) \
23903 $$s/$$module_srcdir/configure \
23904 --srcdir=$${topdir}/$$module_srcdir \
23905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23906 --target=${target_alias} \
23907 || exit 1
23908 @endif libcpp
23909
23910
23911
23912 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23913 maybe-configure-stage1-libcpp:
23914 @if libcpp-bootstrap
23915 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23916 configure-stage1-libcpp:
23917 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23919 @r=`${PWD_COMMAND}`; export r; \
23920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23921 TFLAGS="$(STAGE1_TFLAGS)"; \
23922 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23923 $(HOST_EXPORTS) \
23924 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23925 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23926 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23927 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23929 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23930 case $(srcdir) in \
23931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23932 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23934 esac; \
23935 module_srcdir=libcpp; \
23936 $(SHELL) $$s/$$module_srcdir/configure \
23937 --srcdir=$${topdir}/$$module_srcdir \
23938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23939 --target=${target_alias} \
23940 \
23941 $(STAGE1_CONFIGURE_FLAGS)
23942 @endif libcpp-bootstrap
23943
23944 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23945 maybe-configure-stage2-libcpp:
23946 @if libcpp-bootstrap
23947 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23948 configure-stage2-libcpp:
23949 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23951 @r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 TFLAGS="$(STAGE2_TFLAGS)"; \
23954 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23955 $(HOST_EXPORTS) \
23956 $(POSTSTAGE1_HOST_EXPORTS) \
23957 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23958 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23959 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23960 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23962 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23963 case $(srcdir) in \
23964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23965 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23967 esac; \
23968 module_srcdir=libcpp; \
23969 $(SHELL) $$s/$$module_srcdir/configure \
23970 --srcdir=$${topdir}/$$module_srcdir \
23971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23972 --target=${target_alias} \
23973 --with-build-libsubdir=$(HOST_SUBDIR) \
23974 $(STAGE2_CONFIGURE_FLAGS)
23975 @endif libcpp-bootstrap
23976
23977 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23978 maybe-configure-stage3-libcpp:
23979 @if libcpp-bootstrap
23980 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23981 configure-stage3-libcpp:
23982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23984 @r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 TFLAGS="$(STAGE3_TFLAGS)"; \
23987 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23988 $(HOST_EXPORTS) \
23989 $(POSTSTAGE1_HOST_EXPORTS) \
23990 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23991 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23992 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23993 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23995 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23996 case $(srcdir) in \
23997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23998 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24000 esac; \
24001 module_srcdir=libcpp; \
24002 $(SHELL) $$s/$$module_srcdir/configure \
24003 --srcdir=$${topdir}/$$module_srcdir \
24004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24005 --target=${target_alias} \
24006 --with-build-libsubdir=$(HOST_SUBDIR) \
24007 $(STAGE3_CONFIGURE_FLAGS)
24008 @endif libcpp-bootstrap
24009
24010 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24011 maybe-configure-stage4-libcpp:
24012 @if libcpp-bootstrap
24013 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24014 configure-stage4-libcpp:
24015 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24017 @r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 TFLAGS="$(STAGE4_TFLAGS)"; \
24020 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24021 $(HOST_EXPORTS) \
24022 $(POSTSTAGE1_HOST_EXPORTS) \
24023 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24024 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24025 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24026 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24028 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24029 case $(srcdir) in \
24030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24031 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24033 esac; \
24034 module_srcdir=libcpp; \
24035 $(SHELL) $$s/$$module_srcdir/configure \
24036 --srcdir=$${topdir}/$$module_srcdir \
24037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24038 --target=${target_alias} \
24039 --with-build-libsubdir=$(HOST_SUBDIR) \
24040 $(STAGE4_CONFIGURE_FLAGS)
24041 @endif libcpp-bootstrap
24042
24043 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24044 maybe-configure-stageprofile-libcpp:
24045 @if libcpp-bootstrap
24046 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24047 configure-stageprofile-libcpp:
24048 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24050 @r=`${PWD_COMMAND}`; export r; \
24051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24052 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24053 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24054 $(HOST_EXPORTS) \
24055 $(POSTSTAGE1_HOST_EXPORTS) \
24056 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24057 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24058 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24059 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24061 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24062 case $(srcdir) in \
24063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24064 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24066 esac; \
24067 module_srcdir=libcpp; \
24068 $(SHELL) $$s/$$module_srcdir/configure \
24069 --srcdir=$${topdir}/$$module_srcdir \
24070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24071 --target=${target_alias} \
24072 --with-build-libsubdir=$(HOST_SUBDIR) \
24073 $(STAGEprofile_CONFIGURE_FLAGS)
24074 @endif libcpp-bootstrap
24075
24076 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24077 maybe-configure-stagetrain-libcpp:
24078 @if libcpp-bootstrap
24079 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24080 configure-stagetrain-libcpp:
24081 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24083 @r=`${PWD_COMMAND}`; export r; \
24084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24085 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24086 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24087 $(HOST_EXPORTS) \
24088 $(POSTSTAGE1_HOST_EXPORTS) \
24089 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24090 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24091 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24092 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24094 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24095 case $(srcdir) in \
24096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24097 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24099 esac; \
24100 module_srcdir=libcpp; \
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 $(STAGEtrain_CONFIGURE_FLAGS)
24107 @endif libcpp-bootstrap
24108
24109 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24110 maybe-configure-stagefeedback-libcpp:
24111 @if libcpp-bootstrap
24112 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24113 configure-stagefeedback-libcpp:
24114 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24116 @r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24119 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24120 $(HOST_EXPORTS) \
24121 $(POSTSTAGE1_HOST_EXPORTS) \
24122 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24123 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24124 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24125 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
24126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24127 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24128 case $(srcdir) in \
24129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24130 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24132 esac; \
24133 module_srcdir=libcpp; \
24134 $(SHELL) $$s/$$module_srcdir/configure \
24135 --srcdir=$${topdir}/$$module_srcdir \
24136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24137 --target=${target_alias} \
24138 --with-build-libsubdir=$(HOST_SUBDIR) \
24139 $(STAGEfeedback_CONFIGURE_FLAGS)
24140 @endif libcpp-bootstrap
24141
24142 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
24143 maybe-configure-stageautoprofile-libcpp:
24144 @if libcpp-bootstrap
24145 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24146 configure-stageautoprofile-libcpp:
24147 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24149 @r=`${PWD_COMMAND}`; export r; \
24150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24151 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24152 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24153 $(HOST_EXPORTS) \
24154 $(POSTSTAGE1_HOST_EXPORTS) \
24155 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24156 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24157 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24158 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
24159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24160 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24161 case $(srcdir) in \
24162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24163 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24165 esac; \
24166 module_srcdir=libcpp; \
24167 $(SHELL) $$s/$$module_srcdir/configure \
24168 --srcdir=$${topdir}/$$module_srcdir \
24169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24170 --target=${target_alias} \
24171 --with-build-libsubdir=$(HOST_SUBDIR) \
24172 $(STAGEautoprofile_CONFIGURE_FLAGS)
24173 @endif libcpp-bootstrap
24174
24175 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24176 maybe-configure-stageautofeedback-libcpp:
24177 @if libcpp-bootstrap
24178 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24179 configure-stageautofeedback-libcpp:
24180 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24182 @r=`${PWD_COMMAND}`; export r; \
24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24185 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24186 $(HOST_EXPORTS) \
24187 $(POSTSTAGE1_HOST_EXPORTS) \
24188 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24189 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24190 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24191 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24193 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24194 case $(srcdir) in \
24195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24196 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24198 esac; \
24199 module_srcdir=libcpp; \
24200 $(SHELL) $$s/$$module_srcdir/configure \
24201 --srcdir=$${topdir}/$$module_srcdir \
24202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24203 --target=${target_alias} \
24204 --with-build-libsubdir=$(HOST_SUBDIR) \
24205 $(STAGEautofeedback_CONFIGURE_FLAGS)
24206 @endif libcpp-bootstrap
24207
24208
24209
24210
24211
24212 .PHONY: all-libcpp maybe-all-libcpp
24213 maybe-all-libcpp:
24214 @if gcc-bootstrap
24215 all-libcpp: stage_current
24216 @endif gcc-bootstrap
24217 @if libcpp
24218 TARGET-libcpp=all
24219 maybe-all-libcpp: all-libcpp
24220 all-libcpp: configure-libcpp
24221 @r=`${PWD_COMMAND}`; export r; \
24222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 $(HOST_EXPORTS) \
24224 (cd $(HOST_SUBDIR)/libcpp && \
24225 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24226 $(TARGET-libcpp))
24227 @endif libcpp
24228
24229
24230
24231 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24232 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24233 maybe-all-stage1-libcpp:
24234 maybe-clean-stage1-libcpp:
24235 @if libcpp-bootstrap
24236 maybe-all-stage1-libcpp: all-stage1-libcpp
24237 all-stage1: all-stage1-libcpp
24238 TARGET-stage1-libcpp = $(TARGET-libcpp)
24239 all-stage1-libcpp: configure-stage1-libcpp
24240 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24241 @r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 TFLAGS="$(STAGE1_TFLAGS)"; \
24244 $(HOST_EXPORTS) \
24245 cd $(HOST_SUBDIR)/libcpp && \
24246 \
24247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24248 CFLAGS="$(STAGE1_CFLAGS)" \
24249 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24250 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24251 LIBCFLAGS="$(LIBCFLAGS)" \
24252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24255 $(EXTRA_HOST_FLAGS) \
24256 $(STAGE1_FLAGS_TO_PASS) \
24257 TFLAGS="$(STAGE1_TFLAGS)" \
24258 $(TARGET-stage1-libcpp)
24259
24260 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24261 clean-stage1: clean-stage1-libcpp
24262 clean-stage1-libcpp:
24263 @if [ $(current_stage) = stage1 ]; then \
24264 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24265 else \
24266 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24267 $(MAKE) stage1-start; \
24268 fi; \
24269 cd $(HOST_SUBDIR)/libcpp && \
24270 $(MAKE) $(EXTRA_HOST_FLAGS) \
24271 $(STAGE1_FLAGS_TO_PASS) clean
24272 @endif libcpp-bootstrap
24273
24274
24275 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24276 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24277 maybe-all-stage2-libcpp:
24278 maybe-clean-stage2-libcpp:
24279 @if libcpp-bootstrap
24280 maybe-all-stage2-libcpp: all-stage2-libcpp
24281 all-stage2: all-stage2-libcpp
24282 TARGET-stage2-libcpp = $(TARGET-libcpp)
24283 all-stage2-libcpp: configure-stage2-libcpp
24284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24285 @r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 TFLAGS="$(STAGE2_TFLAGS)"; \
24288 $(HOST_EXPORTS) \
24289 $(POSTSTAGE1_HOST_EXPORTS) \
24290 cd $(HOST_SUBDIR)/libcpp && \
24291 \
24292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24293 CFLAGS="$(STAGE2_CFLAGS)" \
24294 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_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) \
24301 TFLAGS="$(STAGE2_TFLAGS)" \
24302 $(TARGET-stage2-libcpp)
24303
24304 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24305 clean-stage2: clean-stage2-libcpp
24306 clean-stage2-libcpp:
24307 @if [ $(current_stage) = stage2 ]; then \
24308 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24309 else \
24310 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24311 $(MAKE) stage2-start; \
24312 fi; \
24313 cd $(HOST_SUBDIR)/libcpp && \
24314 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24315 @endif libcpp-bootstrap
24316
24317
24318 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24319 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24320 maybe-all-stage3-libcpp:
24321 maybe-clean-stage3-libcpp:
24322 @if libcpp-bootstrap
24323 maybe-all-stage3-libcpp: all-stage3-libcpp
24324 all-stage3: all-stage3-libcpp
24325 TARGET-stage3-libcpp = $(TARGET-libcpp)
24326 all-stage3-libcpp: configure-stage3-libcpp
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)/libcpp && \
24334 \
24335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24336 CFLAGS="$(STAGE3_CFLAGS)" \
24337 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24338 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24339 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24344 TFLAGS="$(STAGE3_TFLAGS)" \
24345 $(TARGET-stage3-libcpp)
24346
24347 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24348 clean-stage3: clean-stage3-libcpp
24349 clean-stage3-libcpp:
24350 @if [ $(current_stage) = stage3 ]; then \
24351 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24352 else \
24353 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24354 $(MAKE) stage3-start; \
24355 fi; \
24356 cd $(HOST_SUBDIR)/libcpp && \
24357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24358 @endif libcpp-bootstrap
24359
24360
24361 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24362 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24363 maybe-all-stage4-libcpp:
24364 maybe-clean-stage4-libcpp:
24365 @if libcpp-bootstrap
24366 maybe-all-stage4-libcpp: all-stage4-libcpp
24367 all-stage4: all-stage4-libcpp
24368 TARGET-stage4-libcpp = $(TARGET-libcpp)
24369 all-stage4-libcpp: configure-stage4-libcpp
24370 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24371 @r=`${PWD_COMMAND}`; export r; \
24372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 TFLAGS="$(STAGE4_TFLAGS)"; \
24374 $(HOST_EXPORTS) \
24375 $(POSTSTAGE1_HOST_EXPORTS) \
24376 cd $(HOST_SUBDIR)/libcpp && \
24377 \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24379 CFLAGS="$(STAGE4_CFLAGS)" \
24380 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24381 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24382 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24387 TFLAGS="$(STAGE4_TFLAGS)" \
24388 $(TARGET-stage4-libcpp)
24389
24390 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24391 clean-stage4: clean-stage4-libcpp
24392 clean-stage4-libcpp:
24393 @if [ $(current_stage) = stage4 ]; then \
24394 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24395 else \
24396 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24397 $(MAKE) stage4-start; \
24398 fi; \
24399 cd $(HOST_SUBDIR)/libcpp && \
24400 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24401 @endif libcpp-bootstrap
24402
24403
24404 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24405 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24406 maybe-all-stageprofile-libcpp:
24407 maybe-clean-stageprofile-libcpp:
24408 @if libcpp-bootstrap
24409 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24410 all-stageprofile: all-stageprofile-libcpp
24411 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24412 all-stageprofile-libcpp: configure-stageprofile-libcpp
24413 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24414 @r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24417 $(HOST_EXPORTS) \
24418 $(POSTSTAGE1_HOST_EXPORTS) \
24419 cd $(HOST_SUBDIR)/libcpp && \
24420 \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24422 CFLAGS="$(STAGEprofile_CFLAGS)" \
24423 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24424 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24425 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24426 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24427 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24428 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24429 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24430 TFLAGS="$(STAGEprofile_TFLAGS)" \
24431 $(TARGET-stageprofile-libcpp)
24432
24433 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24434 clean-stageprofile: clean-stageprofile-libcpp
24435 clean-stageprofile-libcpp:
24436 @if [ $(current_stage) = stageprofile ]; then \
24437 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24438 else \
24439 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24440 $(MAKE) stageprofile-start; \
24441 fi; \
24442 cd $(HOST_SUBDIR)/libcpp && \
24443 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24444 @endif libcpp-bootstrap
24445
24446
24447 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24448 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24449 maybe-all-stagetrain-libcpp:
24450 maybe-clean-stagetrain-libcpp:
24451 @if libcpp-bootstrap
24452 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24453 all-stagetrain: all-stagetrain-libcpp
24454 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24455 all-stagetrain-libcpp: configure-stagetrain-libcpp
24456 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24457 @r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24460 $(HOST_EXPORTS) \
24461 $(POSTSTAGE1_HOST_EXPORTS) \
24462 cd $(HOST_SUBDIR)/libcpp && \
24463 \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24465 CFLAGS="$(STAGEtrain_CFLAGS)" \
24466 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24467 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24468 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24473 TFLAGS="$(STAGEtrain_TFLAGS)" \
24474 $(TARGET-stagetrain-libcpp)
24475
24476 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24477 clean-stagetrain: clean-stagetrain-libcpp
24478 clean-stagetrain-libcpp:
24479 @if [ $(current_stage) = stagetrain ]; then \
24480 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24481 else \
24482 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24483 $(MAKE) stagetrain-start; \
24484 fi; \
24485 cd $(HOST_SUBDIR)/libcpp && \
24486 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24487 @endif libcpp-bootstrap
24488
24489
24490 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24491 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24492 maybe-all-stagefeedback-libcpp:
24493 maybe-clean-stagefeedback-libcpp:
24494 @if libcpp-bootstrap
24495 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24496 all-stagefeedback: all-stagefeedback-libcpp
24497 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24498 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24499 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24500 @r=`${PWD_COMMAND}`; export r; \
24501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24502 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24503 $(HOST_EXPORTS) \
24504 $(POSTSTAGE1_HOST_EXPORTS) \
24505 cd $(HOST_SUBDIR)/libcpp && \
24506 \
24507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24508 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24509 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24510 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24511 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24516 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24517 $(TARGET-stagefeedback-libcpp)
24518
24519 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24520 clean-stagefeedback: clean-stagefeedback-libcpp
24521 clean-stagefeedback-libcpp:
24522 @if [ $(current_stage) = stagefeedback ]; then \
24523 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24524 else \
24525 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24526 $(MAKE) stagefeedback-start; \
24527 fi; \
24528 cd $(HOST_SUBDIR)/libcpp && \
24529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24530 @endif libcpp-bootstrap
24531
24532
24533 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24534 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24535 maybe-all-stageautoprofile-libcpp:
24536 maybe-clean-stageautoprofile-libcpp:
24537 @if libcpp-bootstrap
24538 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24539 all-stageautoprofile: all-stageautoprofile-libcpp
24540 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24541 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24542 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24543 @r=`${PWD_COMMAND}`; export r; \
24544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24546 $(HOST_EXPORTS) \
24547 $(POSTSTAGE1_HOST_EXPORTS) \
24548 cd $(HOST_SUBDIR)/libcpp && \
24549 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24551 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24552 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24553 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24554 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24559 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24560 $(TARGET-stageautoprofile-libcpp)
24561
24562 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24563 clean-stageautoprofile: clean-stageautoprofile-libcpp
24564 clean-stageautoprofile-libcpp:
24565 @if [ $(current_stage) = stageautoprofile ]; then \
24566 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24567 else \
24568 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24569 $(MAKE) stageautoprofile-start; \
24570 fi; \
24571 cd $(HOST_SUBDIR)/libcpp && \
24572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24573 @endif libcpp-bootstrap
24574
24575
24576 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24577 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24578 maybe-all-stageautofeedback-libcpp:
24579 maybe-clean-stageautofeedback-libcpp:
24580 @if libcpp-bootstrap
24581 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24582 all-stageautofeedback: all-stageautofeedback-libcpp
24583 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24584 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24585 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24586 @r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24589 $(HOST_EXPORTS) \
24590 $(POSTSTAGE1_HOST_EXPORTS) \
24591 cd $(HOST_SUBDIR)/libcpp && \
24592 \
24593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24594 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24595 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24596 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24597 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24602 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24603 $(TARGET-stageautofeedback-libcpp)
24604
24605 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24606 clean-stageautofeedback: clean-stageautofeedback-libcpp
24607 clean-stageautofeedback-libcpp:
24608 @if [ $(current_stage) = stageautofeedback ]; then \
24609 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24610 else \
24611 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24612 $(MAKE) stageautofeedback-start; \
24613 fi; \
24614 cd $(HOST_SUBDIR)/libcpp && \
24615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24616 @endif libcpp-bootstrap
24617
24618
24619
24620
24621
24622 .PHONY: check-libcpp maybe-check-libcpp
24623 maybe-check-libcpp:
24624 @if libcpp
24625 maybe-check-libcpp: check-libcpp
24626
24627 check-libcpp:
24628 @: $(MAKE); $(unstage)
24629 @r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24632 (cd $(HOST_SUBDIR)/libcpp && \
24633 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24634
24635 @endif libcpp
24636
24637 .PHONY: install-libcpp maybe-install-libcpp
24638 maybe-install-libcpp:
24639 @if libcpp
24640 maybe-install-libcpp: install-libcpp
24641
24642 install-libcpp: installdirs
24643 @: $(MAKE); $(unstage)
24644 @r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(HOST_EXPORTS) \
24647 (cd $(HOST_SUBDIR)/libcpp && \
24648 $(MAKE) $(FLAGS_TO_PASS) install)
24649
24650 @endif libcpp
24651
24652 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24653 maybe-install-strip-libcpp:
24654 @if libcpp
24655 maybe-install-strip-libcpp: install-strip-libcpp
24656
24657 install-strip-libcpp: installdirs
24658 @: $(MAKE); $(unstage)
24659 @r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(HOST_EXPORTS) \
24662 (cd $(HOST_SUBDIR)/libcpp && \
24663 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24664
24665 @endif libcpp
24666
24667 # Other targets (info, dvi, pdf, etc.)
24668
24669 .PHONY: maybe-info-libcpp info-libcpp
24670 maybe-info-libcpp:
24671 @if libcpp
24672 maybe-info-libcpp: info-libcpp
24673
24674 info-libcpp: \
24675 configure-libcpp
24676 @[ -f ./libcpp/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing info in libcpp"; \
24684 (cd $(HOST_SUBDIR)/libcpp && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 info) \
24690 || exit 1
24691
24692 @endif libcpp
24693
24694 .PHONY: maybe-dvi-libcpp dvi-libcpp
24695 maybe-dvi-libcpp:
24696 @if libcpp
24697 maybe-dvi-libcpp: dvi-libcpp
24698
24699 dvi-libcpp: \
24700 configure-libcpp
24701 @[ -f ./libcpp/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing dvi in libcpp"; \
24709 (cd $(HOST_SUBDIR)/libcpp && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24714 dvi) \
24715 || exit 1
24716
24717 @endif libcpp
24718
24719 .PHONY: maybe-pdf-libcpp pdf-libcpp
24720 maybe-pdf-libcpp:
24721 @if libcpp
24722 maybe-pdf-libcpp: pdf-libcpp
24723
24724 pdf-libcpp: \
24725 configure-libcpp
24726 @[ -f ./libcpp/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24732 done; \
24733 echo "Doing pdf in libcpp"; \
24734 (cd $(HOST_SUBDIR)/libcpp && \
24735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24737 "RANLIB=$${RANLIB}" \
24738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24739 pdf) \
24740 || exit 1
24741
24742 @endif libcpp
24743
24744 .PHONY: maybe-html-libcpp html-libcpp
24745 maybe-html-libcpp:
24746 @if libcpp
24747 maybe-html-libcpp: html-libcpp
24748
24749 html-libcpp: \
24750 configure-libcpp
24751 @[ -f ./libcpp/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing html in libcpp"; \
24759 (cd $(HOST_SUBDIR)/libcpp && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24764 html) \
24765 || exit 1
24766
24767 @endif libcpp
24768
24769 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24770 maybe-TAGS-libcpp:
24771 @if libcpp
24772 maybe-TAGS-libcpp: TAGS-libcpp
24773
24774 TAGS-libcpp: \
24775 configure-libcpp
24776 @[ -f ./libcpp/Makefile ] || exit 0; \
24777 r=`${PWD_COMMAND}`; export r; \
24778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24779 $(HOST_EXPORTS) \
24780 for flag in $(EXTRA_HOST_FLAGS) ; do \
24781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24782 done; \
24783 echo "Doing TAGS in libcpp"; \
24784 (cd $(HOST_SUBDIR)/libcpp && \
24785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24787 "RANLIB=$${RANLIB}" \
24788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24789 TAGS) \
24790 || exit 1
24791
24792 @endif libcpp
24793
24794 .PHONY: maybe-install-info-libcpp install-info-libcpp
24795 maybe-install-info-libcpp:
24796 @if libcpp
24797 maybe-install-info-libcpp: install-info-libcpp
24798
24799 install-info-libcpp: \
24800 configure-libcpp \
24801 info-libcpp
24802 @[ -f ./libcpp/Makefile ] || exit 0; \
24803 r=`${PWD_COMMAND}`; export r; \
24804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24805 $(HOST_EXPORTS) \
24806 for flag in $(EXTRA_HOST_FLAGS) ; do \
24807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24808 done; \
24809 echo "Doing install-info in libcpp"; \
24810 (cd $(HOST_SUBDIR)/libcpp && \
24811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24813 "RANLIB=$${RANLIB}" \
24814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24815 install-info) \
24816 || exit 1
24817
24818 @endif libcpp
24819
24820 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24821 maybe-install-pdf-libcpp:
24822 @if libcpp
24823 maybe-install-pdf-libcpp: install-pdf-libcpp
24824
24825 install-pdf-libcpp: \
24826 configure-libcpp \
24827 pdf-libcpp
24828 @[ -f ./libcpp/Makefile ] || exit 0; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 for flag in $(EXTRA_HOST_FLAGS) ; do \
24833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24834 done; \
24835 echo "Doing install-pdf in libcpp"; \
24836 (cd $(HOST_SUBDIR)/libcpp && \
24837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24839 "RANLIB=$${RANLIB}" \
24840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24841 install-pdf) \
24842 || exit 1
24843
24844 @endif libcpp
24845
24846 .PHONY: maybe-install-html-libcpp install-html-libcpp
24847 maybe-install-html-libcpp:
24848 @if libcpp
24849 maybe-install-html-libcpp: install-html-libcpp
24850
24851 install-html-libcpp: \
24852 configure-libcpp \
24853 html-libcpp
24854 @[ -f ./libcpp/Makefile ] || exit 0; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 for flag in $(EXTRA_HOST_FLAGS) ; do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860 done; \
24861 echo "Doing install-html in libcpp"; \
24862 (cd $(HOST_SUBDIR)/libcpp && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24867 install-html) \
24868 || exit 1
24869
24870 @endif libcpp
24871
24872 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24873 maybe-installcheck-libcpp:
24874 @if libcpp
24875 maybe-installcheck-libcpp: installcheck-libcpp
24876
24877 installcheck-libcpp: \
24878 configure-libcpp
24879 @[ -f ./libcpp/Makefile ] || exit 0; \
24880 r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882 $(HOST_EXPORTS) \
24883 for flag in $(EXTRA_HOST_FLAGS) ; do \
24884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24885 done; \
24886 echo "Doing installcheck in libcpp"; \
24887 (cd $(HOST_SUBDIR)/libcpp && \
24888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24890 "RANLIB=$${RANLIB}" \
24891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24892 installcheck) \
24893 || exit 1
24894
24895 @endif libcpp
24896
24897 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24898 maybe-mostlyclean-libcpp:
24899 @if libcpp
24900 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24901
24902 mostlyclean-libcpp:
24903 @[ -f ./libcpp/Makefile ] || exit 0; \
24904 r=`${PWD_COMMAND}`; export r; \
24905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24906 $(HOST_EXPORTS) \
24907 for flag in $(EXTRA_HOST_FLAGS) ; do \
24908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24909 done; \
24910 echo "Doing mostlyclean in libcpp"; \
24911 (cd $(HOST_SUBDIR)/libcpp && \
24912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24914 "RANLIB=$${RANLIB}" \
24915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24916 mostlyclean) \
24917 || exit 1
24918
24919 @endif libcpp
24920
24921 .PHONY: maybe-clean-libcpp clean-libcpp
24922 maybe-clean-libcpp:
24923 @if libcpp
24924 maybe-clean-libcpp: clean-libcpp
24925
24926 clean-libcpp:
24927 @[ -f ./libcpp/Makefile ] || exit 0; \
24928 r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930 $(HOST_EXPORTS) \
24931 for flag in $(EXTRA_HOST_FLAGS) ; do \
24932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24933 done; \
24934 echo "Doing clean in libcpp"; \
24935 (cd $(HOST_SUBDIR)/libcpp && \
24936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24938 "RANLIB=$${RANLIB}" \
24939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24940 clean) \
24941 || exit 1
24942
24943 @endif libcpp
24944
24945 .PHONY: maybe-distclean-libcpp distclean-libcpp
24946 maybe-distclean-libcpp:
24947 @if libcpp
24948 maybe-distclean-libcpp: distclean-libcpp
24949
24950 distclean-libcpp:
24951 @[ -f ./libcpp/Makefile ] || exit 0; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(HOST_EXPORTS) \
24955 for flag in $(EXTRA_HOST_FLAGS) ; do \
24956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24957 done; \
24958 echo "Doing distclean in libcpp"; \
24959 (cd $(HOST_SUBDIR)/libcpp && \
24960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962 "RANLIB=$${RANLIB}" \
24963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24964 distclean) \
24965 || exit 1
24966
24967 @endif libcpp
24968
24969 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24970 maybe-maintainer-clean-libcpp:
24971 @if libcpp
24972 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24973
24974 maintainer-clean-libcpp:
24975 @[ -f ./libcpp/Makefile ] || exit 0; \
24976 r=`${PWD_COMMAND}`; export r; \
24977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24978 $(HOST_EXPORTS) \
24979 for flag in $(EXTRA_HOST_FLAGS) ; do \
24980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24981 done; \
24982 echo "Doing maintainer-clean in libcpp"; \
24983 (cd $(HOST_SUBDIR)/libcpp && \
24984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24986 "RANLIB=$${RANLIB}" \
24987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24988 maintainer-clean) \
24989 || exit 1
24990
24991 @endif libcpp
24992
24993
24994
24995 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24996 maybe-configure-libdecnumber:
24997 @if gcc-bootstrap
24998 configure-libdecnumber: stage_current
24999 @endif gcc-bootstrap
25000 @if libdecnumber
25001 maybe-configure-libdecnumber: configure-libdecnumber
25002 configure-libdecnumber:
25003 @r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25007 $(HOST_EXPORTS) \
25008 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
25009 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
25010 case $(srcdir) in \
25011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25012 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25014 esac; \
25015 module_srcdir=libdecnumber; \
25016 $(SHELL) \
25017 $$s/$$module_srcdir/configure \
25018 --srcdir=$${topdir}/$$module_srcdir \
25019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25020 --target=${target_alias} \
25021 || exit 1
25022 @endif libdecnumber
25023
25024
25025
25026 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
25027 maybe-configure-stage1-libdecnumber:
25028 @if libdecnumber-bootstrap
25029 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
25030 configure-stage1-libdecnumber:
25031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25033 @r=`${PWD_COMMAND}`; export r; \
25034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25035 TFLAGS="$(STAGE1_TFLAGS)"; \
25036 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25037 $(HOST_EXPORTS) \
25038 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25039 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25040 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25041 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
25042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25043 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25044 case $(srcdir) in \
25045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25046 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25048 esac; \
25049 module_srcdir=libdecnumber; \
25050 $(SHELL) $$s/$$module_srcdir/configure \
25051 --srcdir=$${topdir}/$$module_srcdir \
25052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25053 --target=${target_alias} \
25054 \
25055 $(STAGE1_CONFIGURE_FLAGS)
25056 @endif libdecnumber-bootstrap
25057
25058 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
25059 maybe-configure-stage2-libdecnumber:
25060 @if libdecnumber-bootstrap
25061 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
25062 configure-stage2-libdecnumber:
25063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25065 @r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 TFLAGS="$(STAGE2_TFLAGS)"; \
25068 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25069 $(HOST_EXPORTS) \
25070 $(POSTSTAGE1_HOST_EXPORTS) \
25071 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25072 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25073 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25074 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
25075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25076 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25077 case $(srcdir) in \
25078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25079 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25081 esac; \
25082 module_srcdir=libdecnumber; \
25083 $(SHELL) $$s/$$module_srcdir/configure \
25084 --srcdir=$${topdir}/$$module_srcdir \
25085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25086 --target=${target_alias} \
25087 --with-build-libsubdir=$(HOST_SUBDIR) \
25088 $(STAGE2_CONFIGURE_FLAGS)
25089 @endif libdecnumber-bootstrap
25090
25091 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
25092 maybe-configure-stage3-libdecnumber:
25093 @if libdecnumber-bootstrap
25094 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
25095 configure-stage3-libdecnumber:
25096 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25098 @r=`${PWD_COMMAND}`; export r; \
25099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25100 TFLAGS="$(STAGE3_TFLAGS)"; \
25101 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25102 $(HOST_EXPORTS) \
25103 $(POSTSTAGE1_HOST_EXPORTS) \
25104 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25105 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25106 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25107 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
25108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25109 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25110 case $(srcdir) in \
25111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25112 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25114 esac; \
25115 module_srcdir=libdecnumber; \
25116 $(SHELL) $$s/$$module_srcdir/configure \
25117 --srcdir=$${topdir}/$$module_srcdir \
25118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25119 --target=${target_alias} \
25120 --with-build-libsubdir=$(HOST_SUBDIR) \
25121 $(STAGE3_CONFIGURE_FLAGS)
25122 @endif libdecnumber-bootstrap
25123
25124 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
25125 maybe-configure-stage4-libdecnumber:
25126 @if libdecnumber-bootstrap
25127 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
25128 configure-stage4-libdecnumber:
25129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25131 @r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 TFLAGS="$(STAGE4_TFLAGS)"; \
25134 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25135 $(HOST_EXPORTS) \
25136 $(POSTSTAGE1_HOST_EXPORTS) \
25137 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25138 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25139 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25140 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
25141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25142 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25143 case $(srcdir) in \
25144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25145 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25147 esac; \
25148 module_srcdir=libdecnumber; \
25149 $(SHELL) $$s/$$module_srcdir/configure \
25150 --srcdir=$${topdir}/$$module_srcdir \
25151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25152 --target=${target_alias} \
25153 --with-build-libsubdir=$(HOST_SUBDIR) \
25154 $(STAGE4_CONFIGURE_FLAGS)
25155 @endif libdecnumber-bootstrap
25156
25157 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
25158 maybe-configure-stageprofile-libdecnumber:
25159 @if libdecnumber-bootstrap
25160 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25161 configure-stageprofile-libdecnumber:
25162 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25164 @r=`${PWD_COMMAND}`; export r; \
25165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25166 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25167 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25168 $(HOST_EXPORTS) \
25169 $(POSTSTAGE1_HOST_EXPORTS) \
25170 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25171 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25172 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25173 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
25174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25175 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25176 case $(srcdir) in \
25177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25178 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25180 esac; \
25181 module_srcdir=libdecnumber; \
25182 $(SHELL) $$s/$$module_srcdir/configure \
25183 --srcdir=$${topdir}/$$module_srcdir \
25184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25185 --target=${target_alias} \
25186 --with-build-libsubdir=$(HOST_SUBDIR) \
25187 $(STAGEprofile_CONFIGURE_FLAGS)
25188 @endif libdecnumber-bootstrap
25189
25190 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25191 maybe-configure-stagetrain-libdecnumber:
25192 @if libdecnumber-bootstrap
25193 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25194 configure-stagetrain-libdecnumber:
25195 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25197 @r=`${PWD_COMMAND}`; export r; \
25198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25199 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25200 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25201 $(HOST_EXPORTS) \
25202 $(POSTSTAGE1_HOST_EXPORTS) \
25203 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25204 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25205 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25206 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25208 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25209 case $(srcdir) in \
25210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25211 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25213 esac; \
25214 module_srcdir=libdecnumber; \
25215 $(SHELL) $$s/$$module_srcdir/configure \
25216 --srcdir=$${topdir}/$$module_srcdir \
25217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25218 --target=${target_alias} \
25219 --with-build-libsubdir=$(HOST_SUBDIR) \
25220 $(STAGEtrain_CONFIGURE_FLAGS)
25221 @endif libdecnumber-bootstrap
25222
25223 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25224 maybe-configure-stagefeedback-libdecnumber:
25225 @if libdecnumber-bootstrap
25226 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25227 configure-stagefeedback-libdecnumber:
25228 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25230 @r=`${PWD_COMMAND}`; export r; \
25231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25232 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25233 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25234 $(HOST_EXPORTS) \
25235 $(POSTSTAGE1_HOST_EXPORTS) \
25236 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25237 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25238 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25239 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25241 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25242 case $(srcdir) in \
25243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25244 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25246 esac; \
25247 module_srcdir=libdecnumber; \
25248 $(SHELL) $$s/$$module_srcdir/configure \
25249 --srcdir=$${topdir}/$$module_srcdir \
25250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25251 --target=${target_alias} \
25252 --with-build-libsubdir=$(HOST_SUBDIR) \
25253 $(STAGEfeedback_CONFIGURE_FLAGS)
25254 @endif libdecnumber-bootstrap
25255
25256 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25257 maybe-configure-stageautoprofile-libdecnumber:
25258 @if libdecnumber-bootstrap
25259 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25260 configure-stageautoprofile-libdecnumber:
25261 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25263 @r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25266 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25267 $(HOST_EXPORTS) \
25268 $(POSTSTAGE1_HOST_EXPORTS) \
25269 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25270 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25271 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25272 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25274 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25275 case $(srcdir) in \
25276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25277 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25279 esac; \
25280 module_srcdir=libdecnumber; \
25281 $(SHELL) $$s/$$module_srcdir/configure \
25282 --srcdir=$${topdir}/$$module_srcdir \
25283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25284 --target=${target_alias} \
25285 --with-build-libsubdir=$(HOST_SUBDIR) \
25286 $(STAGEautoprofile_CONFIGURE_FLAGS)
25287 @endif libdecnumber-bootstrap
25288
25289 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25290 maybe-configure-stageautofeedback-libdecnumber:
25291 @if libdecnumber-bootstrap
25292 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25293 configure-stageautofeedback-libdecnumber:
25294 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25296 @r=`${PWD_COMMAND}`; export r; \
25297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25298 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25299 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25300 $(HOST_EXPORTS) \
25301 $(POSTSTAGE1_HOST_EXPORTS) \
25302 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25303 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25304 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25305 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25307 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25308 case $(srcdir) in \
25309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25310 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25312 esac; \
25313 module_srcdir=libdecnumber; \
25314 $(SHELL) $$s/$$module_srcdir/configure \
25315 --srcdir=$${topdir}/$$module_srcdir \
25316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25317 --target=${target_alias} \
25318 --with-build-libsubdir=$(HOST_SUBDIR) \
25319 $(STAGEautofeedback_CONFIGURE_FLAGS)
25320 @endif libdecnumber-bootstrap
25321
25322
25323
25324
25325
25326 .PHONY: all-libdecnumber maybe-all-libdecnumber
25327 maybe-all-libdecnumber:
25328 @if gcc-bootstrap
25329 all-libdecnumber: stage_current
25330 @endif gcc-bootstrap
25331 @if libdecnumber
25332 TARGET-libdecnumber=all
25333 maybe-all-libdecnumber: all-libdecnumber
25334 all-libdecnumber: configure-libdecnumber
25335 @r=`${PWD_COMMAND}`; export r; \
25336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25337 $(HOST_EXPORTS) \
25338 (cd $(HOST_SUBDIR)/libdecnumber && \
25339 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25340 $(TARGET-libdecnumber))
25341 @endif libdecnumber
25342
25343
25344
25345 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25346 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25347 maybe-all-stage1-libdecnumber:
25348 maybe-clean-stage1-libdecnumber:
25349 @if libdecnumber-bootstrap
25350 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25351 all-stage1: all-stage1-libdecnumber
25352 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25353 all-stage1-libdecnumber: configure-stage1-libdecnumber
25354 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25355 @r=`${PWD_COMMAND}`; export r; \
25356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 TFLAGS="$(STAGE1_TFLAGS)"; \
25358 $(HOST_EXPORTS) \
25359 cd $(HOST_SUBDIR)/libdecnumber && \
25360 \
25361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25362 CFLAGS="$(STAGE1_CFLAGS)" \
25363 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25364 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25365 LIBCFLAGS="$(LIBCFLAGS)" \
25366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25369 $(EXTRA_HOST_FLAGS) \
25370 $(STAGE1_FLAGS_TO_PASS) \
25371 TFLAGS="$(STAGE1_TFLAGS)" \
25372 $(TARGET-stage1-libdecnumber)
25373
25374 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25375 clean-stage1: clean-stage1-libdecnumber
25376 clean-stage1-libdecnumber:
25377 @if [ $(current_stage) = stage1 ]; then \
25378 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25379 else \
25380 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25381 $(MAKE) stage1-start; \
25382 fi; \
25383 cd $(HOST_SUBDIR)/libdecnumber && \
25384 $(MAKE) $(EXTRA_HOST_FLAGS) \
25385 $(STAGE1_FLAGS_TO_PASS) clean
25386 @endif libdecnumber-bootstrap
25387
25388
25389 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25390 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25391 maybe-all-stage2-libdecnumber:
25392 maybe-clean-stage2-libdecnumber:
25393 @if libdecnumber-bootstrap
25394 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25395 all-stage2: all-stage2-libdecnumber
25396 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25397 all-stage2-libdecnumber: configure-stage2-libdecnumber
25398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25399 @r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 TFLAGS="$(STAGE2_TFLAGS)"; \
25402 $(HOST_EXPORTS) \
25403 $(POSTSTAGE1_HOST_EXPORTS) \
25404 cd $(HOST_SUBDIR)/libdecnumber && \
25405 \
25406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25407 CFLAGS="$(STAGE2_CFLAGS)" \
25408 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25409 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25410 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25414 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25415 TFLAGS="$(STAGE2_TFLAGS)" \
25416 $(TARGET-stage2-libdecnumber)
25417
25418 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25419 clean-stage2: clean-stage2-libdecnumber
25420 clean-stage2-libdecnumber:
25421 @if [ $(current_stage) = stage2 ]; then \
25422 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25423 else \
25424 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25425 $(MAKE) stage2-start; \
25426 fi; \
25427 cd $(HOST_SUBDIR)/libdecnumber && \
25428 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25429 @endif libdecnumber-bootstrap
25430
25431
25432 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25433 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25434 maybe-all-stage3-libdecnumber:
25435 maybe-clean-stage3-libdecnumber:
25436 @if libdecnumber-bootstrap
25437 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25438 all-stage3: all-stage3-libdecnumber
25439 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25440 all-stage3-libdecnumber: configure-stage3-libdecnumber
25441 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25442 @r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 TFLAGS="$(STAGE3_TFLAGS)"; \
25445 $(HOST_EXPORTS) \
25446 $(POSTSTAGE1_HOST_EXPORTS) \
25447 cd $(HOST_SUBDIR)/libdecnumber && \
25448 \
25449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25450 CFLAGS="$(STAGE3_CFLAGS)" \
25451 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25452 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25453 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25454 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25455 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25456 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25457 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25458 TFLAGS="$(STAGE3_TFLAGS)" \
25459 $(TARGET-stage3-libdecnumber)
25460
25461 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25462 clean-stage3: clean-stage3-libdecnumber
25463 clean-stage3-libdecnumber:
25464 @if [ $(current_stage) = stage3 ]; then \
25465 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25466 else \
25467 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25468 $(MAKE) stage3-start; \
25469 fi; \
25470 cd $(HOST_SUBDIR)/libdecnumber && \
25471 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25472 @endif libdecnumber-bootstrap
25473
25474
25475 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25476 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25477 maybe-all-stage4-libdecnumber:
25478 maybe-clean-stage4-libdecnumber:
25479 @if libdecnumber-bootstrap
25480 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25481 all-stage4: all-stage4-libdecnumber
25482 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25483 all-stage4-libdecnumber: configure-stage4-libdecnumber
25484 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25485 @r=`${PWD_COMMAND}`; export r; \
25486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25487 TFLAGS="$(STAGE4_TFLAGS)"; \
25488 $(HOST_EXPORTS) \
25489 $(POSTSTAGE1_HOST_EXPORTS) \
25490 cd $(HOST_SUBDIR)/libdecnumber && \
25491 \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25493 CFLAGS="$(STAGE4_CFLAGS)" \
25494 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25495 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25496 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25500 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25501 TFLAGS="$(STAGE4_TFLAGS)" \
25502 $(TARGET-stage4-libdecnumber)
25503
25504 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25505 clean-stage4: clean-stage4-libdecnumber
25506 clean-stage4-libdecnumber:
25507 @if [ $(current_stage) = stage4 ]; then \
25508 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25509 else \
25510 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25511 $(MAKE) stage4-start; \
25512 fi; \
25513 cd $(HOST_SUBDIR)/libdecnumber && \
25514 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25515 @endif libdecnumber-bootstrap
25516
25517
25518 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25519 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25520 maybe-all-stageprofile-libdecnumber:
25521 maybe-clean-stageprofile-libdecnumber:
25522 @if libdecnumber-bootstrap
25523 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25524 all-stageprofile: all-stageprofile-libdecnumber
25525 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25526 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25527 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25528 @r=`${PWD_COMMAND}`; export r; \
25529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25530 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25531 $(HOST_EXPORTS) \
25532 $(POSTSTAGE1_HOST_EXPORTS) \
25533 cd $(HOST_SUBDIR)/libdecnumber && \
25534 \
25535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25536 CFLAGS="$(STAGEprofile_CFLAGS)" \
25537 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25538 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25539 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25544 TFLAGS="$(STAGEprofile_TFLAGS)" \
25545 $(TARGET-stageprofile-libdecnumber)
25546
25547 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25548 clean-stageprofile: clean-stageprofile-libdecnumber
25549 clean-stageprofile-libdecnumber:
25550 @if [ $(current_stage) = stageprofile ]; then \
25551 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25552 else \
25553 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25554 $(MAKE) stageprofile-start; \
25555 fi; \
25556 cd $(HOST_SUBDIR)/libdecnumber && \
25557 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25558 @endif libdecnumber-bootstrap
25559
25560
25561 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25562 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25563 maybe-all-stagetrain-libdecnumber:
25564 maybe-clean-stagetrain-libdecnumber:
25565 @if libdecnumber-bootstrap
25566 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25567 all-stagetrain: all-stagetrain-libdecnumber
25568 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25569 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25570 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25571 @r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25574 $(HOST_EXPORTS) \
25575 $(POSTSTAGE1_HOST_EXPORTS) \
25576 cd $(HOST_SUBDIR)/libdecnumber && \
25577 \
25578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25579 CFLAGS="$(STAGEtrain_CFLAGS)" \
25580 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25581 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25582 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25587 TFLAGS="$(STAGEtrain_TFLAGS)" \
25588 $(TARGET-stagetrain-libdecnumber)
25589
25590 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25591 clean-stagetrain: clean-stagetrain-libdecnumber
25592 clean-stagetrain-libdecnumber:
25593 @if [ $(current_stage) = stagetrain ]; then \
25594 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25595 else \
25596 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25597 $(MAKE) stagetrain-start; \
25598 fi; \
25599 cd $(HOST_SUBDIR)/libdecnumber && \
25600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25601 @endif libdecnumber-bootstrap
25602
25603
25604 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25605 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25606 maybe-all-stagefeedback-libdecnumber:
25607 maybe-clean-stagefeedback-libdecnumber:
25608 @if libdecnumber-bootstrap
25609 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25610 all-stagefeedback: all-stagefeedback-libdecnumber
25611 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25612 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25613 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25614 @r=`${PWD_COMMAND}`; export r; \
25615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25616 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25617 $(HOST_EXPORTS) \
25618 $(POSTSTAGE1_HOST_EXPORTS) \
25619 cd $(HOST_SUBDIR)/libdecnumber && \
25620 \
25621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25622 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25623 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25624 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25625 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25630 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25631 $(TARGET-stagefeedback-libdecnumber)
25632
25633 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25634 clean-stagefeedback: clean-stagefeedback-libdecnumber
25635 clean-stagefeedback-libdecnumber:
25636 @if [ $(current_stage) = stagefeedback ]; then \
25637 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25638 else \
25639 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25640 $(MAKE) stagefeedback-start; \
25641 fi; \
25642 cd $(HOST_SUBDIR)/libdecnumber && \
25643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25644 @endif libdecnumber-bootstrap
25645
25646
25647 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25648 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25649 maybe-all-stageautoprofile-libdecnumber:
25650 maybe-clean-stageautoprofile-libdecnumber:
25651 @if libdecnumber-bootstrap
25652 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25653 all-stageautoprofile: all-stageautoprofile-libdecnumber
25654 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25655 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25656 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25657 @r=`${PWD_COMMAND}`; export r; \
25658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25659 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25660 $(HOST_EXPORTS) \
25661 $(POSTSTAGE1_HOST_EXPORTS) \
25662 cd $(HOST_SUBDIR)/libdecnumber && \
25663 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25665 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25666 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25667 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25668 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25669 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25670 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25671 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25672 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25673 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25674 $(TARGET-stageautoprofile-libdecnumber)
25675
25676 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25677 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25678 clean-stageautoprofile-libdecnumber:
25679 @if [ $(current_stage) = stageautoprofile ]; then \
25680 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25681 else \
25682 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25683 $(MAKE) stageautoprofile-start; \
25684 fi; \
25685 cd $(HOST_SUBDIR)/libdecnumber && \
25686 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25687 @endif libdecnumber-bootstrap
25688
25689
25690 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25691 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25692 maybe-all-stageautofeedback-libdecnumber:
25693 maybe-clean-stageautofeedback-libdecnumber:
25694 @if libdecnumber-bootstrap
25695 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25696 all-stageautofeedback: all-stageautofeedback-libdecnumber
25697 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25698 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25699 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25700 @r=`${PWD_COMMAND}`; export r; \
25701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25702 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25703 $(HOST_EXPORTS) \
25704 $(POSTSTAGE1_HOST_EXPORTS) \
25705 cd $(HOST_SUBDIR)/libdecnumber && \
25706 \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25708 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25709 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25710 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25711 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25715 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25716 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25717 $(TARGET-stageautofeedback-libdecnumber)
25718
25719 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25720 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25721 clean-stageautofeedback-libdecnumber:
25722 @if [ $(current_stage) = stageautofeedback ]; then \
25723 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25724 else \
25725 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25726 $(MAKE) stageautofeedback-start; \
25727 fi; \
25728 cd $(HOST_SUBDIR)/libdecnumber && \
25729 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25730 @endif libdecnumber-bootstrap
25731
25732
25733
25734
25735
25736 .PHONY: check-libdecnumber maybe-check-libdecnumber
25737 maybe-check-libdecnumber:
25738 @if libdecnumber
25739 maybe-check-libdecnumber: check-libdecnumber
25740
25741 check-libdecnumber:
25742 @: $(MAKE); $(unstage)
25743 @r=`${PWD_COMMAND}`; export r; \
25744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25745 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25746 (cd $(HOST_SUBDIR)/libdecnumber && \
25747 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25748
25749 @endif libdecnumber
25750
25751 .PHONY: install-libdecnumber maybe-install-libdecnumber
25752 maybe-install-libdecnumber:
25753 @if libdecnumber
25754 maybe-install-libdecnumber: install-libdecnumber
25755
25756 install-libdecnumber: installdirs
25757 @: $(MAKE); $(unstage)
25758 @r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(HOST_EXPORTS) \
25761 (cd $(HOST_SUBDIR)/libdecnumber && \
25762 $(MAKE) $(FLAGS_TO_PASS) install)
25763
25764 @endif libdecnumber
25765
25766 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25767 maybe-install-strip-libdecnumber:
25768 @if libdecnumber
25769 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25770
25771 install-strip-libdecnumber: installdirs
25772 @: $(MAKE); $(unstage)
25773 @r=`${PWD_COMMAND}`; export r; \
25774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25775 $(HOST_EXPORTS) \
25776 (cd $(HOST_SUBDIR)/libdecnumber && \
25777 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25778
25779 @endif libdecnumber
25780
25781 # Other targets (info, dvi, pdf, etc.)
25782
25783 .PHONY: maybe-info-libdecnumber info-libdecnumber
25784 maybe-info-libdecnumber:
25785 @if libdecnumber
25786 maybe-info-libdecnumber: info-libdecnumber
25787
25788 info-libdecnumber: \
25789 configure-libdecnumber
25790 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25791 r=`${PWD_COMMAND}`; export r; \
25792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25793 $(HOST_EXPORTS) \
25794 for flag in $(EXTRA_HOST_FLAGS) ; do \
25795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25796 done; \
25797 echo "Doing info in libdecnumber"; \
25798 (cd $(HOST_SUBDIR)/libdecnumber && \
25799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25801 "RANLIB=$${RANLIB}" \
25802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25803 info) \
25804 || exit 1
25805
25806 @endif libdecnumber
25807
25808 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25809 maybe-dvi-libdecnumber:
25810 @if libdecnumber
25811 maybe-dvi-libdecnumber: dvi-libdecnumber
25812
25813 dvi-libdecnumber: \
25814 configure-libdecnumber
25815 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25816 r=`${PWD_COMMAND}`; export r; \
25817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25818 $(HOST_EXPORTS) \
25819 for flag in $(EXTRA_HOST_FLAGS) ; do \
25820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25821 done; \
25822 echo "Doing dvi in libdecnumber"; \
25823 (cd $(HOST_SUBDIR)/libdecnumber && \
25824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25826 "RANLIB=$${RANLIB}" \
25827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25828 dvi) \
25829 || exit 1
25830
25831 @endif libdecnumber
25832
25833 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25834 maybe-pdf-libdecnumber:
25835 @if libdecnumber
25836 maybe-pdf-libdecnumber: pdf-libdecnumber
25837
25838 pdf-libdecnumber: \
25839 configure-libdecnumber
25840 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25841 r=`${PWD_COMMAND}`; export r; \
25842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25843 $(HOST_EXPORTS) \
25844 for flag in $(EXTRA_HOST_FLAGS) ; do \
25845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25846 done; \
25847 echo "Doing pdf in libdecnumber"; \
25848 (cd $(HOST_SUBDIR)/libdecnumber && \
25849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25851 "RANLIB=$${RANLIB}" \
25852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25853 pdf) \
25854 || exit 1
25855
25856 @endif libdecnumber
25857
25858 .PHONY: maybe-html-libdecnumber html-libdecnumber
25859 maybe-html-libdecnumber:
25860 @if libdecnumber
25861 maybe-html-libdecnumber: html-libdecnumber
25862
25863 html-libdecnumber: \
25864 configure-libdecnumber
25865 @[ -f ./libdecnumber/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 libdecnumber"; \
25873 (cd $(HOST_SUBDIR)/libdecnumber && \
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
25880
25881 @endif libdecnumber
25882
25883 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25884 maybe-TAGS-libdecnumber:
25885 @if libdecnumber
25886 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25887
25888 TAGS-libdecnumber: \
25889 configure-libdecnumber
25890 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25891 r=`${PWD_COMMAND}`; export r; \
25892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25893 $(HOST_EXPORTS) \
25894 for flag in $(EXTRA_HOST_FLAGS) ; do \
25895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25896 done; \
25897 echo "Doing TAGS in libdecnumber"; \
25898 (cd $(HOST_SUBDIR)/libdecnumber && \
25899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25901 "RANLIB=$${RANLIB}" \
25902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25903 TAGS) \
25904 || exit 1
25905
25906 @endif libdecnumber
25907
25908 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25909 maybe-install-info-libdecnumber:
25910 @if libdecnumber
25911 maybe-install-info-libdecnumber: install-info-libdecnumber
25912
25913 install-info-libdecnumber: \
25914 configure-libdecnumber \
25915 info-libdecnumber
25916 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25917 r=`${PWD_COMMAND}`; export r; \
25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25919 $(HOST_EXPORTS) \
25920 for flag in $(EXTRA_HOST_FLAGS) ; do \
25921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25922 done; \
25923 echo "Doing install-info in libdecnumber"; \
25924 (cd $(HOST_SUBDIR)/libdecnumber && \
25925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25927 "RANLIB=$${RANLIB}" \
25928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25929 install-info) \
25930 || exit 1
25931
25932 @endif libdecnumber
25933
25934 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25935 maybe-install-pdf-libdecnumber:
25936 @if libdecnumber
25937 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25938
25939 install-pdf-libdecnumber: \
25940 configure-libdecnumber \
25941 pdf-libdecnumber
25942 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25943 r=`${PWD_COMMAND}`; export r; \
25944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25945 $(HOST_EXPORTS) \
25946 for flag in $(EXTRA_HOST_FLAGS) ; do \
25947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 done; \
25949 echo "Doing install-pdf in libdecnumber"; \
25950 (cd $(HOST_SUBDIR)/libdecnumber && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25953 "RANLIB=$${RANLIB}" \
25954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25955 install-pdf) \
25956 || exit 1
25957
25958 @endif libdecnumber
25959
25960 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25961 maybe-install-html-libdecnumber:
25962 @if libdecnumber
25963 maybe-install-html-libdecnumber: install-html-libdecnumber
25964
25965 install-html-libdecnumber: \
25966 configure-libdecnumber \
25967 html-libdecnumber
25968 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25969 r=`${PWD_COMMAND}`; export r; \
25970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25971 $(HOST_EXPORTS) \
25972 for flag in $(EXTRA_HOST_FLAGS) ; do \
25973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25974 done; \
25975 echo "Doing install-html in libdecnumber"; \
25976 (cd $(HOST_SUBDIR)/libdecnumber && \
25977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25979 "RANLIB=$${RANLIB}" \
25980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25981 install-html) \
25982 || exit 1
25983
25984 @endif libdecnumber
25985
25986 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25987 maybe-installcheck-libdecnumber:
25988 @if libdecnumber
25989 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25990
25991 installcheck-libdecnumber: \
25992 configure-libdecnumber
25993 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25994 r=`${PWD_COMMAND}`; export r; \
25995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25996 $(HOST_EXPORTS) \
25997 for flag in $(EXTRA_HOST_FLAGS) ; do \
25998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25999 done; \
26000 echo "Doing installcheck in libdecnumber"; \
26001 (cd $(HOST_SUBDIR)/libdecnumber && \
26002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26004 "RANLIB=$${RANLIB}" \
26005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26006 installcheck) \
26007 || exit 1
26008
26009 @endif libdecnumber
26010
26011 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
26012 maybe-mostlyclean-libdecnumber:
26013 @if libdecnumber
26014 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
26015
26016 mostlyclean-libdecnumber:
26017 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26018 r=`${PWD_COMMAND}`; export r; \
26019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(HOST_EXPORTS) \
26021 for flag in $(EXTRA_HOST_FLAGS) ; do \
26022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26023 done; \
26024 echo "Doing mostlyclean in libdecnumber"; \
26025 (cd $(HOST_SUBDIR)/libdecnumber && \
26026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26028 "RANLIB=$${RANLIB}" \
26029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26030 mostlyclean) \
26031 || exit 1
26032
26033 @endif libdecnumber
26034
26035 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
26036 maybe-clean-libdecnumber:
26037 @if libdecnumber
26038 maybe-clean-libdecnumber: clean-libdecnumber
26039
26040 clean-libdecnumber:
26041 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26042 r=`${PWD_COMMAND}`; export r; \
26043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26044 $(HOST_EXPORTS) \
26045 for flag in $(EXTRA_HOST_FLAGS) ; do \
26046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26047 done; \
26048 echo "Doing clean in libdecnumber"; \
26049 (cd $(HOST_SUBDIR)/libdecnumber && \
26050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26052 "RANLIB=$${RANLIB}" \
26053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26054 clean) \
26055 || exit 1
26056
26057 @endif libdecnumber
26058
26059 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
26060 maybe-distclean-libdecnumber:
26061 @if libdecnumber
26062 maybe-distclean-libdecnumber: distclean-libdecnumber
26063
26064 distclean-libdecnumber:
26065 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26066 r=`${PWD_COMMAND}`; export r; \
26067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26068 $(HOST_EXPORTS) \
26069 for flag in $(EXTRA_HOST_FLAGS) ; do \
26070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26071 done; \
26072 echo "Doing distclean in libdecnumber"; \
26073 (cd $(HOST_SUBDIR)/libdecnumber && \
26074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26076 "RANLIB=$${RANLIB}" \
26077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26078 distclean) \
26079 || exit 1
26080
26081 @endif libdecnumber
26082
26083 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
26084 maybe-maintainer-clean-libdecnumber:
26085 @if libdecnumber
26086 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
26087
26088 maintainer-clean-libdecnumber:
26089 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26090 r=`${PWD_COMMAND}`; export r; \
26091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26092 $(HOST_EXPORTS) \
26093 for flag in $(EXTRA_HOST_FLAGS) ; do \
26094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26095 done; \
26096 echo "Doing maintainer-clean in libdecnumber"; \
26097 (cd $(HOST_SUBDIR)/libdecnumber && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26100 "RANLIB=$${RANLIB}" \
26101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26102 maintainer-clean) \
26103 || exit 1
26104
26105 @endif libdecnumber
26106
26107
26108
26109 .PHONY: configure-libgui maybe-configure-libgui
26110 maybe-configure-libgui:
26111 @if gcc-bootstrap
26112 configure-libgui: stage_current
26113 @endif gcc-bootstrap
26114 @if libgui
26115 maybe-configure-libgui: configure-libgui
26116 configure-libgui:
26117 @: $(MAKE); $(unstage)
26118 @r=`${PWD_COMMAND}`; export r; \
26119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26120 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
26121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
26122 $(HOST_EXPORTS) \
26123 echo Configuring in $(HOST_SUBDIR)/libgui; \
26124 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
26125 case $(srcdir) in \
26126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26127 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
26128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26129 esac; \
26130 module_srcdir=libgui; \
26131 $(SHELL) \
26132 $$s/$$module_srcdir/configure \
26133 --srcdir=$${topdir}/$$module_srcdir \
26134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26135 --target=${target_alias} \
26136 || exit 1
26137 @endif libgui
26138
26139
26140
26141
26142
26143 .PHONY: all-libgui maybe-all-libgui
26144 maybe-all-libgui:
26145 @if gcc-bootstrap
26146 all-libgui: stage_current
26147 @endif gcc-bootstrap
26148 @if libgui
26149 TARGET-libgui=all
26150 maybe-all-libgui: all-libgui
26151 all-libgui: configure-libgui
26152 @: $(MAKE); $(unstage)
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 $(HOST_EXPORTS) \
26156 (cd $(HOST_SUBDIR)/libgui && \
26157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26158 $(TARGET-libgui))
26159 @endif libgui
26160
26161
26162
26163
26164 .PHONY: check-libgui maybe-check-libgui
26165 maybe-check-libgui:
26166 @if libgui
26167 maybe-check-libgui: check-libgui
26168
26169 check-libgui:
26170 @: $(MAKE); $(unstage)
26171 @r=`${PWD_COMMAND}`; export r; \
26172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26173 $(HOST_EXPORTS) \
26174 (cd $(HOST_SUBDIR)/libgui && \
26175 $(MAKE) $(FLAGS_TO_PASS) check)
26176
26177 @endif libgui
26178
26179 .PHONY: install-libgui maybe-install-libgui
26180 maybe-install-libgui:
26181 @if libgui
26182 maybe-install-libgui: install-libgui
26183
26184 install-libgui: installdirs
26185 @: $(MAKE); $(unstage)
26186 @r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(HOST_EXPORTS) \
26189 (cd $(HOST_SUBDIR)/libgui && \
26190 $(MAKE) $(FLAGS_TO_PASS) install)
26191
26192 @endif libgui
26193
26194 .PHONY: install-strip-libgui maybe-install-strip-libgui
26195 maybe-install-strip-libgui:
26196 @if libgui
26197 maybe-install-strip-libgui: install-strip-libgui
26198
26199 install-strip-libgui: installdirs
26200 @: $(MAKE); $(unstage)
26201 @r=`${PWD_COMMAND}`; export r; \
26202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26203 $(HOST_EXPORTS) \
26204 (cd $(HOST_SUBDIR)/libgui && \
26205 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26206
26207 @endif libgui
26208
26209 # Other targets (info, dvi, pdf, etc.)
26210
26211 .PHONY: maybe-info-libgui info-libgui
26212 maybe-info-libgui:
26213 @if libgui
26214 maybe-info-libgui: info-libgui
26215
26216 info-libgui: \
26217 configure-libgui
26218 @: $(MAKE); $(unstage)
26219 @[ -f ./libgui/Makefile ] || exit 0; \
26220 r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 for flag in $(EXTRA_HOST_FLAGS) ; do \
26224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26225 done; \
26226 echo "Doing info in libgui"; \
26227 (cd $(HOST_SUBDIR)/libgui && \
26228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26230 "RANLIB=$${RANLIB}" \
26231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26232 info) \
26233 || exit 1
26234
26235 @endif libgui
26236
26237 .PHONY: maybe-dvi-libgui dvi-libgui
26238 maybe-dvi-libgui:
26239 @if libgui
26240 maybe-dvi-libgui: dvi-libgui
26241
26242 dvi-libgui: \
26243 configure-libgui
26244 @: $(MAKE); $(unstage)
26245 @[ -f ./libgui/Makefile ] || exit 0; \
26246 r=`${PWD_COMMAND}`; export r; \
26247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26248 $(HOST_EXPORTS) \
26249 for flag in $(EXTRA_HOST_FLAGS) ; do \
26250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26251 done; \
26252 echo "Doing dvi in libgui"; \
26253 (cd $(HOST_SUBDIR)/libgui && \
26254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26256 "RANLIB=$${RANLIB}" \
26257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26258 dvi) \
26259 || exit 1
26260
26261 @endif libgui
26262
26263 .PHONY: maybe-pdf-libgui pdf-libgui
26264 maybe-pdf-libgui:
26265 @if libgui
26266 maybe-pdf-libgui: pdf-libgui
26267
26268 pdf-libgui: \
26269 configure-libgui
26270 @: $(MAKE); $(unstage)
26271 @[ -f ./libgui/Makefile ] || exit 0; \
26272 r=`${PWD_COMMAND}`; export r; \
26273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26274 $(HOST_EXPORTS) \
26275 for flag in $(EXTRA_HOST_FLAGS) ; do \
26276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26277 done; \
26278 echo "Doing pdf in libgui"; \
26279 (cd $(HOST_SUBDIR)/libgui && \
26280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26282 "RANLIB=$${RANLIB}" \
26283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26284 pdf) \
26285 || exit 1
26286
26287 @endif libgui
26288
26289 .PHONY: maybe-html-libgui html-libgui
26290 maybe-html-libgui:
26291 @if libgui
26292 maybe-html-libgui: html-libgui
26293
26294 html-libgui: \
26295 configure-libgui
26296 @: $(MAKE); $(unstage)
26297 @[ -f ./libgui/Makefile ] || exit 0; \
26298 r=`${PWD_COMMAND}`; export r; \
26299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(HOST_EXPORTS) \
26301 for flag in $(EXTRA_HOST_FLAGS) ; do \
26302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26303 done; \
26304 echo "Doing html in libgui"; \
26305 (cd $(HOST_SUBDIR)/libgui && \
26306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26308 "RANLIB=$${RANLIB}" \
26309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26310 html) \
26311 || exit 1
26312
26313 @endif libgui
26314
26315 .PHONY: maybe-TAGS-libgui TAGS-libgui
26316 maybe-TAGS-libgui:
26317 @if libgui
26318 maybe-TAGS-libgui: TAGS-libgui
26319
26320 TAGS-libgui: \
26321 configure-libgui
26322 @: $(MAKE); $(unstage)
26323 @[ -f ./libgui/Makefile ] || exit 0; \
26324 r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(HOST_EXPORTS) \
26327 for flag in $(EXTRA_HOST_FLAGS) ; do \
26328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26329 done; \
26330 echo "Doing TAGS in libgui"; \
26331 (cd $(HOST_SUBDIR)/libgui && \
26332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26334 "RANLIB=$${RANLIB}" \
26335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26336 TAGS) \
26337 || exit 1
26338
26339 @endif libgui
26340
26341 .PHONY: maybe-install-info-libgui install-info-libgui
26342 maybe-install-info-libgui:
26343 @if libgui
26344 maybe-install-info-libgui: install-info-libgui
26345
26346 install-info-libgui: \
26347 configure-libgui \
26348 info-libgui
26349 @: $(MAKE); $(unstage)
26350 @[ -f ./libgui/Makefile ] || exit 0; \
26351 r=`${PWD_COMMAND}`; export r; \
26352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26353 $(HOST_EXPORTS) \
26354 for flag in $(EXTRA_HOST_FLAGS) ; do \
26355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26356 done; \
26357 echo "Doing install-info in libgui"; \
26358 (cd $(HOST_SUBDIR)/libgui && \
26359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26361 "RANLIB=$${RANLIB}" \
26362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26363 install-info) \
26364 || exit 1
26365
26366 @endif libgui
26367
26368 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26369 maybe-install-pdf-libgui:
26370 @if libgui
26371 maybe-install-pdf-libgui: install-pdf-libgui
26372
26373 install-pdf-libgui: \
26374 configure-libgui \
26375 pdf-libgui
26376 @: $(MAKE); $(unstage)
26377 @[ -f ./libgui/Makefile ] || exit 0; \
26378 r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 for flag in $(EXTRA_HOST_FLAGS) ; do \
26382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26383 done; \
26384 echo "Doing install-pdf in libgui"; \
26385 (cd $(HOST_SUBDIR)/libgui && \
26386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26388 "RANLIB=$${RANLIB}" \
26389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26390 install-pdf) \
26391 || exit 1
26392
26393 @endif libgui
26394
26395 .PHONY: maybe-install-html-libgui install-html-libgui
26396 maybe-install-html-libgui:
26397 @if libgui
26398 maybe-install-html-libgui: install-html-libgui
26399
26400 install-html-libgui: \
26401 configure-libgui \
26402 html-libgui
26403 @: $(MAKE); $(unstage)
26404 @[ -f ./libgui/Makefile ] || exit 0; \
26405 r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 $(HOST_EXPORTS) \
26408 for flag in $(EXTRA_HOST_FLAGS) ; do \
26409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26410 done; \
26411 echo "Doing install-html in libgui"; \
26412 (cd $(HOST_SUBDIR)/libgui && \
26413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26415 "RANLIB=$${RANLIB}" \
26416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26417 install-html) \
26418 || exit 1
26419
26420 @endif libgui
26421
26422 .PHONY: maybe-installcheck-libgui installcheck-libgui
26423 maybe-installcheck-libgui:
26424 @if libgui
26425 maybe-installcheck-libgui: installcheck-libgui
26426
26427 installcheck-libgui: \
26428 configure-libgui
26429 @: $(MAKE); $(unstage)
26430 @[ -f ./libgui/Makefile ] || exit 0; \
26431 r=`${PWD_COMMAND}`; export r; \
26432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26433 $(HOST_EXPORTS) \
26434 for flag in $(EXTRA_HOST_FLAGS) ; do \
26435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26436 done; \
26437 echo "Doing installcheck in libgui"; \
26438 (cd $(HOST_SUBDIR)/libgui && \
26439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26441 "RANLIB=$${RANLIB}" \
26442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26443 installcheck) \
26444 || exit 1
26445
26446 @endif libgui
26447
26448 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26449 maybe-mostlyclean-libgui:
26450 @if libgui
26451 maybe-mostlyclean-libgui: mostlyclean-libgui
26452
26453 mostlyclean-libgui:
26454 @: $(MAKE); $(unstage)
26455 @[ -f ./libgui/Makefile ] || exit 0; \
26456 r=`${PWD_COMMAND}`; export r; \
26457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26458 $(HOST_EXPORTS) \
26459 for flag in $(EXTRA_HOST_FLAGS) ; do \
26460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26461 done; \
26462 echo "Doing mostlyclean in libgui"; \
26463 (cd $(HOST_SUBDIR)/libgui && \
26464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26466 "RANLIB=$${RANLIB}" \
26467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26468 mostlyclean) \
26469 || exit 1
26470
26471 @endif libgui
26472
26473 .PHONY: maybe-clean-libgui clean-libgui
26474 maybe-clean-libgui:
26475 @if libgui
26476 maybe-clean-libgui: clean-libgui
26477
26478 clean-libgui:
26479 @: $(MAKE); $(unstage)
26480 @[ -f ./libgui/Makefile ] || exit 0; \
26481 r=`${PWD_COMMAND}`; export r; \
26482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26483 $(HOST_EXPORTS) \
26484 for flag in $(EXTRA_HOST_FLAGS) ; do \
26485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26486 done; \
26487 echo "Doing clean in libgui"; \
26488 (cd $(HOST_SUBDIR)/libgui && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26491 "RANLIB=$${RANLIB}" \
26492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26493 clean) \
26494 || exit 1
26495
26496 @endif libgui
26497
26498 .PHONY: maybe-distclean-libgui distclean-libgui
26499 maybe-distclean-libgui:
26500 @if libgui
26501 maybe-distclean-libgui: distclean-libgui
26502
26503 distclean-libgui:
26504 @: $(MAKE); $(unstage)
26505 @[ -f ./libgui/Makefile ] || exit 0; \
26506 r=`${PWD_COMMAND}`; export r; \
26507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26508 $(HOST_EXPORTS) \
26509 for flag in $(EXTRA_HOST_FLAGS) ; do \
26510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26511 done; \
26512 echo "Doing distclean in libgui"; \
26513 (cd $(HOST_SUBDIR)/libgui && \
26514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26516 "RANLIB=$${RANLIB}" \
26517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26518 distclean) \
26519 || exit 1
26520
26521 @endif libgui
26522
26523 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26524 maybe-maintainer-clean-libgui:
26525 @if libgui
26526 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26527
26528 maintainer-clean-libgui:
26529 @: $(MAKE); $(unstage)
26530 @[ -f ./libgui/Makefile ] || exit 0; \
26531 r=`${PWD_COMMAND}`; export r; \
26532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26533 $(HOST_EXPORTS) \
26534 for flag in $(EXTRA_HOST_FLAGS) ; do \
26535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26536 done; \
26537 echo "Doing maintainer-clean in libgui"; \
26538 (cd $(HOST_SUBDIR)/libgui && \
26539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26541 "RANLIB=$${RANLIB}" \
26542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26543 maintainer-clean) \
26544 || exit 1
26545
26546 @endif libgui
26547
26548
26549
26550 .PHONY: configure-libiberty maybe-configure-libiberty
26551 maybe-configure-libiberty:
26552 @if gcc-bootstrap
26553 configure-libiberty: stage_current
26554 @endif gcc-bootstrap
26555 @if libiberty
26556 maybe-configure-libiberty: configure-libiberty
26557 configure-libiberty:
26558 @r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26562 $(HOST_EXPORTS) \
26563 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26564 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26565 case $(srcdir) in \
26566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26567 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26569 esac; \
26570 module_srcdir=libiberty; \
26571 $(SHELL) \
26572 $$s/$$module_srcdir/configure \
26573 --srcdir=$${topdir}/$$module_srcdir \
26574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26575 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26576 || exit 1
26577 @endif libiberty
26578
26579
26580
26581 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26582 maybe-configure-stage1-libiberty:
26583 @if libiberty-bootstrap
26584 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26585 configure-stage1-libiberty:
26586 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26588 @r=`${PWD_COMMAND}`; export r; \
26589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26590 TFLAGS="$(STAGE1_TFLAGS)"; \
26591 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26592 $(HOST_EXPORTS) \
26593 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26594 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26595 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26596 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26598 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26599 case $(srcdir) in \
26600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26601 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26603 esac; \
26604 module_srcdir=libiberty; \
26605 $(SHELL) $$s/$$module_srcdir/configure \
26606 --srcdir=$${topdir}/$$module_srcdir \
26607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26608 --target=${target_alias} \
26609 \
26610 $(STAGE1_CONFIGURE_FLAGS) \
26611 @extra_host_libiberty_configure_flags@
26612 @endif libiberty-bootstrap
26613
26614 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26615 maybe-configure-stage2-libiberty:
26616 @if libiberty-bootstrap
26617 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26618 configure-stage2-libiberty:
26619 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26621 @r=`${PWD_COMMAND}`; export r; \
26622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26623 TFLAGS="$(STAGE2_TFLAGS)"; \
26624 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26625 $(HOST_EXPORTS) \
26626 $(POSTSTAGE1_HOST_EXPORTS) \
26627 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26628 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26629 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26630 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26632 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26633 case $(srcdir) in \
26634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26635 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26637 esac; \
26638 module_srcdir=libiberty; \
26639 $(SHELL) $$s/$$module_srcdir/configure \
26640 --srcdir=$${topdir}/$$module_srcdir \
26641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26642 --target=${target_alias} \
26643 --with-build-libsubdir=$(HOST_SUBDIR) \
26644 $(STAGE2_CONFIGURE_FLAGS) \
26645 @extra_host_libiberty_configure_flags@
26646 @endif libiberty-bootstrap
26647
26648 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26649 maybe-configure-stage3-libiberty:
26650 @if libiberty-bootstrap
26651 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26652 configure-stage3-libiberty:
26653 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26655 @r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 TFLAGS="$(STAGE3_TFLAGS)"; \
26658 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26659 $(HOST_EXPORTS) \
26660 $(POSTSTAGE1_HOST_EXPORTS) \
26661 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26662 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26663 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26664 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26666 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26667 case $(srcdir) in \
26668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26669 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26671 esac; \
26672 module_srcdir=libiberty; \
26673 $(SHELL) $$s/$$module_srcdir/configure \
26674 --srcdir=$${topdir}/$$module_srcdir \
26675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26676 --target=${target_alias} \
26677 --with-build-libsubdir=$(HOST_SUBDIR) \
26678 $(STAGE3_CONFIGURE_FLAGS) \
26679 @extra_host_libiberty_configure_flags@
26680 @endif libiberty-bootstrap
26681
26682 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26683 maybe-configure-stage4-libiberty:
26684 @if libiberty-bootstrap
26685 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26686 configure-stage4-libiberty:
26687 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26689 @r=`${PWD_COMMAND}`; export r; \
26690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26691 TFLAGS="$(STAGE4_TFLAGS)"; \
26692 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26693 $(HOST_EXPORTS) \
26694 $(POSTSTAGE1_HOST_EXPORTS) \
26695 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26696 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26697 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26698 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26700 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26701 case $(srcdir) in \
26702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26703 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26705 esac; \
26706 module_srcdir=libiberty; \
26707 $(SHELL) $$s/$$module_srcdir/configure \
26708 --srcdir=$${topdir}/$$module_srcdir \
26709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26710 --target=${target_alias} \
26711 --with-build-libsubdir=$(HOST_SUBDIR) \
26712 $(STAGE4_CONFIGURE_FLAGS) \
26713 @extra_host_libiberty_configure_flags@
26714 @endif libiberty-bootstrap
26715
26716 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26717 maybe-configure-stageprofile-libiberty:
26718 @if libiberty-bootstrap
26719 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26720 configure-stageprofile-libiberty:
26721 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26723 @r=`${PWD_COMMAND}`; export r; \
26724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26725 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26726 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26727 $(HOST_EXPORTS) \
26728 $(POSTSTAGE1_HOST_EXPORTS) \
26729 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26730 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26731 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26732 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26734 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26735 case $(srcdir) in \
26736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26737 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26739 esac; \
26740 module_srcdir=libiberty; \
26741 $(SHELL) $$s/$$module_srcdir/configure \
26742 --srcdir=$${topdir}/$$module_srcdir \
26743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26744 --target=${target_alias} \
26745 --with-build-libsubdir=$(HOST_SUBDIR) \
26746 $(STAGEprofile_CONFIGURE_FLAGS) \
26747 @extra_host_libiberty_configure_flags@
26748 @endif libiberty-bootstrap
26749
26750 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26751 maybe-configure-stagetrain-libiberty:
26752 @if libiberty-bootstrap
26753 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26754 configure-stagetrain-libiberty:
26755 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26757 @r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26760 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26761 $(HOST_EXPORTS) \
26762 $(POSTSTAGE1_HOST_EXPORTS) \
26763 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26764 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26765 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26766 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26768 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26769 case $(srcdir) in \
26770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26771 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26773 esac; \
26774 module_srcdir=libiberty; \
26775 $(SHELL) $$s/$$module_srcdir/configure \
26776 --srcdir=$${topdir}/$$module_srcdir \
26777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26778 --target=${target_alias} \
26779 --with-build-libsubdir=$(HOST_SUBDIR) \
26780 $(STAGEtrain_CONFIGURE_FLAGS) \
26781 @extra_host_libiberty_configure_flags@
26782 @endif libiberty-bootstrap
26783
26784 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26785 maybe-configure-stagefeedback-libiberty:
26786 @if libiberty-bootstrap
26787 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26788 configure-stagefeedback-libiberty:
26789 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26791 @r=`${PWD_COMMAND}`; export r; \
26792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26794 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26795 $(HOST_EXPORTS) \
26796 $(POSTSTAGE1_HOST_EXPORTS) \
26797 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26798 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26799 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26800 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26802 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26803 case $(srcdir) in \
26804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26805 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26807 esac; \
26808 module_srcdir=libiberty; \
26809 $(SHELL) $$s/$$module_srcdir/configure \
26810 --srcdir=$${topdir}/$$module_srcdir \
26811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26812 --target=${target_alias} \
26813 --with-build-libsubdir=$(HOST_SUBDIR) \
26814 $(STAGEfeedback_CONFIGURE_FLAGS) \
26815 @extra_host_libiberty_configure_flags@
26816 @endif libiberty-bootstrap
26817
26818 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26819 maybe-configure-stageautoprofile-libiberty:
26820 @if libiberty-bootstrap
26821 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26822 configure-stageautoprofile-libiberty:
26823 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26825 @r=`${PWD_COMMAND}`; export r; \
26826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26827 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26828 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26829 $(HOST_EXPORTS) \
26830 $(POSTSTAGE1_HOST_EXPORTS) \
26831 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26832 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26833 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26834 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26836 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26837 case $(srcdir) in \
26838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26839 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26841 esac; \
26842 module_srcdir=libiberty; \
26843 $(SHELL) $$s/$$module_srcdir/configure \
26844 --srcdir=$${topdir}/$$module_srcdir \
26845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26846 --target=${target_alias} \
26847 --with-build-libsubdir=$(HOST_SUBDIR) \
26848 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26849 @extra_host_libiberty_configure_flags@
26850 @endif libiberty-bootstrap
26851
26852 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26853 maybe-configure-stageautofeedback-libiberty:
26854 @if libiberty-bootstrap
26855 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26856 configure-stageautofeedback-libiberty:
26857 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26859 @r=`${PWD_COMMAND}`; export r; \
26860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26861 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26862 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26863 $(HOST_EXPORTS) \
26864 $(POSTSTAGE1_HOST_EXPORTS) \
26865 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26866 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26867 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26868 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26870 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26871 case $(srcdir) in \
26872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26873 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26875 esac; \
26876 module_srcdir=libiberty; \
26877 $(SHELL) $$s/$$module_srcdir/configure \
26878 --srcdir=$${topdir}/$$module_srcdir \
26879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26880 --target=${target_alias} \
26881 --with-build-libsubdir=$(HOST_SUBDIR) \
26882 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26883 @extra_host_libiberty_configure_flags@
26884 @endif libiberty-bootstrap
26885
26886
26887
26888
26889
26890 .PHONY: all-libiberty maybe-all-libiberty
26891 maybe-all-libiberty:
26892 @if gcc-bootstrap
26893 all-libiberty: stage_current
26894 @endif gcc-bootstrap
26895 @if libiberty
26896 TARGET-libiberty=all
26897 maybe-all-libiberty: all-libiberty
26898 all-libiberty: configure-libiberty
26899 @r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 $(HOST_EXPORTS) \
26902 (cd $(HOST_SUBDIR)/libiberty && \
26903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26904 $(TARGET-libiberty))
26905 @endif libiberty
26906
26907
26908
26909 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26910 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26911 maybe-all-stage1-libiberty:
26912 maybe-clean-stage1-libiberty:
26913 @if libiberty-bootstrap
26914 maybe-all-stage1-libiberty: all-stage1-libiberty
26915 all-stage1: all-stage1-libiberty
26916 TARGET-stage1-libiberty = $(TARGET-libiberty)
26917 all-stage1-libiberty: configure-stage1-libiberty
26918 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26919 @r=`${PWD_COMMAND}`; export r; \
26920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26921 TFLAGS="$(STAGE1_TFLAGS)"; \
26922 $(HOST_EXPORTS) \
26923 cd $(HOST_SUBDIR)/libiberty && \
26924 \
26925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26926 CFLAGS="$(STAGE1_CFLAGS)" \
26927 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26928 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26929 LIBCFLAGS="$(LIBCFLAGS)" \
26930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26933 $(EXTRA_HOST_FLAGS) \
26934 $(STAGE1_FLAGS_TO_PASS) \
26935 TFLAGS="$(STAGE1_TFLAGS)" \
26936 $(TARGET-stage1-libiberty)
26937
26938 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26939 clean-stage1: clean-stage1-libiberty
26940 clean-stage1-libiberty:
26941 @if [ $(current_stage) = stage1 ]; then \
26942 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26943 else \
26944 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26945 $(MAKE) stage1-start; \
26946 fi; \
26947 cd $(HOST_SUBDIR)/libiberty && \
26948 $(MAKE) $(EXTRA_HOST_FLAGS) \
26949 $(STAGE1_FLAGS_TO_PASS) clean
26950 @endif libiberty-bootstrap
26951
26952
26953 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26954 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26955 maybe-all-stage2-libiberty:
26956 maybe-clean-stage2-libiberty:
26957 @if libiberty-bootstrap
26958 maybe-all-stage2-libiberty: all-stage2-libiberty
26959 all-stage2: all-stage2-libiberty
26960 TARGET-stage2-libiberty = $(TARGET-libiberty)
26961 all-stage2-libiberty: configure-stage2-libiberty
26962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26963 @r=`${PWD_COMMAND}`; export r; \
26964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 TFLAGS="$(STAGE2_TFLAGS)"; \
26966 $(HOST_EXPORTS) \
26967 $(POSTSTAGE1_HOST_EXPORTS) \
26968 cd $(HOST_SUBDIR)/libiberty && \
26969 \
26970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26971 CFLAGS="$(STAGE2_CFLAGS)" \
26972 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26973 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26974 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26979 TFLAGS="$(STAGE2_TFLAGS)" \
26980 $(TARGET-stage2-libiberty)
26981
26982 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26983 clean-stage2: clean-stage2-libiberty
26984 clean-stage2-libiberty:
26985 @if [ $(current_stage) = stage2 ]; then \
26986 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26987 else \
26988 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26989 $(MAKE) stage2-start; \
26990 fi; \
26991 cd $(HOST_SUBDIR)/libiberty && \
26992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26993 @endif libiberty-bootstrap
26994
26995
26996 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26997 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26998 maybe-all-stage3-libiberty:
26999 maybe-clean-stage3-libiberty:
27000 @if libiberty-bootstrap
27001 maybe-all-stage3-libiberty: all-stage3-libiberty
27002 all-stage3: all-stage3-libiberty
27003 TARGET-stage3-libiberty = $(TARGET-libiberty)
27004 all-stage3-libiberty: configure-stage3-libiberty
27005 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27006 @r=`${PWD_COMMAND}`; export r; \
27007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27008 TFLAGS="$(STAGE3_TFLAGS)"; \
27009 $(HOST_EXPORTS) \
27010 $(POSTSTAGE1_HOST_EXPORTS) \
27011 cd $(HOST_SUBDIR)/libiberty && \
27012 \
27013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27014 CFLAGS="$(STAGE3_CFLAGS)" \
27015 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27016 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27017 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27022 TFLAGS="$(STAGE3_TFLAGS)" \
27023 $(TARGET-stage3-libiberty)
27024
27025 maybe-clean-stage3-libiberty: clean-stage3-libiberty
27026 clean-stage3: clean-stage3-libiberty
27027 clean-stage3-libiberty:
27028 @if [ $(current_stage) = stage3 ]; then \
27029 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27030 else \
27031 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
27032 $(MAKE) stage3-start; \
27033 fi; \
27034 cd $(HOST_SUBDIR)/libiberty && \
27035 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27036 @endif libiberty-bootstrap
27037
27038
27039 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
27040 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
27041 maybe-all-stage4-libiberty:
27042 maybe-clean-stage4-libiberty:
27043 @if libiberty-bootstrap
27044 maybe-all-stage4-libiberty: all-stage4-libiberty
27045 all-stage4: all-stage4-libiberty
27046 TARGET-stage4-libiberty = $(TARGET-libiberty)
27047 all-stage4-libiberty: configure-stage4-libiberty
27048 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27049 @r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 TFLAGS="$(STAGE4_TFLAGS)"; \
27052 $(HOST_EXPORTS) \
27053 $(POSTSTAGE1_HOST_EXPORTS) \
27054 cd $(HOST_SUBDIR)/libiberty && \
27055 \
27056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27057 CFLAGS="$(STAGE4_CFLAGS)" \
27058 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27059 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27060 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27065 TFLAGS="$(STAGE4_TFLAGS)" \
27066 $(TARGET-stage4-libiberty)
27067
27068 maybe-clean-stage4-libiberty: clean-stage4-libiberty
27069 clean-stage4: clean-stage4-libiberty
27070 clean-stage4-libiberty:
27071 @if [ $(current_stage) = stage4 ]; then \
27072 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27073 else \
27074 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
27075 $(MAKE) stage4-start; \
27076 fi; \
27077 cd $(HOST_SUBDIR)/libiberty && \
27078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27079 @endif libiberty-bootstrap
27080
27081
27082 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
27083 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
27084 maybe-all-stageprofile-libiberty:
27085 maybe-clean-stageprofile-libiberty:
27086 @if libiberty-bootstrap
27087 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
27088 all-stageprofile: all-stageprofile-libiberty
27089 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
27090 all-stageprofile-libiberty: configure-stageprofile-libiberty
27091 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27092 @r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27095 $(HOST_EXPORTS) \
27096 $(POSTSTAGE1_HOST_EXPORTS) \
27097 cd $(HOST_SUBDIR)/libiberty && \
27098 \
27099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27100 CFLAGS="$(STAGEprofile_CFLAGS)" \
27101 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27102 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27103 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27107 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27108 TFLAGS="$(STAGEprofile_TFLAGS)" \
27109 $(TARGET-stageprofile-libiberty)
27110
27111 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
27112 clean-stageprofile: clean-stageprofile-libiberty
27113 clean-stageprofile-libiberty:
27114 @if [ $(current_stage) = stageprofile ]; then \
27115 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27116 else \
27117 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
27118 $(MAKE) stageprofile-start; \
27119 fi; \
27120 cd $(HOST_SUBDIR)/libiberty && \
27121 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27122 @endif libiberty-bootstrap
27123
27124
27125 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
27126 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
27127 maybe-all-stagetrain-libiberty:
27128 maybe-clean-stagetrain-libiberty:
27129 @if libiberty-bootstrap
27130 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
27131 all-stagetrain: all-stagetrain-libiberty
27132 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
27133 all-stagetrain-libiberty: configure-stagetrain-libiberty
27134 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27135 @r=`${PWD_COMMAND}`; export r; \
27136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27137 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27138 $(HOST_EXPORTS) \
27139 $(POSTSTAGE1_HOST_EXPORTS) \
27140 cd $(HOST_SUBDIR)/libiberty && \
27141 \
27142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27143 CFLAGS="$(STAGEtrain_CFLAGS)" \
27144 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27145 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27146 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27150 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27151 TFLAGS="$(STAGEtrain_TFLAGS)" \
27152 $(TARGET-stagetrain-libiberty)
27153
27154 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
27155 clean-stagetrain: clean-stagetrain-libiberty
27156 clean-stagetrain-libiberty:
27157 @if [ $(current_stage) = stagetrain ]; then \
27158 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27159 else \
27160 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
27161 $(MAKE) stagetrain-start; \
27162 fi; \
27163 cd $(HOST_SUBDIR)/libiberty && \
27164 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27165 @endif libiberty-bootstrap
27166
27167
27168 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
27169 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
27170 maybe-all-stagefeedback-libiberty:
27171 maybe-clean-stagefeedback-libiberty:
27172 @if libiberty-bootstrap
27173 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
27174 all-stagefeedback: all-stagefeedback-libiberty
27175 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
27176 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
27177 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27178 @r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27181 $(HOST_EXPORTS) \
27182 $(POSTSTAGE1_HOST_EXPORTS) \
27183 cd $(HOST_SUBDIR)/libiberty && \
27184 \
27185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27186 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27187 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27188 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27189 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27193 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27194 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27195 $(TARGET-stagefeedback-libiberty)
27196
27197 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27198 clean-stagefeedback: clean-stagefeedback-libiberty
27199 clean-stagefeedback-libiberty:
27200 @if [ $(current_stage) = stagefeedback ]; then \
27201 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27202 else \
27203 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27204 $(MAKE) stagefeedback-start; \
27205 fi; \
27206 cd $(HOST_SUBDIR)/libiberty && \
27207 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27208 @endif libiberty-bootstrap
27209
27210
27211 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27212 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27213 maybe-all-stageautoprofile-libiberty:
27214 maybe-clean-stageautoprofile-libiberty:
27215 @if libiberty-bootstrap
27216 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27217 all-stageautoprofile: all-stageautoprofile-libiberty
27218 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27219 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27220 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27221 @r=`${PWD_COMMAND}`; export r; \
27222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27223 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27224 $(HOST_EXPORTS) \
27225 $(POSTSTAGE1_HOST_EXPORTS) \
27226 cd $(HOST_SUBDIR)/libiberty && \
27227 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27229 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27230 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27231 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27232 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27237 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27238 $(TARGET-stageautoprofile-libiberty)
27239
27240 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27241 clean-stageautoprofile: clean-stageautoprofile-libiberty
27242 clean-stageautoprofile-libiberty:
27243 @if [ $(current_stage) = stageautoprofile ]; then \
27244 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27245 else \
27246 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27247 $(MAKE) stageautoprofile-start; \
27248 fi; \
27249 cd $(HOST_SUBDIR)/libiberty && \
27250 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27251 @endif libiberty-bootstrap
27252
27253
27254 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27255 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27256 maybe-all-stageautofeedback-libiberty:
27257 maybe-clean-stageautofeedback-libiberty:
27258 @if libiberty-bootstrap
27259 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27260 all-stageautofeedback: all-stageautofeedback-libiberty
27261 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27262 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27263 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27264 @r=`${PWD_COMMAND}`; export r; \
27265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27266 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27267 $(HOST_EXPORTS) \
27268 $(POSTSTAGE1_HOST_EXPORTS) \
27269 cd $(HOST_SUBDIR)/libiberty && \
27270 \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27272 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27273 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27274 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27275 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27280 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27281 $(TARGET-stageautofeedback-libiberty)
27282
27283 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27284 clean-stageautofeedback: clean-stageautofeedback-libiberty
27285 clean-stageautofeedback-libiberty:
27286 @if [ $(current_stage) = stageautofeedback ]; then \
27287 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27288 else \
27289 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27290 $(MAKE) stageautofeedback-start; \
27291 fi; \
27292 cd $(HOST_SUBDIR)/libiberty && \
27293 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27294 @endif libiberty-bootstrap
27295
27296
27297
27298
27299
27300 .PHONY: check-libiberty maybe-check-libiberty
27301 maybe-check-libiberty:
27302 @if libiberty
27303 maybe-check-libiberty: check-libiberty
27304
27305 check-libiberty:
27306 @: $(MAKE); $(unstage)
27307 @r=`${PWD_COMMAND}`; export r; \
27308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27309 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27310 (cd $(HOST_SUBDIR)/libiberty && \
27311 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27312
27313 @endif libiberty
27314
27315 .PHONY: install-libiberty maybe-install-libiberty
27316 maybe-install-libiberty:
27317 @if libiberty
27318 maybe-install-libiberty: install-libiberty
27319
27320 install-libiberty: installdirs
27321 @: $(MAKE); $(unstage)
27322 @r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 $(HOST_EXPORTS) \
27325 (cd $(HOST_SUBDIR)/libiberty && \
27326 $(MAKE) $(FLAGS_TO_PASS) install)
27327
27328 @endif libiberty
27329
27330 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27331 maybe-install-strip-libiberty:
27332 @if libiberty
27333 maybe-install-strip-libiberty: install-strip-libiberty
27334
27335 install-strip-libiberty: installdirs
27336 @: $(MAKE); $(unstage)
27337 @r=`${PWD_COMMAND}`; export r; \
27338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27339 $(HOST_EXPORTS) \
27340 (cd $(HOST_SUBDIR)/libiberty && \
27341 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27342
27343 @endif libiberty
27344
27345 # Other targets (info, dvi, pdf, etc.)
27346
27347 .PHONY: maybe-info-libiberty info-libiberty
27348 maybe-info-libiberty:
27349 @if libiberty
27350 maybe-info-libiberty: info-libiberty
27351
27352 info-libiberty: \
27353 configure-libiberty
27354 @[ -f ./libiberty/Makefile ] || exit 0; \
27355 r=`${PWD_COMMAND}`; export r; \
27356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27357 $(HOST_EXPORTS) \
27358 for flag in $(EXTRA_HOST_FLAGS) ; do \
27359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27360 done; \
27361 echo "Doing info in libiberty"; \
27362 (cd $(HOST_SUBDIR)/libiberty && \
27363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27365 "RANLIB=$${RANLIB}" \
27366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27367 info) \
27368 || exit 1
27369
27370 @endif libiberty
27371
27372 .PHONY: maybe-dvi-libiberty dvi-libiberty
27373 maybe-dvi-libiberty:
27374 @if libiberty
27375 maybe-dvi-libiberty: dvi-libiberty
27376
27377 dvi-libiberty: \
27378 configure-libiberty
27379 @[ -f ./libiberty/Makefile ] || exit 0; \
27380 r=`${PWD_COMMAND}`; export r; \
27381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 $(HOST_EXPORTS) \
27383 for flag in $(EXTRA_HOST_FLAGS) ; do \
27384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27385 done; \
27386 echo "Doing dvi in libiberty"; \
27387 (cd $(HOST_SUBDIR)/libiberty && \
27388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27390 "RANLIB=$${RANLIB}" \
27391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27392 dvi) \
27393 || exit 1
27394
27395 @endif libiberty
27396
27397 .PHONY: maybe-pdf-libiberty pdf-libiberty
27398 maybe-pdf-libiberty:
27399 @if libiberty
27400 maybe-pdf-libiberty: pdf-libiberty
27401
27402 pdf-libiberty: \
27403 configure-libiberty
27404 @[ -f ./libiberty/Makefile ] || exit 0; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(HOST_EXPORTS) \
27408 for flag in $(EXTRA_HOST_FLAGS) ; do \
27409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27410 done; \
27411 echo "Doing pdf in libiberty"; \
27412 (cd $(HOST_SUBDIR)/libiberty && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27417 pdf) \
27418 || exit 1
27419
27420 @endif libiberty
27421
27422 .PHONY: maybe-html-libiberty html-libiberty
27423 maybe-html-libiberty:
27424 @if libiberty
27425 maybe-html-libiberty: html-libiberty
27426
27427 html-libiberty: \
27428 configure-libiberty
27429 @[ -f ./libiberty/Makefile ] || exit 0; \
27430 r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(HOST_EXPORTS) \
27433 for flag in $(EXTRA_HOST_FLAGS) ; do \
27434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27435 done; \
27436 echo "Doing html in libiberty"; \
27437 (cd $(HOST_SUBDIR)/libiberty && \
27438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27440 "RANLIB=$${RANLIB}" \
27441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27442 html) \
27443 || exit 1
27444
27445 @endif libiberty
27446
27447 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27448 maybe-TAGS-libiberty:
27449 @if libiberty
27450 maybe-TAGS-libiberty: TAGS-libiberty
27451
27452 TAGS-libiberty: \
27453 configure-libiberty
27454 @[ -f ./libiberty/Makefile ] || exit 0; \
27455 r=`${PWD_COMMAND}`; export r; \
27456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27457 $(HOST_EXPORTS) \
27458 for flag in $(EXTRA_HOST_FLAGS) ; do \
27459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27460 done; \
27461 echo "Doing TAGS in libiberty"; \
27462 (cd $(HOST_SUBDIR)/libiberty && \
27463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27465 "RANLIB=$${RANLIB}" \
27466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27467 TAGS) \
27468 || exit 1
27469
27470 @endif libiberty
27471
27472 .PHONY: maybe-install-info-libiberty install-info-libiberty
27473 maybe-install-info-libiberty:
27474 @if libiberty
27475 maybe-install-info-libiberty: install-info-libiberty
27476
27477 install-info-libiberty: \
27478 configure-libiberty \
27479 info-libiberty
27480 @[ -f ./libiberty/Makefile ] || exit 0; \
27481 r=`${PWD_COMMAND}`; export r; \
27482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27483 $(HOST_EXPORTS) \
27484 for flag in $(EXTRA_HOST_FLAGS) ; do \
27485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27486 done; \
27487 echo "Doing install-info in libiberty"; \
27488 (cd $(HOST_SUBDIR)/libiberty && \
27489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27491 "RANLIB=$${RANLIB}" \
27492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27493 install-info) \
27494 || exit 1
27495
27496 @endif libiberty
27497
27498 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27499 maybe-install-pdf-libiberty:
27500 @if libiberty
27501 maybe-install-pdf-libiberty: install-pdf-libiberty
27502
27503 install-pdf-libiberty: \
27504 configure-libiberty \
27505 pdf-libiberty
27506 @[ -f ./libiberty/Makefile ] || exit 0; \
27507 r=`${PWD_COMMAND}`; export r; \
27508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27509 $(HOST_EXPORTS) \
27510 for flag in $(EXTRA_HOST_FLAGS) ; do \
27511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27512 done; \
27513 echo "Doing install-pdf in libiberty"; \
27514 (cd $(HOST_SUBDIR)/libiberty && \
27515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27517 "RANLIB=$${RANLIB}" \
27518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27519 install-pdf) \
27520 || exit 1
27521
27522 @endif libiberty
27523
27524 .PHONY: maybe-install-html-libiberty install-html-libiberty
27525 maybe-install-html-libiberty:
27526 @if libiberty
27527 maybe-install-html-libiberty: install-html-libiberty
27528
27529 install-html-libiberty: \
27530 configure-libiberty \
27531 html-libiberty
27532 @[ -f ./libiberty/Makefile ] || exit 0; \
27533 r=`${PWD_COMMAND}`; export r; \
27534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27535 $(HOST_EXPORTS) \
27536 for flag in $(EXTRA_HOST_FLAGS) ; do \
27537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27538 done; \
27539 echo "Doing install-html in libiberty"; \
27540 (cd $(HOST_SUBDIR)/libiberty && \
27541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27543 "RANLIB=$${RANLIB}" \
27544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27545 install-html) \
27546 || exit 1
27547
27548 @endif libiberty
27549
27550 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27551 maybe-installcheck-libiberty:
27552 @if libiberty
27553 maybe-installcheck-libiberty: installcheck-libiberty
27554
27555 installcheck-libiberty: \
27556 configure-libiberty
27557 @[ -f ./libiberty/Makefile ] || exit 0; \
27558 r=`${PWD_COMMAND}`; export r; \
27559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27560 $(HOST_EXPORTS) \
27561 for flag in $(EXTRA_HOST_FLAGS) ; do \
27562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27563 done; \
27564 echo "Doing installcheck in libiberty"; \
27565 (cd $(HOST_SUBDIR)/libiberty && \
27566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27568 "RANLIB=$${RANLIB}" \
27569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27570 installcheck) \
27571 || exit 1
27572
27573 @endif libiberty
27574
27575 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27576 maybe-mostlyclean-libiberty:
27577 @if libiberty
27578 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27579
27580 mostlyclean-libiberty:
27581 @[ -f ./libiberty/Makefile ] || exit 0; \
27582 r=`${PWD_COMMAND}`; export r; \
27583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27584 $(HOST_EXPORTS) \
27585 for flag in $(EXTRA_HOST_FLAGS) ; do \
27586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27587 done; \
27588 echo "Doing mostlyclean in libiberty"; \
27589 (cd $(HOST_SUBDIR)/libiberty && \
27590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27592 "RANLIB=$${RANLIB}" \
27593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27594 mostlyclean) \
27595 || exit 1
27596
27597 @endif libiberty
27598
27599 .PHONY: maybe-clean-libiberty clean-libiberty
27600 maybe-clean-libiberty:
27601 @if libiberty
27602 maybe-clean-libiberty: clean-libiberty
27603
27604 clean-libiberty:
27605 @[ -f ./libiberty/Makefile ] || exit 0; \
27606 r=`${PWD_COMMAND}`; export r; \
27607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27608 $(HOST_EXPORTS) \
27609 for flag in $(EXTRA_HOST_FLAGS) ; do \
27610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27611 done; \
27612 echo "Doing clean in libiberty"; \
27613 (cd $(HOST_SUBDIR)/libiberty && \
27614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27616 "RANLIB=$${RANLIB}" \
27617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27618 clean) \
27619 || exit 1
27620
27621 @endif libiberty
27622
27623 .PHONY: maybe-distclean-libiberty distclean-libiberty
27624 maybe-distclean-libiberty:
27625 @if libiberty
27626 maybe-distclean-libiberty: distclean-libiberty
27627
27628 distclean-libiberty:
27629 @[ -f ./libiberty/Makefile ] || exit 0; \
27630 r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632 $(HOST_EXPORTS) \
27633 for flag in $(EXTRA_HOST_FLAGS) ; do \
27634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27635 done; \
27636 echo "Doing distclean in libiberty"; \
27637 (cd $(HOST_SUBDIR)/libiberty && \
27638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27640 "RANLIB=$${RANLIB}" \
27641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27642 distclean) \
27643 || exit 1
27644
27645 @endif libiberty
27646
27647 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27648 maybe-maintainer-clean-libiberty:
27649 @if libiberty
27650 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27651
27652 maintainer-clean-libiberty:
27653 @[ -f ./libiberty/Makefile ] || exit 0; \
27654 r=`${PWD_COMMAND}`; export r; \
27655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27656 $(HOST_EXPORTS) \
27657 for flag in $(EXTRA_HOST_FLAGS) ; do \
27658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27659 done; \
27660 echo "Doing maintainer-clean in libiberty"; \
27661 (cd $(HOST_SUBDIR)/libiberty && \
27662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27664 "RANLIB=$${RANLIB}" \
27665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27666 maintainer-clean) \
27667 || exit 1
27668
27669 @endif libiberty
27670
27671
27672
27673 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27674 maybe-configure-libiberty-linker-plugin:
27675 @if gcc-bootstrap
27676 configure-libiberty-linker-plugin: stage_current
27677 @endif gcc-bootstrap
27678 @if libiberty-linker-plugin
27679 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27680 configure-libiberty-linker-plugin:
27681 @r=`${PWD_COMMAND}`; export r; \
27682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27683 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27685 $(HOST_EXPORTS) \
27686 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27687 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27688 case $(srcdir) in \
27689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27690 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27692 esac; \
27693 module_srcdir=libiberty; \
27694 $(SHELL) \
27695 $$s/$$module_srcdir/configure \
27696 --srcdir=$${topdir}/$$module_srcdir \
27697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27698 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27699 || exit 1
27700 @endif libiberty-linker-plugin
27701
27702
27703
27704 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27705 maybe-configure-stage1-libiberty-linker-plugin:
27706 @if libiberty-linker-plugin-bootstrap
27707 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27708 configure-stage1-libiberty-linker-plugin:
27709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27711 @r=`${PWD_COMMAND}`; export r; \
27712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27713 TFLAGS="$(STAGE1_TFLAGS)"; \
27714 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27715 $(HOST_EXPORTS) \
27716 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27717 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27718 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27719 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27721 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27722 case $(srcdir) in \
27723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27724 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27726 esac; \
27727 module_srcdir=libiberty; \
27728 $(SHELL) $$s/$$module_srcdir/configure \
27729 --srcdir=$${topdir}/$$module_srcdir \
27730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27731 --target=${target_alias} \
27732 \
27733 $(STAGE1_CONFIGURE_FLAGS) \
27734 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27735 @endif libiberty-linker-plugin-bootstrap
27736
27737 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27738 maybe-configure-stage2-libiberty-linker-plugin:
27739 @if libiberty-linker-plugin-bootstrap
27740 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27741 configure-stage2-libiberty-linker-plugin:
27742 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27744 @r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 TFLAGS="$(STAGE2_TFLAGS)"; \
27747 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27748 $(HOST_EXPORTS) \
27749 $(POSTSTAGE1_HOST_EXPORTS) \
27750 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27751 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27752 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27753 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27755 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27756 case $(srcdir) in \
27757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27758 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27760 esac; \
27761 module_srcdir=libiberty; \
27762 $(SHELL) $$s/$$module_srcdir/configure \
27763 --srcdir=$${topdir}/$$module_srcdir \
27764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27765 --target=${target_alias} \
27766 --with-build-libsubdir=$(HOST_SUBDIR) \
27767 $(STAGE2_CONFIGURE_FLAGS) \
27768 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27769 @endif libiberty-linker-plugin-bootstrap
27770
27771 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27772 maybe-configure-stage3-libiberty-linker-plugin:
27773 @if libiberty-linker-plugin-bootstrap
27774 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27775 configure-stage3-libiberty-linker-plugin:
27776 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27778 @r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 TFLAGS="$(STAGE3_TFLAGS)"; \
27781 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27782 $(HOST_EXPORTS) \
27783 $(POSTSTAGE1_HOST_EXPORTS) \
27784 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27785 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27786 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27787 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27789 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27790 case $(srcdir) in \
27791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27792 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27794 esac; \
27795 module_srcdir=libiberty; \
27796 $(SHELL) $$s/$$module_srcdir/configure \
27797 --srcdir=$${topdir}/$$module_srcdir \
27798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27799 --target=${target_alias} \
27800 --with-build-libsubdir=$(HOST_SUBDIR) \
27801 $(STAGE3_CONFIGURE_FLAGS) \
27802 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27803 @endif libiberty-linker-plugin-bootstrap
27804
27805 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27806 maybe-configure-stage4-libiberty-linker-plugin:
27807 @if libiberty-linker-plugin-bootstrap
27808 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27809 configure-stage4-libiberty-linker-plugin:
27810 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27812 @r=`${PWD_COMMAND}`; export r; \
27813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27814 TFLAGS="$(STAGE4_TFLAGS)"; \
27815 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27816 $(HOST_EXPORTS) \
27817 $(POSTSTAGE1_HOST_EXPORTS) \
27818 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27819 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27820 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27821 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27823 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27824 case $(srcdir) in \
27825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27826 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27828 esac; \
27829 module_srcdir=libiberty; \
27830 $(SHELL) $$s/$$module_srcdir/configure \
27831 --srcdir=$${topdir}/$$module_srcdir \
27832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27833 --target=${target_alias} \
27834 --with-build-libsubdir=$(HOST_SUBDIR) \
27835 $(STAGE4_CONFIGURE_FLAGS) \
27836 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27837 @endif libiberty-linker-plugin-bootstrap
27838
27839 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27840 maybe-configure-stageprofile-libiberty-linker-plugin:
27841 @if libiberty-linker-plugin-bootstrap
27842 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27843 configure-stageprofile-libiberty-linker-plugin:
27844 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27846 @r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27849 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27850 $(HOST_EXPORTS) \
27851 $(POSTSTAGE1_HOST_EXPORTS) \
27852 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27853 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27854 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27855 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27857 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27858 case $(srcdir) in \
27859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27860 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27862 esac; \
27863 module_srcdir=libiberty; \
27864 $(SHELL) $$s/$$module_srcdir/configure \
27865 --srcdir=$${topdir}/$$module_srcdir \
27866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27867 --target=${target_alias} \
27868 --with-build-libsubdir=$(HOST_SUBDIR) \
27869 $(STAGEprofile_CONFIGURE_FLAGS) \
27870 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27871 @endif libiberty-linker-plugin-bootstrap
27872
27873 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27874 maybe-configure-stagetrain-libiberty-linker-plugin:
27875 @if libiberty-linker-plugin-bootstrap
27876 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27877 configure-stagetrain-libiberty-linker-plugin:
27878 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27880 @r=`${PWD_COMMAND}`; export r; \
27881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27883 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27884 $(HOST_EXPORTS) \
27885 $(POSTSTAGE1_HOST_EXPORTS) \
27886 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27887 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27888 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27889 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27891 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27892 case $(srcdir) in \
27893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27894 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27896 esac; \
27897 module_srcdir=libiberty; \
27898 $(SHELL) $$s/$$module_srcdir/configure \
27899 --srcdir=$${topdir}/$$module_srcdir \
27900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27901 --target=${target_alias} \
27902 --with-build-libsubdir=$(HOST_SUBDIR) \
27903 $(STAGEtrain_CONFIGURE_FLAGS) \
27904 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27905 @endif libiberty-linker-plugin-bootstrap
27906
27907 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27908 maybe-configure-stagefeedback-libiberty-linker-plugin:
27909 @if libiberty-linker-plugin-bootstrap
27910 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27911 configure-stagefeedback-libiberty-linker-plugin:
27912 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27914 @r=`${PWD_COMMAND}`; export r; \
27915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27916 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27917 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27918 $(HOST_EXPORTS) \
27919 $(POSTSTAGE1_HOST_EXPORTS) \
27920 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27921 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27922 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27923 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27925 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27926 case $(srcdir) in \
27927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27928 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27930 esac; \
27931 module_srcdir=libiberty; \
27932 $(SHELL) $$s/$$module_srcdir/configure \
27933 --srcdir=$${topdir}/$$module_srcdir \
27934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27935 --target=${target_alias} \
27936 --with-build-libsubdir=$(HOST_SUBDIR) \
27937 $(STAGEfeedback_CONFIGURE_FLAGS) \
27938 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27939 @endif libiberty-linker-plugin-bootstrap
27940
27941 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27942 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27943 @if libiberty-linker-plugin-bootstrap
27944 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27945 configure-stageautoprofile-libiberty-linker-plugin:
27946 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27948 @r=`${PWD_COMMAND}`; export r; \
27949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27950 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27951 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27952 $(HOST_EXPORTS) \
27953 $(POSTSTAGE1_HOST_EXPORTS) \
27954 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27955 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27956 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27957 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27959 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27960 case $(srcdir) in \
27961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27962 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27964 esac; \
27965 module_srcdir=libiberty; \
27966 $(SHELL) $$s/$$module_srcdir/configure \
27967 --srcdir=$${topdir}/$$module_srcdir \
27968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27969 --target=${target_alias} \
27970 --with-build-libsubdir=$(HOST_SUBDIR) \
27971 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27972 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27973 @endif libiberty-linker-plugin-bootstrap
27974
27975 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27976 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27977 @if libiberty-linker-plugin-bootstrap
27978 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27979 configure-stageautofeedback-libiberty-linker-plugin:
27980 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27982 @r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27985 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27986 $(HOST_EXPORTS) \
27987 $(POSTSTAGE1_HOST_EXPORTS) \
27988 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27989 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27990 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27991 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27993 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27994 case $(srcdir) in \
27995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27996 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27998 esac; \
27999 module_srcdir=libiberty; \
28000 $(SHELL) $$s/$$module_srcdir/configure \
28001 --srcdir=$${topdir}/$$module_srcdir \
28002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28003 --target=${target_alias} \
28004 --with-build-libsubdir=$(HOST_SUBDIR) \
28005 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28006 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28007 @endif libiberty-linker-plugin-bootstrap
28008
28009
28010
28011
28012
28013 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
28014 maybe-all-libiberty-linker-plugin:
28015 @if gcc-bootstrap
28016 all-libiberty-linker-plugin: stage_current
28017 @endif gcc-bootstrap
28018 @if libiberty-linker-plugin
28019 TARGET-libiberty-linker-plugin=all
28020 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
28021 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
28022 @r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 $(HOST_EXPORTS) \
28025 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28027 $(TARGET-libiberty-linker-plugin))
28028 @endif libiberty-linker-plugin
28029
28030
28031
28032 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
28033 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
28034 maybe-all-stage1-libiberty-linker-plugin:
28035 maybe-clean-stage1-libiberty-linker-plugin:
28036 @if libiberty-linker-plugin-bootstrap
28037 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
28038 all-stage1: all-stage1-libiberty-linker-plugin
28039 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28040 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
28041 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28042 @r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 TFLAGS="$(STAGE1_TFLAGS)"; \
28045 $(HOST_EXPORTS) \
28046 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28047 \
28048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28049 CFLAGS="$(STAGE1_CFLAGS)" \
28050 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28051 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28052 LIBCFLAGS="$(LIBCFLAGS)" \
28053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28056 $(EXTRA_HOST_FLAGS) \
28057 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28058 TFLAGS="$(STAGE1_TFLAGS)" \
28059 $(TARGET-stage1-libiberty-linker-plugin)
28060
28061 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
28062 clean-stage1: clean-stage1-libiberty-linker-plugin
28063 clean-stage1-libiberty-linker-plugin:
28064 @if [ $(current_stage) = stage1 ]; then \
28065 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28066 else \
28067 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
28068 $(MAKE) stage1-start; \
28069 fi; \
28070 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28071 $(MAKE) $(EXTRA_HOST_FLAGS) \
28072 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28073 @endif libiberty-linker-plugin-bootstrap
28074
28075
28076 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
28077 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
28078 maybe-all-stage2-libiberty-linker-plugin:
28079 maybe-clean-stage2-libiberty-linker-plugin:
28080 @if libiberty-linker-plugin-bootstrap
28081 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
28082 all-stage2: all-stage2-libiberty-linker-plugin
28083 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28084 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
28085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28086 @r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28088 TFLAGS="$(STAGE2_TFLAGS)"; \
28089 $(HOST_EXPORTS) \
28090 $(POSTSTAGE1_HOST_EXPORTS) \
28091 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28092 \
28093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28094 CFLAGS="$(STAGE2_CFLAGS)" \
28095 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28096 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28097 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28102 TFLAGS="$(STAGE2_TFLAGS)" \
28103 $(TARGET-stage2-libiberty-linker-plugin)
28104
28105 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
28106 clean-stage2: clean-stage2-libiberty-linker-plugin
28107 clean-stage2-libiberty-linker-plugin:
28108 @if [ $(current_stage) = stage2 ]; then \
28109 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28110 else \
28111 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
28112 $(MAKE) stage2-start; \
28113 fi; \
28114 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28116 @endif libiberty-linker-plugin-bootstrap
28117
28118
28119 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
28120 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
28121 maybe-all-stage3-libiberty-linker-plugin:
28122 maybe-clean-stage3-libiberty-linker-plugin:
28123 @if libiberty-linker-plugin-bootstrap
28124 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
28125 all-stage3: all-stage3-libiberty-linker-plugin
28126 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28127 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
28128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28129 @r=`${PWD_COMMAND}`; export r; \
28130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28131 TFLAGS="$(STAGE3_TFLAGS)"; \
28132 $(HOST_EXPORTS) \
28133 $(POSTSTAGE1_HOST_EXPORTS) \
28134 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28135 \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28137 CFLAGS="$(STAGE3_CFLAGS)" \
28138 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28139 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28140 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28145 TFLAGS="$(STAGE3_TFLAGS)" \
28146 $(TARGET-stage3-libiberty-linker-plugin)
28147
28148 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
28149 clean-stage3: clean-stage3-libiberty-linker-plugin
28150 clean-stage3-libiberty-linker-plugin:
28151 @if [ $(current_stage) = stage3 ]; then \
28152 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28153 else \
28154 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
28155 $(MAKE) stage3-start; \
28156 fi; \
28157 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28159 @endif libiberty-linker-plugin-bootstrap
28160
28161
28162 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
28163 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
28164 maybe-all-stage4-libiberty-linker-plugin:
28165 maybe-clean-stage4-libiberty-linker-plugin:
28166 @if libiberty-linker-plugin-bootstrap
28167 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
28168 all-stage4: all-stage4-libiberty-linker-plugin
28169 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28170 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
28171 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28172 @r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 TFLAGS="$(STAGE4_TFLAGS)"; \
28175 $(HOST_EXPORTS) \
28176 $(POSTSTAGE1_HOST_EXPORTS) \
28177 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28178 \
28179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28180 CFLAGS="$(STAGE4_CFLAGS)" \
28181 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28182 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28183 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28188 TFLAGS="$(STAGE4_TFLAGS)" \
28189 $(TARGET-stage4-libiberty-linker-plugin)
28190
28191 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
28192 clean-stage4: clean-stage4-libiberty-linker-plugin
28193 clean-stage4-libiberty-linker-plugin:
28194 @if [ $(current_stage) = stage4 ]; then \
28195 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28196 else \
28197 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
28198 $(MAKE) stage4-start; \
28199 fi; \
28200 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28202 @endif libiberty-linker-plugin-bootstrap
28203
28204
28205 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28206 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28207 maybe-all-stageprofile-libiberty-linker-plugin:
28208 maybe-clean-stageprofile-libiberty-linker-plugin:
28209 @if libiberty-linker-plugin-bootstrap
28210 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28211 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28212 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28213 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28214 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28215 @r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28218 $(HOST_EXPORTS) \
28219 $(POSTSTAGE1_HOST_EXPORTS) \
28220 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28221 \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28223 CFLAGS="$(STAGEprofile_CFLAGS)" \
28224 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
28225 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28226 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28231 TFLAGS="$(STAGEprofile_TFLAGS)" \
28232 $(TARGET-stageprofile-libiberty-linker-plugin)
28233
28234 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28235 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28236 clean-stageprofile-libiberty-linker-plugin:
28237 @if [ $(current_stage) = stageprofile ]; then \
28238 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28239 else \
28240 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28241 $(MAKE) stageprofile-start; \
28242 fi; \
28243 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28245 @endif libiberty-linker-plugin-bootstrap
28246
28247
28248 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28249 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28250 maybe-all-stagetrain-libiberty-linker-plugin:
28251 maybe-clean-stagetrain-libiberty-linker-plugin:
28252 @if libiberty-linker-plugin-bootstrap
28253 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28254 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28255 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28256 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28257 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28258 @r=`${PWD_COMMAND}`; export r; \
28259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28260 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28261 $(HOST_EXPORTS) \
28262 $(POSTSTAGE1_HOST_EXPORTS) \
28263 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28264 \
28265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28266 CFLAGS="$(STAGEtrain_CFLAGS)" \
28267 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
28268 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28269 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28274 TFLAGS="$(STAGEtrain_TFLAGS)" \
28275 $(TARGET-stagetrain-libiberty-linker-plugin)
28276
28277 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28278 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28279 clean-stagetrain-libiberty-linker-plugin:
28280 @if [ $(current_stage) = stagetrain ]; then \
28281 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28282 else \
28283 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28284 $(MAKE) stagetrain-start; \
28285 fi; \
28286 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28288 @endif libiberty-linker-plugin-bootstrap
28289
28290
28291 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28292 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28293 maybe-all-stagefeedback-libiberty-linker-plugin:
28294 maybe-clean-stagefeedback-libiberty-linker-plugin:
28295 @if libiberty-linker-plugin-bootstrap
28296 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28297 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28298 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28299 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28301 @r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28304 $(HOST_EXPORTS) \
28305 $(POSTSTAGE1_HOST_EXPORTS) \
28306 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28307 \
28308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28309 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28310 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
28311 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28312 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28317 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28318 $(TARGET-stagefeedback-libiberty-linker-plugin)
28319
28320 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28321 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28322 clean-stagefeedback-libiberty-linker-plugin:
28323 @if [ $(current_stage) = stagefeedback ]; then \
28324 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28325 else \
28326 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28327 $(MAKE) stagefeedback-start; \
28328 fi; \
28329 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28331 @endif libiberty-linker-plugin-bootstrap
28332
28333
28334 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28335 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28336 maybe-all-stageautoprofile-libiberty-linker-plugin:
28337 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28338 @if libiberty-linker-plugin-bootstrap
28339 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28340 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28341 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28342 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28343 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28344 @r=`${PWD_COMMAND}`; export r; \
28345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28346 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28347 $(HOST_EXPORTS) \
28348 $(POSTSTAGE1_HOST_EXPORTS) \
28349 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28350 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28352 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28353 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28354 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28355 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28360 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28361 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28362
28363 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28364 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28365 clean-stageautoprofile-libiberty-linker-plugin:
28366 @if [ $(current_stage) = stageautoprofile ]; then \
28367 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28368 else \
28369 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28370 $(MAKE) stageautoprofile-start; \
28371 fi; \
28372 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28374 @endif libiberty-linker-plugin-bootstrap
28375
28376
28377 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28378 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28379 maybe-all-stageautofeedback-libiberty-linker-plugin:
28380 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28381 @if libiberty-linker-plugin-bootstrap
28382 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28383 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28384 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28385 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28386 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28387 @r=`${PWD_COMMAND}`; export r; \
28388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28389 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28390 $(HOST_EXPORTS) \
28391 $(POSTSTAGE1_HOST_EXPORTS) \
28392 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28393 \
28394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28395 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28396 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28397 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28398 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28403 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28404 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28405
28406 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28407 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28408 clean-stageautofeedback-libiberty-linker-plugin:
28409 @if [ $(current_stage) = stageautofeedback ]; then \
28410 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28411 else \
28412 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28413 $(MAKE) stageautofeedback-start; \
28414 fi; \
28415 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28417 @endif libiberty-linker-plugin-bootstrap
28418
28419
28420
28421
28422
28423 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28424 maybe-check-libiberty-linker-plugin:
28425 @if libiberty-linker-plugin
28426 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28427
28428 check-libiberty-linker-plugin:
28429 @: $(MAKE); $(unstage)
28430 @r=`${PWD_COMMAND}`; export r; \
28431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28432 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28433 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28434 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28435
28436 @endif libiberty-linker-plugin
28437
28438 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28439 maybe-install-libiberty-linker-plugin:
28440 @if libiberty-linker-plugin
28441 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28442
28443 install-libiberty-linker-plugin: installdirs
28444 @: $(MAKE); $(unstage)
28445 @r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 $(HOST_EXPORTS) \
28448 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28449 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28450
28451 @endif libiberty-linker-plugin
28452
28453 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28454 maybe-install-strip-libiberty-linker-plugin:
28455 @if libiberty-linker-plugin
28456 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28457
28458 install-strip-libiberty-linker-plugin: installdirs
28459 @: $(MAKE); $(unstage)
28460 @r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28464 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28465
28466 @endif libiberty-linker-plugin
28467
28468 # Other targets (info, dvi, pdf, etc.)
28469
28470 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28471 maybe-info-libiberty-linker-plugin:
28472 @if libiberty-linker-plugin
28473 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28474
28475 info-libiberty-linker-plugin: \
28476 configure-libiberty-linker-plugin
28477 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28478 r=`${PWD_COMMAND}`; export r; \
28479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28480 $(HOST_EXPORTS) \
28481 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28483 done; \
28484 echo "Doing info in libiberty-linker-plugin"; \
28485 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28488 "RANLIB=$${RANLIB}" \
28489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28490 info) \
28491 || exit 1
28492
28493 @endif libiberty-linker-plugin
28494
28495 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28496 maybe-dvi-libiberty-linker-plugin:
28497 @if libiberty-linker-plugin
28498 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28499
28500 dvi-libiberty-linker-plugin: \
28501 configure-libiberty-linker-plugin
28502 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28503 r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28508 done; \
28509 echo "Doing dvi in libiberty-linker-plugin"; \
28510 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28513 "RANLIB=$${RANLIB}" \
28514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28515 dvi) \
28516 || exit 1
28517
28518 @endif libiberty-linker-plugin
28519
28520 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28521 maybe-pdf-libiberty-linker-plugin:
28522 @if libiberty-linker-plugin
28523 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28524
28525 pdf-libiberty-linker-plugin: \
28526 configure-libiberty-linker-plugin
28527 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28528 r=`${PWD_COMMAND}`; export r; \
28529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28530 $(HOST_EXPORTS) \
28531 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28533 done; \
28534 echo "Doing pdf in libiberty-linker-plugin"; \
28535 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28538 "RANLIB=$${RANLIB}" \
28539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28540 pdf) \
28541 || exit 1
28542
28543 @endif libiberty-linker-plugin
28544
28545 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28546 maybe-html-libiberty-linker-plugin:
28547 @if libiberty-linker-plugin
28548 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28549
28550 html-libiberty-linker-plugin: \
28551 configure-libiberty-linker-plugin
28552 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28553 r=`${PWD_COMMAND}`; export r; \
28554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28555 $(HOST_EXPORTS) \
28556 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28558 done; \
28559 echo "Doing html in libiberty-linker-plugin"; \
28560 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28563 "RANLIB=$${RANLIB}" \
28564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28565 html) \
28566 || exit 1
28567
28568 @endif libiberty-linker-plugin
28569
28570 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28571 maybe-TAGS-libiberty-linker-plugin:
28572 @if libiberty-linker-plugin
28573 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28574
28575 TAGS-libiberty-linker-plugin: \
28576 configure-libiberty-linker-plugin
28577 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28578 r=`${PWD_COMMAND}`; export r; \
28579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28580 $(HOST_EXPORTS) \
28581 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28583 done; \
28584 echo "Doing TAGS in libiberty-linker-plugin"; \
28585 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28588 "RANLIB=$${RANLIB}" \
28589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28590 TAGS) \
28591 || exit 1
28592
28593 @endif libiberty-linker-plugin
28594
28595 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28596 maybe-install-info-libiberty-linker-plugin:
28597 @if libiberty-linker-plugin
28598 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28599
28600 install-info-libiberty-linker-plugin: \
28601 configure-libiberty-linker-plugin \
28602 info-libiberty-linker-plugin
28603 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28604 r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28606 $(HOST_EXPORTS) \
28607 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28609 done; \
28610 echo "Doing install-info in libiberty-linker-plugin"; \
28611 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28614 "RANLIB=$${RANLIB}" \
28615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28616 install-info) \
28617 || exit 1
28618
28619 @endif libiberty-linker-plugin
28620
28621 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28622 maybe-install-pdf-libiberty-linker-plugin:
28623 @if libiberty-linker-plugin
28624 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28625
28626 install-pdf-libiberty-linker-plugin: \
28627 configure-libiberty-linker-plugin \
28628 pdf-libiberty-linker-plugin
28629 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28630 r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(HOST_EXPORTS) \
28633 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28635 done; \
28636 echo "Doing install-pdf in libiberty-linker-plugin"; \
28637 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28640 "RANLIB=$${RANLIB}" \
28641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28642 install-pdf) \
28643 || exit 1
28644
28645 @endif libiberty-linker-plugin
28646
28647 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28648 maybe-install-html-libiberty-linker-plugin:
28649 @if libiberty-linker-plugin
28650 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28651
28652 install-html-libiberty-linker-plugin: \
28653 configure-libiberty-linker-plugin \
28654 html-libiberty-linker-plugin
28655 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28656 r=`${PWD_COMMAND}`; export r; \
28657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28658 $(HOST_EXPORTS) \
28659 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28661 done; \
28662 echo "Doing install-html in libiberty-linker-plugin"; \
28663 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28666 "RANLIB=$${RANLIB}" \
28667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28668 install-html) \
28669 || exit 1
28670
28671 @endif libiberty-linker-plugin
28672
28673 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28674 maybe-installcheck-libiberty-linker-plugin:
28675 @if libiberty-linker-plugin
28676 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28677
28678 installcheck-libiberty-linker-plugin: \
28679 configure-libiberty-linker-plugin
28680 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28681 r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28683 $(HOST_EXPORTS) \
28684 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28686 done; \
28687 echo "Doing installcheck in libiberty-linker-plugin"; \
28688 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28691 "RANLIB=$${RANLIB}" \
28692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28693 installcheck) \
28694 || exit 1
28695
28696 @endif libiberty-linker-plugin
28697
28698 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28699 maybe-mostlyclean-libiberty-linker-plugin:
28700 @if libiberty-linker-plugin
28701 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28702
28703 mostlyclean-libiberty-linker-plugin:
28704 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28705 r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(HOST_EXPORTS) \
28708 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28710 done; \
28711 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28712 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28715 "RANLIB=$${RANLIB}" \
28716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28717 mostlyclean) \
28718 || exit 1
28719
28720 @endif libiberty-linker-plugin
28721
28722 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28723 maybe-clean-libiberty-linker-plugin:
28724 @if libiberty-linker-plugin
28725 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28726
28727 clean-libiberty-linker-plugin:
28728 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28729 r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(HOST_EXPORTS) \
28732 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28734 done; \
28735 echo "Doing clean in libiberty-linker-plugin"; \
28736 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28739 "RANLIB=$${RANLIB}" \
28740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28741 clean) \
28742 || exit 1
28743
28744 @endif libiberty-linker-plugin
28745
28746 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28747 maybe-distclean-libiberty-linker-plugin:
28748 @if libiberty-linker-plugin
28749 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28750
28751 distclean-libiberty-linker-plugin:
28752 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28753 r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 $(HOST_EXPORTS) \
28756 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28758 done; \
28759 echo "Doing distclean in libiberty-linker-plugin"; \
28760 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28763 "RANLIB=$${RANLIB}" \
28764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28765 distclean) \
28766 || exit 1
28767
28768 @endif libiberty-linker-plugin
28769
28770 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28771 maybe-maintainer-clean-libiberty-linker-plugin:
28772 @if libiberty-linker-plugin
28773 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28774
28775 maintainer-clean-libiberty-linker-plugin:
28776 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28777 r=`${PWD_COMMAND}`; export r; \
28778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28779 $(HOST_EXPORTS) \
28780 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28782 done; \
28783 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28784 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28787 "RANLIB=$${RANLIB}" \
28788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28789 maintainer-clean) \
28790 || exit 1
28791
28792 @endif libiberty-linker-plugin
28793
28794
28795
28796 .PHONY: configure-libiconv maybe-configure-libiconv
28797 maybe-configure-libiconv:
28798 @if gcc-bootstrap
28799 configure-libiconv: stage_current
28800 @endif gcc-bootstrap
28801 @if libiconv
28802 maybe-configure-libiconv: configure-libiconv
28803 configure-libiconv:
28804 @r=`${PWD_COMMAND}`; export r; \
28805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28806 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28808 $(HOST_EXPORTS) \
28809 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28810 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28811 case $(srcdir) in \
28812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28813 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28815 esac; \
28816 module_srcdir=libiconv; \
28817 $(SHELL) \
28818 $$s/$$module_srcdir/configure \
28819 --srcdir=$${topdir}/$$module_srcdir \
28820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28821 --target=${target_alias} --disable-shared \
28822 || exit 1
28823 @endif libiconv
28824
28825
28826
28827 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28828 maybe-configure-stage1-libiconv:
28829 @if libiconv-bootstrap
28830 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28831 configure-stage1-libiconv:
28832 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28834 @r=`${PWD_COMMAND}`; export r; \
28835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28836 TFLAGS="$(STAGE1_TFLAGS)"; \
28837 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28838 $(HOST_EXPORTS) \
28839 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28840 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28841 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28842 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28844 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28845 case $(srcdir) in \
28846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28847 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28849 esac; \
28850 module_srcdir=libiconv; \
28851 $(SHELL) $$s/$$module_srcdir/configure \
28852 --srcdir=$${topdir}/$$module_srcdir \
28853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28854 --target=${target_alias} \
28855 \
28856 $(STAGE1_CONFIGURE_FLAGS) \
28857 --disable-shared
28858 @endif libiconv-bootstrap
28859
28860 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28861 maybe-configure-stage2-libiconv:
28862 @if libiconv-bootstrap
28863 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28864 configure-stage2-libiconv:
28865 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28866 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28867 @r=`${PWD_COMMAND}`; export r; \
28868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28869 TFLAGS="$(STAGE2_TFLAGS)"; \
28870 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28871 $(HOST_EXPORTS) \
28872 $(POSTSTAGE1_HOST_EXPORTS) \
28873 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28874 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28875 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28876 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28878 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28879 case $(srcdir) in \
28880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28881 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28883 esac; \
28884 module_srcdir=libiconv; \
28885 $(SHELL) $$s/$$module_srcdir/configure \
28886 --srcdir=$${topdir}/$$module_srcdir \
28887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28888 --target=${target_alias} \
28889 --with-build-libsubdir=$(HOST_SUBDIR) \
28890 $(STAGE2_CONFIGURE_FLAGS) \
28891 --disable-shared
28892 @endif libiconv-bootstrap
28893
28894 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28895 maybe-configure-stage3-libiconv:
28896 @if libiconv-bootstrap
28897 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28898 configure-stage3-libiconv:
28899 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28900 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28901 @r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28903 TFLAGS="$(STAGE3_TFLAGS)"; \
28904 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28905 $(HOST_EXPORTS) \
28906 $(POSTSTAGE1_HOST_EXPORTS) \
28907 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28908 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28909 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28910 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28912 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28913 case $(srcdir) in \
28914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28915 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28917 esac; \
28918 module_srcdir=libiconv; \
28919 $(SHELL) $$s/$$module_srcdir/configure \
28920 --srcdir=$${topdir}/$$module_srcdir \
28921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28922 --target=${target_alias} \
28923 --with-build-libsubdir=$(HOST_SUBDIR) \
28924 $(STAGE3_CONFIGURE_FLAGS) \
28925 --disable-shared
28926 @endif libiconv-bootstrap
28927
28928 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28929 maybe-configure-stage4-libiconv:
28930 @if libiconv-bootstrap
28931 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28932 configure-stage4-libiconv:
28933 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28934 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28935 @r=`${PWD_COMMAND}`; export r; \
28936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28937 TFLAGS="$(STAGE4_TFLAGS)"; \
28938 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28939 $(HOST_EXPORTS) \
28940 $(POSTSTAGE1_HOST_EXPORTS) \
28941 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28942 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28943 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28944 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28946 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28947 case $(srcdir) in \
28948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28949 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28951 esac; \
28952 module_srcdir=libiconv; \
28953 $(SHELL) $$s/$$module_srcdir/configure \
28954 --srcdir=$${topdir}/$$module_srcdir \
28955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28956 --target=${target_alias} \
28957 --with-build-libsubdir=$(HOST_SUBDIR) \
28958 $(STAGE4_CONFIGURE_FLAGS) \
28959 --disable-shared
28960 @endif libiconv-bootstrap
28961
28962 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28963 maybe-configure-stageprofile-libiconv:
28964 @if libiconv-bootstrap
28965 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28966 configure-stageprofile-libiconv:
28967 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28969 @r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28972 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28973 $(HOST_EXPORTS) \
28974 $(POSTSTAGE1_HOST_EXPORTS) \
28975 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28976 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28977 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28978 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28980 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28981 case $(srcdir) in \
28982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28983 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28985 esac; \
28986 module_srcdir=libiconv; \
28987 $(SHELL) $$s/$$module_srcdir/configure \
28988 --srcdir=$${topdir}/$$module_srcdir \
28989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28990 --target=${target_alias} \
28991 --with-build-libsubdir=$(HOST_SUBDIR) \
28992 $(STAGEprofile_CONFIGURE_FLAGS) \
28993 --disable-shared
28994 @endif libiconv-bootstrap
28995
28996 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28997 maybe-configure-stagetrain-libiconv:
28998 @if libiconv-bootstrap
28999 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
29000 configure-stagetrain-libiconv:
29001 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29003 @r=`${PWD_COMMAND}`; export r; \
29004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29005 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29006 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29007 $(HOST_EXPORTS) \
29008 $(POSTSTAGE1_HOST_EXPORTS) \
29009 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29010 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29011 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29012 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
29013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29014 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29015 case $(srcdir) in \
29016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29017 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29019 esac; \
29020 module_srcdir=libiconv; \
29021 $(SHELL) $$s/$$module_srcdir/configure \
29022 --srcdir=$${topdir}/$$module_srcdir \
29023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29024 --target=${target_alias} \
29025 --with-build-libsubdir=$(HOST_SUBDIR) \
29026 $(STAGEtrain_CONFIGURE_FLAGS) \
29027 --disable-shared
29028 @endif libiconv-bootstrap
29029
29030 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
29031 maybe-configure-stagefeedback-libiconv:
29032 @if libiconv-bootstrap
29033 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
29034 configure-stagefeedback-libiconv:
29035 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29040 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29041 $(HOST_EXPORTS) \
29042 $(POSTSTAGE1_HOST_EXPORTS) \
29043 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29044 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29045 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29046 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
29047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29048 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29049 case $(srcdir) in \
29050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29051 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29053 esac; \
29054 module_srcdir=libiconv; \
29055 $(SHELL) $$s/$$module_srcdir/configure \
29056 --srcdir=$${topdir}/$$module_srcdir \
29057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29058 --target=${target_alias} \
29059 --with-build-libsubdir=$(HOST_SUBDIR) \
29060 $(STAGEfeedback_CONFIGURE_FLAGS) \
29061 --disable-shared
29062 @endif libiconv-bootstrap
29063
29064 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
29065 maybe-configure-stageautoprofile-libiconv:
29066 @if libiconv-bootstrap
29067 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29068 configure-stageautoprofile-libiconv:
29069 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29071 @r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29074 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29075 $(HOST_EXPORTS) \
29076 $(POSTSTAGE1_HOST_EXPORTS) \
29077 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29078 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29079 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29080 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
29081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29082 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29083 case $(srcdir) in \
29084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29085 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29087 esac; \
29088 module_srcdir=libiconv; \
29089 $(SHELL) $$s/$$module_srcdir/configure \
29090 --srcdir=$${topdir}/$$module_srcdir \
29091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29092 --target=${target_alias} \
29093 --with-build-libsubdir=$(HOST_SUBDIR) \
29094 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29095 --disable-shared
29096 @endif libiconv-bootstrap
29097
29098 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
29099 maybe-configure-stageautofeedback-libiconv:
29100 @if libiconv-bootstrap
29101 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29102 configure-stageautofeedback-libiconv:
29103 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29105 @r=`${PWD_COMMAND}`; export r; \
29106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29107 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29108 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29109 $(HOST_EXPORTS) \
29110 $(POSTSTAGE1_HOST_EXPORTS) \
29111 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29112 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29113 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29114 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
29115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29116 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29117 case $(srcdir) in \
29118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29119 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29121 esac; \
29122 module_srcdir=libiconv; \
29123 $(SHELL) $$s/$$module_srcdir/configure \
29124 --srcdir=$${topdir}/$$module_srcdir \
29125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29126 --target=${target_alias} \
29127 --with-build-libsubdir=$(HOST_SUBDIR) \
29128 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29129 --disable-shared
29130 @endif libiconv-bootstrap
29131
29132
29133
29134
29135
29136 .PHONY: all-libiconv maybe-all-libiconv
29137 maybe-all-libiconv:
29138 @if gcc-bootstrap
29139 all-libiconv: stage_current
29140 @endif gcc-bootstrap
29141 @if libiconv
29142 TARGET-libiconv=all
29143 maybe-all-libiconv: all-libiconv
29144 all-libiconv: configure-libiconv
29145 @r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(HOST_EXPORTS) \
29148 (cd $(HOST_SUBDIR)/libiconv && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29150 $(TARGET-libiconv))
29151 @endif libiconv
29152
29153
29154
29155 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
29156 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
29157 maybe-all-stage1-libiconv:
29158 maybe-clean-stage1-libiconv:
29159 @if libiconv-bootstrap
29160 maybe-all-stage1-libiconv: all-stage1-libiconv
29161 all-stage1: all-stage1-libiconv
29162 TARGET-stage1-libiconv = $(TARGET-libiconv)
29163 all-stage1-libiconv: configure-stage1-libiconv
29164 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29165 @r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29167 TFLAGS="$(STAGE1_TFLAGS)"; \
29168 $(HOST_EXPORTS) \
29169 cd $(HOST_SUBDIR)/libiconv && \
29170 \
29171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29172 CFLAGS="$(STAGE1_CFLAGS)" \
29173 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29174 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29175 LIBCFLAGS="$(LIBCFLAGS)" \
29176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29179 $(EXTRA_HOST_FLAGS) \
29180 $(STAGE1_FLAGS_TO_PASS) \
29181 TFLAGS="$(STAGE1_TFLAGS)" \
29182 $(TARGET-stage1-libiconv)
29183
29184 maybe-clean-stage1-libiconv: clean-stage1-libiconv
29185 clean-stage1: clean-stage1-libiconv
29186 clean-stage1-libiconv:
29187 @if [ $(current_stage) = stage1 ]; then \
29188 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29189 else \
29190 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
29191 $(MAKE) stage1-start; \
29192 fi; \
29193 cd $(HOST_SUBDIR)/libiconv && \
29194 $(MAKE) $(EXTRA_HOST_FLAGS) \
29195 $(STAGE1_FLAGS_TO_PASS) clean
29196 @endif libiconv-bootstrap
29197
29198
29199 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
29200 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
29201 maybe-all-stage2-libiconv:
29202 maybe-clean-stage2-libiconv:
29203 @if libiconv-bootstrap
29204 maybe-all-stage2-libiconv: all-stage2-libiconv
29205 all-stage2: all-stage2-libiconv
29206 TARGET-stage2-libiconv = $(TARGET-libiconv)
29207 all-stage2-libiconv: configure-stage2-libiconv
29208 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29209 @r=`${PWD_COMMAND}`; export r; \
29210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29211 TFLAGS="$(STAGE2_TFLAGS)"; \
29212 $(HOST_EXPORTS) \
29213 $(POSTSTAGE1_HOST_EXPORTS) \
29214 cd $(HOST_SUBDIR)/libiconv && \
29215 \
29216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29217 CFLAGS="$(STAGE2_CFLAGS)" \
29218 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29219 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29220 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29225 TFLAGS="$(STAGE2_TFLAGS)" \
29226 $(TARGET-stage2-libiconv)
29227
29228 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29229 clean-stage2: clean-stage2-libiconv
29230 clean-stage2-libiconv:
29231 @if [ $(current_stage) = stage2 ]; then \
29232 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29233 else \
29234 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29235 $(MAKE) stage2-start; \
29236 fi; \
29237 cd $(HOST_SUBDIR)/libiconv && \
29238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29239 @endif libiconv-bootstrap
29240
29241
29242 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29243 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29244 maybe-all-stage3-libiconv:
29245 maybe-clean-stage3-libiconv:
29246 @if libiconv-bootstrap
29247 maybe-all-stage3-libiconv: all-stage3-libiconv
29248 all-stage3: all-stage3-libiconv
29249 TARGET-stage3-libiconv = $(TARGET-libiconv)
29250 all-stage3-libiconv: configure-stage3-libiconv
29251 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29252 @r=`${PWD_COMMAND}`; export r; \
29253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29254 TFLAGS="$(STAGE3_TFLAGS)"; \
29255 $(HOST_EXPORTS) \
29256 $(POSTSTAGE1_HOST_EXPORTS) \
29257 cd $(HOST_SUBDIR)/libiconv && \
29258 \
29259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29260 CFLAGS="$(STAGE3_CFLAGS)" \
29261 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29262 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29263 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29268 TFLAGS="$(STAGE3_TFLAGS)" \
29269 $(TARGET-stage3-libiconv)
29270
29271 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29272 clean-stage3: clean-stage3-libiconv
29273 clean-stage3-libiconv:
29274 @if [ $(current_stage) = stage3 ]; then \
29275 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29276 else \
29277 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29278 $(MAKE) stage3-start; \
29279 fi; \
29280 cd $(HOST_SUBDIR)/libiconv && \
29281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29282 @endif libiconv-bootstrap
29283
29284
29285 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29286 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29287 maybe-all-stage4-libiconv:
29288 maybe-clean-stage4-libiconv:
29289 @if libiconv-bootstrap
29290 maybe-all-stage4-libiconv: all-stage4-libiconv
29291 all-stage4: all-stage4-libiconv
29292 TARGET-stage4-libiconv = $(TARGET-libiconv)
29293 all-stage4-libiconv: configure-stage4-libiconv
29294 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29295 @r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 TFLAGS="$(STAGE4_TFLAGS)"; \
29298 $(HOST_EXPORTS) \
29299 $(POSTSTAGE1_HOST_EXPORTS) \
29300 cd $(HOST_SUBDIR)/libiconv && \
29301 \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29303 CFLAGS="$(STAGE4_CFLAGS)" \
29304 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29305 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29306 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29311 TFLAGS="$(STAGE4_TFLAGS)" \
29312 $(TARGET-stage4-libiconv)
29313
29314 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29315 clean-stage4: clean-stage4-libiconv
29316 clean-stage4-libiconv:
29317 @if [ $(current_stage) = stage4 ]; then \
29318 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29319 else \
29320 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29321 $(MAKE) stage4-start; \
29322 fi; \
29323 cd $(HOST_SUBDIR)/libiconv && \
29324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29325 @endif libiconv-bootstrap
29326
29327
29328 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29329 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29330 maybe-all-stageprofile-libiconv:
29331 maybe-clean-stageprofile-libiconv:
29332 @if libiconv-bootstrap
29333 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29334 all-stageprofile: all-stageprofile-libiconv
29335 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29336 all-stageprofile-libiconv: configure-stageprofile-libiconv
29337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29338 @r=`${PWD_COMMAND}`; export r; \
29339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29340 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29341 $(HOST_EXPORTS) \
29342 $(POSTSTAGE1_HOST_EXPORTS) \
29343 cd $(HOST_SUBDIR)/libiconv && \
29344 \
29345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29346 CFLAGS="$(STAGEprofile_CFLAGS)" \
29347 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29348 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29349 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29354 TFLAGS="$(STAGEprofile_TFLAGS)" \
29355 $(TARGET-stageprofile-libiconv)
29356
29357 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29358 clean-stageprofile: clean-stageprofile-libiconv
29359 clean-stageprofile-libiconv:
29360 @if [ $(current_stage) = stageprofile ]; then \
29361 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29362 else \
29363 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29364 $(MAKE) stageprofile-start; \
29365 fi; \
29366 cd $(HOST_SUBDIR)/libiconv && \
29367 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29368 @endif libiconv-bootstrap
29369
29370
29371 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29372 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29373 maybe-all-stagetrain-libiconv:
29374 maybe-clean-stagetrain-libiconv:
29375 @if libiconv-bootstrap
29376 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29377 all-stagetrain: all-stagetrain-libiconv
29378 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29379 all-stagetrain-libiconv: configure-stagetrain-libiconv
29380 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29381 @r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29384 $(HOST_EXPORTS) \
29385 $(POSTSTAGE1_HOST_EXPORTS) \
29386 cd $(HOST_SUBDIR)/libiconv && \
29387 \
29388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29389 CFLAGS="$(STAGEtrain_CFLAGS)" \
29390 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29391 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29392 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29397 TFLAGS="$(STAGEtrain_TFLAGS)" \
29398 $(TARGET-stagetrain-libiconv)
29399
29400 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29401 clean-stagetrain: clean-stagetrain-libiconv
29402 clean-stagetrain-libiconv:
29403 @if [ $(current_stage) = stagetrain ]; then \
29404 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29405 else \
29406 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29407 $(MAKE) stagetrain-start; \
29408 fi; \
29409 cd $(HOST_SUBDIR)/libiconv && \
29410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29411 @endif libiconv-bootstrap
29412
29413
29414 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29415 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29416 maybe-all-stagefeedback-libiconv:
29417 maybe-clean-stagefeedback-libiconv:
29418 @if libiconv-bootstrap
29419 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29420 all-stagefeedback: all-stagefeedback-libiconv
29421 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29422 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29423 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29424 @r=`${PWD_COMMAND}`; export r; \
29425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29426 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29427 $(HOST_EXPORTS) \
29428 $(POSTSTAGE1_HOST_EXPORTS) \
29429 cd $(HOST_SUBDIR)/libiconv && \
29430 \
29431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29432 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29433 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29434 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29435 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29440 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29441 $(TARGET-stagefeedback-libiconv)
29442
29443 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29444 clean-stagefeedback: clean-stagefeedback-libiconv
29445 clean-stagefeedback-libiconv:
29446 @if [ $(current_stage) = stagefeedback ]; then \
29447 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29448 else \
29449 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29450 $(MAKE) stagefeedback-start; \
29451 fi; \
29452 cd $(HOST_SUBDIR)/libiconv && \
29453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29454 @endif libiconv-bootstrap
29455
29456
29457 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29458 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29459 maybe-all-stageautoprofile-libiconv:
29460 maybe-clean-stageautoprofile-libiconv:
29461 @if libiconv-bootstrap
29462 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29463 all-stageautoprofile: all-stageautoprofile-libiconv
29464 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29465 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29466 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29467 @r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29470 $(HOST_EXPORTS) \
29471 $(POSTSTAGE1_HOST_EXPORTS) \
29472 cd $(HOST_SUBDIR)/libiconv && \
29473 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29475 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29476 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29477 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29478 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29479 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29480 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29481 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29482 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29483 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29484 $(TARGET-stageautoprofile-libiconv)
29485
29486 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29487 clean-stageautoprofile: clean-stageautoprofile-libiconv
29488 clean-stageautoprofile-libiconv:
29489 @if [ $(current_stage) = stageautoprofile ]; then \
29490 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29491 else \
29492 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29493 $(MAKE) stageautoprofile-start; \
29494 fi; \
29495 cd $(HOST_SUBDIR)/libiconv && \
29496 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29497 @endif libiconv-bootstrap
29498
29499
29500 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29501 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29502 maybe-all-stageautofeedback-libiconv:
29503 maybe-clean-stageautofeedback-libiconv:
29504 @if libiconv-bootstrap
29505 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29506 all-stageautofeedback: all-stageautofeedback-libiconv
29507 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29508 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29509 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29510 @r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29513 $(HOST_EXPORTS) \
29514 $(POSTSTAGE1_HOST_EXPORTS) \
29515 cd $(HOST_SUBDIR)/libiconv && \
29516 \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29518 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29519 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29520 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29521 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29525 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29526 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29527 $(TARGET-stageautofeedback-libiconv)
29528
29529 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29530 clean-stageautofeedback: clean-stageautofeedback-libiconv
29531 clean-stageautofeedback-libiconv:
29532 @if [ $(current_stage) = stageautofeedback ]; then \
29533 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29534 else \
29535 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29536 $(MAKE) stageautofeedback-start; \
29537 fi; \
29538 cd $(HOST_SUBDIR)/libiconv && \
29539 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29540 @endif libiconv-bootstrap
29541
29542
29543
29544
29545
29546 .PHONY: check-libiconv maybe-check-libiconv
29547 maybe-check-libiconv:
29548 @if libiconv
29549 maybe-check-libiconv: check-libiconv
29550
29551 check-libiconv:
29552 @: $(MAKE); $(unstage)
29553 @r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29556 (cd $(HOST_SUBDIR)/libiconv && \
29557 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29558
29559 @endif libiconv
29560
29561 .PHONY: install-libiconv maybe-install-libiconv
29562 maybe-install-libiconv:
29563 @if libiconv
29564 maybe-install-libiconv: install-libiconv
29565
29566 install-libiconv:
29567
29568 @endif libiconv
29569
29570 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29571 maybe-install-strip-libiconv:
29572 @if libiconv
29573 maybe-install-strip-libiconv: install-strip-libiconv
29574
29575 install-strip-libiconv:
29576
29577 @endif libiconv
29578
29579 # Other targets (info, dvi, pdf, etc.)
29580
29581 .PHONY: maybe-info-libiconv info-libiconv
29582 maybe-info-libiconv:
29583 @if libiconv
29584 maybe-info-libiconv: info-libiconv
29585
29586 # libiconv doesn't support info.
29587 info-libiconv:
29588
29589 @endif libiconv
29590
29591 .PHONY: maybe-dvi-libiconv dvi-libiconv
29592 maybe-dvi-libiconv:
29593 @if libiconv
29594 maybe-dvi-libiconv: dvi-libiconv
29595
29596 dvi-libiconv: \
29597 configure-libiconv
29598 @[ -f ./libiconv/Makefile ] || exit 0; \
29599 r=`${PWD_COMMAND}`; export r; \
29600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29601 $(HOST_EXPORTS) \
29602 for flag in $(EXTRA_HOST_FLAGS) ; do \
29603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29604 done; \
29605 echo "Doing dvi in libiconv"; \
29606 (cd $(HOST_SUBDIR)/libiconv && \
29607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29609 "RANLIB=$${RANLIB}" \
29610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29611 dvi) \
29612 || exit 1
29613
29614 @endif libiconv
29615
29616 .PHONY: maybe-pdf-libiconv pdf-libiconv
29617 maybe-pdf-libiconv:
29618 @if libiconv
29619 maybe-pdf-libiconv: pdf-libiconv
29620
29621 # libiconv doesn't support pdf.
29622 pdf-libiconv:
29623
29624 @endif libiconv
29625
29626 .PHONY: maybe-html-libiconv html-libiconv
29627 maybe-html-libiconv:
29628 @if libiconv
29629 maybe-html-libiconv: html-libiconv
29630
29631 # libiconv doesn't support html.
29632 html-libiconv:
29633
29634 @endif libiconv
29635
29636 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29637 maybe-TAGS-libiconv:
29638 @if libiconv
29639 maybe-TAGS-libiconv: TAGS-libiconv
29640
29641 TAGS-libiconv: \
29642 configure-libiconv
29643 @[ -f ./libiconv/Makefile ] || exit 0; \
29644 r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(HOST_EXPORTS) \
29647 for flag in $(EXTRA_HOST_FLAGS) ; do \
29648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29649 done; \
29650 echo "Doing TAGS in libiconv"; \
29651 (cd $(HOST_SUBDIR)/libiconv && \
29652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29654 "RANLIB=$${RANLIB}" \
29655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29656 TAGS) \
29657 || exit 1
29658
29659 @endif libiconv
29660
29661 .PHONY: maybe-install-info-libiconv install-info-libiconv
29662 maybe-install-info-libiconv:
29663 @if libiconv
29664 maybe-install-info-libiconv: install-info-libiconv
29665
29666 # libiconv doesn't support install-info.
29667 install-info-libiconv:
29668
29669 @endif libiconv
29670
29671 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29672 maybe-install-pdf-libiconv:
29673 @if libiconv
29674 maybe-install-pdf-libiconv: install-pdf-libiconv
29675
29676 # libiconv doesn't support install-pdf.
29677 install-pdf-libiconv:
29678
29679 @endif libiconv
29680
29681 .PHONY: maybe-install-html-libiconv install-html-libiconv
29682 maybe-install-html-libiconv:
29683 @if libiconv
29684 maybe-install-html-libiconv: install-html-libiconv
29685
29686 # libiconv doesn't support install-html.
29687 install-html-libiconv:
29688
29689 @endif libiconv
29690
29691 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29692 maybe-installcheck-libiconv:
29693 @if libiconv
29694 maybe-installcheck-libiconv: installcheck-libiconv
29695
29696 installcheck-libiconv: \
29697 configure-libiconv
29698 @[ -f ./libiconv/Makefile ] || exit 0; \
29699 r=`${PWD_COMMAND}`; export r; \
29700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29701 $(HOST_EXPORTS) \
29702 for flag in $(EXTRA_HOST_FLAGS) ; do \
29703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29704 done; \
29705 echo "Doing installcheck in libiconv"; \
29706 (cd $(HOST_SUBDIR)/libiconv && \
29707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29709 "RANLIB=$${RANLIB}" \
29710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29711 installcheck) \
29712 || exit 1
29713
29714 @endif libiconv
29715
29716 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29717 maybe-mostlyclean-libiconv:
29718 @if libiconv
29719 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29720
29721 mostlyclean-libiconv:
29722 @[ -f ./libiconv/Makefile ] || exit 0; \
29723 r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 $(HOST_EXPORTS) \
29726 for flag in $(EXTRA_HOST_FLAGS) ; do \
29727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29728 done; \
29729 echo "Doing mostlyclean in libiconv"; \
29730 (cd $(HOST_SUBDIR)/libiconv && \
29731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29733 "RANLIB=$${RANLIB}" \
29734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29735 mostlyclean) \
29736 || exit 1
29737
29738 @endif libiconv
29739
29740 .PHONY: maybe-clean-libiconv clean-libiconv
29741 maybe-clean-libiconv:
29742 @if libiconv
29743 maybe-clean-libiconv: clean-libiconv
29744
29745 clean-libiconv:
29746 @[ -f ./libiconv/Makefile ] || exit 0; \
29747 r=`${PWD_COMMAND}`; export r; \
29748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29749 $(HOST_EXPORTS) \
29750 for flag in $(EXTRA_HOST_FLAGS) ; do \
29751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29752 done; \
29753 echo "Doing clean in libiconv"; \
29754 (cd $(HOST_SUBDIR)/libiconv && \
29755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29757 "RANLIB=$${RANLIB}" \
29758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29759 clean) \
29760 || exit 1
29761
29762 @endif libiconv
29763
29764 .PHONY: maybe-distclean-libiconv distclean-libiconv
29765 maybe-distclean-libiconv:
29766 @if libiconv
29767 maybe-distclean-libiconv: distclean-libiconv
29768
29769 distclean-libiconv:
29770 @[ -f ./libiconv/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 distclean in libiconv"; \
29778 (cd $(HOST_SUBDIR)/libiconv && \
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 distclean) \
29784 || exit 1
29785
29786 @endif libiconv
29787
29788 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29789 maybe-maintainer-clean-libiconv:
29790 @if libiconv
29791 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29792
29793 maintainer-clean-libiconv:
29794 @[ -f ./libiconv/Makefile ] || exit 0; \
29795 r=`${PWD_COMMAND}`; export r; \
29796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29797 $(HOST_EXPORTS) \
29798 for flag in $(EXTRA_HOST_FLAGS) ; do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 echo "Doing maintainer-clean in libiconv"; \
29802 (cd $(HOST_SUBDIR)/libiconv && \
29803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29805 "RANLIB=$${RANLIB}" \
29806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29807 maintainer-clean) \
29808 || exit 1
29809
29810 @endif libiconv
29811
29812
29813
29814 .PHONY: configure-m4 maybe-configure-m4
29815 maybe-configure-m4:
29816 @if gcc-bootstrap
29817 configure-m4: stage_current
29818 @endif gcc-bootstrap
29819 @if m4
29820 maybe-configure-m4: configure-m4
29821 configure-m4:
29822 @: $(MAKE); $(unstage)
29823 @r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29827 $(HOST_EXPORTS) \
29828 echo Configuring in $(HOST_SUBDIR)/m4; \
29829 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29830 case $(srcdir) in \
29831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29832 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29834 esac; \
29835 module_srcdir=m4; \
29836 $(SHELL) \
29837 $$s/$$module_srcdir/configure \
29838 --srcdir=$${topdir}/$$module_srcdir \
29839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29840 --target=${target_alias} \
29841 || exit 1
29842 @endif m4
29843
29844
29845
29846
29847
29848 .PHONY: all-m4 maybe-all-m4
29849 maybe-all-m4:
29850 @if gcc-bootstrap
29851 all-m4: stage_current
29852 @endif gcc-bootstrap
29853 @if m4
29854 TARGET-m4=all
29855 maybe-all-m4: all-m4
29856 all-m4: configure-m4
29857 @: $(MAKE); $(unstage)
29858 @r=`${PWD_COMMAND}`; export r; \
29859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29860 $(HOST_EXPORTS) \
29861 (cd $(HOST_SUBDIR)/m4 && \
29862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29863 $(TARGET-m4))
29864 @endif m4
29865
29866
29867
29868
29869 .PHONY: check-m4 maybe-check-m4
29870 maybe-check-m4:
29871 @if m4
29872 maybe-check-m4: check-m4
29873
29874 check-m4:
29875 @: $(MAKE); $(unstage)
29876 @r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29878 $(HOST_EXPORTS) \
29879 (cd $(HOST_SUBDIR)/m4 && \
29880 $(MAKE) $(FLAGS_TO_PASS) check)
29881
29882 @endif m4
29883
29884 .PHONY: install-m4 maybe-install-m4
29885 maybe-install-m4:
29886 @if m4
29887 maybe-install-m4: install-m4
29888
29889 install-m4: installdirs
29890 @: $(MAKE); $(unstage)
29891 @r=`${PWD_COMMAND}`; export r; \
29892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29893 $(HOST_EXPORTS) \
29894 (cd $(HOST_SUBDIR)/m4 && \
29895 $(MAKE) $(FLAGS_TO_PASS) install)
29896
29897 @endif m4
29898
29899 .PHONY: install-strip-m4 maybe-install-strip-m4
29900 maybe-install-strip-m4:
29901 @if m4
29902 maybe-install-strip-m4: install-strip-m4
29903
29904 install-strip-m4: installdirs
29905 @: $(MAKE); $(unstage)
29906 @r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(HOST_EXPORTS) \
29909 (cd $(HOST_SUBDIR)/m4 && \
29910 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29911
29912 @endif m4
29913
29914 # Other targets (info, dvi, pdf, etc.)
29915
29916 .PHONY: maybe-info-m4 info-m4
29917 maybe-info-m4:
29918 @if m4
29919 maybe-info-m4: info-m4
29920
29921 info-m4: \
29922 configure-m4
29923 @: $(MAKE); $(unstage)
29924 @[ -f ./m4/Makefile ] || exit 0; \
29925 r=`${PWD_COMMAND}`; export r; \
29926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29927 $(HOST_EXPORTS) \
29928 for flag in $(EXTRA_HOST_FLAGS) ; do \
29929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29930 done; \
29931 echo "Doing info in m4"; \
29932 (cd $(HOST_SUBDIR)/m4 && \
29933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29935 "RANLIB=$${RANLIB}" \
29936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29937 info) \
29938 || exit 1
29939
29940 @endif m4
29941
29942 .PHONY: maybe-dvi-m4 dvi-m4
29943 maybe-dvi-m4:
29944 @if m4
29945 maybe-dvi-m4: dvi-m4
29946
29947 dvi-m4: \
29948 configure-m4
29949 @: $(MAKE); $(unstage)
29950 @[ -f ./m4/Makefile ] || exit 0; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(HOST_EXPORTS) \
29954 for flag in $(EXTRA_HOST_FLAGS) ; do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 echo "Doing dvi in m4"; \
29958 (cd $(HOST_SUBDIR)/m4 && \
29959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29961 "RANLIB=$${RANLIB}" \
29962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29963 dvi) \
29964 || exit 1
29965
29966 @endif m4
29967
29968 .PHONY: maybe-pdf-m4 pdf-m4
29969 maybe-pdf-m4:
29970 @if m4
29971 maybe-pdf-m4: pdf-m4
29972
29973 pdf-m4: \
29974 configure-m4
29975 @: $(MAKE); $(unstage)
29976 @[ -f ./m4/Makefile ] || exit 0; \
29977 r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 $(HOST_EXPORTS) \
29980 for flag in $(EXTRA_HOST_FLAGS) ; do \
29981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29982 done; \
29983 echo "Doing pdf in m4"; \
29984 (cd $(HOST_SUBDIR)/m4 && \
29985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29987 "RANLIB=$${RANLIB}" \
29988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29989 pdf) \
29990 || exit 1
29991
29992 @endif m4
29993
29994 .PHONY: maybe-html-m4 html-m4
29995 maybe-html-m4:
29996 @if m4
29997 maybe-html-m4: html-m4
29998
29999 html-m4: \
30000 configure-m4
30001 @: $(MAKE); $(unstage)
30002 @[ -f ./m4/Makefile ] || exit 0; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(HOST_EXPORTS) \
30006 for flag in $(EXTRA_HOST_FLAGS) ; do \
30007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30008 done; \
30009 echo "Doing html in m4"; \
30010 (cd $(HOST_SUBDIR)/m4 && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30015 html) \
30016 || exit 1
30017
30018 @endif m4
30019
30020 .PHONY: maybe-TAGS-m4 TAGS-m4
30021 maybe-TAGS-m4:
30022 @if m4
30023 maybe-TAGS-m4: TAGS-m4
30024
30025 TAGS-m4: \
30026 configure-m4
30027 @: $(MAKE); $(unstage)
30028 @[ -f ./m4/Makefile ] || exit 0; \
30029 r=`${PWD_COMMAND}`; export r; \
30030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30031 $(HOST_EXPORTS) \
30032 for flag in $(EXTRA_HOST_FLAGS) ; do \
30033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30034 done; \
30035 echo "Doing TAGS in m4"; \
30036 (cd $(HOST_SUBDIR)/m4 && \
30037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30039 "RANLIB=$${RANLIB}" \
30040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30041 TAGS) \
30042 || exit 1
30043
30044 @endif m4
30045
30046 .PHONY: maybe-install-info-m4 install-info-m4
30047 maybe-install-info-m4:
30048 @if m4
30049 maybe-install-info-m4: install-info-m4
30050
30051 install-info-m4: \
30052 configure-m4 \
30053 info-m4
30054 @: $(MAKE); $(unstage)
30055 @[ -f ./m4/Makefile ] || exit 0; \
30056 r=`${PWD_COMMAND}`; export r; \
30057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30058 $(HOST_EXPORTS) \
30059 for flag in $(EXTRA_HOST_FLAGS) ; do \
30060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30061 done; \
30062 echo "Doing install-info in m4"; \
30063 (cd $(HOST_SUBDIR)/m4 && \
30064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30066 "RANLIB=$${RANLIB}" \
30067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30068 install-info) \
30069 || exit 1
30070
30071 @endif m4
30072
30073 .PHONY: maybe-install-pdf-m4 install-pdf-m4
30074 maybe-install-pdf-m4:
30075 @if m4
30076 maybe-install-pdf-m4: install-pdf-m4
30077
30078 install-pdf-m4: \
30079 configure-m4 \
30080 pdf-m4
30081 @: $(MAKE); $(unstage)
30082 @[ -f ./m4/Makefile ] || exit 0; \
30083 r=`${PWD_COMMAND}`; export r; \
30084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30085 $(HOST_EXPORTS) \
30086 for flag in $(EXTRA_HOST_FLAGS) ; do \
30087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30088 done; \
30089 echo "Doing install-pdf in m4"; \
30090 (cd $(HOST_SUBDIR)/m4 && \
30091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30093 "RANLIB=$${RANLIB}" \
30094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30095 install-pdf) \
30096 || exit 1
30097
30098 @endif m4
30099
30100 .PHONY: maybe-install-html-m4 install-html-m4
30101 maybe-install-html-m4:
30102 @if m4
30103 maybe-install-html-m4: install-html-m4
30104
30105 install-html-m4: \
30106 configure-m4 \
30107 html-m4
30108 @: $(MAKE); $(unstage)
30109 @[ -f ./m4/Makefile ] || exit 0; \
30110 r=`${PWD_COMMAND}`; export r; \
30111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30112 $(HOST_EXPORTS) \
30113 for flag in $(EXTRA_HOST_FLAGS) ; do \
30114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30115 done; \
30116 echo "Doing install-html in m4"; \
30117 (cd $(HOST_SUBDIR)/m4 && \
30118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30120 "RANLIB=$${RANLIB}" \
30121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30122 install-html) \
30123 || exit 1
30124
30125 @endif m4
30126
30127 .PHONY: maybe-installcheck-m4 installcheck-m4
30128 maybe-installcheck-m4:
30129 @if m4
30130 maybe-installcheck-m4: installcheck-m4
30131
30132 installcheck-m4: \
30133 configure-m4
30134 @: $(MAKE); $(unstage)
30135 @[ -f ./m4/Makefile ] || exit 0; \
30136 r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(HOST_EXPORTS) \
30139 for flag in $(EXTRA_HOST_FLAGS) ; do \
30140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30141 done; \
30142 echo "Doing installcheck in m4"; \
30143 (cd $(HOST_SUBDIR)/m4 && \
30144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30146 "RANLIB=$${RANLIB}" \
30147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30148 installcheck) \
30149 || exit 1
30150
30151 @endif m4
30152
30153 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
30154 maybe-mostlyclean-m4:
30155 @if m4
30156 maybe-mostlyclean-m4: mostlyclean-m4
30157
30158 mostlyclean-m4:
30159 @: $(MAKE); $(unstage)
30160 @[ -f ./m4/Makefile ] || exit 0; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(HOST_EXPORTS) \
30164 for flag in $(EXTRA_HOST_FLAGS) ; do \
30165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30166 done; \
30167 echo "Doing mostlyclean in m4"; \
30168 (cd $(HOST_SUBDIR)/m4 && \
30169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30171 "RANLIB=$${RANLIB}" \
30172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30173 mostlyclean) \
30174 || exit 1
30175
30176 @endif m4
30177
30178 .PHONY: maybe-clean-m4 clean-m4
30179 maybe-clean-m4:
30180 @if m4
30181 maybe-clean-m4: clean-m4
30182
30183 clean-m4:
30184 @: $(MAKE); $(unstage)
30185 @[ -f ./m4/Makefile ] || exit 0; \
30186 r=`${PWD_COMMAND}`; export r; \
30187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30188 $(HOST_EXPORTS) \
30189 for flag in $(EXTRA_HOST_FLAGS) ; do \
30190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30191 done; \
30192 echo "Doing clean in m4"; \
30193 (cd $(HOST_SUBDIR)/m4 && \
30194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30196 "RANLIB=$${RANLIB}" \
30197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30198 clean) \
30199 || exit 1
30200
30201 @endif m4
30202
30203 .PHONY: maybe-distclean-m4 distclean-m4
30204 maybe-distclean-m4:
30205 @if m4
30206 maybe-distclean-m4: distclean-m4
30207
30208 distclean-m4:
30209 @: $(MAKE); $(unstage)
30210 @[ -f ./m4/Makefile ] || exit 0; \
30211 r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 $(HOST_EXPORTS) \
30214 for flag in $(EXTRA_HOST_FLAGS) ; do \
30215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30216 done; \
30217 echo "Doing distclean in m4"; \
30218 (cd $(HOST_SUBDIR)/m4 && \
30219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30221 "RANLIB=$${RANLIB}" \
30222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30223 distclean) \
30224 || exit 1
30225
30226 @endif m4
30227
30228 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30229 maybe-maintainer-clean-m4:
30230 @if m4
30231 maybe-maintainer-clean-m4: maintainer-clean-m4
30232
30233 maintainer-clean-m4:
30234 @: $(MAKE); $(unstage)
30235 @[ -f ./m4/Makefile ] || exit 0; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(HOST_EXPORTS) \
30239 for flag in $(EXTRA_HOST_FLAGS) ; do \
30240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30241 done; \
30242 echo "Doing maintainer-clean in m4"; \
30243 (cd $(HOST_SUBDIR)/m4 && \
30244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30246 "RANLIB=$${RANLIB}" \
30247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30248 maintainer-clean) \
30249 || exit 1
30250
30251 @endif m4
30252
30253
30254
30255 .PHONY: configure-readline maybe-configure-readline
30256 maybe-configure-readline:
30257 @if gcc-bootstrap
30258 configure-readline: stage_current
30259 @endif gcc-bootstrap
30260 @if readline
30261 maybe-configure-readline: configure-readline
30262 configure-readline:
30263 @: $(MAKE); $(unstage)
30264 @r=`${PWD_COMMAND}`; export r; \
30265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30266 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30268 $(HOST_EXPORTS) \
30269 echo Configuring in $(HOST_SUBDIR)/readline; \
30270 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30271 case $(srcdir) in \
30272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30273 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30275 esac; \
30276 module_srcdir=readline; \
30277 $(SHELL) \
30278 $$s/$$module_srcdir/configure \
30279 --srcdir=$${topdir}/$$module_srcdir \
30280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30281 --target=${target_alias} \
30282 || exit 1
30283 @endif readline
30284
30285
30286
30287
30288
30289 .PHONY: all-readline maybe-all-readline
30290 maybe-all-readline:
30291 @if gcc-bootstrap
30292 all-readline: stage_current
30293 @endif gcc-bootstrap
30294 @if readline
30295 TARGET-readline=all
30296 maybe-all-readline: all-readline
30297 all-readline: configure-readline
30298 @: $(MAKE); $(unstage)
30299 @r=`${PWD_COMMAND}`; export r; \
30300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30301 $(HOST_EXPORTS) \
30302 (cd $(HOST_SUBDIR)/readline && \
30303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30304 $(TARGET-readline))
30305 @endif readline
30306
30307
30308
30309
30310 .PHONY: check-readline maybe-check-readline
30311 maybe-check-readline:
30312 @if readline
30313 maybe-check-readline: check-readline
30314
30315 check-readline:
30316 @: $(MAKE); $(unstage)
30317 @r=`${PWD_COMMAND}`; export r; \
30318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30319 $(HOST_EXPORTS) \
30320 (cd $(HOST_SUBDIR)/readline && \
30321 $(MAKE) $(FLAGS_TO_PASS) check)
30322
30323 @endif readline
30324
30325 .PHONY: install-readline maybe-install-readline
30326 maybe-install-readline:
30327 @if readline
30328 maybe-install-readline: install-readline
30329
30330 install-readline: installdirs
30331 @: $(MAKE); $(unstage)
30332 @r=`${PWD_COMMAND}`; export r; \
30333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30334 $(HOST_EXPORTS) \
30335 (cd $(HOST_SUBDIR)/readline && \
30336 $(MAKE) $(FLAGS_TO_PASS) install)
30337
30338 @endif readline
30339
30340 .PHONY: install-strip-readline maybe-install-strip-readline
30341 maybe-install-strip-readline:
30342 @if readline
30343 maybe-install-strip-readline: install-strip-readline
30344
30345 install-strip-readline: installdirs
30346 @: $(MAKE); $(unstage)
30347 @r=`${PWD_COMMAND}`; export r; \
30348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30349 $(HOST_EXPORTS) \
30350 (cd $(HOST_SUBDIR)/readline && \
30351 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30352
30353 @endif readline
30354
30355 # Other targets (info, dvi, pdf, etc.)
30356
30357 .PHONY: maybe-info-readline info-readline
30358 maybe-info-readline:
30359 @if readline
30360 maybe-info-readline: info-readline
30361
30362 info-readline: \
30363 configure-readline
30364 @: $(MAKE); $(unstage)
30365 @[ -f ./readline/Makefile ] || exit 0; \
30366 r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 $(HOST_EXPORTS) \
30369 for flag in $(EXTRA_HOST_FLAGS) ; do \
30370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30371 done; \
30372 echo "Doing info in readline"; \
30373 (cd $(HOST_SUBDIR)/readline && \
30374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30376 "RANLIB=$${RANLIB}" \
30377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30378 info) \
30379 || exit 1
30380
30381 @endif readline
30382
30383 .PHONY: maybe-dvi-readline dvi-readline
30384 maybe-dvi-readline:
30385 @if readline
30386 maybe-dvi-readline: dvi-readline
30387
30388 dvi-readline: \
30389 configure-readline
30390 @: $(MAKE); $(unstage)
30391 @[ -f ./readline/Makefile ] || exit 0; \
30392 r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) \
30395 for flag in $(EXTRA_HOST_FLAGS) ; do \
30396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30397 done; \
30398 echo "Doing dvi in readline"; \
30399 (cd $(HOST_SUBDIR)/readline && \
30400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30402 "RANLIB=$${RANLIB}" \
30403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30404 dvi) \
30405 || exit 1
30406
30407 @endif readline
30408
30409 .PHONY: maybe-pdf-readline pdf-readline
30410 maybe-pdf-readline:
30411 @if readline
30412 maybe-pdf-readline: pdf-readline
30413
30414 pdf-readline: \
30415 configure-readline
30416 @: $(MAKE); $(unstage)
30417 @[ -f ./readline/Makefile ] || exit 0; \
30418 r=`${PWD_COMMAND}`; export r; \
30419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30420 $(HOST_EXPORTS) \
30421 for flag in $(EXTRA_HOST_FLAGS) ; do \
30422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30423 done; \
30424 echo "Doing pdf in readline"; \
30425 (cd $(HOST_SUBDIR)/readline && \
30426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30428 "RANLIB=$${RANLIB}" \
30429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30430 pdf) \
30431 || exit 1
30432
30433 @endif readline
30434
30435 .PHONY: maybe-html-readline html-readline
30436 maybe-html-readline:
30437 @if readline
30438 maybe-html-readline: html-readline
30439
30440 html-readline: \
30441 configure-readline
30442 @: $(MAKE); $(unstage)
30443 @[ -f ./readline/Makefile ] || exit 0; \
30444 r=`${PWD_COMMAND}`; export r; \
30445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30446 $(HOST_EXPORTS) \
30447 for flag in $(EXTRA_HOST_FLAGS) ; do \
30448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30449 done; \
30450 echo "Doing html in readline"; \
30451 (cd $(HOST_SUBDIR)/readline && \
30452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30454 "RANLIB=$${RANLIB}" \
30455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30456 html) \
30457 || exit 1
30458
30459 @endif readline
30460
30461 .PHONY: maybe-TAGS-readline TAGS-readline
30462 maybe-TAGS-readline:
30463 @if readline
30464 maybe-TAGS-readline: TAGS-readline
30465
30466 TAGS-readline: \
30467 configure-readline
30468 @: $(MAKE); $(unstage)
30469 @[ -f ./readline/Makefile ] || exit 0; \
30470 r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30472 $(HOST_EXPORTS) \
30473 for flag in $(EXTRA_HOST_FLAGS) ; do \
30474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30475 done; \
30476 echo "Doing TAGS in readline"; \
30477 (cd $(HOST_SUBDIR)/readline && \
30478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30480 "RANLIB=$${RANLIB}" \
30481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30482 TAGS) \
30483 || exit 1
30484
30485 @endif readline
30486
30487 .PHONY: maybe-install-info-readline install-info-readline
30488 maybe-install-info-readline:
30489 @if readline
30490 maybe-install-info-readline: install-info-readline
30491
30492 install-info-readline: \
30493 configure-readline \
30494 info-readline
30495 @: $(MAKE); $(unstage)
30496 @[ -f ./readline/Makefile ] || exit 0; \
30497 r=`${PWD_COMMAND}`; export r; \
30498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30499 $(HOST_EXPORTS) \
30500 for flag in $(EXTRA_HOST_FLAGS) ; do \
30501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30502 done; \
30503 echo "Doing install-info in readline"; \
30504 (cd $(HOST_SUBDIR)/readline && \
30505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30507 "RANLIB=$${RANLIB}" \
30508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30509 install-info) \
30510 || exit 1
30511
30512 @endif readline
30513
30514 .PHONY: maybe-install-pdf-readline install-pdf-readline
30515 maybe-install-pdf-readline:
30516 @if readline
30517 maybe-install-pdf-readline: install-pdf-readline
30518
30519 install-pdf-readline: \
30520 configure-readline \
30521 pdf-readline
30522 @: $(MAKE); $(unstage)
30523 @[ -f ./readline/Makefile ] || exit 0; \
30524 r=`${PWD_COMMAND}`; export r; \
30525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30526 $(HOST_EXPORTS) \
30527 for flag in $(EXTRA_HOST_FLAGS) ; do \
30528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30529 done; \
30530 echo "Doing install-pdf in readline"; \
30531 (cd $(HOST_SUBDIR)/readline && \
30532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30534 "RANLIB=$${RANLIB}" \
30535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30536 install-pdf) \
30537 || exit 1
30538
30539 @endif readline
30540
30541 .PHONY: maybe-install-html-readline install-html-readline
30542 maybe-install-html-readline:
30543 @if readline
30544 maybe-install-html-readline: install-html-readline
30545
30546 install-html-readline: \
30547 configure-readline \
30548 html-readline
30549 @: $(MAKE); $(unstage)
30550 @[ -f ./readline/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing install-html in readline"; \
30558 (cd $(HOST_SUBDIR)/readline && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30563 install-html) \
30564 || exit 1
30565
30566 @endif readline
30567
30568 .PHONY: maybe-installcheck-readline installcheck-readline
30569 maybe-installcheck-readline:
30570 @if readline
30571 maybe-installcheck-readline: installcheck-readline
30572
30573 installcheck-readline: \
30574 configure-readline
30575 @: $(MAKE); $(unstage)
30576 @[ -f ./readline/Makefile ] || exit 0; \
30577 r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 $(HOST_EXPORTS) \
30580 for flag in $(EXTRA_HOST_FLAGS) ; do \
30581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30582 done; \
30583 echo "Doing installcheck in readline"; \
30584 (cd $(HOST_SUBDIR)/readline && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30587 "RANLIB=$${RANLIB}" \
30588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30589 installcheck) \
30590 || exit 1
30591
30592 @endif readline
30593
30594 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30595 maybe-mostlyclean-readline:
30596 @if readline
30597 maybe-mostlyclean-readline: mostlyclean-readline
30598
30599 mostlyclean-readline:
30600 @: $(MAKE); $(unstage)
30601 @[ -f ./readline/Makefile ] || exit 0; \
30602 r=`${PWD_COMMAND}`; export r; \
30603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30604 $(HOST_EXPORTS) \
30605 for flag in $(EXTRA_HOST_FLAGS) ; do \
30606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30607 done; \
30608 echo "Doing mostlyclean in readline"; \
30609 (cd $(HOST_SUBDIR)/readline && \
30610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30612 "RANLIB=$${RANLIB}" \
30613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30614 mostlyclean) \
30615 || exit 1
30616
30617 @endif readline
30618
30619 .PHONY: maybe-clean-readline clean-readline
30620 maybe-clean-readline:
30621 @if readline
30622 maybe-clean-readline: clean-readline
30623
30624 clean-readline:
30625 @: $(MAKE); $(unstage)
30626 @[ -f ./readline/Makefile ] || exit 0; \
30627 r=`${PWD_COMMAND}`; export r; \
30628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30629 $(HOST_EXPORTS) \
30630 for flag in $(EXTRA_HOST_FLAGS) ; do \
30631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30632 done; \
30633 echo "Doing clean in readline"; \
30634 (cd $(HOST_SUBDIR)/readline && \
30635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30637 "RANLIB=$${RANLIB}" \
30638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30639 clean) \
30640 || exit 1
30641
30642 @endif readline
30643
30644 .PHONY: maybe-distclean-readline distclean-readline
30645 maybe-distclean-readline:
30646 @if readline
30647 maybe-distclean-readline: distclean-readline
30648
30649 distclean-readline:
30650 @: $(MAKE); $(unstage)
30651 @[ -f ./readline/Makefile ] || exit 0; \
30652 r=`${PWD_COMMAND}`; export r; \
30653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30654 $(HOST_EXPORTS) \
30655 for flag in $(EXTRA_HOST_FLAGS) ; do \
30656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30657 done; \
30658 echo "Doing distclean in readline"; \
30659 (cd $(HOST_SUBDIR)/readline && \
30660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30662 "RANLIB=$${RANLIB}" \
30663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30664 distclean) \
30665 || exit 1
30666
30667 @endif readline
30668
30669 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30670 maybe-maintainer-clean-readline:
30671 @if readline
30672 maybe-maintainer-clean-readline: maintainer-clean-readline
30673
30674 maintainer-clean-readline:
30675 @: $(MAKE); $(unstage)
30676 @[ -f ./readline/Makefile ] || exit 0; \
30677 r=`${PWD_COMMAND}`; export r; \
30678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30679 $(HOST_EXPORTS) \
30680 for flag in $(EXTRA_HOST_FLAGS) ; do \
30681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30682 done; \
30683 echo "Doing maintainer-clean in readline"; \
30684 (cd $(HOST_SUBDIR)/readline && \
30685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30687 "RANLIB=$${RANLIB}" \
30688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30689 maintainer-clean) \
30690 || exit 1
30691
30692 @endif readline
30693
30694
30695
30696 .PHONY: configure-sid maybe-configure-sid
30697 maybe-configure-sid:
30698 @if gcc-bootstrap
30699 configure-sid: stage_current
30700 @endif gcc-bootstrap
30701 @if sid
30702 maybe-configure-sid: configure-sid
30703 configure-sid:
30704 @: $(MAKE); $(unstage)
30705 @r=`${PWD_COMMAND}`; export r; \
30706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30707 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30709 $(HOST_EXPORTS) \
30710 echo Configuring in $(HOST_SUBDIR)/sid; \
30711 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30712 case $(srcdir) in \
30713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30714 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30716 esac; \
30717 module_srcdir=sid; \
30718 $(SHELL) \
30719 $$s/$$module_srcdir/configure \
30720 --srcdir=$${topdir}/$$module_srcdir \
30721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30722 --target=${target_alias} \
30723 || exit 1
30724 @endif sid
30725
30726
30727
30728
30729
30730 .PHONY: all-sid maybe-all-sid
30731 maybe-all-sid:
30732 @if gcc-bootstrap
30733 all-sid: stage_current
30734 @endif gcc-bootstrap
30735 @if sid
30736 TARGET-sid=all
30737 maybe-all-sid: all-sid
30738 all-sid: configure-sid
30739 @: $(MAKE); $(unstage)
30740 @r=`${PWD_COMMAND}`; export r; \
30741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30742 $(HOST_EXPORTS) \
30743 (cd $(HOST_SUBDIR)/sid && \
30744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30745 $(TARGET-sid))
30746 @endif sid
30747
30748
30749
30750
30751 .PHONY: check-sid maybe-check-sid
30752 maybe-check-sid:
30753 @if sid
30754 maybe-check-sid: check-sid
30755
30756 check-sid:
30757 @: $(MAKE); $(unstage)
30758 @r=`${PWD_COMMAND}`; export r; \
30759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30760 $(HOST_EXPORTS) \
30761 (cd $(HOST_SUBDIR)/sid && \
30762 $(MAKE) $(FLAGS_TO_PASS) check)
30763
30764 @endif sid
30765
30766 .PHONY: install-sid maybe-install-sid
30767 maybe-install-sid:
30768 @if sid
30769 maybe-install-sid: install-sid
30770
30771 install-sid: installdirs
30772 @: $(MAKE); $(unstage)
30773 @r=`${PWD_COMMAND}`; export r; \
30774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 $(HOST_EXPORTS) \
30776 (cd $(HOST_SUBDIR)/sid && \
30777 $(MAKE) $(FLAGS_TO_PASS) install)
30778
30779 @endif sid
30780
30781 .PHONY: install-strip-sid maybe-install-strip-sid
30782 maybe-install-strip-sid:
30783 @if sid
30784 maybe-install-strip-sid: install-strip-sid
30785
30786 install-strip-sid: installdirs
30787 @: $(MAKE); $(unstage)
30788 @r=`${PWD_COMMAND}`; export r; \
30789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30790 $(HOST_EXPORTS) \
30791 (cd $(HOST_SUBDIR)/sid && \
30792 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30793
30794 @endif sid
30795
30796 # Other targets (info, dvi, pdf, etc.)
30797
30798 .PHONY: maybe-info-sid info-sid
30799 maybe-info-sid:
30800 @if sid
30801 maybe-info-sid: info-sid
30802
30803 info-sid: \
30804 configure-sid
30805 @: $(MAKE); $(unstage)
30806 @[ -f ./sid/Makefile ] || exit 0; \
30807 r=`${PWD_COMMAND}`; export r; \
30808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30809 $(HOST_EXPORTS) \
30810 for flag in $(EXTRA_HOST_FLAGS) ; do \
30811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30812 done; \
30813 echo "Doing info in sid"; \
30814 (cd $(HOST_SUBDIR)/sid && \
30815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30817 "RANLIB=$${RANLIB}" \
30818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30819 info) \
30820 || exit 1
30821
30822 @endif sid
30823
30824 .PHONY: maybe-dvi-sid dvi-sid
30825 maybe-dvi-sid:
30826 @if sid
30827 maybe-dvi-sid: dvi-sid
30828
30829 dvi-sid: \
30830 configure-sid
30831 @: $(MAKE); $(unstage)
30832 @[ -f ./sid/Makefile ] || exit 0; \
30833 r=`${PWD_COMMAND}`; export r; \
30834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30835 $(HOST_EXPORTS) \
30836 for flag in $(EXTRA_HOST_FLAGS) ; do \
30837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30838 done; \
30839 echo "Doing dvi in sid"; \
30840 (cd $(HOST_SUBDIR)/sid && \
30841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30843 "RANLIB=$${RANLIB}" \
30844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30845 dvi) \
30846 || exit 1
30847
30848 @endif sid
30849
30850 .PHONY: maybe-pdf-sid pdf-sid
30851 maybe-pdf-sid:
30852 @if sid
30853 maybe-pdf-sid: pdf-sid
30854
30855 pdf-sid: \
30856 configure-sid
30857 @: $(MAKE); $(unstage)
30858 @[ -f ./sid/Makefile ] || exit 0; \
30859 r=`${PWD_COMMAND}`; export r; \
30860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30861 $(HOST_EXPORTS) \
30862 for flag in $(EXTRA_HOST_FLAGS) ; do \
30863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30864 done; \
30865 echo "Doing pdf in sid"; \
30866 (cd $(HOST_SUBDIR)/sid && \
30867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30869 "RANLIB=$${RANLIB}" \
30870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30871 pdf) \
30872 || exit 1
30873
30874 @endif sid
30875
30876 .PHONY: maybe-html-sid html-sid
30877 maybe-html-sid:
30878 @if sid
30879 maybe-html-sid: html-sid
30880
30881 html-sid: \
30882 configure-sid
30883 @: $(MAKE); $(unstage)
30884 @[ -f ./sid/Makefile ] || exit 0; \
30885 r=`${PWD_COMMAND}`; export r; \
30886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30887 $(HOST_EXPORTS) \
30888 for flag in $(EXTRA_HOST_FLAGS) ; do \
30889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30890 done; \
30891 echo "Doing html in sid"; \
30892 (cd $(HOST_SUBDIR)/sid && \
30893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30895 "RANLIB=$${RANLIB}" \
30896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30897 html) \
30898 || exit 1
30899
30900 @endif sid
30901
30902 .PHONY: maybe-TAGS-sid TAGS-sid
30903 maybe-TAGS-sid:
30904 @if sid
30905 maybe-TAGS-sid: TAGS-sid
30906
30907 TAGS-sid: \
30908 configure-sid
30909 @: $(MAKE); $(unstage)
30910 @[ -f ./sid/Makefile ] || exit 0; \
30911 r=`${PWD_COMMAND}`; export r; \
30912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30913 $(HOST_EXPORTS) \
30914 for flag in $(EXTRA_HOST_FLAGS) ; do \
30915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30916 done; \
30917 echo "Doing TAGS in sid"; \
30918 (cd $(HOST_SUBDIR)/sid && \
30919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30921 "RANLIB=$${RANLIB}" \
30922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30923 TAGS) \
30924 || exit 1
30925
30926 @endif sid
30927
30928 .PHONY: maybe-install-info-sid install-info-sid
30929 maybe-install-info-sid:
30930 @if sid
30931 maybe-install-info-sid: install-info-sid
30932
30933 install-info-sid: \
30934 configure-sid \
30935 info-sid
30936 @: $(MAKE); $(unstage)
30937 @[ -f ./sid/Makefile ] || exit 0; \
30938 r=`${PWD_COMMAND}`; export r; \
30939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30940 $(HOST_EXPORTS) \
30941 for flag in $(EXTRA_HOST_FLAGS) ; do \
30942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30943 done; \
30944 echo "Doing install-info in sid"; \
30945 (cd $(HOST_SUBDIR)/sid && \
30946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30948 "RANLIB=$${RANLIB}" \
30949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30950 install-info) \
30951 || exit 1
30952
30953 @endif sid
30954
30955 .PHONY: maybe-install-pdf-sid install-pdf-sid
30956 maybe-install-pdf-sid:
30957 @if sid
30958 maybe-install-pdf-sid: install-pdf-sid
30959
30960 install-pdf-sid: \
30961 configure-sid \
30962 pdf-sid
30963 @: $(MAKE); $(unstage)
30964 @[ -f ./sid/Makefile ] || exit 0; \
30965 r=`${PWD_COMMAND}`; export r; \
30966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30967 $(HOST_EXPORTS) \
30968 for flag in $(EXTRA_HOST_FLAGS) ; do \
30969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30970 done; \
30971 echo "Doing install-pdf in sid"; \
30972 (cd $(HOST_SUBDIR)/sid && \
30973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30975 "RANLIB=$${RANLIB}" \
30976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30977 install-pdf) \
30978 || exit 1
30979
30980 @endif sid
30981
30982 .PHONY: maybe-install-html-sid install-html-sid
30983 maybe-install-html-sid:
30984 @if sid
30985 maybe-install-html-sid: install-html-sid
30986
30987 install-html-sid: \
30988 configure-sid \
30989 html-sid
30990 @: $(MAKE); $(unstage)
30991 @[ -f ./sid/Makefile ] || exit 0; \
30992 r=`${PWD_COMMAND}`; export r; \
30993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30994 $(HOST_EXPORTS) \
30995 for flag in $(EXTRA_HOST_FLAGS) ; do \
30996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30997 done; \
30998 echo "Doing install-html in sid"; \
30999 (cd $(HOST_SUBDIR)/sid && \
31000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31002 "RANLIB=$${RANLIB}" \
31003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31004 install-html) \
31005 || exit 1
31006
31007 @endif sid
31008
31009 .PHONY: maybe-installcheck-sid installcheck-sid
31010 maybe-installcheck-sid:
31011 @if sid
31012 maybe-installcheck-sid: installcheck-sid
31013
31014 installcheck-sid: \
31015 configure-sid
31016 @: $(MAKE); $(unstage)
31017 @[ -f ./sid/Makefile ] || exit 0; \
31018 r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(HOST_EXPORTS) \
31021 for flag in $(EXTRA_HOST_FLAGS) ; do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 echo "Doing installcheck in sid"; \
31025 (cd $(HOST_SUBDIR)/sid && \
31026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31028 "RANLIB=$${RANLIB}" \
31029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31030 installcheck) \
31031 || exit 1
31032
31033 @endif sid
31034
31035 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
31036 maybe-mostlyclean-sid:
31037 @if sid
31038 maybe-mostlyclean-sid: mostlyclean-sid
31039
31040 mostlyclean-sid:
31041 @: $(MAKE); $(unstage)
31042 @[ -f ./sid/Makefile ] || exit 0; \
31043 r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(HOST_EXPORTS) \
31046 for flag in $(EXTRA_HOST_FLAGS) ; do \
31047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31048 done; \
31049 echo "Doing mostlyclean in sid"; \
31050 (cd $(HOST_SUBDIR)/sid && \
31051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31053 "RANLIB=$${RANLIB}" \
31054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31055 mostlyclean) \
31056 || exit 1
31057
31058 @endif sid
31059
31060 .PHONY: maybe-clean-sid clean-sid
31061 maybe-clean-sid:
31062 @if sid
31063 maybe-clean-sid: clean-sid
31064
31065 clean-sid:
31066 @: $(MAKE); $(unstage)
31067 @[ -f ./sid/Makefile ] || exit 0; \
31068 r=`${PWD_COMMAND}`; export r; \
31069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 $(HOST_EXPORTS) \
31071 for flag in $(EXTRA_HOST_FLAGS) ; do \
31072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31073 done; \
31074 echo "Doing clean in sid"; \
31075 (cd $(HOST_SUBDIR)/sid && \
31076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31078 "RANLIB=$${RANLIB}" \
31079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31080 clean) \
31081 || exit 1
31082
31083 @endif sid
31084
31085 .PHONY: maybe-distclean-sid distclean-sid
31086 maybe-distclean-sid:
31087 @if sid
31088 maybe-distclean-sid: distclean-sid
31089
31090 distclean-sid:
31091 @: $(MAKE); $(unstage)
31092 @[ -f ./sid/Makefile ] || exit 0; \
31093 r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 $(HOST_EXPORTS) \
31096 for flag in $(EXTRA_HOST_FLAGS) ; do \
31097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31098 done; \
31099 echo "Doing distclean in sid"; \
31100 (cd $(HOST_SUBDIR)/sid && \
31101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31103 "RANLIB=$${RANLIB}" \
31104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31105 distclean) \
31106 || exit 1
31107
31108 @endif sid
31109
31110 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
31111 maybe-maintainer-clean-sid:
31112 @if sid
31113 maybe-maintainer-clean-sid: maintainer-clean-sid
31114
31115 maintainer-clean-sid:
31116 @: $(MAKE); $(unstage)
31117 @[ -f ./sid/Makefile ] || exit 0; \
31118 r=`${PWD_COMMAND}`; export r; \
31119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31120 $(HOST_EXPORTS) \
31121 for flag in $(EXTRA_HOST_FLAGS) ; do \
31122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31123 done; \
31124 echo "Doing maintainer-clean in sid"; \
31125 (cd $(HOST_SUBDIR)/sid && \
31126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31128 "RANLIB=$${RANLIB}" \
31129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31130 maintainer-clean) \
31131 || exit 1
31132
31133 @endif sid
31134
31135
31136
31137 .PHONY: configure-sim maybe-configure-sim
31138 maybe-configure-sim:
31139 @if gcc-bootstrap
31140 configure-sim: stage_current
31141 @endif gcc-bootstrap
31142 @if sim
31143 maybe-configure-sim: configure-sim
31144 configure-sim:
31145 @: $(MAKE); $(unstage)
31146 @r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
31149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
31150 $(HOST_EXPORTS) \
31151 echo Configuring in $(HOST_SUBDIR)/sim; \
31152 cd "$(HOST_SUBDIR)/sim" || exit 1; \
31153 case $(srcdir) in \
31154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31155 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
31156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31157 esac; \
31158 module_srcdir=sim; \
31159 $(SHELL) \
31160 $$s/$$module_srcdir/configure \
31161 --srcdir=$${topdir}/$$module_srcdir \
31162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31163 --target=${target_alias} \
31164 || exit 1
31165 @endif sim
31166
31167
31168
31169
31170
31171 .PHONY: all-sim maybe-all-sim
31172 maybe-all-sim:
31173 @if gcc-bootstrap
31174 all-sim: stage_current
31175 @endif gcc-bootstrap
31176 @if sim
31177 TARGET-sim=all
31178 maybe-all-sim: all-sim
31179 all-sim: configure-sim
31180 @: $(MAKE); $(unstage)
31181 @r=`${PWD_COMMAND}`; export r; \
31182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31183 $(HOST_EXPORTS) \
31184 (cd $(HOST_SUBDIR)/sim && \
31185 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31186 $(TARGET-sim))
31187 @endif sim
31188
31189
31190
31191
31192 .PHONY: check-sim maybe-check-sim
31193 maybe-check-sim:
31194 @if sim
31195 maybe-check-sim: check-sim
31196
31197 check-sim:
31198 @: $(MAKE); $(unstage)
31199 @r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(HOST_EXPORTS) \
31202 (cd $(HOST_SUBDIR)/sim && \
31203 $(MAKE) $(FLAGS_TO_PASS) check)
31204
31205 @endif sim
31206
31207 .PHONY: install-sim maybe-install-sim
31208 maybe-install-sim:
31209 @if sim
31210 maybe-install-sim: install-sim
31211
31212 install-sim: installdirs
31213 @: $(MAKE); $(unstage)
31214 @r=`${PWD_COMMAND}`; export r; \
31215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31216 $(HOST_EXPORTS) \
31217 (cd $(HOST_SUBDIR)/sim && \
31218 $(MAKE) $(FLAGS_TO_PASS) install)
31219
31220 @endif sim
31221
31222 .PHONY: install-strip-sim maybe-install-strip-sim
31223 maybe-install-strip-sim:
31224 @if sim
31225 maybe-install-strip-sim: install-strip-sim
31226
31227 install-strip-sim: installdirs
31228 @: $(MAKE); $(unstage)
31229 @r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(HOST_EXPORTS) \
31232 (cd $(HOST_SUBDIR)/sim && \
31233 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31234
31235 @endif sim
31236
31237 # Other targets (info, dvi, pdf, etc.)
31238
31239 .PHONY: maybe-info-sim info-sim
31240 maybe-info-sim:
31241 @if sim
31242 maybe-info-sim: info-sim
31243
31244 info-sim: \
31245 configure-sim
31246 @: $(MAKE); $(unstage)
31247 @[ -f ./sim/Makefile ] || exit 0; \
31248 r=`${PWD_COMMAND}`; export r; \
31249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31250 $(HOST_EXPORTS) \
31251 for flag in $(EXTRA_HOST_FLAGS) ; do \
31252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31253 done; \
31254 echo "Doing info in sim"; \
31255 (cd $(HOST_SUBDIR)/sim && \
31256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31258 "RANLIB=$${RANLIB}" \
31259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31260 info) \
31261 || exit 1
31262
31263 @endif sim
31264
31265 .PHONY: maybe-dvi-sim dvi-sim
31266 maybe-dvi-sim:
31267 @if sim
31268 maybe-dvi-sim: dvi-sim
31269
31270 dvi-sim: \
31271 configure-sim
31272 @: $(MAKE); $(unstage)
31273 @[ -f ./sim/Makefile ] || exit 0; \
31274 r=`${PWD_COMMAND}`; export r; \
31275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31276 $(HOST_EXPORTS) \
31277 for flag in $(EXTRA_HOST_FLAGS) ; do \
31278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31279 done; \
31280 echo "Doing dvi in sim"; \
31281 (cd $(HOST_SUBDIR)/sim && \
31282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31284 "RANLIB=$${RANLIB}" \
31285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31286 dvi) \
31287 || exit 1
31288
31289 @endif sim
31290
31291 .PHONY: maybe-pdf-sim pdf-sim
31292 maybe-pdf-sim:
31293 @if sim
31294 maybe-pdf-sim: pdf-sim
31295
31296 pdf-sim: \
31297 configure-sim
31298 @: $(MAKE); $(unstage)
31299 @[ -f ./sim/Makefile ] || exit 0; \
31300 r=`${PWD_COMMAND}`; export r; \
31301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31302 $(HOST_EXPORTS) \
31303 for flag in $(EXTRA_HOST_FLAGS) ; do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 echo "Doing pdf in sim"; \
31307 (cd $(HOST_SUBDIR)/sim && \
31308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31310 "RANLIB=$${RANLIB}" \
31311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31312 pdf) \
31313 || exit 1
31314
31315 @endif sim
31316
31317 .PHONY: maybe-html-sim html-sim
31318 maybe-html-sim:
31319 @if sim
31320 maybe-html-sim: html-sim
31321
31322 html-sim: \
31323 configure-sim
31324 @: $(MAKE); $(unstage)
31325 @[ -f ./sim/Makefile ] || exit 0; \
31326 r=`${PWD_COMMAND}`; export r; \
31327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31328 $(HOST_EXPORTS) \
31329 for flag in $(EXTRA_HOST_FLAGS) ; do \
31330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31331 done; \
31332 echo "Doing html in sim"; \
31333 (cd $(HOST_SUBDIR)/sim && \
31334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31336 "RANLIB=$${RANLIB}" \
31337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31338 html) \
31339 || exit 1
31340
31341 @endif sim
31342
31343 .PHONY: maybe-TAGS-sim TAGS-sim
31344 maybe-TAGS-sim:
31345 @if sim
31346 maybe-TAGS-sim: TAGS-sim
31347
31348 TAGS-sim: \
31349 configure-sim
31350 @: $(MAKE); $(unstage)
31351 @[ -f ./sim/Makefile ] || exit 0; \
31352 r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(HOST_EXPORTS) \
31355 for flag in $(EXTRA_HOST_FLAGS) ; do \
31356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31357 done; \
31358 echo "Doing TAGS in sim"; \
31359 (cd $(HOST_SUBDIR)/sim && \
31360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31362 "RANLIB=$${RANLIB}" \
31363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31364 TAGS) \
31365 || exit 1
31366
31367 @endif sim
31368
31369 .PHONY: maybe-install-info-sim install-info-sim
31370 maybe-install-info-sim:
31371 @if sim
31372 maybe-install-info-sim: install-info-sim
31373
31374 install-info-sim: \
31375 configure-sim \
31376 info-sim
31377 @: $(MAKE); $(unstage)
31378 @[ -f ./sim/Makefile ] || exit 0; \
31379 r=`${PWD_COMMAND}`; export r; \
31380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31381 $(HOST_EXPORTS) \
31382 for flag in $(EXTRA_HOST_FLAGS) ; do \
31383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31384 done; \
31385 echo "Doing install-info in sim"; \
31386 (cd $(HOST_SUBDIR)/sim && \
31387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31389 "RANLIB=$${RANLIB}" \
31390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31391 install-info) \
31392 || exit 1
31393
31394 @endif sim
31395
31396 .PHONY: maybe-install-pdf-sim install-pdf-sim
31397 maybe-install-pdf-sim:
31398 @if sim
31399 maybe-install-pdf-sim: install-pdf-sim
31400
31401 install-pdf-sim: \
31402 configure-sim \
31403 pdf-sim
31404 @: $(MAKE); $(unstage)
31405 @[ -f ./sim/Makefile ] || exit 0; \
31406 r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(HOST_EXPORTS) \
31409 for flag in $(EXTRA_HOST_FLAGS) ; do \
31410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31411 done; \
31412 echo "Doing install-pdf in sim"; \
31413 (cd $(HOST_SUBDIR)/sim && \
31414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31416 "RANLIB=$${RANLIB}" \
31417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31418 install-pdf) \
31419 || exit 1
31420
31421 @endif sim
31422
31423 .PHONY: maybe-install-html-sim install-html-sim
31424 maybe-install-html-sim:
31425 @if sim
31426 maybe-install-html-sim: install-html-sim
31427
31428 install-html-sim: \
31429 configure-sim \
31430 html-sim
31431 @: $(MAKE); $(unstage)
31432 @[ -f ./sim/Makefile ] || exit 0; \
31433 r=`${PWD_COMMAND}`; export r; \
31434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31435 $(HOST_EXPORTS) \
31436 for flag in $(EXTRA_HOST_FLAGS) ; do \
31437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31438 done; \
31439 echo "Doing install-html in sim"; \
31440 (cd $(HOST_SUBDIR)/sim && \
31441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31443 "RANLIB=$${RANLIB}" \
31444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31445 install-html) \
31446 || exit 1
31447
31448 @endif sim
31449
31450 .PHONY: maybe-installcheck-sim installcheck-sim
31451 maybe-installcheck-sim:
31452 @if sim
31453 maybe-installcheck-sim: installcheck-sim
31454
31455 installcheck-sim: \
31456 configure-sim
31457 @: $(MAKE); $(unstage)
31458 @[ -f ./sim/Makefile ] || exit 0; \
31459 r=`${PWD_COMMAND}`; export r; \
31460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31461 $(HOST_EXPORTS) \
31462 for flag in $(EXTRA_HOST_FLAGS) ; do \
31463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31464 done; \
31465 echo "Doing installcheck in sim"; \
31466 (cd $(HOST_SUBDIR)/sim && \
31467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31469 "RANLIB=$${RANLIB}" \
31470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31471 installcheck) \
31472 || exit 1
31473
31474 @endif sim
31475
31476 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31477 maybe-mostlyclean-sim:
31478 @if sim
31479 maybe-mostlyclean-sim: mostlyclean-sim
31480
31481 mostlyclean-sim:
31482 @: $(MAKE); $(unstage)
31483 @[ -f ./sim/Makefile ] || exit 0; \
31484 r=`${PWD_COMMAND}`; export r; \
31485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31486 $(HOST_EXPORTS) \
31487 for flag in $(EXTRA_HOST_FLAGS) ; do \
31488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31489 done; \
31490 echo "Doing mostlyclean in sim"; \
31491 (cd $(HOST_SUBDIR)/sim && \
31492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31494 "RANLIB=$${RANLIB}" \
31495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31496 mostlyclean) \
31497 || exit 1
31498
31499 @endif sim
31500
31501 .PHONY: maybe-clean-sim clean-sim
31502 maybe-clean-sim:
31503 @if sim
31504 maybe-clean-sim: clean-sim
31505
31506 clean-sim:
31507 @: $(MAKE); $(unstage)
31508 @[ -f ./sim/Makefile ] || exit 0; \
31509 r=`${PWD_COMMAND}`; export r; \
31510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31511 $(HOST_EXPORTS) \
31512 for flag in $(EXTRA_HOST_FLAGS) ; do \
31513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31514 done; \
31515 echo "Doing clean in sim"; \
31516 (cd $(HOST_SUBDIR)/sim && \
31517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31519 "RANLIB=$${RANLIB}" \
31520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31521 clean) \
31522 || exit 1
31523
31524 @endif sim
31525
31526 .PHONY: maybe-distclean-sim distclean-sim
31527 maybe-distclean-sim:
31528 @if sim
31529 maybe-distclean-sim: distclean-sim
31530
31531 distclean-sim:
31532 @: $(MAKE); $(unstage)
31533 @[ -f ./sim/Makefile ] || exit 0; \
31534 r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 $(HOST_EXPORTS) \
31537 for flag in $(EXTRA_HOST_FLAGS) ; do \
31538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31539 done; \
31540 echo "Doing distclean in sim"; \
31541 (cd $(HOST_SUBDIR)/sim && \
31542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31544 "RANLIB=$${RANLIB}" \
31545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31546 distclean) \
31547 || exit 1
31548
31549 @endif sim
31550
31551 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31552 maybe-maintainer-clean-sim:
31553 @if sim
31554 maybe-maintainer-clean-sim: maintainer-clean-sim
31555
31556 maintainer-clean-sim:
31557 @: $(MAKE); $(unstage)
31558 @[ -f ./sim/Makefile ] || exit 0; \
31559 r=`${PWD_COMMAND}`; export r; \
31560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31561 $(HOST_EXPORTS) \
31562 for flag in $(EXTRA_HOST_FLAGS) ; do \
31563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31564 done; \
31565 echo "Doing maintainer-clean in sim"; \
31566 (cd $(HOST_SUBDIR)/sim && \
31567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31569 "RANLIB=$${RANLIB}" \
31570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31571 maintainer-clean) \
31572 || exit 1
31573
31574 @endif sim
31575
31576
31577
31578 .PHONY: configure-texinfo maybe-configure-texinfo
31579 maybe-configure-texinfo:
31580 @if gcc-bootstrap
31581 configure-texinfo: stage_current
31582 @endif gcc-bootstrap
31583 @if texinfo
31584 maybe-configure-texinfo: configure-texinfo
31585 configure-texinfo:
31586 @: $(MAKE); $(unstage)
31587 @r=`${PWD_COMMAND}`; export r; \
31588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31589 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31591 $(HOST_EXPORTS) \
31592 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31593 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31594 case $(srcdir) in \
31595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31596 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31598 esac; \
31599 module_srcdir=texinfo; \
31600 $(SHELL) \
31601 $$s/$$module_srcdir/configure \
31602 --srcdir=$${topdir}/$$module_srcdir \
31603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31604 --target=${target_alias} \
31605 || exit 1
31606 @endif texinfo
31607
31608
31609
31610
31611
31612 .PHONY: all-texinfo maybe-all-texinfo
31613 maybe-all-texinfo:
31614 @if gcc-bootstrap
31615 all-texinfo: stage_current
31616 @endif gcc-bootstrap
31617 @if texinfo
31618 TARGET-texinfo=all
31619 maybe-all-texinfo: all-texinfo
31620 all-texinfo: configure-texinfo
31621 @: $(MAKE); $(unstage)
31622 @r=`${PWD_COMMAND}`; export r; \
31623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31624 $(HOST_EXPORTS) \
31625 (cd $(HOST_SUBDIR)/texinfo && \
31626 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31627 $(TARGET-texinfo))
31628 @endif texinfo
31629
31630
31631
31632
31633 .PHONY: check-texinfo maybe-check-texinfo
31634 maybe-check-texinfo:
31635 @if texinfo
31636 maybe-check-texinfo: check-texinfo
31637
31638 check-texinfo:
31639 @: $(MAKE); $(unstage)
31640 @r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 $(HOST_EXPORTS) \
31643 (cd $(HOST_SUBDIR)/texinfo && \
31644 $(MAKE) $(FLAGS_TO_PASS) check)
31645
31646 @endif texinfo
31647
31648 .PHONY: install-texinfo maybe-install-texinfo
31649 maybe-install-texinfo:
31650 @if texinfo
31651 maybe-install-texinfo: install-texinfo
31652
31653 install-texinfo:
31654
31655 @endif texinfo
31656
31657 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31658 maybe-install-strip-texinfo:
31659 @if texinfo
31660 maybe-install-strip-texinfo: install-strip-texinfo
31661
31662 install-strip-texinfo:
31663
31664 @endif texinfo
31665
31666 # Other targets (info, dvi, pdf, etc.)
31667
31668 .PHONY: maybe-info-texinfo info-texinfo
31669 maybe-info-texinfo:
31670 @if texinfo
31671 maybe-info-texinfo: info-texinfo
31672
31673 info-texinfo: \
31674 configure-texinfo
31675 @: $(MAKE); $(unstage)
31676 @[ -f ./texinfo/Makefile ] || exit 0; \
31677 r=`${PWD_COMMAND}`; export r; \
31678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31679 $(HOST_EXPORTS) \
31680 for flag in $(EXTRA_HOST_FLAGS) ; do \
31681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31682 done; \
31683 echo "Doing info in texinfo"; \
31684 (cd $(HOST_SUBDIR)/texinfo && \
31685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31687 "RANLIB=$${RANLIB}" \
31688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31689 info) \
31690 || exit 1
31691
31692 @endif texinfo
31693
31694 .PHONY: maybe-dvi-texinfo dvi-texinfo
31695 maybe-dvi-texinfo:
31696 @if texinfo
31697 maybe-dvi-texinfo: dvi-texinfo
31698
31699 dvi-texinfo: \
31700 configure-texinfo
31701 @: $(MAKE); $(unstage)
31702 @[ -f ./texinfo/Makefile ] || exit 0; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(HOST_EXPORTS) \
31706 for flag in $(EXTRA_HOST_FLAGS) ; do \
31707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31708 done; \
31709 echo "Doing dvi in texinfo"; \
31710 (cd $(HOST_SUBDIR)/texinfo && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 dvi) \
31716 || exit 1
31717
31718 @endif texinfo
31719
31720 .PHONY: maybe-pdf-texinfo pdf-texinfo
31721 maybe-pdf-texinfo:
31722 @if texinfo
31723 maybe-pdf-texinfo: pdf-texinfo
31724
31725 pdf-texinfo: \
31726 configure-texinfo
31727 @: $(MAKE); $(unstage)
31728 @[ -f ./texinfo/Makefile ] || exit 0; \
31729 r=`${PWD_COMMAND}`; export r; \
31730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31731 $(HOST_EXPORTS) \
31732 for flag in $(EXTRA_HOST_FLAGS) ; do \
31733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31734 done; \
31735 echo "Doing pdf in texinfo"; \
31736 (cd $(HOST_SUBDIR)/texinfo && \
31737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31739 "RANLIB=$${RANLIB}" \
31740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31741 pdf) \
31742 || exit 1
31743
31744 @endif texinfo
31745
31746 .PHONY: maybe-html-texinfo html-texinfo
31747 maybe-html-texinfo:
31748 @if texinfo
31749 maybe-html-texinfo: html-texinfo
31750
31751 html-texinfo: \
31752 configure-texinfo
31753 @: $(MAKE); $(unstage)
31754 @[ -f ./texinfo/Makefile ] || exit 0; \
31755 r=`${PWD_COMMAND}`; export r; \
31756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31757 $(HOST_EXPORTS) \
31758 for flag in $(EXTRA_HOST_FLAGS) ; do \
31759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31760 done; \
31761 echo "Doing html in texinfo"; \
31762 (cd $(HOST_SUBDIR)/texinfo && \
31763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31765 "RANLIB=$${RANLIB}" \
31766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31767 html) \
31768 || exit 1
31769
31770 @endif texinfo
31771
31772 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31773 maybe-TAGS-texinfo:
31774 @if texinfo
31775 maybe-TAGS-texinfo: TAGS-texinfo
31776
31777 TAGS-texinfo: \
31778 configure-texinfo
31779 @: $(MAKE); $(unstage)
31780 @[ -f ./texinfo/Makefile ] || exit 0; \
31781 r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(HOST_EXPORTS) \
31784 for flag in $(EXTRA_HOST_FLAGS) ; do \
31785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31786 done; \
31787 echo "Doing TAGS in texinfo"; \
31788 (cd $(HOST_SUBDIR)/texinfo && \
31789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31791 "RANLIB=$${RANLIB}" \
31792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31793 TAGS) \
31794 || exit 1
31795
31796 @endif texinfo
31797
31798 .PHONY: maybe-install-info-texinfo install-info-texinfo
31799 maybe-install-info-texinfo:
31800 @if texinfo
31801 maybe-install-info-texinfo: install-info-texinfo
31802
31803 install-info-texinfo: \
31804 configure-texinfo \
31805 info-texinfo
31806 @: $(MAKE); $(unstage)
31807 @[ -f ./texinfo/Makefile ] || exit 0; \
31808 r=`${PWD_COMMAND}`; export r; \
31809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31810 $(HOST_EXPORTS) \
31811 for flag in $(EXTRA_HOST_FLAGS) ; do \
31812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31813 done; \
31814 echo "Doing install-info in texinfo"; \
31815 (cd $(HOST_SUBDIR)/texinfo && \
31816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31818 "RANLIB=$${RANLIB}" \
31819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31820 install-info) \
31821 || exit 1
31822
31823 @endif texinfo
31824
31825 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31826 maybe-install-pdf-texinfo:
31827 @if texinfo
31828 maybe-install-pdf-texinfo: install-pdf-texinfo
31829
31830 install-pdf-texinfo: \
31831 configure-texinfo \
31832 pdf-texinfo
31833 @: $(MAKE); $(unstage)
31834 @[ -f ./texinfo/Makefile ] || exit 0; \
31835 r=`${PWD_COMMAND}`; export r; \
31836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31837 $(HOST_EXPORTS) \
31838 for flag in $(EXTRA_HOST_FLAGS) ; do \
31839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31840 done; \
31841 echo "Doing install-pdf in texinfo"; \
31842 (cd $(HOST_SUBDIR)/texinfo && \
31843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31845 "RANLIB=$${RANLIB}" \
31846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31847 install-pdf) \
31848 || exit 1
31849
31850 @endif texinfo
31851
31852 .PHONY: maybe-install-html-texinfo install-html-texinfo
31853 maybe-install-html-texinfo:
31854 @if texinfo
31855 maybe-install-html-texinfo: install-html-texinfo
31856
31857 install-html-texinfo: \
31858 configure-texinfo \
31859 html-texinfo
31860 @: $(MAKE); $(unstage)
31861 @[ -f ./texinfo/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) ; do \
31866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31867 done; \
31868 echo "Doing install-html in texinfo"; \
31869 (cd $(HOST_SUBDIR)/texinfo && \
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 install-html) \
31875 || exit 1
31876
31877 @endif texinfo
31878
31879 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31880 maybe-installcheck-texinfo:
31881 @if texinfo
31882 maybe-installcheck-texinfo: installcheck-texinfo
31883
31884 installcheck-texinfo: \
31885 configure-texinfo
31886 @: $(MAKE); $(unstage)
31887 @[ -f ./texinfo/Makefile ] || exit 0; \
31888 r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(HOST_EXPORTS) \
31891 for flag in $(EXTRA_HOST_FLAGS) ; do \
31892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31893 done; \
31894 echo "Doing installcheck in texinfo"; \
31895 (cd $(HOST_SUBDIR)/texinfo && \
31896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31898 "RANLIB=$${RANLIB}" \
31899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31900 installcheck) \
31901 || exit 1
31902
31903 @endif texinfo
31904
31905 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31906 maybe-mostlyclean-texinfo:
31907 @if texinfo
31908 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31909
31910 mostlyclean-texinfo:
31911 @: $(MAKE); $(unstage)
31912 @[ -f ./texinfo/Makefile ] || exit 0; \
31913 r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 $(HOST_EXPORTS) \
31916 for flag in $(EXTRA_HOST_FLAGS) ; do \
31917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31918 done; \
31919 echo "Doing mostlyclean in texinfo"; \
31920 (cd $(HOST_SUBDIR)/texinfo && \
31921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31923 "RANLIB=$${RANLIB}" \
31924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31925 mostlyclean) \
31926 || exit 1
31927
31928 @endif texinfo
31929
31930 .PHONY: maybe-clean-texinfo clean-texinfo
31931 maybe-clean-texinfo:
31932 @if texinfo
31933 maybe-clean-texinfo: clean-texinfo
31934
31935 clean-texinfo:
31936 @: $(MAKE); $(unstage)
31937 @[ -f ./texinfo/Makefile ] || exit 0; \
31938 r=`${PWD_COMMAND}`; export r; \
31939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31940 $(HOST_EXPORTS) \
31941 for flag in $(EXTRA_HOST_FLAGS) ; do \
31942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31943 done; \
31944 echo "Doing clean in texinfo"; \
31945 (cd $(HOST_SUBDIR)/texinfo && \
31946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31948 "RANLIB=$${RANLIB}" \
31949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31950 clean) \
31951 || exit 1
31952
31953 @endif texinfo
31954
31955 .PHONY: maybe-distclean-texinfo distclean-texinfo
31956 maybe-distclean-texinfo:
31957 @if texinfo
31958 maybe-distclean-texinfo: distclean-texinfo
31959
31960 distclean-texinfo:
31961 @: $(MAKE); $(unstage)
31962 @[ -f ./texinfo/Makefile ] || exit 0; \
31963 r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(HOST_EXPORTS) \
31966 for flag in $(EXTRA_HOST_FLAGS) ; do \
31967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31968 done; \
31969 echo "Doing distclean in texinfo"; \
31970 (cd $(HOST_SUBDIR)/texinfo && \
31971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31973 "RANLIB=$${RANLIB}" \
31974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31975 distclean) \
31976 || exit 1
31977
31978 @endif texinfo
31979
31980 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31981 maybe-maintainer-clean-texinfo:
31982 @if texinfo
31983 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31984
31985 maintainer-clean-texinfo:
31986 @: $(MAKE); $(unstage)
31987 @[ -f ./texinfo/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) ; do \
31992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31993 done; \
31994 echo "Doing maintainer-clean in texinfo"; \
31995 (cd $(HOST_SUBDIR)/texinfo && \
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 maintainer-clean) \
32001 || exit 1
32002
32003 @endif texinfo
32004
32005
32006
32007 .PHONY: configure-zlib maybe-configure-zlib
32008 maybe-configure-zlib:
32009 @if gcc-bootstrap
32010 configure-zlib: stage_current
32011 @endif gcc-bootstrap
32012 @if zlib
32013 maybe-configure-zlib: configure-zlib
32014 configure-zlib:
32015 @r=`${PWD_COMMAND}`; export r; \
32016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32017 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32019 $(HOST_EXPORTS) \
32020 echo Configuring in $(HOST_SUBDIR)/zlib; \
32021 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
32022 case $(srcdir) in \
32023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32024 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32026 esac; \
32027 module_srcdir=zlib; \
32028 $(SHELL) \
32029 $$s/$$module_srcdir/configure \
32030 --srcdir=$${topdir}/$$module_srcdir \
32031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32032 --target=${target_alias} @extra_host_zlib_configure_flags@ \
32033 || exit 1
32034 @endif zlib
32035
32036
32037
32038 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
32039 maybe-configure-stage1-zlib:
32040 @if zlib-bootstrap
32041 maybe-configure-stage1-zlib: configure-stage1-zlib
32042 configure-stage1-zlib:
32043 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32045 @r=`${PWD_COMMAND}`; export r; \
32046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32047 TFLAGS="$(STAGE1_TFLAGS)"; \
32048 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32049 $(HOST_EXPORTS) \
32050 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
32051 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
32052 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
32053 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
32054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32055 cd $(HOST_SUBDIR)/zlib || exit 1; \
32056 case $(srcdir) in \
32057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32058 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32060 esac; \
32061 module_srcdir=zlib; \
32062 $(SHELL) $$s/$$module_srcdir/configure \
32063 --srcdir=$${topdir}/$$module_srcdir \
32064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32065 --target=${target_alias} \
32066 \
32067 $(STAGE1_CONFIGURE_FLAGS) \
32068 @extra_host_zlib_configure_flags@
32069 @endif zlib-bootstrap
32070
32071 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32072 maybe-configure-stage2-zlib:
32073 @if zlib-bootstrap
32074 maybe-configure-stage2-zlib: configure-stage2-zlib
32075 configure-stage2-zlib:
32076 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32078 @r=`${PWD_COMMAND}`; export r; \
32079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32080 TFLAGS="$(STAGE2_TFLAGS)"; \
32081 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32082 $(HOST_EXPORTS) \
32083 $(POSTSTAGE1_HOST_EXPORTS) \
32084 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
32085 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
32086 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
32087 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
32088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32089 cd $(HOST_SUBDIR)/zlib || exit 1; \
32090 case $(srcdir) in \
32091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32092 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32094 esac; \
32095 module_srcdir=zlib; \
32096 $(SHELL) $$s/$$module_srcdir/configure \
32097 --srcdir=$${topdir}/$$module_srcdir \
32098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32099 --target=${target_alias} \
32100 --with-build-libsubdir=$(HOST_SUBDIR) \
32101 $(STAGE2_CONFIGURE_FLAGS) \
32102 @extra_host_zlib_configure_flags@
32103 @endif zlib-bootstrap
32104
32105 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32106 maybe-configure-stage3-zlib:
32107 @if zlib-bootstrap
32108 maybe-configure-stage3-zlib: configure-stage3-zlib
32109 configure-stage3-zlib:
32110 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32112 @r=`${PWD_COMMAND}`; export r; \
32113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32114 TFLAGS="$(STAGE3_TFLAGS)"; \
32115 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32116 $(HOST_EXPORTS) \
32117 $(POSTSTAGE1_HOST_EXPORTS) \
32118 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
32119 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
32120 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
32121 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
32122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32123 cd $(HOST_SUBDIR)/zlib || exit 1; \
32124 case $(srcdir) in \
32125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32126 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32128 esac; \
32129 module_srcdir=zlib; \
32130 $(SHELL) $$s/$$module_srcdir/configure \
32131 --srcdir=$${topdir}/$$module_srcdir \
32132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32133 --target=${target_alias} \
32134 --with-build-libsubdir=$(HOST_SUBDIR) \
32135 $(STAGE3_CONFIGURE_FLAGS) \
32136 @extra_host_zlib_configure_flags@
32137 @endif zlib-bootstrap
32138
32139 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32140 maybe-configure-stage4-zlib:
32141 @if zlib-bootstrap
32142 maybe-configure-stage4-zlib: configure-stage4-zlib
32143 configure-stage4-zlib:
32144 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32146 @r=`${PWD_COMMAND}`; export r; \
32147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32148 TFLAGS="$(STAGE4_TFLAGS)"; \
32149 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32150 $(HOST_EXPORTS) \
32151 $(POSTSTAGE1_HOST_EXPORTS) \
32152 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
32153 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
32154 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
32155 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
32156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32157 cd $(HOST_SUBDIR)/zlib || exit 1; \
32158 case $(srcdir) in \
32159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32160 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32162 esac; \
32163 module_srcdir=zlib; \
32164 $(SHELL) $$s/$$module_srcdir/configure \
32165 --srcdir=$${topdir}/$$module_srcdir \
32166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32167 --target=${target_alias} \
32168 --with-build-libsubdir=$(HOST_SUBDIR) \
32169 $(STAGE4_CONFIGURE_FLAGS) \
32170 @extra_host_zlib_configure_flags@
32171 @endif zlib-bootstrap
32172
32173 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32174 maybe-configure-stageprofile-zlib:
32175 @if zlib-bootstrap
32176 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32177 configure-stageprofile-zlib:
32178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32180 @r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32183 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32184 $(HOST_EXPORTS) \
32185 $(POSTSTAGE1_HOST_EXPORTS) \
32186 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
32187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
32188 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
32189 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
32190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32191 cd $(HOST_SUBDIR)/zlib || exit 1; \
32192 case $(srcdir) in \
32193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32194 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32196 esac; \
32197 module_srcdir=zlib; \
32198 $(SHELL) $$s/$$module_srcdir/configure \
32199 --srcdir=$${topdir}/$$module_srcdir \
32200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32201 --target=${target_alias} \
32202 --with-build-libsubdir=$(HOST_SUBDIR) \
32203 $(STAGEprofile_CONFIGURE_FLAGS) \
32204 @extra_host_zlib_configure_flags@
32205 @endif zlib-bootstrap
32206
32207 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
32208 maybe-configure-stagetrain-zlib:
32209 @if zlib-bootstrap
32210 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
32211 configure-stagetrain-zlib:
32212 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32214 @r=`${PWD_COMMAND}`; export r; \
32215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32216 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32217 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32218 $(HOST_EXPORTS) \
32219 $(POSTSTAGE1_HOST_EXPORTS) \
32220 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32221 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32222 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32223 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32225 cd $(HOST_SUBDIR)/zlib || exit 1; \
32226 case $(srcdir) in \
32227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32228 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32230 esac; \
32231 module_srcdir=zlib; \
32232 $(SHELL) $$s/$$module_srcdir/configure \
32233 --srcdir=$${topdir}/$$module_srcdir \
32234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32235 --target=${target_alias} \
32236 --with-build-libsubdir=$(HOST_SUBDIR) \
32237 $(STAGEtrain_CONFIGURE_FLAGS) \
32238 @extra_host_zlib_configure_flags@
32239 @endif zlib-bootstrap
32240
32241 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32242 maybe-configure-stagefeedback-zlib:
32243 @if zlib-bootstrap
32244 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32245 configure-stagefeedback-zlib:
32246 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32248 @r=`${PWD_COMMAND}`; export r; \
32249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32251 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32252 $(HOST_EXPORTS) \
32253 $(POSTSTAGE1_HOST_EXPORTS) \
32254 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32255 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32256 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32257 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32259 cd $(HOST_SUBDIR)/zlib || exit 1; \
32260 case $(srcdir) in \
32261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32262 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32264 esac; \
32265 module_srcdir=zlib; \
32266 $(SHELL) $$s/$$module_srcdir/configure \
32267 --srcdir=$${topdir}/$$module_srcdir \
32268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32269 --target=${target_alias} \
32270 --with-build-libsubdir=$(HOST_SUBDIR) \
32271 $(STAGEfeedback_CONFIGURE_FLAGS) \
32272 @extra_host_zlib_configure_flags@
32273 @endif zlib-bootstrap
32274
32275 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32276 maybe-configure-stageautoprofile-zlib:
32277 @if zlib-bootstrap
32278 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32279 configure-stageautoprofile-zlib:
32280 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32282 @r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32285 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32286 $(HOST_EXPORTS) \
32287 $(POSTSTAGE1_HOST_EXPORTS) \
32288 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32289 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32290 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32291 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32293 cd $(HOST_SUBDIR)/zlib || exit 1; \
32294 case $(srcdir) in \
32295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32296 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32298 esac; \
32299 module_srcdir=zlib; \
32300 $(SHELL) $$s/$$module_srcdir/configure \
32301 --srcdir=$${topdir}/$$module_srcdir \
32302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32303 --target=${target_alias} \
32304 --with-build-libsubdir=$(HOST_SUBDIR) \
32305 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32306 @extra_host_zlib_configure_flags@
32307 @endif zlib-bootstrap
32308
32309 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32310 maybe-configure-stageautofeedback-zlib:
32311 @if zlib-bootstrap
32312 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32313 configure-stageautofeedback-zlib:
32314 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32316 @r=`${PWD_COMMAND}`; export r; \
32317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32318 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32319 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32320 $(HOST_EXPORTS) \
32321 $(POSTSTAGE1_HOST_EXPORTS) \
32322 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32323 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32324 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32325 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32327 cd $(HOST_SUBDIR)/zlib || exit 1; \
32328 case $(srcdir) in \
32329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32330 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32332 esac; \
32333 module_srcdir=zlib; \
32334 $(SHELL) $$s/$$module_srcdir/configure \
32335 --srcdir=$${topdir}/$$module_srcdir \
32336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32337 --target=${target_alias} \
32338 --with-build-libsubdir=$(HOST_SUBDIR) \
32339 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32340 @extra_host_zlib_configure_flags@
32341 @endif zlib-bootstrap
32342
32343
32344
32345
32346
32347 .PHONY: all-zlib maybe-all-zlib
32348 maybe-all-zlib:
32349 @if gcc-bootstrap
32350 all-zlib: stage_current
32351 @endif gcc-bootstrap
32352 @if zlib
32353 TARGET-zlib=all
32354 maybe-all-zlib: all-zlib
32355 all-zlib: configure-zlib
32356 @r=`${PWD_COMMAND}`; export r; \
32357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32358 $(HOST_EXPORTS) \
32359 (cd $(HOST_SUBDIR)/zlib && \
32360 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32361 $(TARGET-zlib))
32362 @endif zlib
32363
32364
32365
32366 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32367 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32368 maybe-all-stage1-zlib:
32369 maybe-clean-stage1-zlib:
32370 @if zlib-bootstrap
32371 maybe-all-stage1-zlib: all-stage1-zlib
32372 all-stage1: all-stage1-zlib
32373 TARGET-stage1-zlib = $(TARGET-zlib)
32374 all-stage1-zlib: configure-stage1-zlib
32375 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32376 @r=`${PWD_COMMAND}`; export r; \
32377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32378 TFLAGS="$(STAGE1_TFLAGS)"; \
32379 $(HOST_EXPORTS) \
32380 cd $(HOST_SUBDIR)/zlib && \
32381 \
32382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32383 CFLAGS="$(STAGE1_CFLAGS)" \
32384 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
32385 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32386 LIBCFLAGS="$(LIBCFLAGS)" \
32387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32390 $(EXTRA_HOST_FLAGS) \
32391 $(STAGE1_FLAGS_TO_PASS) \
32392 TFLAGS="$(STAGE1_TFLAGS)" \
32393 $(TARGET-stage1-zlib)
32394
32395 maybe-clean-stage1-zlib: clean-stage1-zlib
32396 clean-stage1: clean-stage1-zlib
32397 clean-stage1-zlib:
32398 @if [ $(current_stage) = stage1 ]; then \
32399 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32400 else \
32401 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32402 $(MAKE) stage1-start; \
32403 fi; \
32404 cd $(HOST_SUBDIR)/zlib && \
32405 $(MAKE) $(EXTRA_HOST_FLAGS) \
32406 $(STAGE1_FLAGS_TO_PASS) clean
32407 @endif zlib-bootstrap
32408
32409
32410 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32411 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32412 maybe-all-stage2-zlib:
32413 maybe-clean-stage2-zlib:
32414 @if zlib-bootstrap
32415 maybe-all-stage2-zlib: all-stage2-zlib
32416 all-stage2: all-stage2-zlib
32417 TARGET-stage2-zlib = $(TARGET-zlib)
32418 all-stage2-zlib: configure-stage2-zlib
32419 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32420 @r=`${PWD_COMMAND}`; export r; \
32421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32422 TFLAGS="$(STAGE2_TFLAGS)"; \
32423 $(HOST_EXPORTS) \
32424 $(POSTSTAGE1_HOST_EXPORTS) \
32425 cd $(HOST_SUBDIR)/zlib && \
32426 \
32427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32428 CFLAGS="$(STAGE2_CFLAGS)" \
32429 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
32430 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32431 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32432 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32433 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32434 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32435 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32436 TFLAGS="$(STAGE2_TFLAGS)" \
32437 $(TARGET-stage2-zlib)
32438
32439 maybe-clean-stage2-zlib: clean-stage2-zlib
32440 clean-stage2: clean-stage2-zlib
32441 clean-stage2-zlib:
32442 @if [ $(current_stage) = stage2 ]; then \
32443 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32444 else \
32445 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32446 $(MAKE) stage2-start; \
32447 fi; \
32448 cd $(HOST_SUBDIR)/zlib && \
32449 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32450 @endif zlib-bootstrap
32451
32452
32453 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32454 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32455 maybe-all-stage3-zlib:
32456 maybe-clean-stage3-zlib:
32457 @if zlib-bootstrap
32458 maybe-all-stage3-zlib: all-stage3-zlib
32459 all-stage3: all-stage3-zlib
32460 TARGET-stage3-zlib = $(TARGET-zlib)
32461 all-stage3-zlib: configure-stage3-zlib
32462 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32463 @r=`${PWD_COMMAND}`; export r; \
32464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32465 TFLAGS="$(STAGE3_TFLAGS)"; \
32466 $(HOST_EXPORTS) \
32467 $(POSTSTAGE1_HOST_EXPORTS) \
32468 cd $(HOST_SUBDIR)/zlib && \
32469 \
32470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32471 CFLAGS="$(STAGE3_CFLAGS)" \
32472 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
32473 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32474 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32478 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32479 TFLAGS="$(STAGE3_TFLAGS)" \
32480 $(TARGET-stage3-zlib)
32481
32482 maybe-clean-stage3-zlib: clean-stage3-zlib
32483 clean-stage3: clean-stage3-zlib
32484 clean-stage3-zlib:
32485 @if [ $(current_stage) = stage3 ]; then \
32486 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32487 else \
32488 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32489 $(MAKE) stage3-start; \
32490 fi; \
32491 cd $(HOST_SUBDIR)/zlib && \
32492 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32493 @endif zlib-bootstrap
32494
32495
32496 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32497 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32498 maybe-all-stage4-zlib:
32499 maybe-clean-stage4-zlib:
32500 @if zlib-bootstrap
32501 maybe-all-stage4-zlib: all-stage4-zlib
32502 all-stage4: all-stage4-zlib
32503 TARGET-stage4-zlib = $(TARGET-zlib)
32504 all-stage4-zlib: configure-stage4-zlib
32505 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32506 @r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 TFLAGS="$(STAGE4_TFLAGS)"; \
32509 $(HOST_EXPORTS) \
32510 $(POSTSTAGE1_HOST_EXPORTS) \
32511 cd $(HOST_SUBDIR)/zlib && \
32512 \
32513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32514 CFLAGS="$(STAGE4_CFLAGS)" \
32515 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
32516 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32517 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32518 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32522 TFLAGS="$(STAGE4_TFLAGS)" \
32523 $(TARGET-stage4-zlib)
32524
32525 maybe-clean-stage4-zlib: clean-stage4-zlib
32526 clean-stage4: clean-stage4-zlib
32527 clean-stage4-zlib:
32528 @if [ $(current_stage) = stage4 ]; then \
32529 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32530 else \
32531 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32532 $(MAKE) stage4-start; \
32533 fi; \
32534 cd $(HOST_SUBDIR)/zlib && \
32535 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32536 @endif zlib-bootstrap
32537
32538
32539 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32540 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32541 maybe-all-stageprofile-zlib:
32542 maybe-clean-stageprofile-zlib:
32543 @if zlib-bootstrap
32544 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32545 all-stageprofile: all-stageprofile-zlib
32546 TARGET-stageprofile-zlib = $(TARGET-zlib)
32547 all-stageprofile-zlib: configure-stageprofile-zlib
32548 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32549 @r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32552 $(HOST_EXPORTS) \
32553 $(POSTSTAGE1_HOST_EXPORTS) \
32554 cd $(HOST_SUBDIR)/zlib && \
32555 \
32556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32557 CFLAGS="$(STAGEprofile_CFLAGS)" \
32558 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
32559 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32560 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32561 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32562 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32563 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32564 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32565 TFLAGS="$(STAGEprofile_TFLAGS)" \
32566 $(TARGET-stageprofile-zlib)
32567
32568 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32569 clean-stageprofile: clean-stageprofile-zlib
32570 clean-stageprofile-zlib:
32571 @if [ $(current_stage) = stageprofile ]; then \
32572 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32573 else \
32574 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32575 $(MAKE) stageprofile-start; \
32576 fi; \
32577 cd $(HOST_SUBDIR)/zlib && \
32578 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32579 @endif zlib-bootstrap
32580
32581
32582 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32583 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32584 maybe-all-stagetrain-zlib:
32585 maybe-clean-stagetrain-zlib:
32586 @if zlib-bootstrap
32587 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32588 all-stagetrain: all-stagetrain-zlib
32589 TARGET-stagetrain-zlib = $(TARGET-zlib)
32590 all-stagetrain-zlib: configure-stagetrain-zlib
32591 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32592 @r=`${PWD_COMMAND}`; export r; \
32593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32594 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32595 $(HOST_EXPORTS) \
32596 $(POSTSTAGE1_HOST_EXPORTS) \
32597 cd $(HOST_SUBDIR)/zlib && \
32598 \
32599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32600 CFLAGS="$(STAGEtrain_CFLAGS)" \
32601 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
32602 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32603 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32608 TFLAGS="$(STAGEtrain_TFLAGS)" \
32609 $(TARGET-stagetrain-zlib)
32610
32611 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32612 clean-stagetrain: clean-stagetrain-zlib
32613 clean-stagetrain-zlib:
32614 @if [ $(current_stage) = stagetrain ]; then \
32615 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32616 else \
32617 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32618 $(MAKE) stagetrain-start; \
32619 fi; \
32620 cd $(HOST_SUBDIR)/zlib && \
32621 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32622 @endif zlib-bootstrap
32623
32624
32625 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32626 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32627 maybe-all-stagefeedback-zlib:
32628 maybe-clean-stagefeedback-zlib:
32629 @if zlib-bootstrap
32630 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32631 all-stagefeedback: all-stagefeedback-zlib
32632 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32633 all-stagefeedback-zlib: configure-stagefeedback-zlib
32634 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32635 @r=`${PWD_COMMAND}`; export r; \
32636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32637 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32638 $(HOST_EXPORTS) \
32639 $(POSTSTAGE1_HOST_EXPORTS) \
32640 cd $(HOST_SUBDIR)/zlib && \
32641 \
32642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32643 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32644 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
32645 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32646 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32650 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32651 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32652 $(TARGET-stagefeedback-zlib)
32653
32654 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32655 clean-stagefeedback: clean-stagefeedback-zlib
32656 clean-stagefeedback-zlib:
32657 @if [ $(current_stage) = stagefeedback ]; then \
32658 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32659 else \
32660 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32661 $(MAKE) stagefeedback-start; \
32662 fi; \
32663 cd $(HOST_SUBDIR)/zlib && \
32664 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32665 @endif zlib-bootstrap
32666
32667
32668 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32669 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32670 maybe-all-stageautoprofile-zlib:
32671 maybe-clean-stageautoprofile-zlib:
32672 @if zlib-bootstrap
32673 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32674 all-stageautoprofile: all-stageautoprofile-zlib
32675 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32676 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32677 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32678 @r=`${PWD_COMMAND}`; export r; \
32679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32680 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32681 $(HOST_EXPORTS) \
32682 $(POSTSTAGE1_HOST_EXPORTS) \
32683 cd $(HOST_SUBDIR)/zlib && \
32684 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32686 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32687 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
32688 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32689 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32693 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32694 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32695 $(TARGET-stageautoprofile-zlib)
32696
32697 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32698 clean-stageautoprofile: clean-stageautoprofile-zlib
32699 clean-stageautoprofile-zlib:
32700 @if [ $(current_stage) = stageautoprofile ]; then \
32701 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32702 else \
32703 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32704 $(MAKE) stageautoprofile-start; \
32705 fi; \
32706 cd $(HOST_SUBDIR)/zlib && \
32707 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32708 @endif zlib-bootstrap
32709
32710
32711 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32712 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32713 maybe-all-stageautofeedback-zlib:
32714 maybe-clean-stageautofeedback-zlib:
32715 @if zlib-bootstrap
32716 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32717 all-stageautofeedback: all-stageautofeedback-zlib
32718 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32719 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32720 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32721 @r=`${PWD_COMMAND}`; export r; \
32722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32723 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32724 $(HOST_EXPORTS) \
32725 $(POSTSTAGE1_HOST_EXPORTS) \
32726 cd $(HOST_SUBDIR)/zlib && \
32727 \
32728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32729 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32730 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
32731 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32732 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32737 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32738 $(TARGET-stageautofeedback-zlib)
32739
32740 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32741 clean-stageautofeedback: clean-stageautofeedback-zlib
32742 clean-stageautofeedback-zlib:
32743 @if [ $(current_stage) = stageautofeedback ]; then \
32744 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32745 else \
32746 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32747 $(MAKE) stageautofeedback-start; \
32748 fi; \
32749 cd $(HOST_SUBDIR)/zlib && \
32750 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32751 @endif zlib-bootstrap
32752
32753
32754
32755
32756
32757 .PHONY: check-zlib maybe-check-zlib
32758 maybe-check-zlib:
32759 @if zlib
32760 maybe-check-zlib: check-zlib
32761
32762 check-zlib:
32763
32764 @endif zlib
32765
32766 .PHONY: install-zlib maybe-install-zlib
32767 maybe-install-zlib:
32768 @if zlib
32769 maybe-install-zlib: install-zlib
32770
32771 install-zlib:
32772
32773 @endif zlib
32774
32775 .PHONY: install-strip-zlib maybe-install-strip-zlib
32776 maybe-install-strip-zlib:
32777 @if zlib
32778 maybe-install-strip-zlib: install-strip-zlib
32779
32780 install-strip-zlib:
32781
32782 @endif zlib
32783
32784 # Other targets (info, dvi, pdf, etc.)
32785
32786 .PHONY: maybe-info-zlib info-zlib
32787 maybe-info-zlib:
32788 @if zlib
32789 maybe-info-zlib: info-zlib
32790
32791 info-zlib: \
32792 configure-zlib
32793 @[ -f ./zlib/Makefile ] || exit 0; \
32794 r=`${PWD_COMMAND}`; export r; \
32795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32796 $(HOST_EXPORTS) \
32797 for flag in $(EXTRA_HOST_FLAGS) ; do \
32798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32799 done; \
32800 echo "Doing info in zlib"; \
32801 (cd $(HOST_SUBDIR)/zlib && \
32802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32804 "RANLIB=$${RANLIB}" \
32805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32806 info) \
32807 || exit 1
32808
32809 @endif zlib
32810
32811 .PHONY: maybe-dvi-zlib dvi-zlib
32812 maybe-dvi-zlib:
32813 @if zlib
32814 maybe-dvi-zlib: dvi-zlib
32815
32816 dvi-zlib: \
32817 configure-zlib
32818 @[ -f ./zlib/Makefile ] || exit 0; \
32819 r=`${PWD_COMMAND}`; export r; \
32820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32821 $(HOST_EXPORTS) \
32822 for flag in $(EXTRA_HOST_FLAGS) ; do \
32823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32824 done; \
32825 echo "Doing dvi in zlib"; \
32826 (cd $(HOST_SUBDIR)/zlib && \
32827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32829 "RANLIB=$${RANLIB}" \
32830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32831 dvi) \
32832 || exit 1
32833
32834 @endif zlib
32835
32836 .PHONY: maybe-pdf-zlib pdf-zlib
32837 maybe-pdf-zlib:
32838 @if zlib
32839 maybe-pdf-zlib: pdf-zlib
32840
32841 pdf-zlib: \
32842 configure-zlib
32843 @[ -f ./zlib/Makefile ] || exit 0; \
32844 r=`${PWD_COMMAND}`; export r; \
32845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32846 $(HOST_EXPORTS) \
32847 for flag in $(EXTRA_HOST_FLAGS) ; do \
32848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32849 done; \
32850 echo "Doing pdf in zlib"; \
32851 (cd $(HOST_SUBDIR)/zlib && \
32852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32854 "RANLIB=$${RANLIB}" \
32855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32856 pdf) \
32857 || exit 1
32858
32859 @endif zlib
32860
32861 .PHONY: maybe-html-zlib html-zlib
32862 maybe-html-zlib:
32863 @if zlib
32864 maybe-html-zlib: html-zlib
32865
32866 html-zlib: \
32867 configure-zlib
32868 @[ -f ./zlib/Makefile ] || exit 0; \
32869 r=`${PWD_COMMAND}`; export r; \
32870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32871 $(HOST_EXPORTS) \
32872 for flag in $(EXTRA_HOST_FLAGS) ; do \
32873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32874 done; \
32875 echo "Doing html in zlib"; \
32876 (cd $(HOST_SUBDIR)/zlib && \
32877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32879 "RANLIB=$${RANLIB}" \
32880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32881 html) \
32882 || exit 1
32883
32884 @endif zlib
32885
32886 .PHONY: maybe-TAGS-zlib TAGS-zlib
32887 maybe-TAGS-zlib:
32888 @if zlib
32889 maybe-TAGS-zlib: TAGS-zlib
32890
32891 TAGS-zlib: \
32892 configure-zlib
32893 @[ -f ./zlib/Makefile ] || exit 0; \
32894 r=`${PWD_COMMAND}`; export r; \
32895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32896 $(HOST_EXPORTS) \
32897 for flag in $(EXTRA_HOST_FLAGS) ; do \
32898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32899 done; \
32900 echo "Doing TAGS in zlib"; \
32901 (cd $(HOST_SUBDIR)/zlib && \
32902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32904 "RANLIB=$${RANLIB}" \
32905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32906 TAGS) \
32907 || exit 1
32908
32909 @endif zlib
32910
32911 .PHONY: maybe-install-info-zlib install-info-zlib
32912 maybe-install-info-zlib:
32913 @if zlib
32914 maybe-install-info-zlib: install-info-zlib
32915
32916 install-info-zlib: \
32917 configure-zlib \
32918 info-zlib
32919 @[ -f ./zlib/Makefile ] || exit 0; \
32920 r=`${PWD_COMMAND}`; export r; \
32921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32922 $(HOST_EXPORTS) \
32923 for flag in $(EXTRA_HOST_FLAGS) ; do \
32924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32925 done; \
32926 echo "Doing install-info in zlib"; \
32927 (cd $(HOST_SUBDIR)/zlib && \
32928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32930 "RANLIB=$${RANLIB}" \
32931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32932 install-info) \
32933 || exit 1
32934
32935 @endif zlib
32936
32937 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32938 maybe-install-pdf-zlib:
32939 @if zlib
32940 maybe-install-pdf-zlib: install-pdf-zlib
32941
32942 install-pdf-zlib: \
32943 configure-zlib \
32944 pdf-zlib
32945 @[ -f ./zlib/Makefile ] || exit 0; \
32946 r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(HOST_EXPORTS) \
32949 for flag in $(EXTRA_HOST_FLAGS) ; do \
32950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32951 done; \
32952 echo "Doing install-pdf in zlib"; \
32953 (cd $(HOST_SUBDIR)/zlib && \
32954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32956 "RANLIB=$${RANLIB}" \
32957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32958 install-pdf) \
32959 || exit 1
32960
32961 @endif zlib
32962
32963 .PHONY: maybe-install-html-zlib install-html-zlib
32964 maybe-install-html-zlib:
32965 @if zlib
32966 maybe-install-html-zlib: install-html-zlib
32967
32968 install-html-zlib: \
32969 configure-zlib \
32970 html-zlib
32971 @[ -f ./zlib/Makefile ] || exit 0; \
32972 r=`${PWD_COMMAND}`; export r; \
32973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32974 $(HOST_EXPORTS) \
32975 for flag in $(EXTRA_HOST_FLAGS) ; do \
32976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32977 done; \
32978 echo "Doing install-html in zlib"; \
32979 (cd $(HOST_SUBDIR)/zlib && \
32980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32982 "RANLIB=$${RANLIB}" \
32983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32984 install-html) \
32985 || exit 1
32986
32987 @endif zlib
32988
32989 .PHONY: maybe-installcheck-zlib installcheck-zlib
32990 maybe-installcheck-zlib:
32991 @if zlib
32992 maybe-installcheck-zlib: installcheck-zlib
32993
32994 installcheck-zlib: \
32995 configure-zlib
32996 @[ -f ./zlib/Makefile ] || exit 0; \
32997 r=`${PWD_COMMAND}`; export r; \
32998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32999 $(HOST_EXPORTS) \
33000 for flag in $(EXTRA_HOST_FLAGS) ; do \
33001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33002 done; \
33003 echo "Doing installcheck in zlib"; \
33004 (cd $(HOST_SUBDIR)/zlib && \
33005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33007 "RANLIB=$${RANLIB}" \
33008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33009 installcheck) \
33010 || exit 1
33011
33012 @endif zlib
33013
33014 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
33015 maybe-mostlyclean-zlib:
33016 @if zlib
33017 maybe-mostlyclean-zlib: mostlyclean-zlib
33018
33019 mostlyclean-zlib:
33020 @[ -f ./zlib/Makefile ] || exit 0; \
33021 r=`${PWD_COMMAND}`; export r; \
33022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33023 $(HOST_EXPORTS) \
33024 for flag in $(EXTRA_HOST_FLAGS) ; do \
33025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33026 done; \
33027 echo "Doing mostlyclean in zlib"; \
33028 (cd $(HOST_SUBDIR)/zlib && \
33029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33031 "RANLIB=$${RANLIB}" \
33032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33033 mostlyclean) \
33034 || exit 1
33035
33036 @endif zlib
33037
33038 .PHONY: maybe-clean-zlib clean-zlib
33039 maybe-clean-zlib:
33040 @if zlib
33041 maybe-clean-zlib: clean-zlib
33042
33043 clean-zlib:
33044 @[ -f ./zlib/Makefile ] || exit 0; \
33045 r=`${PWD_COMMAND}`; export r; \
33046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33047 $(HOST_EXPORTS) \
33048 for flag in $(EXTRA_HOST_FLAGS) ; do \
33049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33050 done; \
33051 echo "Doing clean in zlib"; \
33052 (cd $(HOST_SUBDIR)/zlib && \
33053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33055 "RANLIB=$${RANLIB}" \
33056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33057 clean) \
33058 || exit 1
33059
33060 @endif zlib
33061
33062 .PHONY: maybe-distclean-zlib distclean-zlib
33063 maybe-distclean-zlib:
33064 @if zlib
33065 maybe-distclean-zlib: distclean-zlib
33066
33067 distclean-zlib:
33068 @[ -f ./zlib/Makefile ] || exit 0; \
33069 r=`${PWD_COMMAND}`; export r; \
33070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33071 $(HOST_EXPORTS) \
33072 for flag in $(EXTRA_HOST_FLAGS) ; do \
33073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33074 done; \
33075 echo "Doing distclean in zlib"; \
33076 (cd $(HOST_SUBDIR)/zlib && \
33077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33079 "RANLIB=$${RANLIB}" \
33080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33081 distclean) \
33082 || exit 1
33083
33084 @endif zlib
33085
33086 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
33087 maybe-maintainer-clean-zlib:
33088 @if zlib
33089 maybe-maintainer-clean-zlib: maintainer-clean-zlib
33090
33091 maintainer-clean-zlib:
33092 @[ -f ./zlib/Makefile ] || exit 0; \
33093 r=`${PWD_COMMAND}`; export r; \
33094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33095 $(HOST_EXPORTS) \
33096 for flag in $(EXTRA_HOST_FLAGS) ; do \
33097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33098 done; \
33099 echo "Doing maintainer-clean in zlib"; \
33100 (cd $(HOST_SUBDIR)/zlib && \
33101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33103 "RANLIB=$${RANLIB}" \
33104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33105 maintainer-clean) \
33106 || exit 1
33107
33108 @endif zlib
33109
33110
33111
33112 .PHONY: configure-gdb maybe-configure-gdb
33113 maybe-configure-gdb:
33114 @if gcc-bootstrap
33115 configure-gdb: stage_current
33116 @endif gcc-bootstrap
33117 @if gdb
33118 maybe-configure-gdb: configure-gdb
33119 configure-gdb:
33120 @: $(MAKE); $(unstage)
33121 @r=`${PWD_COMMAND}`; export r; \
33122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33123 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
33124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
33125 $(HOST_EXPORTS) \
33126 echo Configuring in $(HOST_SUBDIR)/gdb; \
33127 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
33128 case $(srcdir) in \
33129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33130 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
33131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33132 esac; \
33133 module_srcdir=gdb; \
33134 $(SHELL) \
33135 $$s/$$module_srcdir/configure \
33136 --srcdir=$${topdir}/$$module_srcdir \
33137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33138 --target=${target_alias} \
33139 || exit 1
33140 @endif gdb
33141
33142
33143
33144
33145
33146 .PHONY: all-gdb maybe-all-gdb
33147 maybe-all-gdb:
33148 @if gcc-bootstrap
33149 all-gdb: stage_current
33150 @endif gcc-bootstrap
33151 @if gdb
33152 TARGET-gdb=all
33153 maybe-all-gdb: all-gdb
33154 all-gdb: configure-gdb
33155 @: $(MAKE); $(unstage)
33156 @r=`${PWD_COMMAND}`; export r; \
33157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33158 $(HOST_EXPORTS) \
33159 (cd $(HOST_SUBDIR)/gdb && \
33160 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33161 $(TARGET-gdb))
33162 @endif gdb
33163
33164
33165
33166
33167 .PHONY: check-gdb maybe-check-gdb
33168 maybe-check-gdb:
33169 @if gdb
33170 maybe-check-gdb: check-gdb
33171
33172 check-gdb:
33173 @: $(MAKE); $(unstage)
33174 @r=`${PWD_COMMAND}`; export r; \
33175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33176 $(HOST_EXPORTS) \
33177 (cd $(HOST_SUBDIR)/gdb && \
33178 $(MAKE) $(FLAGS_TO_PASS) check)
33179
33180 @endif gdb
33181
33182 .PHONY: install-gdb maybe-install-gdb
33183 maybe-install-gdb:
33184 @if gdb
33185 maybe-install-gdb: install-gdb
33186
33187 install-gdb: installdirs
33188 @: $(MAKE); $(unstage)
33189 @r=`${PWD_COMMAND}`; export r; \
33190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33191 $(HOST_EXPORTS) \
33192 (cd $(HOST_SUBDIR)/gdb && \
33193 $(MAKE) $(FLAGS_TO_PASS) install)
33194
33195 @endif gdb
33196
33197 .PHONY: install-strip-gdb maybe-install-strip-gdb
33198 maybe-install-strip-gdb:
33199 @if gdb
33200 maybe-install-strip-gdb: install-strip-gdb
33201
33202 install-strip-gdb: installdirs
33203 @: $(MAKE); $(unstage)
33204 @r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 $(HOST_EXPORTS) \
33207 (cd $(HOST_SUBDIR)/gdb && \
33208 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33209
33210 @endif gdb
33211
33212 # Other targets (info, dvi, pdf, etc.)
33213
33214 .PHONY: maybe-info-gdb info-gdb
33215 maybe-info-gdb:
33216 @if gdb
33217 maybe-info-gdb: info-gdb
33218
33219 info-gdb: \
33220 configure-gdb
33221 @: $(MAKE); $(unstage)
33222 @[ -f ./gdb/Makefile ] || exit 0; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(HOST_EXPORTS) \
33226 for flag in $(EXTRA_HOST_FLAGS) ; do \
33227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33228 done; \
33229 echo "Doing info in gdb"; \
33230 (cd $(HOST_SUBDIR)/gdb && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33235 info) \
33236 || exit 1
33237
33238 @endif gdb
33239
33240 .PHONY: maybe-dvi-gdb dvi-gdb
33241 maybe-dvi-gdb:
33242 @if gdb
33243 maybe-dvi-gdb: dvi-gdb
33244
33245 dvi-gdb: \
33246 configure-gdb
33247 @: $(MAKE); $(unstage)
33248 @[ -f ./gdb/Makefile ] || exit 0; \
33249 r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 $(HOST_EXPORTS) \
33252 for flag in $(EXTRA_HOST_FLAGS) ; do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 echo "Doing dvi in gdb"; \
33256 (cd $(HOST_SUBDIR)/gdb && \
33257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33259 "RANLIB=$${RANLIB}" \
33260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33261 dvi) \
33262 || exit 1
33263
33264 @endif gdb
33265
33266 .PHONY: maybe-pdf-gdb pdf-gdb
33267 maybe-pdf-gdb:
33268 @if gdb
33269 maybe-pdf-gdb: pdf-gdb
33270
33271 pdf-gdb: \
33272 configure-gdb
33273 @: $(MAKE); $(unstage)
33274 @[ -f ./gdb/Makefile ] || exit 0; \
33275 r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(HOST_EXPORTS) \
33278 for flag in $(EXTRA_HOST_FLAGS) ; do \
33279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33280 done; \
33281 echo "Doing pdf in gdb"; \
33282 (cd $(HOST_SUBDIR)/gdb && \
33283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33285 "RANLIB=$${RANLIB}" \
33286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33287 pdf) \
33288 || exit 1
33289
33290 @endif gdb
33291
33292 .PHONY: maybe-html-gdb html-gdb
33293 maybe-html-gdb:
33294 @if gdb
33295 maybe-html-gdb: html-gdb
33296
33297 html-gdb: \
33298 configure-gdb
33299 @: $(MAKE); $(unstage)
33300 @[ -f ./gdb/Makefile ] || exit 0; \
33301 r=`${PWD_COMMAND}`; export r; \
33302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33303 $(HOST_EXPORTS) \
33304 for flag in $(EXTRA_HOST_FLAGS) ; do \
33305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33306 done; \
33307 echo "Doing html in gdb"; \
33308 (cd $(HOST_SUBDIR)/gdb && \
33309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33311 "RANLIB=$${RANLIB}" \
33312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33313 html) \
33314 || exit 1
33315
33316 @endif gdb
33317
33318 .PHONY: maybe-TAGS-gdb TAGS-gdb
33319 maybe-TAGS-gdb:
33320 @if gdb
33321 maybe-TAGS-gdb: TAGS-gdb
33322
33323 TAGS-gdb: \
33324 configure-gdb
33325 @: $(MAKE); $(unstage)
33326 @[ -f ./gdb/Makefile ] || exit 0; \
33327 r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 $(HOST_EXPORTS) \
33330 for flag in $(EXTRA_HOST_FLAGS) ; do \
33331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33332 done; \
33333 echo "Doing TAGS in gdb"; \
33334 (cd $(HOST_SUBDIR)/gdb && \
33335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33337 "RANLIB=$${RANLIB}" \
33338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33339 TAGS) \
33340 || exit 1
33341
33342 @endif gdb
33343
33344 .PHONY: maybe-install-info-gdb install-info-gdb
33345 maybe-install-info-gdb:
33346 @if gdb
33347 maybe-install-info-gdb: install-info-gdb
33348
33349 install-info-gdb: \
33350 configure-gdb \
33351 info-gdb
33352 @: $(MAKE); $(unstage)
33353 @[ -f ./gdb/Makefile ] || exit 0; \
33354 r=`${PWD_COMMAND}`; export r; \
33355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33356 $(HOST_EXPORTS) \
33357 for flag in $(EXTRA_HOST_FLAGS) ; do \
33358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33359 done; \
33360 echo "Doing install-info in gdb"; \
33361 (cd $(HOST_SUBDIR)/gdb && \
33362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33364 "RANLIB=$${RANLIB}" \
33365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33366 install-info) \
33367 || exit 1
33368
33369 @endif gdb
33370
33371 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33372 maybe-install-pdf-gdb:
33373 @if gdb
33374 maybe-install-pdf-gdb: install-pdf-gdb
33375
33376 install-pdf-gdb: \
33377 configure-gdb \
33378 pdf-gdb
33379 @: $(MAKE); $(unstage)
33380 @[ -f ./gdb/Makefile ] || exit 0; \
33381 r=`${PWD_COMMAND}`; export r; \
33382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33383 $(HOST_EXPORTS) \
33384 for flag in $(EXTRA_HOST_FLAGS) ; do \
33385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33386 done; \
33387 echo "Doing install-pdf in gdb"; \
33388 (cd $(HOST_SUBDIR)/gdb && \
33389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33391 "RANLIB=$${RANLIB}" \
33392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33393 install-pdf) \
33394 || exit 1
33395
33396 @endif gdb
33397
33398 .PHONY: maybe-install-html-gdb install-html-gdb
33399 maybe-install-html-gdb:
33400 @if gdb
33401 maybe-install-html-gdb: install-html-gdb
33402
33403 install-html-gdb: \
33404 configure-gdb \
33405 html-gdb
33406 @: $(MAKE); $(unstage)
33407 @[ -f ./gdb/Makefile ] || exit 0; \
33408 r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(HOST_EXPORTS) \
33411 for flag in $(EXTRA_HOST_FLAGS) ; do \
33412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33413 done; \
33414 echo "Doing install-html in gdb"; \
33415 (cd $(HOST_SUBDIR)/gdb && \
33416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33418 "RANLIB=$${RANLIB}" \
33419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33420 install-html) \
33421 || exit 1
33422
33423 @endif gdb
33424
33425 .PHONY: maybe-installcheck-gdb installcheck-gdb
33426 maybe-installcheck-gdb:
33427 @if gdb
33428 maybe-installcheck-gdb: installcheck-gdb
33429
33430 installcheck-gdb: \
33431 configure-gdb
33432 @: $(MAKE); $(unstage)
33433 @[ -f ./gdb/Makefile ] || exit 0; \
33434 r=`${PWD_COMMAND}`; export r; \
33435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33436 $(HOST_EXPORTS) \
33437 for flag in $(EXTRA_HOST_FLAGS) ; do \
33438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33439 done; \
33440 echo "Doing installcheck in gdb"; \
33441 (cd $(HOST_SUBDIR)/gdb && \
33442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33444 "RANLIB=$${RANLIB}" \
33445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33446 installcheck) \
33447 || exit 1
33448
33449 @endif gdb
33450
33451 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33452 maybe-mostlyclean-gdb:
33453 @if gdb
33454 maybe-mostlyclean-gdb: mostlyclean-gdb
33455
33456 mostlyclean-gdb:
33457 @: $(MAKE); $(unstage)
33458 @[ -f ./gdb/Makefile ] || exit 0; \
33459 r=`${PWD_COMMAND}`; export r; \
33460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33461 $(HOST_EXPORTS) \
33462 for flag in $(EXTRA_HOST_FLAGS) ; do \
33463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33464 done; \
33465 echo "Doing mostlyclean in gdb"; \
33466 (cd $(HOST_SUBDIR)/gdb && \
33467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33469 "RANLIB=$${RANLIB}" \
33470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33471 mostlyclean) \
33472 || exit 1
33473
33474 @endif gdb
33475
33476 .PHONY: maybe-clean-gdb clean-gdb
33477 maybe-clean-gdb:
33478 @if gdb
33479 maybe-clean-gdb: clean-gdb
33480
33481 clean-gdb:
33482 @: $(MAKE); $(unstage)
33483 @[ -f ./gdb/Makefile ] || exit 0; \
33484 r=`${PWD_COMMAND}`; export r; \
33485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33486 $(HOST_EXPORTS) \
33487 for flag in $(EXTRA_HOST_FLAGS) ; do \
33488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33489 done; \
33490 echo "Doing clean in gdb"; \
33491 (cd $(HOST_SUBDIR)/gdb && \
33492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33494 "RANLIB=$${RANLIB}" \
33495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33496 clean) \
33497 || exit 1
33498
33499 @endif gdb
33500
33501 .PHONY: maybe-distclean-gdb distclean-gdb
33502 maybe-distclean-gdb:
33503 @if gdb
33504 maybe-distclean-gdb: distclean-gdb
33505
33506 distclean-gdb:
33507 @: $(MAKE); $(unstage)
33508 @[ -f ./gdb/Makefile ] || exit 0; \
33509 r=`${PWD_COMMAND}`; export r; \
33510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33511 $(HOST_EXPORTS) \
33512 for flag in $(EXTRA_HOST_FLAGS) ; do \
33513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33514 done; \
33515 echo "Doing distclean in gdb"; \
33516 (cd $(HOST_SUBDIR)/gdb && \
33517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33519 "RANLIB=$${RANLIB}" \
33520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33521 distclean) \
33522 || exit 1
33523
33524 @endif gdb
33525
33526 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33527 maybe-maintainer-clean-gdb:
33528 @if gdb
33529 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33530
33531 maintainer-clean-gdb:
33532 @: $(MAKE); $(unstage)
33533 @[ -f ./gdb/Makefile ] || exit 0; \
33534 r=`${PWD_COMMAND}`; export r; \
33535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33536 $(HOST_EXPORTS) \
33537 for flag in $(EXTRA_HOST_FLAGS) ; do \
33538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33539 done; \
33540 echo "Doing maintainer-clean in gdb"; \
33541 (cd $(HOST_SUBDIR)/gdb && \
33542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33544 "RANLIB=$${RANLIB}" \
33545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33546 maintainer-clean) \
33547 || exit 1
33548
33549 @endif gdb
33550
33551
33552
33553 .PHONY: configure-expect maybe-configure-expect
33554 maybe-configure-expect:
33555 @if gcc-bootstrap
33556 configure-expect: stage_current
33557 @endif gcc-bootstrap
33558 @if expect
33559 maybe-configure-expect: configure-expect
33560 configure-expect:
33561 @: $(MAKE); $(unstage)
33562 @r=`${PWD_COMMAND}`; export r; \
33563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33564 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33566 $(HOST_EXPORTS) \
33567 echo Configuring in $(HOST_SUBDIR)/expect; \
33568 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33569 case $(srcdir) in \
33570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33571 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33573 esac; \
33574 module_srcdir=expect; \
33575 $(SHELL) \
33576 $$s/$$module_srcdir/configure \
33577 --srcdir=$${topdir}/$$module_srcdir \
33578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33579 --target=${target_alias} \
33580 || exit 1
33581 @endif expect
33582
33583
33584
33585
33586
33587 .PHONY: all-expect maybe-all-expect
33588 maybe-all-expect:
33589 @if gcc-bootstrap
33590 all-expect: stage_current
33591 @endif gcc-bootstrap
33592 @if expect
33593 TARGET-expect=all
33594 maybe-all-expect: all-expect
33595 all-expect: configure-expect
33596 @: $(MAKE); $(unstage)
33597 @r=`${PWD_COMMAND}`; export r; \
33598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33599 $(HOST_EXPORTS) \
33600 (cd $(HOST_SUBDIR)/expect && \
33601 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33602 $(TARGET-expect))
33603 @endif expect
33604
33605
33606
33607
33608 .PHONY: check-expect maybe-check-expect
33609 maybe-check-expect:
33610 @if expect
33611 maybe-check-expect: check-expect
33612
33613 check-expect:
33614 @: $(MAKE); $(unstage)
33615 @r=`${PWD_COMMAND}`; export r; \
33616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33617 $(HOST_EXPORTS) \
33618 (cd $(HOST_SUBDIR)/expect && \
33619 $(MAKE) $(FLAGS_TO_PASS) check)
33620
33621 @endif expect
33622
33623 .PHONY: install-expect maybe-install-expect
33624 maybe-install-expect:
33625 @if expect
33626 maybe-install-expect: install-expect
33627
33628 install-expect: installdirs
33629 @: $(MAKE); $(unstage)
33630 @r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 $(HOST_EXPORTS) \
33633 (cd $(HOST_SUBDIR)/expect && \
33634 $(MAKE) $(FLAGS_TO_PASS) install)
33635
33636 @endif expect
33637
33638 .PHONY: install-strip-expect maybe-install-strip-expect
33639 maybe-install-strip-expect:
33640 @if expect
33641 maybe-install-strip-expect: install-strip-expect
33642
33643 install-strip-expect: installdirs
33644 @: $(MAKE); $(unstage)
33645 @r=`${PWD_COMMAND}`; export r; \
33646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33647 $(HOST_EXPORTS) \
33648 (cd $(HOST_SUBDIR)/expect && \
33649 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33650
33651 @endif expect
33652
33653 # Other targets (info, dvi, pdf, etc.)
33654
33655 .PHONY: maybe-info-expect info-expect
33656 maybe-info-expect:
33657 @if expect
33658 maybe-info-expect: info-expect
33659
33660 info-expect: \
33661 configure-expect
33662 @: $(MAKE); $(unstage)
33663 @[ -f ./expect/Makefile ] || exit 0; \
33664 r=`${PWD_COMMAND}`; export r; \
33665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33666 $(HOST_EXPORTS) \
33667 for flag in $(EXTRA_HOST_FLAGS) ; do \
33668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33669 done; \
33670 echo "Doing info in expect"; \
33671 (cd $(HOST_SUBDIR)/expect && \
33672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33674 "RANLIB=$${RANLIB}" \
33675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33676 info) \
33677 || exit 1
33678
33679 @endif expect
33680
33681 .PHONY: maybe-dvi-expect dvi-expect
33682 maybe-dvi-expect:
33683 @if expect
33684 maybe-dvi-expect: dvi-expect
33685
33686 dvi-expect: \
33687 configure-expect
33688 @: $(MAKE); $(unstage)
33689 @[ -f ./expect/Makefile ] || exit 0; \
33690 r=`${PWD_COMMAND}`; export r; \
33691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33692 $(HOST_EXPORTS) \
33693 for flag in $(EXTRA_HOST_FLAGS) ; do \
33694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33695 done; \
33696 echo "Doing dvi in expect"; \
33697 (cd $(HOST_SUBDIR)/expect && \
33698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33700 "RANLIB=$${RANLIB}" \
33701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33702 dvi) \
33703 || exit 1
33704
33705 @endif expect
33706
33707 .PHONY: maybe-pdf-expect pdf-expect
33708 maybe-pdf-expect:
33709 @if expect
33710 maybe-pdf-expect: pdf-expect
33711
33712 pdf-expect: \
33713 configure-expect
33714 @: $(MAKE); $(unstage)
33715 @[ -f ./expect/Makefile ] || exit 0; \
33716 r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 $(HOST_EXPORTS) \
33719 for flag in $(EXTRA_HOST_FLAGS) ; do \
33720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33721 done; \
33722 echo "Doing pdf in expect"; \
33723 (cd $(HOST_SUBDIR)/expect && \
33724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33726 "RANLIB=$${RANLIB}" \
33727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33728 pdf) \
33729 || exit 1
33730
33731 @endif expect
33732
33733 .PHONY: maybe-html-expect html-expect
33734 maybe-html-expect:
33735 @if expect
33736 maybe-html-expect: html-expect
33737
33738 html-expect: \
33739 configure-expect
33740 @: $(MAKE); $(unstage)
33741 @[ -f ./expect/Makefile ] || exit 0; \
33742 r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 $(HOST_EXPORTS) \
33745 for flag in $(EXTRA_HOST_FLAGS) ; do \
33746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33747 done; \
33748 echo "Doing html in expect"; \
33749 (cd $(HOST_SUBDIR)/expect && \
33750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33752 "RANLIB=$${RANLIB}" \
33753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33754 html) \
33755 || exit 1
33756
33757 @endif expect
33758
33759 .PHONY: maybe-TAGS-expect TAGS-expect
33760 maybe-TAGS-expect:
33761 @if expect
33762 maybe-TAGS-expect: TAGS-expect
33763
33764 TAGS-expect: \
33765 configure-expect
33766 @: $(MAKE); $(unstage)
33767 @[ -f ./expect/Makefile ] || exit 0; \
33768 r=`${PWD_COMMAND}`; export r; \
33769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33770 $(HOST_EXPORTS) \
33771 for flag in $(EXTRA_HOST_FLAGS) ; do \
33772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33773 done; \
33774 echo "Doing TAGS in expect"; \
33775 (cd $(HOST_SUBDIR)/expect && \
33776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33778 "RANLIB=$${RANLIB}" \
33779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33780 TAGS) \
33781 || exit 1
33782
33783 @endif expect
33784
33785 .PHONY: maybe-install-info-expect install-info-expect
33786 maybe-install-info-expect:
33787 @if expect
33788 maybe-install-info-expect: install-info-expect
33789
33790 install-info-expect: \
33791 configure-expect \
33792 info-expect
33793 @: $(MAKE); $(unstage)
33794 @[ -f ./expect/Makefile ] || exit 0; \
33795 r=`${PWD_COMMAND}`; export r; \
33796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33797 $(HOST_EXPORTS) \
33798 for flag in $(EXTRA_HOST_FLAGS) ; do \
33799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33800 done; \
33801 echo "Doing install-info in expect"; \
33802 (cd $(HOST_SUBDIR)/expect && \
33803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33805 "RANLIB=$${RANLIB}" \
33806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33807 install-info) \
33808 || exit 1
33809
33810 @endif expect
33811
33812 .PHONY: maybe-install-pdf-expect install-pdf-expect
33813 maybe-install-pdf-expect:
33814 @if expect
33815 maybe-install-pdf-expect: install-pdf-expect
33816
33817 install-pdf-expect: \
33818 configure-expect \
33819 pdf-expect
33820 @: $(MAKE); $(unstage)
33821 @[ -f ./expect/Makefile ] || exit 0; \
33822 r=`${PWD_COMMAND}`; export r; \
33823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33824 $(HOST_EXPORTS) \
33825 for flag in $(EXTRA_HOST_FLAGS) ; do \
33826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33827 done; \
33828 echo "Doing install-pdf in expect"; \
33829 (cd $(HOST_SUBDIR)/expect && \
33830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33832 "RANLIB=$${RANLIB}" \
33833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33834 install-pdf) \
33835 || exit 1
33836
33837 @endif expect
33838
33839 .PHONY: maybe-install-html-expect install-html-expect
33840 maybe-install-html-expect:
33841 @if expect
33842 maybe-install-html-expect: install-html-expect
33843
33844 install-html-expect: \
33845 configure-expect \
33846 html-expect
33847 @: $(MAKE); $(unstage)
33848 @[ -f ./expect/Makefile ] || exit 0; \
33849 r=`${PWD_COMMAND}`; export r; \
33850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33851 $(HOST_EXPORTS) \
33852 for flag in $(EXTRA_HOST_FLAGS) ; do \
33853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33854 done; \
33855 echo "Doing install-html in expect"; \
33856 (cd $(HOST_SUBDIR)/expect && \
33857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33859 "RANLIB=$${RANLIB}" \
33860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33861 install-html) \
33862 || exit 1
33863
33864 @endif expect
33865
33866 .PHONY: maybe-installcheck-expect installcheck-expect
33867 maybe-installcheck-expect:
33868 @if expect
33869 maybe-installcheck-expect: installcheck-expect
33870
33871 installcheck-expect: \
33872 configure-expect
33873 @: $(MAKE); $(unstage)
33874 @[ -f ./expect/Makefile ] || exit 0; \
33875 r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(HOST_EXPORTS) \
33878 for flag in $(EXTRA_HOST_FLAGS) ; do \
33879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33880 done; \
33881 echo "Doing installcheck in expect"; \
33882 (cd $(HOST_SUBDIR)/expect && \
33883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33885 "RANLIB=$${RANLIB}" \
33886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33887 installcheck) \
33888 || exit 1
33889
33890 @endif expect
33891
33892 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33893 maybe-mostlyclean-expect:
33894 @if expect
33895 maybe-mostlyclean-expect: mostlyclean-expect
33896
33897 mostlyclean-expect:
33898 @: $(MAKE); $(unstage)
33899 @[ -f ./expect/Makefile ] || exit 0; \
33900 r=`${PWD_COMMAND}`; export r; \
33901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33902 $(HOST_EXPORTS) \
33903 for flag in $(EXTRA_HOST_FLAGS) ; do \
33904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33905 done; \
33906 echo "Doing mostlyclean in expect"; \
33907 (cd $(HOST_SUBDIR)/expect && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33910 "RANLIB=$${RANLIB}" \
33911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33912 mostlyclean) \
33913 || exit 1
33914
33915 @endif expect
33916
33917 .PHONY: maybe-clean-expect clean-expect
33918 maybe-clean-expect:
33919 @if expect
33920 maybe-clean-expect: clean-expect
33921
33922 clean-expect:
33923 @: $(MAKE); $(unstage)
33924 @[ -f ./expect/Makefile ] || exit 0; \
33925 r=`${PWD_COMMAND}`; export r; \
33926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33927 $(HOST_EXPORTS) \
33928 for flag in $(EXTRA_HOST_FLAGS) ; do \
33929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33930 done; \
33931 echo "Doing clean in expect"; \
33932 (cd $(HOST_SUBDIR)/expect && \
33933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33935 "RANLIB=$${RANLIB}" \
33936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33937 clean) \
33938 || exit 1
33939
33940 @endif expect
33941
33942 .PHONY: maybe-distclean-expect distclean-expect
33943 maybe-distclean-expect:
33944 @if expect
33945 maybe-distclean-expect: distclean-expect
33946
33947 distclean-expect:
33948 @: $(MAKE); $(unstage)
33949 @[ -f ./expect/Makefile ] || exit 0; \
33950 r=`${PWD_COMMAND}`; export r; \
33951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33952 $(HOST_EXPORTS) \
33953 for flag in $(EXTRA_HOST_FLAGS) ; do \
33954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33955 done; \
33956 echo "Doing distclean in expect"; \
33957 (cd $(HOST_SUBDIR)/expect && \
33958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33960 "RANLIB=$${RANLIB}" \
33961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33962 distclean) \
33963 || exit 1
33964
33965 @endif expect
33966
33967 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33968 maybe-maintainer-clean-expect:
33969 @if expect
33970 maybe-maintainer-clean-expect: maintainer-clean-expect
33971
33972 maintainer-clean-expect:
33973 @: $(MAKE); $(unstage)
33974 @[ -f ./expect/Makefile ] || exit 0; \
33975 r=`${PWD_COMMAND}`; export r; \
33976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33977 $(HOST_EXPORTS) \
33978 for flag in $(EXTRA_HOST_FLAGS) ; do \
33979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33980 done; \
33981 echo "Doing maintainer-clean in expect"; \
33982 (cd $(HOST_SUBDIR)/expect && \
33983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33985 "RANLIB=$${RANLIB}" \
33986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33987 maintainer-clean) \
33988 || exit 1
33989
33990 @endif expect
33991
33992
33993
33994 .PHONY: configure-guile maybe-configure-guile
33995 maybe-configure-guile:
33996 @if gcc-bootstrap
33997 configure-guile: stage_current
33998 @endif gcc-bootstrap
33999 @if guile
34000 maybe-configure-guile: configure-guile
34001 configure-guile:
34002 @: $(MAKE); $(unstage)
34003 @r=`${PWD_COMMAND}`; export r; \
34004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34005 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
34006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
34007 $(HOST_EXPORTS) \
34008 echo Configuring in $(HOST_SUBDIR)/guile; \
34009 cd "$(HOST_SUBDIR)/guile" || exit 1; \
34010 case $(srcdir) in \
34011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34012 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
34013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34014 esac; \
34015 module_srcdir=guile; \
34016 $(SHELL) \
34017 $$s/$$module_srcdir/configure \
34018 --srcdir=$${topdir}/$$module_srcdir \
34019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34020 --target=${target_alias} \
34021 || exit 1
34022 @endif guile
34023
34024
34025
34026
34027
34028 .PHONY: all-guile maybe-all-guile
34029 maybe-all-guile:
34030 @if gcc-bootstrap
34031 all-guile: stage_current
34032 @endif gcc-bootstrap
34033 @if guile
34034 TARGET-guile=all
34035 maybe-all-guile: all-guile
34036 all-guile: configure-guile
34037 @: $(MAKE); $(unstage)
34038 @r=`${PWD_COMMAND}`; export r; \
34039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34040 $(HOST_EXPORTS) \
34041 (cd $(HOST_SUBDIR)/guile && \
34042 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34043 $(TARGET-guile))
34044 @endif guile
34045
34046
34047
34048
34049 .PHONY: check-guile maybe-check-guile
34050 maybe-check-guile:
34051 @if guile
34052 maybe-check-guile: check-guile
34053
34054 check-guile:
34055 @: $(MAKE); $(unstage)
34056 @r=`${PWD_COMMAND}`; export r; \
34057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34058 $(HOST_EXPORTS) \
34059 (cd $(HOST_SUBDIR)/guile && \
34060 $(MAKE) $(FLAGS_TO_PASS) check)
34061
34062 @endif guile
34063
34064 .PHONY: install-guile maybe-install-guile
34065 maybe-install-guile:
34066 @if guile
34067 maybe-install-guile: install-guile
34068
34069 install-guile: installdirs
34070 @: $(MAKE); $(unstage)
34071 @r=`${PWD_COMMAND}`; export r; \
34072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34073 $(HOST_EXPORTS) \
34074 (cd $(HOST_SUBDIR)/guile && \
34075 $(MAKE) $(FLAGS_TO_PASS) install)
34076
34077 @endif guile
34078
34079 .PHONY: install-strip-guile maybe-install-strip-guile
34080 maybe-install-strip-guile:
34081 @if guile
34082 maybe-install-strip-guile: install-strip-guile
34083
34084 install-strip-guile: installdirs
34085 @: $(MAKE); $(unstage)
34086 @r=`${PWD_COMMAND}`; export r; \
34087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34088 $(HOST_EXPORTS) \
34089 (cd $(HOST_SUBDIR)/guile && \
34090 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34091
34092 @endif guile
34093
34094 # Other targets (info, dvi, pdf, etc.)
34095
34096 .PHONY: maybe-info-guile info-guile
34097 maybe-info-guile:
34098 @if guile
34099 maybe-info-guile: info-guile
34100
34101 info-guile: \
34102 configure-guile
34103 @: $(MAKE); $(unstage)
34104 @[ -f ./guile/Makefile ] || exit 0; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(HOST_EXPORTS) \
34108 for flag in $(EXTRA_HOST_FLAGS) ; do \
34109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34110 done; \
34111 echo "Doing info in guile"; \
34112 (cd $(HOST_SUBDIR)/guile && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34117 info) \
34118 || exit 1
34119
34120 @endif guile
34121
34122 .PHONY: maybe-dvi-guile dvi-guile
34123 maybe-dvi-guile:
34124 @if guile
34125 maybe-dvi-guile: dvi-guile
34126
34127 dvi-guile: \
34128 configure-guile
34129 @: $(MAKE); $(unstage)
34130 @[ -f ./guile/Makefile ] || exit 0; \
34131 r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(HOST_EXPORTS) \
34134 for flag in $(EXTRA_HOST_FLAGS) ; do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 echo "Doing dvi in guile"; \
34138 (cd $(HOST_SUBDIR)/guile && \
34139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34141 "RANLIB=$${RANLIB}" \
34142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34143 dvi) \
34144 || exit 1
34145
34146 @endif guile
34147
34148 .PHONY: maybe-pdf-guile pdf-guile
34149 maybe-pdf-guile:
34150 @if guile
34151 maybe-pdf-guile: pdf-guile
34152
34153 pdf-guile: \
34154 configure-guile
34155 @: $(MAKE); $(unstage)
34156 @[ -f ./guile/Makefile ] || exit 0; \
34157 r=`${PWD_COMMAND}`; export r; \
34158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34159 $(HOST_EXPORTS) \
34160 for flag in $(EXTRA_HOST_FLAGS) ; do \
34161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34162 done; \
34163 echo "Doing pdf in guile"; \
34164 (cd $(HOST_SUBDIR)/guile && \
34165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34167 "RANLIB=$${RANLIB}" \
34168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34169 pdf) \
34170 || exit 1
34171
34172 @endif guile
34173
34174 .PHONY: maybe-html-guile html-guile
34175 maybe-html-guile:
34176 @if guile
34177 maybe-html-guile: html-guile
34178
34179 html-guile: \
34180 configure-guile
34181 @: $(MAKE); $(unstage)
34182 @[ -f ./guile/Makefile ] || exit 0; \
34183 r=`${PWD_COMMAND}`; export r; \
34184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34185 $(HOST_EXPORTS) \
34186 for flag in $(EXTRA_HOST_FLAGS) ; do \
34187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34188 done; \
34189 echo "Doing html in guile"; \
34190 (cd $(HOST_SUBDIR)/guile && \
34191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34193 "RANLIB=$${RANLIB}" \
34194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34195 html) \
34196 || exit 1
34197
34198 @endif guile
34199
34200 .PHONY: maybe-TAGS-guile TAGS-guile
34201 maybe-TAGS-guile:
34202 @if guile
34203 maybe-TAGS-guile: TAGS-guile
34204
34205 TAGS-guile: \
34206 configure-guile
34207 @: $(MAKE); $(unstage)
34208 @[ -f ./guile/Makefile ] || exit 0; \
34209 r=`${PWD_COMMAND}`; export r; \
34210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34211 $(HOST_EXPORTS) \
34212 for flag in $(EXTRA_HOST_FLAGS) ; do \
34213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34214 done; \
34215 echo "Doing TAGS in guile"; \
34216 (cd $(HOST_SUBDIR)/guile && \
34217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34219 "RANLIB=$${RANLIB}" \
34220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34221 TAGS) \
34222 || exit 1
34223
34224 @endif guile
34225
34226 .PHONY: maybe-install-info-guile install-info-guile
34227 maybe-install-info-guile:
34228 @if guile
34229 maybe-install-info-guile: install-info-guile
34230
34231 install-info-guile: \
34232 configure-guile \
34233 info-guile
34234 @: $(MAKE); $(unstage)
34235 @[ -f ./guile/Makefile ] || exit 0; \
34236 r=`${PWD_COMMAND}`; export r; \
34237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34238 $(HOST_EXPORTS) \
34239 for flag in $(EXTRA_HOST_FLAGS) ; do \
34240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34241 done; \
34242 echo "Doing install-info in guile"; \
34243 (cd $(HOST_SUBDIR)/guile && \
34244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34246 "RANLIB=$${RANLIB}" \
34247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34248 install-info) \
34249 || exit 1
34250
34251 @endif guile
34252
34253 .PHONY: maybe-install-pdf-guile install-pdf-guile
34254 maybe-install-pdf-guile:
34255 @if guile
34256 maybe-install-pdf-guile: install-pdf-guile
34257
34258 install-pdf-guile: \
34259 configure-guile \
34260 pdf-guile
34261 @: $(MAKE); $(unstage)
34262 @[ -f ./guile/Makefile ] || exit 0; \
34263 r=`${PWD_COMMAND}`; export r; \
34264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34265 $(HOST_EXPORTS) \
34266 for flag in $(EXTRA_HOST_FLAGS) ; do \
34267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34268 done; \
34269 echo "Doing install-pdf in guile"; \
34270 (cd $(HOST_SUBDIR)/guile && \
34271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34273 "RANLIB=$${RANLIB}" \
34274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34275 install-pdf) \
34276 || exit 1
34277
34278 @endif guile
34279
34280 .PHONY: maybe-install-html-guile install-html-guile
34281 maybe-install-html-guile:
34282 @if guile
34283 maybe-install-html-guile: install-html-guile
34284
34285 install-html-guile: \
34286 configure-guile \
34287 html-guile
34288 @: $(MAKE); $(unstage)
34289 @[ -f ./guile/Makefile ] || exit 0; \
34290 r=`${PWD_COMMAND}`; export r; \
34291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34292 $(HOST_EXPORTS) \
34293 for flag in $(EXTRA_HOST_FLAGS) ; do \
34294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34295 done; \
34296 echo "Doing install-html in guile"; \
34297 (cd $(HOST_SUBDIR)/guile && \
34298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34300 "RANLIB=$${RANLIB}" \
34301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34302 install-html) \
34303 || exit 1
34304
34305 @endif guile
34306
34307 .PHONY: maybe-installcheck-guile installcheck-guile
34308 maybe-installcheck-guile:
34309 @if guile
34310 maybe-installcheck-guile: installcheck-guile
34311
34312 installcheck-guile: \
34313 configure-guile
34314 @: $(MAKE); $(unstage)
34315 @[ -f ./guile/Makefile ] || exit 0; \
34316 r=`${PWD_COMMAND}`; export r; \
34317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34318 $(HOST_EXPORTS) \
34319 for flag in $(EXTRA_HOST_FLAGS) ; do \
34320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34321 done; \
34322 echo "Doing installcheck in guile"; \
34323 (cd $(HOST_SUBDIR)/guile && \
34324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34326 "RANLIB=$${RANLIB}" \
34327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34328 installcheck) \
34329 || exit 1
34330
34331 @endif guile
34332
34333 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34334 maybe-mostlyclean-guile:
34335 @if guile
34336 maybe-mostlyclean-guile: mostlyclean-guile
34337
34338 mostlyclean-guile:
34339 @: $(MAKE); $(unstage)
34340 @[ -f ./guile/Makefile ] || exit 0; \
34341 r=`${PWD_COMMAND}`; export r; \
34342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34343 $(HOST_EXPORTS) \
34344 for flag in $(EXTRA_HOST_FLAGS) ; do \
34345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34346 done; \
34347 echo "Doing mostlyclean in guile"; \
34348 (cd $(HOST_SUBDIR)/guile && \
34349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34351 "RANLIB=$${RANLIB}" \
34352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34353 mostlyclean) \
34354 || exit 1
34355
34356 @endif guile
34357
34358 .PHONY: maybe-clean-guile clean-guile
34359 maybe-clean-guile:
34360 @if guile
34361 maybe-clean-guile: clean-guile
34362
34363 clean-guile:
34364 @: $(MAKE); $(unstage)
34365 @[ -f ./guile/Makefile ] || exit 0; \
34366 r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 $(HOST_EXPORTS) \
34369 for flag in $(EXTRA_HOST_FLAGS) ; do \
34370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34371 done; \
34372 echo "Doing clean in guile"; \
34373 (cd $(HOST_SUBDIR)/guile && \
34374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34376 "RANLIB=$${RANLIB}" \
34377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34378 clean) \
34379 || exit 1
34380
34381 @endif guile
34382
34383 .PHONY: maybe-distclean-guile distclean-guile
34384 maybe-distclean-guile:
34385 @if guile
34386 maybe-distclean-guile: distclean-guile
34387
34388 distclean-guile:
34389 @: $(MAKE); $(unstage)
34390 @[ -f ./guile/Makefile ] || exit 0; \
34391 r=`${PWD_COMMAND}`; export r; \
34392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34393 $(HOST_EXPORTS) \
34394 for flag in $(EXTRA_HOST_FLAGS) ; do \
34395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34396 done; \
34397 echo "Doing distclean in guile"; \
34398 (cd $(HOST_SUBDIR)/guile && \
34399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34401 "RANLIB=$${RANLIB}" \
34402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34403 distclean) \
34404 || exit 1
34405
34406 @endif guile
34407
34408 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34409 maybe-maintainer-clean-guile:
34410 @if guile
34411 maybe-maintainer-clean-guile: maintainer-clean-guile
34412
34413 maintainer-clean-guile:
34414 @: $(MAKE); $(unstage)
34415 @[ -f ./guile/Makefile ] || exit 0; \
34416 r=`${PWD_COMMAND}`; export r; \
34417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34418 $(HOST_EXPORTS) \
34419 for flag in $(EXTRA_HOST_FLAGS) ; do \
34420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34421 done; \
34422 echo "Doing maintainer-clean in guile"; \
34423 (cd $(HOST_SUBDIR)/guile && \
34424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34426 "RANLIB=$${RANLIB}" \
34427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34428 maintainer-clean) \
34429 || exit 1
34430
34431 @endif guile
34432
34433
34434
34435 .PHONY: configure-tk maybe-configure-tk
34436 maybe-configure-tk:
34437 @if gcc-bootstrap
34438 configure-tk: stage_current
34439 @endif gcc-bootstrap
34440 @if tk
34441 maybe-configure-tk: configure-tk
34442 configure-tk:
34443 @: $(MAKE); $(unstage)
34444 @r=`${PWD_COMMAND}`; export r; \
34445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34446 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34448 $(HOST_EXPORTS) \
34449 echo Configuring in $(HOST_SUBDIR)/tk; \
34450 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34451 case $(srcdir) in \
34452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34453 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34455 esac; \
34456 module_srcdir=tk; \
34457 $(SHELL) \
34458 $$s/$$module_srcdir/configure \
34459 --srcdir=$${topdir}/$$module_srcdir \
34460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34461 --target=${target_alias} \
34462 || exit 1
34463 @endif tk
34464
34465
34466
34467
34468
34469 .PHONY: all-tk maybe-all-tk
34470 maybe-all-tk:
34471 @if gcc-bootstrap
34472 all-tk: stage_current
34473 @endif gcc-bootstrap
34474 @if tk
34475 TARGET-tk=all
34476 maybe-all-tk: all-tk
34477 all-tk: configure-tk
34478 @: $(MAKE); $(unstage)
34479 @r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 $(HOST_EXPORTS) \
34482 (cd $(HOST_SUBDIR)/tk && \
34483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34484 $(TARGET-tk))
34485 @endif tk
34486
34487
34488
34489
34490 .PHONY: check-tk maybe-check-tk
34491 maybe-check-tk:
34492 @if tk
34493 maybe-check-tk: check-tk
34494
34495 check-tk:
34496 @: $(MAKE); $(unstage)
34497 @r=`${PWD_COMMAND}`; export r; \
34498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34499 $(HOST_EXPORTS) \
34500 (cd $(HOST_SUBDIR)/tk && \
34501 $(MAKE) $(FLAGS_TO_PASS) check)
34502
34503 @endif tk
34504
34505 .PHONY: install-tk maybe-install-tk
34506 maybe-install-tk:
34507 @if tk
34508 maybe-install-tk: install-tk
34509
34510 install-tk: installdirs
34511 @: $(MAKE); $(unstage)
34512 @r=`${PWD_COMMAND}`; export r; \
34513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34514 $(HOST_EXPORTS) \
34515 (cd $(HOST_SUBDIR)/tk && \
34516 $(MAKE) $(FLAGS_TO_PASS) install)
34517
34518 @endif tk
34519
34520 .PHONY: install-strip-tk maybe-install-strip-tk
34521 maybe-install-strip-tk:
34522 @if tk
34523 maybe-install-strip-tk: install-strip-tk
34524
34525 install-strip-tk: installdirs
34526 @: $(MAKE); $(unstage)
34527 @r=`${PWD_COMMAND}`; export r; \
34528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34529 $(HOST_EXPORTS) \
34530 (cd $(HOST_SUBDIR)/tk && \
34531 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34532
34533 @endif tk
34534
34535 # Other targets (info, dvi, pdf, etc.)
34536
34537 .PHONY: maybe-info-tk info-tk
34538 maybe-info-tk:
34539 @if tk
34540 maybe-info-tk: info-tk
34541
34542 info-tk: \
34543 configure-tk
34544 @: $(MAKE); $(unstage)
34545 @[ -f ./tk/Makefile ] || exit 0; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(HOST_EXPORTS) \
34549 for flag in $(EXTRA_HOST_FLAGS) ; do \
34550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34551 done; \
34552 echo "Doing info in tk"; \
34553 (cd $(HOST_SUBDIR)/tk && \
34554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34556 "RANLIB=$${RANLIB}" \
34557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34558 info) \
34559 || exit 1
34560
34561 @endif tk
34562
34563 .PHONY: maybe-dvi-tk dvi-tk
34564 maybe-dvi-tk:
34565 @if tk
34566 maybe-dvi-tk: dvi-tk
34567
34568 dvi-tk: \
34569 configure-tk
34570 @: $(MAKE); $(unstage)
34571 @[ -f ./tk/Makefile ] || exit 0; \
34572 r=`${PWD_COMMAND}`; export r; \
34573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34574 $(HOST_EXPORTS) \
34575 for flag in $(EXTRA_HOST_FLAGS) ; do \
34576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34577 done; \
34578 echo "Doing dvi in tk"; \
34579 (cd $(HOST_SUBDIR)/tk && \
34580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34582 "RANLIB=$${RANLIB}" \
34583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34584 dvi) \
34585 || exit 1
34586
34587 @endif tk
34588
34589 .PHONY: maybe-pdf-tk pdf-tk
34590 maybe-pdf-tk:
34591 @if tk
34592 maybe-pdf-tk: pdf-tk
34593
34594 pdf-tk: \
34595 configure-tk
34596 @: $(MAKE); $(unstage)
34597 @[ -f ./tk/Makefile ] || exit 0; \
34598 r=`${PWD_COMMAND}`; export r; \
34599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34600 $(HOST_EXPORTS) \
34601 for flag in $(EXTRA_HOST_FLAGS) ; do \
34602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34603 done; \
34604 echo "Doing pdf in tk"; \
34605 (cd $(HOST_SUBDIR)/tk && \
34606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34608 "RANLIB=$${RANLIB}" \
34609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34610 pdf) \
34611 || exit 1
34612
34613 @endif tk
34614
34615 .PHONY: maybe-html-tk html-tk
34616 maybe-html-tk:
34617 @if tk
34618 maybe-html-tk: html-tk
34619
34620 html-tk: \
34621 configure-tk
34622 @: $(MAKE); $(unstage)
34623 @[ -f ./tk/Makefile ] || exit 0; \
34624 r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(HOST_EXPORTS) \
34627 for flag in $(EXTRA_HOST_FLAGS) ; do \
34628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34629 done; \
34630 echo "Doing html in tk"; \
34631 (cd $(HOST_SUBDIR)/tk && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34634 "RANLIB=$${RANLIB}" \
34635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34636 html) \
34637 || exit 1
34638
34639 @endif tk
34640
34641 .PHONY: maybe-TAGS-tk TAGS-tk
34642 maybe-TAGS-tk:
34643 @if tk
34644 maybe-TAGS-tk: TAGS-tk
34645
34646 TAGS-tk: \
34647 configure-tk
34648 @: $(MAKE); $(unstage)
34649 @[ -f ./tk/Makefile ] || exit 0; \
34650 r=`${PWD_COMMAND}`; export r; \
34651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34652 $(HOST_EXPORTS) \
34653 for flag in $(EXTRA_HOST_FLAGS) ; do \
34654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34655 done; \
34656 echo "Doing TAGS in tk"; \
34657 (cd $(HOST_SUBDIR)/tk && \
34658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34660 "RANLIB=$${RANLIB}" \
34661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34662 TAGS) \
34663 || exit 1
34664
34665 @endif tk
34666
34667 .PHONY: maybe-install-info-tk install-info-tk
34668 maybe-install-info-tk:
34669 @if tk
34670 maybe-install-info-tk: install-info-tk
34671
34672 install-info-tk: \
34673 configure-tk \
34674 info-tk
34675 @: $(MAKE); $(unstage)
34676 @[ -f ./tk/Makefile ] || exit 0; \
34677 r=`${PWD_COMMAND}`; export r; \
34678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34679 $(HOST_EXPORTS) \
34680 for flag in $(EXTRA_HOST_FLAGS) ; do \
34681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34682 done; \
34683 echo "Doing install-info in tk"; \
34684 (cd $(HOST_SUBDIR)/tk && \
34685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34687 "RANLIB=$${RANLIB}" \
34688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34689 install-info) \
34690 || exit 1
34691
34692 @endif tk
34693
34694 .PHONY: maybe-install-pdf-tk install-pdf-tk
34695 maybe-install-pdf-tk:
34696 @if tk
34697 maybe-install-pdf-tk: install-pdf-tk
34698
34699 install-pdf-tk: \
34700 configure-tk \
34701 pdf-tk
34702 @: $(MAKE); $(unstage)
34703 @[ -f ./tk/Makefile ] || exit 0; \
34704 r=`${PWD_COMMAND}`; export r; \
34705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34706 $(HOST_EXPORTS) \
34707 for flag in $(EXTRA_HOST_FLAGS) ; do \
34708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34709 done; \
34710 echo "Doing install-pdf in tk"; \
34711 (cd $(HOST_SUBDIR)/tk && \
34712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34714 "RANLIB=$${RANLIB}" \
34715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34716 install-pdf) \
34717 || exit 1
34718
34719 @endif tk
34720
34721 .PHONY: maybe-install-html-tk install-html-tk
34722 maybe-install-html-tk:
34723 @if tk
34724 maybe-install-html-tk: install-html-tk
34725
34726 install-html-tk: \
34727 configure-tk \
34728 html-tk
34729 @: $(MAKE); $(unstage)
34730 @[ -f ./tk/Makefile ] || exit 0; \
34731 r=`${PWD_COMMAND}`; export r; \
34732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34733 $(HOST_EXPORTS) \
34734 for flag in $(EXTRA_HOST_FLAGS) ; do \
34735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34736 done; \
34737 echo "Doing install-html in tk"; \
34738 (cd $(HOST_SUBDIR)/tk && \
34739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34741 "RANLIB=$${RANLIB}" \
34742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34743 install-html) \
34744 || exit 1
34745
34746 @endif tk
34747
34748 .PHONY: maybe-installcheck-tk installcheck-tk
34749 maybe-installcheck-tk:
34750 @if tk
34751 maybe-installcheck-tk: installcheck-tk
34752
34753 installcheck-tk: \
34754 configure-tk
34755 @: $(MAKE); $(unstage)
34756 @[ -f ./tk/Makefile ] || exit 0; \
34757 r=`${PWD_COMMAND}`; export r; \
34758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34759 $(HOST_EXPORTS) \
34760 for flag in $(EXTRA_HOST_FLAGS) ; do \
34761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34762 done; \
34763 echo "Doing installcheck in tk"; \
34764 (cd $(HOST_SUBDIR)/tk && \
34765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34767 "RANLIB=$${RANLIB}" \
34768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34769 installcheck) \
34770 || exit 1
34771
34772 @endif tk
34773
34774 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34775 maybe-mostlyclean-tk:
34776 @if tk
34777 maybe-mostlyclean-tk: mostlyclean-tk
34778
34779 mostlyclean-tk:
34780 @: $(MAKE); $(unstage)
34781 @[ -f ./tk/Makefile ] || exit 0; \
34782 r=`${PWD_COMMAND}`; export r; \
34783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34784 $(HOST_EXPORTS) \
34785 for flag in $(EXTRA_HOST_FLAGS) ; do \
34786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34787 done; \
34788 echo "Doing mostlyclean in tk"; \
34789 (cd $(HOST_SUBDIR)/tk && \
34790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34792 "RANLIB=$${RANLIB}" \
34793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34794 mostlyclean) \
34795 || exit 1
34796
34797 @endif tk
34798
34799 .PHONY: maybe-clean-tk clean-tk
34800 maybe-clean-tk:
34801 @if tk
34802 maybe-clean-tk: clean-tk
34803
34804 clean-tk:
34805 @: $(MAKE); $(unstage)
34806 @[ -f ./tk/Makefile ] || exit 0; \
34807 r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 $(HOST_EXPORTS) \
34810 for flag in $(EXTRA_HOST_FLAGS) ; do \
34811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34812 done; \
34813 echo "Doing clean in tk"; \
34814 (cd $(HOST_SUBDIR)/tk && \
34815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34817 "RANLIB=$${RANLIB}" \
34818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34819 clean) \
34820 || exit 1
34821
34822 @endif tk
34823
34824 .PHONY: maybe-distclean-tk distclean-tk
34825 maybe-distclean-tk:
34826 @if tk
34827 maybe-distclean-tk: distclean-tk
34828
34829 distclean-tk:
34830 @: $(MAKE); $(unstage)
34831 @[ -f ./tk/Makefile ] || exit 0; \
34832 r=`${PWD_COMMAND}`; export r; \
34833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34834 $(HOST_EXPORTS) \
34835 for flag in $(EXTRA_HOST_FLAGS) ; do \
34836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34837 done; \
34838 echo "Doing distclean in tk"; \
34839 (cd $(HOST_SUBDIR)/tk && \
34840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34842 "RANLIB=$${RANLIB}" \
34843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34844 distclean) \
34845 || exit 1
34846
34847 @endif tk
34848
34849 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34850 maybe-maintainer-clean-tk:
34851 @if tk
34852 maybe-maintainer-clean-tk: maintainer-clean-tk
34853
34854 maintainer-clean-tk:
34855 @: $(MAKE); $(unstage)
34856 @[ -f ./tk/Makefile ] || exit 0; \
34857 r=`${PWD_COMMAND}`; export r; \
34858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34859 $(HOST_EXPORTS) \
34860 for flag in $(EXTRA_HOST_FLAGS) ; do \
34861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34862 done; \
34863 echo "Doing maintainer-clean in tk"; \
34864 (cd $(HOST_SUBDIR)/tk && \
34865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34867 "RANLIB=$${RANLIB}" \
34868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34869 maintainer-clean) \
34870 || exit 1
34871
34872 @endif tk
34873
34874
34875
34876 .PHONY: configure-libtermcap maybe-configure-libtermcap
34877 maybe-configure-libtermcap:
34878 @if gcc-bootstrap
34879 configure-libtermcap: stage_current
34880 @endif gcc-bootstrap
34881 @if libtermcap
34882 maybe-configure-libtermcap: configure-libtermcap
34883 configure-libtermcap:
34884 @: $(MAKE); $(unstage)
34885 @r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34889 $(HOST_EXPORTS) \
34890 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34891 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34892 case $(srcdir) in \
34893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34894 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34896 esac; \
34897 module_srcdir=libtermcap; \
34898 $(SHELL) \
34899 $$s/$$module_srcdir/configure \
34900 --srcdir=$${topdir}/$$module_srcdir \
34901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34902 --target=${target_alias} \
34903 || exit 1
34904 @endif libtermcap
34905
34906
34907
34908
34909
34910 .PHONY: all-libtermcap maybe-all-libtermcap
34911 maybe-all-libtermcap:
34912 @if gcc-bootstrap
34913 all-libtermcap: stage_current
34914 @endif gcc-bootstrap
34915 @if libtermcap
34916 TARGET-libtermcap=all
34917 maybe-all-libtermcap: all-libtermcap
34918 all-libtermcap: configure-libtermcap
34919 @: $(MAKE); $(unstage)
34920 @r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(HOST_EXPORTS) \
34923 (cd $(HOST_SUBDIR)/libtermcap && \
34924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34925 $(TARGET-libtermcap))
34926 @endif libtermcap
34927
34928
34929
34930
34931 .PHONY: check-libtermcap maybe-check-libtermcap
34932 maybe-check-libtermcap:
34933 @if libtermcap
34934 maybe-check-libtermcap: check-libtermcap
34935
34936 check-libtermcap:
34937
34938 @endif libtermcap
34939
34940 .PHONY: install-libtermcap maybe-install-libtermcap
34941 maybe-install-libtermcap:
34942 @if libtermcap
34943 maybe-install-libtermcap: install-libtermcap
34944
34945 install-libtermcap: installdirs
34946 @: $(MAKE); $(unstage)
34947 @r=`${PWD_COMMAND}`; export r; \
34948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34949 $(HOST_EXPORTS) \
34950 (cd $(HOST_SUBDIR)/libtermcap && \
34951 $(MAKE) $(FLAGS_TO_PASS) install)
34952
34953 @endif libtermcap
34954
34955 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34956 maybe-install-strip-libtermcap:
34957 @if libtermcap
34958 maybe-install-strip-libtermcap: install-strip-libtermcap
34959
34960 install-strip-libtermcap: installdirs
34961 @: $(MAKE); $(unstage)
34962 @r=`${PWD_COMMAND}`; export r; \
34963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34964 $(HOST_EXPORTS) \
34965 (cd $(HOST_SUBDIR)/libtermcap && \
34966 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34967
34968 @endif libtermcap
34969
34970 # Other targets (info, dvi, pdf, etc.)
34971
34972 .PHONY: maybe-info-libtermcap info-libtermcap
34973 maybe-info-libtermcap:
34974 @if libtermcap
34975 maybe-info-libtermcap: info-libtermcap
34976
34977 info-libtermcap: \
34978 configure-libtermcap
34979 @: $(MAKE); $(unstage)
34980 @[ -f ./libtermcap/Makefile ] || exit 0; \
34981 r=`${PWD_COMMAND}`; export r; \
34982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34983 $(HOST_EXPORTS) \
34984 for flag in $(EXTRA_HOST_FLAGS) ; do \
34985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34986 done; \
34987 echo "Doing info in libtermcap"; \
34988 (cd $(HOST_SUBDIR)/libtermcap && \
34989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34991 "RANLIB=$${RANLIB}" \
34992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34993 info) \
34994 || exit 1
34995
34996 @endif libtermcap
34997
34998 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34999 maybe-dvi-libtermcap:
35000 @if libtermcap
35001 maybe-dvi-libtermcap: dvi-libtermcap
35002
35003 dvi-libtermcap: \
35004 configure-libtermcap
35005 @: $(MAKE); $(unstage)
35006 @[ -f ./libtermcap/Makefile ] || exit 0; \
35007 r=`${PWD_COMMAND}`; export r; \
35008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35009 $(HOST_EXPORTS) \
35010 for flag in $(EXTRA_HOST_FLAGS) ; do \
35011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35012 done; \
35013 echo "Doing dvi in libtermcap"; \
35014 (cd $(HOST_SUBDIR)/libtermcap && \
35015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35017 "RANLIB=$${RANLIB}" \
35018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35019 dvi) \
35020 || exit 1
35021
35022 @endif libtermcap
35023
35024 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
35025 maybe-pdf-libtermcap:
35026 @if libtermcap
35027 maybe-pdf-libtermcap: pdf-libtermcap
35028
35029 pdf-libtermcap: \
35030 configure-libtermcap
35031 @: $(MAKE); $(unstage)
35032 @[ -f ./libtermcap/Makefile ] || exit 0; \
35033 r=`${PWD_COMMAND}`; export r; \
35034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35035 $(HOST_EXPORTS) \
35036 for flag in $(EXTRA_HOST_FLAGS) ; do \
35037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35038 done; \
35039 echo "Doing pdf in libtermcap"; \
35040 (cd $(HOST_SUBDIR)/libtermcap && \
35041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35043 "RANLIB=$${RANLIB}" \
35044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35045 pdf) \
35046 || exit 1
35047
35048 @endif libtermcap
35049
35050 .PHONY: maybe-html-libtermcap html-libtermcap
35051 maybe-html-libtermcap:
35052 @if libtermcap
35053 maybe-html-libtermcap: html-libtermcap
35054
35055 html-libtermcap: \
35056 configure-libtermcap
35057 @: $(MAKE); $(unstage)
35058 @[ -f ./libtermcap/Makefile ] || exit 0; \
35059 r=`${PWD_COMMAND}`; export r; \
35060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35061 $(HOST_EXPORTS) \
35062 for flag in $(EXTRA_HOST_FLAGS) ; do \
35063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35064 done; \
35065 echo "Doing html in libtermcap"; \
35066 (cd $(HOST_SUBDIR)/libtermcap && \
35067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35069 "RANLIB=$${RANLIB}" \
35070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35071 html) \
35072 || exit 1
35073
35074 @endif libtermcap
35075
35076 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
35077 maybe-TAGS-libtermcap:
35078 @if libtermcap
35079 maybe-TAGS-libtermcap: TAGS-libtermcap
35080
35081 TAGS-libtermcap: \
35082 configure-libtermcap
35083 @: $(MAKE); $(unstage)
35084 @[ -f ./libtermcap/Makefile ] || exit 0; \
35085 r=`${PWD_COMMAND}`; export r; \
35086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35087 $(HOST_EXPORTS) \
35088 for flag in $(EXTRA_HOST_FLAGS) ; do \
35089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35090 done; \
35091 echo "Doing TAGS in libtermcap"; \
35092 (cd $(HOST_SUBDIR)/libtermcap && \
35093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35095 "RANLIB=$${RANLIB}" \
35096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35097 TAGS) \
35098 || exit 1
35099
35100 @endif libtermcap
35101
35102 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
35103 maybe-install-info-libtermcap:
35104 @if libtermcap
35105 maybe-install-info-libtermcap: install-info-libtermcap
35106
35107 install-info-libtermcap: \
35108 configure-libtermcap \
35109 info-libtermcap
35110 @: $(MAKE); $(unstage)
35111 @[ -f ./libtermcap/Makefile ] || exit 0; \
35112 r=`${PWD_COMMAND}`; export r; \
35113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35114 $(HOST_EXPORTS) \
35115 for flag in $(EXTRA_HOST_FLAGS) ; do \
35116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35117 done; \
35118 echo "Doing install-info in libtermcap"; \
35119 (cd $(HOST_SUBDIR)/libtermcap && \
35120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35122 "RANLIB=$${RANLIB}" \
35123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35124 install-info) \
35125 || exit 1
35126
35127 @endif libtermcap
35128
35129 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
35130 maybe-install-pdf-libtermcap:
35131 @if libtermcap
35132 maybe-install-pdf-libtermcap: install-pdf-libtermcap
35133
35134 install-pdf-libtermcap: \
35135 configure-libtermcap \
35136 pdf-libtermcap
35137 @: $(MAKE); $(unstage)
35138 @[ -f ./libtermcap/Makefile ] || exit 0; \
35139 r=`${PWD_COMMAND}`; export r; \
35140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35141 $(HOST_EXPORTS) \
35142 for flag in $(EXTRA_HOST_FLAGS) ; do \
35143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35144 done; \
35145 echo "Doing install-pdf in libtermcap"; \
35146 (cd $(HOST_SUBDIR)/libtermcap && \
35147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35149 "RANLIB=$${RANLIB}" \
35150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35151 install-pdf) \
35152 || exit 1
35153
35154 @endif libtermcap
35155
35156 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
35157 maybe-install-html-libtermcap:
35158 @if libtermcap
35159 maybe-install-html-libtermcap: install-html-libtermcap
35160
35161 install-html-libtermcap: \
35162 configure-libtermcap \
35163 html-libtermcap
35164 @: $(MAKE); $(unstage)
35165 @[ -f ./libtermcap/Makefile ] || exit 0; \
35166 r=`${PWD_COMMAND}`; export r; \
35167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35168 $(HOST_EXPORTS) \
35169 for flag in $(EXTRA_HOST_FLAGS) ; do \
35170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35171 done; \
35172 echo "Doing install-html in libtermcap"; \
35173 (cd $(HOST_SUBDIR)/libtermcap && \
35174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35176 "RANLIB=$${RANLIB}" \
35177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35178 install-html) \
35179 || exit 1
35180
35181 @endif libtermcap
35182
35183 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
35184 maybe-installcheck-libtermcap:
35185 @if libtermcap
35186 maybe-installcheck-libtermcap: installcheck-libtermcap
35187
35188 installcheck-libtermcap: \
35189 configure-libtermcap
35190 @: $(MAKE); $(unstage)
35191 @[ -f ./libtermcap/Makefile ] || exit 0; \
35192 r=`${PWD_COMMAND}`; export r; \
35193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35194 $(HOST_EXPORTS) \
35195 for flag in $(EXTRA_HOST_FLAGS) ; do \
35196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35197 done; \
35198 echo "Doing installcheck in libtermcap"; \
35199 (cd $(HOST_SUBDIR)/libtermcap && \
35200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35202 "RANLIB=$${RANLIB}" \
35203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35204 installcheck) \
35205 || exit 1
35206
35207 @endif libtermcap
35208
35209 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
35210 maybe-mostlyclean-libtermcap:
35211 @if libtermcap
35212 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
35213
35214 # libtermcap doesn't support mostlyclean.
35215 mostlyclean-libtermcap:
35216
35217 @endif libtermcap
35218
35219 .PHONY: maybe-clean-libtermcap clean-libtermcap
35220 maybe-clean-libtermcap:
35221 @if libtermcap
35222 maybe-clean-libtermcap: clean-libtermcap
35223
35224 # libtermcap doesn't support clean.
35225 clean-libtermcap:
35226
35227 @endif libtermcap
35228
35229 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
35230 maybe-distclean-libtermcap:
35231 @if libtermcap
35232 maybe-distclean-libtermcap: distclean-libtermcap
35233
35234 # libtermcap doesn't support distclean.
35235 distclean-libtermcap:
35236
35237 @endif libtermcap
35238
35239 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35240 maybe-maintainer-clean-libtermcap:
35241 @if libtermcap
35242 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35243
35244 # libtermcap doesn't support maintainer-clean.
35245 maintainer-clean-libtermcap:
35246
35247 @endif libtermcap
35248
35249
35250
35251 .PHONY: configure-utils maybe-configure-utils
35252 maybe-configure-utils:
35253 @if gcc-bootstrap
35254 configure-utils: stage_current
35255 @endif gcc-bootstrap
35256 @if utils
35257 maybe-configure-utils: configure-utils
35258 configure-utils:
35259 @: $(MAKE); $(unstage)
35260 @r=`${PWD_COMMAND}`; export r; \
35261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35262 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35264 $(HOST_EXPORTS) \
35265 echo Configuring in $(HOST_SUBDIR)/utils; \
35266 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35267 case $(srcdir) in \
35268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35269 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35271 esac; \
35272 module_srcdir=utils; \
35273 $(SHELL) \
35274 $$s/$$module_srcdir/configure \
35275 --srcdir=$${topdir}/$$module_srcdir \
35276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35277 --target=${target_alias} \
35278 || exit 1
35279 @endif utils
35280
35281
35282
35283
35284
35285 .PHONY: all-utils maybe-all-utils
35286 maybe-all-utils:
35287 @if gcc-bootstrap
35288 all-utils: stage_current
35289 @endif gcc-bootstrap
35290 @if utils
35291 TARGET-utils=all
35292 maybe-all-utils: all-utils
35293 all-utils: configure-utils
35294 @: $(MAKE); $(unstage)
35295 @r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(HOST_EXPORTS) \
35298 (cd $(HOST_SUBDIR)/utils && \
35299 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35300 $(TARGET-utils))
35301 @endif utils
35302
35303
35304
35305
35306 .PHONY: check-utils maybe-check-utils
35307 maybe-check-utils:
35308 @if utils
35309 maybe-check-utils: check-utils
35310
35311 check-utils:
35312
35313 @endif utils
35314
35315 .PHONY: install-utils maybe-install-utils
35316 maybe-install-utils:
35317 @if utils
35318 maybe-install-utils: install-utils
35319
35320 install-utils: installdirs
35321 @: $(MAKE); $(unstage)
35322 @r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(HOST_EXPORTS) \
35325 (cd $(HOST_SUBDIR)/utils && \
35326 $(MAKE) $(FLAGS_TO_PASS) install)
35327
35328 @endif utils
35329
35330 .PHONY: install-strip-utils maybe-install-strip-utils
35331 maybe-install-strip-utils:
35332 @if utils
35333 maybe-install-strip-utils: install-strip-utils
35334
35335 install-strip-utils: installdirs
35336 @: $(MAKE); $(unstage)
35337 @r=`${PWD_COMMAND}`; export r; \
35338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35339 $(HOST_EXPORTS) \
35340 (cd $(HOST_SUBDIR)/utils && \
35341 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35342
35343 @endif utils
35344
35345 # Other targets (info, dvi, pdf, etc.)
35346
35347 .PHONY: maybe-info-utils info-utils
35348 maybe-info-utils:
35349 @if utils
35350 maybe-info-utils: info-utils
35351
35352 info-utils: \
35353 configure-utils
35354 @: $(MAKE); $(unstage)
35355 @[ -f ./utils/Makefile ] || exit 0; \
35356 r=`${PWD_COMMAND}`; export r; \
35357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35358 $(HOST_EXPORTS) \
35359 for flag in $(EXTRA_HOST_FLAGS) ; do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 echo "Doing info in utils"; \
35363 (cd $(HOST_SUBDIR)/utils && \
35364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35366 "RANLIB=$${RANLIB}" \
35367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35368 info) \
35369 || exit 1
35370
35371 @endif utils
35372
35373 .PHONY: maybe-dvi-utils dvi-utils
35374 maybe-dvi-utils:
35375 @if utils
35376 maybe-dvi-utils: dvi-utils
35377
35378 dvi-utils: \
35379 configure-utils
35380 @: $(MAKE); $(unstage)
35381 @[ -f ./utils/Makefile ] || exit 0; \
35382 r=`${PWD_COMMAND}`; export r; \
35383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35384 $(HOST_EXPORTS) \
35385 for flag in $(EXTRA_HOST_FLAGS) ; do \
35386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35387 done; \
35388 echo "Doing dvi in utils"; \
35389 (cd $(HOST_SUBDIR)/utils && \
35390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35392 "RANLIB=$${RANLIB}" \
35393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35394 dvi) \
35395 || exit 1
35396
35397 @endif utils
35398
35399 .PHONY: maybe-pdf-utils pdf-utils
35400 maybe-pdf-utils:
35401 @if utils
35402 maybe-pdf-utils: pdf-utils
35403
35404 pdf-utils: \
35405 configure-utils
35406 @: $(MAKE); $(unstage)
35407 @[ -f ./utils/Makefile ] || exit 0; \
35408 r=`${PWD_COMMAND}`; export r; \
35409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35410 $(HOST_EXPORTS) \
35411 for flag in $(EXTRA_HOST_FLAGS) ; do \
35412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35413 done; \
35414 echo "Doing pdf in utils"; \
35415 (cd $(HOST_SUBDIR)/utils && \
35416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35418 "RANLIB=$${RANLIB}" \
35419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35420 pdf) \
35421 || exit 1
35422
35423 @endif utils
35424
35425 .PHONY: maybe-html-utils html-utils
35426 maybe-html-utils:
35427 @if utils
35428 maybe-html-utils: html-utils
35429
35430 html-utils: \
35431 configure-utils
35432 @: $(MAKE); $(unstage)
35433 @[ -f ./utils/Makefile ] || exit 0; \
35434 r=`${PWD_COMMAND}`; export r; \
35435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35436 $(HOST_EXPORTS) \
35437 for flag in $(EXTRA_HOST_FLAGS) ; do \
35438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35439 done; \
35440 echo "Doing html in utils"; \
35441 (cd $(HOST_SUBDIR)/utils && \
35442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35444 "RANLIB=$${RANLIB}" \
35445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35446 html) \
35447 || exit 1
35448
35449 @endif utils
35450
35451 .PHONY: maybe-TAGS-utils TAGS-utils
35452 maybe-TAGS-utils:
35453 @if utils
35454 maybe-TAGS-utils: TAGS-utils
35455
35456 TAGS-utils: \
35457 configure-utils
35458 @: $(MAKE); $(unstage)
35459 @[ -f ./utils/Makefile ] || exit 0; \
35460 r=`${PWD_COMMAND}`; export r; \
35461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35462 $(HOST_EXPORTS) \
35463 for flag in $(EXTRA_HOST_FLAGS) ; do \
35464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35465 done; \
35466 echo "Doing TAGS in utils"; \
35467 (cd $(HOST_SUBDIR)/utils && \
35468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35470 "RANLIB=$${RANLIB}" \
35471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35472 TAGS) \
35473 || exit 1
35474
35475 @endif utils
35476
35477 .PHONY: maybe-install-info-utils install-info-utils
35478 maybe-install-info-utils:
35479 @if utils
35480 maybe-install-info-utils: install-info-utils
35481
35482 install-info-utils: \
35483 configure-utils \
35484 info-utils
35485 @: $(MAKE); $(unstage)
35486 @[ -f ./utils/Makefile ] || exit 0; \
35487 r=`${PWD_COMMAND}`; export r; \
35488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35489 $(HOST_EXPORTS) \
35490 for flag in $(EXTRA_HOST_FLAGS) ; do \
35491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35492 done; \
35493 echo "Doing install-info in utils"; \
35494 (cd $(HOST_SUBDIR)/utils && \
35495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35497 "RANLIB=$${RANLIB}" \
35498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35499 install-info) \
35500 || exit 1
35501
35502 @endif utils
35503
35504 .PHONY: maybe-install-pdf-utils install-pdf-utils
35505 maybe-install-pdf-utils:
35506 @if utils
35507 maybe-install-pdf-utils: install-pdf-utils
35508
35509 install-pdf-utils: \
35510 configure-utils \
35511 pdf-utils
35512 @: $(MAKE); $(unstage)
35513 @[ -f ./utils/Makefile ] || exit 0; \
35514 r=`${PWD_COMMAND}`; export r; \
35515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35516 $(HOST_EXPORTS) \
35517 for flag in $(EXTRA_HOST_FLAGS) ; do \
35518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35519 done; \
35520 echo "Doing install-pdf in utils"; \
35521 (cd $(HOST_SUBDIR)/utils && \
35522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35524 "RANLIB=$${RANLIB}" \
35525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35526 install-pdf) \
35527 || exit 1
35528
35529 @endif utils
35530
35531 .PHONY: maybe-install-html-utils install-html-utils
35532 maybe-install-html-utils:
35533 @if utils
35534 maybe-install-html-utils: install-html-utils
35535
35536 install-html-utils: \
35537 configure-utils \
35538 html-utils
35539 @: $(MAKE); $(unstage)
35540 @[ -f ./utils/Makefile ] || exit 0; \
35541 r=`${PWD_COMMAND}`; export r; \
35542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35543 $(HOST_EXPORTS) \
35544 for flag in $(EXTRA_HOST_FLAGS) ; do \
35545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35546 done; \
35547 echo "Doing install-html in utils"; \
35548 (cd $(HOST_SUBDIR)/utils && \
35549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35551 "RANLIB=$${RANLIB}" \
35552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35553 install-html) \
35554 || exit 1
35555
35556 @endif utils
35557
35558 .PHONY: maybe-installcheck-utils installcheck-utils
35559 maybe-installcheck-utils:
35560 @if utils
35561 maybe-installcheck-utils: installcheck-utils
35562
35563 installcheck-utils: \
35564 configure-utils
35565 @: $(MAKE); $(unstage)
35566 @[ -f ./utils/Makefile ] || exit 0; \
35567 r=`${PWD_COMMAND}`; export r; \
35568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35569 $(HOST_EXPORTS) \
35570 for flag in $(EXTRA_HOST_FLAGS) ; do \
35571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35572 done; \
35573 echo "Doing installcheck in utils"; \
35574 (cd $(HOST_SUBDIR)/utils && \
35575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35577 "RANLIB=$${RANLIB}" \
35578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35579 installcheck) \
35580 || exit 1
35581
35582 @endif utils
35583
35584 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35585 maybe-mostlyclean-utils:
35586 @if utils
35587 maybe-mostlyclean-utils: mostlyclean-utils
35588
35589 mostlyclean-utils:
35590 @: $(MAKE); $(unstage)
35591 @[ -f ./utils/Makefile ] || exit 0; \
35592 r=`${PWD_COMMAND}`; export r; \
35593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35594 $(HOST_EXPORTS) \
35595 for flag in $(EXTRA_HOST_FLAGS) ; do \
35596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35597 done; \
35598 echo "Doing mostlyclean in utils"; \
35599 (cd $(HOST_SUBDIR)/utils && \
35600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35602 "RANLIB=$${RANLIB}" \
35603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35604 mostlyclean) \
35605 || exit 1
35606
35607 @endif utils
35608
35609 .PHONY: maybe-clean-utils clean-utils
35610 maybe-clean-utils:
35611 @if utils
35612 maybe-clean-utils: clean-utils
35613
35614 clean-utils:
35615 @: $(MAKE); $(unstage)
35616 @[ -f ./utils/Makefile ] || exit 0; \
35617 r=`${PWD_COMMAND}`; export r; \
35618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35619 $(HOST_EXPORTS) \
35620 for flag in $(EXTRA_HOST_FLAGS) ; do \
35621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35622 done; \
35623 echo "Doing clean in utils"; \
35624 (cd $(HOST_SUBDIR)/utils && \
35625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35627 "RANLIB=$${RANLIB}" \
35628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35629 clean) \
35630 || exit 1
35631
35632 @endif utils
35633
35634 .PHONY: maybe-distclean-utils distclean-utils
35635 maybe-distclean-utils:
35636 @if utils
35637 maybe-distclean-utils: distclean-utils
35638
35639 distclean-utils:
35640 @: $(MAKE); $(unstage)
35641 @[ -f ./utils/Makefile ] || exit 0; \
35642 r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(HOST_EXPORTS) \
35645 for flag in $(EXTRA_HOST_FLAGS) ; do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 echo "Doing distclean in utils"; \
35649 (cd $(HOST_SUBDIR)/utils && \
35650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35652 "RANLIB=$${RANLIB}" \
35653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35654 distclean) \
35655 || exit 1
35656
35657 @endif utils
35658
35659 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35660 maybe-maintainer-clean-utils:
35661 @if utils
35662 maybe-maintainer-clean-utils: maintainer-clean-utils
35663
35664 maintainer-clean-utils:
35665 @: $(MAKE); $(unstage)
35666 @[ -f ./utils/Makefile ] || exit 0; \
35667 r=`${PWD_COMMAND}`; export r; \
35668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35669 $(HOST_EXPORTS) \
35670 for flag in $(EXTRA_HOST_FLAGS) ; do \
35671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35672 done; \
35673 echo "Doing maintainer-clean in utils"; \
35674 (cd $(HOST_SUBDIR)/utils && \
35675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35677 "RANLIB=$${RANLIB}" \
35678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35679 maintainer-clean) \
35680 || exit 1
35681
35682 @endif utils
35683
35684
35685
35686 .PHONY: configure-gnattools maybe-configure-gnattools
35687 maybe-configure-gnattools:
35688 @if gcc-bootstrap
35689 configure-gnattools: stage_current
35690 @endif gcc-bootstrap
35691 @if gnattools
35692 maybe-configure-gnattools: configure-gnattools
35693 configure-gnattools:
35694 @: $(MAKE); $(unstage)
35695 @r=`${PWD_COMMAND}`; export r; \
35696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35697 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35699 $(HOST_EXPORTS) \
35700 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35701 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35702 case $(srcdir) in \
35703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35704 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35706 esac; \
35707 module_srcdir=gnattools; \
35708 $(SHELL) \
35709 $$s/$$module_srcdir/configure \
35710 --srcdir=$${topdir}/$$module_srcdir \
35711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35712 --target=${target_alias} \
35713 || exit 1
35714 @endif gnattools
35715
35716
35717
35718
35719
35720 .PHONY: all-gnattools maybe-all-gnattools
35721 maybe-all-gnattools:
35722 @if gcc-bootstrap
35723 all-gnattools: stage_current
35724 @endif gcc-bootstrap
35725 @if gnattools
35726 TARGET-gnattools=all
35727 maybe-all-gnattools: all-gnattools
35728 all-gnattools: configure-gnattools
35729 @: $(MAKE); $(unstage)
35730 @r=`${PWD_COMMAND}`; export r; \
35731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35732 $(HOST_EXPORTS) \
35733 (cd $(HOST_SUBDIR)/gnattools && \
35734 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35735 $(TARGET-gnattools))
35736 @endif gnattools
35737
35738
35739
35740
35741 .PHONY: check-gnattools maybe-check-gnattools
35742 maybe-check-gnattools:
35743 @if gnattools
35744 maybe-check-gnattools: check-gnattools
35745
35746 check-gnattools:
35747 @: $(MAKE); $(unstage)
35748 @r=`${PWD_COMMAND}`; export r; \
35749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35750 $(HOST_EXPORTS) \
35751 (cd $(HOST_SUBDIR)/gnattools && \
35752 $(MAKE) $(FLAGS_TO_PASS) check)
35753
35754 @endif gnattools
35755
35756 .PHONY: install-gnattools maybe-install-gnattools
35757 maybe-install-gnattools:
35758 @if gnattools
35759 maybe-install-gnattools: install-gnattools
35760
35761 install-gnattools: installdirs
35762 @: $(MAKE); $(unstage)
35763 @r=`${PWD_COMMAND}`; export r; \
35764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35765 $(HOST_EXPORTS) \
35766 (cd $(HOST_SUBDIR)/gnattools && \
35767 $(MAKE) $(FLAGS_TO_PASS) install)
35768
35769 @endif gnattools
35770
35771 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35772 maybe-install-strip-gnattools:
35773 @if gnattools
35774 maybe-install-strip-gnattools: install-strip-gnattools
35775
35776 install-strip-gnattools: installdirs
35777 @: $(MAKE); $(unstage)
35778 @r=`${PWD_COMMAND}`; export r; \
35779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35780 $(HOST_EXPORTS) \
35781 (cd $(HOST_SUBDIR)/gnattools && \
35782 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35783
35784 @endif gnattools
35785
35786 # Other targets (info, dvi, pdf, etc.)
35787
35788 .PHONY: maybe-info-gnattools info-gnattools
35789 maybe-info-gnattools:
35790 @if gnattools
35791 maybe-info-gnattools: info-gnattools
35792
35793 info-gnattools: \
35794 configure-gnattools
35795 @: $(MAKE); $(unstage)
35796 @[ -f ./gnattools/Makefile ] || exit 0; \
35797 r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 $(HOST_EXPORTS) \
35800 for flag in $(EXTRA_HOST_FLAGS) ; do \
35801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35802 done; \
35803 echo "Doing info in gnattools"; \
35804 (cd $(HOST_SUBDIR)/gnattools && \
35805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35807 "RANLIB=$${RANLIB}" \
35808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35809 info) \
35810 || exit 1
35811
35812 @endif gnattools
35813
35814 .PHONY: maybe-dvi-gnattools dvi-gnattools
35815 maybe-dvi-gnattools:
35816 @if gnattools
35817 maybe-dvi-gnattools: dvi-gnattools
35818
35819 dvi-gnattools: \
35820 configure-gnattools
35821 @: $(MAKE); $(unstage)
35822 @[ -f ./gnattools/Makefile ] || exit 0; \
35823 r=`${PWD_COMMAND}`; export r; \
35824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35825 $(HOST_EXPORTS) \
35826 for flag in $(EXTRA_HOST_FLAGS) ; do \
35827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35828 done; \
35829 echo "Doing dvi in gnattools"; \
35830 (cd $(HOST_SUBDIR)/gnattools && \
35831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35833 "RANLIB=$${RANLIB}" \
35834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35835 dvi) \
35836 || exit 1
35837
35838 @endif gnattools
35839
35840 .PHONY: maybe-pdf-gnattools pdf-gnattools
35841 maybe-pdf-gnattools:
35842 @if gnattools
35843 maybe-pdf-gnattools: pdf-gnattools
35844
35845 pdf-gnattools: \
35846 configure-gnattools
35847 @: $(MAKE); $(unstage)
35848 @[ -f ./gnattools/Makefile ] || exit 0; \
35849 r=`${PWD_COMMAND}`; export r; \
35850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35851 $(HOST_EXPORTS) \
35852 for flag in $(EXTRA_HOST_FLAGS) ; do \
35853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35854 done; \
35855 echo "Doing pdf in gnattools"; \
35856 (cd $(HOST_SUBDIR)/gnattools && \
35857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35859 "RANLIB=$${RANLIB}" \
35860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35861 pdf) \
35862 || exit 1
35863
35864 @endif gnattools
35865
35866 .PHONY: maybe-html-gnattools html-gnattools
35867 maybe-html-gnattools:
35868 @if gnattools
35869 maybe-html-gnattools: html-gnattools
35870
35871 html-gnattools: \
35872 configure-gnattools
35873 @: $(MAKE); $(unstage)
35874 @[ -f ./gnattools/Makefile ] || exit 0; \
35875 r=`${PWD_COMMAND}`; export r; \
35876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35877 $(HOST_EXPORTS) \
35878 for flag in $(EXTRA_HOST_FLAGS) ; do \
35879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35880 done; \
35881 echo "Doing html in gnattools"; \
35882 (cd $(HOST_SUBDIR)/gnattools && \
35883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35885 "RANLIB=$${RANLIB}" \
35886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35887 html) \
35888 || exit 1
35889
35890 @endif gnattools
35891
35892 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35893 maybe-TAGS-gnattools:
35894 @if gnattools
35895 maybe-TAGS-gnattools: TAGS-gnattools
35896
35897 TAGS-gnattools: \
35898 configure-gnattools
35899 @: $(MAKE); $(unstage)
35900 @[ -f ./gnattools/Makefile ] || exit 0; \
35901 r=`${PWD_COMMAND}`; export r; \
35902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35903 $(HOST_EXPORTS) \
35904 for flag in $(EXTRA_HOST_FLAGS) ; do \
35905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35906 done; \
35907 echo "Doing TAGS in gnattools"; \
35908 (cd $(HOST_SUBDIR)/gnattools && \
35909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35911 "RANLIB=$${RANLIB}" \
35912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35913 TAGS) \
35914 || exit 1
35915
35916 @endif gnattools
35917
35918 .PHONY: maybe-install-info-gnattools install-info-gnattools
35919 maybe-install-info-gnattools:
35920 @if gnattools
35921 maybe-install-info-gnattools: install-info-gnattools
35922
35923 install-info-gnattools: \
35924 configure-gnattools \
35925 info-gnattools
35926 @: $(MAKE); $(unstage)
35927 @[ -f ./gnattools/Makefile ] || exit 0; \
35928 r=`${PWD_COMMAND}`; export r; \
35929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35930 $(HOST_EXPORTS) \
35931 for flag in $(EXTRA_HOST_FLAGS) ; do \
35932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35933 done; \
35934 echo "Doing install-info in gnattools"; \
35935 (cd $(HOST_SUBDIR)/gnattools && \
35936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35938 "RANLIB=$${RANLIB}" \
35939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35940 install-info) \
35941 || exit 1
35942
35943 @endif gnattools
35944
35945 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35946 maybe-install-pdf-gnattools:
35947 @if gnattools
35948 maybe-install-pdf-gnattools: install-pdf-gnattools
35949
35950 install-pdf-gnattools: \
35951 configure-gnattools \
35952 pdf-gnattools
35953 @: $(MAKE); $(unstage)
35954 @[ -f ./gnattools/Makefile ] || exit 0; \
35955 r=`${PWD_COMMAND}`; export r; \
35956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35957 $(HOST_EXPORTS) \
35958 for flag in $(EXTRA_HOST_FLAGS) ; do \
35959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35960 done; \
35961 echo "Doing install-pdf in gnattools"; \
35962 (cd $(HOST_SUBDIR)/gnattools && \
35963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35965 "RANLIB=$${RANLIB}" \
35966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35967 install-pdf) \
35968 || exit 1
35969
35970 @endif gnattools
35971
35972 .PHONY: maybe-install-html-gnattools install-html-gnattools
35973 maybe-install-html-gnattools:
35974 @if gnattools
35975 maybe-install-html-gnattools: install-html-gnattools
35976
35977 install-html-gnattools: \
35978 configure-gnattools \
35979 html-gnattools
35980 @: $(MAKE); $(unstage)
35981 @[ -f ./gnattools/Makefile ] || exit 0; \
35982 r=`${PWD_COMMAND}`; export r; \
35983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35984 $(HOST_EXPORTS) \
35985 for flag in $(EXTRA_HOST_FLAGS) ; do \
35986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35987 done; \
35988 echo "Doing install-html in gnattools"; \
35989 (cd $(HOST_SUBDIR)/gnattools && \
35990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35992 "RANLIB=$${RANLIB}" \
35993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35994 install-html) \
35995 || exit 1
35996
35997 @endif gnattools
35998
35999 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
36000 maybe-installcheck-gnattools:
36001 @if gnattools
36002 maybe-installcheck-gnattools: installcheck-gnattools
36003
36004 installcheck-gnattools: \
36005 configure-gnattools
36006 @: $(MAKE); $(unstage)
36007 @[ -f ./gnattools/Makefile ] || exit 0; \
36008 r=`${PWD_COMMAND}`; export r; \
36009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36010 $(HOST_EXPORTS) \
36011 for flag in $(EXTRA_HOST_FLAGS) ; do \
36012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36013 done; \
36014 echo "Doing installcheck in gnattools"; \
36015 (cd $(HOST_SUBDIR)/gnattools && \
36016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36018 "RANLIB=$${RANLIB}" \
36019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36020 installcheck) \
36021 || exit 1
36022
36023 @endif gnattools
36024
36025 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
36026 maybe-mostlyclean-gnattools:
36027 @if gnattools
36028 maybe-mostlyclean-gnattools: mostlyclean-gnattools
36029
36030 mostlyclean-gnattools:
36031 @: $(MAKE); $(unstage)
36032 @[ -f ./gnattools/Makefile ] || exit 0; \
36033 r=`${PWD_COMMAND}`; export r; \
36034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36035 $(HOST_EXPORTS) \
36036 for flag in $(EXTRA_HOST_FLAGS) ; do \
36037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36038 done; \
36039 echo "Doing mostlyclean in gnattools"; \
36040 (cd $(HOST_SUBDIR)/gnattools && \
36041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36043 "RANLIB=$${RANLIB}" \
36044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36045 mostlyclean) \
36046 || exit 1
36047
36048 @endif gnattools
36049
36050 .PHONY: maybe-clean-gnattools clean-gnattools
36051 maybe-clean-gnattools:
36052 @if gnattools
36053 maybe-clean-gnattools: clean-gnattools
36054
36055 clean-gnattools:
36056 @: $(MAKE); $(unstage)
36057 @[ -f ./gnattools/Makefile ] || exit 0; \
36058 r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(HOST_EXPORTS) \
36061 for flag in $(EXTRA_HOST_FLAGS) ; do \
36062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36063 done; \
36064 echo "Doing clean in gnattools"; \
36065 (cd $(HOST_SUBDIR)/gnattools && \
36066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36068 "RANLIB=$${RANLIB}" \
36069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36070 clean) \
36071 || exit 1
36072
36073 @endif gnattools
36074
36075 .PHONY: maybe-distclean-gnattools distclean-gnattools
36076 maybe-distclean-gnattools:
36077 @if gnattools
36078 maybe-distclean-gnattools: distclean-gnattools
36079
36080 distclean-gnattools:
36081 @: $(MAKE); $(unstage)
36082 @[ -f ./gnattools/Makefile ] || exit 0; \
36083 r=`${PWD_COMMAND}`; export r; \
36084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36085 $(HOST_EXPORTS) \
36086 for flag in $(EXTRA_HOST_FLAGS) ; do \
36087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36088 done; \
36089 echo "Doing distclean in gnattools"; \
36090 (cd $(HOST_SUBDIR)/gnattools && \
36091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36093 "RANLIB=$${RANLIB}" \
36094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36095 distclean) \
36096 || exit 1
36097
36098 @endif gnattools
36099
36100 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
36101 maybe-maintainer-clean-gnattools:
36102 @if gnattools
36103 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
36104
36105 maintainer-clean-gnattools:
36106 @: $(MAKE); $(unstage)
36107 @[ -f ./gnattools/Makefile ] || exit 0; \
36108 r=`${PWD_COMMAND}`; export r; \
36109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36110 $(HOST_EXPORTS) \
36111 for flag in $(EXTRA_HOST_FLAGS) ; do \
36112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36113 done; \
36114 echo "Doing maintainer-clean in gnattools"; \
36115 (cd $(HOST_SUBDIR)/gnattools && \
36116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36118 "RANLIB=$${RANLIB}" \
36119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36120 maintainer-clean) \
36121 || exit 1
36122
36123 @endif gnattools
36124
36125
36126
36127 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
36128 maybe-configure-lto-plugin:
36129 @if gcc-bootstrap
36130 configure-lto-plugin: stage_current
36131 @endif gcc-bootstrap
36132 @if lto-plugin
36133 maybe-configure-lto-plugin: configure-lto-plugin
36134 configure-lto-plugin:
36135 @r=`${PWD_COMMAND}`; export r; \
36136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36137 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36139 $(HOST_EXPORTS) \
36140 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
36141 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
36142 case $(srcdir) in \
36143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36144 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36146 esac; \
36147 module_srcdir=lto-plugin; \
36148 $(SHELL) \
36149 $$s/$$module_srcdir/configure \
36150 --srcdir=$${topdir}/$$module_srcdir \
36151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36152 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
36153 || exit 1
36154 @endif lto-plugin
36155
36156
36157
36158 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
36159 maybe-configure-stage1-lto-plugin:
36160 @if lto-plugin-bootstrap
36161 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
36162 configure-stage1-lto-plugin:
36163 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36165 @r=`${PWD_COMMAND}`; export r; \
36166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36167 TFLAGS="$(STAGE1_TFLAGS)"; \
36168 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36169 $(HOST_EXPORTS) \
36170 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
36171 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
36172 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
36173 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
36174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36175 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36176 case $(srcdir) in \
36177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36178 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36180 esac; \
36181 module_srcdir=lto-plugin; \
36182 $(SHELL) $$s/$$module_srcdir/configure \
36183 --srcdir=$${topdir}/$$module_srcdir \
36184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36185 --target=${target_alias} \
36186 \
36187 $(STAGE1_CONFIGURE_FLAGS) \
36188 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36189 @endif lto-plugin-bootstrap
36190
36191 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
36192 maybe-configure-stage2-lto-plugin:
36193 @if lto-plugin-bootstrap
36194 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
36195 configure-stage2-lto-plugin:
36196 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36198 @r=`${PWD_COMMAND}`; export r; \
36199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36200 TFLAGS="$(STAGE2_TFLAGS)"; \
36201 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36202 $(HOST_EXPORTS) \
36203 $(POSTSTAGE1_HOST_EXPORTS) \
36204 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
36205 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
36206 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
36207 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
36208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36209 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36210 case $(srcdir) in \
36211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36212 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36214 esac; \
36215 module_srcdir=lto-plugin; \
36216 $(SHELL) $$s/$$module_srcdir/configure \
36217 --srcdir=$${topdir}/$$module_srcdir \
36218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36219 --target=${target_alias} \
36220 --with-build-libsubdir=$(HOST_SUBDIR) \
36221 $(STAGE2_CONFIGURE_FLAGS) \
36222 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36223 @endif lto-plugin-bootstrap
36224
36225 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
36226 maybe-configure-stage3-lto-plugin:
36227 @if lto-plugin-bootstrap
36228 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
36229 configure-stage3-lto-plugin:
36230 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36232 @r=`${PWD_COMMAND}`; export r; \
36233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36234 TFLAGS="$(STAGE3_TFLAGS)"; \
36235 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36236 $(HOST_EXPORTS) \
36237 $(POSTSTAGE1_HOST_EXPORTS) \
36238 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36239 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36240 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36241 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36243 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36244 case $(srcdir) in \
36245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36246 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36248 esac; \
36249 module_srcdir=lto-plugin; \
36250 $(SHELL) $$s/$$module_srcdir/configure \
36251 --srcdir=$${topdir}/$$module_srcdir \
36252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36253 --target=${target_alias} \
36254 --with-build-libsubdir=$(HOST_SUBDIR) \
36255 $(STAGE3_CONFIGURE_FLAGS) \
36256 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36257 @endif lto-plugin-bootstrap
36258
36259 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36260 maybe-configure-stage4-lto-plugin:
36261 @if lto-plugin-bootstrap
36262 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36263 configure-stage4-lto-plugin:
36264 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36266 @r=`${PWD_COMMAND}`; export r; \
36267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36268 TFLAGS="$(STAGE4_TFLAGS)"; \
36269 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36270 $(HOST_EXPORTS) \
36271 $(POSTSTAGE1_HOST_EXPORTS) \
36272 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36273 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36274 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36275 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36277 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36278 case $(srcdir) in \
36279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36280 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36282 esac; \
36283 module_srcdir=lto-plugin; \
36284 $(SHELL) $$s/$$module_srcdir/configure \
36285 --srcdir=$${topdir}/$$module_srcdir \
36286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36287 --target=${target_alias} \
36288 --with-build-libsubdir=$(HOST_SUBDIR) \
36289 $(STAGE4_CONFIGURE_FLAGS) \
36290 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36291 @endif lto-plugin-bootstrap
36292
36293 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36294 maybe-configure-stageprofile-lto-plugin:
36295 @if lto-plugin-bootstrap
36296 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36297 configure-stageprofile-lto-plugin:
36298 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36300 @r=`${PWD_COMMAND}`; export r; \
36301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36302 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36303 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36304 $(HOST_EXPORTS) \
36305 $(POSTSTAGE1_HOST_EXPORTS) \
36306 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36307 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36308 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36309 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36311 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36312 case $(srcdir) in \
36313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36314 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36316 esac; \
36317 module_srcdir=lto-plugin; \
36318 $(SHELL) $$s/$$module_srcdir/configure \
36319 --srcdir=$${topdir}/$$module_srcdir \
36320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36321 --target=${target_alias} \
36322 --with-build-libsubdir=$(HOST_SUBDIR) \
36323 $(STAGEprofile_CONFIGURE_FLAGS) \
36324 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36325 @endif lto-plugin-bootstrap
36326
36327 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36328 maybe-configure-stagetrain-lto-plugin:
36329 @if lto-plugin-bootstrap
36330 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36331 configure-stagetrain-lto-plugin:
36332 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36334 @r=`${PWD_COMMAND}`; export r; \
36335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36336 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36337 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36338 $(HOST_EXPORTS) \
36339 $(POSTSTAGE1_HOST_EXPORTS) \
36340 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36341 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36342 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36343 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36345 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36346 case $(srcdir) in \
36347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36348 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36350 esac; \
36351 module_srcdir=lto-plugin; \
36352 $(SHELL) $$s/$$module_srcdir/configure \
36353 --srcdir=$${topdir}/$$module_srcdir \
36354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36355 --target=${target_alias} \
36356 --with-build-libsubdir=$(HOST_SUBDIR) \
36357 $(STAGEtrain_CONFIGURE_FLAGS) \
36358 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36359 @endif lto-plugin-bootstrap
36360
36361 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36362 maybe-configure-stagefeedback-lto-plugin:
36363 @if lto-plugin-bootstrap
36364 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36365 configure-stagefeedback-lto-plugin:
36366 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36368 @r=`${PWD_COMMAND}`; export r; \
36369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36370 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36371 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36372 $(HOST_EXPORTS) \
36373 $(POSTSTAGE1_HOST_EXPORTS) \
36374 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36375 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36376 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36377 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36379 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36380 case $(srcdir) in \
36381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36382 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36384 esac; \
36385 module_srcdir=lto-plugin; \
36386 $(SHELL) $$s/$$module_srcdir/configure \
36387 --srcdir=$${topdir}/$$module_srcdir \
36388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36389 --target=${target_alias} \
36390 --with-build-libsubdir=$(HOST_SUBDIR) \
36391 $(STAGEfeedback_CONFIGURE_FLAGS) \
36392 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36393 @endif lto-plugin-bootstrap
36394
36395 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36396 maybe-configure-stageautoprofile-lto-plugin:
36397 @if lto-plugin-bootstrap
36398 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36399 configure-stageautoprofile-lto-plugin:
36400 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36402 @r=`${PWD_COMMAND}`; export r; \
36403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36404 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36405 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36406 $(HOST_EXPORTS) \
36407 $(POSTSTAGE1_HOST_EXPORTS) \
36408 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36409 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36410 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36411 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36413 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36414 case $(srcdir) in \
36415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36416 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36418 esac; \
36419 module_srcdir=lto-plugin; \
36420 $(SHELL) $$s/$$module_srcdir/configure \
36421 --srcdir=$${topdir}/$$module_srcdir \
36422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36423 --target=${target_alias} \
36424 --with-build-libsubdir=$(HOST_SUBDIR) \
36425 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36426 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36427 @endif lto-plugin-bootstrap
36428
36429 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36430 maybe-configure-stageautofeedback-lto-plugin:
36431 @if lto-plugin-bootstrap
36432 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36433 configure-stageautofeedback-lto-plugin:
36434 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36436 @r=`${PWD_COMMAND}`; export r; \
36437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36438 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36439 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36440 $(HOST_EXPORTS) \
36441 $(POSTSTAGE1_HOST_EXPORTS) \
36442 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36443 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36444 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36445 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36447 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36448 case $(srcdir) in \
36449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36450 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36452 esac; \
36453 module_srcdir=lto-plugin; \
36454 $(SHELL) $$s/$$module_srcdir/configure \
36455 --srcdir=$${topdir}/$$module_srcdir \
36456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36457 --target=${target_alias} \
36458 --with-build-libsubdir=$(HOST_SUBDIR) \
36459 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36460 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36461 @endif lto-plugin-bootstrap
36462
36463
36464
36465
36466
36467 .PHONY: all-lto-plugin maybe-all-lto-plugin
36468 maybe-all-lto-plugin:
36469 @if gcc-bootstrap
36470 all-lto-plugin: stage_current
36471 @endif gcc-bootstrap
36472 @if lto-plugin
36473 TARGET-lto-plugin=all
36474 maybe-all-lto-plugin: all-lto-plugin
36475 all-lto-plugin: configure-lto-plugin
36476 @r=`${PWD_COMMAND}`; export r; \
36477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36478 $(HOST_EXPORTS) \
36479 (cd $(HOST_SUBDIR)/lto-plugin && \
36480 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36481 $(TARGET-lto-plugin))
36482 @endif lto-plugin
36483
36484
36485
36486 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36487 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36488 maybe-all-stage1-lto-plugin:
36489 maybe-clean-stage1-lto-plugin:
36490 @if lto-plugin-bootstrap
36491 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36492 all-stage1: all-stage1-lto-plugin
36493 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36494 all-stage1-lto-plugin: configure-stage1-lto-plugin
36495 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36496 @r=`${PWD_COMMAND}`; export r; \
36497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36498 TFLAGS="$(STAGE1_TFLAGS)"; \
36499 $(HOST_EXPORTS) \
36500 cd $(HOST_SUBDIR)/lto-plugin && \
36501 \
36502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36503 CFLAGS="$(STAGE1_CFLAGS)" \
36504 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
36505 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36506 LIBCFLAGS="$(LIBCFLAGS)" \
36507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36510 $(EXTRA_HOST_FLAGS) \
36511 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36512 TFLAGS="$(STAGE1_TFLAGS)" \
36513 $(TARGET-stage1-lto-plugin)
36514
36515 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36516 clean-stage1: clean-stage1-lto-plugin
36517 clean-stage1-lto-plugin:
36518 @if [ $(current_stage) = stage1 ]; then \
36519 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36520 else \
36521 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36522 $(MAKE) stage1-start; \
36523 fi; \
36524 cd $(HOST_SUBDIR)/lto-plugin && \
36525 $(MAKE) $(EXTRA_HOST_FLAGS) \
36526 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36527 @endif lto-plugin-bootstrap
36528
36529
36530 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36531 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36532 maybe-all-stage2-lto-plugin:
36533 maybe-clean-stage2-lto-plugin:
36534 @if lto-plugin-bootstrap
36535 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36536 all-stage2: all-stage2-lto-plugin
36537 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36538 all-stage2-lto-plugin: configure-stage2-lto-plugin
36539 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36540 @r=`${PWD_COMMAND}`; export r; \
36541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36542 TFLAGS="$(STAGE2_TFLAGS)"; \
36543 $(HOST_EXPORTS) \
36544 $(POSTSTAGE1_HOST_EXPORTS) \
36545 cd $(HOST_SUBDIR)/lto-plugin && \
36546 \
36547 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36548 CFLAGS="$(STAGE2_CFLAGS)" \
36549 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
36550 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36551 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36556 TFLAGS="$(STAGE2_TFLAGS)" \
36557 $(TARGET-stage2-lto-plugin)
36558
36559 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36560 clean-stage2: clean-stage2-lto-plugin
36561 clean-stage2-lto-plugin:
36562 @if [ $(current_stage) = stage2 ]; then \
36563 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36564 else \
36565 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36566 $(MAKE) stage2-start; \
36567 fi; \
36568 cd $(HOST_SUBDIR)/lto-plugin && \
36569 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36570 @endif lto-plugin-bootstrap
36571
36572
36573 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36574 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36575 maybe-all-stage3-lto-plugin:
36576 maybe-clean-stage3-lto-plugin:
36577 @if lto-plugin-bootstrap
36578 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36579 all-stage3: all-stage3-lto-plugin
36580 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36581 all-stage3-lto-plugin: configure-stage3-lto-plugin
36582 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36583 @r=`${PWD_COMMAND}`; export r; \
36584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36585 TFLAGS="$(STAGE3_TFLAGS)"; \
36586 $(HOST_EXPORTS) \
36587 $(POSTSTAGE1_HOST_EXPORTS) \
36588 cd $(HOST_SUBDIR)/lto-plugin && \
36589 \
36590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36591 CFLAGS="$(STAGE3_CFLAGS)" \
36592 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
36593 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36594 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36599 TFLAGS="$(STAGE3_TFLAGS)" \
36600 $(TARGET-stage3-lto-plugin)
36601
36602 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36603 clean-stage3: clean-stage3-lto-plugin
36604 clean-stage3-lto-plugin:
36605 @if [ $(current_stage) = stage3 ]; then \
36606 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36607 else \
36608 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36609 $(MAKE) stage3-start; \
36610 fi; \
36611 cd $(HOST_SUBDIR)/lto-plugin && \
36612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36613 @endif lto-plugin-bootstrap
36614
36615
36616 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36617 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36618 maybe-all-stage4-lto-plugin:
36619 maybe-clean-stage4-lto-plugin:
36620 @if lto-plugin-bootstrap
36621 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36622 all-stage4: all-stage4-lto-plugin
36623 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36624 all-stage4-lto-plugin: configure-stage4-lto-plugin
36625 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36626 @r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 TFLAGS="$(STAGE4_TFLAGS)"; \
36629 $(HOST_EXPORTS) \
36630 $(POSTSTAGE1_HOST_EXPORTS) \
36631 cd $(HOST_SUBDIR)/lto-plugin && \
36632 \
36633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36634 CFLAGS="$(STAGE4_CFLAGS)" \
36635 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
36636 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36637 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36642 TFLAGS="$(STAGE4_TFLAGS)" \
36643 $(TARGET-stage4-lto-plugin)
36644
36645 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36646 clean-stage4: clean-stage4-lto-plugin
36647 clean-stage4-lto-plugin:
36648 @if [ $(current_stage) = stage4 ]; then \
36649 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36650 else \
36651 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36652 $(MAKE) stage4-start; \
36653 fi; \
36654 cd $(HOST_SUBDIR)/lto-plugin && \
36655 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36656 @endif lto-plugin-bootstrap
36657
36658
36659 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36660 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36661 maybe-all-stageprofile-lto-plugin:
36662 maybe-clean-stageprofile-lto-plugin:
36663 @if lto-plugin-bootstrap
36664 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36665 all-stageprofile: all-stageprofile-lto-plugin
36666 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36667 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36668 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36669 @r=`${PWD_COMMAND}`; export r; \
36670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36671 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36672 $(HOST_EXPORTS) \
36673 $(POSTSTAGE1_HOST_EXPORTS) \
36674 cd $(HOST_SUBDIR)/lto-plugin && \
36675 \
36676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36677 CFLAGS="$(STAGEprofile_CFLAGS)" \
36678 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
36679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36680 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36681 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36682 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36683 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36684 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36685 TFLAGS="$(STAGEprofile_TFLAGS)" \
36686 $(TARGET-stageprofile-lto-plugin)
36687
36688 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36689 clean-stageprofile: clean-stageprofile-lto-plugin
36690 clean-stageprofile-lto-plugin:
36691 @if [ $(current_stage) = stageprofile ]; then \
36692 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36693 else \
36694 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36695 $(MAKE) stageprofile-start; \
36696 fi; \
36697 cd $(HOST_SUBDIR)/lto-plugin && \
36698 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36699 @endif lto-plugin-bootstrap
36700
36701
36702 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36703 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36704 maybe-all-stagetrain-lto-plugin:
36705 maybe-clean-stagetrain-lto-plugin:
36706 @if lto-plugin-bootstrap
36707 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36708 all-stagetrain: all-stagetrain-lto-plugin
36709 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36710 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36711 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36712 @r=`${PWD_COMMAND}`; export r; \
36713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36714 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36715 $(HOST_EXPORTS) \
36716 $(POSTSTAGE1_HOST_EXPORTS) \
36717 cd $(HOST_SUBDIR)/lto-plugin && \
36718 \
36719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36720 CFLAGS="$(STAGEtrain_CFLAGS)" \
36721 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
36722 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36723 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36727 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36728 TFLAGS="$(STAGEtrain_TFLAGS)" \
36729 $(TARGET-stagetrain-lto-plugin)
36730
36731 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36732 clean-stagetrain: clean-stagetrain-lto-plugin
36733 clean-stagetrain-lto-plugin:
36734 @if [ $(current_stage) = stagetrain ]; then \
36735 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36736 else \
36737 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36738 $(MAKE) stagetrain-start; \
36739 fi; \
36740 cd $(HOST_SUBDIR)/lto-plugin && \
36741 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36742 @endif lto-plugin-bootstrap
36743
36744
36745 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36746 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36747 maybe-all-stagefeedback-lto-plugin:
36748 maybe-clean-stagefeedback-lto-plugin:
36749 @if lto-plugin-bootstrap
36750 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36751 all-stagefeedback: all-stagefeedback-lto-plugin
36752 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36753 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36754 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36755 @r=`${PWD_COMMAND}`; export r; \
36756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36757 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36758 $(HOST_EXPORTS) \
36759 $(POSTSTAGE1_HOST_EXPORTS) \
36760 cd $(HOST_SUBDIR)/lto-plugin && \
36761 \
36762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36763 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36764 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
36765 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36766 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36771 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36772 $(TARGET-stagefeedback-lto-plugin)
36773
36774 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36775 clean-stagefeedback: clean-stagefeedback-lto-plugin
36776 clean-stagefeedback-lto-plugin:
36777 @if [ $(current_stage) = stagefeedback ]; then \
36778 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36779 else \
36780 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36781 $(MAKE) stagefeedback-start; \
36782 fi; \
36783 cd $(HOST_SUBDIR)/lto-plugin && \
36784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36785 @endif lto-plugin-bootstrap
36786
36787
36788 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36789 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36790 maybe-all-stageautoprofile-lto-plugin:
36791 maybe-clean-stageautoprofile-lto-plugin:
36792 @if lto-plugin-bootstrap
36793 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36794 all-stageautoprofile: all-stageautoprofile-lto-plugin
36795 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36796 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36797 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36798 @r=`${PWD_COMMAND}`; export r; \
36799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36800 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36801 $(HOST_EXPORTS) \
36802 $(POSTSTAGE1_HOST_EXPORTS) \
36803 cd $(HOST_SUBDIR)/lto-plugin && \
36804 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36805 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36806 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36807 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
36808 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36809 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36814 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36815 $(TARGET-stageautoprofile-lto-plugin)
36816
36817 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36818 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36819 clean-stageautoprofile-lto-plugin:
36820 @if [ $(current_stage) = stageautoprofile ]; then \
36821 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36822 else \
36823 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36824 $(MAKE) stageautoprofile-start; \
36825 fi; \
36826 cd $(HOST_SUBDIR)/lto-plugin && \
36827 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36828 @endif lto-plugin-bootstrap
36829
36830
36831 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36832 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36833 maybe-all-stageautofeedback-lto-plugin:
36834 maybe-clean-stageautofeedback-lto-plugin:
36835 @if lto-plugin-bootstrap
36836 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36837 all-stageautofeedback: all-stageautofeedback-lto-plugin
36838 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36839 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36840 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36841 @r=`${PWD_COMMAND}`; export r; \
36842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36843 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36844 $(HOST_EXPORTS) \
36845 $(POSTSTAGE1_HOST_EXPORTS) \
36846 cd $(HOST_SUBDIR)/lto-plugin && \
36847 \
36848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36849 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36850 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
36851 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36852 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36857 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36858 $(TARGET-stageautofeedback-lto-plugin)
36859
36860 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36861 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36862 clean-stageautofeedback-lto-plugin:
36863 @if [ $(current_stage) = stageautofeedback ]; then \
36864 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36865 else \
36866 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36867 $(MAKE) stageautofeedback-start; \
36868 fi; \
36869 cd $(HOST_SUBDIR)/lto-plugin && \
36870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36871 @endif lto-plugin-bootstrap
36872
36873
36874
36875
36876
36877 .PHONY: check-lto-plugin maybe-check-lto-plugin
36878 maybe-check-lto-plugin:
36879 @if lto-plugin
36880 maybe-check-lto-plugin: check-lto-plugin
36881
36882 check-lto-plugin:
36883 @: $(MAKE); $(unstage)
36884 @r=`${PWD_COMMAND}`; export r; \
36885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36886 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36887 (cd $(HOST_SUBDIR)/lto-plugin && \
36888 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36889
36890 @endif lto-plugin
36891
36892 .PHONY: install-lto-plugin maybe-install-lto-plugin
36893 maybe-install-lto-plugin:
36894 @if lto-plugin
36895 maybe-install-lto-plugin: install-lto-plugin
36896
36897 install-lto-plugin: installdirs
36898 @: $(MAKE); $(unstage)
36899 @r=`${PWD_COMMAND}`; export r; \
36900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36901 $(HOST_EXPORTS) \
36902 (cd $(HOST_SUBDIR)/lto-plugin && \
36903 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36904
36905 @endif lto-plugin
36906
36907 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36908 maybe-install-strip-lto-plugin:
36909 @if lto-plugin
36910 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36911
36912 install-strip-lto-plugin: installdirs
36913 @: $(MAKE); $(unstage)
36914 @r=`${PWD_COMMAND}`; export r; \
36915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36916 $(HOST_EXPORTS) \
36917 (cd $(HOST_SUBDIR)/lto-plugin && \
36918 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36919
36920 @endif lto-plugin
36921
36922 # Other targets (info, dvi, pdf, etc.)
36923
36924 .PHONY: maybe-info-lto-plugin info-lto-plugin
36925 maybe-info-lto-plugin:
36926 @if lto-plugin
36927 maybe-info-lto-plugin: info-lto-plugin
36928
36929 info-lto-plugin: \
36930 configure-lto-plugin
36931 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36932 r=`${PWD_COMMAND}`; export r; \
36933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36934 $(HOST_EXPORTS) \
36935 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36937 done; \
36938 echo "Doing info in lto-plugin"; \
36939 (cd $(HOST_SUBDIR)/lto-plugin && \
36940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36942 "RANLIB=$${RANLIB}" \
36943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36944 info) \
36945 || exit 1
36946
36947 @endif lto-plugin
36948
36949 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36950 maybe-dvi-lto-plugin:
36951 @if lto-plugin
36952 maybe-dvi-lto-plugin: dvi-lto-plugin
36953
36954 dvi-lto-plugin: \
36955 configure-lto-plugin
36956 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36957 r=`${PWD_COMMAND}`; export r; \
36958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36959 $(HOST_EXPORTS) \
36960 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36962 done; \
36963 echo "Doing dvi in lto-plugin"; \
36964 (cd $(HOST_SUBDIR)/lto-plugin && \
36965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36967 "RANLIB=$${RANLIB}" \
36968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36969 dvi) \
36970 || exit 1
36971
36972 @endif lto-plugin
36973
36974 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36975 maybe-pdf-lto-plugin:
36976 @if lto-plugin
36977 maybe-pdf-lto-plugin: pdf-lto-plugin
36978
36979 pdf-lto-plugin: \
36980 configure-lto-plugin
36981 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36982 r=`${PWD_COMMAND}`; export r; \
36983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36984 $(HOST_EXPORTS) \
36985 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36987 done; \
36988 echo "Doing pdf in lto-plugin"; \
36989 (cd $(HOST_SUBDIR)/lto-plugin && \
36990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36992 "RANLIB=$${RANLIB}" \
36993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36994 pdf) \
36995 || exit 1
36996
36997 @endif lto-plugin
36998
36999 .PHONY: maybe-html-lto-plugin html-lto-plugin
37000 maybe-html-lto-plugin:
37001 @if lto-plugin
37002 maybe-html-lto-plugin: html-lto-plugin
37003
37004 html-lto-plugin: \
37005 configure-lto-plugin
37006 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37007 r=`${PWD_COMMAND}`; export r; \
37008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37009 $(HOST_EXPORTS) \
37010 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37012 done; \
37013 echo "Doing html in lto-plugin"; \
37014 (cd $(HOST_SUBDIR)/lto-plugin && \
37015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37017 "RANLIB=$${RANLIB}" \
37018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37019 html) \
37020 || exit 1
37021
37022 @endif lto-plugin
37023
37024 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
37025 maybe-TAGS-lto-plugin:
37026 @if lto-plugin
37027 maybe-TAGS-lto-plugin: TAGS-lto-plugin
37028
37029 TAGS-lto-plugin: \
37030 configure-lto-plugin
37031 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37032 r=`${PWD_COMMAND}`; export r; \
37033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37034 $(HOST_EXPORTS) \
37035 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37037 done; \
37038 echo "Doing TAGS in lto-plugin"; \
37039 (cd $(HOST_SUBDIR)/lto-plugin && \
37040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37042 "RANLIB=$${RANLIB}" \
37043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37044 TAGS) \
37045 || exit 1
37046
37047 @endif lto-plugin
37048
37049 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
37050 maybe-install-info-lto-plugin:
37051 @if lto-plugin
37052 maybe-install-info-lto-plugin: install-info-lto-plugin
37053
37054 install-info-lto-plugin: \
37055 configure-lto-plugin \
37056 info-lto-plugin
37057 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37058 r=`${PWD_COMMAND}`; export r; \
37059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37060 $(HOST_EXPORTS) \
37061 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37063 done; \
37064 echo "Doing install-info in lto-plugin"; \
37065 (cd $(HOST_SUBDIR)/lto-plugin && \
37066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37068 "RANLIB=$${RANLIB}" \
37069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37070 install-info) \
37071 || exit 1
37072
37073 @endif lto-plugin
37074
37075 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
37076 maybe-install-pdf-lto-plugin:
37077 @if lto-plugin
37078 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
37079
37080 install-pdf-lto-plugin: \
37081 configure-lto-plugin \
37082 pdf-lto-plugin
37083 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37084 r=`${PWD_COMMAND}`; export r; \
37085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37086 $(HOST_EXPORTS) \
37087 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37089 done; \
37090 echo "Doing install-pdf in lto-plugin"; \
37091 (cd $(HOST_SUBDIR)/lto-plugin && \
37092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37094 "RANLIB=$${RANLIB}" \
37095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37096 install-pdf) \
37097 || exit 1
37098
37099 @endif lto-plugin
37100
37101 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
37102 maybe-install-html-lto-plugin:
37103 @if lto-plugin
37104 maybe-install-html-lto-plugin: install-html-lto-plugin
37105
37106 install-html-lto-plugin: \
37107 configure-lto-plugin \
37108 html-lto-plugin
37109 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37110 r=`${PWD_COMMAND}`; export r; \
37111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37112 $(HOST_EXPORTS) \
37113 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37115 done; \
37116 echo "Doing install-html in lto-plugin"; \
37117 (cd $(HOST_SUBDIR)/lto-plugin && \
37118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37120 "RANLIB=$${RANLIB}" \
37121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37122 install-html) \
37123 || exit 1
37124
37125 @endif lto-plugin
37126
37127 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
37128 maybe-installcheck-lto-plugin:
37129 @if lto-plugin
37130 maybe-installcheck-lto-plugin: installcheck-lto-plugin
37131
37132 installcheck-lto-plugin: \
37133 configure-lto-plugin
37134 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37135 r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(HOST_EXPORTS) \
37138 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37140 done; \
37141 echo "Doing installcheck in lto-plugin"; \
37142 (cd $(HOST_SUBDIR)/lto-plugin && \
37143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37145 "RANLIB=$${RANLIB}" \
37146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37147 installcheck) \
37148 || exit 1
37149
37150 @endif lto-plugin
37151
37152 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
37153 maybe-mostlyclean-lto-plugin:
37154 @if lto-plugin
37155 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
37156
37157 mostlyclean-lto-plugin:
37158 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37159 r=`${PWD_COMMAND}`; export r; \
37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37161 $(HOST_EXPORTS) \
37162 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37164 done; \
37165 echo "Doing mostlyclean in lto-plugin"; \
37166 (cd $(HOST_SUBDIR)/lto-plugin && \
37167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37169 "RANLIB=$${RANLIB}" \
37170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37171 mostlyclean) \
37172 || exit 1
37173
37174 @endif lto-plugin
37175
37176 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
37177 maybe-clean-lto-plugin:
37178 @if lto-plugin
37179 maybe-clean-lto-plugin: clean-lto-plugin
37180
37181 clean-lto-plugin:
37182 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37183 r=`${PWD_COMMAND}`; export r; \
37184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37185 $(HOST_EXPORTS) \
37186 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37188 done; \
37189 echo "Doing clean in lto-plugin"; \
37190 (cd $(HOST_SUBDIR)/lto-plugin && \
37191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37193 "RANLIB=$${RANLIB}" \
37194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37195 clean) \
37196 || exit 1
37197
37198 @endif lto-plugin
37199
37200 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
37201 maybe-distclean-lto-plugin:
37202 @if lto-plugin
37203 maybe-distclean-lto-plugin: distclean-lto-plugin
37204
37205 distclean-lto-plugin:
37206 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37207 r=`${PWD_COMMAND}`; export r; \
37208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37209 $(HOST_EXPORTS) \
37210 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37212 done; \
37213 echo "Doing distclean in lto-plugin"; \
37214 (cd $(HOST_SUBDIR)/lto-plugin && \
37215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37217 "RANLIB=$${RANLIB}" \
37218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37219 distclean) \
37220 || exit 1
37221
37222 @endif lto-plugin
37223
37224 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
37225 maybe-maintainer-clean-lto-plugin:
37226 @if lto-plugin
37227 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
37228
37229 maintainer-clean-lto-plugin:
37230 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37231 r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 $(HOST_EXPORTS) \
37234 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37236 done; \
37237 echo "Doing maintainer-clean in lto-plugin"; \
37238 (cd $(HOST_SUBDIR)/lto-plugin && \
37239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37241 "RANLIB=$${RANLIB}" \
37242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37243 maintainer-clean) \
37244 || exit 1
37245
37246 @endif lto-plugin
37247
37248
37249
37250 .PHONY: configure-libcc1 maybe-configure-libcc1
37251 maybe-configure-libcc1:
37252 @if gcc-bootstrap
37253 configure-libcc1: stage_current
37254 @endif gcc-bootstrap
37255 @if libcc1
37256 maybe-configure-libcc1: configure-libcc1
37257 configure-libcc1:
37258 @: $(MAKE); $(unstage)
37259 @r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37263 $(HOST_EXPORTS) \
37264 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37265 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37266 case $(srcdir) in \
37267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37268 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37270 esac; \
37271 module_srcdir=libcc1; \
37272 $(SHELL) \
37273 $$s/$$module_srcdir/configure \
37274 --srcdir=$${topdir}/$$module_srcdir \
37275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37276 --target=${target_alias} --enable-shared \
37277 || exit 1
37278 @endif libcc1
37279
37280
37281
37282
37283
37284 .PHONY: all-libcc1 maybe-all-libcc1
37285 maybe-all-libcc1:
37286 @if gcc-bootstrap
37287 all-libcc1: stage_current
37288 @endif gcc-bootstrap
37289 @if libcc1
37290 TARGET-libcc1=all
37291 maybe-all-libcc1: all-libcc1
37292 all-libcc1: configure-libcc1
37293 @: $(MAKE); $(unstage)
37294 @r=`${PWD_COMMAND}`; export r; \
37295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37296 $(HOST_EXPORTS) \
37297 (cd $(HOST_SUBDIR)/libcc1 && \
37298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37299 $(TARGET-libcc1))
37300 @endif libcc1
37301
37302
37303
37304
37305 .PHONY: check-libcc1 maybe-check-libcc1
37306 maybe-check-libcc1:
37307 @if libcc1
37308 maybe-check-libcc1: check-libcc1
37309
37310 check-libcc1:
37311 @: $(MAKE); $(unstage)
37312 @r=`${PWD_COMMAND}`; export r; \
37313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37314 $(HOST_EXPORTS) \
37315 (cd $(HOST_SUBDIR)/libcc1 && \
37316 $(MAKE) $(FLAGS_TO_PASS) check)
37317
37318 @endif libcc1
37319
37320 .PHONY: install-libcc1 maybe-install-libcc1
37321 maybe-install-libcc1:
37322 @if libcc1
37323 maybe-install-libcc1: install-libcc1
37324
37325 install-libcc1: installdirs
37326 @: $(MAKE); $(unstage)
37327 @r=`${PWD_COMMAND}`; export r; \
37328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37329 $(HOST_EXPORTS) \
37330 (cd $(HOST_SUBDIR)/libcc1 && \
37331 $(MAKE) $(FLAGS_TO_PASS) install)
37332
37333 @endif libcc1
37334
37335 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37336 maybe-install-strip-libcc1:
37337 @if libcc1
37338 maybe-install-strip-libcc1: install-strip-libcc1
37339
37340 install-strip-libcc1: installdirs
37341 @: $(MAKE); $(unstage)
37342 @r=`${PWD_COMMAND}`; export r; \
37343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37344 $(HOST_EXPORTS) \
37345 (cd $(HOST_SUBDIR)/libcc1 && \
37346 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37347
37348 @endif libcc1
37349
37350 # Other targets (info, dvi, pdf, etc.)
37351
37352 .PHONY: maybe-info-libcc1 info-libcc1
37353 maybe-info-libcc1:
37354 @if libcc1
37355 maybe-info-libcc1: info-libcc1
37356
37357 info-libcc1: \
37358 configure-libcc1
37359 @: $(MAKE); $(unstage)
37360 @[ -f ./libcc1/Makefile ] || exit 0; \
37361 r=`${PWD_COMMAND}`; export r; \
37362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37363 $(HOST_EXPORTS) \
37364 for flag in $(EXTRA_HOST_FLAGS) ; do \
37365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37366 done; \
37367 echo "Doing info in libcc1"; \
37368 (cd $(HOST_SUBDIR)/libcc1 && \
37369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37371 "RANLIB=$${RANLIB}" \
37372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37373 info) \
37374 || exit 1
37375
37376 @endif libcc1
37377
37378 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37379 maybe-dvi-libcc1:
37380 @if libcc1
37381 maybe-dvi-libcc1: dvi-libcc1
37382
37383 dvi-libcc1: \
37384 configure-libcc1
37385 @: $(MAKE); $(unstage)
37386 @[ -f ./libcc1/Makefile ] || exit 0; \
37387 r=`${PWD_COMMAND}`; export r; \
37388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37389 $(HOST_EXPORTS) \
37390 for flag in $(EXTRA_HOST_FLAGS) ; do \
37391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37392 done; \
37393 echo "Doing dvi in libcc1"; \
37394 (cd $(HOST_SUBDIR)/libcc1 && \
37395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37397 "RANLIB=$${RANLIB}" \
37398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37399 dvi) \
37400 || exit 1
37401
37402 @endif libcc1
37403
37404 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37405 maybe-pdf-libcc1:
37406 @if libcc1
37407 maybe-pdf-libcc1: pdf-libcc1
37408
37409 pdf-libcc1: \
37410 configure-libcc1
37411 @: $(MAKE); $(unstage)
37412 @[ -f ./libcc1/Makefile ] || exit 0; \
37413 r=`${PWD_COMMAND}`; export r; \
37414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37415 $(HOST_EXPORTS) \
37416 for flag in $(EXTRA_HOST_FLAGS) ; do \
37417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37418 done; \
37419 echo "Doing pdf in libcc1"; \
37420 (cd $(HOST_SUBDIR)/libcc1 && \
37421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37423 "RANLIB=$${RANLIB}" \
37424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37425 pdf) \
37426 || exit 1
37427
37428 @endif libcc1
37429
37430 .PHONY: maybe-html-libcc1 html-libcc1
37431 maybe-html-libcc1:
37432 @if libcc1
37433 maybe-html-libcc1: html-libcc1
37434
37435 html-libcc1: \
37436 configure-libcc1
37437 @: $(MAKE); $(unstage)
37438 @[ -f ./libcc1/Makefile ] || exit 0; \
37439 r=`${PWD_COMMAND}`; export r; \
37440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37441 $(HOST_EXPORTS) \
37442 for flag in $(EXTRA_HOST_FLAGS) ; do \
37443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37444 done; \
37445 echo "Doing html in libcc1"; \
37446 (cd $(HOST_SUBDIR)/libcc1 && \
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 html) \
37452 || exit 1
37453
37454 @endif libcc1
37455
37456 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37457 maybe-TAGS-libcc1:
37458 @if libcc1
37459 maybe-TAGS-libcc1: TAGS-libcc1
37460
37461 TAGS-libcc1: \
37462 configure-libcc1
37463 @: $(MAKE); $(unstage)
37464 @[ -f ./libcc1/Makefile ] || exit 0; \
37465 r=`${PWD_COMMAND}`; export r; \
37466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37467 $(HOST_EXPORTS) \
37468 for flag in $(EXTRA_HOST_FLAGS) ; do \
37469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37470 done; \
37471 echo "Doing TAGS in libcc1"; \
37472 (cd $(HOST_SUBDIR)/libcc1 && \
37473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37475 "RANLIB=$${RANLIB}" \
37476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37477 TAGS) \
37478 || exit 1
37479
37480 @endif libcc1
37481
37482 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37483 maybe-install-info-libcc1:
37484 @if libcc1
37485 maybe-install-info-libcc1: install-info-libcc1
37486
37487 install-info-libcc1: \
37488 configure-libcc1 \
37489 info-libcc1
37490 @: $(MAKE); $(unstage)
37491 @[ -f ./libcc1/Makefile ] || exit 0; \
37492 r=`${PWD_COMMAND}`; export r; \
37493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37494 $(HOST_EXPORTS) \
37495 for flag in $(EXTRA_HOST_FLAGS) ; do \
37496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37497 done; \
37498 echo "Doing install-info in libcc1"; \
37499 (cd $(HOST_SUBDIR)/libcc1 && \
37500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37502 "RANLIB=$${RANLIB}" \
37503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37504 install-info) \
37505 || exit 1
37506
37507 @endif libcc1
37508
37509 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37510 maybe-install-pdf-libcc1:
37511 @if libcc1
37512 maybe-install-pdf-libcc1: install-pdf-libcc1
37513
37514 install-pdf-libcc1: \
37515 configure-libcc1 \
37516 pdf-libcc1
37517 @: $(MAKE); $(unstage)
37518 @[ -f ./libcc1/Makefile ] || exit 0; \
37519 r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 $(HOST_EXPORTS) \
37522 for flag in $(EXTRA_HOST_FLAGS) ; do \
37523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37524 done; \
37525 echo "Doing install-pdf in libcc1"; \
37526 (cd $(HOST_SUBDIR)/libcc1 && \
37527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37529 "RANLIB=$${RANLIB}" \
37530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37531 install-pdf) \
37532 || exit 1
37533
37534 @endif libcc1
37535
37536 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37537 maybe-install-html-libcc1:
37538 @if libcc1
37539 maybe-install-html-libcc1: install-html-libcc1
37540
37541 install-html-libcc1: \
37542 configure-libcc1 \
37543 html-libcc1
37544 @: $(MAKE); $(unstage)
37545 @[ -f ./libcc1/Makefile ] || exit 0; \
37546 r=`${PWD_COMMAND}`; export r; \
37547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37548 $(HOST_EXPORTS) \
37549 for flag in $(EXTRA_HOST_FLAGS) ; do \
37550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37551 done; \
37552 echo "Doing install-html in libcc1"; \
37553 (cd $(HOST_SUBDIR)/libcc1 && \
37554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37556 "RANLIB=$${RANLIB}" \
37557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37558 install-html) \
37559 || exit 1
37560
37561 @endif libcc1
37562
37563 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37564 maybe-installcheck-libcc1:
37565 @if libcc1
37566 maybe-installcheck-libcc1: installcheck-libcc1
37567
37568 installcheck-libcc1: \
37569 configure-libcc1
37570 @: $(MAKE); $(unstage)
37571 @[ -f ./libcc1/Makefile ] || exit 0; \
37572 r=`${PWD_COMMAND}`; export r; \
37573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37574 $(HOST_EXPORTS) \
37575 for flag in $(EXTRA_HOST_FLAGS) ; do \
37576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37577 done; \
37578 echo "Doing installcheck in libcc1"; \
37579 (cd $(HOST_SUBDIR)/libcc1 && \
37580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37582 "RANLIB=$${RANLIB}" \
37583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37584 installcheck) \
37585 || exit 1
37586
37587 @endif libcc1
37588
37589 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37590 maybe-mostlyclean-libcc1:
37591 @if libcc1
37592 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37593
37594 mostlyclean-libcc1:
37595 @: $(MAKE); $(unstage)
37596 @[ -f ./libcc1/Makefile ] || exit 0; \
37597 r=`${PWD_COMMAND}`; export r; \
37598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37599 $(HOST_EXPORTS) \
37600 for flag in $(EXTRA_HOST_FLAGS) ; do \
37601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37602 done; \
37603 echo "Doing mostlyclean in libcc1"; \
37604 (cd $(HOST_SUBDIR)/libcc1 && \
37605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37607 "RANLIB=$${RANLIB}" \
37608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37609 mostlyclean) \
37610 || exit 1
37611
37612 @endif libcc1
37613
37614 .PHONY: maybe-clean-libcc1 clean-libcc1
37615 maybe-clean-libcc1:
37616 @if libcc1
37617 maybe-clean-libcc1: clean-libcc1
37618
37619 clean-libcc1:
37620 @: $(MAKE); $(unstage)
37621 @[ -f ./libcc1/Makefile ] || exit 0; \
37622 r=`${PWD_COMMAND}`; export r; \
37623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37624 $(HOST_EXPORTS) \
37625 for flag in $(EXTRA_HOST_FLAGS) ; do \
37626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37627 done; \
37628 echo "Doing clean in libcc1"; \
37629 (cd $(HOST_SUBDIR)/libcc1 && \
37630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37632 "RANLIB=$${RANLIB}" \
37633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37634 clean) \
37635 || exit 1
37636
37637 @endif libcc1
37638
37639 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37640 maybe-distclean-libcc1:
37641 @if libcc1
37642 maybe-distclean-libcc1: distclean-libcc1
37643
37644 distclean-libcc1:
37645 @: $(MAKE); $(unstage)
37646 @[ -f ./libcc1/Makefile ] || exit 0; \
37647 r=`${PWD_COMMAND}`; export r; \
37648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37649 $(HOST_EXPORTS) \
37650 for flag in $(EXTRA_HOST_FLAGS) ; do \
37651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37652 done; \
37653 echo "Doing distclean in libcc1"; \
37654 (cd $(HOST_SUBDIR)/libcc1 && \
37655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37657 "RANLIB=$${RANLIB}" \
37658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37659 distclean) \
37660 || exit 1
37661
37662 @endif libcc1
37663
37664 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37665 maybe-maintainer-clean-libcc1:
37666 @if libcc1
37667 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37668
37669 maintainer-clean-libcc1:
37670 @: $(MAKE); $(unstage)
37671 @[ -f ./libcc1/Makefile ] || exit 0; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(HOST_EXPORTS) \
37675 for flag in $(EXTRA_HOST_FLAGS) ; do \
37676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37677 done; \
37678 echo "Doing maintainer-clean in libcc1"; \
37679 (cd $(HOST_SUBDIR)/libcc1 && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37684 maintainer-clean) \
37685 || exit 1
37686
37687 @endif libcc1
37688
37689
37690
37691 .PHONY: configure-gotools maybe-configure-gotools
37692 maybe-configure-gotools:
37693 @if gcc-bootstrap
37694 configure-gotools: stage_current
37695 @endif gcc-bootstrap
37696 @if gotools
37697 maybe-configure-gotools: configure-gotools
37698 configure-gotools:
37699 @: $(MAKE); $(unstage)
37700 @r=`${PWD_COMMAND}`; export r; \
37701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37702 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37704 $(HOST_EXPORTS) \
37705 echo Configuring in $(HOST_SUBDIR)/gotools; \
37706 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37707 case $(srcdir) in \
37708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37709 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37711 esac; \
37712 module_srcdir=gotools; \
37713 $(SHELL) \
37714 $$s/$$module_srcdir/configure \
37715 --srcdir=$${topdir}/$$module_srcdir \
37716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37717 --target=${target_alias} \
37718 || exit 1
37719 @endif gotools
37720
37721
37722
37723
37724
37725 .PHONY: all-gotools maybe-all-gotools
37726 maybe-all-gotools:
37727 @if gcc-bootstrap
37728 all-gotools: stage_current
37729 @endif gcc-bootstrap
37730 @if gotools
37731 TARGET-gotools=all
37732 maybe-all-gotools: all-gotools
37733 all-gotools: configure-gotools
37734 @: $(MAKE); $(unstage)
37735 @r=`${PWD_COMMAND}`; export r; \
37736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37737 $(HOST_EXPORTS) \
37738 (cd $(HOST_SUBDIR)/gotools && \
37739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37740 $(TARGET-gotools))
37741 @endif gotools
37742
37743
37744
37745
37746 .PHONY: check-gotools maybe-check-gotools
37747 maybe-check-gotools:
37748 @if gotools
37749 maybe-check-gotools: check-gotools
37750
37751 check-gotools:
37752 @: $(MAKE); $(unstage)
37753 @r=`${PWD_COMMAND}`; export r; \
37754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37755 $(HOST_EXPORTS) \
37756 (cd $(HOST_SUBDIR)/gotools && \
37757 $(MAKE) $(FLAGS_TO_PASS) check)
37758
37759 @endif gotools
37760
37761 .PHONY: install-gotools maybe-install-gotools
37762 maybe-install-gotools:
37763 @if gotools
37764 maybe-install-gotools: install-gotools
37765
37766 install-gotools: installdirs
37767 @: $(MAKE); $(unstage)
37768 @r=`${PWD_COMMAND}`; export r; \
37769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37770 $(HOST_EXPORTS) \
37771 (cd $(HOST_SUBDIR)/gotools && \
37772 $(MAKE) $(FLAGS_TO_PASS) install)
37773
37774 @endif gotools
37775
37776 .PHONY: install-strip-gotools maybe-install-strip-gotools
37777 maybe-install-strip-gotools:
37778 @if gotools
37779 maybe-install-strip-gotools: install-strip-gotools
37780
37781 install-strip-gotools: installdirs
37782 @: $(MAKE); $(unstage)
37783 @r=`${PWD_COMMAND}`; export r; \
37784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37785 $(HOST_EXPORTS) \
37786 (cd $(HOST_SUBDIR)/gotools && \
37787 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37788
37789 @endif gotools
37790
37791 # Other targets (info, dvi, pdf, etc.)
37792
37793 .PHONY: maybe-info-gotools info-gotools
37794 maybe-info-gotools:
37795 @if gotools
37796 maybe-info-gotools: info-gotools
37797
37798 info-gotools: \
37799 configure-gotools
37800 @: $(MAKE); $(unstage)
37801 @[ -f ./gotools/Makefile ] || exit 0; \
37802 r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 $(HOST_EXPORTS) \
37805 for flag in $(EXTRA_HOST_FLAGS) ; do \
37806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37807 done; \
37808 echo "Doing info in gotools"; \
37809 (cd $(HOST_SUBDIR)/gotools && \
37810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37812 "RANLIB=$${RANLIB}" \
37813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37814 info) \
37815 || exit 1
37816
37817 @endif gotools
37818
37819 .PHONY: maybe-dvi-gotools dvi-gotools
37820 maybe-dvi-gotools:
37821 @if gotools
37822 maybe-dvi-gotools: dvi-gotools
37823
37824 dvi-gotools: \
37825 configure-gotools
37826 @: $(MAKE); $(unstage)
37827 @[ -f ./gotools/Makefile ] || exit 0; \
37828 r=`${PWD_COMMAND}`; export r; \
37829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37830 $(HOST_EXPORTS) \
37831 for flag in $(EXTRA_HOST_FLAGS) ; do \
37832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37833 done; \
37834 echo "Doing dvi in gotools"; \
37835 (cd $(HOST_SUBDIR)/gotools && \
37836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37838 "RANLIB=$${RANLIB}" \
37839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37840 dvi) \
37841 || exit 1
37842
37843 @endif gotools
37844
37845 .PHONY: maybe-pdf-gotools pdf-gotools
37846 maybe-pdf-gotools:
37847 @if gotools
37848 maybe-pdf-gotools: pdf-gotools
37849
37850 pdf-gotools: \
37851 configure-gotools
37852 @: $(MAKE); $(unstage)
37853 @[ -f ./gotools/Makefile ] || exit 0; \
37854 r=`${PWD_COMMAND}`; export r; \
37855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37856 $(HOST_EXPORTS) \
37857 for flag in $(EXTRA_HOST_FLAGS) ; do \
37858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37859 done; \
37860 echo "Doing pdf in gotools"; \
37861 (cd $(HOST_SUBDIR)/gotools && \
37862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37864 "RANLIB=$${RANLIB}" \
37865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37866 pdf) \
37867 || exit 1
37868
37869 @endif gotools
37870
37871 .PHONY: maybe-html-gotools html-gotools
37872 maybe-html-gotools:
37873 @if gotools
37874 maybe-html-gotools: html-gotools
37875
37876 html-gotools: \
37877 configure-gotools
37878 @: $(MAKE); $(unstage)
37879 @[ -f ./gotools/Makefile ] || exit 0; \
37880 r=`${PWD_COMMAND}`; export r; \
37881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37882 $(HOST_EXPORTS) \
37883 for flag in $(EXTRA_HOST_FLAGS) ; do \
37884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37885 done; \
37886 echo "Doing html in gotools"; \
37887 (cd $(HOST_SUBDIR)/gotools && \
37888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37890 "RANLIB=$${RANLIB}" \
37891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37892 html) \
37893 || exit 1
37894
37895 @endif gotools
37896
37897 .PHONY: maybe-TAGS-gotools TAGS-gotools
37898 maybe-TAGS-gotools:
37899 @if gotools
37900 maybe-TAGS-gotools: TAGS-gotools
37901
37902 TAGS-gotools: \
37903 configure-gotools
37904 @: $(MAKE); $(unstage)
37905 @[ -f ./gotools/Makefile ] || exit 0; \
37906 r=`${PWD_COMMAND}`; export r; \
37907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37908 $(HOST_EXPORTS) \
37909 for flag in $(EXTRA_HOST_FLAGS) ; do \
37910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37911 done; \
37912 echo "Doing TAGS in gotools"; \
37913 (cd $(HOST_SUBDIR)/gotools && \
37914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37916 "RANLIB=$${RANLIB}" \
37917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37918 TAGS) \
37919 || exit 1
37920
37921 @endif gotools
37922
37923 .PHONY: maybe-install-info-gotools install-info-gotools
37924 maybe-install-info-gotools:
37925 @if gotools
37926 maybe-install-info-gotools: install-info-gotools
37927
37928 install-info-gotools: \
37929 configure-gotools \
37930 info-gotools
37931 @: $(MAKE); $(unstage)
37932 @[ -f ./gotools/Makefile ] || exit 0; \
37933 r=`${PWD_COMMAND}`; export r; \
37934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37935 $(HOST_EXPORTS) \
37936 for flag in $(EXTRA_HOST_FLAGS) ; do \
37937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37938 done; \
37939 echo "Doing install-info in gotools"; \
37940 (cd $(HOST_SUBDIR)/gotools && \
37941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37943 "RANLIB=$${RANLIB}" \
37944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37945 install-info) \
37946 || exit 1
37947
37948 @endif gotools
37949
37950 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37951 maybe-install-pdf-gotools:
37952 @if gotools
37953 maybe-install-pdf-gotools: install-pdf-gotools
37954
37955 install-pdf-gotools: \
37956 configure-gotools \
37957 pdf-gotools
37958 @: $(MAKE); $(unstage)
37959 @[ -f ./gotools/Makefile ] || exit 0; \
37960 r=`${PWD_COMMAND}`; export r; \
37961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37962 $(HOST_EXPORTS) \
37963 for flag in $(EXTRA_HOST_FLAGS) ; do \
37964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37965 done; \
37966 echo "Doing install-pdf in gotools"; \
37967 (cd $(HOST_SUBDIR)/gotools && \
37968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37970 "RANLIB=$${RANLIB}" \
37971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37972 install-pdf) \
37973 || exit 1
37974
37975 @endif gotools
37976
37977 .PHONY: maybe-install-html-gotools install-html-gotools
37978 maybe-install-html-gotools:
37979 @if gotools
37980 maybe-install-html-gotools: install-html-gotools
37981
37982 install-html-gotools: \
37983 configure-gotools \
37984 html-gotools
37985 @: $(MAKE); $(unstage)
37986 @[ -f ./gotools/Makefile ] || exit 0; \
37987 r=`${PWD_COMMAND}`; export r; \
37988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37989 $(HOST_EXPORTS) \
37990 for flag in $(EXTRA_HOST_FLAGS) ; do \
37991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37992 done; \
37993 echo "Doing install-html in gotools"; \
37994 (cd $(HOST_SUBDIR)/gotools && \
37995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37997 "RANLIB=$${RANLIB}" \
37998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37999 install-html) \
38000 || exit 1
38001
38002 @endif gotools
38003
38004 .PHONY: maybe-installcheck-gotools installcheck-gotools
38005 maybe-installcheck-gotools:
38006 @if gotools
38007 maybe-installcheck-gotools: installcheck-gotools
38008
38009 installcheck-gotools: \
38010 configure-gotools
38011 @: $(MAKE); $(unstage)
38012 @[ -f ./gotools/Makefile ] || exit 0; \
38013 r=`${PWD_COMMAND}`; export r; \
38014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38015 $(HOST_EXPORTS) \
38016 for flag in $(EXTRA_HOST_FLAGS) ; do \
38017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38018 done; \
38019 echo "Doing installcheck in gotools"; \
38020 (cd $(HOST_SUBDIR)/gotools && \
38021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38023 "RANLIB=$${RANLIB}" \
38024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38025 installcheck) \
38026 || exit 1
38027
38028 @endif gotools
38029
38030 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
38031 maybe-mostlyclean-gotools:
38032 @if gotools
38033 maybe-mostlyclean-gotools: mostlyclean-gotools
38034
38035 mostlyclean-gotools:
38036 @: $(MAKE); $(unstage)
38037 @[ -f ./gotools/Makefile ] || exit 0; \
38038 r=`${PWD_COMMAND}`; export r; \
38039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38040 $(HOST_EXPORTS) \
38041 for flag in $(EXTRA_HOST_FLAGS) ; do \
38042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38043 done; \
38044 echo "Doing mostlyclean in gotools"; \
38045 (cd $(HOST_SUBDIR)/gotools && \
38046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38048 "RANLIB=$${RANLIB}" \
38049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38050 mostlyclean) \
38051 || exit 1
38052
38053 @endif gotools
38054
38055 .PHONY: maybe-clean-gotools clean-gotools
38056 maybe-clean-gotools:
38057 @if gotools
38058 maybe-clean-gotools: clean-gotools
38059
38060 clean-gotools:
38061 @: $(MAKE); $(unstage)
38062 @[ -f ./gotools/Makefile ] || exit 0; \
38063 r=`${PWD_COMMAND}`; export r; \
38064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38065 $(HOST_EXPORTS) \
38066 for flag in $(EXTRA_HOST_FLAGS) ; do \
38067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38068 done; \
38069 echo "Doing clean in gotools"; \
38070 (cd $(HOST_SUBDIR)/gotools && \
38071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38073 "RANLIB=$${RANLIB}" \
38074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38075 clean) \
38076 || exit 1
38077
38078 @endif gotools
38079
38080 .PHONY: maybe-distclean-gotools distclean-gotools
38081 maybe-distclean-gotools:
38082 @if gotools
38083 maybe-distclean-gotools: distclean-gotools
38084
38085 distclean-gotools:
38086 @: $(MAKE); $(unstage)
38087 @[ -f ./gotools/Makefile ] || exit 0; \
38088 r=`${PWD_COMMAND}`; export r; \
38089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38090 $(HOST_EXPORTS) \
38091 for flag in $(EXTRA_HOST_FLAGS) ; do \
38092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38093 done; \
38094 echo "Doing distclean in gotools"; \
38095 (cd $(HOST_SUBDIR)/gotools && \
38096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38098 "RANLIB=$${RANLIB}" \
38099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38100 distclean) \
38101 || exit 1
38102
38103 @endif gotools
38104
38105 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
38106 maybe-maintainer-clean-gotools:
38107 @if gotools
38108 maybe-maintainer-clean-gotools: maintainer-clean-gotools
38109
38110 maintainer-clean-gotools:
38111 @: $(MAKE); $(unstage)
38112 @[ -f ./gotools/Makefile ] || exit 0; \
38113 r=`${PWD_COMMAND}`; export r; \
38114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38115 $(HOST_EXPORTS) \
38116 for flag in $(EXTRA_HOST_FLAGS) ; do \
38117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38118 done; \
38119 echo "Doing maintainer-clean in gotools"; \
38120 (cd $(HOST_SUBDIR)/gotools && \
38121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38123 "RANLIB=$${RANLIB}" \
38124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38125 maintainer-clean) \
38126 || exit 1
38127
38128 @endif gotools
38129
38130
38131
38132 .PHONY: configure-libctf maybe-configure-libctf
38133 maybe-configure-libctf:
38134 @if gcc-bootstrap
38135 configure-libctf: stage_current
38136 @endif gcc-bootstrap
38137 @if libctf
38138 maybe-configure-libctf: configure-libctf
38139 configure-libctf:
38140 @r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38144 $(HOST_EXPORTS) \
38145 echo Configuring in $(HOST_SUBDIR)/libctf; \
38146 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
38147 case $(srcdir) in \
38148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38149 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38151 esac; \
38152 module_srcdir=libctf; \
38153 $(SHELL) \
38154 $$s/$$module_srcdir/configure \
38155 --srcdir=$${topdir}/$$module_srcdir \
38156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38157 --target=${target_alias} \
38158 || exit 1
38159 @endif libctf
38160
38161
38162
38163 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
38164 maybe-configure-stage1-libctf:
38165 @if libctf-bootstrap
38166 maybe-configure-stage1-libctf: configure-stage1-libctf
38167 configure-stage1-libctf:
38168 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38170 @r=`${PWD_COMMAND}`; export r; \
38171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38172 TFLAGS="$(STAGE1_TFLAGS)"; \
38173 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38174 $(HOST_EXPORTS) \
38175 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
38176 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
38177 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
38178 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
38179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38180 cd $(HOST_SUBDIR)/libctf || exit 1; \
38181 case $(srcdir) in \
38182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38183 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38185 esac; \
38186 module_srcdir=libctf; \
38187 $(SHELL) $$s/$$module_srcdir/configure \
38188 --srcdir=$${topdir}/$$module_srcdir \
38189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38190 --target=${target_alias} \
38191 \
38192 $(STAGE1_CONFIGURE_FLAGS)
38193 @endif libctf-bootstrap
38194
38195 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
38196 maybe-configure-stage2-libctf:
38197 @if libctf-bootstrap
38198 maybe-configure-stage2-libctf: configure-stage2-libctf
38199 configure-stage2-libctf:
38200 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38202 @r=`${PWD_COMMAND}`; export r; \
38203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38204 TFLAGS="$(STAGE2_TFLAGS)"; \
38205 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38206 $(HOST_EXPORTS) \
38207 $(POSTSTAGE1_HOST_EXPORTS) \
38208 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
38209 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
38210 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
38211 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
38212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38213 cd $(HOST_SUBDIR)/libctf || exit 1; \
38214 case $(srcdir) in \
38215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38216 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38218 esac; \
38219 module_srcdir=libctf; \
38220 $(SHELL) $$s/$$module_srcdir/configure \
38221 --srcdir=$${topdir}/$$module_srcdir \
38222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38223 --target=${target_alias} \
38224 --with-build-libsubdir=$(HOST_SUBDIR) \
38225 $(STAGE2_CONFIGURE_FLAGS)
38226 @endif libctf-bootstrap
38227
38228 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
38229 maybe-configure-stage3-libctf:
38230 @if libctf-bootstrap
38231 maybe-configure-stage3-libctf: configure-stage3-libctf
38232 configure-stage3-libctf:
38233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38235 @r=`${PWD_COMMAND}`; export r; \
38236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38237 TFLAGS="$(STAGE3_TFLAGS)"; \
38238 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38239 $(HOST_EXPORTS) \
38240 $(POSTSTAGE1_HOST_EXPORTS) \
38241 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
38242 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
38243 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
38244 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
38245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38246 cd $(HOST_SUBDIR)/libctf || exit 1; \
38247 case $(srcdir) in \
38248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38249 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38251 esac; \
38252 module_srcdir=libctf; \
38253 $(SHELL) $$s/$$module_srcdir/configure \
38254 --srcdir=$${topdir}/$$module_srcdir \
38255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38256 --target=${target_alias} \
38257 --with-build-libsubdir=$(HOST_SUBDIR) \
38258 $(STAGE3_CONFIGURE_FLAGS)
38259 @endif libctf-bootstrap
38260
38261 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
38262 maybe-configure-stage4-libctf:
38263 @if libctf-bootstrap
38264 maybe-configure-stage4-libctf: configure-stage4-libctf
38265 configure-stage4-libctf:
38266 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38268 @r=`${PWD_COMMAND}`; export r; \
38269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38270 TFLAGS="$(STAGE4_TFLAGS)"; \
38271 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38272 $(HOST_EXPORTS) \
38273 $(POSTSTAGE1_HOST_EXPORTS) \
38274 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
38275 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
38276 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
38277 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
38278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38279 cd $(HOST_SUBDIR)/libctf || exit 1; \
38280 case $(srcdir) in \
38281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38282 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38284 esac; \
38285 module_srcdir=libctf; \
38286 $(SHELL) $$s/$$module_srcdir/configure \
38287 --srcdir=$${topdir}/$$module_srcdir \
38288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38289 --target=${target_alias} \
38290 --with-build-libsubdir=$(HOST_SUBDIR) \
38291 $(STAGE4_CONFIGURE_FLAGS)
38292 @endif libctf-bootstrap
38293
38294 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
38295 maybe-configure-stageprofile-libctf:
38296 @if libctf-bootstrap
38297 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
38298 configure-stageprofile-libctf:
38299 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38301 @r=`${PWD_COMMAND}`; export r; \
38302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38303 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38304 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38305 $(HOST_EXPORTS) \
38306 $(POSTSTAGE1_HOST_EXPORTS) \
38307 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
38308 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
38309 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
38310 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
38311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38312 cd $(HOST_SUBDIR)/libctf || exit 1; \
38313 case $(srcdir) in \
38314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38315 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38317 esac; \
38318 module_srcdir=libctf; \
38319 $(SHELL) $$s/$$module_srcdir/configure \
38320 --srcdir=$${topdir}/$$module_srcdir \
38321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38322 --target=${target_alias} \
38323 --with-build-libsubdir=$(HOST_SUBDIR) \
38324 $(STAGEprofile_CONFIGURE_FLAGS)
38325 @endif libctf-bootstrap
38326
38327 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
38328 maybe-configure-stagetrain-libctf:
38329 @if libctf-bootstrap
38330 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
38331 configure-stagetrain-libctf:
38332 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38334 @r=`${PWD_COMMAND}`; export r; \
38335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38336 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38337 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38338 $(HOST_EXPORTS) \
38339 $(POSTSTAGE1_HOST_EXPORTS) \
38340 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
38341 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
38342 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
38343 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
38344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38345 cd $(HOST_SUBDIR)/libctf || exit 1; \
38346 case $(srcdir) in \
38347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38348 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38350 esac; \
38351 module_srcdir=libctf; \
38352 $(SHELL) $$s/$$module_srcdir/configure \
38353 --srcdir=$${topdir}/$$module_srcdir \
38354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38355 --target=${target_alias} \
38356 --with-build-libsubdir=$(HOST_SUBDIR) \
38357 $(STAGEtrain_CONFIGURE_FLAGS)
38358 @endif libctf-bootstrap
38359
38360 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
38361 maybe-configure-stagefeedback-libctf:
38362 @if libctf-bootstrap
38363 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
38364 configure-stagefeedback-libctf:
38365 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38367 @r=`${PWD_COMMAND}`; export r; \
38368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38369 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38370 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38371 $(HOST_EXPORTS) \
38372 $(POSTSTAGE1_HOST_EXPORTS) \
38373 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
38374 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
38375 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
38376 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
38377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38378 cd $(HOST_SUBDIR)/libctf || exit 1; \
38379 case $(srcdir) in \
38380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38381 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38383 esac; \
38384 module_srcdir=libctf; \
38385 $(SHELL) $$s/$$module_srcdir/configure \
38386 --srcdir=$${topdir}/$$module_srcdir \
38387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38388 --target=${target_alias} \
38389 --with-build-libsubdir=$(HOST_SUBDIR) \
38390 $(STAGEfeedback_CONFIGURE_FLAGS)
38391 @endif libctf-bootstrap
38392
38393 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
38394 maybe-configure-stageautoprofile-libctf:
38395 @if libctf-bootstrap
38396 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
38397 configure-stageautoprofile-libctf:
38398 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38400 @r=`${PWD_COMMAND}`; export r; \
38401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38402 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38403 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38404 $(HOST_EXPORTS) \
38405 $(POSTSTAGE1_HOST_EXPORTS) \
38406 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
38407 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
38408 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
38409 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
38410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38411 cd $(HOST_SUBDIR)/libctf || exit 1; \
38412 case $(srcdir) in \
38413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38414 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38416 esac; \
38417 module_srcdir=libctf; \
38418 $(SHELL) $$s/$$module_srcdir/configure \
38419 --srcdir=$${topdir}/$$module_srcdir \
38420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38421 --target=${target_alias} \
38422 --with-build-libsubdir=$(HOST_SUBDIR) \
38423 $(STAGEautoprofile_CONFIGURE_FLAGS)
38424 @endif libctf-bootstrap
38425
38426 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
38427 maybe-configure-stageautofeedback-libctf:
38428 @if libctf-bootstrap
38429 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
38430 configure-stageautofeedback-libctf:
38431 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38432 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38433 @r=`${PWD_COMMAND}`; export r; \
38434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38435 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38436 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38437 $(HOST_EXPORTS) \
38438 $(POSTSTAGE1_HOST_EXPORTS) \
38439 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
38440 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
38441 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
38442 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
38443 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38444 cd $(HOST_SUBDIR)/libctf || exit 1; \
38445 case $(srcdir) in \
38446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38447 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38449 esac; \
38450 module_srcdir=libctf; \
38451 $(SHELL) $$s/$$module_srcdir/configure \
38452 --srcdir=$${topdir}/$$module_srcdir \
38453 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38454 --target=${target_alias} \
38455 --with-build-libsubdir=$(HOST_SUBDIR) \
38456 $(STAGEautofeedback_CONFIGURE_FLAGS)
38457 @endif libctf-bootstrap
38458
38459
38460
38461
38462
38463 .PHONY: all-libctf maybe-all-libctf
38464 maybe-all-libctf:
38465 @if gcc-bootstrap
38466 all-libctf: stage_current
38467 @endif gcc-bootstrap
38468 @if libctf
38469 TARGET-libctf=all
38470 maybe-all-libctf: all-libctf
38471 all-libctf: configure-libctf
38472 @r=`${PWD_COMMAND}`; export r; \
38473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38474 $(HOST_EXPORTS) \
38475 (cd $(HOST_SUBDIR)/libctf && \
38476 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38477 $(TARGET-libctf))
38478 @endif libctf
38479
38480
38481
38482 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
38483 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
38484 maybe-all-stage1-libctf:
38485 maybe-clean-stage1-libctf:
38486 @if libctf-bootstrap
38487 maybe-all-stage1-libctf: all-stage1-libctf
38488 all-stage1: all-stage1-libctf
38489 TARGET-stage1-libctf = $(TARGET-libctf)
38490 all-stage1-libctf: configure-stage1-libctf
38491 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38492 @r=`${PWD_COMMAND}`; export r; \
38493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38494 TFLAGS="$(STAGE1_TFLAGS)"; \
38495 $(HOST_EXPORTS) \
38496 cd $(HOST_SUBDIR)/libctf && \
38497 \
38498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38499 CFLAGS="$(STAGE1_CFLAGS)" \
38500 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
38501 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
38502 LIBCFLAGS="$(LIBCFLAGS)" \
38503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38506 $(EXTRA_HOST_FLAGS) \
38507 $(STAGE1_FLAGS_TO_PASS) \
38508 TFLAGS="$(STAGE1_TFLAGS)" \
38509 $(TARGET-stage1-libctf)
38510
38511 maybe-clean-stage1-libctf: clean-stage1-libctf
38512 clean-stage1: clean-stage1-libctf
38513 clean-stage1-libctf:
38514 @if [ $(current_stage) = stage1 ]; then \
38515 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38516 else \
38517 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
38518 $(MAKE) stage1-start; \
38519 fi; \
38520 cd $(HOST_SUBDIR)/libctf && \
38521 $(MAKE) $(EXTRA_HOST_FLAGS) \
38522 $(STAGE1_FLAGS_TO_PASS) clean
38523 @endif libctf-bootstrap
38524
38525
38526 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
38527 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
38528 maybe-all-stage2-libctf:
38529 maybe-clean-stage2-libctf:
38530 @if libctf-bootstrap
38531 maybe-all-stage2-libctf: all-stage2-libctf
38532 all-stage2: all-stage2-libctf
38533 TARGET-stage2-libctf = $(TARGET-libctf)
38534 all-stage2-libctf: configure-stage2-libctf
38535 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38536 @r=`${PWD_COMMAND}`; export r; \
38537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38538 TFLAGS="$(STAGE2_TFLAGS)"; \
38539 $(HOST_EXPORTS) \
38540 $(POSTSTAGE1_HOST_EXPORTS) \
38541 cd $(HOST_SUBDIR)/libctf && \
38542 \
38543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38544 CFLAGS="$(STAGE2_CFLAGS)" \
38545 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
38546 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
38547 LIBCFLAGS="$(STAGE2_CFLAGS)" \
38548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38551 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38552 TFLAGS="$(STAGE2_TFLAGS)" \
38553 $(TARGET-stage2-libctf)
38554
38555 maybe-clean-stage2-libctf: clean-stage2-libctf
38556 clean-stage2: clean-stage2-libctf
38557 clean-stage2-libctf:
38558 @if [ $(current_stage) = stage2 ]; then \
38559 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38560 else \
38561 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
38562 $(MAKE) stage2-start; \
38563 fi; \
38564 cd $(HOST_SUBDIR)/libctf && \
38565 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38566 @endif libctf-bootstrap
38567
38568
38569 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
38570 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
38571 maybe-all-stage3-libctf:
38572 maybe-clean-stage3-libctf:
38573 @if libctf-bootstrap
38574 maybe-all-stage3-libctf: all-stage3-libctf
38575 all-stage3: all-stage3-libctf
38576 TARGET-stage3-libctf = $(TARGET-libctf)
38577 all-stage3-libctf: configure-stage3-libctf
38578 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38579 @r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 TFLAGS="$(STAGE3_TFLAGS)"; \
38582 $(HOST_EXPORTS) \
38583 $(POSTSTAGE1_HOST_EXPORTS) \
38584 cd $(HOST_SUBDIR)/libctf && \
38585 \
38586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38587 CFLAGS="$(STAGE3_CFLAGS)" \
38588 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
38589 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
38590 LIBCFLAGS="$(STAGE3_CFLAGS)" \
38591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38595 TFLAGS="$(STAGE3_TFLAGS)" \
38596 $(TARGET-stage3-libctf)
38597
38598 maybe-clean-stage3-libctf: clean-stage3-libctf
38599 clean-stage3: clean-stage3-libctf
38600 clean-stage3-libctf:
38601 @if [ $(current_stage) = stage3 ]; then \
38602 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38603 else \
38604 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
38605 $(MAKE) stage3-start; \
38606 fi; \
38607 cd $(HOST_SUBDIR)/libctf && \
38608 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38609 @endif libctf-bootstrap
38610
38611
38612 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
38613 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
38614 maybe-all-stage4-libctf:
38615 maybe-clean-stage4-libctf:
38616 @if libctf-bootstrap
38617 maybe-all-stage4-libctf: all-stage4-libctf
38618 all-stage4: all-stage4-libctf
38619 TARGET-stage4-libctf = $(TARGET-libctf)
38620 all-stage4-libctf: configure-stage4-libctf
38621 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38622 @r=`${PWD_COMMAND}`; export r; \
38623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38624 TFLAGS="$(STAGE4_TFLAGS)"; \
38625 $(HOST_EXPORTS) \
38626 $(POSTSTAGE1_HOST_EXPORTS) \
38627 cd $(HOST_SUBDIR)/libctf && \
38628 \
38629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38630 CFLAGS="$(STAGE4_CFLAGS)" \
38631 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
38632 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
38633 LIBCFLAGS="$(STAGE4_CFLAGS)" \
38634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38638 TFLAGS="$(STAGE4_TFLAGS)" \
38639 $(TARGET-stage4-libctf)
38640
38641 maybe-clean-stage4-libctf: clean-stage4-libctf
38642 clean-stage4: clean-stage4-libctf
38643 clean-stage4-libctf:
38644 @if [ $(current_stage) = stage4 ]; then \
38645 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38646 else \
38647 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
38648 $(MAKE) stage4-start; \
38649 fi; \
38650 cd $(HOST_SUBDIR)/libctf && \
38651 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38652 @endif libctf-bootstrap
38653
38654
38655 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
38656 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
38657 maybe-all-stageprofile-libctf:
38658 maybe-clean-stageprofile-libctf:
38659 @if libctf-bootstrap
38660 maybe-all-stageprofile-libctf: all-stageprofile-libctf
38661 all-stageprofile: all-stageprofile-libctf
38662 TARGET-stageprofile-libctf = $(TARGET-libctf)
38663 all-stageprofile-libctf: configure-stageprofile-libctf
38664 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38665 @r=`${PWD_COMMAND}`; export r; \
38666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38667 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38668 $(HOST_EXPORTS) \
38669 $(POSTSTAGE1_HOST_EXPORTS) \
38670 cd $(HOST_SUBDIR)/libctf && \
38671 \
38672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38673 CFLAGS="$(STAGEprofile_CFLAGS)" \
38674 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
38675 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
38676 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
38677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38680 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38681 TFLAGS="$(STAGEprofile_TFLAGS)" \
38682 $(TARGET-stageprofile-libctf)
38683
38684 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
38685 clean-stageprofile: clean-stageprofile-libctf
38686 clean-stageprofile-libctf:
38687 @if [ $(current_stage) = stageprofile ]; then \
38688 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38689 else \
38690 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
38691 $(MAKE) stageprofile-start; \
38692 fi; \
38693 cd $(HOST_SUBDIR)/libctf && \
38694 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38695 @endif libctf-bootstrap
38696
38697
38698 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
38699 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
38700 maybe-all-stagetrain-libctf:
38701 maybe-clean-stagetrain-libctf:
38702 @if libctf-bootstrap
38703 maybe-all-stagetrain-libctf: all-stagetrain-libctf
38704 all-stagetrain: all-stagetrain-libctf
38705 TARGET-stagetrain-libctf = $(TARGET-libctf)
38706 all-stagetrain-libctf: configure-stagetrain-libctf
38707 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38708 @r=`${PWD_COMMAND}`; export r; \
38709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38710 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38711 $(HOST_EXPORTS) \
38712 $(POSTSTAGE1_HOST_EXPORTS) \
38713 cd $(HOST_SUBDIR)/libctf && \
38714 \
38715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38716 CFLAGS="$(STAGEtrain_CFLAGS)" \
38717 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
38718 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
38719 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
38720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38724 TFLAGS="$(STAGEtrain_TFLAGS)" \
38725 $(TARGET-stagetrain-libctf)
38726
38727 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
38728 clean-stagetrain: clean-stagetrain-libctf
38729 clean-stagetrain-libctf:
38730 @if [ $(current_stage) = stagetrain ]; then \
38731 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38732 else \
38733 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
38734 $(MAKE) stagetrain-start; \
38735 fi; \
38736 cd $(HOST_SUBDIR)/libctf && \
38737 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38738 @endif libctf-bootstrap
38739
38740
38741 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
38742 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
38743 maybe-all-stagefeedback-libctf:
38744 maybe-clean-stagefeedback-libctf:
38745 @if libctf-bootstrap
38746 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
38747 all-stagefeedback: all-stagefeedback-libctf
38748 TARGET-stagefeedback-libctf = $(TARGET-libctf)
38749 all-stagefeedback-libctf: configure-stagefeedback-libctf
38750 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38751 @r=`${PWD_COMMAND}`; export r; \
38752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38753 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38754 $(HOST_EXPORTS) \
38755 $(POSTSTAGE1_HOST_EXPORTS) \
38756 cd $(HOST_SUBDIR)/libctf && \
38757 \
38758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38759 CFLAGS="$(STAGEfeedback_CFLAGS)" \
38760 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
38761 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
38762 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
38763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38767 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38768 $(TARGET-stagefeedback-libctf)
38769
38770 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
38771 clean-stagefeedback: clean-stagefeedback-libctf
38772 clean-stagefeedback-libctf:
38773 @if [ $(current_stage) = stagefeedback ]; then \
38774 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38775 else \
38776 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
38777 $(MAKE) stagefeedback-start; \
38778 fi; \
38779 cd $(HOST_SUBDIR)/libctf && \
38780 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38781 @endif libctf-bootstrap
38782
38783
38784 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
38785 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
38786 maybe-all-stageautoprofile-libctf:
38787 maybe-clean-stageautoprofile-libctf:
38788 @if libctf-bootstrap
38789 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
38790 all-stageautoprofile: all-stageautoprofile-libctf
38791 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
38792 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
38793 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38794 @r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38797 $(HOST_EXPORTS) \
38798 $(POSTSTAGE1_HOST_EXPORTS) \
38799 cd $(HOST_SUBDIR)/libctf && \
38800 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38802 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
38803 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
38804 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
38805 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
38806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38810 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38811 $(TARGET-stageautoprofile-libctf)
38812
38813 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
38814 clean-stageautoprofile: clean-stageautoprofile-libctf
38815 clean-stageautoprofile-libctf:
38816 @if [ $(current_stage) = stageautoprofile ]; then \
38817 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38818 else \
38819 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
38820 $(MAKE) stageautoprofile-start; \
38821 fi; \
38822 cd $(HOST_SUBDIR)/libctf && \
38823 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38824 @endif libctf-bootstrap
38825
38826
38827 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
38828 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
38829 maybe-all-stageautofeedback-libctf:
38830 maybe-clean-stageautofeedback-libctf:
38831 @if libctf-bootstrap
38832 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
38833 all-stageautofeedback: all-stageautofeedback-libctf
38834 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
38835 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
38836 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38837 @r=`${PWD_COMMAND}`; export r; \
38838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38839 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38840 $(HOST_EXPORTS) \
38841 $(POSTSTAGE1_HOST_EXPORTS) \
38842 cd $(HOST_SUBDIR)/libctf && \
38843 \
38844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38845 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
38846 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
38847 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
38848 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
38849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
38853 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38854 $(TARGET-stageautofeedback-libctf)
38855
38856 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
38857 clean-stageautofeedback: clean-stageautofeedback-libctf
38858 clean-stageautofeedback-libctf:
38859 @if [ $(current_stage) = stageautofeedback ]; then \
38860 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38861 else \
38862 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
38863 $(MAKE) stageautofeedback-start; \
38864 fi; \
38865 cd $(HOST_SUBDIR)/libctf && \
38866 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
38867 @endif libctf-bootstrap
38868
38869
38870
38871
38872
38873 .PHONY: check-libctf maybe-check-libctf
38874 maybe-check-libctf:
38875 @if libctf
38876 maybe-check-libctf: check-libctf
38877
38878 check-libctf:
38879
38880 @endif libctf
38881
38882 .PHONY: install-libctf maybe-install-libctf
38883 maybe-install-libctf:
38884 @if libctf
38885 maybe-install-libctf: install-libctf
38886
38887 install-libctf:
38888
38889 @endif libctf
38890
38891 .PHONY: install-strip-libctf maybe-install-strip-libctf
38892 maybe-install-strip-libctf:
38893 @if libctf
38894 maybe-install-strip-libctf: install-strip-libctf
38895
38896 install-strip-libctf:
38897
38898 @endif libctf
38899
38900 # Other targets (info, dvi, pdf, etc.)
38901
38902 .PHONY: maybe-info-libctf info-libctf
38903 maybe-info-libctf:
38904 @if libctf
38905 maybe-info-libctf: info-libctf
38906
38907 info-libctf: \
38908 configure-libctf
38909 @[ -f ./libctf/Makefile ] || exit 0; \
38910 r=`${PWD_COMMAND}`; export r; \
38911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38912 $(HOST_EXPORTS) \
38913 for flag in $(EXTRA_HOST_FLAGS) ; do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 echo "Doing info in libctf"; \
38917 (cd $(HOST_SUBDIR)/libctf && \
38918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38920 "RANLIB=$${RANLIB}" \
38921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38922 info) \
38923 || exit 1
38924
38925 @endif libctf
38926
38927 .PHONY: maybe-dvi-libctf dvi-libctf
38928 maybe-dvi-libctf:
38929 @if libctf
38930 maybe-dvi-libctf: dvi-libctf
38931
38932 dvi-libctf: \
38933 configure-libctf
38934 @[ -f ./libctf/Makefile ] || exit 0; \
38935 r=`${PWD_COMMAND}`; export r; \
38936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38937 $(HOST_EXPORTS) \
38938 for flag in $(EXTRA_HOST_FLAGS) ; do \
38939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38940 done; \
38941 echo "Doing dvi in libctf"; \
38942 (cd $(HOST_SUBDIR)/libctf && \
38943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38945 "RANLIB=$${RANLIB}" \
38946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38947 dvi) \
38948 || exit 1
38949
38950 @endif libctf
38951
38952 .PHONY: maybe-pdf-libctf pdf-libctf
38953 maybe-pdf-libctf:
38954 @if libctf
38955 maybe-pdf-libctf: pdf-libctf
38956
38957 pdf-libctf: \
38958 configure-libctf
38959 @[ -f ./libctf/Makefile ] || exit 0; \
38960 r=`${PWD_COMMAND}`; export r; \
38961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38962 $(HOST_EXPORTS) \
38963 for flag in $(EXTRA_HOST_FLAGS) ; do \
38964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38965 done; \
38966 echo "Doing pdf in libctf"; \
38967 (cd $(HOST_SUBDIR)/libctf && \
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 pdf) \
38973 || exit 1
38974
38975 @endif libctf
38976
38977 .PHONY: maybe-html-libctf html-libctf
38978 maybe-html-libctf:
38979 @if libctf
38980 maybe-html-libctf: html-libctf
38981
38982 html-libctf: \
38983 configure-libctf
38984 @[ -f ./libctf/Makefile ] || exit 0; \
38985 r=`${PWD_COMMAND}`; export r; \
38986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38987 $(HOST_EXPORTS) \
38988 for flag in $(EXTRA_HOST_FLAGS) ; do \
38989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38990 done; \
38991 echo "Doing html in libctf"; \
38992 (cd $(HOST_SUBDIR)/libctf && \
38993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38995 "RANLIB=$${RANLIB}" \
38996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38997 html) \
38998 || exit 1
38999
39000 @endif libctf
39001
39002 .PHONY: maybe-TAGS-libctf TAGS-libctf
39003 maybe-TAGS-libctf:
39004 @if libctf
39005 maybe-TAGS-libctf: TAGS-libctf
39006
39007 TAGS-libctf: \
39008 configure-libctf
39009 @[ -f ./libctf/Makefile ] || exit 0; \
39010 r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 $(HOST_EXPORTS) \
39013 for flag in $(EXTRA_HOST_FLAGS) ; do \
39014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39015 done; \
39016 echo "Doing TAGS in libctf"; \
39017 (cd $(HOST_SUBDIR)/libctf && \
39018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39020 "RANLIB=$${RANLIB}" \
39021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39022 TAGS) \
39023 || exit 1
39024
39025 @endif libctf
39026
39027 .PHONY: maybe-install-info-libctf install-info-libctf
39028 maybe-install-info-libctf:
39029 @if libctf
39030 maybe-install-info-libctf: install-info-libctf
39031
39032 install-info-libctf: \
39033 configure-libctf \
39034 info-libctf
39035 @[ -f ./libctf/Makefile ] || exit 0; \
39036 r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(HOST_EXPORTS) \
39039 for flag in $(EXTRA_HOST_FLAGS) ; do \
39040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39041 done; \
39042 echo "Doing install-info in libctf"; \
39043 (cd $(HOST_SUBDIR)/libctf && \
39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39046 "RANLIB=$${RANLIB}" \
39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39048 install-info) \
39049 || exit 1
39050
39051 @endif libctf
39052
39053 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
39054 maybe-install-pdf-libctf:
39055 @if libctf
39056 maybe-install-pdf-libctf: install-pdf-libctf
39057
39058 install-pdf-libctf: \
39059 configure-libctf \
39060 pdf-libctf
39061 @[ -f ./libctf/Makefile ] || exit 0; \
39062 r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(HOST_EXPORTS) \
39065 for flag in $(EXTRA_HOST_FLAGS) ; do \
39066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39067 done; \
39068 echo "Doing install-pdf in libctf"; \
39069 (cd $(HOST_SUBDIR)/libctf && \
39070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39072 "RANLIB=$${RANLIB}" \
39073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39074 install-pdf) \
39075 || exit 1
39076
39077 @endif libctf
39078
39079 .PHONY: maybe-install-html-libctf install-html-libctf
39080 maybe-install-html-libctf:
39081 @if libctf
39082 maybe-install-html-libctf: install-html-libctf
39083
39084 install-html-libctf: \
39085 configure-libctf \
39086 html-libctf
39087 @[ -f ./libctf/Makefile ] || exit 0; \
39088 r=`${PWD_COMMAND}`; export r; \
39089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39090 $(HOST_EXPORTS) \
39091 for flag in $(EXTRA_HOST_FLAGS) ; do \
39092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39093 done; \
39094 echo "Doing install-html in libctf"; \
39095 (cd $(HOST_SUBDIR)/libctf && \
39096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39098 "RANLIB=$${RANLIB}" \
39099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39100 install-html) \
39101 || exit 1
39102
39103 @endif libctf
39104
39105 .PHONY: maybe-installcheck-libctf installcheck-libctf
39106 maybe-installcheck-libctf:
39107 @if libctf
39108 maybe-installcheck-libctf: installcheck-libctf
39109
39110 installcheck-libctf: \
39111 configure-libctf
39112 @[ -f ./libctf/Makefile ] || exit 0; \
39113 r=`${PWD_COMMAND}`; export r; \
39114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39115 $(HOST_EXPORTS) \
39116 for flag in $(EXTRA_HOST_FLAGS) ; do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 echo "Doing installcheck in libctf"; \
39120 (cd $(HOST_SUBDIR)/libctf && \
39121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39123 "RANLIB=$${RANLIB}" \
39124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39125 installcheck) \
39126 || exit 1
39127
39128 @endif libctf
39129
39130 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
39131 maybe-mostlyclean-libctf:
39132 @if libctf
39133 maybe-mostlyclean-libctf: mostlyclean-libctf
39134
39135 mostlyclean-libctf:
39136 @[ -f ./libctf/Makefile ] || exit 0; \
39137 r=`${PWD_COMMAND}`; export r; \
39138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39139 $(HOST_EXPORTS) \
39140 for flag in $(EXTRA_HOST_FLAGS) ; do \
39141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39142 done; \
39143 echo "Doing mostlyclean in libctf"; \
39144 (cd $(HOST_SUBDIR)/libctf && \
39145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39147 "RANLIB=$${RANLIB}" \
39148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39149 mostlyclean) \
39150 || exit 1
39151
39152 @endif libctf
39153
39154 .PHONY: maybe-clean-libctf clean-libctf
39155 maybe-clean-libctf:
39156 @if libctf
39157 maybe-clean-libctf: clean-libctf
39158
39159 clean-libctf:
39160 @[ -f ./libctf/Makefile ] || exit 0; \
39161 r=`${PWD_COMMAND}`; export r; \
39162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39163 $(HOST_EXPORTS) \
39164 for flag in $(EXTRA_HOST_FLAGS) ; do \
39165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39166 done; \
39167 echo "Doing clean in libctf"; \
39168 (cd $(HOST_SUBDIR)/libctf && \
39169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39171 "RANLIB=$${RANLIB}" \
39172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39173 clean) \
39174 || exit 1
39175
39176 @endif libctf
39177
39178 .PHONY: maybe-distclean-libctf distclean-libctf
39179 maybe-distclean-libctf:
39180 @if libctf
39181 maybe-distclean-libctf: distclean-libctf
39182
39183 distclean-libctf:
39184 @[ -f ./libctf/Makefile ] || exit 0; \
39185 r=`${PWD_COMMAND}`; export r; \
39186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39187 $(HOST_EXPORTS) \
39188 for flag in $(EXTRA_HOST_FLAGS) ; do \
39189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39190 done; \
39191 echo "Doing distclean in libctf"; \
39192 (cd $(HOST_SUBDIR)/libctf && \
39193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39195 "RANLIB=$${RANLIB}" \
39196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39197 distclean) \
39198 || exit 1
39199
39200 @endif libctf
39201
39202 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
39203 maybe-maintainer-clean-libctf:
39204 @if libctf
39205 maybe-maintainer-clean-libctf: maintainer-clean-libctf
39206
39207 maintainer-clean-libctf:
39208 @[ -f ./libctf/Makefile ] || exit 0; \
39209 r=`${PWD_COMMAND}`; export r; \
39210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39211 $(HOST_EXPORTS) \
39212 for flag in $(EXTRA_HOST_FLAGS) ; do \
39213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39214 done; \
39215 echo "Doing maintainer-clean in libctf"; \
39216 (cd $(HOST_SUBDIR)/libctf && \
39217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39219 "RANLIB=$${RANLIB}" \
39220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39221 maintainer-clean) \
39222 || exit 1
39223
39224 @endif libctf
39225
39226
39227
39228 # ---------------------------------------
39229 # Modules which run on the target machine
39230 # ---------------------------------------
39231
39232
39233
39234
39235 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
39236 maybe-configure-target-libstdc++-v3:
39237 @if gcc-bootstrap
39238 configure-target-libstdc++-v3: stage_current
39239 @endif gcc-bootstrap
39240 @if target-libstdc++-v3
39241 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
39242 configure-target-libstdc++-v3:
39243 @r=`${PWD_COMMAND}`; export r; \
39244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39245 echo "Checking multilib configuration for libstdc++-v3..."; \
39246 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39247 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39248 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39249 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39251 else \
39252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39253 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39254 fi; \
39255 else \
39256 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39257 fi; \
39258 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39260 $(RAW_CXX_TARGET_EXPORTS) \
39261 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
39262 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
39263 case $(srcdir) in \
39264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39265 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39267 esac; \
39268 module_srcdir=libstdc++-v3; \
39269 rm -f no-such-file || : ; \
39270 CONFIG_SITE=no-such-file $(SHELL) \
39271 $$s/$$module_srcdir/configure \
39272 --srcdir=$${topdir}/$$module_srcdir \
39273 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39274 --target=${target_alias} \
39275 || exit 1
39276 @endif target-libstdc++-v3
39277
39278
39279
39280 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
39281 maybe-configure-stage1-target-libstdc++-v3:
39282 @if target-libstdc++-v3-bootstrap
39283 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
39284 configure-stage1-target-libstdc++-v3:
39285 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39286 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39287 @r=`${PWD_COMMAND}`; export r; \
39288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39289 TFLAGS="$(STAGE1_TFLAGS)"; \
39290 echo "Checking multilib configuration for libstdc++-v3..."; \
39291 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39292 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39293 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39294 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39295 else \
39296 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39297 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39298 fi; \
39299 else \
39300 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39301 fi; \
39302 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39303 $(RAW_CXX_TARGET_EXPORTS) \
39304 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39305 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39306 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39307 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
39308 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39309 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39310 case $(srcdir) in \
39311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39312 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39314 esac; \
39315 module_srcdir=libstdc++-v3; \
39316 $(SHELL) $$s/$$module_srcdir/configure \
39317 --srcdir=$${topdir}/$$module_srcdir \
39318 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39319 --target=${target_alias} \
39320 \
39321 $(STAGE1_CONFIGURE_FLAGS)
39322 @endif target-libstdc++-v3-bootstrap
39323
39324 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
39325 maybe-configure-stage2-target-libstdc++-v3:
39326 @if target-libstdc++-v3-bootstrap
39327 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
39328 configure-stage2-target-libstdc++-v3:
39329 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39330 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39331 @r=`${PWD_COMMAND}`; export r; \
39332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39333 TFLAGS="$(STAGE2_TFLAGS)"; \
39334 echo "Checking multilib configuration for libstdc++-v3..."; \
39335 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39336 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39337 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39338 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39339 else \
39340 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39341 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39342 fi; \
39343 else \
39344 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39345 fi; \
39346 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39347 $(RAW_CXX_TARGET_EXPORTS) \
39348 \
39349 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39350 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39351 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39352 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
39353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39354 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39355 case $(srcdir) in \
39356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39357 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39359 esac; \
39360 module_srcdir=libstdc++-v3; \
39361 $(SHELL) $$s/$$module_srcdir/configure \
39362 --srcdir=$${topdir}/$$module_srcdir \
39363 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39364 --target=${target_alias} \
39365 --with-build-libsubdir=$(HOST_SUBDIR) \
39366 $(STAGE2_CONFIGURE_FLAGS)
39367 @endif target-libstdc++-v3-bootstrap
39368
39369 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
39370 maybe-configure-stage3-target-libstdc++-v3:
39371 @if target-libstdc++-v3-bootstrap
39372 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
39373 configure-stage3-target-libstdc++-v3:
39374 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39375 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39376 @r=`${PWD_COMMAND}`; export r; \
39377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39378 TFLAGS="$(STAGE3_TFLAGS)"; \
39379 echo "Checking multilib configuration for libstdc++-v3..."; \
39380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39381 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39382 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39383 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39384 else \
39385 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39386 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39387 fi; \
39388 else \
39389 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39390 fi; \
39391 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39392 $(RAW_CXX_TARGET_EXPORTS) \
39393 \
39394 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39395 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39396 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39397 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
39398 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39399 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39400 case $(srcdir) in \
39401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39402 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39404 esac; \
39405 module_srcdir=libstdc++-v3; \
39406 $(SHELL) $$s/$$module_srcdir/configure \
39407 --srcdir=$${topdir}/$$module_srcdir \
39408 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39409 --target=${target_alias} \
39410 --with-build-libsubdir=$(HOST_SUBDIR) \
39411 $(STAGE3_CONFIGURE_FLAGS)
39412 @endif target-libstdc++-v3-bootstrap
39413
39414 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
39415 maybe-configure-stage4-target-libstdc++-v3:
39416 @if target-libstdc++-v3-bootstrap
39417 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
39418 configure-stage4-target-libstdc++-v3:
39419 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39420 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39421 @r=`${PWD_COMMAND}`; export r; \
39422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39423 TFLAGS="$(STAGE4_TFLAGS)"; \
39424 echo "Checking multilib configuration for libstdc++-v3..."; \
39425 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39426 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39427 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39428 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39429 else \
39430 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39431 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39432 fi; \
39433 else \
39434 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39435 fi; \
39436 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39437 $(RAW_CXX_TARGET_EXPORTS) \
39438 \
39439 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39440 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39441 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39442 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
39443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39444 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39445 case $(srcdir) in \
39446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39447 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39449 esac; \
39450 module_srcdir=libstdc++-v3; \
39451 $(SHELL) $$s/$$module_srcdir/configure \
39452 --srcdir=$${topdir}/$$module_srcdir \
39453 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39454 --target=${target_alias} \
39455 --with-build-libsubdir=$(HOST_SUBDIR) \
39456 $(STAGE4_CONFIGURE_FLAGS)
39457 @endif target-libstdc++-v3-bootstrap
39458
39459 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
39460 maybe-configure-stageprofile-target-libstdc++-v3:
39461 @if target-libstdc++-v3-bootstrap
39462 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
39463 configure-stageprofile-target-libstdc++-v3:
39464 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39465 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39466 @r=`${PWD_COMMAND}`; export r; \
39467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39468 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39469 echo "Checking multilib configuration for libstdc++-v3..."; \
39470 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39471 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39472 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39473 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39474 else \
39475 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39476 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39477 fi; \
39478 else \
39479 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39480 fi; \
39481 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39482 $(RAW_CXX_TARGET_EXPORTS) \
39483 \
39484 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39485 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39486 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39487 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
39488 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39489 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39490 case $(srcdir) in \
39491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39492 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39494 esac; \
39495 module_srcdir=libstdc++-v3; \
39496 $(SHELL) $$s/$$module_srcdir/configure \
39497 --srcdir=$${topdir}/$$module_srcdir \
39498 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39499 --target=${target_alias} \
39500 --with-build-libsubdir=$(HOST_SUBDIR) \
39501 $(STAGEprofile_CONFIGURE_FLAGS)
39502 @endif target-libstdc++-v3-bootstrap
39503
39504 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
39505 maybe-configure-stagetrain-target-libstdc++-v3:
39506 @if target-libstdc++-v3-bootstrap
39507 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
39508 configure-stagetrain-target-libstdc++-v3:
39509 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39510 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39511 @r=`${PWD_COMMAND}`; export r; \
39512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39513 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39514 echo "Checking multilib configuration for libstdc++-v3..."; \
39515 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39516 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39517 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39518 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39519 else \
39520 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39521 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39522 fi; \
39523 else \
39524 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39525 fi; \
39526 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39527 $(RAW_CXX_TARGET_EXPORTS) \
39528 \
39529 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39530 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39531 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39532 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
39533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39534 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39535 case $(srcdir) in \
39536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39537 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39539 esac; \
39540 module_srcdir=libstdc++-v3; \
39541 $(SHELL) $$s/$$module_srcdir/configure \
39542 --srcdir=$${topdir}/$$module_srcdir \
39543 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39544 --target=${target_alias} \
39545 --with-build-libsubdir=$(HOST_SUBDIR) \
39546 $(STAGEtrain_CONFIGURE_FLAGS)
39547 @endif target-libstdc++-v3-bootstrap
39548
39549 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
39550 maybe-configure-stagefeedback-target-libstdc++-v3:
39551 @if target-libstdc++-v3-bootstrap
39552 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
39553 configure-stagefeedback-target-libstdc++-v3:
39554 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39555 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39556 @r=`${PWD_COMMAND}`; export r; \
39557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39558 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39559 echo "Checking multilib configuration for libstdc++-v3..."; \
39560 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39561 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39562 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39563 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39564 else \
39565 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39566 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39567 fi; \
39568 else \
39569 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39570 fi; \
39571 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39572 $(RAW_CXX_TARGET_EXPORTS) \
39573 \
39574 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39575 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39576 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39577 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
39578 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39579 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39580 case $(srcdir) in \
39581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39582 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39584 esac; \
39585 module_srcdir=libstdc++-v3; \
39586 $(SHELL) $$s/$$module_srcdir/configure \
39587 --srcdir=$${topdir}/$$module_srcdir \
39588 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39589 --target=${target_alias} \
39590 --with-build-libsubdir=$(HOST_SUBDIR) \
39591 $(STAGEfeedback_CONFIGURE_FLAGS)
39592 @endif target-libstdc++-v3-bootstrap
39593
39594 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
39595 maybe-configure-stageautoprofile-target-libstdc++-v3:
39596 @if target-libstdc++-v3-bootstrap
39597 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
39598 configure-stageautoprofile-target-libstdc++-v3:
39599 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39600 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39601 @r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39604 echo "Checking multilib configuration for libstdc++-v3..."; \
39605 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39606 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39607 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39608 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39609 else \
39610 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39611 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39612 fi; \
39613 else \
39614 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39615 fi; \
39616 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39617 $(RAW_CXX_TARGET_EXPORTS) \
39618 \
39619 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39620 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39621 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39622 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
39623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39624 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39625 case $(srcdir) in \
39626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39627 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39629 esac; \
39630 module_srcdir=libstdc++-v3; \
39631 $(SHELL) $$s/$$module_srcdir/configure \
39632 --srcdir=$${topdir}/$$module_srcdir \
39633 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39634 --target=${target_alias} \
39635 --with-build-libsubdir=$(HOST_SUBDIR) \
39636 $(STAGEautoprofile_CONFIGURE_FLAGS)
39637 @endif target-libstdc++-v3-bootstrap
39638
39639 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
39640 maybe-configure-stageautofeedback-target-libstdc++-v3:
39641 @if target-libstdc++-v3-bootstrap
39642 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
39643 configure-stageautofeedback-target-libstdc++-v3:
39644 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39645 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39646 @r=`${PWD_COMMAND}`; export r; \
39647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39648 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39649 echo "Checking multilib configuration for libstdc++-v3..."; \
39650 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39651 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39652 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39653 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39654 else \
39655 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39656 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39657 fi; \
39658 else \
39659 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39660 fi; \
39661 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39662 $(RAW_CXX_TARGET_EXPORTS) \
39663 \
39664 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39665 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39666 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39667 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
39668 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39669 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39670 case $(srcdir) in \
39671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39672 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39674 esac; \
39675 module_srcdir=libstdc++-v3; \
39676 $(SHELL) $$s/$$module_srcdir/configure \
39677 --srcdir=$${topdir}/$$module_srcdir \
39678 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39679 --target=${target_alias} \
39680 --with-build-libsubdir=$(HOST_SUBDIR) \
39681 $(STAGEautofeedback_CONFIGURE_FLAGS)
39682 @endif target-libstdc++-v3-bootstrap
39683
39684
39685
39686
39687
39688 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
39689 maybe-all-target-libstdc++-v3:
39690 @if gcc-bootstrap
39691 all-target-libstdc++-v3: stage_current
39692 @endif gcc-bootstrap
39693 @if target-libstdc++-v3
39694 TARGET-target-libstdc++-v3=all
39695 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
39696 all-target-libstdc++-v3: configure-target-libstdc++-v3
39697 @r=`${PWD_COMMAND}`; export r; \
39698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39699 $(RAW_CXX_TARGET_EXPORTS) \
39700 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39701 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39702 $(TARGET-target-libstdc++-v3))
39703 @endif target-libstdc++-v3
39704
39705
39706
39707 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
39708 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
39709 maybe-all-stage1-target-libstdc++-v3:
39710 maybe-clean-stage1-target-libstdc++-v3:
39711 @if target-libstdc++-v3-bootstrap
39712 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
39713 all-stage1: all-stage1-target-libstdc++-v3
39714 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39715 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
39716 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39717 @r=`${PWD_COMMAND}`; export r; \
39718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39719 TFLAGS="$(STAGE1_TFLAGS)"; \
39720 $(RAW_CXX_TARGET_EXPORTS) \
39721 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39722 \
39723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39724 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39725 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39726 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39730 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39731 \
39732 TFLAGS="$(STAGE1_TFLAGS)" \
39733 $(TARGET-stage1-target-libstdc++-v3)
39734
39735 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
39736 clean-stage1: clean-stage1-target-libstdc++-v3
39737 clean-stage1-target-libstdc++-v3:
39738 @if [ $(current_stage) = stage1 ]; then \
39739 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39740 else \
39741 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
39742 $(MAKE) stage1-start; \
39743 fi; \
39744 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39745 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39746 clean
39747 @endif target-libstdc++-v3-bootstrap
39748
39749
39750 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
39751 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
39752 maybe-all-stage2-target-libstdc++-v3:
39753 maybe-clean-stage2-target-libstdc++-v3:
39754 @if target-libstdc++-v3-bootstrap
39755 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
39756 all-stage2: all-stage2-target-libstdc++-v3
39757 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39758 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
39759 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39760 @r=`${PWD_COMMAND}`; export r; \
39761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39762 TFLAGS="$(STAGE2_TFLAGS)"; \
39763 $(RAW_CXX_TARGET_EXPORTS) \
39764 \
39765 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39766 \
39767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39768 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39769 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39770 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39774 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39775 TFLAGS="$(STAGE2_TFLAGS)" \
39776 $(TARGET-stage2-target-libstdc++-v3)
39777
39778 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
39779 clean-stage2: clean-stage2-target-libstdc++-v3
39780 clean-stage2-target-libstdc++-v3:
39781 @if [ $(current_stage) = stage2 ]; then \
39782 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39783 else \
39784 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
39785 $(MAKE) stage2-start; \
39786 fi; \
39787 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39788 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39789 @endif target-libstdc++-v3-bootstrap
39790
39791
39792 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
39793 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
39794 maybe-all-stage3-target-libstdc++-v3:
39795 maybe-clean-stage3-target-libstdc++-v3:
39796 @if target-libstdc++-v3-bootstrap
39797 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
39798 all-stage3: all-stage3-target-libstdc++-v3
39799 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39800 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
39801 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39802 @r=`${PWD_COMMAND}`; export r; \
39803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39804 TFLAGS="$(STAGE3_TFLAGS)"; \
39805 $(RAW_CXX_TARGET_EXPORTS) \
39806 \
39807 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39808 \
39809 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39810 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39811 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39812 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39816 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39817 TFLAGS="$(STAGE3_TFLAGS)" \
39818 $(TARGET-stage3-target-libstdc++-v3)
39819
39820 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
39821 clean-stage3: clean-stage3-target-libstdc++-v3
39822 clean-stage3-target-libstdc++-v3:
39823 @if [ $(current_stage) = stage3 ]; then \
39824 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39825 else \
39826 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
39827 $(MAKE) stage3-start; \
39828 fi; \
39829 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39830 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39831 @endif target-libstdc++-v3-bootstrap
39832
39833
39834 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
39835 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
39836 maybe-all-stage4-target-libstdc++-v3:
39837 maybe-clean-stage4-target-libstdc++-v3:
39838 @if target-libstdc++-v3-bootstrap
39839 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
39840 all-stage4: all-stage4-target-libstdc++-v3
39841 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39842 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
39843 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39844 @r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 TFLAGS="$(STAGE4_TFLAGS)"; \
39847 $(RAW_CXX_TARGET_EXPORTS) \
39848 \
39849 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39850 \
39851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39852 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39853 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39854 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39858 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39859 TFLAGS="$(STAGE4_TFLAGS)" \
39860 $(TARGET-stage4-target-libstdc++-v3)
39861
39862 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
39863 clean-stage4: clean-stage4-target-libstdc++-v3
39864 clean-stage4-target-libstdc++-v3:
39865 @if [ $(current_stage) = stage4 ]; then \
39866 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39867 else \
39868 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
39869 $(MAKE) stage4-start; \
39870 fi; \
39871 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39872 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39873 @endif target-libstdc++-v3-bootstrap
39874
39875
39876 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
39877 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
39878 maybe-all-stageprofile-target-libstdc++-v3:
39879 maybe-clean-stageprofile-target-libstdc++-v3:
39880 @if target-libstdc++-v3-bootstrap
39881 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
39882 all-stageprofile: all-stageprofile-target-libstdc++-v3
39883 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39884 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
39885 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39886 @r=`${PWD_COMMAND}`; export r; \
39887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39888 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39889 $(RAW_CXX_TARGET_EXPORTS) \
39890 \
39891 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39892 \
39893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39894 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39895 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39896 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39900 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39901 TFLAGS="$(STAGEprofile_TFLAGS)" \
39902 $(TARGET-stageprofile-target-libstdc++-v3)
39903
39904 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
39905 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
39906 clean-stageprofile-target-libstdc++-v3:
39907 @if [ $(current_stage) = stageprofile ]; then \
39908 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39909 else \
39910 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
39911 $(MAKE) stageprofile-start; \
39912 fi; \
39913 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39914 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39915 @endif target-libstdc++-v3-bootstrap
39916
39917
39918 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
39919 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
39920 maybe-all-stagetrain-target-libstdc++-v3:
39921 maybe-clean-stagetrain-target-libstdc++-v3:
39922 @if target-libstdc++-v3-bootstrap
39923 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
39924 all-stagetrain: all-stagetrain-target-libstdc++-v3
39925 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39926 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
39927 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39928 @r=`${PWD_COMMAND}`; export r; \
39929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39930 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39931 $(RAW_CXX_TARGET_EXPORTS) \
39932 \
39933 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39934 \
39935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39936 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39937 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39938 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39942 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39943 TFLAGS="$(STAGEtrain_TFLAGS)" \
39944 $(TARGET-stagetrain-target-libstdc++-v3)
39945
39946 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
39947 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
39948 clean-stagetrain-target-libstdc++-v3:
39949 @if [ $(current_stage) = stagetrain ]; then \
39950 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39951 else \
39952 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
39953 $(MAKE) stagetrain-start; \
39954 fi; \
39955 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39956 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39957 @endif target-libstdc++-v3-bootstrap
39958
39959
39960 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
39961 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
39962 maybe-all-stagefeedback-target-libstdc++-v3:
39963 maybe-clean-stagefeedback-target-libstdc++-v3:
39964 @if target-libstdc++-v3-bootstrap
39965 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
39966 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
39967 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
39968 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
39969 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39970 @r=`${PWD_COMMAND}`; export r; \
39971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39972 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39973 $(RAW_CXX_TARGET_EXPORTS) \
39974 \
39975 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39976 \
39977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39978 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39984 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39985 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39986 $(TARGET-stagefeedback-target-libstdc++-v3)
39987
39988 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
39989 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
39990 clean-stagefeedback-target-libstdc++-v3:
39991 @if [ $(current_stage) = stagefeedback ]; then \
39992 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39993 else \
39994 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
39995 $(MAKE) stagefeedback-start; \
39996 fi; \
39997 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39998 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39999 @endif target-libstdc++-v3-bootstrap
40000
40001
40002 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
40003 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
40004 maybe-all-stageautoprofile-target-libstdc++-v3:
40005 maybe-clean-stageautoprofile-target-libstdc++-v3:
40006 @if target-libstdc++-v3-bootstrap
40007 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
40008 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
40009 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40010 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40011 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40012 @r=`${PWD_COMMAND}`; export r; \
40013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40014 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40015 $(RAW_CXX_TARGET_EXPORTS) \
40016 \
40017 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40018 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40020 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40021 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40022 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40026 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40027 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40028 $(TARGET-stageautoprofile-target-libstdc++-v3)
40029
40030 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
40031 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
40032 clean-stageautoprofile-target-libstdc++-v3:
40033 @if [ $(current_stage) = stageautoprofile ]; then \
40034 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40035 else \
40036 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
40037 $(MAKE) stageautoprofile-start; \
40038 fi; \
40039 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40040 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40041 @endif target-libstdc++-v3-bootstrap
40042
40043
40044 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
40045 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
40046 maybe-all-stageautofeedback-target-libstdc++-v3:
40047 maybe-clean-stageautofeedback-target-libstdc++-v3:
40048 @if target-libstdc++-v3-bootstrap
40049 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
40050 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
40051 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40052 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
40053 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40054 @r=`${PWD_COMMAND}`; export r; \
40055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40056 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40057 $(RAW_CXX_TARGET_EXPORTS) \
40058 \
40059 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40060 \
40061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40062 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40068 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40069 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40070 $(TARGET-stageautofeedback-target-libstdc++-v3)
40071
40072 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
40073 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
40074 clean-stageautofeedback-target-libstdc++-v3:
40075 @if [ $(current_stage) = stageautofeedback ]; then \
40076 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40077 else \
40078 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
40079 $(MAKE) stageautofeedback-start; \
40080 fi; \
40081 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40082 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40083 @endif target-libstdc++-v3-bootstrap
40084
40085
40086
40087
40088
40089
40090 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
40091 maybe-check-target-libstdc++-v3:
40092 @if target-libstdc++-v3
40093 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
40094
40095 check-target-libstdc++-v3:
40096 @: $(MAKE); $(unstage)
40097 @r=`${PWD_COMMAND}`; export r; \
40098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40099 $(RAW_CXX_TARGET_EXPORTS) \
40100 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40101 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40102
40103 @endif target-libstdc++-v3
40104
40105 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
40106 maybe-install-target-libstdc++-v3:
40107 @if target-libstdc++-v3
40108 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
40109
40110 install-target-libstdc++-v3: installdirs
40111 @: $(MAKE); $(unstage)
40112 @r=`${PWD_COMMAND}`; export r; \
40113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40114 $(RAW_CXX_TARGET_EXPORTS) \
40115 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40116 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40117
40118 @endif target-libstdc++-v3
40119
40120 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
40121 maybe-install-strip-target-libstdc++-v3:
40122 @if target-libstdc++-v3
40123 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
40124
40125 install-strip-target-libstdc++-v3: installdirs
40126 @: $(MAKE); $(unstage)
40127 @r=`${PWD_COMMAND}`; export r; \
40128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40129 $(RAW_CXX_TARGET_EXPORTS) \
40130 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40131 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40132
40133 @endif target-libstdc++-v3
40134
40135 # Other targets (info, dvi, pdf, etc.)
40136
40137 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
40138 maybe-info-target-libstdc++-v3:
40139 @if target-libstdc++-v3
40140 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
40141
40142 info-target-libstdc++-v3: \
40143 configure-target-libstdc++-v3
40144 @: $(MAKE); $(unstage)
40145 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40146 r=`${PWD_COMMAND}`; export r; \
40147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40148 $(RAW_CXX_TARGET_EXPORTS) \
40149 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40150 for flag in $(EXTRA_TARGET_FLAGS); do \
40151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40152 done; \
40153 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40156 "RANLIB=$${RANLIB}" \
40157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40158 info) \
40159 || exit 1
40160
40161 @endif target-libstdc++-v3
40162
40163 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
40164 maybe-dvi-target-libstdc++-v3:
40165 @if target-libstdc++-v3
40166 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
40167
40168 dvi-target-libstdc++-v3: \
40169 configure-target-libstdc++-v3
40170 @: $(MAKE); $(unstage)
40171 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40172 r=`${PWD_COMMAND}`; export r; \
40173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40174 $(RAW_CXX_TARGET_EXPORTS) \
40175 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
40176 for flag in $(EXTRA_TARGET_FLAGS); do \
40177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40178 done; \
40179 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40182 "RANLIB=$${RANLIB}" \
40183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40184 dvi) \
40185 || exit 1
40186
40187 @endif target-libstdc++-v3
40188
40189 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
40190 maybe-pdf-target-libstdc++-v3:
40191 @if target-libstdc++-v3
40192 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
40193
40194 pdf-target-libstdc++-v3: \
40195 configure-target-libstdc++-v3
40196 @: $(MAKE); $(unstage)
40197 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40198 r=`${PWD_COMMAND}`; export r; \
40199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40200 $(RAW_CXX_TARGET_EXPORTS) \
40201 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40202 for flag in $(EXTRA_TARGET_FLAGS); do \
40203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40204 done; \
40205 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40208 "RANLIB=$${RANLIB}" \
40209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40210 pdf) \
40211 || exit 1
40212
40213 @endif target-libstdc++-v3
40214
40215 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
40216 maybe-html-target-libstdc++-v3:
40217 @if target-libstdc++-v3
40218 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
40219
40220 html-target-libstdc++-v3: \
40221 configure-target-libstdc++-v3
40222 @: $(MAKE); $(unstage)
40223 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40224 r=`${PWD_COMMAND}`; export r; \
40225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40226 $(RAW_CXX_TARGET_EXPORTS) \
40227 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40228 for flag in $(EXTRA_TARGET_FLAGS); do \
40229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40230 done; \
40231 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40234 "RANLIB=$${RANLIB}" \
40235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40236 html) \
40237 || exit 1
40238
40239 @endif target-libstdc++-v3
40240
40241 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
40242 maybe-TAGS-target-libstdc++-v3:
40243 @if target-libstdc++-v3
40244 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
40245
40246 TAGS-target-libstdc++-v3: \
40247 configure-target-libstdc++-v3
40248 @: $(MAKE); $(unstage)
40249 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40250 r=`${PWD_COMMAND}`; export r; \
40251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40252 $(RAW_CXX_TARGET_EXPORTS) \
40253 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
40254 for flag in $(EXTRA_TARGET_FLAGS); do \
40255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40256 done; \
40257 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40260 "RANLIB=$${RANLIB}" \
40261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40262 TAGS) \
40263 || exit 1
40264
40265 @endif target-libstdc++-v3
40266
40267 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
40268 maybe-install-info-target-libstdc++-v3:
40269 @if target-libstdc++-v3
40270 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
40271
40272 install-info-target-libstdc++-v3: \
40273 configure-target-libstdc++-v3 \
40274 info-target-libstdc++-v3
40275 @: $(MAKE); $(unstage)
40276 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40277 r=`${PWD_COMMAND}`; export r; \
40278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40279 $(RAW_CXX_TARGET_EXPORTS) \
40280 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40281 for flag in $(EXTRA_TARGET_FLAGS); do \
40282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40283 done; \
40284 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40287 "RANLIB=$${RANLIB}" \
40288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40289 install-info) \
40290 || exit 1
40291
40292 @endif target-libstdc++-v3
40293
40294 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
40295 maybe-install-pdf-target-libstdc++-v3:
40296 @if target-libstdc++-v3
40297 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
40298
40299 install-pdf-target-libstdc++-v3: \
40300 configure-target-libstdc++-v3 \
40301 pdf-target-libstdc++-v3
40302 @: $(MAKE); $(unstage)
40303 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40304 r=`${PWD_COMMAND}`; export r; \
40305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40306 $(RAW_CXX_TARGET_EXPORTS) \
40307 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40308 for flag in $(EXTRA_TARGET_FLAGS); do \
40309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40310 done; \
40311 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40314 "RANLIB=$${RANLIB}" \
40315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40316 install-pdf) \
40317 || exit 1
40318
40319 @endif target-libstdc++-v3
40320
40321 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
40322 maybe-install-html-target-libstdc++-v3:
40323 @if target-libstdc++-v3
40324 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
40325
40326 install-html-target-libstdc++-v3: \
40327 configure-target-libstdc++-v3 \
40328 html-target-libstdc++-v3
40329 @: $(MAKE); $(unstage)
40330 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40331 r=`${PWD_COMMAND}`; export r; \
40332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40333 $(RAW_CXX_TARGET_EXPORTS) \
40334 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40335 for flag in $(EXTRA_TARGET_FLAGS); do \
40336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40337 done; \
40338 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40341 "RANLIB=$${RANLIB}" \
40342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40343 install-html) \
40344 || exit 1
40345
40346 @endif target-libstdc++-v3
40347
40348 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
40349 maybe-installcheck-target-libstdc++-v3:
40350 @if target-libstdc++-v3
40351 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
40352
40353 installcheck-target-libstdc++-v3: \
40354 configure-target-libstdc++-v3
40355 @: $(MAKE); $(unstage)
40356 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40357 r=`${PWD_COMMAND}`; export r; \
40358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40359 $(RAW_CXX_TARGET_EXPORTS) \
40360 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
40361 for flag in $(EXTRA_TARGET_FLAGS); do \
40362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40363 done; \
40364 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40367 "RANLIB=$${RANLIB}" \
40368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40369 installcheck) \
40370 || exit 1
40371
40372 @endif target-libstdc++-v3
40373
40374 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
40375 maybe-mostlyclean-target-libstdc++-v3:
40376 @if target-libstdc++-v3
40377 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
40378
40379 mostlyclean-target-libstdc++-v3:
40380 @: $(MAKE); $(unstage)
40381 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40382 r=`${PWD_COMMAND}`; export r; \
40383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40384 $(RAW_CXX_TARGET_EXPORTS) \
40385 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40386 for flag in $(EXTRA_TARGET_FLAGS); do \
40387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40388 done; \
40389 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40392 "RANLIB=$${RANLIB}" \
40393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40394 mostlyclean) \
40395 || exit 1
40396
40397 @endif target-libstdc++-v3
40398
40399 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
40400 maybe-clean-target-libstdc++-v3:
40401 @if target-libstdc++-v3
40402 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
40403
40404 clean-target-libstdc++-v3:
40405 @: $(MAKE); $(unstage)
40406 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40407 r=`${PWD_COMMAND}`; export r; \
40408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40409 $(RAW_CXX_TARGET_EXPORTS) \
40410 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40411 for flag in $(EXTRA_TARGET_FLAGS); do \
40412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40413 done; \
40414 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40417 "RANLIB=$${RANLIB}" \
40418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40419 clean) \
40420 || exit 1
40421
40422 @endif target-libstdc++-v3
40423
40424 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
40425 maybe-distclean-target-libstdc++-v3:
40426 @if target-libstdc++-v3
40427 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
40428
40429 distclean-target-libstdc++-v3:
40430 @: $(MAKE); $(unstage)
40431 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40432 r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(RAW_CXX_TARGET_EXPORTS) \
40435 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40436 for flag in $(EXTRA_TARGET_FLAGS); do \
40437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 done; \
40439 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40442 "RANLIB=$${RANLIB}" \
40443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40444 distclean) \
40445 || exit 1
40446
40447 @endif target-libstdc++-v3
40448
40449 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
40450 maybe-maintainer-clean-target-libstdc++-v3:
40451 @if target-libstdc++-v3
40452 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
40453
40454 maintainer-clean-target-libstdc++-v3:
40455 @: $(MAKE); $(unstage)
40456 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40457 r=`${PWD_COMMAND}`; export r; \
40458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40459 $(RAW_CXX_TARGET_EXPORTS) \
40460 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40461 for flag in $(EXTRA_TARGET_FLAGS); do \
40462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40463 done; \
40464 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40467 "RANLIB=$${RANLIB}" \
40468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40469 maintainer-clean) \
40470 || exit 1
40471
40472 @endif target-libstdc++-v3
40473
40474
40475
40476
40477
40478 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
40479 maybe-configure-target-libsanitizer:
40480 @if gcc-bootstrap
40481 configure-target-libsanitizer: stage_current
40482 @endif gcc-bootstrap
40483 @if target-libsanitizer
40484 maybe-configure-target-libsanitizer: configure-target-libsanitizer
40485 configure-target-libsanitizer:
40486 @r=`${PWD_COMMAND}`; export r; \
40487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40488 echo "Checking multilib configuration for libsanitizer..."; \
40489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40490 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40491 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40492 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40493 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40494 else \
40495 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40496 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40497 fi; \
40498 else \
40499 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40500 fi; \
40501 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40502 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40503 $(RAW_CXX_TARGET_EXPORTS) \
40504 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
40505 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
40506 case $(srcdir) in \
40507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40508 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40510 esac; \
40511 module_srcdir=libsanitizer; \
40512 rm -f no-such-file || : ; \
40513 CONFIG_SITE=no-such-file $(SHELL) \
40514 $$s/$$module_srcdir/configure \
40515 --srcdir=$${topdir}/$$module_srcdir \
40516 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40517 --target=${target_alias} \
40518 || exit 1
40519 @endif target-libsanitizer
40520
40521
40522
40523 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
40524 maybe-configure-stage1-target-libsanitizer:
40525 @if target-libsanitizer-bootstrap
40526 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
40527 configure-stage1-target-libsanitizer:
40528 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40529 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40530 @r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 TFLAGS="$(STAGE1_TFLAGS)"; \
40533 echo "Checking multilib configuration for libsanitizer..."; \
40534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40535 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40536 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40537 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40538 else \
40539 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40540 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40541 fi; \
40542 else \
40543 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40544 fi; \
40545 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40546 $(RAW_CXX_TARGET_EXPORTS) \
40547 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40548 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40549 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40550 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
40551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40552 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40553 case $(srcdir) in \
40554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40555 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40557 esac; \
40558 module_srcdir=libsanitizer; \
40559 $(SHELL) $$s/$$module_srcdir/configure \
40560 --srcdir=$${topdir}/$$module_srcdir \
40561 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40562 --target=${target_alias} \
40563 \
40564 $(STAGE1_CONFIGURE_FLAGS)
40565 @endif target-libsanitizer-bootstrap
40566
40567 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
40568 maybe-configure-stage2-target-libsanitizer:
40569 @if target-libsanitizer-bootstrap
40570 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
40571 configure-stage2-target-libsanitizer:
40572 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40573 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40574 @r=`${PWD_COMMAND}`; export r; \
40575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40576 TFLAGS="$(STAGE2_TFLAGS)"; \
40577 echo "Checking multilib configuration for libsanitizer..."; \
40578 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40579 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40580 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40581 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40582 else \
40583 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40584 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40585 fi; \
40586 else \
40587 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40588 fi; \
40589 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40590 $(RAW_CXX_TARGET_EXPORTS) \
40591 \
40592 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40593 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40594 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40595 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
40596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40597 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40598 case $(srcdir) in \
40599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40600 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40602 esac; \
40603 module_srcdir=libsanitizer; \
40604 $(SHELL) $$s/$$module_srcdir/configure \
40605 --srcdir=$${topdir}/$$module_srcdir \
40606 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40607 --target=${target_alias} \
40608 --with-build-libsubdir=$(HOST_SUBDIR) \
40609 $(STAGE2_CONFIGURE_FLAGS)
40610 @endif target-libsanitizer-bootstrap
40611
40612 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
40613 maybe-configure-stage3-target-libsanitizer:
40614 @if target-libsanitizer-bootstrap
40615 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
40616 configure-stage3-target-libsanitizer:
40617 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40618 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40619 @r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 TFLAGS="$(STAGE3_TFLAGS)"; \
40622 echo "Checking multilib configuration for libsanitizer..."; \
40623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40624 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40625 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40626 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40627 else \
40628 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40629 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40630 fi; \
40631 else \
40632 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40633 fi; \
40634 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40635 $(RAW_CXX_TARGET_EXPORTS) \
40636 \
40637 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40640 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
40641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40642 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40643 case $(srcdir) in \
40644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40645 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40647 esac; \
40648 module_srcdir=libsanitizer; \
40649 $(SHELL) $$s/$$module_srcdir/configure \
40650 --srcdir=$${topdir}/$$module_srcdir \
40651 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40652 --target=${target_alias} \
40653 --with-build-libsubdir=$(HOST_SUBDIR) \
40654 $(STAGE3_CONFIGURE_FLAGS)
40655 @endif target-libsanitizer-bootstrap
40656
40657 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
40658 maybe-configure-stage4-target-libsanitizer:
40659 @if target-libsanitizer-bootstrap
40660 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
40661 configure-stage4-target-libsanitizer:
40662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40663 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40664 @r=`${PWD_COMMAND}`; export r; \
40665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40666 TFLAGS="$(STAGE4_TFLAGS)"; \
40667 echo "Checking multilib configuration for libsanitizer..."; \
40668 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40669 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40670 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40671 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40672 else \
40673 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40674 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40675 fi; \
40676 else \
40677 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40678 fi; \
40679 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40680 $(RAW_CXX_TARGET_EXPORTS) \
40681 \
40682 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40683 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40684 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40685 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
40686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40687 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40688 case $(srcdir) in \
40689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40690 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40692 esac; \
40693 module_srcdir=libsanitizer; \
40694 $(SHELL) $$s/$$module_srcdir/configure \
40695 --srcdir=$${topdir}/$$module_srcdir \
40696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40697 --target=${target_alias} \
40698 --with-build-libsubdir=$(HOST_SUBDIR) \
40699 $(STAGE4_CONFIGURE_FLAGS)
40700 @endif target-libsanitizer-bootstrap
40701
40702 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
40703 maybe-configure-stageprofile-target-libsanitizer:
40704 @if target-libsanitizer-bootstrap
40705 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
40706 configure-stageprofile-target-libsanitizer:
40707 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40708 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40709 @r=`${PWD_COMMAND}`; export r; \
40710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40711 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40712 echo "Checking multilib configuration for libsanitizer..."; \
40713 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40714 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40715 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40716 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40717 else \
40718 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40719 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40720 fi; \
40721 else \
40722 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40723 fi; \
40724 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40725 $(RAW_CXX_TARGET_EXPORTS) \
40726 \
40727 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40730 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
40731 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40732 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40733 case $(srcdir) in \
40734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40735 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40737 esac; \
40738 module_srcdir=libsanitizer; \
40739 $(SHELL) $$s/$$module_srcdir/configure \
40740 --srcdir=$${topdir}/$$module_srcdir \
40741 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40742 --target=${target_alias} \
40743 --with-build-libsubdir=$(HOST_SUBDIR) \
40744 $(STAGEprofile_CONFIGURE_FLAGS)
40745 @endif target-libsanitizer-bootstrap
40746
40747 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
40748 maybe-configure-stagetrain-target-libsanitizer:
40749 @if target-libsanitizer-bootstrap
40750 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
40751 configure-stagetrain-target-libsanitizer:
40752 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40753 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40754 @r=`${PWD_COMMAND}`; export r; \
40755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40756 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40757 echo "Checking multilib configuration for libsanitizer..."; \
40758 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40759 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40760 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40761 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40762 else \
40763 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40764 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40765 fi; \
40766 else \
40767 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40768 fi; \
40769 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40770 $(RAW_CXX_TARGET_EXPORTS) \
40771 \
40772 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40773 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40774 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40775 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
40776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40777 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40778 case $(srcdir) in \
40779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40780 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40782 esac; \
40783 module_srcdir=libsanitizer; \
40784 $(SHELL) $$s/$$module_srcdir/configure \
40785 --srcdir=$${topdir}/$$module_srcdir \
40786 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40787 --target=${target_alias} \
40788 --with-build-libsubdir=$(HOST_SUBDIR) \
40789 $(STAGEtrain_CONFIGURE_FLAGS)
40790 @endif target-libsanitizer-bootstrap
40791
40792 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
40793 maybe-configure-stagefeedback-target-libsanitizer:
40794 @if target-libsanitizer-bootstrap
40795 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
40796 configure-stagefeedback-target-libsanitizer:
40797 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40798 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40799 @r=`${PWD_COMMAND}`; export r; \
40800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40801 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40802 echo "Checking multilib configuration for libsanitizer..."; \
40803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40804 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40805 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40806 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40807 else \
40808 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40809 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40810 fi; \
40811 else \
40812 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40813 fi; \
40814 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40815 $(RAW_CXX_TARGET_EXPORTS) \
40816 \
40817 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40818 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40819 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40820 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
40821 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40822 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40823 case $(srcdir) in \
40824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40825 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40827 esac; \
40828 module_srcdir=libsanitizer; \
40829 $(SHELL) $$s/$$module_srcdir/configure \
40830 --srcdir=$${topdir}/$$module_srcdir \
40831 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40832 --target=${target_alias} \
40833 --with-build-libsubdir=$(HOST_SUBDIR) \
40834 $(STAGEfeedback_CONFIGURE_FLAGS)
40835 @endif target-libsanitizer-bootstrap
40836
40837 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
40838 maybe-configure-stageautoprofile-target-libsanitizer:
40839 @if target-libsanitizer-bootstrap
40840 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
40841 configure-stageautoprofile-target-libsanitizer:
40842 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40844 @r=`${PWD_COMMAND}`; export r; \
40845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40846 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40847 echo "Checking multilib configuration for libsanitizer..."; \
40848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40849 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40850 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40851 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40852 else \
40853 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40854 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40855 fi; \
40856 else \
40857 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40858 fi; \
40859 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40860 $(RAW_CXX_TARGET_EXPORTS) \
40861 \
40862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40865 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
40866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40867 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40868 case $(srcdir) in \
40869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40870 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40872 esac; \
40873 module_srcdir=libsanitizer; \
40874 $(SHELL) $$s/$$module_srcdir/configure \
40875 --srcdir=$${topdir}/$$module_srcdir \
40876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40877 --target=${target_alias} \
40878 --with-build-libsubdir=$(HOST_SUBDIR) \
40879 $(STAGEautoprofile_CONFIGURE_FLAGS)
40880 @endif target-libsanitizer-bootstrap
40881
40882 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
40883 maybe-configure-stageautofeedback-target-libsanitizer:
40884 @if target-libsanitizer-bootstrap
40885 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
40886 configure-stageautofeedback-target-libsanitizer:
40887 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40889 @r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40892 echo "Checking multilib configuration for libsanitizer..."; \
40893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40894 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40895 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40896 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40897 else \
40898 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40899 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40900 fi; \
40901 else \
40902 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40903 fi; \
40904 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40905 $(RAW_CXX_TARGET_EXPORTS) \
40906 \
40907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40910 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
40911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40912 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
40913 case $(srcdir) in \
40914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40915 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40917 esac; \
40918 module_srcdir=libsanitizer; \
40919 $(SHELL) $$s/$$module_srcdir/configure \
40920 --srcdir=$${topdir}/$$module_srcdir \
40921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40922 --target=${target_alias} \
40923 --with-build-libsubdir=$(HOST_SUBDIR) \
40924 $(STAGEautofeedback_CONFIGURE_FLAGS)
40925 @endif target-libsanitizer-bootstrap
40926
40927
40928
40929
40930
40931 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
40932 maybe-all-target-libsanitizer:
40933 @if gcc-bootstrap
40934 all-target-libsanitizer: stage_current
40935 @endif gcc-bootstrap
40936 @if target-libsanitizer
40937 TARGET-target-libsanitizer=all
40938 maybe-all-target-libsanitizer: all-target-libsanitizer
40939 all-target-libsanitizer: configure-target-libsanitizer
40940 @r=`${PWD_COMMAND}`; export r; \
40941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40942 $(RAW_CXX_TARGET_EXPORTS) \
40943 (cd $(TARGET_SUBDIR)/libsanitizer && \
40944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40945 $(TARGET-target-libsanitizer))
40946 @endif target-libsanitizer
40947
40948
40949
40950 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
40951 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
40952 maybe-all-stage1-target-libsanitizer:
40953 maybe-clean-stage1-target-libsanitizer:
40954 @if target-libsanitizer-bootstrap
40955 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
40956 all-stage1: all-stage1-target-libsanitizer
40957 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
40958 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
40959 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40960 @r=`${PWD_COMMAND}`; export r; \
40961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40962 TFLAGS="$(STAGE1_TFLAGS)"; \
40963 $(RAW_CXX_TARGET_EXPORTS) \
40964 cd $(TARGET_SUBDIR)/libsanitizer && \
40965 \
40966 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40967 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40968 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40969 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40973 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40974 \
40975 TFLAGS="$(STAGE1_TFLAGS)" \
40976 $(TARGET-stage1-target-libsanitizer)
40977
40978 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
40979 clean-stage1: clean-stage1-target-libsanitizer
40980 clean-stage1-target-libsanitizer:
40981 @if [ $(current_stage) = stage1 ]; then \
40982 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40983 else \
40984 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
40985 $(MAKE) stage1-start; \
40986 fi; \
40987 cd $(TARGET_SUBDIR)/libsanitizer && \
40988 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40989 clean
40990 @endif target-libsanitizer-bootstrap
40991
40992
40993 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
40994 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
40995 maybe-all-stage2-target-libsanitizer:
40996 maybe-clean-stage2-target-libsanitizer:
40997 @if target-libsanitizer-bootstrap
40998 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
40999 all-stage2: all-stage2-target-libsanitizer
41000 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
41001 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41002 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41003 @r=`${PWD_COMMAND}`; export r; \
41004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41005 TFLAGS="$(STAGE2_TFLAGS)"; \
41006 $(RAW_CXX_TARGET_EXPORTS) \
41007 \
41008 cd $(TARGET_SUBDIR)/libsanitizer && \
41009 \
41010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41011 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41012 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41013 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41014 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41015 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41016 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41017 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41018 TFLAGS="$(STAGE2_TFLAGS)" \
41019 $(TARGET-stage2-target-libsanitizer)
41020
41021 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
41022 clean-stage2: clean-stage2-target-libsanitizer
41023 clean-stage2-target-libsanitizer:
41024 @if [ $(current_stage) = stage2 ]; then \
41025 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41026 else \
41027 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
41028 $(MAKE) stage2-start; \
41029 fi; \
41030 cd $(TARGET_SUBDIR)/libsanitizer && \
41031 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41032 @endif target-libsanitizer-bootstrap
41033
41034
41035 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
41036 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
41037 maybe-all-stage3-target-libsanitizer:
41038 maybe-clean-stage3-target-libsanitizer:
41039 @if target-libsanitizer-bootstrap
41040 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
41041 all-stage3: all-stage3-target-libsanitizer
41042 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
41043 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41044 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41045 @r=`${PWD_COMMAND}`; export r; \
41046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41047 TFLAGS="$(STAGE3_TFLAGS)"; \
41048 $(RAW_CXX_TARGET_EXPORTS) \
41049 \
41050 cd $(TARGET_SUBDIR)/libsanitizer && \
41051 \
41052 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41053 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41059 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41060 TFLAGS="$(STAGE3_TFLAGS)" \
41061 $(TARGET-stage3-target-libsanitizer)
41062
41063 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
41064 clean-stage3: clean-stage3-target-libsanitizer
41065 clean-stage3-target-libsanitizer:
41066 @if [ $(current_stage) = stage3 ]; then \
41067 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41068 else \
41069 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
41070 $(MAKE) stage3-start; \
41071 fi; \
41072 cd $(TARGET_SUBDIR)/libsanitizer && \
41073 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41074 @endif target-libsanitizer-bootstrap
41075
41076
41077 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
41078 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
41079 maybe-all-stage4-target-libsanitizer:
41080 maybe-clean-stage4-target-libsanitizer:
41081 @if target-libsanitizer-bootstrap
41082 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
41083 all-stage4: all-stage4-target-libsanitizer
41084 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
41085 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
41086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41087 @r=`${PWD_COMMAND}`; export r; \
41088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41089 TFLAGS="$(STAGE4_TFLAGS)"; \
41090 $(RAW_CXX_TARGET_EXPORTS) \
41091 \
41092 cd $(TARGET_SUBDIR)/libsanitizer && \
41093 \
41094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41095 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41096 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41097 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41101 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41102 TFLAGS="$(STAGE4_TFLAGS)" \
41103 $(TARGET-stage4-target-libsanitizer)
41104
41105 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
41106 clean-stage4: clean-stage4-target-libsanitizer
41107 clean-stage4-target-libsanitizer:
41108 @if [ $(current_stage) = stage4 ]; then \
41109 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41110 else \
41111 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
41112 $(MAKE) stage4-start; \
41113 fi; \
41114 cd $(TARGET_SUBDIR)/libsanitizer && \
41115 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41116 @endif target-libsanitizer-bootstrap
41117
41118
41119 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
41120 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
41121 maybe-all-stageprofile-target-libsanitizer:
41122 maybe-clean-stageprofile-target-libsanitizer:
41123 @if target-libsanitizer-bootstrap
41124 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
41125 all-stageprofile: all-stageprofile-target-libsanitizer
41126 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41127 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
41128 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41129 @r=`${PWD_COMMAND}`; export r; \
41130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41131 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41132 $(RAW_CXX_TARGET_EXPORTS) \
41133 \
41134 cd $(TARGET_SUBDIR)/libsanitizer && \
41135 \
41136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41137 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41143 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41144 TFLAGS="$(STAGEprofile_TFLAGS)" \
41145 $(TARGET-stageprofile-target-libsanitizer)
41146
41147 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
41148 clean-stageprofile: clean-stageprofile-target-libsanitizer
41149 clean-stageprofile-target-libsanitizer:
41150 @if [ $(current_stage) = stageprofile ]; then \
41151 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41152 else \
41153 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
41154 $(MAKE) stageprofile-start; \
41155 fi; \
41156 cd $(TARGET_SUBDIR)/libsanitizer && \
41157 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41158 @endif target-libsanitizer-bootstrap
41159
41160
41161 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
41162 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
41163 maybe-all-stagetrain-target-libsanitizer:
41164 maybe-clean-stagetrain-target-libsanitizer:
41165 @if target-libsanitizer-bootstrap
41166 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
41167 all-stagetrain: all-stagetrain-target-libsanitizer
41168 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
41169 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
41170 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41171 @r=`${PWD_COMMAND}`; export r; \
41172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41173 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41174 $(RAW_CXX_TARGET_EXPORTS) \
41175 \
41176 cd $(TARGET_SUBDIR)/libsanitizer && \
41177 \
41178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41179 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41180 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41181 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41185 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41186 TFLAGS="$(STAGEtrain_TFLAGS)" \
41187 $(TARGET-stagetrain-target-libsanitizer)
41188
41189 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
41190 clean-stagetrain: clean-stagetrain-target-libsanitizer
41191 clean-stagetrain-target-libsanitizer:
41192 @if [ $(current_stage) = stagetrain ]; then \
41193 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41194 else \
41195 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
41196 $(MAKE) stagetrain-start; \
41197 fi; \
41198 cd $(TARGET_SUBDIR)/libsanitizer && \
41199 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41200 @endif target-libsanitizer-bootstrap
41201
41202
41203 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
41204 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
41205 maybe-all-stagefeedback-target-libsanitizer:
41206 maybe-clean-stagefeedback-target-libsanitizer:
41207 @if target-libsanitizer-bootstrap
41208 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
41209 all-stagefeedback: all-stagefeedback-target-libsanitizer
41210 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41211 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
41212 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41213 @r=`${PWD_COMMAND}`; export r; \
41214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41215 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41216 $(RAW_CXX_TARGET_EXPORTS) \
41217 \
41218 cd $(TARGET_SUBDIR)/libsanitizer && \
41219 \
41220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41221 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41222 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41223 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41227 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41228 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41229 $(TARGET-stagefeedback-target-libsanitizer)
41230
41231 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
41232 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
41233 clean-stagefeedback-target-libsanitizer:
41234 @if [ $(current_stage) = stagefeedback ]; then \
41235 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41236 else \
41237 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
41238 $(MAKE) stagefeedback-start; \
41239 fi; \
41240 cd $(TARGET_SUBDIR)/libsanitizer && \
41241 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41242 @endif target-libsanitizer-bootstrap
41243
41244
41245 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
41246 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
41247 maybe-all-stageautoprofile-target-libsanitizer:
41248 maybe-clean-stageautoprofile-target-libsanitizer:
41249 @if target-libsanitizer-bootstrap
41250 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
41251 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
41252 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41253 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
41254 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41255 @r=`${PWD_COMMAND}`; export r; \
41256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41257 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41258 $(RAW_CXX_TARGET_EXPORTS) \
41259 \
41260 cd $(TARGET_SUBDIR)/libsanitizer && \
41261 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41263 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41264 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41265 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41269 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41270 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41271 $(TARGET-stageautoprofile-target-libsanitizer)
41272
41273 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
41274 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
41275 clean-stageautoprofile-target-libsanitizer:
41276 @if [ $(current_stage) = stageautoprofile ]; then \
41277 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41278 else \
41279 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
41280 $(MAKE) stageautoprofile-start; \
41281 fi; \
41282 cd $(TARGET_SUBDIR)/libsanitizer && \
41283 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41284 @endif target-libsanitizer-bootstrap
41285
41286
41287 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
41288 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
41289 maybe-all-stageautofeedback-target-libsanitizer:
41290 maybe-clean-stageautofeedback-target-libsanitizer:
41291 @if target-libsanitizer-bootstrap
41292 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
41293 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
41294 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41295 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
41296 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41297 @r=`${PWD_COMMAND}`; export r; \
41298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41299 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41300 $(RAW_CXX_TARGET_EXPORTS) \
41301 \
41302 cd $(TARGET_SUBDIR)/libsanitizer && \
41303 \
41304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41305 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41306 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41307 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41311 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41312 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41313 $(TARGET-stageautofeedback-target-libsanitizer)
41314
41315 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
41316 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
41317 clean-stageautofeedback-target-libsanitizer:
41318 @if [ $(current_stage) = stageautofeedback ]; then \
41319 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41320 else \
41321 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
41322 $(MAKE) stageautofeedback-start; \
41323 fi; \
41324 cd $(TARGET_SUBDIR)/libsanitizer && \
41325 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41326 @endif target-libsanitizer-bootstrap
41327
41328
41329
41330
41331
41332
41333 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
41334 maybe-check-target-libsanitizer:
41335 @if target-libsanitizer
41336 maybe-check-target-libsanitizer: check-target-libsanitizer
41337
41338 check-target-libsanitizer:
41339 @: $(MAKE); $(unstage)
41340 @r=`${PWD_COMMAND}`; export r; \
41341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41342 $(RAW_CXX_TARGET_EXPORTS) \
41343 (cd $(TARGET_SUBDIR)/libsanitizer && \
41344 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41345
41346 @endif target-libsanitizer
41347
41348 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
41349 maybe-install-target-libsanitizer:
41350 @if target-libsanitizer
41351 maybe-install-target-libsanitizer: install-target-libsanitizer
41352
41353 install-target-libsanitizer: installdirs
41354 @: $(MAKE); $(unstage)
41355 @r=`${PWD_COMMAND}`; export r; \
41356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41357 $(RAW_CXX_TARGET_EXPORTS) \
41358 (cd $(TARGET_SUBDIR)/libsanitizer && \
41359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41360
41361 @endif target-libsanitizer
41362
41363 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
41364 maybe-install-strip-target-libsanitizer:
41365 @if target-libsanitizer
41366 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
41367
41368 install-strip-target-libsanitizer: installdirs
41369 @: $(MAKE); $(unstage)
41370 @r=`${PWD_COMMAND}`; export r; \
41371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41372 $(RAW_CXX_TARGET_EXPORTS) \
41373 (cd $(TARGET_SUBDIR)/libsanitizer && \
41374 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41375
41376 @endif target-libsanitizer
41377
41378 # Other targets (info, dvi, pdf, etc.)
41379
41380 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
41381 maybe-info-target-libsanitizer:
41382 @if target-libsanitizer
41383 maybe-info-target-libsanitizer: info-target-libsanitizer
41384
41385 info-target-libsanitizer: \
41386 configure-target-libsanitizer
41387 @: $(MAKE); $(unstage)
41388 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41389 r=`${PWD_COMMAND}`; export r; \
41390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41391 $(RAW_CXX_TARGET_EXPORTS) \
41392 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
41393 for flag in $(EXTRA_TARGET_FLAGS); do \
41394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41395 done; \
41396 (cd $(TARGET_SUBDIR)/libsanitizer && \
41397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41399 "RANLIB=$${RANLIB}" \
41400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41401 info) \
41402 || exit 1
41403
41404 @endif target-libsanitizer
41405
41406 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
41407 maybe-dvi-target-libsanitizer:
41408 @if target-libsanitizer
41409 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
41410
41411 dvi-target-libsanitizer: \
41412 configure-target-libsanitizer
41413 @: $(MAKE); $(unstage)
41414 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41415 r=`${PWD_COMMAND}`; export r; \
41416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41417 $(RAW_CXX_TARGET_EXPORTS) \
41418 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
41419 for flag in $(EXTRA_TARGET_FLAGS); do \
41420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41421 done; \
41422 (cd $(TARGET_SUBDIR)/libsanitizer && \
41423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41425 "RANLIB=$${RANLIB}" \
41426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41427 dvi) \
41428 || exit 1
41429
41430 @endif target-libsanitizer
41431
41432 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
41433 maybe-pdf-target-libsanitizer:
41434 @if target-libsanitizer
41435 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
41436
41437 pdf-target-libsanitizer: \
41438 configure-target-libsanitizer
41439 @: $(MAKE); $(unstage)
41440 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41441 r=`${PWD_COMMAND}`; export r; \
41442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41443 $(RAW_CXX_TARGET_EXPORTS) \
41444 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
41445 for flag in $(EXTRA_TARGET_FLAGS); do \
41446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41447 done; \
41448 (cd $(TARGET_SUBDIR)/libsanitizer && \
41449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41451 "RANLIB=$${RANLIB}" \
41452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41453 pdf) \
41454 || exit 1
41455
41456 @endif target-libsanitizer
41457
41458 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
41459 maybe-html-target-libsanitizer:
41460 @if target-libsanitizer
41461 maybe-html-target-libsanitizer: html-target-libsanitizer
41462
41463 html-target-libsanitizer: \
41464 configure-target-libsanitizer
41465 @: $(MAKE); $(unstage)
41466 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41467 r=`${PWD_COMMAND}`; export r; \
41468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41469 $(RAW_CXX_TARGET_EXPORTS) \
41470 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
41471 for flag in $(EXTRA_TARGET_FLAGS); do \
41472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41473 done; \
41474 (cd $(TARGET_SUBDIR)/libsanitizer && \
41475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41477 "RANLIB=$${RANLIB}" \
41478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41479 html) \
41480 || exit 1
41481
41482 @endif target-libsanitizer
41483
41484 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
41485 maybe-TAGS-target-libsanitizer:
41486 @if target-libsanitizer
41487 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
41488
41489 TAGS-target-libsanitizer: \
41490 configure-target-libsanitizer
41491 @: $(MAKE); $(unstage)
41492 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41493 r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 $(RAW_CXX_TARGET_EXPORTS) \
41496 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
41497 for flag in $(EXTRA_TARGET_FLAGS); do \
41498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41499 done; \
41500 (cd $(TARGET_SUBDIR)/libsanitizer && \
41501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41503 "RANLIB=$${RANLIB}" \
41504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41505 TAGS) \
41506 || exit 1
41507
41508 @endif target-libsanitizer
41509
41510 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
41511 maybe-install-info-target-libsanitizer:
41512 @if target-libsanitizer
41513 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
41514
41515 install-info-target-libsanitizer: \
41516 configure-target-libsanitizer \
41517 info-target-libsanitizer
41518 @: $(MAKE); $(unstage)
41519 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41520 r=`${PWD_COMMAND}`; export r; \
41521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41522 $(RAW_CXX_TARGET_EXPORTS) \
41523 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
41524 for flag in $(EXTRA_TARGET_FLAGS); do \
41525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41526 done; \
41527 (cd $(TARGET_SUBDIR)/libsanitizer && \
41528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41530 "RANLIB=$${RANLIB}" \
41531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41532 install-info) \
41533 || exit 1
41534
41535 @endif target-libsanitizer
41536
41537 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
41538 maybe-install-pdf-target-libsanitizer:
41539 @if target-libsanitizer
41540 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
41541
41542 install-pdf-target-libsanitizer: \
41543 configure-target-libsanitizer \
41544 pdf-target-libsanitizer
41545 @: $(MAKE); $(unstage)
41546 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41547 r=`${PWD_COMMAND}`; export r; \
41548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41549 $(RAW_CXX_TARGET_EXPORTS) \
41550 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
41551 for flag in $(EXTRA_TARGET_FLAGS); do \
41552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41553 done; \
41554 (cd $(TARGET_SUBDIR)/libsanitizer && \
41555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41557 "RANLIB=$${RANLIB}" \
41558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41559 install-pdf) \
41560 || exit 1
41561
41562 @endif target-libsanitizer
41563
41564 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
41565 maybe-install-html-target-libsanitizer:
41566 @if target-libsanitizer
41567 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
41568
41569 install-html-target-libsanitizer: \
41570 configure-target-libsanitizer \
41571 html-target-libsanitizer
41572 @: $(MAKE); $(unstage)
41573 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41574 r=`${PWD_COMMAND}`; export r; \
41575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41576 $(RAW_CXX_TARGET_EXPORTS) \
41577 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
41578 for flag in $(EXTRA_TARGET_FLAGS); do \
41579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41580 done; \
41581 (cd $(TARGET_SUBDIR)/libsanitizer && \
41582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41584 "RANLIB=$${RANLIB}" \
41585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41586 install-html) \
41587 || exit 1
41588
41589 @endif target-libsanitizer
41590
41591 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
41592 maybe-installcheck-target-libsanitizer:
41593 @if target-libsanitizer
41594 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
41595
41596 installcheck-target-libsanitizer: \
41597 configure-target-libsanitizer
41598 @: $(MAKE); $(unstage)
41599 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41600 r=`${PWD_COMMAND}`; export r; \
41601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41602 $(RAW_CXX_TARGET_EXPORTS) \
41603 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
41604 for flag in $(EXTRA_TARGET_FLAGS); do \
41605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41606 done; \
41607 (cd $(TARGET_SUBDIR)/libsanitizer && \
41608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41610 "RANLIB=$${RANLIB}" \
41611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41612 installcheck) \
41613 || exit 1
41614
41615 @endif target-libsanitizer
41616
41617 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
41618 maybe-mostlyclean-target-libsanitizer:
41619 @if target-libsanitizer
41620 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
41621
41622 mostlyclean-target-libsanitizer:
41623 @: $(MAKE); $(unstage)
41624 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41625 r=`${PWD_COMMAND}`; export r; \
41626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41627 $(RAW_CXX_TARGET_EXPORTS) \
41628 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
41629 for flag in $(EXTRA_TARGET_FLAGS); do \
41630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41631 done; \
41632 (cd $(TARGET_SUBDIR)/libsanitizer && \
41633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41635 "RANLIB=$${RANLIB}" \
41636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41637 mostlyclean) \
41638 || exit 1
41639
41640 @endif target-libsanitizer
41641
41642 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
41643 maybe-clean-target-libsanitizer:
41644 @if target-libsanitizer
41645 maybe-clean-target-libsanitizer: clean-target-libsanitizer
41646
41647 clean-target-libsanitizer:
41648 @: $(MAKE); $(unstage)
41649 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41650 r=`${PWD_COMMAND}`; export r; \
41651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41652 $(RAW_CXX_TARGET_EXPORTS) \
41653 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
41654 for flag in $(EXTRA_TARGET_FLAGS); do \
41655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41656 done; \
41657 (cd $(TARGET_SUBDIR)/libsanitizer && \
41658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41660 "RANLIB=$${RANLIB}" \
41661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41662 clean) \
41663 || exit 1
41664
41665 @endif target-libsanitizer
41666
41667 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
41668 maybe-distclean-target-libsanitizer:
41669 @if target-libsanitizer
41670 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
41671
41672 distclean-target-libsanitizer:
41673 @: $(MAKE); $(unstage)
41674 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41675 r=`${PWD_COMMAND}`; export r; \
41676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41677 $(RAW_CXX_TARGET_EXPORTS) \
41678 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
41679 for flag in $(EXTRA_TARGET_FLAGS); do \
41680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41681 done; \
41682 (cd $(TARGET_SUBDIR)/libsanitizer && \
41683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41685 "RANLIB=$${RANLIB}" \
41686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41687 distclean) \
41688 || exit 1
41689
41690 @endif target-libsanitizer
41691
41692 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
41693 maybe-maintainer-clean-target-libsanitizer:
41694 @if target-libsanitizer
41695 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
41696
41697 maintainer-clean-target-libsanitizer:
41698 @: $(MAKE); $(unstage)
41699 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41700 r=`${PWD_COMMAND}`; export r; \
41701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41702 $(RAW_CXX_TARGET_EXPORTS) \
41703 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
41704 for flag in $(EXTRA_TARGET_FLAGS); do \
41705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41706 done; \
41707 (cd $(TARGET_SUBDIR)/libsanitizer && \
41708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41710 "RANLIB=$${RANLIB}" \
41711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41712 maintainer-clean) \
41713 || exit 1
41714
41715 @endif target-libsanitizer
41716
41717
41718
41719
41720
41721 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
41722 maybe-configure-target-libvtv:
41723 @if gcc-bootstrap
41724 configure-target-libvtv: stage_current
41725 @endif gcc-bootstrap
41726 @if target-libvtv
41727 maybe-configure-target-libvtv: configure-target-libvtv
41728 configure-target-libvtv:
41729 @r=`${PWD_COMMAND}`; export r; \
41730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41731 echo "Checking multilib configuration for libvtv..."; \
41732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41733 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41734 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41735 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41736 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41737 else \
41738 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41739 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41740 fi; \
41741 else \
41742 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41743 fi; \
41744 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41745 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41746 $(RAW_CXX_TARGET_EXPORTS) \
41747 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
41748 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
41749 case $(srcdir) in \
41750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41751 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41753 esac; \
41754 module_srcdir=libvtv; \
41755 rm -f no-such-file || : ; \
41756 CONFIG_SITE=no-such-file $(SHELL) \
41757 $$s/$$module_srcdir/configure \
41758 --srcdir=$${topdir}/$$module_srcdir \
41759 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41760 --target=${target_alias} \
41761 || exit 1
41762 @endif target-libvtv
41763
41764
41765
41766 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
41767 maybe-configure-stage1-target-libvtv:
41768 @if target-libvtv-bootstrap
41769 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
41770 configure-stage1-target-libvtv:
41771 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41772 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41773 @r=`${PWD_COMMAND}`; export r; \
41774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41775 TFLAGS="$(STAGE1_TFLAGS)"; \
41776 echo "Checking multilib configuration for libvtv..."; \
41777 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41778 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41779 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41780 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41781 else \
41782 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41783 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41784 fi; \
41785 else \
41786 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41787 fi; \
41788 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41789 $(RAW_CXX_TARGET_EXPORTS) \
41790 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41791 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41792 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41793 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
41794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41795 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41796 case $(srcdir) in \
41797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41798 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41800 esac; \
41801 module_srcdir=libvtv; \
41802 $(SHELL) $$s/$$module_srcdir/configure \
41803 --srcdir=$${topdir}/$$module_srcdir \
41804 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41805 --target=${target_alias} \
41806 \
41807 $(STAGE1_CONFIGURE_FLAGS)
41808 @endif target-libvtv-bootstrap
41809
41810 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
41811 maybe-configure-stage2-target-libvtv:
41812 @if target-libvtv-bootstrap
41813 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
41814 configure-stage2-target-libvtv:
41815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41816 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41817 @r=`${PWD_COMMAND}`; export r; \
41818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41819 TFLAGS="$(STAGE2_TFLAGS)"; \
41820 echo "Checking multilib configuration for libvtv..."; \
41821 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41822 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41823 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41824 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41825 else \
41826 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41827 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41828 fi; \
41829 else \
41830 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41831 fi; \
41832 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41833 $(RAW_CXX_TARGET_EXPORTS) \
41834 \
41835 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41836 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41837 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41838 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
41839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41840 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41841 case $(srcdir) in \
41842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41843 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41845 esac; \
41846 module_srcdir=libvtv; \
41847 $(SHELL) $$s/$$module_srcdir/configure \
41848 --srcdir=$${topdir}/$$module_srcdir \
41849 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41850 --target=${target_alias} \
41851 --with-build-libsubdir=$(HOST_SUBDIR) \
41852 $(STAGE2_CONFIGURE_FLAGS)
41853 @endif target-libvtv-bootstrap
41854
41855 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
41856 maybe-configure-stage3-target-libvtv:
41857 @if target-libvtv-bootstrap
41858 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
41859 configure-stage3-target-libvtv:
41860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41861 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41862 @r=`${PWD_COMMAND}`; export r; \
41863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41864 TFLAGS="$(STAGE3_TFLAGS)"; \
41865 echo "Checking multilib configuration for libvtv..."; \
41866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41867 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41868 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41869 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41870 else \
41871 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41872 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41873 fi; \
41874 else \
41875 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41876 fi; \
41877 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41878 $(RAW_CXX_TARGET_EXPORTS) \
41879 \
41880 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41881 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41882 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41883 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
41884 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41885 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41886 case $(srcdir) in \
41887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41888 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41890 esac; \
41891 module_srcdir=libvtv; \
41892 $(SHELL) $$s/$$module_srcdir/configure \
41893 --srcdir=$${topdir}/$$module_srcdir \
41894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41895 --target=${target_alias} \
41896 --with-build-libsubdir=$(HOST_SUBDIR) \
41897 $(STAGE3_CONFIGURE_FLAGS)
41898 @endif target-libvtv-bootstrap
41899
41900 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
41901 maybe-configure-stage4-target-libvtv:
41902 @if target-libvtv-bootstrap
41903 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
41904 configure-stage4-target-libvtv:
41905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41906 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41907 @r=`${PWD_COMMAND}`; export r; \
41908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41909 TFLAGS="$(STAGE4_TFLAGS)"; \
41910 echo "Checking multilib configuration for libvtv..."; \
41911 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41912 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41913 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41914 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41915 else \
41916 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41917 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41918 fi; \
41919 else \
41920 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41921 fi; \
41922 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41923 $(RAW_CXX_TARGET_EXPORTS) \
41924 \
41925 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41926 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41927 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41928 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
41929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41930 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41931 case $(srcdir) in \
41932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41933 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41935 esac; \
41936 module_srcdir=libvtv; \
41937 $(SHELL) $$s/$$module_srcdir/configure \
41938 --srcdir=$${topdir}/$$module_srcdir \
41939 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41940 --target=${target_alias} \
41941 --with-build-libsubdir=$(HOST_SUBDIR) \
41942 $(STAGE4_CONFIGURE_FLAGS)
41943 @endif target-libvtv-bootstrap
41944
41945 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
41946 maybe-configure-stageprofile-target-libvtv:
41947 @if target-libvtv-bootstrap
41948 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
41949 configure-stageprofile-target-libvtv:
41950 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41951 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41952 @r=`${PWD_COMMAND}`; export r; \
41953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41954 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41955 echo "Checking multilib configuration for libvtv..."; \
41956 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41957 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41958 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41959 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41960 else \
41961 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41962 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41963 fi; \
41964 else \
41965 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41966 fi; \
41967 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41968 $(RAW_CXX_TARGET_EXPORTS) \
41969 \
41970 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41971 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41972 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41973 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
41974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41975 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41976 case $(srcdir) in \
41977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41978 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41980 esac; \
41981 module_srcdir=libvtv; \
41982 $(SHELL) $$s/$$module_srcdir/configure \
41983 --srcdir=$${topdir}/$$module_srcdir \
41984 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41985 --target=${target_alias} \
41986 --with-build-libsubdir=$(HOST_SUBDIR) \
41987 $(STAGEprofile_CONFIGURE_FLAGS)
41988 @endif target-libvtv-bootstrap
41989
41990 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
41991 maybe-configure-stagetrain-target-libvtv:
41992 @if target-libvtv-bootstrap
41993 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41994 configure-stagetrain-target-libvtv:
41995 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41996 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41997 @r=`${PWD_COMMAND}`; export r; \
41998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41999 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42000 echo "Checking multilib configuration for libvtv..."; \
42001 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42002 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42003 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42004 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42005 else \
42006 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42007 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42008 fi; \
42009 else \
42010 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42011 fi; \
42012 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42013 $(RAW_CXX_TARGET_EXPORTS) \
42014 \
42015 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42016 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42017 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42018 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
42019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42020 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42021 case $(srcdir) in \
42022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42023 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42025 esac; \
42026 module_srcdir=libvtv; \
42027 $(SHELL) $$s/$$module_srcdir/configure \
42028 --srcdir=$${topdir}/$$module_srcdir \
42029 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42030 --target=${target_alias} \
42031 --with-build-libsubdir=$(HOST_SUBDIR) \
42032 $(STAGEtrain_CONFIGURE_FLAGS)
42033 @endif target-libvtv-bootstrap
42034
42035 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
42036 maybe-configure-stagefeedback-target-libvtv:
42037 @if target-libvtv-bootstrap
42038 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42039 configure-stagefeedback-target-libvtv:
42040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42041 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42042 @r=`${PWD_COMMAND}`; export r; \
42043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42045 echo "Checking multilib configuration for libvtv..."; \
42046 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42047 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42048 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42049 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42050 else \
42051 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42052 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42053 fi; \
42054 else \
42055 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42056 fi; \
42057 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42058 $(RAW_CXX_TARGET_EXPORTS) \
42059 \
42060 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42061 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42062 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42063 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
42064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42065 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42066 case $(srcdir) in \
42067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42068 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42070 esac; \
42071 module_srcdir=libvtv; \
42072 $(SHELL) $$s/$$module_srcdir/configure \
42073 --srcdir=$${topdir}/$$module_srcdir \
42074 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42075 --target=${target_alias} \
42076 --with-build-libsubdir=$(HOST_SUBDIR) \
42077 $(STAGEfeedback_CONFIGURE_FLAGS)
42078 @endif target-libvtv-bootstrap
42079
42080 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
42081 maybe-configure-stageautoprofile-target-libvtv:
42082 @if target-libvtv-bootstrap
42083 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42084 configure-stageautoprofile-target-libvtv:
42085 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42086 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42087 @r=`${PWD_COMMAND}`; export r; \
42088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42089 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42090 echo "Checking multilib configuration for libvtv..."; \
42091 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42092 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42093 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42094 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42095 else \
42096 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42097 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42098 fi; \
42099 else \
42100 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42101 fi; \
42102 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42103 $(RAW_CXX_TARGET_EXPORTS) \
42104 \
42105 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42106 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42107 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42108 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
42109 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42110 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42111 case $(srcdir) in \
42112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42113 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42115 esac; \
42116 module_srcdir=libvtv; \
42117 $(SHELL) $$s/$$module_srcdir/configure \
42118 --srcdir=$${topdir}/$$module_srcdir \
42119 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42120 --target=${target_alias} \
42121 --with-build-libsubdir=$(HOST_SUBDIR) \
42122 $(STAGEautoprofile_CONFIGURE_FLAGS)
42123 @endif target-libvtv-bootstrap
42124
42125 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
42126 maybe-configure-stageautofeedback-target-libvtv:
42127 @if target-libvtv-bootstrap
42128 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42129 configure-stageautofeedback-target-libvtv:
42130 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42131 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42132 @r=`${PWD_COMMAND}`; export r; \
42133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42134 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42135 echo "Checking multilib configuration for libvtv..."; \
42136 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42137 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42138 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42139 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42140 else \
42141 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42142 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42143 fi; \
42144 else \
42145 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42146 fi; \
42147 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42148 $(RAW_CXX_TARGET_EXPORTS) \
42149 \
42150 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42151 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42152 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42153 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
42154 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42155 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42156 case $(srcdir) in \
42157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42158 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42160 esac; \
42161 module_srcdir=libvtv; \
42162 $(SHELL) $$s/$$module_srcdir/configure \
42163 --srcdir=$${topdir}/$$module_srcdir \
42164 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42165 --target=${target_alias} \
42166 --with-build-libsubdir=$(HOST_SUBDIR) \
42167 $(STAGEautofeedback_CONFIGURE_FLAGS)
42168 @endif target-libvtv-bootstrap
42169
42170
42171
42172
42173
42174 .PHONY: all-target-libvtv maybe-all-target-libvtv
42175 maybe-all-target-libvtv:
42176 @if gcc-bootstrap
42177 all-target-libvtv: stage_current
42178 @endif gcc-bootstrap
42179 @if target-libvtv
42180 TARGET-target-libvtv=all
42181 maybe-all-target-libvtv: all-target-libvtv
42182 all-target-libvtv: configure-target-libvtv
42183 @r=`${PWD_COMMAND}`; export r; \
42184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42185 $(RAW_CXX_TARGET_EXPORTS) \
42186 (cd $(TARGET_SUBDIR)/libvtv && \
42187 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42188 $(TARGET-target-libvtv))
42189 @endif target-libvtv
42190
42191
42192
42193 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
42194 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
42195 maybe-all-stage1-target-libvtv:
42196 maybe-clean-stage1-target-libvtv:
42197 @if target-libvtv-bootstrap
42198 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
42199 all-stage1: all-stage1-target-libvtv
42200 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
42201 all-stage1-target-libvtv: configure-stage1-target-libvtv
42202 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42203 @r=`${PWD_COMMAND}`; export r; \
42204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42205 TFLAGS="$(STAGE1_TFLAGS)"; \
42206 $(RAW_CXX_TARGET_EXPORTS) \
42207 cd $(TARGET_SUBDIR)/libvtv && \
42208 \
42209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42210 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42211 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42212 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42216 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42217 \
42218 TFLAGS="$(STAGE1_TFLAGS)" \
42219 $(TARGET-stage1-target-libvtv)
42220
42221 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
42222 clean-stage1: clean-stage1-target-libvtv
42223 clean-stage1-target-libvtv:
42224 @if [ $(current_stage) = stage1 ]; then \
42225 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42226 else \
42227 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
42228 $(MAKE) stage1-start; \
42229 fi; \
42230 cd $(TARGET_SUBDIR)/libvtv && \
42231 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42232 clean
42233 @endif target-libvtv-bootstrap
42234
42235
42236 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
42237 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
42238 maybe-all-stage2-target-libvtv:
42239 maybe-clean-stage2-target-libvtv:
42240 @if target-libvtv-bootstrap
42241 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
42242 all-stage2: all-stage2-target-libvtv
42243 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
42244 all-stage2-target-libvtv: configure-stage2-target-libvtv
42245 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42246 @r=`${PWD_COMMAND}`; export r; \
42247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42248 TFLAGS="$(STAGE2_TFLAGS)"; \
42249 $(RAW_CXX_TARGET_EXPORTS) \
42250 \
42251 cd $(TARGET_SUBDIR)/libvtv && \
42252 \
42253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42254 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42255 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42256 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42260 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42261 TFLAGS="$(STAGE2_TFLAGS)" \
42262 $(TARGET-stage2-target-libvtv)
42263
42264 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
42265 clean-stage2: clean-stage2-target-libvtv
42266 clean-stage2-target-libvtv:
42267 @if [ $(current_stage) = stage2 ]; then \
42268 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42269 else \
42270 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
42271 $(MAKE) stage2-start; \
42272 fi; \
42273 cd $(TARGET_SUBDIR)/libvtv && \
42274 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42275 @endif target-libvtv-bootstrap
42276
42277
42278 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
42279 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
42280 maybe-all-stage3-target-libvtv:
42281 maybe-clean-stage3-target-libvtv:
42282 @if target-libvtv-bootstrap
42283 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
42284 all-stage3: all-stage3-target-libvtv
42285 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
42286 all-stage3-target-libvtv: configure-stage3-target-libvtv
42287 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42288 @r=`${PWD_COMMAND}`; export r; \
42289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42290 TFLAGS="$(STAGE3_TFLAGS)"; \
42291 $(RAW_CXX_TARGET_EXPORTS) \
42292 \
42293 cd $(TARGET_SUBDIR)/libvtv && \
42294 \
42295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42296 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42297 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42298 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42302 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42303 TFLAGS="$(STAGE3_TFLAGS)" \
42304 $(TARGET-stage3-target-libvtv)
42305
42306 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
42307 clean-stage3: clean-stage3-target-libvtv
42308 clean-stage3-target-libvtv:
42309 @if [ $(current_stage) = stage3 ]; then \
42310 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42311 else \
42312 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
42313 $(MAKE) stage3-start; \
42314 fi; \
42315 cd $(TARGET_SUBDIR)/libvtv && \
42316 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42317 @endif target-libvtv-bootstrap
42318
42319
42320 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
42321 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
42322 maybe-all-stage4-target-libvtv:
42323 maybe-clean-stage4-target-libvtv:
42324 @if target-libvtv-bootstrap
42325 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
42326 all-stage4: all-stage4-target-libvtv
42327 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
42328 all-stage4-target-libvtv: configure-stage4-target-libvtv
42329 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42330 @r=`${PWD_COMMAND}`; export r; \
42331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42332 TFLAGS="$(STAGE4_TFLAGS)"; \
42333 $(RAW_CXX_TARGET_EXPORTS) \
42334 \
42335 cd $(TARGET_SUBDIR)/libvtv && \
42336 \
42337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42338 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42339 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42340 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42344 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42345 TFLAGS="$(STAGE4_TFLAGS)" \
42346 $(TARGET-stage4-target-libvtv)
42347
42348 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
42349 clean-stage4: clean-stage4-target-libvtv
42350 clean-stage4-target-libvtv:
42351 @if [ $(current_stage) = stage4 ]; then \
42352 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42353 else \
42354 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
42355 $(MAKE) stage4-start; \
42356 fi; \
42357 cd $(TARGET_SUBDIR)/libvtv && \
42358 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42359 @endif target-libvtv-bootstrap
42360
42361
42362 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
42363 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
42364 maybe-all-stageprofile-target-libvtv:
42365 maybe-clean-stageprofile-target-libvtv:
42366 @if target-libvtv-bootstrap
42367 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
42368 all-stageprofile: all-stageprofile-target-libvtv
42369 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
42370 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42371 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42372 @r=`${PWD_COMMAND}`; export r; \
42373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42374 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42375 $(RAW_CXX_TARGET_EXPORTS) \
42376 \
42377 cd $(TARGET_SUBDIR)/libvtv && \
42378 \
42379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42380 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42381 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42382 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42386 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42387 TFLAGS="$(STAGEprofile_TFLAGS)" \
42388 $(TARGET-stageprofile-target-libvtv)
42389
42390 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
42391 clean-stageprofile: clean-stageprofile-target-libvtv
42392 clean-stageprofile-target-libvtv:
42393 @if [ $(current_stage) = stageprofile ]; then \
42394 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42395 else \
42396 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
42397 $(MAKE) stageprofile-start; \
42398 fi; \
42399 cd $(TARGET_SUBDIR)/libvtv && \
42400 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42401 @endif target-libvtv-bootstrap
42402
42403
42404 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
42405 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
42406 maybe-all-stagetrain-target-libvtv:
42407 maybe-clean-stagetrain-target-libvtv:
42408 @if target-libvtv-bootstrap
42409 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
42410 all-stagetrain: all-stagetrain-target-libvtv
42411 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
42412 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42413 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42414 @r=`${PWD_COMMAND}`; export r; \
42415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42416 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42417 $(RAW_CXX_TARGET_EXPORTS) \
42418 \
42419 cd $(TARGET_SUBDIR)/libvtv && \
42420 \
42421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42422 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42428 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42429 TFLAGS="$(STAGEtrain_TFLAGS)" \
42430 $(TARGET-stagetrain-target-libvtv)
42431
42432 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
42433 clean-stagetrain: clean-stagetrain-target-libvtv
42434 clean-stagetrain-target-libvtv:
42435 @if [ $(current_stage) = stagetrain ]; then \
42436 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42437 else \
42438 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
42439 $(MAKE) stagetrain-start; \
42440 fi; \
42441 cd $(TARGET_SUBDIR)/libvtv && \
42442 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42443 @endif target-libvtv-bootstrap
42444
42445
42446 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
42447 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
42448 maybe-all-stagefeedback-target-libvtv:
42449 maybe-clean-stagefeedback-target-libvtv:
42450 @if target-libvtv-bootstrap
42451 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
42452 all-stagefeedback: all-stagefeedback-target-libvtv
42453 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
42454 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42455 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42456 @r=`${PWD_COMMAND}`; export r; \
42457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42458 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42459 $(RAW_CXX_TARGET_EXPORTS) \
42460 \
42461 cd $(TARGET_SUBDIR)/libvtv && \
42462 \
42463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42464 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42470 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42471 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42472 $(TARGET-stagefeedback-target-libvtv)
42473
42474 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
42475 clean-stagefeedback: clean-stagefeedback-target-libvtv
42476 clean-stagefeedback-target-libvtv:
42477 @if [ $(current_stage) = stagefeedback ]; then \
42478 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42479 else \
42480 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
42481 $(MAKE) stagefeedback-start; \
42482 fi; \
42483 cd $(TARGET_SUBDIR)/libvtv && \
42484 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42485 @endif target-libvtv-bootstrap
42486
42487
42488 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
42489 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
42490 maybe-all-stageautoprofile-target-libvtv:
42491 maybe-clean-stageautoprofile-target-libvtv:
42492 @if target-libvtv-bootstrap
42493 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
42494 all-stageautoprofile: all-stageautoprofile-target-libvtv
42495 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
42496 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42497 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42498 @r=`${PWD_COMMAND}`; export r; \
42499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42500 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42501 $(RAW_CXX_TARGET_EXPORTS) \
42502 \
42503 cd $(TARGET_SUBDIR)/libvtv && \
42504 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42506 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42507 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42508 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42512 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42513 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42514 $(TARGET-stageautoprofile-target-libvtv)
42515
42516 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
42517 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
42518 clean-stageautoprofile-target-libvtv:
42519 @if [ $(current_stage) = stageautoprofile ]; then \
42520 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42521 else \
42522 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
42523 $(MAKE) stageautoprofile-start; \
42524 fi; \
42525 cd $(TARGET_SUBDIR)/libvtv && \
42526 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42527 @endif target-libvtv-bootstrap
42528
42529
42530 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
42531 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
42532 maybe-all-stageautofeedback-target-libvtv:
42533 maybe-clean-stageautofeedback-target-libvtv:
42534 @if target-libvtv-bootstrap
42535 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
42536 all-stageautofeedback: all-stageautofeedback-target-libvtv
42537 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
42538 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42539 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42540 @r=`${PWD_COMMAND}`; export r; \
42541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42542 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42543 $(RAW_CXX_TARGET_EXPORTS) \
42544 \
42545 cd $(TARGET_SUBDIR)/libvtv && \
42546 \
42547 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42548 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42549 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42550 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42551 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42552 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42553 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42554 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42555 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
42556 $(TARGET-stageautofeedback-target-libvtv)
42557
42558 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
42559 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
42560 clean-stageautofeedback-target-libvtv:
42561 @if [ $(current_stage) = stageautofeedback ]; then \
42562 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42563 else \
42564 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
42565 $(MAKE) stageautofeedback-start; \
42566 fi; \
42567 cd $(TARGET_SUBDIR)/libvtv && \
42568 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42569 @endif target-libvtv-bootstrap
42570
42571
42572
42573
42574
42575
42576 .PHONY: check-target-libvtv maybe-check-target-libvtv
42577 maybe-check-target-libvtv:
42578 @if target-libvtv
42579 maybe-check-target-libvtv: check-target-libvtv
42580
42581 check-target-libvtv:
42582 @: $(MAKE); $(unstage)
42583 @r=`${PWD_COMMAND}`; export r; \
42584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42585 $(RAW_CXX_TARGET_EXPORTS) \
42586 (cd $(TARGET_SUBDIR)/libvtv && \
42587 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42588
42589 @endif target-libvtv
42590
42591 .PHONY: install-target-libvtv maybe-install-target-libvtv
42592 maybe-install-target-libvtv:
42593 @if target-libvtv
42594 maybe-install-target-libvtv: install-target-libvtv
42595
42596 install-target-libvtv: installdirs
42597 @: $(MAKE); $(unstage)
42598 @r=`${PWD_COMMAND}`; export r; \
42599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42600 $(RAW_CXX_TARGET_EXPORTS) \
42601 (cd $(TARGET_SUBDIR)/libvtv && \
42602 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42603
42604 @endif target-libvtv
42605
42606 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
42607 maybe-install-strip-target-libvtv:
42608 @if target-libvtv
42609 maybe-install-strip-target-libvtv: install-strip-target-libvtv
42610
42611 install-strip-target-libvtv: installdirs
42612 @: $(MAKE); $(unstage)
42613 @r=`${PWD_COMMAND}`; export r; \
42614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42615 $(RAW_CXX_TARGET_EXPORTS) \
42616 (cd $(TARGET_SUBDIR)/libvtv && \
42617 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42618
42619 @endif target-libvtv
42620
42621 # Other targets (info, dvi, pdf, etc.)
42622
42623 .PHONY: maybe-info-target-libvtv info-target-libvtv
42624 maybe-info-target-libvtv:
42625 @if target-libvtv
42626 maybe-info-target-libvtv: info-target-libvtv
42627
42628 info-target-libvtv: \
42629 configure-target-libvtv
42630 @: $(MAKE); $(unstage)
42631 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42632 r=`${PWD_COMMAND}`; export r; \
42633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42634 $(RAW_CXX_TARGET_EXPORTS) \
42635 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
42636 for flag in $(EXTRA_TARGET_FLAGS); do \
42637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42638 done; \
42639 (cd $(TARGET_SUBDIR)/libvtv && \
42640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42642 "RANLIB=$${RANLIB}" \
42643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42644 info) \
42645 || exit 1
42646
42647 @endif target-libvtv
42648
42649 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
42650 maybe-dvi-target-libvtv:
42651 @if target-libvtv
42652 maybe-dvi-target-libvtv: dvi-target-libvtv
42653
42654 dvi-target-libvtv: \
42655 configure-target-libvtv
42656 @: $(MAKE); $(unstage)
42657 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42658 r=`${PWD_COMMAND}`; export r; \
42659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42660 $(RAW_CXX_TARGET_EXPORTS) \
42661 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
42662 for flag in $(EXTRA_TARGET_FLAGS); do \
42663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42664 done; \
42665 (cd $(TARGET_SUBDIR)/libvtv && \
42666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42668 "RANLIB=$${RANLIB}" \
42669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42670 dvi) \
42671 || exit 1
42672
42673 @endif target-libvtv
42674
42675 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
42676 maybe-pdf-target-libvtv:
42677 @if target-libvtv
42678 maybe-pdf-target-libvtv: pdf-target-libvtv
42679
42680 pdf-target-libvtv: \
42681 configure-target-libvtv
42682 @: $(MAKE); $(unstage)
42683 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42684 r=`${PWD_COMMAND}`; export r; \
42685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42686 $(RAW_CXX_TARGET_EXPORTS) \
42687 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
42688 for flag in $(EXTRA_TARGET_FLAGS); do \
42689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42690 done; \
42691 (cd $(TARGET_SUBDIR)/libvtv && \
42692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42694 "RANLIB=$${RANLIB}" \
42695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42696 pdf) \
42697 || exit 1
42698
42699 @endif target-libvtv
42700
42701 .PHONY: maybe-html-target-libvtv html-target-libvtv
42702 maybe-html-target-libvtv:
42703 @if target-libvtv
42704 maybe-html-target-libvtv: html-target-libvtv
42705
42706 html-target-libvtv: \
42707 configure-target-libvtv
42708 @: $(MAKE); $(unstage)
42709 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42710 r=`${PWD_COMMAND}`; export r; \
42711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42712 $(RAW_CXX_TARGET_EXPORTS) \
42713 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
42714 for flag in $(EXTRA_TARGET_FLAGS); do \
42715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42716 done; \
42717 (cd $(TARGET_SUBDIR)/libvtv && \
42718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42720 "RANLIB=$${RANLIB}" \
42721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42722 html) \
42723 || exit 1
42724
42725 @endif target-libvtv
42726
42727 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
42728 maybe-TAGS-target-libvtv:
42729 @if target-libvtv
42730 maybe-TAGS-target-libvtv: TAGS-target-libvtv
42731
42732 TAGS-target-libvtv: \
42733 configure-target-libvtv
42734 @: $(MAKE); $(unstage)
42735 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42736 r=`${PWD_COMMAND}`; export r; \
42737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42738 $(RAW_CXX_TARGET_EXPORTS) \
42739 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
42740 for flag in $(EXTRA_TARGET_FLAGS); do \
42741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42742 done; \
42743 (cd $(TARGET_SUBDIR)/libvtv && \
42744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42746 "RANLIB=$${RANLIB}" \
42747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42748 TAGS) \
42749 || exit 1
42750
42751 @endif target-libvtv
42752
42753 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
42754 maybe-install-info-target-libvtv:
42755 @if target-libvtv
42756 maybe-install-info-target-libvtv: install-info-target-libvtv
42757
42758 install-info-target-libvtv: \
42759 configure-target-libvtv \
42760 info-target-libvtv
42761 @: $(MAKE); $(unstage)
42762 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42763 r=`${PWD_COMMAND}`; export r; \
42764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42765 $(RAW_CXX_TARGET_EXPORTS) \
42766 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
42767 for flag in $(EXTRA_TARGET_FLAGS); do \
42768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42769 done; \
42770 (cd $(TARGET_SUBDIR)/libvtv && \
42771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42773 "RANLIB=$${RANLIB}" \
42774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42775 install-info) \
42776 || exit 1
42777
42778 @endif target-libvtv
42779
42780 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
42781 maybe-install-pdf-target-libvtv:
42782 @if target-libvtv
42783 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
42784
42785 install-pdf-target-libvtv: \
42786 configure-target-libvtv \
42787 pdf-target-libvtv
42788 @: $(MAKE); $(unstage)
42789 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42790 r=`${PWD_COMMAND}`; export r; \
42791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42792 $(RAW_CXX_TARGET_EXPORTS) \
42793 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
42794 for flag in $(EXTRA_TARGET_FLAGS); do \
42795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42796 done; \
42797 (cd $(TARGET_SUBDIR)/libvtv && \
42798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42800 "RANLIB=$${RANLIB}" \
42801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42802 install-pdf) \
42803 || exit 1
42804
42805 @endif target-libvtv
42806
42807 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
42808 maybe-install-html-target-libvtv:
42809 @if target-libvtv
42810 maybe-install-html-target-libvtv: install-html-target-libvtv
42811
42812 install-html-target-libvtv: \
42813 configure-target-libvtv \
42814 html-target-libvtv
42815 @: $(MAKE); $(unstage)
42816 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42817 r=`${PWD_COMMAND}`; export r; \
42818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42819 $(RAW_CXX_TARGET_EXPORTS) \
42820 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
42821 for flag in $(EXTRA_TARGET_FLAGS); do \
42822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42823 done; \
42824 (cd $(TARGET_SUBDIR)/libvtv && \
42825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42827 "RANLIB=$${RANLIB}" \
42828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42829 install-html) \
42830 || exit 1
42831
42832 @endif target-libvtv
42833
42834 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
42835 maybe-installcheck-target-libvtv:
42836 @if target-libvtv
42837 maybe-installcheck-target-libvtv: installcheck-target-libvtv
42838
42839 installcheck-target-libvtv: \
42840 configure-target-libvtv
42841 @: $(MAKE); $(unstage)
42842 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42843 r=`${PWD_COMMAND}`; export r; \
42844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42845 $(RAW_CXX_TARGET_EXPORTS) \
42846 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
42847 for flag in $(EXTRA_TARGET_FLAGS); do \
42848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42849 done; \
42850 (cd $(TARGET_SUBDIR)/libvtv && \
42851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42853 "RANLIB=$${RANLIB}" \
42854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42855 installcheck) \
42856 || exit 1
42857
42858 @endif target-libvtv
42859
42860 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
42861 maybe-mostlyclean-target-libvtv:
42862 @if target-libvtv
42863 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
42864
42865 mostlyclean-target-libvtv:
42866 @: $(MAKE); $(unstage)
42867 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42868 r=`${PWD_COMMAND}`; export r; \
42869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42870 $(RAW_CXX_TARGET_EXPORTS) \
42871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
42872 for flag in $(EXTRA_TARGET_FLAGS); do \
42873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42874 done; \
42875 (cd $(TARGET_SUBDIR)/libvtv && \
42876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42878 "RANLIB=$${RANLIB}" \
42879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42880 mostlyclean) \
42881 || exit 1
42882
42883 @endif target-libvtv
42884
42885 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
42886 maybe-clean-target-libvtv:
42887 @if target-libvtv
42888 maybe-clean-target-libvtv: clean-target-libvtv
42889
42890 clean-target-libvtv:
42891 @: $(MAKE); $(unstage)
42892 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42893 r=`${PWD_COMMAND}`; export r; \
42894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42895 $(RAW_CXX_TARGET_EXPORTS) \
42896 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
42897 for flag in $(EXTRA_TARGET_FLAGS); do \
42898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42899 done; \
42900 (cd $(TARGET_SUBDIR)/libvtv && \
42901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42903 "RANLIB=$${RANLIB}" \
42904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42905 clean) \
42906 || exit 1
42907
42908 @endif target-libvtv
42909
42910 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
42911 maybe-distclean-target-libvtv:
42912 @if target-libvtv
42913 maybe-distclean-target-libvtv: distclean-target-libvtv
42914
42915 distclean-target-libvtv:
42916 @: $(MAKE); $(unstage)
42917 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42918 r=`${PWD_COMMAND}`; export r; \
42919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42920 $(RAW_CXX_TARGET_EXPORTS) \
42921 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
42922 for flag in $(EXTRA_TARGET_FLAGS); do \
42923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42924 done; \
42925 (cd $(TARGET_SUBDIR)/libvtv && \
42926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42928 "RANLIB=$${RANLIB}" \
42929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42930 distclean) \
42931 || exit 1
42932
42933 @endif target-libvtv
42934
42935 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
42936 maybe-maintainer-clean-target-libvtv:
42937 @if target-libvtv
42938 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
42939
42940 maintainer-clean-target-libvtv:
42941 @: $(MAKE); $(unstage)
42942 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42943 r=`${PWD_COMMAND}`; export r; \
42944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42945 $(RAW_CXX_TARGET_EXPORTS) \
42946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
42947 for flag in $(EXTRA_TARGET_FLAGS); do \
42948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42949 done; \
42950 (cd $(TARGET_SUBDIR)/libvtv && \
42951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42953 "RANLIB=$${RANLIB}" \
42954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42955 maintainer-clean) \
42956 || exit 1
42957
42958 @endif target-libvtv
42959
42960
42961
42962
42963
42964 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
42965 maybe-configure-target-liboffloadmic:
42966 @if gcc-bootstrap
42967 configure-target-liboffloadmic: stage_current
42968 @endif gcc-bootstrap
42969 @if target-liboffloadmic
42970 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
42971 configure-target-liboffloadmic:
42972 @: $(MAKE); $(unstage)
42973 @r=`${PWD_COMMAND}`; export r; \
42974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42975 echo "Checking multilib configuration for liboffloadmic..."; \
42976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
42977 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
42978 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
42979 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
42980 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
42981 else \
42982 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
42983 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
42984 fi; \
42985 else \
42986 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
42987 fi; \
42988 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
42989 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
42990 $(NORMAL_TARGET_EXPORTS) \
42991 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
42992 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
42993 case $(srcdir) in \
42994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42995 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
42996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42997 esac; \
42998 module_srcdir=liboffloadmic; \
42999 rm -f no-such-file || : ; \
43000 CONFIG_SITE=no-such-file $(SHELL) \
43001 $$s/$$module_srcdir/configure \
43002 --srcdir=$${topdir}/$$module_srcdir \
43003 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43004 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
43005 || exit 1
43006 @endif target-liboffloadmic
43007
43008
43009
43010
43011
43012 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
43013 maybe-all-target-liboffloadmic:
43014 @if gcc-bootstrap
43015 all-target-liboffloadmic: stage_current
43016 @endif gcc-bootstrap
43017 @if target-liboffloadmic
43018 TARGET-target-liboffloadmic=all
43019 maybe-all-target-liboffloadmic: all-target-liboffloadmic
43020 all-target-liboffloadmic: configure-target-liboffloadmic
43021 @: $(MAKE); $(unstage)
43022 @r=`${PWD_COMMAND}`; export r; \
43023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43024 $(NORMAL_TARGET_EXPORTS) \
43025 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43027 $(TARGET-target-liboffloadmic))
43028 @endif target-liboffloadmic
43029
43030
43031
43032
43033
43034 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
43035 maybe-check-target-liboffloadmic:
43036 @if target-liboffloadmic
43037 maybe-check-target-liboffloadmic: check-target-liboffloadmic
43038
43039 check-target-liboffloadmic:
43040 @: $(MAKE); $(unstage)
43041 @r=`${PWD_COMMAND}`; export r; \
43042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43043 $(NORMAL_TARGET_EXPORTS) \
43044 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43045 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43046
43047 @endif target-liboffloadmic
43048
43049 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
43050 maybe-install-target-liboffloadmic:
43051 @if target-liboffloadmic
43052 maybe-install-target-liboffloadmic: install-target-liboffloadmic
43053
43054 install-target-liboffloadmic: installdirs
43055 @: $(MAKE); $(unstage)
43056 @r=`${PWD_COMMAND}`; export r; \
43057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43058 $(NORMAL_TARGET_EXPORTS) \
43059 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43060 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43061
43062 @endif target-liboffloadmic
43063
43064 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
43065 maybe-install-strip-target-liboffloadmic:
43066 @if target-liboffloadmic
43067 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
43068
43069 install-strip-target-liboffloadmic: installdirs
43070 @: $(MAKE); $(unstage)
43071 @r=`${PWD_COMMAND}`; export r; \
43072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43073 $(NORMAL_TARGET_EXPORTS) \
43074 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43076
43077 @endif target-liboffloadmic
43078
43079 # Other targets (info, dvi, pdf, etc.)
43080
43081 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
43082 maybe-info-target-liboffloadmic:
43083 @if target-liboffloadmic
43084 maybe-info-target-liboffloadmic: info-target-liboffloadmic
43085
43086 info-target-liboffloadmic: \
43087 configure-target-liboffloadmic
43088 @: $(MAKE); $(unstage)
43089 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43090 r=`${PWD_COMMAND}`; export r; \
43091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43092 $(NORMAL_TARGET_EXPORTS) \
43093 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
43094 for flag in $(EXTRA_TARGET_FLAGS); do \
43095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43096 done; \
43097 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43100 "RANLIB=$${RANLIB}" \
43101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43102 info) \
43103 || exit 1
43104
43105 @endif target-liboffloadmic
43106
43107 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
43108 maybe-dvi-target-liboffloadmic:
43109 @if target-liboffloadmic
43110 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
43111
43112 dvi-target-liboffloadmic: \
43113 configure-target-liboffloadmic
43114 @: $(MAKE); $(unstage)
43115 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43116 r=`${PWD_COMMAND}`; export r; \
43117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43118 $(NORMAL_TARGET_EXPORTS) \
43119 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
43120 for flag in $(EXTRA_TARGET_FLAGS); do \
43121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43122 done; \
43123 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43126 "RANLIB=$${RANLIB}" \
43127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43128 dvi) \
43129 || exit 1
43130
43131 @endif target-liboffloadmic
43132
43133 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
43134 maybe-pdf-target-liboffloadmic:
43135 @if target-liboffloadmic
43136 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
43137
43138 pdf-target-liboffloadmic: \
43139 configure-target-liboffloadmic
43140 @: $(MAKE); $(unstage)
43141 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43142 r=`${PWD_COMMAND}`; export r; \
43143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43144 $(NORMAL_TARGET_EXPORTS) \
43145 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43146 for flag in $(EXTRA_TARGET_FLAGS); do \
43147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43148 done; \
43149 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43152 "RANLIB=$${RANLIB}" \
43153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43154 pdf) \
43155 || exit 1
43156
43157 @endif target-liboffloadmic
43158
43159 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
43160 maybe-html-target-liboffloadmic:
43161 @if target-liboffloadmic
43162 maybe-html-target-liboffloadmic: html-target-liboffloadmic
43163
43164 html-target-liboffloadmic: \
43165 configure-target-liboffloadmic
43166 @: $(MAKE); $(unstage)
43167 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43168 r=`${PWD_COMMAND}`; export r; \
43169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43170 $(NORMAL_TARGET_EXPORTS) \
43171 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
43172 for flag in $(EXTRA_TARGET_FLAGS); do \
43173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43174 done; \
43175 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43178 "RANLIB=$${RANLIB}" \
43179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43180 html) \
43181 || exit 1
43182
43183 @endif target-liboffloadmic
43184
43185 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
43186 maybe-TAGS-target-liboffloadmic:
43187 @if target-liboffloadmic
43188 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
43189
43190 TAGS-target-liboffloadmic: \
43191 configure-target-liboffloadmic
43192 @: $(MAKE); $(unstage)
43193 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43194 r=`${PWD_COMMAND}`; export r; \
43195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43196 $(NORMAL_TARGET_EXPORTS) \
43197 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
43198 for flag in $(EXTRA_TARGET_FLAGS); do \
43199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43200 done; \
43201 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43204 "RANLIB=$${RANLIB}" \
43205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43206 TAGS) \
43207 || exit 1
43208
43209 @endif target-liboffloadmic
43210
43211 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
43212 maybe-install-info-target-liboffloadmic:
43213 @if target-liboffloadmic
43214 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
43215
43216 install-info-target-liboffloadmic: \
43217 configure-target-liboffloadmic \
43218 info-target-liboffloadmic
43219 @: $(MAKE); $(unstage)
43220 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43221 r=`${PWD_COMMAND}`; export r; \
43222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43223 $(NORMAL_TARGET_EXPORTS) \
43224 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
43225 for flag in $(EXTRA_TARGET_FLAGS); do \
43226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43227 done; \
43228 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43231 "RANLIB=$${RANLIB}" \
43232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43233 install-info) \
43234 || exit 1
43235
43236 @endif target-liboffloadmic
43237
43238 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
43239 maybe-install-pdf-target-liboffloadmic:
43240 @if target-liboffloadmic
43241 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
43242
43243 install-pdf-target-liboffloadmic: \
43244 configure-target-liboffloadmic \
43245 pdf-target-liboffloadmic
43246 @: $(MAKE); $(unstage)
43247 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43248 r=`${PWD_COMMAND}`; export r; \
43249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43250 $(NORMAL_TARGET_EXPORTS) \
43251 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43252 for flag in $(EXTRA_TARGET_FLAGS); do \
43253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43254 done; \
43255 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43258 "RANLIB=$${RANLIB}" \
43259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43260 install-pdf) \
43261 || exit 1
43262
43263 @endif target-liboffloadmic
43264
43265 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
43266 maybe-install-html-target-liboffloadmic:
43267 @if target-liboffloadmic
43268 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
43269
43270 install-html-target-liboffloadmic: \
43271 configure-target-liboffloadmic \
43272 html-target-liboffloadmic
43273 @: $(MAKE); $(unstage)
43274 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43275 r=`${PWD_COMMAND}`; export r; \
43276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43277 $(NORMAL_TARGET_EXPORTS) \
43278 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
43279 for flag in $(EXTRA_TARGET_FLAGS); do \
43280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43281 done; \
43282 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43285 "RANLIB=$${RANLIB}" \
43286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43287 install-html) \
43288 || exit 1
43289
43290 @endif target-liboffloadmic
43291
43292 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
43293 maybe-installcheck-target-liboffloadmic:
43294 @if target-liboffloadmic
43295 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
43296
43297 installcheck-target-liboffloadmic: \
43298 configure-target-liboffloadmic
43299 @: $(MAKE); $(unstage)
43300 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43301 r=`${PWD_COMMAND}`; export r; \
43302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43303 $(NORMAL_TARGET_EXPORTS) \
43304 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
43305 for flag in $(EXTRA_TARGET_FLAGS); do \
43306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43307 done; \
43308 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43311 "RANLIB=$${RANLIB}" \
43312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43313 installcheck) \
43314 || exit 1
43315
43316 @endif target-liboffloadmic
43317
43318 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
43319 maybe-mostlyclean-target-liboffloadmic:
43320 @if target-liboffloadmic
43321 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
43322
43323 mostlyclean-target-liboffloadmic:
43324 @: $(MAKE); $(unstage)
43325 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43326 r=`${PWD_COMMAND}`; export r; \
43327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43328 $(NORMAL_TARGET_EXPORTS) \
43329 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43330 for flag in $(EXTRA_TARGET_FLAGS); do \
43331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43332 done; \
43333 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43336 "RANLIB=$${RANLIB}" \
43337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43338 mostlyclean) \
43339 || exit 1
43340
43341 @endif target-liboffloadmic
43342
43343 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
43344 maybe-clean-target-liboffloadmic:
43345 @if target-liboffloadmic
43346 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
43347
43348 clean-target-liboffloadmic:
43349 @: $(MAKE); $(unstage)
43350 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43351 r=`${PWD_COMMAND}`; export r; \
43352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43353 $(NORMAL_TARGET_EXPORTS) \
43354 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43355 for flag in $(EXTRA_TARGET_FLAGS); do \
43356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43357 done; \
43358 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43361 "RANLIB=$${RANLIB}" \
43362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43363 clean) \
43364 || exit 1
43365
43366 @endif target-liboffloadmic
43367
43368 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
43369 maybe-distclean-target-liboffloadmic:
43370 @if target-liboffloadmic
43371 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
43372
43373 distclean-target-liboffloadmic:
43374 @: $(MAKE); $(unstage)
43375 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43376 r=`${PWD_COMMAND}`; export r; \
43377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43378 $(NORMAL_TARGET_EXPORTS) \
43379 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43380 for flag in $(EXTRA_TARGET_FLAGS); do \
43381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43382 done; \
43383 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43386 "RANLIB=$${RANLIB}" \
43387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43388 distclean) \
43389 || exit 1
43390
43391 @endif target-liboffloadmic
43392
43393 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
43394 maybe-maintainer-clean-target-liboffloadmic:
43395 @if target-liboffloadmic
43396 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
43397
43398 maintainer-clean-target-liboffloadmic:
43399 @: $(MAKE); $(unstage)
43400 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43401 r=`${PWD_COMMAND}`; export r; \
43402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43403 $(NORMAL_TARGET_EXPORTS) \
43404 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43405 for flag in $(EXTRA_TARGET_FLAGS); do \
43406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43407 done; \
43408 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43411 "RANLIB=$${RANLIB}" \
43412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43413 maintainer-clean) \
43414 || exit 1
43415
43416 @endif target-liboffloadmic
43417
43418
43419
43420
43421
43422 .PHONY: configure-target-libssp maybe-configure-target-libssp
43423 maybe-configure-target-libssp:
43424 @if gcc-bootstrap
43425 configure-target-libssp: stage_current
43426 @endif gcc-bootstrap
43427 @if target-libssp
43428 maybe-configure-target-libssp: configure-target-libssp
43429 configure-target-libssp:
43430 @: $(MAKE); $(unstage)
43431 @r=`${PWD_COMMAND}`; export r; \
43432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43433 echo "Checking multilib configuration for libssp..."; \
43434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43435 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
43436 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43437 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43438 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43439 else \
43440 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43441 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43442 fi; \
43443 else \
43444 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43445 fi; \
43446 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43448 $(NORMAL_TARGET_EXPORTS) \
43449 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43450 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43451 case $(srcdir) in \
43452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43453 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43455 esac; \
43456 module_srcdir=libssp; \
43457 rm -f no-such-file || : ; \
43458 CONFIG_SITE=no-such-file $(SHELL) \
43459 $$s/$$module_srcdir/configure \
43460 --srcdir=$${topdir}/$$module_srcdir \
43461 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43462 --target=${target_alias} \
43463 || exit 1
43464 @endif target-libssp
43465
43466
43467
43468
43469
43470 .PHONY: all-target-libssp maybe-all-target-libssp
43471 maybe-all-target-libssp:
43472 @if gcc-bootstrap
43473 all-target-libssp: stage_current
43474 @endif gcc-bootstrap
43475 @if target-libssp
43476 TARGET-target-libssp=all
43477 maybe-all-target-libssp: all-target-libssp
43478 all-target-libssp: configure-target-libssp
43479 @: $(MAKE); $(unstage)
43480 @r=`${PWD_COMMAND}`; export r; \
43481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43482 $(NORMAL_TARGET_EXPORTS) \
43483 (cd $(TARGET_SUBDIR)/libssp && \
43484 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43485 $(TARGET-target-libssp))
43486 @endif target-libssp
43487
43488
43489
43490
43491
43492 .PHONY: check-target-libssp maybe-check-target-libssp
43493 maybe-check-target-libssp:
43494 @if target-libssp
43495 maybe-check-target-libssp: check-target-libssp
43496
43497 check-target-libssp:
43498 @: $(MAKE); $(unstage)
43499 @r=`${PWD_COMMAND}`; export r; \
43500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43501 $(NORMAL_TARGET_EXPORTS) \
43502 (cd $(TARGET_SUBDIR)/libssp && \
43503 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43504
43505 @endif target-libssp
43506
43507 .PHONY: install-target-libssp maybe-install-target-libssp
43508 maybe-install-target-libssp:
43509 @if target-libssp
43510 maybe-install-target-libssp: install-target-libssp
43511
43512 install-target-libssp: installdirs
43513 @: $(MAKE); $(unstage)
43514 @r=`${PWD_COMMAND}`; export r; \
43515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43516 $(NORMAL_TARGET_EXPORTS) \
43517 (cd $(TARGET_SUBDIR)/libssp && \
43518 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43519
43520 @endif target-libssp
43521
43522 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
43523 maybe-install-strip-target-libssp:
43524 @if target-libssp
43525 maybe-install-strip-target-libssp: install-strip-target-libssp
43526
43527 install-strip-target-libssp: installdirs
43528 @: $(MAKE); $(unstage)
43529 @r=`${PWD_COMMAND}`; export r; \
43530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43531 $(NORMAL_TARGET_EXPORTS) \
43532 (cd $(TARGET_SUBDIR)/libssp && \
43533 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43534
43535 @endif target-libssp
43536
43537 # Other targets (info, dvi, pdf, etc.)
43538
43539 .PHONY: maybe-info-target-libssp info-target-libssp
43540 maybe-info-target-libssp:
43541 @if target-libssp
43542 maybe-info-target-libssp: info-target-libssp
43543
43544 info-target-libssp: \
43545 configure-target-libssp
43546 @: $(MAKE); $(unstage)
43547 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43548 r=`${PWD_COMMAND}`; export r; \
43549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43550 $(NORMAL_TARGET_EXPORTS) \
43551 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
43552 for flag in $(EXTRA_TARGET_FLAGS); do \
43553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43554 done; \
43555 (cd $(TARGET_SUBDIR)/libssp && \
43556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43558 "RANLIB=$${RANLIB}" \
43559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43560 info) \
43561 || exit 1
43562
43563 @endif target-libssp
43564
43565 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
43566 maybe-dvi-target-libssp:
43567 @if target-libssp
43568 maybe-dvi-target-libssp: dvi-target-libssp
43569
43570 dvi-target-libssp: \
43571 configure-target-libssp
43572 @: $(MAKE); $(unstage)
43573 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43574 r=`${PWD_COMMAND}`; export r; \
43575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43576 $(NORMAL_TARGET_EXPORTS) \
43577 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
43578 for flag in $(EXTRA_TARGET_FLAGS); do \
43579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43580 done; \
43581 (cd $(TARGET_SUBDIR)/libssp && \
43582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43584 "RANLIB=$${RANLIB}" \
43585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43586 dvi) \
43587 || exit 1
43588
43589 @endif target-libssp
43590
43591 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
43592 maybe-pdf-target-libssp:
43593 @if target-libssp
43594 maybe-pdf-target-libssp: pdf-target-libssp
43595
43596 pdf-target-libssp: \
43597 configure-target-libssp
43598 @: $(MAKE); $(unstage)
43599 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43600 r=`${PWD_COMMAND}`; export r; \
43601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43602 $(NORMAL_TARGET_EXPORTS) \
43603 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
43604 for flag in $(EXTRA_TARGET_FLAGS); do \
43605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43606 done; \
43607 (cd $(TARGET_SUBDIR)/libssp && \
43608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43610 "RANLIB=$${RANLIB}" \
43611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43612 pdf) \
43613 || exit 1
43614
43615 @endif target-libssp
43616
43617 .PHONY: maybe-html-target-libssp html-target-libssp
43618 maybe-html-target-libssp:
43619 @if target-libssp
43620 maybe-html-target-libssp: html-target-libssp
43621
43622 html-target-libssp: \
43623 configure-target-libssp
43624 @: $(MAKE); $(unstage)
43625 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43626 r=`${PWD_COMMAND}`; export r; \
43627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43628 $(NORMAL_TARGET_EXPORTS) \
43629 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
43630 for flag in $(EXTRA_TARGET_FLAGS); do \
43631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43632 done; \
43633 (cd $(TARGET_SUBDIR)/libssp && \
43634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43636 "RANLIB=$${RANLIB}" \
43637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43638 html) \
43639 || exit 1
43640
43641 @endif target-libssp
43642
43643 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
43644 maybe-TAGS-target-libssp:
43645 @if target-libssp
43646 maybe-TAGS-target-libssp: TAGS-target-libssp
43647
43648 TAGS-target-libssp: \
43649 configure-target-libssp
43650 @: $(MAKE); $(unstage)
43651 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43652 r=`${PWD_COMMAND}`; export r; \
43653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43654 $(NORMAL_TARGET_EXPORTS) \
43655 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
43656 for flag in $(EXTRA_TARGET_FLAGS); do \
43657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43658 done; \
43659 (cd $(TARGET_SUBDIR)/libssp && \
43660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43662 "RANLIB=$${RANLIB}" \
43663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43664 TAGS) \
43665 || exit 1
43666
43667 @endif target-libssp
43668
43669 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
43670 maybe-install-info-target-libssp:
43671 @if target-libssp
43672 maybe-install-info-target-libssp: install-info-target-libssp
43673
43674 install-info-target-libssp: \
43675 configure-target-libssp \
43676 info-target-libssp
43677 @: $(MAKE); $(unstage)
43678 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43679 r=`${PWD_COMMAND}`; export r; \
43680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43681 $(NORMAL_TARGET_EXPORTS) \
43682 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
43683 for flag in $(EXTRA_TARGET_FLAGS); do \
43684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43685 done; \
43686 (cd $(TARGET_SUBDIR)/libssp && \
43687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43689 "RANLIB=$${RANLIB}" \
43690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43691 install-info) \
43692 || exit 1
43693
43694 @endif target-libssp
43695
43696 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
43697 maybe-install-pdf-target-libssp:
43698 @if target-libssp
43699 maybe-install-pdf-target-libssp: install-pdf-target-libssp
43700
43701 install-pdf-target-libssp: \
43702 configure-target-libssp \
43703 pdf-target-libssp
43704 @: $(MAKE); $(unstage)
43705 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43706 r=`${PWD_COMMAND}`; export r; \
43707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43708 $(NORMAL_TARGET_EXPORTS) \
43709 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
43710 for flag in $(EXTRA_TARGET_FLAGS); do \
43711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43712 done; \
43713 (cd $(TARGET_SUBDIR)/libssp && \
43714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43716 "RANLIB=$${RANLIB}" \
43717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43718 install-pdf) \
43719 || exit 1
43720
43721 @endif target-libssp
43722
43723 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
43724 maybe-install-html-target-libssp:
43725 @if target-libssp
43726 maybe-install-html-target-libssp: install-html-target-libssp
43727
43728 install-html-target-libssp: \
43729 configure-target-libssp \
43730 html-target-libssp
43731 @: $(MAKE); $(unstage)
43732 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43733 r=`${PWD_COMMAND}`; export r; \
43734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43735 $(NORMAL_TARGET_EXPORTS) \
43736 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
43737 for flag in $(EXTRA_TARGET_FLAGS); do \
43738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43739 done; \
43740 (cd $(TARGET_SUBDIR)/libssp && \
43741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43743 "RANLIB=$${RANLIB}" \
43744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43745 install-html) \
43746 || exit 1
43747
43748 @endif target-libssp
43749
43750 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
43751 maybe-installcheck-target-libssp:
43752 @if target-libssp
43753 maybe-installcheck-target-libssp: installcheck-target-libssp
43754
43755 installcheck-target-libssp: \
43756 configure-target-libssp
43757 @: $(MAKE); $(unstage)
43758 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43759 r=`${PWD_COMMAND}`; export r; \
43760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43761 $(NORMAL_TARGET_EXPORTS) \
43762 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
43763 for flag in $(EXTRA_TARGET_FLAGS); do \
43764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43765 done; \
43766 (cd $(TARGET_SUBDIR)/libssp && \
43767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43769 "RANLIB=$${RANLIB}" \
43770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43771 installcheck) \
43772 || exit 1
43773
43774 @endif target-libssp
43775
43776 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
43777 maybe-mostlyclean-target-libssp:
43778 @if target-libssp
43779 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
43780
43781 mostlyclean-target-libssp:
43782 @: $(MAKE); $(unstage)
43783 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43784 r=`${PWD_COMMAND}`; export r; \
43785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43786 $(NORMAL_TARGET_EXPORTS) \
43787 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
43788 for flag in $(EXTRA_TARGET_FLAGS); do \
43789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43790 done; \
43791 (cd $(TARGET_SUBDIR)/libssp && \
43792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43794 "RANLIB=$${RANLIB}" \
43795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43796 mostlyclean) \
43797 || exit 1
43798
43799 @endif target-libssp
43800
43801 .PHONY: maybe-clean-target-libssp clean-target-libssp
43802 maybe-clean-target-libssp:
43803 @if target-libssp
43804 maybe-clean-target-libssp: clean-target-libssp
43805
43806 clean-target-libssp:
43807 @: $(MAKE); $(unstage)
43808 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43809 r=`${PWD_COMMAND}`; export r; \
43810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43811 $(NORMAL_TARGET_EXPORTS) \
43812 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
43813 for flag in $(EXTRA_TARGET_FLAGS); do \
43814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43815 done; \
43816 (cd $(TARGET_SUBDIR)/libssp && \
43817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43819 "RANLIB=$${RANLIB}" \
43820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43821 clean) \
43822 || exit 1
43823
43824 @endif target-libssp
43825
43826 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
43827 maybe-distclean-target-libssp:
43828 @if target-libssp
43829 maybe-distclean-target-libssp: distclean-target-libssp
43830
43831 distclean-target-libssp:
43832 @: $(MAKE); $(unstage)
43833 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43834 r=`${PWD_COMMAND}`; export r; \
43835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43836 $(NORMAL_TARGET_EXPORTS) \
43837 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
43838 for flag in $(EXTRA_TARGET_FLAGS); do \
43839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43840 done; \
43841 (cd $(TARGET_SUBDIR)/libssp && \
43842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43844 "RANLIB=$${RANLIB}" \
43845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43846 distclean) \
43847 || exit 1
43848
43849 @endif target-libssp
43850
43851 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
43852 maybe-maintainer-clean-target-libssp:
43853 @if target-libssp
43854 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
43855
43856 maintainer-clean-target-libssp:
43857 @: $(MAKE); $(unstage)
43858 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43859 r=`${PWD_COMMAND}`; export r; \
43860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43861 $(NORMAL_TARGET_EXPORTS) \
43862 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
43863 for flag in $(EXTRA_TARGET_FLAGS); do \
43864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43865 done; \
43866 (cd $(TARGET_SUBDIR)/libssp && \
43867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43869 "RANLIB=$${RANLIB}" \
43870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43871 maintainer-clean) \
43872 || exit 1
43873
43874 @endif target-libssp
43875
43876
43877
43878
43879
43880 .PHONY: configure-target-newlib maybe-configure-target-newlib
43881 maybe-configure-target-newlib:
43882 @if gcc-bootstrap
43883 configure-target-newlib: stage_current
43884 @endif gcc-bootstrap
43885 @if target-newlib
43886 maybe-configure-target-newlib: configure-target-newlib
43887 configure-target-newlib:
43888 @: $(MAKE); $(unstage)
43889 @r=`${PWD_COMMAND}`; export r; \
43890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43891 echo "Checking multilib configuration for newlib..."; \
43892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
43893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
43894 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
43895 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
43896 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
43897 else \
43898 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
43899 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43900 fi; \
43901 else \
43902 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43903 fi; \
43904 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
43905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
43906 $(NORMAL_TARGET_EXPORTS) \
43907 echo Configuring in $(TARGET_SUBDIR)/newlib; \
43908 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
43909 case $(srcdir) in \
43910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43911 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
43912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43913 esac; \
43914 module_srcdir=newlib; \
43915 rm -f no-such-file || : ; \
43916 CONFIG_SITE=no-such-file $(SHELL) \
43917 $$s/$$module_srcdir/configure \
43918 --srcdir=$${topdir}/$$module_srcdir \
43919 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43920 --target=${target_alias} \
43921 || exit 1
43922 @endif target-newlib
43923
43924
43925
43926
43927
43928 .PHONY: all-target-newlib maybe-all-target-newlib
43929 maybe-all-target-newlib:
43930 @if gcc-bootstrap
43931 all-target-newlib: stage_current
43932 @endif gcc-bootstrap
43933 @if target-newlib
43934 TARGET-target-newlib=all
43935 maybe-all-target-newlib: all-target-newlib
43936 all-target-newlib: configure-target-newlib
43937 @: $(MAKE); $(unstage)
43938 @r=`${PWD_COMMAND}`; export r; \
43939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43940 $(NORMAL_TARGET_EXPORTS) \
43941 (cd $(TARGET_SUBDIR)/newlib && \
43942 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43943 $(TARGET-target-newlib))
43944 @endif target-newlib
43945
43946
43947
43948
43949
43950 .PHONY: check-target-newlib maybe-check-target-newlib
43951 maybe-check-target-newlib:
43952 @if target-newlib
43953 maybe-check-target-newlib: check-target-newlib
43954
43955 check-target-newlib:
43956 @: $(MAKE); $(unstage)
43957 @r=`${PWD_COMMAND}`; export r; \
43958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43959 $(NORMAL_TARGET_EXPORTS) \
43960 (cd $(TARGET_SUBDIR)/newlib && \
43961 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43962
43963 @endif target-newlib
43964
43965 .PHONY: install-target-newlib maybe-install-target-newlib
43966 maybe-install-target-newlib:
43967 @if target-newlib
43968 maybe-install-target-newlib: install-target-newlib
43969
43970 install-target-newlib: installdirs
43971 @: $(MAKE); $(unstage)
43972 @r=`${PWD_COMMAND}`; export r; \
43973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43974 $(NORMAL_TARGET_EXPORTS) \
43975 (cd $(TARGET_SUBDIR)/newlib && \
43976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43977
43978 @endif target-newlib
43979
43980 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
43981 maybe-install-strip-target-newlib:
43982 @if target-newlib
43983 maybe-install-strip-target-newlib: install-strip-target-newlib
43984
43985 install-strip-target-newlib: installdirs
43986 @: $(MAKE); $(unstage)
43987 @r=`${PWD_COMMAND}`; export r; \
43988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43989 $(NORMAL_TARGET_EXPORTS) \
43990 (cd $(TARGET_SUBDIR)/newlib && \
43991 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43992
43993 @endif target-newlib
43994
43995 # Other targets (info, dvi, pdf, etc.)
43996
43997 .PHONY: maybe-info-target-newlib info-target-newlib
43998 maybe-info-target-newlib:
43999 @if target-newlib
44000 maybe-info-target-newlib: info-target-newlib
44001
44002 info-target-newlib: \
44003 configure-target-newlib
44004 @: $(MAKE); $(unstage)
44005 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44006 r=`${PWD_COMMAND}`; export r; \
44007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44008 $(NORMAL_TARGET_EXPORTS) \
44009 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
44010 for flag in $(EXTRA_TARGET_FLAGS); do \
44011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44012 done; \
44013 (cd $(TARGET_SUBDIR)/newlib && \
44014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44016 "RANLIB=$${RANLIB}" \
44017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44018 info) \
44019 || exit 1
44020
44021 @endif target-newlib
44022
44023 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44024 maybe-dvi-target-newlib:
44025 @if target-newlib
44026 maybe-dvi-target-newlib: dvi-target-newlib
44027
44028 dvi-target-newlib: \
44029 configure-target-newlib
44030 @: $(MAKE); $(unstage)
44031 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44032 r=`${PWD_COMMAND}`; export r; \
44033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44034 $(NORMAL_TARGET_EXPORTS) \
44035 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
44036 for flag in $(EXTRA_TARGET_FLAGS); do \
44037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44038 done; \
44039 (cd $(TARGET_SUBDIR)/newlib && \
44040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44042 "RANLIB=$${RANLIB}" \
44043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44044 dvi) \
44045 || exit 1
44046
44047 @endif target-newlib
44048
44049 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44050 maybe-pdf-target-newlib:
44051 @if target-newlib
44052 maybe-pdf-target-newlib: pdf-target-newlib
44053
44054 pdf-target-newlib: \
44055 configure-target-newlib
44056 @: $(MAKE); $(unstage)
44057 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44058 r=`${PWD_COMMAND}`; export r; \
44059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44060 $(NORMAL_TARGET_EXPORTS) \
44061 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
44062 for flag in $(EXTRA_TARGET_FLAGS); do \
44063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44064 done; \
44065 (cd $(TARGET_SUBDIR)/newlib && \
44066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44068 "RANLIB=$${RANLIB}" \
44069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44070 pdf) \
44071 || exit 1
44072
44073 @endif target-newlib
44074
44075 .PHONY: maybe-html-target-newlib html-target-newlib
44076 maybe-html-target-newlib:
44077 @if target-newlib
44078 maybe-html-target-newlib: html-target-newlib
44079
44080 html-target-newlib: \
44081 configure-target-newlib
44082 @: $(MAKE); $(unstage)
44083 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44084 r=`${PWD_COMMAND}`; export r; \
44085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44086 $(NORMAL_TARGET_EXPORTS) \
44087 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
44088 for flag in $(EXTRA_TARGET_FLAGS); do \
44089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44090 done; \
44091 (cd $(TARGET_SUBDIR)/newlib && \
44092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44094 "RANLIB=$${RANLIB}" \
44095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44096 html) \
44097 || exit 1
44098
44099 @endif target-newlib
44100
44101 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44102 maybe-TAGS-target-newlib:
44103 @if target-newlib
44104 maybe-TAGS-target-newlib: TAGS-target-newlib
44105
44106 TAGS-target-newlib: \
44107 configure-target-newlib
44108 @: $(MAKE); $(unstage)
44109 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44110 r=`${PWD_COMMAND}`; export r; \
44111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44112 $(NORMAL_TARGET_EXPORTS) \
44113 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
44114 for flag in $(EXTRA_TARGET_FLAGS); do \
44115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44116 done; \
44117 (cd $(TARGET_SUBDIR)/newlib && \
44118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44120 "RANLIB=$${RANLIB}" \
44121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44122 TAGS) \
44123 || exit 1
44124
44125 @endif target-newlib
44126
44127 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44128 maybe-install-info-target-newlib:
44129 @if target-newlib
44130 maybe-install-info-target-newlib: install-info-target-newlib
44131
44132 install-info-target-newlib: \
44133 configure-target-newlib \
44134 info-target-newlib
44135 @: $(MAKE); $(unstage)
44136 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44137 r=`${PWD_COMMAND}`; export r; \
44138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44139 $(NORMAL_TARGET_EXPORTS) \
44140 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
44141 for flag in $(EXTRA_TARGET_FLAGS); do \
44142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44143 done; \
44144 (cd $(TARGET_SUBDIR)/newlib && \
44145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44147 "RANLIB=$${RANLIB}" \
44148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44149 install-info) \
44150 || exit 1
44151
44152 @endif target-newlib
44153
44154 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44155 maybe-install-pdf-target-newlib:
44156 @if target-newlib
44157 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44158
44159 install-pdf-target-newlib: \
44160 configure-target-newlib \
44161 pdf-target-newlib
44162 @: $(MAKE); $(unstage)
44163 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44164 r=`${PWD_COMMAND}`; export r; \
44165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44166 $(NORMAL_TARGET_EXPORTS) \
44167 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
44168 for flag in $(EXTRA_TARGET_FLAGS); do \
44169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44170 done; \
44171 (cd $(TARGET_SUBDIR)/newlib && \
44172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44174 "RANLIB=$${RANLIB}" \
44175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44176 install-pdf) \
44177 || exit 1
44178
44179 @endif target-newlib
44180
44181 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44182 maybe-install-html-target-newlib:
44183 @if target-newlib
44184 maybe-install-html-target-newlib: install-html-target-newlib
44185
44186 install-html-target-newlib: \
44187 configure-target-newlib \
44188 html-target-newlib
44189 @: $(MAKE); $(unstage)
44190 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44191 r=`${PWD_COMMAND}`; export r; \
44192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44193 $(NORMAL_TARGET_EXPORTS) \
44194 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
44195 for flag in $(EXTRA_TARGET_FLAGS); do \
44196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44197 done; \
44198 (cd $(TARGET_SUBDIR)/newlib && \
44199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44201 "RANLIB=$${RANLIB}" \
44202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44203 install-html) \
44204 || exit 1
44205
44206 @endif target-newlib
44207
44208 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44209 maybe-installcheck-target-newlib:
44210 @if target-newlib
44211 maybe-installcheck-target-newlib: installcheck-target-newlib
44212
44213 installcheck-target-newlib: \
44214 configure-target-newlib
44215 @: $(MAKE); $(unstage)
44216 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44217 r=`${PWD_COMMAND}`; export r; \
44218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44219 $(NORMAL_TARGET_EXPORTS) \
44220 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
44221 for flag in $(EXTRA_TARGET_FLAGS); do \
44222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44223 done; \
44224 (cd $(TARGET_SUBDIR)/newlib && \
44225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44227 "RANLIB=$${RANLIB}" \
44228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44229 installcheck) \
44230 || exit 1
44231
44232 @endif target-newlib
44233
44234 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44235 maybe-mostlyclean-target-newlib:
44236 @if target-newlib
44237 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44238
44239 mostlyclean-target-newlib:
44240 @: $(MAKE); $(unstage)
44241 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44242 r=`${PWD_COMMAND}`; export r; \
44243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44244 $(NORMAL_TARGET_EXPORTS) \
44245 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
44246 for flag in $(EXTRA_TARGET_FLAGS); do \
44247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44248 done; \
44249 (cd $(TARGET_SUBDIR)/newlib && \
44250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44252 "RANLIB=$${RANLIB}" \
44253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44254 mostlyclean) \
44255 || exit 1
44256
44257 @endif target-newlib
44258
44259 .PHONY: maybe-clean-target-newlib clean-target-newlib
44260 maybe-clean-target-newlib:
44261 @if target-newlib
44262 maybe-clean-target-newlib: clean-target-newlib
44263
44264 clean-target-newlib:
44265 @: $(MAKE); $(unstage)
44266 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44267 r=`${PWD_COMMAND}`; export r; \
44268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44269 $(NORMAL_TARGET_EXPORTS) \
44270 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
44271 for flag in $(EXTRA_TARGET_FLAGS); do \
44272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44273 done; \
44274 (cd $(TARGET_SUBDIR)/newlib && \
44275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44277 "RANLIB=$${RANLIB}" \
44278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44279 clean) \
44280 || exit 1
44281
44282 @endif target-newlib
44283
44284 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44285 maybe-distclean-target-newlib:
44286 @if target-newlib
44287 maybe-distclean-target-newlib: distclean-target-newlib
44288
44289 distclean-target-newlib:
44290 @: $(MAKE); $(unstage)
44291 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44292 r=`${PWD_COMMAND}`; export r; \
44293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44294 $(NORMAL_TARGET_EXPORTS) \
44295 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
44296 for flag in $(EXTRA_TARGET_FLAGS); do \
44297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44298 done; \
44299 (cd $(TARGET_SUBDIR)/newlib && \
44300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44302 "RANLIB=$${RANLIB}" \
44303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44304 distclean) \
44305 || exit 1
44306
44307 @endif target-newlib
44308
44309 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44310 maybe-maintainer-clean-target-newlib:
44311 @if target-newlib
44312 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44313
44314 maintainer-clean-target-newlib:
44315 @: $(MAKE); $(unstage)
44316 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44317 r=`${PWD_COMMAND}`; export r; \
44318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44319 $(NORMAL_TARGET_EXPORTS) \
44320 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
44321 for flag in $(EXTRA_TARGET_FLAGS); do \
44322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44323 done; \
44324 (cd $(TARGET_SUBDIR)/newlib && \
44325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44327 "RANLIB=$${RANLIB}" \
44328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44329 maintainer-clean) \
44330 || exit 1
44331
44332 @endif target-newlib
44333
44334
44335
44336
44337
44338 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44339 maybe-configure-target-libgcc:
44340 @if gcc-bootstrap
44341 configure-target-libgcc: stage_current
44342 @endif gcc-bootstrap
44343 @if target-libgcc
44344 maybe-configure-target-libgcc: configure-target-libgcc
44345 configure-target-libgcc:
44346 @r=`${PWD_COMMAND}`; export r; \
44347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44348 echo "Checking multilib configuration for libgcc..."; \
44349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44350 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44351 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44352 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44353 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44354 else \
44355 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44356 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44357 fi; \
44358 else \
44359 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44360 fi; \
44361 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44363 $(NORMAL_TARGET_EXPORTS) \
44364 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44365 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44366 case $(srcdir) in \
44367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44368 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44370 esac; \
44371 module_srcdir=libgcc; \
44372 rm -f no-such-file || : ; \
44373 CONFIG_SITE=no-such-file $(SHELL) \
44374 $$s/$$module_srcdir/configure \
44375 --srcdir=$${topdir}/$$module_srcdir \
44376 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44377 --target=${target_alias} \
44378 || exit 1
44379 @endif target-libgcc
44380
44381
44382
44383 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44384 maybe-configure-stage1-target-libgcc:
44385 @if target-libgcc-bootstrap
44386 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44387 configure-stage1-target-libgcc:
44388 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44389 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44390 @r=`${PWD_COMMAND}`; export r; \
44391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44392 TFLAGS="$(STAGE1_TFLAGS)"; \
44393 echo "Checking multilib configuration for libgcc..."; \
44394 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44395 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44396 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44397 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44398 else \
44399 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44400 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44401 fi; \
44402 else \
44403 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44404 fi; \
44405 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44406 $(NORMAL_TARGET_EXPORTS) \
44407 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44410 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
44411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44412 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44413 case $(srcdir) in \
44414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44415 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44417 esac; \
44418 module_srcdir=libgcc; \
44419 $(SHELL) $$s/$$module_srcdir/configure \
44420 --srcdir=$${topdir}/$$module_srcdir \
44421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44422 --target=${target_alias} \
44423 \
44424 $(STAGE1_CONFIGURE_FLAGS)
44425 @endif target-libgcc-bootstrap
44426
44427 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44428 maybe-configure-stage2-target-libgcc:
44429 @if target-libgcc-bootstrap
44430 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44431 configure-stage2-target-libgcc:
44432 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44433 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44434 @r=`${PWD_COMMAND}`; export r; \
44435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44436 TFLAGS="$(STAGE2_TFLAGS)"; \
44437 echo "Checking multilib configuration for libgcc..."; \
44438 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44439 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44440 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44441 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44442 else \
44443 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44444 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44445 fi; \
44446 else \
44447 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44448 fi; \
44449 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44450 $(NORMAL_TARGET_EXPORTS) \
44451 \
44452 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44453 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44454 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44455 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
44456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44457 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44458 case $(srcdir) in \
44459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44460 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44462 esac; \
44463 module_srcdir=libgcc; \
44464 $(SHELL) $$s/$$module_srcdir/configure \
44465 --srcdir=$${topdir}/$$module_srcdir \
44466 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44467 --target=${target_alias} \
44468 --with-build-libsubdir=$(HOST_SUBDIR) \
44469 $(STAGE2_CONFIGURE_FLAGS)
44470 @endif target-libgcc-bootstrap
44471
44472 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44473 maybe-configure-stage3-target-libgcc:
44474 @if target-libgcc-bootstrap
44475 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44476 configure-stage3-target-libgcc:
44477 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44478 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44479 @r=`${PWD_COMMAND}`; export r; \
44480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44481 TFLAGS="$(STAGE3_TFLAGS)"; \
44482 echo "Checking multilib configuration for libgcc..."; \
44483 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44484 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44485 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44486 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44487 else \
44488 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44489 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44490 fi; \
44491 else \
44492 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44493 fi; \
44494 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44495 $(NORMAL_TARGET_EXPORTS) \
44496 \
44497 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44498 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44499 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44500 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
44501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44502 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44503 case $(srcdir) in \
44504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44505 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44507 esac; \
44508 module_srcdir=libgcc; \
44509 $(SHELL) $$s/$$module_srcdir/configure \
44510 --srcdir=$${topdir}/$$module_srcdir \
44511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44512 --target=${target_alias} \
44513 --with-build-libsubdir=$(HOST_SUBDIR) \
44514 $(STAGE3_CONFIGURE_FLAGS)
44515 @endif target-libgcc-bootstrap
44516
44517 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44518 maybe-configure-stage4-target-libgcc:
44519 @if target-libgcc-bootstrap
44520 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44521 configure-stage4-target-libgcc:
44522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44523 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44524 @r=`${PWD_COMMAND}`; export r; \
44525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44526 TFLAGS="$(STAGE4_TFLAGS)"; \
44527 echo "Checking multilib configuration for libgcc..."; \
44528 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44529 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44530 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44531 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44532 else \
44533 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44534 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44535 fi; \
44536 else \
44537 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44538 fi; \
44539 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44540 $(NORMAL_TARGET_EXPORTS) \
44541 \
44542 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44543 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44544 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44545 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
44546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44547 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44548 case $(srcdir) in \
44549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44550 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44552 esac; \
44553 module_srcdir=libgcc; \
44554 $(SHELL) $$s/$$module_srcdir/configure \
44555 --srcdir=$${topdir}/$$module_srcdir \
44556 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44557 --target=${target_alias} \
44558 --with-build-libsubdir=$(HOST_SUBDIR) \
44559 $(STAGE4_CONFIGURE_FLAGS)
44560 @endif target-libgcc-bootstrap
44561
44562 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
44563 maybe-configure-stageprofile-target-libgcc:
44564 @if target-libgcc-bootstrap
44565 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44566 configure-stageprofile-target-libgcc:
44567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44568 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44569 @r=`${PWD_COMMAND}`; export r; \
44570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44571 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44572 echo "Checking multilib configuration for libgcc..."; \
44573 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44574 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44575 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44576 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44577 else \
44578 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44579 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44580 fi; \
44581 else \
44582 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44583 fi; \
44584 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44585 $(NORMAL_TARGET_EXPORTS) \
44586 \
44587 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44590 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
44591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44592 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44593 case $(srcdir) in \
44594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44595 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44597 esac; \
44598 module_srcdir=libgcc; \
44599 $(SHELL) $$s/$$module_srcdir/configure \
44600 --srcdir=$${topdir}/$$module_srcdir \
44601 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44602 --target=${target_alias} \
44603 --with-build-libsubdir=$(HOST_SUBDIR) \
44604 $(STAGEprofile_CONFIGURE_FLAGS)
44605 @endif target-libgcc-bootstrap
44606
44607 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
44608 maybe-configure-stagetrain-target-libgcc:
44609 @if target-libgcc-bootstrap
44610 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
44611 configure-stagetrain-target-libgcc:
44612 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44613 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44614 @r=`${PWD_COMMAND}`; export r; \
44615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44616 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44617 echo "Checking multilib configuration for libgcc..."; \
44618 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44619 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44620 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44621 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44622 else \
44623 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44624 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44625 fi; \
44626 else \
44627 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44628 fi; \
44629 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44630 $(NORMAL_TARGET_EXPORTS) \
44631 \
44632 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44633 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44634 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44635 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
44636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44637 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44638 case $(srcdir) in \
44639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44640 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44642 esac; \
44643 module_srcdir=libgcc; \
44644 $(SHELL) $$s/$$module_srcdir/configure \
44645 --srcdir=$${topdir}/$$module_srcdir \
44646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44647 --target=${target_alias} \
44648 --with-build-libsubdir=$(HOST_SUBDIR) \
44649 $(STAGEtrain_CONFIGURE_FLAGS)
44650 @endif target-libgcc-bootstrap
44651
44652 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
44653 maybe-configure-stagefeedback-target-libgcc:
44654 @if target-libgcc-bootstrap
44655 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44656 configure-stagefeedback-target-libgcc:
44657 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44658 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44659 @r=`${PWD_COMMAND}`; export r; \
44660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44661 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44662 echo "Checking multilib configuration for libgcc..."; \
44663 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44664 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44665 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44666 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44667 else \
44668 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44669 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44670 fi; \
44671 else \
44672 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44673 fi; \
44674 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44675 $(NORMAL_TARGET_EXPORTS) \
44676 \
44677 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44678 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44679 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44680 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
44681 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44682 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44683 case $(srcdir) in \
44684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44685 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44687 esac; \
44688 module_srcdir=libgcc; \
44689 $(SHELL) $$s/$$module_srcdir/configure \
44690 --srcdir=$${topdir}/$$module_srcdir \
44691 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44692 --target=${target_alias} \
44693 --with-build-libsubdir=$(HOST_SUBDIR) \
44694 $(STAGEfeedback_CONFIGURE_FLAGS)
44695 @endif target-libgcc-bootstrap
44696
44697 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
44698 maybe-configure-stageautoprofile-target-libgcc:
44699 @if target-libgcc-bootstrap
44700 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
44701 configure-stageautoprofile-target-libgcc:
44702 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44703 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44704 @r=`${PWD_COMMAND}`; export r; \
44705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44706 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44707 echo "Checking multilib configuration for libgcc..."; \
44708 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44709 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44710 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44711 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44712 else \
44713 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44714 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44715 fi; \
44716 else \
44717 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44718 fi; \
44719 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44720 $(NORMAL_TARGET_EXPORTS) \
44721 \
44722 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44723 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44724 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44725 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
44726 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44727 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44728 case $(srcdir) in \
44729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44730 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44732 esac; \
44733 module_srcdir=libgcc; \
44734 $(SHELL) $$s/$$module_srcdir/configure \
44735 --srcdir=$${topdir}/$$module_srcdir \
44736 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44737 --target=${target_alias} \
44738 --with-build-libsubdir=$(HOST_SUBDIR) \
44739 $(STAGEautoprofile_CONFIGURE_FLAGS)
44740 @endif target-libgcc-bootstrap
44741
44742 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
44743 maybe-configure-stageautofeedback-target-libgcc:
44744 @if target-libgcc-bootstrap
44745 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
44746 configure-stageautofeedback-target-libgcc:
44747 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44748 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44749 @r=`${PWD_COMMAND}`; export r; \
44750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44751 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44752 echo "Checking multilib configuration for libgcc..."; \
44753 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44754 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44755 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44756 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44757 else \
44758 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44759 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44760 fi; \
44761 else \
44762 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44763 fi; \
44764 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44765 $(NORMAL_TARGET_EXPORTS) \
44766 \
44767 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44768 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44769 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44770 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
44771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44772 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44773 case $(srcdir) in \
44774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44775 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44777 esac; \
44778 module_srcdir=libgcc; \
44779 $(SHELL) $$s/$$module_srcdir/configure \
44780 --srcdir=$${topdir}/$$module_srcdir \
44781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44782 --target=${target_alias} \
44783 --with-build-libsubdir=$(HOST_SUBDIR) \
44784 $(STAGEautofeedback_CONFIGURE_FLAGS)
44785 @endif target-libgcc-bootstrap
44786
44787
44788
44789
44790
44791 .PHONY: all-target-libgcc maybe-all-target-libgcc
44792 maybe-all-target-libgcc:
44793 @if gcc-bootstrap
44794 all-target-libgcc: stage_current
44795 @endif gcc-bootstrap
44796 @if target-libgcc
44797 TARGET-target-libgcc=all
44798 maybe-all-target-libgcc: all-target-libgcc
44799 all-target-libgcc: configure-target-libgcc
44800 @r=`${PWD_COMMAND}`; export r; \
44801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44802 $(NORMAL_TARGET_EXPORTS) \
44803 (cd $(TARGET_SUBDIR)/libgcc && \
44804 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44805 $(TARGET-target-libgcc))
44806 @endif target-libgcc
44807
44808
44809
44810 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
44811 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
44812 maybe-all-stage1-target-libgcc:
44813 maybe-clean-stage1-target-libgcc:
44814 @if target-libgcc-bootstrap
44815 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
44816 all-stage1: all-stage1-target-libgcc
44817 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
44818 all-stage1-target-libgcc: configure-stage1-target-libgcc
44819 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44820 @r=`${PWD_COMMAND}`; export r; \
44821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44822 TFLAGS="$(STAGE1_TFLAGS)"; \
44823 $(NORMAL_TARGET_EXPORTS) \
44824 cd $(TARGET_SUBDIR)/libgcc && \
44825 \
44826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44827 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44828 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44829 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44833 $(EXTRA_TARGET_FLAGS) \
44834 \
44835 TFLAGS="$(STAGE1_TFLAGS)" \
44836 $(TARGET-stage1-target-libgcc)
44837
44838 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
44839 clean-stage1: clean-stage1-target-libgcc
44840 clean-stage1-target-libgcc:
44841 @if [ $(current_stage) = stage1 ]; then \
44842 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44843 else \
44844 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
44845 $(MAKE) stage1-start; \
44846 fi; \
44847 cd $(TARGET_SUBDIR)/libgcc && \
44848 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44849 clean
44850 @endif target-libgcc-bootstrap
44851
44852
44853 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
44854 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
44855 maybe-all-stage2-target-libgcc:
44856 maybe-clean-stage2-target-libgcc:
44857 @if target-libgcc-bootstrap
44858 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
44859 all-stage2: all-stage2-target-libgcc
44860 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
44861 all-stage2-target-libgcc: configure-stage2-target-libgcc
44862 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44863 @r=`${PWD_COMMAND}`; export r; \
44864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44865 TFLAGS="$(STAGE2_TFLAGS)"; \
44866 $(NORMAL_TARGET_EXPORTS) \
44867 \
44868 cd $(TARGET_SUBDIR)/libgcc && \
44869 \
44870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44871 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44872 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44873 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44877 $(EXTRA_TARGET_FLAGS) \
44878 TFLAGS="$(STAGE2_TFLAGS)" \
44879 $(TARGET-stage2-target-libgcc)
44880
44881 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
44882 clean-stage2: clean-stage2-target-libgcc
44883 clean-stage2-target-libgcc:
44884 @if [ $(current_stage) = stage2 ]; then \
44885 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44886 else \
44887 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
44888 $(MAKE) stage2-start; \
44889 fi; \
44890 cd $(TARGET_SUBDIR)/libgcc && \
44891 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44892 @endif target-libgcc-bootstrap
44893
44894
44895 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
44896 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
44897 maybe-all-stage3-target-libgcc:
44898 maybe-clean-stage3-target-libgcc:
44899 @if target-libgcc-bootstrap
44900 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
44901 all-stage3: all-stage3-target-libgcc
44902 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
44903 all-stage3-target-libgcc: configure-stage3-target-libgcc
44904 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44905 @r=`${PWD_COMMAND}`; export r; \
44906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44907 TFLAGS="$(STAGE3_TFLAGS)"; \
44908 $(NORMAL_TARGET_EXPORTS) \
44909 \
44910 cd $(TARGET_SUBDIR)/libgcc && \
44911 \
44912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44913 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44914 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44915 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44919 $(EXTRA_TARGET_FLAGS) \
44920 TFLAGS="$(STAGE3_TFLAGS)" \
44921 $(TARGET-stage3-target-libgcc)
44922
44923 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
44924 clean-stage3: clean-stage3-target-libgcc
44925 clean-stage3-target-libgcc:
44926 @if [ $(current_stage) = stage3 ]; then \
44927 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44928 else \
44929 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
44930 $(MAKE) stage3-start; \
44931 fi; \
44932 cd $(TARGET_SUBDIR)/libgcc && \
44933 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44934 @endif target-libgcc-bootstrap
44935
44936
44937 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
44938 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
44939 maybe-all-stage4-target-libgcc:
44940 maybe-clean-stage4-target-libgcc:
44941 @if target-libgcc-bootstrap
44942 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
44943 all-stage4: all-stage4-target-libgcc
44944 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
44945 all-stage4-target-libgcc: configure-stage4-target-libgcc
44946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44947 @r=`${PWD_COMMAND}`; export r; \
44948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44949 TFLAGS="$(STAGE4_TFLAGS)"; \
44950 $(NORMAL_TARGET_EXPORTS) \
44951 \
44952 cd $(TARGET_SUBDIR)/libgcc && \
44953 \
44954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44955 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44957 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44961 $(EXTRA_TARGET_FLAGS) \
44962 TFLAGS="$(STAGE4_TFLAGS)" \
44963 $(TARGET-stage4-target-libgcc)
44964
44965 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
44966 clean-stage4: clean-stage4-target-libgcc
44967 clean-stage4-target-libgcc:
44968 @if [ $(current_stage) = stage4 ]; then \
44969 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44970 else \
44971 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
44972 $(MAKE) stage4-start; \
44973 fi; \
44974 cd $(TARGET_SUBDIR)/libgcc && \
44975 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44976 @endif target-libgcc-bootstrap
44977
44978
44979 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
44980 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
44981 maybe-all-stageprofile-target-libgcc:
44982 maybe-clean-stageprofile-target-libgcc:
44983 @if target-libgcc-bootstrap
44984 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
44985 all-stageprofile: all-stageprofile-target-libgcc
44986 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
44987 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44988 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44989 @r=`${PWD_COMMAND}`; export r; \
44990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44991 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44992 $(NORMAL_TARGET_EXPORTS) \
44993 \
44994 cd $(TARGET_SUBDIR)/libgcc && \
44995 \
44996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44997 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45003 $(EXTRA_TARGET_FLAGS) \
45004 TFLAGS="$(STAGEprofile_TFLAGS)" \
45005 $(TARGET-stageprofile-target-libgcc)
45006
45007 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45008 clean-stageprofile: clean-stageprofile-target-libgcc
45009 clean-stageprofile-target-libgcc:
45010 @if [ $(current_stage) = stageprofile ]; then \
45011 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45012 else \
45013 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45014 $(MAKE) stageprofile-start; \
45015 fi; \
45016 cd $(TARGET_SUBDIR)/libgcc && \
45017 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45018 @endif target-libgcc-bootstrap
45019
45020
45021 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
45022 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
45023 maybe-all-stagetrain-target-libgcc:
45024 maybe-clean-stagetrain-target-libgcc:
45025 @if target-libgcc-bootstrap
45026 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
45027 all-stagetrain: all-stagetrain-target-libgcc
45028 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
45029 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45030 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45031 @r=`${PWD_COMMAND}`; export r; \
45032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45033 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45034 $(NORMAL_TARGET_EXPORTS) \
45035 \
45036 cd $(TARGET_SUBDIR)/libgcc && \
45037 \
45038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45039 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45041 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45045 $(EXTRA_TARGET_FLAGS) \
45046 TFLAGS="$(STAGEtrain_TFLAGS)" \
45047 $(TARGET-stagetrain-target-libgcc)
45048
45049 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
45050 clean-stagetrain: clean-stagetrain-target-libgcc
45051 clean-stagetrain-target-libgcc:
45052 @if [ $(current_stage) = stagetrain ]; then \
45053 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45054 else \
45055 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
45056 $(MAKE) stagetrain-start; \
45057 fi; \
45058 cd $(TARGET_SUBDIR)/libgcc && \
45059 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45060 @endif target-libgcc-bootstrap
45061
45062
45063 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45064 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45065 maybe-all-stagefeedback-target-libgcc:
45066 maybe-clean-stagefeedback-target-libgcc:
45067 @if target-libgcc-bootstrap
45068 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45069 all-stagefeedback: all-stagefeedback-target-libgcc
45070 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45071 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45073 @r=`${PWD_COMMAND}`; export r; \
45074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45075 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45076 $(NORMAL_TARGET_EXPORTS) \
45077 \
45078 cd $(TARGET_SUBDIR)/libgcc && \
45079 \
45080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45081 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45082 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45083 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45087 $(EXTRA_TARGET_FLAGS) \
45088 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45089 $(TARGET-stagefeedback-target-libgcc)
45090
45091 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45092 clean-stagefeedback: clean-stagefeedback-target-libgcc
45093 clean-stagefeedback-target-libgcc:
45094 @if [ $(current_stage) = stagefeedback ]; then \
45095 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45096 else \
45097 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45098 $(MAKE) stagefeedback-start; \
45099 fi; \
45100 cd $(TARGET_SUBDIR)/libgcc && \
45101 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45102 @endif target-libgcc-bootstrap
45103
45104
45105 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
45106 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
45107 maybe-all-stageautoprofile-target-libgcc:
45108 maybe-clean-stageautoprofile-target-libgcc:
45109 @if target-libgcc-bootstrap
45110 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
45111 all-stageautoprofile: all-stageautoprofile-target-libgcc
45112 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
45113 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45114 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45115 @r=`${PWD_COMMAND}`; export r; \
45116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45117 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45118 $(NORMAL_TARGET_EXPORTS) \
45119 \
45120 cd $(TARGET_SUBDIR)/libgcc && \
45121 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45123 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45124 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45125 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45129 $(EXTRA_TARGET_FLAGS) \
45130 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45131 $(TARGET-stageautoprofile-target-libgcc)
45132
45133 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
45134 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
45135 clean-stageautoprofile-target-libgcc:
45136 @if [ $(current_stage) = stageautoprofile ]; then \
45137 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45138 else \
45139 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
45140 $(MAKE) stageautoprofile-start; \
45141 fi; \
45142 cd $(TARGET_SUBDIR)/libgcc && \
45143 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45144 @endif target-libgcc-bootstrap
45145
45146
45147 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
45148 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
45149 maybe-all-stageautofeedback-target-libgcc:
45150 maybe-clean-stageautofeedback-target-libgcc:
45151 @if target-libgcc-bootstrap
45152 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
45153 all-stageautofeedback: all-stageautofeedback-target-libgcc
45154 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
45155 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45156 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45157 @r=`${PWD_COMMAND}`; export r; \
45158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45159 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45160 $(NORMAL_TARGET_EXPORTS) \
45161 \
45162 cd $(TARGET_SUBDIR)/libgcc && \
45163 \
45164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45165 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45171 $(EXTRA_TARGET_FLAGS) \
45172 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45173 $(TARGET-stageautofeedback-target-libgcc)
45174
45175 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
45176 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
45177 clean-stageautofeedback-target-libgcc:
45178 @if [ $(current_stage) = stageautofeedback ]; then \
45179 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45180 else \
45181 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
45182 $(MAKE) stageautofeedback-start; \
45183 fi; \
45184 cd $(TARGET_SUBDIR)/libgcc && \
45185 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45186 @endif target-libgcc-bootstrap
45187
45188
45189
45190
45191
45192
45193 .PHONY: check-target-libgcc maybe-check-target-libgcc
45194 maybe-check-target-libgcc:
45195 @if target-libgcc
45196 maybe-check-target-libgcc: check-target-libgcc
45197
45198 # Dummy target for uncheckable module.
45199 check-target-libgcc:
45200
45201 @endif target-libgcc
45202
45203 .PHONY: install-target-libgcc maybe-install-target-libgcc
45204 maybe-install-target-libgcc:
45205 @if target-libgcc
45206 maybe-install-target-libgcc: install-target-libgcc
45207
45208 install-target-libgcc: installdirs
45209 @: $(MAKE); $(unstage)
45210 @r=`${PWD_COMMAND}`; export r; \
45211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45212 $(NORMAL_TARGET_EXPORTS) \
45213 (cd $(TARGET_SUBDIR)/libgcc && \
45214 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45215
45216 @endif target-libgcc
45217
45218 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
45219 maybe-install-strip-target-libgcc:
45220 @if target-libgcc
45221 maybe-install-strip-target-libgcc: install-strip-target-libgcc
45222
45223 install-strip-target-libgcc: installdirs
45224 @: $(MAKE); $(unstage)
45225 @r=`${PWD_COMMAND}`; export r; \
45226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45227 $(NORMAL_TARGET_EXPORTS) \
45228 (cd $(TARGET_SUBDIR)/libgcc && \
45229 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45230
45231 @endif target-libgcc
45232
45233 # Other targets (info, dvi, pdf, etc.)
45234
45235 .PHONY: maybe-info-target-libgcc info-target-libgcc
45236 maybe-info-target-libgcc:
45237 @if target-libgcc
45238 maybe-info-target-libgcc: info-target-libgcc
45239
45240 info-target-libgcc: \
45241 configure-target-libgcc
45242 @: $(MAKE); $(unstage)
45243 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45244 r=`${PWD_COMMAND}`; export r; \
45245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45246 $(NORMAL_TARGET_EXPORTS) \
45247 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
45248 for flag in $(EXTRA_TARGET_FLAGS); do \
45249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45250 done; \
45251 (cd $(TARGET_SUBDIR)/libgcc && \
45252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45254 "RANLIB=$${RANLIB}" \
45255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45256 info) \
45257 || exit 1
45258
45259 @endif target-libgcc
45260
45261 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45262 maybe-dvi-target-libgcc:
45263 @if target-libgcc
45264 maybe-dvi-target-libgcc: dvi-target-libgcc
45265
45266 dvi-target-libgcc: \
45267 configure-target-libgcc
45268 @: $(MAKE); $(unstage)
45269 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45270 r=`${PWD_COMMAND}`; export r; \
45271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45272 $(NORMAL_TARGET_EXPORTS) \
45273 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
45274 for flag in $(EXTRA_TARGET_FLAGS); do \
45275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45276 done; \
45277 (cd $(TARGET_SUBDIR)/libgcc && \
45278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45280 "RANLIB=$${RANLIB}" \
45281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45282 dvi) \
45283 || exit 1
45284
45285 @endif target-libgcc
45286
45287 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45288 maybe-pdf-target-libgcc:
45289 @if target-libgcc
45290 maybe-pdf-target-libgcc: pdf-target-libgcc
45291
45292 pdf-target-libgcc: \
45293 configure-target-libgcc
45294 @: $(MAKE); $(unstage)
45295 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45296 r=`${PWD_COMMAND}`; export r; \
45297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45298 $(NORMAL_TARGET_EXPORTS) \
45299 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
45300 for flag in $(EXTRA_TARGET_FLAGS); do \
45301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45302 done; \
45303 (cd $(TARGET_SUBDIR)/libgcc && \
45304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45306 "RANLIB=$${RANLIB}" \
45307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45308 pdf) \
45309 || exit 1
45310
45311 @endif target-libgcc
45312
45313 .PHONY: maybe-html-target-libgcc html-target-libgcc
45314 maybe-html-target-libgcc:
45315 @if target-libgcc
45316 maybe-html-target-libgcc: html-target-libgcc
45317
45318 html-target-libgcc: \
45319 configure-target-libgcc
45320 @: $(MAKE); $(unstage)
45321 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45322 r=`${PWD_COMMAND}`; export r; \
45323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45324 $(NORMAL_TARGET_EXPORTS) \
45325 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
45326 for flag in $(EXTRA_TARGET_FLAGS); do \
45327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45328 done; \
45329 (cd $(TARGET_SUBDIR)/libgcc && \
45330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45332 "RANLIB=$${RANLIB}" \
45333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45334 html) \
45335 || exit 1
45336
45337 @endif target-libgcc
45338
45339 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45340 maybe-TAGS-target-libgcc:
45341 @if target-libgcc
45342 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45343
45344 TAGS-target-libgcc: \
45345 configure-target-libgcc
45346 @: $(MAKE); $(unstage)
45347 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45348 r=`${PWD_COMMAND}`; export r; \
45349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45350 $(NORMAL_TARGET_EXPORTS) \
45351 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
45352 for flag in $(EXTRA_TARGET_FLAGS); do \
45353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45354 done; \
45355 (cd $(TARGET_SUBDIR)/libgcc && \
45356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45358 "RANLIB=$${RANLIB}" \
45359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45360 TAGS) \
45361 || exit 1
45362
45363 @endif target-libgcc
45364
45365 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45366 maybe-install-info-target-libgcc:
45367 @if target-libgcc
45368 maybe-install-info-target-libgcc: install-info-target-libgcc
45369
45370 install-info-target-libgcc: \
45371 configure-target-libgcc \
45372 info-target-libgcc
45373 @: $(MAKE); $(unstage)
45374 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45375 r=`${PWD_COMMAND}`; export r; \
45376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45377 $(NORMAL_TARGET_EXPORTS) \
45378 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
45379 for flag in $(EXTRA_TARGET_FLAGS); do \
45380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45381 done; \
45382 (cd $(TARGET_SUBDIR)/libgcc && \
45383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45385 "RANLIB=$${RANLIB}" \
45386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45387 install-info) \
45388 || exit 1
45389
45390 @endif target-libgcc
45391
45392 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45393 maybe-install-pdf-target-libgcc:
45394 @if target-libgcc
45395 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45396
45397 install-pdf-target-libgcc: \
45398 configure-target-libgcc \
45399 pdf-target-libgcc
45400 @: $(MAKE); $(unstage)
45401 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45402 r=`${PWD_COMMAND}`; export r; \
45403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45404 $(NORMAL_TARGET_EXPORTS) \
45405 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
45406 for flag in $(EXTRA_TARGET_FLAGS); do \
45407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45408 done; \
45409 (cd $(TARGET_SUBDIR)/libgcc && \
45410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45412 "RANLIB=$${RANLIB}" \
45413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45414 install-pdf) \
45415 || exit 1
45416
45417 @endif target-libgcc
45418
45419 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45420 maybe-install-html-target-libgcc:
45421 @if target-libgcc
45422 maybe-install-html-target-libgcc: install-html-target-libgcc
45423
45424 install-html-target-libgcc: \
45425 configure-target-libgcc \
45426 html-target-libgcc
45427 @: $(MAKE); $(unstage)
45428 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45429 r=`${PWD_COMMAND}`; export r; \
45430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45431 $(NORMAL_TARGET_EXPORTS) \
45432 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
45433 for flag in $(EXTRA_TARGET_FLAGS); do \
45434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45435 done; \
45436 (cd $(TARGET_SUBDIR)/libgcc && \
45437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45439 "RANLIB=$${RANLIB}" \
45440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45441 install-html) \
45442 || exit 1
45443
45444 @endif target-libgcc
45445
45446 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45447 maybe-installcheck-target-libgcc:
45448 @if target-libgcc
45449 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45450
45451 installcheck-target-libgcc: \
45452 configure-target-libgcc
45453 @: $(MAKE); $(unstage)
45454 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45455 r=`${PWD_COMMAND}`; export r; \
45456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45457 $(NORMAL_TARGET_EXPORTS) \
45458 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
45459 for flag in $(EXTRA_TARGET_FLAGS); do \
45460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45461 done; \
45462 (cd $(TARGET_SUBDIR)/libgcc && \
45463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45465 "RANLIB=$${RANLIB}" \
45466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45467 installcheck) \
45468 || exit 1
45469
45470 @endif target-libgcc
45471
45472 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45473 maybe-mostlyclean-target-libgcc:
45474 @if target-libgcc
45475 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45476
45477 mostlyclean-target-libgcc:
45478 @: $(MAKE); $(unstage)
45479 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45480 r=`${PWD_COMMAND}`; export r; \
45481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45482 $(NORMAL_TARGET_EXPORTS) \
45483 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
45484 for flag in $(EXTRA_TARGET_FLAGS); do \
45485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45486 done; \
45487 (cd $(TARGET_SUBDIR)/libgcc && \
45488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45490 "RANLIB=$${RANLIB}" \
45491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45492 mostlyclean) \
45493 || exit 1
45494
45495 @endif target-libgcc
45496
45497 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45498 maybe-clean-target-libgcc:
45499 @if target-libgcc
45500 maybe-clean-target-libgcc: clean-target-libgcc
45501
45502 clean-target-libgcc:
45503 @: $(MAKE); $(unstage)
45504 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45505 r=`${PWD_COMMAND}`; export r; \
45506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45507 $(NORMAL_TARGET_EXPORTS) \
45508 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
45509 for flag in $(EXTRA_TARGET_FLAGS); do \
45510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45511 done; \
45512 (cd $(TARGET_SUBDIR)/libgcc && \
45513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45515 "RANLIB=$${RANLIB}" \
45516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45517 clean) \
45518 || exit 1
45519
45520 @endif target-libgcc
45521
45522 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45523 maybe-distclean-target-libgcc:
45524 @if target-libgcc
45525 maybe-distclean-target-libgcc: distclean-target-libgcc
45526
45527 distclean-target-libgcc:
45528 @: $(MAKE); $(unstage)
45529 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45530 r=`${PWD_COMMAND}`; export r; \
45531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45532 $(NORMAL_TARGET_EXPORTS) \
45533 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
45534 for flag in $(EXTRA_TARGET_FLAGS); do \
45535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45536 done; \
45537 (cd $(TARGET_SUBDIR)/libgcc && \
45538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45540 "RANLIB=$${RANLIB}" \
45541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45542 distclean) \
45543 || exit 1
45544
45545 @endif target-libgcc
45546
45547 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
45548 maybe-maintainer-clean-target-libgcc:
45549 @if target-libgcc
45550 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
45551
45552 maintainer-clean-target-libgcc:
45553 @: $(MAKE); $(unstage)
45554 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45555 r=`${PWD_COMMAND}`; export r; \
45556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45557 $(NORMAL_TARGET_EXPORTS) \
45558 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
45559 for flag in $(EXTRA_TARGET_FLAGS); do \
45560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45561 done; \
45562 (cd $(TARGET_SUBDIR)/libgcc && \
45563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45565 "RANLIB=$${RANLIB}" \
45566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45567 maintainer-clean) \
45568 || exit 1
45569
45570 @endif target-libgcc
45571
45572
45573
45574
45575
45576 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
45577 maybe-configure-target-libbacktrace:
45578 @if gcc-bootstrap
45579 configure-target-libbacktrace: stage_current
45580 @endif gcc-bootstrap
45581 @if target-libbacktrace
45582 maybe-configure-target-libbacktrace: configure-target-libbacktrace
45583 configure-target-libbacktrace:
45584 @: $(MAKE); $(unstage)
45585 @r=`${PWD_COMMAND}`; export r; \
45586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45587 echo "Checking multilib configuration for libbacktrace..."; \
45588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
45590 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45591 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45592 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
45593 else \
45594 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
45595 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45596 fi; \
45597 else \
45598 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45599 fi; \
45600 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
45601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45602 $(NORMAL_TARGET_EXPORTS) \
45603 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
45604 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
45605 case $(srcdir) in \
45606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45607 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
45608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45609 esac; \
45610 module_srcdir=libbacktrace; \
45611 rm -f no-such-file || : ; \
45612 CONFIG_SITE=no-such-file $(SHELL) \
45613 $$s/$$module_srcdir/configure \
45614 --srcdir=$${topdir}/$$module_srcdir \
45615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45616 --target=${target_alias} \
45617 || exit 1
45618 @endif target-libbacktrace
45619
45620
45621
45622
45623
45624 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
45625 maybe-all-target-libbacktrace:
45626 @if gcc-bootstrap
45627 all-target-libbacktrace: stage_current
45628 @endif gcc-bootstrap
45629 @if target-libbacktrace
45630 TARGET-target-libbacktrace=all
45631 maybe-all-target-libbacktrace: all-target-libbacktrace
45632 all-target-libbacktrace: configure-target-libbacktrace
45633 @: $(MAKE); $(unstage)
45634 @r=`${PWD_COMMAND}`; export r; \
45635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45636 $(NORMAL_TARGET_EXPORTS) \
45637 (cd $(TARGET_SUBDIR)/libbacktrace && \
45638 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45639 $(TARGET-target-libbacktrace))
45640 @endif target-libbacktrace
45641
45642
45643
45644
45645
45646 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
45647 maybe-check-target-libbacktrace:
45648 @if target-libbacktrace
45649 maybe-check-target-libbacktrace: check-target-libbacktrace
45650
45651 check-target-libbacktrace:
45652 @: $(MAKE); $(unstage)
45653 @r=`${PWD_COMMAND}`; export r; \
45654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45655 $(NORMAL_TARGET_EXPORTS) \
45656 (cd $(TARGET_SUBDIR)/libbacktrace && \
45657 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45658
45659 @endif target-libbacktrace
45660
45661 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
45662 maybe-install-target-libbacktrace:
45663 @if target-libbacktrace
45664 maybe-install-target-libbacktrace: install-target-libbacktrace
45665
45666 install-target-libbacktrace: installdirs
45667 @: $(MAKE); $(unstage)
45668 @r=`${PWD_COMMAND}`; export r; \
45669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45670 $(NORMAL_TARGET_EXPORTS) \
45671 (cd $(TARGET_SUBDIR)/libbacktrace && \
45672 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45673
45674 @endif target-libbacktrace
45675
45676 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
45677 maybe-install-strip-target-libbacktrace:
45678 @if target-libbacktrace
45679 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
45680
45681 install-strip-target-libbacktrace: installdirs
45682 @: $(MAKE); $(unstage)
45683 @r=`${PWD_COMMAND}`; export r; \
45684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45685 $(NORMAL_TARGET_EXPORTS) \
45686 (cd $(TARGET_SUBDIR)/libbacktrace && \
45687 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45688
45689 @endif target-libbacktrace
45690
45691 # Other targets (info, dvi, pdf, etc.)
45692
45693 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
45694 maybe-info-target-libbacktrace:
45695 @if target-libbacktrace
45696 maybe-info-target-libbacktrace: info-target-libbacktrace
45697
45698 info-target-libbacktrace: \
45699 configure-target-libbacktrace
45700 @: $(MAKE); $(unstage)
45701 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45702 r=`${PWD_COMMAND}`; export r; \
45703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45704 $(NORMAL_TARGET_EXPORTS) \
45705 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
45706 for flag in $(EXTRA_TARGET_FLAGS); do \
45707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45708 done; \
45709 (cd $(TARGET_SUBDIR)/libbacktrace && \
45710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45712 "RANLIB=$${RANLIB}" \
45713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45714 info) \
45715 || exit 1
45716
45717 @endif target-libbacktrace
45718
45719 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
45720 maybe-dvi-target-libbacktrace:
45721 @if target-libbacktrace
45722 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
45723
45724 dvi-target-libbacktrace: \
45725 configure-target-libbacktrace
45726 @: $(MAKE); $(unstage)
45727 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45728 r=`${PWD_COMMAND}`; export r; \
45729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45730 $(NORMAL_TARGET_EXPORTS) \
45731 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
45732 for flag in $(EXTRA_TARGET_FLAGS); do \
45733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45734 done; \
45735 (cd $(TARGET_SUBDIR)/libbacktrace && \
45736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45738 "RANLIB=$${RANLIB}" \
45739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45740 dvi) \
45741 || exit 1
45742
45743 @endif target-libbacktrace
45744
45745 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
45746 maybe-pdf-target-libbacktrace:
45747 @if target-libbacktrace
45748 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
45749
45750 pdf-target-libbacktrace: \
45751 configure-target-libbacktrace
45752 @: $(MAKE); $(unstage)
45753 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45754 r=`${PWD_COMMAND}`; export r; \
45755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45756 $(NORMAL_TARGET_EXPORTS) \
45757 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
45758 for flag in $(EXTRA_TARGET_FLAGS); do \
45759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45760 done; \
45761 (cd $(TARGET_SUBDIR)/libbacktrace && \
45762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45764 "RANLIB=$${RANLIB}" \
45765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45766 pdf) \
45767 || exit 1
45768
45769 @endif target-libbacktrace
45770
45771 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
45772 maybe-html-target-libbacktrace:
45773 @if target-libbacktrace
45774 maybe-html-target-libbacktrace: html-target-libbacktrace
45775
45776 html-target-libbacktrace: \
45777 configure-target-libbacktrace
45778 @: $(MAKE); $(unstage)
45779 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45780 r=`${PWD_COMMAND}`; export r; \
45781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45782 $(NORMAL_TARGET_EXPORTS) \
45783 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
45784 for flag in $(EXTRA_TARGET_FLAGS); do \
45785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45786 done; \
45787 (cd $(TARGET_SUBDIR)/libbacktrace && \
45788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45790 "RANLIB=$${RANLIB}" \
45791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45792 html) \
45793 || exit 1
45794
45795 @endif target-libbacktrace
45796
45797 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
45798 maybe-TAGS-target-libbacktrace:
45799 @if target-libbacktrace
45800 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
45801
45802 TAGS-target-libbacktrace: \
45803 configure-target-libbacktrace
45804 @: $(MAKE); $(unstage)
45805 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45806 r=`${PWD_COMMAND}`; export r; \
45807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45808 $(NORMAL_TARGET_EXPORTS) \
45809 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
45810 for flag in $(EXTRA_TARGET_FLAGS); do \
45811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45812 done; \
45813 (cd $(TARGET_SUBDIR)/libbacktrace && \
45814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45816 "RANLIB=$${RANLIB}" \
45817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45818 TAGS) \
45819 || exit 1
45820
45821 @endif target-libbacktrace
45822
45823 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
45824 maybe-install-info-target-libbacktrace:
45825 @if target-libbacktrace
45826 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
45827
45828 install-info-target-libbacktrace: \
45829 configure-target-libbacktrace \
45830 info-target-libbacktrace
45831 @: $(MAKE); $(unstage)
45832 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45833 r=`${PWD_COMMAND}`; export r; \
45834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45835 $(NORMAL_TARGET_EXPORTS) \
45836 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
45837 for flag in $(EXTRA_TARGET_FLAGS); do \
45838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45839 done; \
45840 (cd $(TARGET_SUBDIR)/libbacktrace && \
45841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45843 "RANLIB=$${RANLIB}" \
45844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45845 install-info) \
45846 || exit 1
45847
45848 @endif target-libbacktrace
45849
45850 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
45851 maybe-install-pdf-target-libbacktrace:
45852 @if target-libbacktrace
45853 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
45854
45855 install-pdf-target-libbacktrace: \
45856 configure-target-libbacktrace \
45857 pdf-target-libbacktrace
45858 @: $(MAKE); $(unstage)
45859 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45860 r=`${PWD_COMMAND}`; export r; \
45861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45862 $(NORMAL_TARGET_EXPORTS) \
45863 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
45864 for flag in $(EXTRA_TARGET_FLAGS); do \
45865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45866 done; \
45867 (cd $(TARGET_SUBDIR)/libbacktrace && \
45868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45870 "RANLIB=$${RANLIB}" \
45871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45872 install-pdf) \
45873 || exit 1
45874
45875 @endif target-libbacktrace
45876
45877 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
45878 maybe-install-html-target-libbacktrace:
45879 @if target-libbacktrace
45880 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
45881
45882 install-html-target-libbacktrace: \
45883 configure-target-libbacktrace \
45884 html-target-libbacktrace
45885 @: $(MAKE); $(unstage)
45886 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45887 r=`${PWD_COMMAND}`; export r; \
45888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45889 $(NORMAL_TARGET_EXPORTS) \
45890 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
45891 for flag in $(EXTRA_TARGET_FLAGS); do \
45892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45893 done; \
45894 (cd $(TARGET_SUBDIR)/libbacktrace && \
45895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45897 "RANLIB=$${RANLIB}" \
45898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45899 install-html) \
45900 || exit 1
45901
45902 @endif target-libbacktrace
45903
45904 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
45905 maybe-installcheck-target-libbacktrace:
45906 @if target-libbacktrace
45907 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
45908
45909 installcheck-target-libbacktrace: \
45910 configure-target-libbacktrace
45911 @: $(MAKE); $(unstage)
45912 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45913 r=`${PWD_COMMAND}`; export r; \
45914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45915 $(NORMAL_TARGET_EXPORTS) \
45916 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
45917 for flag in $(EXTRA_TARGET_FLAGS); do \
45918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45919 done; \
45920 (cd $(TARGET_SUBDIR)/libbacktrace && \
45921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45923 "RANLIB=$${RANLIB}" \
45924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45925 installcheck) \
45926 || exit 1
45927
45928 @endif target-libbacktrace
45929
45930 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
45931 maybe-mostlyclean-target-libbacktrace:
45932 @if target-libbacktrace
45933 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
45934
45935 mostlyclean-target-libbacktrace:
45936 @: $(MAKE); $(unstage)
45937 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45938 r=`${PWD_COMMAND}`; export r; \
45939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45940 $(NORMAL_TARGET_EXPORTS) \
45941 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
45942 for flag in $(EXTRA_TARGET_FLAGS); do \
45943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45944 done; \
45945 (cd $(TARGET_SUBDIR)/libbacktrace && \
45946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45948 "RANLIB=$${RANLIB}" \
45949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45950 mostlyclean) \
45951 || exit 1
45952
45953 @endif target-libbacktrace
45954
45955 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
45956 maybe-clean-target-libbacktrace:
45957 @if target-libbacktrace
45958 maybe-clean-target-libbacktrace: clean-target-libbacktrace
45959
45960 clean-target-libbacktrace:
45961 @: $(MAKE); $(unstage)
45962 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45963 r=`${PWD_COMMAND}`; export r; \
45964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45965 $(NORMAL_TARGET_EXPORTS) \
45966 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
45967 for flag in $(EXTRA_TARGET_FLAGS); do \
45968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45969 done; \
45970 (cd $(TARGET_SUBDIR)/libbacktrace && \
45971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45973 "RANLIB=$${RANLIB}" \
45974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45975 clean) \
45976 || exit 1
45977
45978 @endif target-libbacktrace
45979
45980 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
45981 maybe-distclean-target-libbacktrace:
45982 @if target-libbacktrace
45983 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
45984
45985 distclean-target-libbacktrace:
45986 @: $(MAKE); $(unstage)
45987 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45988 r=`${PWD_COMMAND}`; export r; \
45989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45990 $(NORMAL_TARGET_EXPORTS) \
45991 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
45992 for flag in $(EXTRA_TARGET_FLAGS); do \
45993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45994 done; \
45995 (cd $(TARGET_SUBDIR)/libbacktrace && \
45996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45998 "RANLIB=$${RANLIB}" \
45999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46000 distclean) \
46001 || exit 1
46002
46003 @endif target-libbacktrace
46004
46005 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
46006 maybe-maintainer-clean-target-libbacktrace:
46007 @if target-libbacktrace
46008 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
46009
46010 maintainer-clean-target-libbacktrace:
46011 @: $(MAKE); $(unstage)
46012 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46013 r=`${PWD_COMMAND}`; export r; \
46014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46015 $(NORMAL_TARGET_EXPORTS) \
46016 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
46017 for flag in $(EXTRA_TARGET_FLAGS); do \
46018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46019 done; \
46020 (cd $(TARGET_SUBDIR)/libbacktrace && \
46021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46023 "RANLIB=$${RANLIB}" \
46024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46025 maintainer-clean) \
46026 || exit 1
46027
46028 @endif target-libbacktrace
46029
46030
46031
46032
46033
46034 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
46035 maybe-configure-target-libquadmath:
46036 @if gcc-bootstrap
46037 configure-target-libquadmath: stage_current
46038 @endif gcc-bootstrap
46039 @if target-libquadmath
46040 maybe-configure-target-libquadmath: configure-target-libquadmath
46041 configure-target-libquadmath:
46042 @: $(MAKE); $(unstage)
46043 @r=`${PWD_COMMAND}`; export r; \
46044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46045 echo "Checking multilib configuration for libquadmath..."; \
46046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46047 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
46048 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46049 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46050 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
46051 else \
46052 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
46053 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46054 fi; \
46055 else \
46056 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46057 fi; \
46058 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
46059 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46060 $(NORMAL_TARGET_EXPORTS) \
46061 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
46062 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
46063 case $(srcdir) in \
46064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46065 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
46066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46067 esac; \
46068 module_srcdir=libquadmath; \
46069 rm -f no-such-file || : ; \
46070 CONFIG_SITE=no-such-file $(SHELL) \
46071 $$s/$$module_srcdir/configure \
46072 --srcdir=$${topdir}/$$module_srcdir \
46073 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46074 --target=${target_alias} \
46075 || exit 1
46076 @endif target-libquadmath
46077
46078
46079
46080
46081
46082 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
46083 maybe-all-target-libquadmath:
46084 @if gcc-bootstrap
46085 all-target-libquadmath: stage_current
46086 @endif gcc-bootstrap
46087 @if target-libquadmath
46088 TARGET-target-libquadmath=all
46089 maybe-all-target-libquadmath: all-target-libquadmath
46090 all-target-libquadmath: configure-target-libquadmath
46091 @: $(MAKE); $(unstage)
46092 @r=`${PWD_COMMAND}`; export r; \
46093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46094 $(NORMAL_TARGET_EXPORTS) \
46095 (cd $(TARGET_SUBDIR)/libquadmath && \
46096 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46097 $(TARGET-target-libquadmath))
46098 @endif target-libquadmath
46099
46100
46101
46102
46103
46104 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
46105 maybe-check-target-libquadmath:
46106 @if target-libquadmath
46107 maybe-check-target-libquadmath: check-target-libquadmath
46108
46109 check-target-libquadmath:
46110 @: $(MAKE); $(unstage)
46111 @r=`${PWD_COMMAND}`; export r; \
46112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46113 $(NORMAL_TARGET_EXPORTS) \
46114 (cd $(TARGET_SUBDIR)/libquadmath && \
46115 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46116
46117 @endif target-libquadmath
46118
46119 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
46120 maybe-install-target-libquadmath:
46121 @if target-libquadmath
46122 maybe-install-target-libquadmath: install-target-libquadmath
46123
46124 install-target-libquadmath: installdirs
46125 @: $(MAKE); $(unstage)
46126 @r=`${PWD_COMMAND}`; export r; \
46127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46128 $(NORMAL_TARGET_EXPORTS) \
46129 (cd $(TARGET_SUBDIR)/libquadmath && \
46130 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46131
46132 @endif target-libquadmath
46133
46134 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
46135 maybe-install-strip-target-libquadmath:
46136 @if target-libquadmath
46137 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
46138
46139 install-strip-target-libquadmath: installdirs
46140 @: $(MAKE); $(unstage)
46141 @r=`${PWD_COMMAND}`; export r; \
46142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46143 $(NORMAL_TARGET_EXPORTS) \
46144 (cd $(TARGET_SUBDIR)/libquadmath && \
46145 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46146
46147 @endif target-libquadmath
46148
46149 # Other targets (info, dvi, pdf, etc.)
46150
46151 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
46152 maybe-info-target-libquadmath:
46153 @if target-libquadmath
46154 maybe-info-target-libquadmath: info-target-libquadmath
46155
46156 info-target-libquadmath: \
46157 configure-target-libquadmath
46158 @: $(MAKE); $(unstage)
46159 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46160 r=`${PWD_COMMAND}`; export r; \
46161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46162 $(NORMAL_TARGET_EXPORTS) \
46163 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
46164 for flag in $(EXTRA_TARGET_FLAGS); do \
46165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46166 done; \
46167 (cd $(TARGET_SUBDIR)/libquadmath && \
46168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46170 "RANLIB=$${RANLIB}" \
46171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46172 info) \
46173 || exit 1
46174
46175 @endif target-libquadmath
46176
46177 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
46178 maybe-dvi-target-libquadmath:
46179 @if target-libquadmath
46180 maybe-dvi-target-libquadmath: dvi-target-libquadmath
46181
46182 dvi-target-libquadmath: \
46183 configure-target-libquadmath
46184 @: $(MAKE); $(unstage)
46185 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46186 r=`${PWD_COMMAND}`; export r; \
46187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46188 $(NORMAL_TARGET_EXPORTS) \
46189 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
46190 for flag in $(EXTRA_TARGET_FLAGS); do \
46191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46192 done; \
46193 (cd $(TARGET_SUBDIR)/libquadmath && \
46194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46196 "RANLIB=$${RANLIB}" \
46197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46198 dvi) \
46199 || exit 1
46200
46201 @endif target-libquadmath
46202
46203 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
46204 maybe-pdf-target-libquadmath:
46205 @if target-libquadmath
46206 maybe-pdf-target-libquadmath: pdf-target-libquadmath
46207
46208 pdf-target-libquadmath: \
46209 configure-target-libquadmath
46210 @: $(MAKE); $(unstage)
46211 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46212 r=`${PWD_COMMAND}`; export r; \
46213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46214 $(NORMAL_TARGET_EXPORTS) \
46215 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
46216 for flag in $(EXTRA_TARGET_FLAGS); do \
46217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46218 done; \
46219 (cd $(TARGET_SUBDIR)/libquadmath && \
46220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46222 "RANLIB=$${RANLIB}" \
46223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46224 pdf) \
46225 || exit 1
46226
46227 @endif target-libquadmath
46228
46229 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
46230 maybe-html-target-libquadmath:
46231 @if target-libquadmath
46232 maybe-html-target-libquadmath: html-target-libquadmath
46233
46234 html-target-libquadmath: \
46235 configure-target-libquadmath
46236 @: $(MAKE); $(unstage)
46237 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46238 r=`${PWD_COMMAND}`; export r; \
46239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46240 $(NORMAL_TARGET_EXPORTS) \
46241 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
46242 for flag in $(EXTRA_TARGET_FLAGS); do \
46243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46244 done; \
46245 (cd $(TARGET_SUBDIR)/libquadmath && \
46246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46248 "RANLIB=$${RANLIB}" \
46249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46250 html) \
46251 || exit 1
46252
46253 @endif target-libquadmath
46254
46255 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
46256 maybe-TAGS-target-libquadmath:
46257 @if target-libquadmath
46258 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
46259
46260 TAGS-target-libquadmath: \
46261 configure-target-libquadmath
46262 @: $(MAKE); $(unstage)
46263 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46264 r=`${PWD_COMMAND}`; export r; \
46265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46266 $(NORMAL_TARGET_EXPORTS) \
46267 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
46268 for flag in $(EXTRA_TARGET_FLAGS); do \
46269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46270 done; \
46271 (cd $(TARGET_SUBDIR)/libquadmath && \
46272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46274 "RANLIB=$${RANLIB}" \
46275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46276 TAGS) \
46277 || exit 1
46278
46279 @endif target-libquadmath
46280
46281 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
46282 maybe-install-info-target-libquadmath:
46283 @if target-libquadmath
46284 maybe-install-info-target-libquadmath: install-info-target-libquadmath
46285
46286 install-info-target-libquadmath: \
46287 configure-target-libquadmath \
46288 info-target-libquadmath
46289 @: $(MAKE); $(unstage)
46290 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46291 r=`${PWD_COMMAND}`; export r; \
46292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46293 $(NORMAL_TARGET_EXPORTS) \
46294 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
46295 for flag in $(EXTRA_TARGET_FLAGS); do \
46296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46297 done; \
46298 (cd $(TARGET_SUBDIR)/libquadmath && \
46299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46301 "RANLIB=$${RANLIB}" \
46302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46303 install-info) \
46304 || exit 1
46305
46306 @endif target-libquadmath
46307
46308 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
46309 maybe-install-pdf-target-libquadmath:
46310 @if target-libquadmath
46311 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
46312
46313 install-pdf-target-libquadmath: \
46314 configure-target-libquadmath \
46315 pdf-target-libquadmath
46316 @: $(MAKE); $(unstage)
46317 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46318 r=`${PWD_COMMAND}`; export r; \
46319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46320 $(NORMAL_TARGET_EXPORTS) \
46321 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
46322 for flag in $(EXTRA_TARGET_FLAGS); do \
46323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46324 done; \
46325 (cd $(TARGET_SUBDIR)/libquadmath && \
46326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46328 "RANLIB=$${RANLIB}" \
46329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46330 install-pdf) \
46331 || exit 1
46332
46333 @endif target-libquadmath
46334
46335 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
46336 maybe-install-html-target-libquadmath:
46337 @if target-libquadmath
46338 maybe-install-html-target-libquadmath: install-html-target-libquadmath
46339
46340 install-html-target-libquadmath: \
46341 configure-target-libquadmath \
46342 html-target-libquadmath
46343 @: $(MAKE); $(unstage)
46344 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46345 r=`${PWD_COMMAND}`; export r; \
46346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46347 $(NORMAL_TARGET_EXPORTS) \
46348 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
46349 for flag in $(EXTRA_TARGET_FLAGS); do \
46350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46351 done; \
46352 (cd $(TARGET_SUBDIR)/libquadmath && \
46353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46355 "RANLIB=$${RANLIB}" \
46356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46357 install-html) \
46358 || exit 1
46359
46360 @endif target-libquadmath
46361
46362 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
46363 maybe-installcheck-target-libquadmath:
46364 @if target-libquadmath
46365 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
46366
46367 installcheck-target-libquadmath: \
46368 configure-target-libquadmath
46369 @: $(MAKE); $(unstage)
46370 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46371 r=`${PWD_COMMAND}`; export r; \
46372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46373 $(NORMAL_TARGET_EXPORTS) \
46374 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
46375 for flag in $(EXTRA_TARGET_FLAGS); do \
46376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46377 done; \
46378 (cd $(TARGET_SUBDIR)/libquadmath && \
46379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46381 "RANLIB=$${RANLIB}" \
46382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46383 installcheck) \
46384 || exit 1
46385
46386 @endif target-libquadmath
46387
46388 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
46389 maybe-mostlyclean-target-libquadmath:
46390 @if target-libquadmath
46391 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
46392
46393 mostlyclean-target-libquadmath:
46394 @: $(MAKE); $(unstage)
46395 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46396 r=`${PWD_COMMAND}`; export r; \
46397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46398 $(NORMAL_TARGET_EXPORTS) \
46399 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
46400 for flag in $(EXTRA_TARGET_FLAGS); do \
46401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46402 done; \
46403 (cd $(TARGET_SUBDIR)/libquadmath && \
46404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46406 "RANLIB=$${RANLIB}" \
46407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46408 mostlyclean) \
46409 || exit 1
46410
46411 @endif target-libquadmath
46412
46413 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
46414 maybe-clean-target-libquadmath:
46415 @if target-libquadmath
46416 maybe-clean-target-libquadmath: clean-target-libquadmath
46417
46418 clean-target-libquadmath:
46419 @: $(MAKE); $(unstage)
46420 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46421 r=`${PWD_COMMAND}`; export r; \
46422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46423 $(NORMAL_TARGET_EXPORTS) \
46424 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
46425 for flag in $(EXTRA_TARGET_FLAGS); do \
46426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46427 done; \
46428 (cd $(TARGET_SUBDIR)/libquadmath && \
46429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46431 "RANLIB=$${RANLIB}" \
46432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46433 clean) \
46434 || exit 1
46435
46436 @endif target-libquadmath
46437
46438 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
46439 maybe-distclean-target-libquadmath:
46440 @if target-libquadmath
46441 maybe-distclean-target-libquadmath: distclean-target-libquadmath
46442
46443 distclean-target-libquadmath:
46444 @: $(MAKE); $(unstage)
46445 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46446 r=`${PWD_COMMAND}`; export r; \
46447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46448 $(NORMAL_TARGET_EXPORTS) \
46449 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
46450 for flag in $(EXTRA_TARGET_FLAGS); do \
46451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46452 done; \
46453 (cd $(TARGET_SUBDIR)/libquadmath && \
46454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46456 "RANLIB=$${RANLIB}" \
46457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46458 distclean) \
46459 || exit 1
46460
46461 @endif target-libquadmath
46462
46463 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
46464 maybe-maintainer-clean-target-libquadmath:
46465 @if target-libquadmath
46466 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
46467
46468 maintainer-clean-target-libquadmath:
46469 @: $(MAKE); $(unstage)
46470 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46471 r=`${PWD_COMMAND}`; export r; \
46472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46473 $(NORMAL_TARGET_EXPORTS) \
46474 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
46475 for flag in $(EXTRA_TARGET_FLAGS); do \
46476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46477 done; \
46478 (cd $(TARGET_SUBDIR)/libquadmath && \
46479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46481 "RANLIB=$${RANLIB}" \
46482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46483 maintainer-clean) \
46484 || exit 1
46485
46486 @endif target-libquadmath
46487
46488
46489
46490
46491
46492 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
46493 maybe-configure-target-libgfortran:
46494 @if gcc-bootstrap
46495 configure-target-libgfortran: stage_current
46496 @endif gcc-bootstrap
46497 @if target-libgfortran
46498 maybe-configure-target-libgfortran: configure-target-libgfortran
46499 configure-target-libgfortran:
46500 @: $(MAKE); $(unstage)
46501 @r=`${PWD_COMMAND}`; export r; \
46502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46503 echo "Checking multilib configuration for libgfortran..."; \
46504 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46505 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
46506 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46507 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46508 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
46509 else \
46510 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
46511 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46512 fi; \
46513 else \
46514 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46515 fi; \
46516 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
46517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46518 $(NORMAL_TARGET_EXPORTS) \
46519 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
46520 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
46521 case $(srcdir) in \
46522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46523 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
46524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46525 esac; \
46526 module_srcdir=libgfortran; \
46527 rm -f no-such-file || : ; \
46528 CONFIG_SITE=no-such-file $(SHELL) \
46529 $$s/$$module_srcdir/configure \
46530 --srcdir=$${topdir}/$$module_srcdir \
46531 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46532 --target=${target_alias} \
46533 || exit 1
46534 @endif target-libgfortran
46535
46536
46537
46538
46539
46540 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
46541 maybe-all-target-libgfortran:
46542 @if gcc-bootstrap
46543 all-target-libgfortran: stage_current
46544 @endif gcc-bootstrap
46545 @if target-libgfortran
46546 TARGET-target-libgfortran=all
46547 maybe-all-target-libgfortran: all-target-libgfortran
46548 all-target-libgfortran: configure-target-libgfortran
46549 @: $(MAKE); $(unstage)
46550 @r=`${PWD_COMMAND}`; export r; \
46551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46552 $(NORMAL_TARGET_EXPORTS) \
46553 (cd $(TARGET_SUBDIR)/libgfortran && \
46554 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46555 $(TARGET-target-libgfortran))
46556 @endif target-libgfortran
46557
46558
46559
46560
46561
46562 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
46563 maybe-check-target-libgfortran:
46564 @if target-libgfortran
46565 maybe-check-target-libgfortran: check-target-libgfortran
46566
46567 check-target-libgfortran:
46568 @: $(MAKE); $(unstage)
46569 @r=`${PWD_COMMAND}`; export r; \
46570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46571 $(NORMAL_TARGET_EXPORTS) \
46572 (cd $(TARGET_SUBDIR)/libgfortran && \
46573 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46574
46575 @endif target-libgfortran
46576
46577 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
46578 maybe-install-target-libgfortran:
46579 @if target-libgfortran
46580 maybe-install-target-libgfortran: install-target-libgfortran
46581
46582 install-target-libgfortran: installdirs
46583 @: $(MAKE); $(unstage)
46584 @r=`${PWD_COMMAND}`; export r; \
46585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46586 $(NORMAL_TARGET_EXPORTS) \
46587 (cd $(TARGET_SUBDIR)/libgfortran && \
46588 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46589
46590 @endif target-libgfortran
46591
46592 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
46593 maybe-install-strip-target-libgfortran:
46594 @if target-libgfortran
46595 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
46596
46597 install-strip-target-libgfortran: installdirs
46598 @: $(MAKE); $(unstage)
46599 @r=`${PWD_COMMAND}`; export r; \
46600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46601 $(NORMAL_TARGET_EXPORTS) \
46602 (cd $(TARGET_SUBDIR)/libgfortran && \
46603 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46604
46605 @endif target-libgfortran
46606
46607 # Other targets (info, dvi, pdf, etc.)
46608
46609 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
46610 maybe-info-target-libgfortran:
46611 @if target-libgfortran
46612 maybe-info-target-libgfortran: info-target-libgfortran
46613
46614 info-target-libgfortran: \
46615 configure-target-libgfortran
46616 @: $(MAKE); $(unstage)
46617 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46618 r=`${PWD_COMMAND}`; export r; \
46619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46620 $(NORMAL_TARGET_EXPORTS) \
46621 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
46622 for flag in $(EXTRA_TARGET_FLAGS); do \
46623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46624 done; \
46625 (cd $(TARGET_SUBDIR)/libgfortran && \
46626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46628 "RANLIB=$${RANLIB}" \
46629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46630 info) \
46631 || exit 1
46632
46633 @endif target-libgfortran
46634
46635 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
46636 maybe-dvi-target-libgfortran:
46637 @if target-libgfortran
46638 maybe-dvi-target-libgfortran: dvi-target-libgfortran
46639
46640 dvi-target-libgfortran: \
46641 configure-target-libgfortran
46642 @: $(MAKE); $(unstage)
46643 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46644 r=`${PWD_COMMAND}`; export r; \
46645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46646 $(NORMAL_TARGET_EXPORTS) \
46647 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
46648 for flag in $(EXTRA_TARGET_FLAGS); do \
46649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46650 done; \
46651 (cd $(TARGET_SUBDIR)/libgfortran && \
46652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46654 "RANLIB=$${RANLIB}" \
46655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46656 dvi) \
46657 || exit 1
46658
46659 @endif target-libgfortran
46660
46661 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
46662 maybe-pdf-target-libgfortran:
46663 @if target-libgfortran
46664 maybe-pdf-target-libgfortran: pdf-target-libgfortran
46665
46666 pdf-target-libgfortran: \
46667 configure-target-libgfortran
46668 @: $(MAKE); $(unstage)
46669 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46670 r=`${PWD_COMMAND}`; export r; \
46671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46672 $(NORMAL_TARGET_EXPORTS) \
46673 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
46674 for flag in $(EXTRA_TARGET_FLAGS); do \
46675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46676 done; \
46677 (cd $(TARGET_SUBDIR)/libgfortran && \
46678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46680 "RANLIB=$${RANLIB}" \
46681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46682 pdf) \
46683 || exit 1
46684
46685 @endif target-libgfortran
46686
46687 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
46688 maybe-html-target-libgfortran:
46689 @if target-libgfortran
46690 maybe-html-target-libgfortran: html-target-libgfortran
46691
46692 html-target-libgfortran: \
46693 configure-target-libgfortran
46694 @: $(MAKE); $(unstage)
46695 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46696 r=`${PWD_COMMAND}`; export r; \
46697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46698 $(NORMAL_TARGET_EXPORTS) \
46699 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
46700 for flag in $(EXTRA_TARGET_FLAGS); do \
46701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46702 done; \
46703 (cd $(TARGET_SUBDIR)/libgfortran && \
46704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46706 "RANLIB=$${RANLIB}" \
46707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46708 html) \
46709 || exit 1
46710
46711 @endif target-libgfortran
46712
46713 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
46714 maybe-TAGS-target-libgfortran:
46715 @if target-libgfortran
46716 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
46717
46718 TAGS-target-libgfortran: \
46719 configure-target-libgfortran
46720 @: $(MAKE); $(unstage)
46721 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46722 r=`${PWD_COMMAND}`; export r; \
46723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46724 $(NORMAL_TARGET_EXPORTS) \
46725 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
46726 for flag in $(EXTRA_TARGET_FLAGS); do \
46727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46728 done; \
46729 (cd $(TARGET_SUBDIR)/libgfortran && \
46730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46732 "RANLIB=$${RANLIB}" \
46733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46734 TAGS) \
46735 || exit 1
46736
46737 @endif target-libgfortran
46738
46739 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
46740 maybe-install-info-target-libgfortran:
46741 @if target-libgfortran
46742 maybe-install-info-target-libgfortran: install-info-target-libgfortran
46743
46744 install-info-target-libgfortran: \
46745 configure-target-libgfortran \
46746 info-target-libgfortran
46747 @: $(MAKE); $(unstage)
46748 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46749 r=`${PWD_COMMAND}`; export r; \
46750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46751 $(NORMAL_TARGET_EXPORTS) \
46752 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
46753 for flag in $(EXTRA_TARGET_FLAGS); do \
46754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46755 done; \
46756 (cd $(TARGET_SUBDIR)/libgfortran && \
46757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46759 "RANLIB=$${RANLIB}" \
46760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46761 install-info) \
46762 || exit 1
46763
46764 @endif target-libgfortran
46765
46766 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
46767 maybe-install-pdf-target-libgfortran:
46768 @if target-libgfortran
46769 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
46770
46771 install-pdf-target-libgfortran: \
46772 configure-target-libgfortran \
46773 pdf-target-libgfortran
46774 @: $(MAKE); $(unstage)
46775 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46776 r=`${PWD_COMMAND}`; export r; \
46777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46778 $(NORMAL_TARGET_EXPORTS) \
46779 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
46780 for flag in $(EXTRA_TARGET_FLAGS); do \
46781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46782 done; \
46783 (cd $(TARGET_SUBDIR)/libgfortran && \
46784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46786 "RANLIB=$${RANLIB}" \
46787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46788 install-pdf) \
46789 || exit 1
46790
46791 @endif target-libgfortran
46792
46793 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
46794 maybe-install-html-target-libgfortran:
46795 @if target-libgfortran
46796 maybe-install-html-target-libgfortran: install-html-target-libgfortran
46797
46798 install-html-target-libgfortran: \
46799 configure-target-libgfortran \
46800 html-target-libgfortran
46801 @: $(MAKE); $(unstage)
46802 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46803 r=`${PWD_COMMAND}`; export r; \
46804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46805 $(NORMAL_TARGET_EXPORTS) \
46806 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
46807 for flag in $(EXTRA_TARGET_FLAGS); do \
46808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46809 done; \
46810 (cd $(TARGET_SUBDIR)/libgfortran && \
46811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46813 "RANLIB=$${RANLIB}" \
46814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46815 install-html) \
46816 || exit 1
46817
46818 @endif target-libgfortran
46819
46820 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
46821 maybe-installcheck-target-libgfortran:
46822 @if target-libgfortran
46823 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
46824
46825 installcheck-target-libgfortran: \
46826 configure-target-libgfortran
46827 @: $(MAKE); $(unstage)
46828 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46829 r=`${PWD_COMMAND}`; export r; \
46830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46831 $(NORMAL_TARGET_EXPORTS) \
46832 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
46833 for flag in $(EXTRA_TARGET_FLAGS); do \
46834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46835 done; \
46836 (cd $(TARGET_SUBDIR)/libgfortran && \
46837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46839 "RANLIB=$${RANLIB}" \
46840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46841 installcheck) \
46842 || exit 1
46843
46844 @endif target-libgfortran
46845
46846 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
46847 maybe-mostlyclean-target-libgfortran:
46848 @if target-libgfortran
46849 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
46850
46851 mostlyclean-target-libgfortran:
46852 @: $(MAKE); $(unstage)
46853 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46854 r=`${PWD_COMMAND}`; export r; \
46855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46856 $(NORMAL_TARGET_EXPORTS) \
46857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
46858 for flag in $(EXTRA_TARGET_FLAGS); do \
46859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46860 done; \
46861 (cd $(TARGET_SUBDIR)/libgfortran && \
46862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46864 "RANLIB=$${RANLIB}" \
46865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46866 mostlyclean) \
46867 || exit 1
46868
46869 @endif target-libgfortran
46870
46871 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
46872 maybe-clean-target-libgfortran:
46873 @if target-libgfortran
46874 maybe-clean-target-libgfortran: clean-target-libgfortran
46875
46876 clean-target-libgfortran:
46877 @: $(MAKE); $(unstage)
46878 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46879 r=`${PWD_COMMAND}`; export r; \
46880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46881 $(NORMAL_TARGET_EXPORTS) \
46882 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
46883 for flag in $(EXTRA_TARGET_FLAGS); do \
46884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46885 done; \
46886 (cd $(TARGET_SUBDIR)/libgfortran && \
46887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46889 "RANLIB=$${RANLIB}" \
46890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46891 clean) \
46892 || exit 1
46893
46894 @endif target-libgfortran
46895
46896 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
46897 maybe-distclean-target-libgfortran:
46898 @if target-libgfortran
46899 maybe-distclean-target-libgfortran: distclean-target-libgfortran
46900
46901 distclean-target-libgfortran:
46902 @: $(MAKE); $(unstage)
46903 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46904 r=`${PWD_COMMAND}`; export r; \
46905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46906 $(NORMAL_TARGET_EXPORTS) \
46907 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
46908 for flag in $(EXTRA_TARGET_FLAGS); do \
46909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46910 done; \
46911 (cd $(TARGET_SUBDIR)/libgfortran && \
46912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46914 "RANLIB=$${RANLIB}" \
46915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46916 distclean) \
46917 || exit 1
46918
46919 @endif target-libgfortran
46920
46921 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
46922 maybe-maintainer-clean-target-libgfortran:
46923 @if target-libgfortran
46924 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
46925
46926 maintainer-clean-target-libgfortran:
46927 @: $(MAKE); $(unstage)
46928 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46929 r=`${PWD_COMMAND}`; export r; \
46930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46931 $(NORMAL_TARGET_EXPORTS) \
46932 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
46933 for flag in $(EXTRA_TARGET_FLAGS); do \
46934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46935 done; \
46936 (cd $(TARGET_SUBDIR)/libgfortran && \
46937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46939 "RANLIB=$${RANLIB}" \
46940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46941 maintainer-clean) \
46942 || exit 1
46943
46944 @endif target-libgfortran
46945
46946
46947
46948
46949
46950 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
46951 maybe-configure-target-libobjc:
46952 @if gcc-bootstrap
46953 configure-target-libobjc: stage_current
46954 @endif gcc-bootstrap
46955 @if target-libobjc
46956 maybe-configure-target-libobjc: configure-target-libobjc
46957 configure-target-libobjc:
46958 @: $(MAKE); $(unstage)
46959 @r=`${PWD_COMMAND}`; export r; \
46960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46961 echo "Checking multilib configuration for libobjc..."; \
46962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
46963 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
46964 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46965 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46966 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
46967 else \
46968 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
46969 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46970 fi; \
46971 else \
46972 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46973 fi; \
46974 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
46975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
46976 $(NORMAL_TARGET_EXPORTS) \
46977 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
46978 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
46979 case $(srcdir) in \
46980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46981 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
46982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46983 esac; \
46984 module_srcdir=libobjc; \
46985 rm -f no-such-file || : ; \
46986 CONFIG_SITE=no-such-file $(SHELL) \
46987 $$s/$$module_srcdir/configure \
46988 --srcdir=$${topdir}/$$module_srcdir \
46989 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46990 --target=${target_alias} \
46991 || exit 1
46992 @endif target-libobjc
46993
46994
46995
46996
46997
46998 .PHONY: all-target-libobjc maybe-all-target-libobjc
46999 maybe-all-target-libobjc:
47000 @if gcc-bootstrap
47001 all-target-libobjc: stage_current
47002 @endif gcc-bootstrap
47003 @if target-libobjc
47004 TARGET-target-libobjc=all
47005 maybe-all-target-libobjc: all-target-libobjc
47006 all-target-libobjc: configure-target-libobjc
47007 @: $(MAKE); $(unstage)
47008 @r=`${PWD_COMMAND}`; export r; \
47009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47010 $(NORMAL_TARGET_EXPORTS) \
47011 (cd $(TARGET_SUBDIR)/libobjc && \
47012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47013 $(TARGET-target-libobjc))
47014 @endif target-libobjc
47015
47016
47017
47018
47019
47020 .PHONY: check-target-libobjc maybe-check-target-libobjc
47021 maybe-check-target-libobjc:
47022 @if target-libobjc
47023 maybe-check-target-libobjc: check-target-libobjc
47024
47025 check-target-libobjc:
47026 @: $(MAKE); $(unstage)
47027 @r=`${PWD_COMMAND}`; export r; \
47028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47029 $(NORMAL_TARGET_EXPORTS) \
47030 (cd $(TARGET_SUBDIR)/libobjc && \
47031 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47032
47033 @endif target-libobjc
47034
47035 .PHONY: install-target-libobjc maybe-install-target-libobjc
47036 maybe-install-target-libobjc:
47037 @if target-libobjc
47038 maybe-install-target-libobjc: install-target-libobjc
47039
47040 install-target-libobjc: installdirs
47041 @: $(MAKE); $(unstage)
47042 @r=`${PWD_COMMAND}`; export r; \
47043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47044 $(NORMAL_TARGET_EXPORTS) \
47045 (cd $(TARGET_SUBDIR)/libobjc && \
47046 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47047
47048 @endif target-libobjc
47049
47050 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
47051 maybe-install-strip-target-libobjc:
47052 @if target-libobjc
47053 maybe-install-strip-target-libobjc: install-strip-target-libobjc
47054
47055 install-strip-target-libobjc: installdirs
47056 @: $(MAKE); $(unstage)
47057 @r=`${PWD_COMMAND}`; export r; \
47058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47059 $(NORMAL_TARGET_EXPORTS) \
47060 (cd $(TARGET_SUBDIR)/libobjc && \
47061 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47062
47063 @endif target-libobjc
47064
47065 # Other targets (info, dvi, pdf, etc.)
47066
47067 .PHONY: maybe-info-target-libobjc info-target-libobjc
47068 maybe-info-target-libobjc:
47069 @if target-libobjc
47070 maybe-info-target-libobjc: info-target-libobjc
47071
47072 info-target-libobjc: \
47073 configure-target-libobjc
47074 @: $(MAKE); $(unstage)
47075 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47076 r=`${PWD_COMMAND}`; export r; \
47077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47078 $(NORMAL_TARGET_EXPORTS) \
47079 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
47080 for flag in $(EXTRA_TARGET_FLAGS); do \
47081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47082 done; \
47083 (cd $(TARGET_SUBDIR)/libobjc && \
47084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47086 "RANLIB=$${RANLIB}" \
47087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47088 info) \
47089 || exit 1
47090
47091 @endif target-libobjc
47092
47093 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
47094 maybe-dvi-target-libobjc:
47095 @if target-libobjc
47096 maybe-dvi-target-libobjc: dvi-target-libobjc
47097
47098 dvi-target-libobjc: \
47099 configure-target-libobjc
47100 @: $(MAKE); $(unstage)
47101 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47102 r=`${PWD_COMMAND}`; export r; \
47103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47104 $(NORMAL_TARGET_EXPORTS) \
47105 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
47106 for flag in $(EXTRA_TARGET_FLAGS); do \
47107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47108 done; \
47109 (cd $(TARGET_SUBDIR)/libobjc && \
47110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47112 "RANLIB=$${RANLIB}" \
47113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47114 dvi) \
47115 || exit 1
47116
47117 @endif target-libobjc
47118
47119 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
47120 maybe-pdf-target-libobjc:
47121 @if target-libobjc
47122 maybe-pdf-target-libobjc: pdf-target-libobjc
47123
47124 pdf-target-libobjc: \
47125 configure-target-libobjc
47126 @: $(MAKE); $(unstage)
47127 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47128 r=`${PWD_COMMAND}`; export r; \
47129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47130 $(NORMAL_TARGET_EXPORTS) \
47131 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
47132 for flag in $(EXTRA_TARGET_FLAGS); do \
47133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47134 done; \
47135 (cd $(TARGET_SUBDIR)/libobjc && \
47136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47138 "RANLIB=$${RANLIB}" \
47139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47140 pdf) \
47141 || exit 1
47142
47143 @endif target-libobjc
47144
47145 .PHONY: maybe-html-target-libobjc html-target-libobjc
47146 maybe-html-target-libobjc:
47147 @if target-libobjc
47148 maybe-html-target-libobjc: html-target-libobjc
47149
47150 html-target-libobjc: \
47151 configure-target-libobjc
47152 @: $(MAKE); $(unstage)
47153 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47154 r=`${PWD_COMMAND}`; export r; \
47155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47156 $(NORMAL_TARGET_EXPORTS) \
47157 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
47158 for flag in $(EXTRA_TARGET_FLAGS); do \
47159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47160 done; \
47161 (cd $(TARGET_SUBDIR)/libobjc && \
47162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47164 "RANLIB=$${RANLIB}" \
47165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47166 html) \
47167 || exit 1
47168
47169 @endif target-libobjc
47170
47171 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
47172 maybe-TAGS-target-libobjc:
47173 @if target-libobjc
47174 maybe-TAGS-target-libobjc: TAGS-target-libobjc
47175
47176 TAGS-target-libobjc: \
47177 configure-target-libobjc
47178 @: $(MAKE); $(unstage)
47179 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47180 r=`${PWD_COMMAND}`; export r; \
47181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47182 $(NORMAL_TARGET_EXPORTS) \
47183 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
47184 for flag in $(EXTRA_TARGET_FLAGS); do \
47185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47186 done; \
47187 (cd $(TARGET_SUBDIR)/libobjc && \
47188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47190 "RANLIB=$${RANLIB}" \
47191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47192 TAGS) \
47193 || exit 1
47194
47195 @endif target-libobjc
47196
47197 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
47198 maybe-install-info-target-libobjc:
47199 @if target-libobjc
47200 maybe-install-info-target-libobjc: install-info-target-libobjc
47201
47202 install-info-target-libobjc: \
47203 configure-target-libobjc \
47204 info-target-libobjc
47205 @: $(MAKE); $(unstage)
47206 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47207 r=`${PWD_COMMAND}`; export r; \
47208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47209 $(NORMAL_TARGET_EXPORTS) \
47210 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
47211 for flag in $(EXTRA_TARGET_FLAGS); do \
47212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47213 done; \
47214 (cd $(TARGET_SUBDIR)/libobjc && \
47215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47217 "RANLIB=$${RANLIB}" \
47218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47219 install-info) \
47220 || exit 1
47221
47222 @endif target-libobjc
47223
47224 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
47225 maybe-install-pdf-target-libobjc:
47226 @if target-libobjc
47227 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
47228
47229 install-pdf-target-libobjc: \
47230 configure-target-libobjc \
47231 pdf-target-libobjc
47232 @: $(MAKE); $(unstage)
47233 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47234 r=`${PWD_COMMAND}`; export r; \
47235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47236 $(NORMAL_TARGET_EXPORTS) \
47237 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
47238 for flag in $(EXTRA_TARGET_FLAGS); do \
47239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47240 done; \
47241 (cd $(TARGET_SUBDIR)/libobjc && \
47242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47244 "RANLIB=$${RANLIB}" \
47245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47246 install-pdf) \
47247 || exit 1
47248
47249 @endif target-libobjc
47250
47251 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
47252 maybe-install-html-target-libobjc:
47253 @if target-libobjc
47254 maybe-install-html-target-libobjc: install-html-target-libobjc
47255
47256 install-html-target-libobjc: \
47257 configure-target-libobjc \
47258 html-target-libobjc
47259 @: $(MAKE); $(unstage)
47260 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47261 r=`${PWD_COMMAND}`; export r; \
47262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47263 $(NORMAL_TARGET_EXPORTS) \
47264 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
47265 for flag in $(EXTRA_TARGET_FLAGS); do \
47266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47267 done; \
47268 (cd $(TARGET_SUBDIR)/libobjc && \
47269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47271 "RANLIB=$${RANLIB}" \
47272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47273 install-html) \
47274 || exit 1
47275
47276 @endif target-libobjc
47277
47278 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
47279 maybe-installcheck-target-libobjc:
47280 @if target-libobjc
47281 maybe-installcheck-target-libobjc: installcheck-target-libobjc
47282
47283 installcheck-target-libobjc: \
47284 configure-target-libobjc
47285 @: $(MAKE); $(unstage)
47286 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47287 r=`${PWD_COMMAND}`; export r; \
47288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47289 $(NORMAL_TARGET_EXPORTS) \
47290 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
47291 for flag in $(EXTRA_TARGET_FLAGS); do \
47292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47293 done; \
47294 (cd $(TARGET_SUBDIR)/libobjc && \
47295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47297 "RANLIB=$${RANLIB}" \
47298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47299 installcheck) \
47300 || exit 1
47301
47302 @endif target-libobjc
47303
47304 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
47305 maybe-mostlyclean-target-libobjc:
47306 @if target-libobjc
47307 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
47308
47309 mostlyclean-target-libobjc:
47310 @: $(MAKE); $(unstage)
47311 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47312 r=`${PWD_COMMAND}`; export r; \
47313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47314 $(NORMAL_TARGET_EXPORTS) \
47315 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
47316 for flag in $(EXTRA_TARGET_FLAGS); do \
47317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47318 done; \
47319 (cd $(TARGET_SUBDIR)/libobjc && \
47320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47322 "RANLIB=$${RANLIB}" \
47323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47324 mostlyclean) \
47325 || exit 1
47326
47327 @endif target-libobjc
47328
47329 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
47330 maybe-clean-target-libobjc:
47331 @if target-libobjc
47332 maybe-clean-target-libobjc: clean-target-libobjc
47333
47334 clean-target-libobjc:
47335 @: $(MAKE); $(unstage)
47336 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47337 r=`${PWD_COMMAND}`; export r; \
47338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47339 $(NORMAL_TARGET_EXPORTS) \
47340 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
47341 for flag in $(EXTRA_TARGET_FLAGS); do \
47342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47343 done; \
47344 (cd $(TARGET_SUBDIR)/libobjc && \
47345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47347 "RANLIB=$${RANLIB}" \
47348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47349 clean) \
47350 || exit 1
47351
47352 @endif target-libobjc
47353
47354 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
47355 maybe-distclean-target-libobjc:
47356 @if target-libobjc
47357 maybe-distclean-target-libobjc: distclean-target-libobjc
47358
47359 distclean-target-libobjc:
47360 @: $(MAKE); $(unstage)
47361 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47362 r=`${PWD_COMMAND}`; export r; \
47363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47364 $(NORMAL_TARGET_EXPORTS) \
47365 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
47366 for flag in $(EXTRA_TARGET_FLAGS); do \
47367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47368 done; \
47369 (cd $(TARGET_SUBDIR)/libobjc && \
47370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47372 "RANLIB=$${RANLIB}" \
47373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47374 distclean) \
47375 || exit 1
47376
47377 @endif target-libobjc
47378
47379 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
47380 maybe-maintainer-clean-target-libobjc:
47381 @if target-libobjc
47382 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
47383
47384 maintainer-clean-target-libobjc:
47385 @: $(MAKE); $(unstage)
47386 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47387 r=`${PWD_COMMAND}`; export r; \
47388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47389 $(NORMAL_TARGET_EXPORTS) \
47390 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
47391 for flag in $(EXTRA_TARGET_FLAGS); do \
47392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47393 done; \
47394 (cd $(TARGET_SUBDIR)/libobjc && \
47395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47397 "RANLIB=$${RANLIB}" \
47398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47399 maintainer-clean) \
47400 || exit 1
47401
47402 @endif target-libobjc
47403
47404
47405
47406
47407
47408 .PHONY: configure-target-libgo maybe-configure-target-libgo
47409 maybe-configure-target-libgo:
47410 @if gcc-bootstrap
47411 configure-target-libgo: stage_current
47412 @endif gcc-bootstrap
47413 @if target-libgo
47414 maybe-configure-target-libgo: configure-target-libgo
47415 configure-target-libgo:
47416 @: $(MAKE); $(unstage)
47417 @r=`${PWD_COMMAND}`; export r; \
47418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47419 echo "Checking multilib configuration for libgo..."; \
47420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
47422 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
47423 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
47424 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
47425 else \
47426 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
47427 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47428 fi; \
47429 else \
47430 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47431 fi; \
47432 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
47433 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47434 $(NORMAL_TARGET_EXPORTS) \
47435 echo Configuring in $(TARGET_SUBDIR)/libgo; \
47436 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
47437 case $(srcdir) in \
47438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47439 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
47440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47441 esac; \
47442 module_srcdir=libgo; \
47443 rm -f no-such-file || : ; \
47444 CONFIG_SITE=no-such-file $(SHELL) \
47445 $$s/$$module_srcdir/configure \
47446 --srcdir=$${topdir}/$$module_srcdir \
47447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47448 --target=${target_alias} \
47449 || exit 1
47450 @endif target-libgo
47451
47452
47453
47454
47455
47456 .PHONY: all-target-libgo maybe-all-target-libgo
47457 maybe-all-target-libgo:
47458 @if gcc-bootstrap
47459 all-target-libgo: stage_current
47460 @endif gcc-bootstrap
47461 @if target-libgo
47462 TARGET-target-libgo=all
47463 maybe-all-target-libgo: all-target-libgo
47464 all-target-libgo: configure-target-libgo
47465 @: $(MAKE); $(unstage)
47466 @r=`${PWD_COMMAND}`; export r; \
47467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47468 $(NORMAL_TARGET_EXPORTS) \
47469 (cd $(TARGET_SUBDIR)/libgo && \
47470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47471 $(TARGET-target-libgo))
47472 @endif target-libgo
47473
47474
47475
47476
47477
47478 .PHONY: check-target-libgo maybe-check-target-libgo
47479 maybe-check-target-libgo:
47480 @if target-libgo
47481 maybe-check-target-libgo: check-target-libgo
47482
47483 check-target-libgo:
47484 @: $(MAKE); $(unstage)
47485 @r=`${PWD_COMMAND}`; export r; \
47486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47487 $(NORMAL_TARGET_EXPORTS) \
47488 (cd $(TARGET_SUBDIR)/libgo && \
47489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47490
47491 @endif target-libgo
47492
47493 .PHONY: install-target-libgo maybe-install-target-libgo
47494 maybe-install-target-libgo:
47495 @if target-libgo
47496 maybe-install-target-libgo: install-target-libgo
47497
47498 install-target-libgo: installdirs
47499 @: $(MAKE); $(unstage)
47500 @r=`${PWD_COMMAND}`; export r; \
47501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47502 $(NORMAL_TARGET_EXPORTS) \
47503 (cd $(TARGET_SUBDIR)/libgo && \
47504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47505
47506 @endif target-libgo
47507
47508 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
47509 maybe-install-strip-target-libgo:
47510 @if target-libgo
47511 maybe-install-strip-target-libgo: install-strip-target-libgo
47512
47513 install-strip-target-libgo: installdirs
47514 @: $(MAKE); $(unstage)
47515 @r=`${PWD_COMMAND}`; export r; \
47516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47517 $(NORMAL_TARGET_EXPORTS) \
47518 (cd $(TARGET_SUBDIR)/libgo && \
47519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47520
47521 @endif target-libgo
47522
47523 # Other targets (info, dvi, pdf, etc.)
47524
47525 .PHONY: maybe-info-target-libgo info-target-libgo
47526 maybe-info-target-libgo:
47527 @if target-libgo
47528 maybe-info-target-libgo: info-target-libgo
47529
47530 info-target-libgo: \
47531 configure-target-libgo
47532 @: $(MAKE); $(unstage)
47533 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47534 r=`${PWD_COMMAND}`; export r; \
47535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47536 $(NORMAL_TARGET_EXPORTS) \
47537 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
47538 for flag in $(EXTRA_TARGET_FLAGS); do \
47539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47540 done; \
47541 (cd $(TARGET_SUBDIR)/libgo && \
47542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47544 "RANLIB=$${RANLIB}" \
47545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47546 info) \
47547 || exit 1
47548
47549 @endif target-libgo
47550
47551 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
47552 maybe-dvi-target-libgo:
47553 @if target-libgo
47554 maybe-dvi-target-libgo: dvi-target-libgo
47555
47556 dvi-target-libgo: \
47557 configure-target-libgo
47558 @: $(MAKE); $(unstage)
47559 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47560 r=`${PWD_COMMAND}`; export r; \
47561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47562 $(NORMAL_TARGET_EXPORTS) \
47563 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
47564 for flag in $(EXTRA_TARGET_FLAGS); do \
47565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47566 done; \
47567 (cd $(TARGET_SUBDIR)/libgo && \
47568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47570 "RANLIB=$${RANLIB}" \
47571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47572 dvi) \
47573 || exit 1
47574
47575 @endif target-libgo
47576
47577 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
47578 maybe-pdf-target-libgo:
47579 @if target-libgo
47580 maybe-pdf-target-libgo: pdf-target-libgo
47581
47582 pdf-target-libgo: \
47583 configure-target-libgo
47584 @: $(MAKE); $(unstage)
47585 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47586 r=`${PWD_COMMAND}`; export r; \
47587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47588 $(NORMAL_TARGET_EXPORTS) \
47589 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
47590 for flag in $(EXTRA_TARGET_FLAGS); do \
47591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47592 done; \
47593 (cd $(TARGET_SUBDIR)/libgo && \
47594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47596 "RANLIB=$${RANLIB}" \
47597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47598 pdf) \
47599 || exit 1
47600
47601 @endif target-libgo
47602
47603 .PHONY: maybe-html-target-libgo html-target-libgo
47604 maybe-html-target-libgo:
47605 @if target-libgo
47606 maybe-html-target-libgo: html-target-libgo
47607
47608 html-target-libgo: \
47609 configure-target-libgo
47610 @: $(MAKE); $(unstage)
47611 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47612 r=`${PWD_COMMAND}`; export r; \
47613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47614 $(NORMAL_TARGET_EXPORTS) \
47615 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
47616 for flag in $(EXTRA_TARGET_FLAGS); do \
47617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47618 done; \
47619 (cd $(TARGET_SUBDIR)/libgo && \
47620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47622 "RANLIB=$${RANLIB}" \
47623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47624 html) \
47625 || exit 1
47626
47627 @endif target-libgo
47628
47629 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
47630 maybe-TAGS-target-libgo:
47631 @if target-libgo
47632 maybe-TAGS-target-libgo: TAGS-target-libgo
47633
47634 TAGS-target-libgo: \
47635 configure-target-libgo
47636 @: $(MAKE); $(unstage)
47637 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47638 r=`${PWD_COMMAND}`; export r; \
47639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47640 $(NORMAL_TARGET_EXPORTS) \
47641 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
47642 for flag in $(EXTRA_TARGET_FLAGS); do \
47643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47644 done; \
47645 (cd $(TARGET_SUBDIR)/libgo && \
47646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47648 "RANLIB=$${RANLIB}" \
47649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47650 TAGS) \
47651 || exit 1
47652
47653 @endif target-libgo
47654
47655 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
47656 maybe-install-info-target-libgo:
47657 @if target-libgo
47658 maybe-install-info-target-libgo: install-info-target-libgo
47659
47660 install-info-target-libgo: \
47661 configure-target-libgo \
47662 info-target-libgo
47663 @: $(MAKE); $(unstage)
47664 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47665 r=`${PWD_COMMAND}`; export r; \
47666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47667 $(NORMAL_TARGET_EXPORTS) \
47668 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
47669 for flag in $(EXTRA_TARGET_FLAGS); do \
47670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47671 done; \
47672 (cd $(TARGET_SUBDIR)/libgo && \
47673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47675 "RANLIB=$${RANLIB}" \
47676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47677 install-info) \
47678 || exit 1
47679
47680 @endif target-libgo
47681
47682 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
47683 maybe-install-pdf-target-libgo:
47684 @if target-libgo
47685 maybe-install-pdf-target-libgo: install-pdf-target-libgo
47686
47687 install-pdf-target-libgo: \
47688 configure-target-libgo \
47689 pdf-target-libgo
47690 @: $(MAKE); $(unstage)
47691 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47692 r=`${PWD_COMMAND}`; export r; \
47693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47694 $(NORMAL_TARGET_EXPORTS) \
47695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
47696 for flag in $(EXTRA_TARGET_FLAGS); do \
47697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47698 done; \
47699 (cd $(TARGET_SUBDIR)/libgo && \
47700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47702 "RANLIB=$${RANLIB}" \
47703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47704 install-pdf) \
47705 || exit 1
47706
47707 @endif target-libgo
47708
47709 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
47710 maybe-install-html-target-libgo:
47711 @if target-libgo
47712 maybe-install-html-target-libgo: install-html-target-libgo
47713
47714 install-html-target-libgo: \
47715 configure-target-libgo \
47716 html-target-libgo
47717 @: $(MAKE); $(unstage)
47718 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47719 r=`${PWD_COMMAND}`; export r; \
47720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47721 $(NORMAL_TARGET_EXPORTS) \
47722 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
47723 for flag in $(EXTRA_TARGET_FLAGS); do \
47724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47725 done; \
47726 (cd $(TARGET_SUBDIR)/libgo && \
47727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47729 "RANLIB=$${RANLIB}" \
47730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47731 install-html) \
47732 || exit 1
47733
47734 @endif target-libgo
47735
47736 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
47737 maybe-installcheck-target-libgo:
47738 @if target-libgo
47739 maybe-installcheck-target-libgo: installcheck-target-libgo
47740
47741 installcheck-target-libgo: \
47742 configure-target-libgo
47743 @: $(MAKE); $(unstage)
47744 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47745 r=`${PWD_COMMAND}`; export r; \
47746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47747 $(NORMAL_TARGET_EXPORTS) \
47748 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
47749 for flag in $(EXTRA_TARGET_FLAGS); do \
47750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47751 done; \
47752 (cd $(TARGET_SUBDIR)/libgo && \
47753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47755 "RANLIB=$${RANLIB}" \
47756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47757 installcheck) \
47758 || exit 1
47759
47760 @endif target-libgo
47761
47762 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
47763 maybe-mostlyclean-target-libgo:
47764 @if target-libgo
47765 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
47766
47767 mostlyclean-target-libgo:
47768 @: $(MAKE); $(unstage)
47769 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47770 r=`${PWD_COMMAND}`; export r; \
47771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47772 $(NORMAL_TARGET_EXPORTS) \
47773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
47774 for flag in $(EXTRA_TARGET_FLAGS); do \
47775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47776 done; \
47777 (cd $(TARGET_SUBDIR)/libgo && \
47778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47780 "RANLIB=$${RANLIB}" \
47781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47782 mostlyclean) \
47783 || exit 1
47784
47785 @endif target-libgo
47786
47787 .PHONY: maybe-clean-target-libgo clean-target-libgo
47788 maybe-clean-target-libgo:
47789 @if target-libgo
47790 maybe-clean-target-libgo: clean-target-libgo
47791
47792 clean-target-libgo:
47793 @: $(MAKE); $(unstage)
47794 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47795 r=`${PWD_COMMAND}`; export r; \
47796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47797 $(NORMAL_TARGET_EXPORTS) \
47798 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
47799 for flag in $(EXTRA_TARGET_FLAGS); do \
47800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47801 done; \
47802 (cd $(TARGET_SUBDIR)/libgo && \
47803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47805 "RANLIB=$${RANLIB}" \
47806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47807 clean) \
47808 || exit 1
47809
47810 @endif target-libgo
47811
47812 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
47813 maybe-distclean-target-libgo:
47814 @if target-libgo
47815 maybe-distclean-target-libgo: distclean-target-libgo
47816
47817 distclean-target-libgo:
47818 @: $(MAKE); $(unstage)
47819 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47820 r=`${PWD_COMMAND}`; export r; \
47821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47822 $(NORMAL_TARGET_EXPORTS) \
47823 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
47824 for flag in $(EXTRA_TARGET_FLAGS); do \
47825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47826 done; \
47827 (cd $(TARGET_SUBDIR)/libgo && \
47828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47830 "RANLIB=$${RANLIB}" \
47831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47832 distclean) \
47833 || exit 1
47834
47835 @endif target-libgo
47836
47837 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
47838 maybe-maintainer-clean-target-libgo:
47839 @if target-libgo
47840 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
47841
47842 maintainer-clean-target-libgo:
47843 @: $(MAKE); $(unstage)
47844 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47845 r=`${PWD_COMMAND}`; export r; \
47846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47847 $(NORMAL_TARGET_EXPORTS) \
47848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
47849 for flag in $(EXTRA_TARGET_FLAGS); do \
47850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47851 done; \
47852 (cd $(TARGET_SUBDIR)/libgo && \
47853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47855 "RANLIB=$${RANLIB}" \
47856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47857 maintainer-clean) \
47858 || exit 1
47859
47860 @endif target-libgo
47861
47862
47863
47864
47865
47866 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
47867 maybe-configure-target-libhsail-rt:
47868 @if gcc-bootstrap
47869 configure-target-libhsail-rt: stage_current
47870 @endif gcc-bootstrap
47871 @if target-libhsail-rt
47872 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
47873 configure-target-libhsail-rt:
47874 @: $(MAKE); $(unstage)
47875 @r=`${PWD_COMMAND}`; export r; \
47876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47877 echo "Checking multilib configuration for libhsail-rt..."; \
47878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
47879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
47880 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
47881 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
47882 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
47883 else \
47884 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
47885 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
47886 fi; \
47887 else \
47888 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
47889 fi; \
47890 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
47891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
47892 $(NORMAL_TARGET_EXPORTS) \
47893 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
47894 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
47895 case $(srcdir) in \
47896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47897 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
47898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47899 esac; \
47900 module_srcdir=libhsail-rt; \
47901 rm -f no-such-file || : ; \
47902 CONFIG_SITE=no-such-file $(SHELL) \
47903 $$s/$$module_srcdir/configure \
47904 --srcdir=$${topdir}/$$module_srcdir \
47905 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47906 --target=${target_alias} \
47907 || exit 1
47908 @endif target-libhsail-rt
47909
47910
47911
47912
47913
47914 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
47915 maybe-all-target-libhsail-rt:
47916 @if gcc-bootstrap
47917 all-target-libhsail-rt: stage_current
47918 @endif gcc-bootstrap
47919 @if target-libhsail-rt
47920 TARGET-target-libhsail-rt=all
47921 maybe-all-target-libhsail-rt: all-target-libhsail-rt
47922 all-target-libhsail-rt: configure-target-libhsail-rt
47923 @: $(MAKE); $(unstage)
47924 @r=`${PWD_COMMAND}`; export r; \
47925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47926 $(NORMAL_TARGET_EXPORTS) \
47927 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47928 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47929 $(TARGET-target-libhsail-rt))
47930 @endif target-libhsail-rt
47931
47932
47933
47934
47935
47936 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
47937 maybe-check-target-libhsail-rt:
47938 @if target-libhsail-rt
47939 maybe-check-target-libhsail-rt: check-target-libhsail-rt
47940
47941 check-target-libhsail-rt:
47942 @: $(MAKE); $(unstage)
47943 @r=`${PWD_COMMAND}`; export r; \
47944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47945 $(NORMAL_TARGET_EXPORTS) \
47946 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47947 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47948
47949 @endif target-libhsail-rt
47950
47951 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
47952 maybe-install-target-libhsail-rt:
47953 @if target-libhsail-rt
47954 maybe-install-target-libhsail-rt: install-target-libhsail-rt
47955
47956 install-target-libhsail-rt: installdirs
47957 @: $(MAKE); $(unstage)
47958 @r=`${PWD_COMMAND}`; export r; \
47959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47960 $(NORMAL_TARGET_EXPORTS) \
47961 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47963
47964 @endif target-libhsail-rt
47965
47966 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
47967 maybe-install-strip-target-libhsail-rt:
47968 @if target-libhsail-rt
47969 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
47970
47971 install-strip-target-libhsail-rt: installdirs
47972 @: $(MAKE); $(unstage)
47973 @r=`${PWD_COMMAND}`; export r; \
47974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47975 $(NORMAL_TARGET_EXPORTS) \
47976 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47977 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47978
47979 @endif target-libhsail-rt
47980
47981 # Other targets (info, dvi, pdf, etc.)
47982
47983 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
47984 maybe-info-target-libhsail-rt:
47985 @if target-libhsail-rt
47986 maybe-info-target-libhsail-rt: info-target-libhsail-rt
47987
47988 info-target-libhsail-rt: \
47989 configure-target-libhsail-rt
47990 @: $(MAKE); $(unstage)
47991 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47992 r=`${PWD_COMMAND}`; export r; \
47993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47994 $(NORMAL_TARGET_EXPORTS) \
47995 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
47996 for flag in $(EXTRA_TARGET_FLAGS); do \
47997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47998 done; \
47999 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48002 "RANLIB=$${RANLIB}" \
48003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48004 info) \
48005 || exit 1
48006
48007 @endif target-libhsail-rt
48008
48009 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
48010 maybe-dvi-target-libhsail-rt:
48011 @if target-libhsail-rt
48012 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
48013
48014 dvi-target-libhsail-rt: \
48015 configure-target-libhsail-rt
48016 @: $(MAKE); $(unstage)
48017 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48018 r=`${PWD_COMMAND}`; export r; \
48019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48020 $(NORMAL_TARGET_EXPORTS) \
48021 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
48022 for flag in $(EXTRA_TARGET_FLAGS); do \
48023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48024 done; \
48025 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48028 "RANLIB=$${RANLIB}" \
48029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48030 dvi) \
48031 || exit 1
48032
48033 @endif target-libhsail-rt
48034
48035 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
48036 maybe-pdf-target-libhsail-rt:
48037 @if target-libhsail-rt
48038 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
48039
48040 pdf-target-libhsail-rt: \
48041 configure-target-libhsail-rt
48042 @: $(MAKE); $(unstage)
48043 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48044 r=`${PWD_COMMAND}`; export r; \
48045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48046 $(NORMAL_TARGET_EXPORTS) \
48047 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48048 for flag in $(EXTRA_TARGET_FLAGS); do \
48049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48050 done; \
48051 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48054 "RANLIB=$${RANLIB}" \
48055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48056 pdf) \
48057 || exit 1
48058
48059 @endif target-libhsail-rt
48060
48061 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
48062 maybe-html-target-libhsail-rt:
48063 @if target-libhsail-rt
48064 maybe-html-target-libhsail-rt: html-target-libhsail-rt
48065
48066 html-target-libhsail-rt: \
48067 configure-target-libhsail-rt
48068 @: $(MAKE); $(unstage)
48069 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48070 r=`${PWD_COMMAND}`; export r; \
48071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48072 $(NORMAL_TARGET_EXPORTS) \
48073 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
48074 for flag in $(EXTRA_TARGET_FLAGS); do \
48075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48076 done; \
48077 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48080 "RANLIB=$${RANLIB}" \
48081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48082 html) \
48083 || exit 1
48084
48085 @endif target-libhsail-rt
48086
48087 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
48088 maybe-TAGS-target-libhsail-rt:
48089 @if target-libhsail-rt
48090 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
48091
48092 TAGS-target-libhsail-rt: \
48093 configure-target-libhsail-rt
48094 @: $(MAKE); $(unstage)
48095 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48096 r=`${PWD_COMMAND}`; export r; \
48097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48098 $(NORMAL_TARGET_EXPORTS) \
48099 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
48100 for flag in $(EXTRA_TARGET_FLAGS); do \
48101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48102 done; \
48103 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48106 "RANLIB=$${RANLIB}" \
48107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48108 TAGS) \
48109 || exit 1
48110
48111 @endif target-libhsail-rt
48112
48113 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
48114 maybe-install-info-target-libhsail-rt:
48115 @if target-libhsail-rt
48116 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
48117
48118 install-info-target-libhsail-rt: \
48119 configure-target-libhsail-rt \
48120 info-target-libhsail-rt
48121 @: $(MAKE); $(unstage)
48122 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48123 r=`${PWD_COMMAND}`; export r; \
48124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48125 $(NORMAL_TARGET_EXPORTS) \
48126 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
48127 for flag in $(EXTRA_TARGET_FLAGS); do \
48128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48129 done; \
48130 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48133 "RANLIB=$${RANLIB}" \
48134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48135 install-info) \
48136 || exit 1
48137
48138 @endif target-libhsail-rt
48139
48140 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
48141 maybe-install-pdf-target-libhsail-rt:
48142 @if target-libhsail-rt
48143 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
48144
48145 install-pdf-target-libhsail-rt: \
48146 configure-target-libhsail-rt \
48147 pdf-target-libhsail-rt
48148 @: $(MAKE); $(unstage)
48149 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48150 r=`${PWD_COMMAND}`; export r; \
48151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48152 $(NORMAL_TARGET_EXPORTS) \
48153 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48154 for flag in $(EXTRA_TARGET_FLAGS); do \
48155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48156 done; \
48157 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48160 "RANLIB=$${RANLIB}" \
48161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48162 install-pdf) \
48163 || exit 1
48164
48165 @endif target-libhsail-rt
48166
48167 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
48168 maybe-install-html-target-libhsail-rt:
48169 @if target-libhsail-rt
48170 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
48171
48172 install-html-target-libhsail-rt: \
48173 configure-target-libhsail-rt \
48174 html-target-libhsail-rt
48175 @: $(MAKE); $(unstage)
48176 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48177 r=`${PWD_COMMAND}`; export r; \
48178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48179 $(NORMAL_TARGET_EXPORTS) \
48180 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
48181 for flag in $(EXTRA_TARGET_FLAGS); do \
48182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48183 done; \
48184 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48187 "RANLIB=$${RANLIB}" \
48188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48189 install-html) \
48190 || exit 1
48191
48192 @endif target-libhsail-rt
48193
48194 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
48195 maybe-installcheck-target-libhsail-rt:
48196 @if target-libhsail-rt
48197 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
48198
48199 installcheck-target-libhsail-rt: \
48200 configure-target-libhsail-rt
48201 @: $(MAKE); $(unstage)
48202 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48203 r=`${PWD_COMMAND}`; export r; \
48204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48205 $(NORMAL_TARGET_EXPORTS) \
48206 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
48207 for flag in $(EXTRA_TARGET_FLAGS); do \
48208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48209 done; \
48210 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48213 "RANLIB=$${RANLIB}" \
48214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48215 installcheck) \
48216 || exit 1
48217
48218 @endif target-libhsail-rt
48219
48220 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
48221 maybe-mostlyclean-target-libhsail-rt:
48222 @if target-libhsail-rt
48223 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
48224
48225 mostlyclean-target-libhsail-rt:
48226 @: $(MAKE); $(unstage)
48227 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48228 r=`${PWD_COMMAND}`; export r; \
48229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48230 $(NORMAL_TARGET_EXPORTS) \
48231 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48232 for flag in $(EXTRA_TARGET_FLAGS); do \
48233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48234 done; \
48235 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48238 "RANLIB=$${RANLIB}" \
48239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48240 mostlyclean) \
48241 || exit 1
48242
48243 @endif target-libhsail-rt
48244
48245 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
48246 maybe-clean-target-libhsail-rt:
48247 @if target-libhsail-rt
48248 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
48249
48250 clean-target-libhsail-rt:
48251 @: $(MAKE); $(unstage)
48252 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48253 r=`${PWD_COMMAND}`; export r; \
48254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48255 $(NORMAL_TARGET_EXPORTS) \
48256 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48257 for flag in $(EXTRA_TARGET_FLAGS); do \
48258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48259 done; \
48260 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48263 "RANLIB=$${RANLIB}" \
48264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48265 clean) \
48266 || exit 1
48267
48268 @endif target-libhsail-rt
48269
48270 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
48271 maybe-distclean-target-libhsail-rt:
48272 @if target-libhsail-rt
48273 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
48274
48275 distclean-target-libhsail-rt:
48276 @: $(MAKE); $(unstage)
48277 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48278 r=`${PWD_COMMAND}`; export r; \
48279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48280 $(NORMAL_TARGET_EXPORTS) \
48281 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48282 for flag in $(EXTRA_TARGET_FLAGS); do \
48283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48284 done; \
48285 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48288 "RANLIB=$${RANLIB}" \
48289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48290 distclean) \
48291 || exit 1
48292
48293 @endif target-libhsail-rt
48294
48295 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
48296 maybe-maintainer-clean-target-libhsail-rt:
48297 @if target-libhsail-rt
48298 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
48299
48300 maintainer-clean-target-libhsail-rt:
48301 @: $(MAKE); $(unstage)
48302 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48303 r=`${PWD_COMMAND}`; export r; \
48304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48305 $(NORMAL_TARGET_EXPORTS) \
48306 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48307 for flag in $(EXTRA_TARGET_FLAGS); do \
48308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48309 done; \
48310 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48313 "RANLIB=$${RANLIB}" \
48314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48315 maintainer-clean) \
48316 || exit 1
48317
48318 @endif target-libhsail-rt
48319
48320
48321
48322
48323
48324 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
48325 maybe-configure-target-libphobos:
48326 @if gcc-bootstrap
48327 configure-target-libphobos: stage_current
48328 @endif gcc-bootstrap
48329 @if target-libphobos
48330 maybe-configure-target-libphobos: configure-target-libphobos
48331 configure-target-libphobos:
48332 @: $(MAKE); $(unstage)
48333 @r=`${PWD_COMMAND}`; export r; \
48334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48335 echo "Checking multilib configuration for libphobos..."; \
48336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48337 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
48338 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48339 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48340 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
48341 else \
48342 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
48343 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48344 fi; \
48345 else \
48346 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48347 fi; \
48348 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
48349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48350 $(NORMAL_TARGET_EXPORTS) \
48351 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
48352 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
48353 case $(srcdir) in \
48354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48355 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
48356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48357 esac; \
48358 module_srcdir=libphobos; \
48359 rm -f no-such-file || : ; \
48360 CONFIG_SITE=no-such-file $(SHELL) \
48361 $$s/$$module_srcdir/configure \
48362 --srcdir=$${topdir}/$$module_srcdir \
48363 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48364 --target=${target_alias} \
48365 || exit 1
48366 @endif target-libphobos
48367
48368
48369
48370
48371
48372 .PHONY: all-target-libphobos maybe-all-target-libphobos
48373 maybe-all-target-libphobos:
48374 @if gcc-bootstrap
48375 all-target-libphobos: stage_current
48376 @endif gcc-bootstrap
48377 @if target-libphobos
48378 TARGET-target-libphobos=all
48379 maybe-all-target-libphobos: all-target-libphobos
48380 all-target-libphobos: configure-target-libphobos
48381 @: $(MAKE); $(unstage)
48382 @r=`${PWD_COMMAND}`; export r; \
48383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48384 $(NORMAL_TARGET_EXPORTS) \
48385 (cd $(TARGET_SUBDIR)/libphobos && \
48386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48387 $(TARGET-target-libphobos))
48388 @endif target-libphobos
48389
48390
48391
48392
48393
48394 .PHONY: check-target-libphobos maybe-check-target-libphobos
48395 maybe-check-target-libphobos:
48396 @if target-libphobos
48397 maybe-check-target-libphobos: check-target-libphobos
48398
48399 check-target-libphobos:
48400 @: $(MAKE); $(unstage)
48401 @r=`${PWD_COMMAND}`; export r; \
48402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48403 $(NORMAL_TARGET_EXPORTS) \
48404 (cd $(TARGET_SUBDIR)/libphobos && \
48405 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48406
48407 @endif target-libphobos
48408
48409 .PHONY: install-target-libphobos maybe-install-target-libphobos
48410 maybe-install-target-libphobos:
48411 @if target-libphobos
48412 maybe-install-target-libphobos: install-target-libphobos
48413
48414 install-target-libphobos: installdirs
48415 @: $(MAKE); $(unstage)
48416 @r=`${PWD_COMMAND}`; export r; \
48417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48418 $(NORMAL_TARGET_EXPORTS) \
48419 (cd $(TARGET_SUBDIR)/libphobos && \
48420 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48421
48422 @endif target-libphobos
48423
48424 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
48425 maybe-install-strip-target-libphobos:
48426 @if target-libphobos
48427 maybe-install-strip-target-libphobos: install-strip-target-libphobos
48428
48429 install-strip-target-libphobos: installdirs
48430 @: $(MAKE); $(unstage)
48431 @r=`${PWD_COMMAND}`; export r; \
48432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48433 $(NORMAL_TARGET_EXPORTS) \
48434 (cd $(TARGET_SUBDIR)/libphobos && \
48435 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48436
48437 @endif target-libphobos
48438
48439 # Other targets (info, dvi, pdf, etc.)
48440
48441 .PHONY: maybe-info-target-libphobos info-target-libphobos
48442 maybe-info-target-libphobos:
48443 @if target-libphobos
48444 maybe-info-target-libphobos: info-target-libphobos
48445
48446 info-target-libphobos: \
48447 configure-target-libphobos
48448 @: $(MAKE); $(unstage)
48449 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48450 r=`${PWD_COMMAND}`; export r; \
48451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48452 $(NORMAL_TARGET_EXPORTS) \
48453 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
48454 for flag in $(EXTRA_TARGET_FLAGS); do \
48455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48456 done; \
48457 (cd $(TARGET_SUBDIR)/libphobos && \
48458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48460 "RANLIB=$${RANLIB}" \
48461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48462 info) \
48463 || exit 1
48464
48465 @endif target-libphobos
48466
48467 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
48468 maybe-dvi-target-libphobos:
48469 @if target-libphobos
48470 maybe-dvi-target-libphobos: dvi-target-libphobos
48471
48472 dvi-target-libphobos: \
48473 configure-target-libphobos
48474 @: $(MAKE); $(unstage)
48475 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48476 r=`${PWD_COMMAND}`; export r; \
48477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48478 $(NORMAL_TARGET_EXPORTS) \
48479 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
48480 for flag in $(EXTRA_TARGET_FLAGS); do \
48481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48482 done; \
48483 (cd $(TARGET_SUBDIR)/libphobos && \
48484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48486 "RANLIB=$${RANLIB}" \
48487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48488 dvi) \
48489 || exit 1
48490
48491 @endif target-libphobos
48492
48493 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
48494 maybe-pdf-target-libphobos:
48495 @if target-libphobos
48496 maybe-pdf-target-libphobos: pdf-target-libphobos
48497
48498 pdf-target-libphobos: \
48499 configure-target-libphobos
48500 @: $(MAKE); $(unstage)
48501 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48502 r=`${PWD_COMMAND}`; export r; \
48503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48504 $(NORMAL_TARGET_EXPORTS) \
48505 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
48506 for flag in $(EXTRA_TARGET_FLAGS); do \
48507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48508 done; \
48509 (cd $(TARGET_SUBDIR)/libphobos && \
48510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48512 "RANLIB=$${RANLIB}" \
48513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48514 pdf) \
48515 || exit 1
48516
48517 @endif target-libphobos
48518
48519 .PHONY: maybe-html-target-libphobos html-target-libphobos
48520 maybe-html-target-libphobos:
48521 @if target-libphobos
48522 maybe-html-target-libphobos: html-target-libphobos
48523
48524 html-target-libphobos: \
48525 configure-target-libphobos
48526 @: $(MAKE); $(unstage)
48527 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48528 r=`${PWD_COMMAND}`; export r; \
48529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48530 $(NORMAL_TARGET_EXPORTS) \
48531 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
48532 for flag in $(EXTRA_TARGET_FLAGS); do \
48533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48534 done; \
48535 (cd $(TARGET_SUBDIR)/libphobos && \
48536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48538 "RANLIB=$${RANLIB}" \
48539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48540 html) \
48541 || exit 1
48542
48543 @endif target-libphobos
48544
48545 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
48546 maybe-TAGS-target-libphobos:
48547 @if target-libphobos
48548 maybe-TAGS-target-libphobos: TAGS-target-libphobos
48549
48550 TAGS-target-libphobos: \
48551 configure-target-libphobos
48552 @: $(MAKE); $(unstage)
48553 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48554 r=`${PWD_COMMAND}`; export r; \
48555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48556 $(NORMAL_TARGET_EXPORTS) \
48557 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
48558 for flag in $(EXTRA_TARGET_FLAGS); do \
48559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48560 done; \
48561 (cd $(TARGET_SUBDIR)/libphobos && \
48562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48564 "RANLIB=$${RANLIB}" \
48565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48566 TAGS) \
48567 || exit 1
48568
48569 @endif target-libphobos
48570
48571 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
48572 maybe-install-info-target-libphobos:
48573 @if target-libphobos
48574 maybe-install-info-target-libphobos: install-info-target-libphobos
48575
48576 install-info-target-libphobos: \
48577 configure-target-libphobos \
48578 info-target-libphobos
48579 @: $(MAKE); $(unstage)
48580 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48581 r=`${PWD_COMMAND}`; export r; \
48582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48583 $(NORMAL_TARGET_EXPORTS) \
48584 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
48585 for flag in $(EXTRA_TARGET_FLAGS); do \
48586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48587 done; \
48588 (cd $(TARGET_SUBDIR)/libphobos && \
48589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48591 "RANLIB=$${RANLIB}" \
48592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48593 install-info) \
48594 || exit 1
48595
48596 @endif target-libphobos
48597
48598 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
48599 maybe-install-pdf-target-libphobos:
48600 @if target-libphobos
48601 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
48602
48603 install-pdf-target-libphobos: \
48604 configure-target-libphobos \
48605 pdf-target-libphobos
48606 @: $(MAKE); $(unstage)
48607 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48608 r=`${PWD_COMMAND}`; export r; \
48609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48610 $(NORMAL_TARGET_EXPORTS) \
48611 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
48612 for flag in $(EXTRA_TARGET_FLAGS); do \
48613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48614 done; \
48615 (cd $(TARGET_SUBDIR)/libphobos && \
48616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48618 "RANLIB=$${RANLIB}" \
48619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48620 install-pdf) \
48621 || exit 1
48622
48623 @endif target-libphobos
48624
48625 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
48626 maybe-install-html-target-libphobos:
48627 @if target-libphobos
48628 maybe-install-html-target-libphobos: install-html-target-libphobos
48629
48630 install-html-target-libphobos: \
48631 configure-target-libphobos \
48632 html-target-libphobos
48633 @: $(MAKE); $(unstage)
48634 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48635 r=`${PWD_COMMAND}`; export r; \
48636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48637 $(NORMAL_TARGET_EXPORTS) \
48638 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
48639 for flag in $(EXTRA_TARGET_FLAGS); do \
48640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48641 done; \
48642 (cd $(TARGET_SUBDIR)/libphobos && \
48643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48645 "RANLIB=$${RANLIB}" \
48646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48647 install-html) \
48648 || exit 1
48649
48650 @endif target-libphobos
48651
48652 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
48653 maybe-installcheck-target-libphobos:
48654 @if target-libphobos
48655 maybe-installcheck-target-libphobos: installcheck-target-libphobos
48656
48657 installcheck-target-libphobos: \
48658 configure-target-libphobos
48659 @: $(MAKE); $(unstage)
48660 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48661 r=`${PWD_COMMAND}`; export r; \
48662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48663 $(NORMAL_TARGET_EXPORTS) \
48664 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
48665 for flag in $(EXTRA_TARGET_FLAGS); do \
48666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48667 done; \
48668 (cd $(TARGET_SUBDIR)/libphobos && \
48669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48671 "RANLIB=$${RANLIB}" \
48672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48673 installcheck) \
48674 || exit 1
48675
48676 @endif target-libphobos
48677
48678 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
48679 maybe-mostlyclean-target-libphobos:
48680 @if target-libphobos
48681 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
48682
48683 mostlyclean-target-libphobos:
48684 @: $(MAKE); $(unstage)
48685 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48686 r=`${PWD_COMMAND}`; export r; \
48687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48688 $(NORMAL_TARGET_EXPORTS) \
48689 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
48690 for flag in $(EXTRA_TARGET_FLAGS); do \
48691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48692 done; \
48693 (cd $(TARGET_SUBDIR)/libphobos && \
48694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48696 "RANLIB=$${RANLIB}" \
48697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48698 mostlyclean) \
48699 || exit 1
48700
48701 @endif target-libphobos
48702
48703 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
48704 maybe-clean-target-libphobos:
48705 @if target-libphobos
48706 maybe-clean-target-libphobos: clean-target-libphobos
48707
48708 clean-target-libphobos:
48709 @: $(MAKE); $(unstage)
48710 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48711 r=`${PWD_COMMAND}`; export r; \
48712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48713 $(NORMAL_TARGET_EXPORTS) \
48714 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
48715 for flag in $(EXTRA_TARGET_FLAGS); do \
48716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48717 done; \
48718 (cd $(TARGET_SUBDIR)/libphobos && \
48719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48721 "RANLIB=$${RANLIB}" \
48722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48723 clean) \
48724 || exit 1
48725
48726 @endif target-libphobos
48727
48728 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
48729 maybe-distclean-target-libphobos:
48730 @if target-libphobos
48731 maybe-distclean-target-libphobos: distclean-target-libphobos
48732
48733 distclean-target-libphobos:
48734 @: $(MAKE); $(unstage)
48735 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48736 r=`${PWD_COMMAND}`; export r; \
48737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48738 $(NORMAL_TARGET_EXPORTS) \
48739 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
48740 for flag in $(EXTRA_TARGET_FLAGS); do \
48741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48742 done; \
48743 (cd $(TARGET_SUBDIR)/libphobos && \
48744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48746 "RANLIB=$${RANLIB}" \
48747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48748 distclean) \
48749 || exit 1
48750
48751 @endif target-libphobos
48752
48753 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
48754 maybe-maintainer-clean-target-libphobos:
48755 @if target-libphobos
48756 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
48757
48758 maintainer-clean-target-libphobos:
48759 @: $(MAKE); $(unstage)
48760 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48761 r=`${PWD_COMMAND}`; export r; \
48762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48763 $(NORMAL_TARGET_EXPORTS) \
48764 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
48765 for flag in $(EXTRA_TARGET_FLAGS); do \
48766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48767 done; \
48768 (cd $(TARGET_SUBDIR)/libphobos && \
48769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48771 "RANLIB=$${RANLIB}" \
48772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48773 maintainer-clean) \
48774 || exit 1
48775
48776 @endif target-libphobos
48777
48778
48779
48780
48781
48782 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
48783 maybe-configure-target-libtermcap:
48784 @if gcc-bootstrap
48785 configure-target-libtermcap: stage_current
48786 @endif gcc-bootstrap
48787 @if target-libtermcap
48788 maybe-configure-target-libtermcap: configure-target-libtermcap
48789 configure-target-libtermcap:
48790 @: $(MAKE); $(unstage)
48791 @r=`${PWD_COMMAND}`; export r; \
48792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48793 echo "Checking multilib configuration for libtermcap..."; \
48794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
48796 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48797 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48798 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
48799 else \
48800 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
48801 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48802 fi; \
48803 else \
48804 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48805 fi; \
48806 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
48807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48808 $(NORMAL_TARGET_EXPORTS) \
48809 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
48810 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
48811 case $(srcdir) in \
48812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48813 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
48814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48815 esac; \
48816 module_srcdir=libtermcap; \
48817 rm -f no-such-file || : ; \
48818 CONFIG_SITE=no-such-file $(SHELL) \
48819 $$s/$$module_srcdir/configure \
48820 --srcdir=$${topdir}/$$module_srcdir \
48821 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48822 --target=${target_alias} \
48823 || exit 1
48824 @endif target-libtermcap
48825
48826
48827
48828
48829
48830 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
48831 maybe-all-target-libtermcap:
48832 @if gcc-bootstrap
48833 all-target-libtermcap: stage_current
48834 @endif gcc-bootstrap
48835 @if target-libtermcap
48836 TARGET-target-libtermcap=all
48837 maybe-all-target-libtermcap: all-target-libtermcap
48838 all-target-libtermcap: configure-target-libtermcap
48839 @: $(MAKE); $(unstage)
48840 @r=`${PWD_COMMAND}`; export r; \
48841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48842 $(NORMAL_TARGET_EXPORTS) \
48843 (cd $(TARGET_SUBDIR)/libtermcap && \
48844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48845 $(TARGET-target-libtermcap))
48846 @endif target-libtermcap
48847
48848
48849
48850
48851
48852 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
48853 maybe-check-target-libtermcap:
48854 @if target-libtermcap
48855 maybe-check-target-libtermcap: check-target-libtermcap
48856
48857 # Dummy target for uncheckable module.
48858 check-target-libtermcap:
48859
48860 @endif target-libtermcap
48861
48862 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
48863 maybe-install-target-libtermcap:
48864 @if target-libtermcap
48865 maybe-install-target-libtermcap: install-target-libtermcap
48866
48867 install-target-libtermcap: installdirs
48868 @: $(MAKE); $(unstage)
48869 @r=`${PWD_COMMAND}`; export r; \
48870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48871 $(NORMAL_TARGET_EXPORTS) \
48872 (cd $(TARGET_SUBDIR)/libtermcap && \
48873 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48874
48875 @endif target-libtermcap
48876
48877 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
48878 maybe-install-strip-target-libtermcap:
48879 @if target-libtermcap
48880 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
48881
48882 install-strip-target-libtermcap: installdirs
48883 @: $(MAKE); $(unstage)
48884 @r=`${PWD_COMMAND}`; export r; \
48885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48886 $(NORMAL_TARGET_EXPORTS) \
48887 (cd $(TARGET_SUBDIR)/libtermcap && \
48888 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48889
48890 @endif target-libtermcap
48891
48892 # Other targets (info, dvi, pdf, etc.)
48893
48894 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
48895 maybe-info-target-libtermcap:
48896 @if target-libtermcap
48897 maybe-info-target-libtermcap: info-target-libtermcap
48898
48899 info-target-libtermcap: \
48900 configure-target-libtermcap
48901 @: $(MAKE); $(unstage)
48902 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48903 r=`${PWD_COMMAND}`; export r; \
48904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48905 $(NORMAL_TARGET_EXPORTS) \
48906 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
48907 for flag in $(EXTRA_TARGET_FLAGS); do \
48908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48909 done; \
48910 (cd $(TARGET_SUBDIR)/libtermcap && \
48911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48913 "RANLIB=$${RANLIB}" \
48914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48915 info) \
48916 || exit 1
48917
48918 @endif target-libtermcap
48919
48920 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
48921 maybe-dvi-target-libtermcap:
48922 @if target-libtermcap
48923 maybe-dvi-target-libtermcap: dvi-target-libtermcap
48924
48925 dvi-target-libtermcap: \
48926 configure-target-libtermcap
48927 @: $(MAKE); $(unstage)
48928 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48929 r=`${PWD_COMMAND}`; export r; \
48930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48931 $(NORMAL_TARGET_EXPORTS) \
48932 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
48933 for flag in $(EXTRA_TARGET_FLAGS); do \
48934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48935 done; \
48936 (cd $(TARGET_SUBDIR)/libtermcap && \
48937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48939 "RANLIB=$${RANLIB}" \
48940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48941 dvi) \
48942 || exit 1
48943
48944 @endif target-libtermcap
48945
48946 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
48947 maybe-pdf-target-libtermcap:
48948 @if target-libtermcap
48949 maybe-pdf-target-libtermcap: pdf-target-libtermcap
48950
48951 pdf-target-libtermcap: \
48952 configure-target-libtermcap
48953 @: $(MAKE); $(unstage)
48954 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48955 r=`${PWD_COMMAND}`; export r; \
48956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48957 $(NORMAL_TARGET_EXPORTS) \
48958 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
48959 for flag in $(EXTRA_TARGET_FLAGS); do \
48960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48961 done; \
48962 (cd $(TARGET_SUBDIR)/libtermcap && \
48963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48965 "RANLIB=$${RANLIB}" \
48966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48967 pdf) \
48968 || exit 1
48969
48970 @endif target-libtermcap
48971
48972 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
48973 maybe-html-target-libtermcap:
48974 @if target-libtermcap
48975 maybe-html-target-libtermcap: html-target-libtermcap
48976
48977 html-target-libtermcap: \
48978 configure-target-libtermcap
48979 @: $(MAKE); $(unstage)
48980 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48981 r=`${PWD_COMMAND}`; export r; \
48982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48983 $(NORMAL_TARGET_EXPORTS) \
48984 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
48985 for flag in $(EXTRA_TARGET_FLAGS); do \
48986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48987 done; \
48988 (cd $(TARGET_SUBDIR)/libtermcap && \
48989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48991 "RANLIB=$${RANLIB}" \
48992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48993 html) \
48994 || exit 1
48995
48996 @endif target-libtermcap
48997
48998 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
48999 maybe-TAGS-target-libtermcap:
49000 @if target-libtermcap
49001 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
49002
49003 TAGS-target-libtermcap: \
49004 configure-target-libtermcap
49005 @: $(MAKE); $(unstage)
49006 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49007 r=`${PWD_COMMAND}`; export r; \
49008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49009 $(NORMAL_TARGET_EXPORTS) \
49010 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
49011 for flag in $(EXTRA_TARGET_FLAGS); do \
49012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49013 done; \
49014 (cd $(TARGET_SUBDIR)/libtermcap && \
49015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49017 "RANLIB=$${RANLIB}" \
49018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49019 TAGS) \
49020 || exit 1
49021
49022 @endif target-libtermcap
49023
49024 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
49025 maybe-install-info-target-libtermcap:
49026 @if target-libtermcap
49027 maybe-install-info-target-libtermcap: install-info-target-libtermcap
49028
49029 install-info-target-libtermcap: \
49030 configure-target-libtermcap \
49031 info-target-libtermcap
49032 @: $(MAKE); $(unstage)
49033 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49034 r=`${PWD_COMMAND}`; export r; \
49035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49036 $(NORMAL_TARGET_EXPORTS) \
49037 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
49038 for flag in $(EXTRA_TARGET_FLAGS); do \
49039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49040 done; \
49041 (cd $(TARGET_SUBDIR)/libtermcap && \
49042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49044 "RANLIB=$${RANLIB}" \
49045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49046 install-info) \
49047 || exit 1
49048
49049 @endif target-libtermcap
49050
49051 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
49052 maybe-install-pdf-target-libtermcap:
49053 @if target-libtermcap
49054 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
49055
49056 install-pdf-target-libtermcap: \
49057 configure-target-libtermcap \
49058 pdf-target-libtermcap
49059 @: $(MAKE); $(unstage)
49060 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49061 r=`${PWD_COMMAND}`; export r; \
49062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49063 $(NORMAL_TARGET_EXPORTS) \
49064 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
49065 for flag in $(EXTRA_TARGET_FLAGS); do \
49066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49067 done; \
49068 (cd $(TARGET_SUBDIR)/libtermcap && \
49069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49071 "RANLIB=$${RANLIB}" \
49072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49073 install-pdf) \
49074 || exit 1
49075
49076 @endif target-libtermcap
49077
49078 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
49079 maybe-install-html-target-libtermcap:
49080 @if target-libtermcap
49081 maybe-install-html-target-libtermcap: install-html-target-libtermcap
49082
49083 install-html-target-libtermcap: \
49084 configure-target-libtermcap \
49085 html-target-libtermcap
49086 @: $(MAKE); $(unstage)
49087 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49088 r=`${PWD_COMMAND}`; export r; \
49089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49090 $(NORMAL_TARGET_EXPORTS) \
49091 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
49092 for flag in $(EXTRA_TARGET_FLAGS); do \
49093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49094 done; \
49095 (cd $(TARGET_SUBDIR)/libtermcap && \
49096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49098 "RANLIB=$${RANLIB}" \
49099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49100 install-html) \
49101 || exit 1
49102
49103 @endif target-libtermcap
49104
49105 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
49106 maybe-installcheck-target-libtermcap:
49107 @if target-libtermcap
49108 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
49109
49110 installcheck-target-libtermcap: \
49111 configure-target-libtermcap
49112 @: $(MAKE); $(unstage)
49113 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49114 r=`${PWD_COMMAND}`; export r; \
49115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49116 $(NORMAL_TARGET_EXPORTS) \
49117 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
49118 for flag in $(EXTRA_TARGET_FLAGS); do \
49119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49120 done; \
49121 (cd $(TARGET_SUBDIR)/libtermcap && \
49122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49124 "RANLIB=$${RANLIB}" \
49125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49126 installcheck) \
49127 || exit 1
49128
49129 @endif target-libtermcap
49130
49131 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
49132 maybe-mostlyclean-target-libtermcap:
49133 @if target-libtermcap
49134 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
49135
49136 # libtermcap doesn't support mostlyclean.
49137 mostlyclean-target-libtermcap:
49138
49139 @endif target-libtermcap
49140
49141 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
49142 maybe-clean-target-libtermcap:
49143 @if target-libtermcap
49144 maybe-clean-target-libtermcap: clean-target-libtermcap
49145
49146 # libtermcap doesn't support clean.
49147 clean-target-libtermcap:
49148
49149 @endif target-libtermcap
49150
49151 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
49152 maybe-distclean-target-libtermcap:
49153 @if target-libtermcap
49154 maybe-distclean-target-libtermcap: distclean-target-libtermcap
49155
49156 # libtermcap doesn't support distclean.
49157 distclean-target-libtermcap:
49158
49159 @endif target-libtermcap
49160
49161 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
49162 maybe-maintainer-clean-target-libtermcap:
49163 @if target-libtermcap
49164 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
49165
49166 # libtermcap doesn't support maintainer-clean.
49167 maintainer-clean-target-libtermcap:
49168
49169 @endif target-libtermcap
49170
49171
49172
49173
49174
49175 .PHONY: configure-target-winsup maybe-configure-target-winsup
49176 maybe-configure-target-winsup:
49177 @if gcc-bootstrap
49178 configure-target-winsup: stage_current
49179 @endif gcc-bootstrap
49180 @if target-winsup
49181 maybe-configure-target-winsup: configure-target-winsup
49182 configure-target-winsup:
49183 @: $(MAKE); $(unstage)
49184 @r=`${PWD_COMMAND}`; export r; \
49185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49186 echo "Checking multilib configuration for winsup..."; \
49187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49188 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
49189 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
49190 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
49191 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
49192 else \
49193 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
49194 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49195 fi; \
49196 else \
49197 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49198 fi; \
49199 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
49200 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49201 $(NORMAL_TARGET_EXPORTS) \
49202 echo Configuring in $(TARGET_SUBDIR)/winsup; \
49203 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
49204 case $(srcdir) in \
49205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49206 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
49207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49208 esac; \
49209 module_srcdir=winsup; \
49210 rm -f no-such-file || : ; \
49211 CONFIG_SITE=no-such-file $(SHELL) \
49212 $$s/$$module_srcdir/configure \
49213 --srcdir=$${topdir}/$$module_srcdir \
49214 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49215 --target=${target_alias} \
49216 || exit 1
49217 @endif target-winsup
49218
49219
49220
49221
49222
49223 .PHONY: all-target-winsup maybe-all-target-winsup
49224 maybe-all-target-winsup:
49225 @if gcc-bootstrap
49226 all-target-winsup: stage_current
49227 @endif gcc-bootstrap
49228 @if target-winsup
49229 TARGET-target-winsup=all
49230 maybe-all-target-winsup: all-target-winsup
49231 all-target-winsup: configure-target-winsup
49232 @: $(MAKE); $(unstage)
49233 @r=`${PWD_COMMAND}`; export r; \
49234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49235 $(NORMAL_TARGET_EXPORTS) \
49236 (cd $(TARGET_SUBDIR)/winsup && \
49237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49238 $(TARGET-target-winsup))
49239 @endif target-winsup
49240
49241
49242
49243
49244
49245 .PHONY: check-target-winsup maybe-check-target-winsup
49246 maybe-check-target-winsup:
49247 @if target-winsup
49248 maybe-check-target-winsup: check-target-winsup
49249
49250 check-target-winsup:
49251 @: $(MAKE); $(unstage)
49252 @r=`${PWD_COMMAND}`; export r; \
49253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49254 $(NORMAL_TARGET_EXPORTS) \
49255 (cd $(TARGET_SUBDIR)/winsup && \
49256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49257
49258 @endif target-winsup
49259
49260 .PHONY: install-target-winsup maybe-install-target-winsup
49261 maybe-install-target-winsup:
49262 @if target-winsup
49263 maybe-install-target-winsup: install-target-winsup
49264
49265 install-target-winsup: installdirs
49266 @: $(MAKE); $(unstage)
49267 @r=`${PWD_COMMAND}`; export r; \
49268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49269 $(NORMAL_TARGET_EXPORTS) \
49270 (cd $(TARGET_SUBDIR)/winsup && \
49271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49272
49273 @endif target-winsup
49274
49275 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
49276 maybe-install-strip-target-winsup:
49277 @if target-winsup
49278 maybe-install-strip-target-winsup: install-strip-target-winsup
49279
49280 install-strip-target-winsup: installdirs
49281 @: $(MAKE); $(unstage)
49282 @r=`${PWD_COMMAND}`; export r; \
49283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49284 $(NORMAL_TARGET_EXPORTS) \
49285 (cd $(TARGET_SUBDIR)/winsup && \
49286 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49287
49288 @endif target-winsup
49289
49290 # Other targets (info, dvi, pdf, etc.)
49291
49292 .PHONY: maybe-info-target-winsup info-target-winsup
49293 maybe-info-target-winsup:
49294 @if target-winsup
49295 maybe-info-target-winsup: info-target-winsup
49296
49297 info-target-winsup: \
49298 configure-target-winsup
49299 @: $(MAKE); $(unstage)
49300 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49301 r=`${PWD_COMMAND}`; export r; \
49302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49303 $(NORMAL_TARGET_EXPORTS) \
49304 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
49305 for flag in $(EXTRA_TARGET_FLAGS); do \
49306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49307 done; \
49308 (cd $(TARGET_SUBDIR)/winsup && \
49309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49311 "RANLIB=$${RANLIB}" \
49312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49313 info) \
49314 || exit 1
49315
49316 @endif target-winsup
49317
49318 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
49319 maybe-dvi-target-winsup:
49320 @if target-winsup
49321 maybe-dvi-target-winsup: dvi-target-winsup
49322
49323 dvi-target-winsup: \
49324 configure-target-winsup
49325 @: $(MAKE); $(unstage)
49326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49327 r=`${PWD_COMMAND}`; export r; \
49328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49329 $(NORMAL_TARGET_EXPORTS) \
49330 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
49331 for flag in $(EXTRA_TARGET_FLAGS); do \
49332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49333 done; \
49334 (cd $(TARGET_SUBDIR)/winsup && \
49335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49337 "RANLIB=$${RANLIB}" \
49338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49339 dvi) \
49340 || exit 1
49341
49342 @endif target-winsup
49343
49344 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
49345 maybe-pdf-target-winsup:
49346 @if target-winsup
49347 maybe-pdf-target-winsup: pdf-target-winsup
49348
49349 pdf-target-winsup: \
49350 configure-target-winsup
49351 @: $(MAKE); $(unstage)
49352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49353 r=`${PWD_COMMAND}`; export r; \
49354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49355 $(NORMAL_TARGET_EXPORTS) \
49356 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
49357 for flag in $(EXTRA_TARGET_FLAGS); do \
49358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49359 done; \
49360 (cd $(TARGET_SUBDIR)/winsup && \
49361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49363 "RANLIB=$${RANLIB}" \
49364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49365 pdf) \
49366 || exit 1
49367
49368 @endif target-winsup
49369
49370 .PHONY: maybe-html-target-winsup html-target-winsup
49371 maybe-html-target-winsup:
49372 @if target-winsup
49373 maybe-html-target-winsup: html-target-winsup
49374
49375 html-target-winsup: \
49376 configure-target-winsup
49377 @: $(MAKE); $(unstage)
49378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49379 r=`${PWD_COMMAND}`; export r; \
49380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49381 $(NORMAL_TARGET_EXPORTS) \
49382 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
49383 for flag in $(EXTRA_TARGET_FLAGS); do \
49384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49385 done; \
49386 (cd $(TARGET_SUBDIR)/winsup && \
49387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49389 "RANLIB=$${RANLIB}" \
49390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49391 html) \
49392 || exit 1
49393
49394 @endif target-winsup
49395
49396 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
49397 maybe-TAGS-target-winsup:
49398 @if target-winsup
49399 maybe-TAGS-target-winsup: TAGS-target-winsup
49400
49401 TAGS-target-winsup: \
49402 configure-target-winsup
49403 @: $(MAKE); $(unstage)
49404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49405 r=`${PWD_COMMAND}`; export r; \
49406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49407 $(NORMAL_TARGET_EXPORTS) \
49408 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
49409 for flag in $(EXTRA_TARGET_FLAGS); do \
49410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49411 done; \
49412 (cd $(TARGET_SUBDIR)/winsup && \
49413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49415 "RANLIB=$${RANLIB}" \
49416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49417 TAGS) \
49418 || exit 1
49419
49420 @endif target-winsup
49421
49422 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
49423 maybe-install-info-target-winsup:
49424 @if target-winsup
49425 maybe-install-info-target-winsup: install-info-target-winsup
49426
49427 install-info-target-winsup: \
49428 configure-target-winsup \
49429 info-target-winsup
49430 @: $(MAKE); $(unstage)
49431 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49432 r=`${PWD_COMMAND}`; export r; \
49433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49434 $(NORMAL_TARGET_EXPORTS) \
49435 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
49436 for flag in $(EXTRA_TARGET_FLAGS); do \
49437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49438 done; \
49439 (cd $(TARGET_SUBDIR)/winsup && \
49440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49442 "RANLIB=$${RANLIB}" \
49443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49444 install-info) \
49445 || exit 1
49446
49447 @endif target-winsup
49448
49449 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
49450 maybe-install-pdf-target-winsup:
49451 @if target-winsup
49452 maybe-install-pdf-target-winsup: install-pdf-target-winsup
49453
49454 install-pdf-target-winsup: \
49455 configure-target-winsup \
49456 pdf-target-winsup
49457 @: $(MAKE); $(unstage)
49458 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49459 r=`${PWD_COMMAND}`; export r; \
49460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49461 $(NORMAL_TARGET_EXPORTS) \
49462 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
49463 for flag in $(EXTRA_TARGET_FLAGS); do \
49464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49465 done; \
49466 (cd $(TARGET_SUBDIR)/winsup && \
49467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49469 "RANLIB=$${RANLIB}" \
49470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49471 install-pdf) \
49472 || exit 1
49473
49474 @endif target-winsup
49475
49476 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
49477 maybe-install-html-target-winsup:
49478 @if target-winsup
49479 maybe-install-html-target-winsup: install-html-target-winsup
49480
49481 install-html-target-winsup: \
49482 configure-target-winsup \
49483 html-target-winsup
49484 @: $(MAKE); $(unstage)
49485 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49486 r=`${PWD_COMMAND}`; export r; \
49487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49488 $(NORMAL_TARGET_EXPORTS) \
49489 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
49490 for flag in $(EXTRA_TARGET_FLAGS); do \
49491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49492 done; \
49493 (cd $(TARGET_SUBDIR)/winsup && \
49494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49496 "RANLIB=$${RANLIB}" \
49497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49498 install-html) \
49499 || exit 1
49500
49501 @endif target-winsup
49502
49503 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
49504 maybe-installcheck-target-winsup:
49505 @if target-winsup
49506 maybe-installcheck-target-winsup: installcheck-target-winsup
49507
49508 installcheck-target-winsup: \
49509 configure-target-winsup
49510 @: $(MAKE); $(unstage)
49511 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49512 r=`${PWD_COMMAND}`; export r; \
49513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49514 $(NORMAL_TARGET_EXPORTS) \
49515 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
49516 for flag in $(EXTRA_TARGET_FLAGS); do \
49517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49518 done; \
49519 (cd $(TARGET_SUBDIR)/winsup && \
49520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49522 "RANLIB=$${RANLIB}" \
49523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49524 installcheck) \
49525 || exit 1
49526
49527 @endif target-winsup
49528
49529 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
49530 maybe-mostlyclean-target-winsup:
49531 @if target-winsup
49532 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
49533
49534 mostlyclean-target-winsup:
49535 @: $(MAKE); $(unstage)
49536 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49537 r=`${PWD_COMMAND}`; export r; \
49538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49539 $(NORMAL_TARGET_EXPORTS) \
49540 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
49541 for flag in $(EXTRA_TARGET_FLAGS); do \
49542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49543 done; \
49544 (cd $(TARGET_SUBDIR)/winsup && \
49545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49547 "RANLIB=$${RANLIB}" \
49548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49549 mostlyclean) \
49550 || exit 1
49551
49552 @endif target-winsup
49553
49554 .PHONY: maybe-clean-target-winsup clean-target-winsup
49555 maybe-clean-target-winsup:
49556 @if target-winsup
49557 maybe-clean-target-winsup: clean-target-winsup
49558
49559 clean-target-winsup:
49560 @: $(MAKE); $(unstage)
49561 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49562 r=`${PWD_COMMAND}`; export r; \
49563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49564 $(NORMAL_TARGET_EXPORTS) \
49565 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
49566 for flag in $(EXTRA_TARGET_FLAGS); do \
49567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49568 done; \
49569 (cd $(TARGET_SUBDIR)/winsup && \
49570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49572 "RANLIB=$${RANLIB}" \
49573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49574 clean) \
49575 || exit 1
49576
49577 @endif target-winsup
49578
49579 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
49580 maybe-distclean-target-winsup:
49581 @if target-winsup
49582 maybe-distclean-target-winsup: distclean-target-winsup
49583
49584 distclean-target-winsup:
49585 @: $(MAKE); $(unstage)
49586 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49587 r=`${PWD_COMMAND}`; export r; \
49588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49589 $(NORMAL_TARGET_EXPORTS) \
49590 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
49591 for flag in $(EXTRA_TARGET_FLAGS); do \
49592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49593 done; \
49594 (cd $(TARGET_SUBDIR)/winsup && \
49595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49597 "RANLIB=$${RANLIB}" \
49598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49599 distclean) \
49600 || exit 1
49601
49602 @endif target-winsup
49603
49604 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
49605 maybe-maintainer-clean-target-winsup:
49606 @if target-winsup
49607 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
49608
49609 maintainer-clean-target-winsup:
49610 @: $(MAKE); $(unstage)
49611 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49612 r=`${PWD_COMMAND}`; export r; \
49613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49614 $(NORMAL_TARGET_EXPORTS) \
49615 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
49616 for flag in $(EXTRA_TARGET_FLAGS); do \
49617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49618 done; \
49619 (cd $(TARGET_SUBDIR)/winsup && \
49620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49622 "RANLIB=$${RANLIB}" \
49623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49624 maintainer-clean) \
49625 || exit 1
49626
49627 @endif target-winsup
49628
49629
49630
49631
49632
49633 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
49634 maybe-configure-target-libgloss:
49635 @if gcc-bootstrap
49636 configure-target-libgloss: stage_current
49637 @endif gcc-bootstrap
49638 @if target-libgloss
49639 maybe-configure-target-libgloss: configure-target-libgloss
49640 configure-target-libgloss:
49641 @: $(MAKE); $(unstage)
49642 @r=`${PWD_COMMAND}`; export r; \
49643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49644 echo "Checking multilib configuration for libgloss..."; \
49645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49646 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
49647 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49648 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49649 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
49650 else \
49651 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
49652 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49653 fi; \
49654 else \
49655 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49656 fi; \
49657 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
49658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49659 $(NORMAL_TARGET_EXPORTS) \
49660 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
49661 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
49662 case $(srcdir) in \
49663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49664 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
49665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49666 esac; \
49667 module_srcdir=libgloss; \
49668 rm -f no-such-file || : ; \
49669 CONFIG_SITE=no-such-file $(SHELL) \
49670 $$s/$$module_srcdir/configure \
49671 --srcdir=$${topdir}/$$module_srcdir \
49672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49673 --target=${target_alias} \
49674 || exit 1
49675 @endif target-libgloss
49676
49677
49678
49679
49680
49681 .PHONY: all-target-libgloss maybe-all-target-libgloss
49682 maybe-all-target-libgloss:
49683 @if gcc-bootstrap
49684 all-target-libgloss: stage_current
49685 @endif gcc-bootstrap
49686 @if target-libgloss
49687 TARGET-target-libgloss=all
49688 maybe-all-target-libgloss: all-target-libgloss
49689 all-target-libgloss: configure-target-libgloss
49690 @: $(MAKE); $(unstage)
49691 @r=`${PWD_COMMAND}`; export r; \
49692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49693 $(NORMAL_TARGET_EXPORTS) \
49694 (cd $(TARGET_SUBDIR)/libgloss && \
49695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49696 $(TARGET-target-libgloss))
49697 @endif target-libgloss
49698
49699
49700
49701
49702
49703 .PHONY: check-target-libgloss maybe-check-target-libgloss
49704 maybe-check-target-libgloss:
49705 @if target-libgloss
49706 maybe-check-target-libgloss: check-target-libgloss
49707
49708 # Dummy target for uncheckable module.
49709 check-target-libgloss:
49710
49711 @endif target-libgloss
49712
49713 .PHONY: install-target-libgloss maybe-install-target-libgloss
49714 maybe-install-target-libgloss:
49715 @if target-libgloss
49716 maybe-install-target-libgloss: install-target-libgloss
49717
49718 install-target-libgloss: installdirs
49719 @: $(MAKE); $(unstage)
49720 @r=`${PWD_COMMAND}`; export r; \
49721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49722 $(NORMAL_TARGET_EXPORTS) \
49723 (cd $(TARGET_SUBDIR)/libgloss && \
49724 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49725
49726 @endif target-libgloss
49727
49728 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
49729 maybe-install-strip-target-libgloss:
49730 @if target-libgloss
49731 maybe-install-strip-target-libgloss: install-strip-target-libgloss
49732
49733 install-strip-target-libgloss: installdirs
49734 @: $(MAKE); $(unstage)
49735 @r=`${PWD_COMMAND}`; export r; \
49736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49737 $(NORMAL_TARGET_EXPORTS) \
49738 (cd $(TARGET_SUBDIR)/libgloss && \
49739 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49740
49741 @endif target-libgloss
49742
49743 # Other targets (info, dvi, pdf, etc.)
49744
49745 .PHONY: maybe-info-target-libgloss info-target-libgloss
49746 maybe-info-target-libgloss:
49747 @if target-libgloss
49748 maybe-info-target-libgloss: info-target-libgloss
49749
49750 info-target-libgloss: \
49751 configure-target-libgloss
49752 @: $(MAKE); $(unstage)
49753 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49754 r=`${PWD_COMMAND}`; export r; \
49755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49756 $(NORMAL_TARGET_EXPORTS) \
49757 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
49758 for flag in $(EXTRA_TARGET_FLAGS); do \
49759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49760 done; \
49761 (cd $(TARGET_SUBDIR)/libgloss && \
49762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49764 "RANLIB=$${RANLIB}" \
49765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49766 info) \
49767 || exit 1
49768
49769 @endif target-libgloss
49770
49771 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
49772 maybe-dvi-target-libgloss:
49773 @if target-libgloss
49774 maybe-dvi-target-libgloss: dvi-target-libgloss
49775
49776 dvi-target-libgloss: \
49777 configure-target-libgloss
49778 @: $(MAKE); $(unstage)
49779 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49780 r=`${PWD_COMMAND}`; export r; \
49781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49782 $(NORMAL_TARGET_EXPORTS) \
49783 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
49784 for flag in $(EXTRA_TARGET_FLAGS); do \
49785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49786 done; \
49787 (cd $(TARGET_SUBDIR)/libgloss && \
49788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49790 "RANLIB=$${RANLIB}" \
49791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49792 dvi) \
49793 || exit 1
49794
49795 @endif target-libgloss
49796
49797 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
49798 maybe-pdf-target-libgloss:
49799 @if target-libgloss
49800 maybe-pdf-target-libgloss: pdf-target-libgloss
49801
49802 pdf-target-libgloss: \
49803 configure-target-libgloss
49804 @: $(MAKE); $(unstage)
49805 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49806 r=`${PWD_COMMAND}`; export r; \
49807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49808 $(NORMAL_TARGET_EXPORTS) \
49809 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
49810 for flag in $(EXTRA_TARGET_FLAGS); do \
49811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49812 done; \
49813 (cd $(TARGET_SUBDIR)/libgloss && \
49814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49816 "RANLIB=$${RANLIB}" \
49817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49818 pdf) \
49819 || exit 1
49820
49821 @endif target-libgloss
49822
49823 .PHONY: maybe-html-target-libgloss html-target-libgloss
49824 maybe-html-target-libgloss:
49825 @if target-libgloss
49826 maybe-html-target-libgloss: html-target-libgloss
49827
49828 html-target-libgloss: \
49829 configure-target-libgloss
49830 @: $(MAKE); $(unstage)
49831 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49832 r=`${PWD_COMMAND}`; export r; \
49833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49834 $(NORMAL_TARGET_EXPORTS) \
49835 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
49836 for flag in $(EXTRA_TARGET_FLAGS); do \
49837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49838 done; \
49839 (cd $(TARGET_SUBDIR)/libgloss && \
49840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49842 "RANLIB=$${RANLIB}" \
49843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49844 html) \
49845 || exit 1
49846
49847 @endif target-libgloss
49848
49849 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
49850 maybe-TAGS-target-libgloss:
49851 @if target-libgloss
49852 maybe-TAGS-target-libgloss: TAGS-target-libgloss
49853
49854 TAGS-target-libgloss: \
49855 configure-target-libgloss
49856 @: $(MAKE); $(unstage)
49857 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49858 r=`${PWD_COMMAND}`; export r; \
49859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49860 $(NORMAL_TARGET_EXPORTS) \
49861 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
49862 for flag in $(EXTRA_TARGET_FLAGS); do \
49863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49864 done; \
49865 (cd $(TARGET_SUBDIR)/libgloss && \
49866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49868 "RANLIB=$${RANLIB}" \
49869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49870 TAGS) \
49871 || exit 1
49872
49873 @endif target-libgloss
49874
49875 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
49876 maybe-install-info-target-libgloss:
49877 @if target-libgloss
49878 maybe-install-info-target-libgloss: install-info-target-libgloss
49879
49880 install-info-target-libgloss: \
49881 configure-target-libgloss \
49882 info-target-libgloss
49883 @: $(MAKE); $(unstage)
49884 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49885 r=`${PWD_COMMAND}`; export r; \
49886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49887 $(NORMAL_TARGET_EXPORTS) \
49888 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
49889 for flag in $(EXTRA_TARGET_FLAGS); do \
49890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49891 done; \
49892 (cd $(TARGET_SUBDIR)/libgloss && \
49893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49895 "RANLIB=$${RANLIB}" \
49896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49897 install-info) \
49898 || exit 1
49899
49900 @endif target-libgloss
49901
49902 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
49903 maybe-install-pdf-target-libgloss:
49904 @if target-libgloss
49905 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
49906
49907 install-pdf-target-libgloss: \
49908 configure-target-libgloss \
49909 pdf-target-libgloss
49910 @: $(MAKE); $(unstage)
49911 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49912 r=`${PWD_COMMAND}`; export r; \
49913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49914 $(NORMAL_TARGET_EXPORTS) \
49915 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
49916 for flag in $(EXTRA_TARGET_FLAGS); do \
49917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49918 done; \
49919 (cd $(TARGET_SUBDIR)/libgloss && \
49920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49922 "RANLIB=$${RANLIB}" \
49923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49924 install-pdf) \
49925 || exit 1
49926
49927 @endif target-libgloss
49928
49929 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
49930 maybe-install-html-target-libgloss:
49931 @if target-libgloss
49932 maybe-install-html-target-libgloss: install-html-target-libgloss
49933
49934 install-html-target-libgloss: \
49935 configure-target-libgloss \
49936 html-target-libgloss
49937 @: $(MAKE); $(unstage)
49938 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49939 r=`${PWD_COMMAND}`; export r; \
49940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49941 $(NORMAL_TARGET_EXPORTS) \
49942 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
49943 for flag in $(EXTRA_TARGET_FLAGS); do \
49944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49945 done; \
49946 (cd $(TARGET_SUBDIR)/libgloss && \
49947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49949 "RANLIB=$${RANLIB}" \
49950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49951 install-html) \
49952 || exit 1
49953
49954 @endif target-libgloss
49955
49956 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
49957 maybe-installcheck-target-libgloss:
49958 @if target-libgloss
49959 maybe-installcheck-target-libgloss: installcheck-target-libgloss
49960
49961 installcheck-target-libgloss: \
49962 configure-target-libgloss
49963 @: $(MAKE); $(unstage)
49964 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49965 r=`${PWD_COMMAND}`; export r; \
49966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49967 $(NORMAL_TARGET_EXPORTS) \
49968 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
49969 for flag in $(EXTRA_TARGET_FLAGS); do \
49970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49971 done; \
49972 (cd $(TARGET_SUBDIR)/libgloss && \
49973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49975 "RANLIB=$${RANLIB}" \
49976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49977 installcheck) \
49978 || exit 1
49979
49980 @endif target-libgloss
49981
49982 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
49983 maybe-mostlyclean-target-libgloss:
49984 @if target-libgloss
49985 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
49986
49987 mostlyclean-target-libgloss:
49988 @: $(MAKE); $(unstage)
49989 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49990 r=`${PWD_COMMAND}`; export r; \
49991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49992 $(NORMAL_TARGET_EXPORTS) \
49993 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
49994 for flag in $(EXTRA_TARGET_FLAGS); do \
49995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49996 done; \
49997 (cd $(TARGET_SUBDIR)/libgloss && \
49998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50000 "RANLIB=$${RANLIB}" \
50001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50002 mostlyclean) \
50003 || exit 1
50004
50005 @endif target-libgloss
50006
50007 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
50008 maybe-clean-target-libgloss:
50009 @if target-libgloss
50010 maybe-clean-target-libgloss: clean-target-libgloss
50011
50012 clean-target-libgloss:
50013 @: $(MAKE); $(unstage)
50014 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50015 r=`${PWD_COMMAND}`; export r; \
50016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50017 $(NORMAL_TARGET_EXPORTS) \
50018 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
50019 for flag in $(EXTRA_TARGET_FLAGS); do \
50020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50021 done; \
50022 (cd $(TARGET_SUBDIR)/libgloss && \
50023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50025 "RANLIB=$${RANLIB}" \
50026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50027 clean) \
50028 || exit 1
50029
50030 @endif target-libgloss
50031
50032 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
50033 maybe-distclean-target-libgloss:
50034 @if target-libgloss
50035 maybe-distclean-target-libgloss: distclean-target-libgloss
50036
50037 distclean-target-libgloss:
50038 @: $(MAKE); $(unstage)
50039 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50040 r=`${PWD_COMMAND}`; export r; \
50041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50042 $(NORMAL_TARGET_EXPORTS) \
50043 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
50044 for flag in $(EXTRA_TARGET_FLAGS); do \
50045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50046 done; \
50047 (cd $(TARGET_SUBDIR)/libgloss && \
50048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50050 "RANLIB=$${RANLIB}" \
50051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50052 distclean) \
50053 || exit 1
50054
50055 @endif target-libgloss
50056
50057 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
50058 maybe-maintainer-clean-target-libgloss:
50059 @if target-libgloss
50060 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
50061
50062 maintainer-clean-target-libgloss:
50063 @: $(MAKE); $(unstage)
50064 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50065 r=`${PWD_COMMAND}`; export r; \
50066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50067 $(NORMAL_TARGET_EXPORTS) \
50068 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
50069 for flag in $(EXTRA_TARGET_FLAGS); do \
50070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50071 done; \
50072 (cd $(TARGET_SUBDIR)/libgloss && \
50073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50075 "RANLIB=$${RANLIB}" \
50076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50077 maintainer-clean) \
50078 || exit 1
50079
50080 @endif target-libgloss
50081
50082
50083
50084
50085
50086 .PHONY: configure-target-libffi maybe-configure-target-libffi
50087 maybe-configure-target-libffi:
50088 @if gcc-bootstrap
50089 configure-target-libffi: stage_current
50090 @endif gcc-bootstrap
50091 @if target-libffi
50092 maybe-configure-target-libffi: configure-target-libffi
50093 configure-target-libffi:
50094 @: $(MAKE); $(unstage)
50095 @r=`${PWD_COMMAND}`; export r; \
50096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50097 echo "Checking multilib configuration for libffi..."; \
50098 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
50100 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
50101 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
50102 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
50103 else \
50104 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
50105 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50106 fi; \
50107 else \
50108 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50109 fi; \
50110 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
50111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50112 $(NORMAL_TARGET_EXPORTS) \
50113 echo Configuring in $(TARGET_SUBDIR)/libffi; \
50114 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
50115 case $(srcdir) in \
50116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50117 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
50118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50119 esac; \
50120 module_srcdir=libffi; \
50121 rm -f no-such-file || : ; \
50122 CONFIG_SITE=no-such-file $(SHELL) \
50123 $$s/$$module_srcdir/configure \
50124 --srcdir=$${topdir}/$$module_srcdir \
50125 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50126 --target=${target_alias} \
50127 || exit 1
50128 @endif target-libffi
50129
50130
50131
50132
50133
50134 .PHONY: all-target-libffi maybe-all-target-libffi
50135 maybe-all-target-libffi:
50136 @if gcc-bootstrap
50137 all-target-libffi: stage_current
50138 @endif gcc-bootstrap
50139 @if target-libffi
50140 TARGET-target-libffi=all
50141 maybe-all-target-libffi: all-target-libffi
50142 all-target-libffi: configure-target-libffi
50143 @: $(MAKE); $(unstage)
50144 @r=`${PWD_COMMAND}`; export r; \
50145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50146 $(NORMAL_TARGET_EXPORTS) \
50147 (cd $(TARGET_SUBDIR)/libffi && \
50148 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50149 $(TARGET-target-libffi))
50150 @endif target-libffi
50151
50152
50153
50154
50155
50156 .PHONY: check-target-libffi maybe-check-target-libffi
50157 maybe-check-target-libffi:
50158 @if target-libffi
50159 maybe-check-target-libffi: check-target-libffi
50160
50161 check-target-libffi:
50162 @: $(MAKE); $(unstage)
50163 @r=`${PWD_COMMAND}`; export r; \
50164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50165 $(NORMAL_TARGET_EXPORTS) \
50166 (cd $(TARGET_SUBDIR)/libffi && \
50167 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50168
50169 @endif target-libffi
50170
50171 .PHONY: install-target-libffi maybe-install-target-libffi
50172 maybe-install-target-libffi:
50173 @if target-libffi
50174 maybe-install-target-libffi: install-target-libffi
50175
50176 # Dummy target for uninstallable.
50177 install-target-libffi:
50178
50179 @endif target-libffi
50180
50181 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
50182 maybe-install-strip-target-libffi:
50183 @if target-libffi
50184 maybe-install-strip-target-libffi: install-strip-target-libffi
50185
50186 # Dummy target for uninstallable.
50187 install-strip-target-libffi:
50188
50189 @endif target-libffi
50190
50191 # Other targets (info, dvi, pdf, etc.)
50192
50193 .PHONY: maybe-info-target-libffi info-target-libffi
50194 maybe-info-target-libffi:
50195 @if target-libffi
50196 maybe-info-target-libffi: info-target-libffi
50197
50198 info-target-libffi: \
50199 configure-target-libffi
50200 @: $(MAKE); $(unstage)
50201 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50202 r=`${PWD_COMMAND}`; export r; \
50203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50204 $(NORMAL_TARGET_EXPORTS) \
50205 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
50206 for flag in $(EXTRA_TARGET_FLAGS); do \
50207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50208 done; \
50209 (cd $(TARGET_SUBDIR)/libffi && \
50210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50212 "RANLIB=$${RANLIB}" \
50213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50214 info) \
50215 || exit 1
50216
50217 @endif target-libffi
50218
50219 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
50220 maybe-dvi-target-libffi:
50221 @if target-libffi
50222 maybe-dvi-target-libffi: dvi-target-libffi
50223
50224 dvi-target-libffi: \
50225 configure-target-libffi
50226 @: $(MAKE); $(unstage)
50227 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50228 r=`${PWD_COMMAND}`; export r; \
50229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50230 $(NORMAL_TARGET_EXPORTS) \
50231 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
50232 for flag in $(EXTRA_TARGET_FLAGS); do \
50233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50234 done; \
50235 (cd $(TARGET_SUBDIR)/libffi && \
50236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50238 "RANLIB=$${RANLIB}" \
50239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50240 dvi) \
50241 || exit 1
50242
50243 @endif target-libffi
50244
50245 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
50246 maybe-pdf-target-libffi:
50247 @if target-libffi
50248 maybe-pdf-target-libffi: pdf-target-libffi
50249
50250 pdf-target-libffi: \
50251 configure-target-libffi
50252 @: $(MAKE); $(unstage)
50253 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50254 r=`${PWD_COMMAND}`; export r; \
50255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50256 $(NORMAL_TARGET_EXPORTS) \
50257 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
50258 for flag in $(EXTRA_TARGET_FLAGS); do \
50259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50260 done; \
50261 (cd $(TARGET_SUBDIR)/libffi && \
50262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50264 "RANLIB=$${RANLIB}" \
50265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50266 pdf) \
50267 || exit 1
50268
50269 @endif target-libffi
50270
50271 .PHONY: maybe-html-target-libffi html-target-libffi
50272 maybe-html-target-libffi:
50273 @if target-libffi
50274 maybe-html-target-libffi: html-target-libffi
50275
50276 html-target-libffi: \
50277 configure-target-libffi
50278 @: $(MAKE); $(unstage)
50279 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50280 r=`${PWD_COMMAND}`; export r; \
50281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50282 $(NORMAL_TARGET_EXPORTS) \
50283 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
50284 for flag in $(EXTRA_TARGET_FLAGS); do \
50285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50286 done; \
50287 (cd $(TARGET_SUBDIR)/libffi && \
50288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50290 "RANLIB=$${RANLIB}" \
50291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50292 html) \
50293 || exit 1
50294
50295 @endif target-libffi
50296
50297 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
50298 maybe-TAGS-target-libffi:
50299 @if target-libffi
50300 maybe-TAGS-target-libffi: TAGS-target-libffi
50301
50302 TAGS-target-libffi: \
50303 configure-target-libffi
50304 @: $(MAKE); $(unstage)
50305 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50306 r=`${PWD_COMMAND}`; export r; \
50307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50308 $(NORMAL_TARGET_EXPORTS) \
50309 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
50310 for flag in $(EXTRA_TARGET_FLAGS); do \
50311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50312 done; \
50313 (cd $(TARGET_SUBDIR)/libffi && \
50314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50316 "RANLIB=$${RANLIB}" \
50317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50318 TAGS) \
50319 || exit 1
50320
50321 @endif target-libffi
50322
50323 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
50324 maybe-install-info-target-libffi:
50325 @if target-libffi
50326 maybe-install-info-target-libffi: install-info-target-libffi
50327
50328 install-info-target-libffi: \
50329 configure-target-libffi \
50330 info-target-libffi
50331 @: $(MAKE); $(unstage)
50332 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50333 r=`${PWD_COMMAND}`; export r; \
50334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50335 $(NORMAL_TARGET_EXPORTS) \
50336 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
50337 for flag in $(EXTRA_TARGET_FLAGS); do \
50338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50339 done; \
50340 (cd $(TARGET_SUBDIR)/libffi && \
50341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50343 "RANLIB=$${RANLIB}" \
50344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50345 install-info) \
50346 || exit 1
50347
50348 @endif target-libffi
50349
50350 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
50351 maybe-install-pdf-target-libffi:
50352 @if target-libffi
50353 maybe-install-pdf-target-libffi: install-pdf-target-libffi
50354
50355 install-pdf-target-libffi: \
50356 configure-target-libffi \
50357 pdf-target-libffi
50358 @: $(MAKE); $(unstage)
50359 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50360 r=`${PWD_COMMAND}`; export r; \
50361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50362 $(NORMAL_TARGET_EXPORTS) \
50363 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
50364 for flag in $(EXTRA_TARGET_FLAGS); do \
50365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50366 done; \
50367 (cd $(TARGET_SUBDIR)/libffi && \
50368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50370 "RANLIB=$${RANLIB}" \
50371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50372 install-pdf) \
50373 || exit 1
50374
50375 @endif target-libffi
50376
50377 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
50378 maybe-install-html-target-libffi:
50379 @if target-libffi
50380 maybe-install-html-target-libffi: install-html-target-libffi
50381
50382 install-html-target-libffi: \
50383 configure-target-libffi \
50384 html-target-libffi
50385 @: $(MAKE); $(unstage)
50386 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50387 r=`${PWD_COMMAND}`; export r; \
50388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50389 $(NORMAL_TARGET_EXPORTS) \
50390 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
50391 for flag in $(EXTRA_TARGET_FLAGS); do \
50392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50393 done; \
50394 (cd $(TARGET_SUBDIR)/libffi && \
50395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50397 "RANLIB=$${RANLIB}" \
50398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50399 install-html) \
50400 || exit 1
50401
50402 @endif target-libffi
50403
50404 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
50405 maybe-installcheck-target-libffi:
50406 @if target-libffi
50407 maybe-installcheck-target-libffi: installcheck-target-libffi
50408
50409 installcheck-target-libffi: \
50410 configure-target-libffi
50411 @: $(MAKE); $(unstage)
50412 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50413 r=`${PWD_COMMAND}`; export r; \
50414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50415 $(NORMAL_TARGET_EXPORTS) \
50416 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
50417 for flag in $(EXTRA_TARGET_FLAGS); do \
50418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50419 done; \
50420 (cd $(TARGET_SUBDIR)/libffi && \
50421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50423 "RANLIB=$${RANLIB}" \
50424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50425 installcheck) \
50426 || exit 1
50427
50428 @endif target-libffi
50429
50430 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
50431 maybe-mostlyclean-target-libffi:
50432 @if target-libffi
50433 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
50434
50435 mostlyclean-target-libffi:
50436 @: $(MAKE); $(unstage)
50437 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50438 r=`${PWD_COMMAND}`; export r; \
50439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50440 $(NORMAL_TARGET_EXPORTS) \
50441 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
50442 for flag in $(EXTRA_TARGET_FLAGS); do \
50443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50444 done; \
50445 (cd $(TARGET_SUBDIR)/libffi && \
50446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50448 "RANLIB=$${RANLIB}" \
50449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50450 mostlyclean) \
50451 || exit 1
50452
50453 @endif target-libffi
50454
50455 .PHONY: maybe-clean-target-libffi clean-target-libffi
50456 maybe-clean-target-libffi:
50457 @if target-libffi
50458 maybe-clean-target-libffi: clean-target-libffi
50459
50460 clean-target-libffi:
50461 @: $(MAKE); $(unstage)
50462 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50463 r=`${PWD_COMMAND}`; export r; \
50464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50465 $(NORMAL_TARGET_EXPORTS) \
50466 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
50467 for flag in $(EXTRA_TARGET_FLAGS); do \
50468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50469 done; \
50470 (cd $(TARGET_SUBDIR)/libffi && \
50471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50473 "RANLIB=$${RANLIB}" \
50474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50475 clean) \
50476 || exit 1
50477
50478 @endif target-libffi
50479
50480 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
50481 maybe-distclean-target-libffi:
50482 @if target-libffi
50483 maybe-distclean-target-libffi: distclean-target-libffi
50484
50485 distclean-target-libffi:
50486 @: $(MAKE); $(unstage)
50487 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50488 r=`${PWD_COMMAND}`; export r; \
50489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50490 $(NORMAL_TARGET_EXPORTS) \
50491 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
50492 for flag in $(EXTRA_TARGET_FLAGS); do \
50493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50494 done; \
50495 (cd $(TARGET_SUBDIR)/libffi && \
50496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50498 "RANLIB=$${RANLIB}" \
50499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50500 distclean) \
50501 || exit 1
50502
50503 @endif target-libffi
50504
50505 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
50506 maybe-maintainer-clean-target-libffi:
50507 @if target-libffi
50508 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
50509
50510 maintainer-clean-target-libffi:
50511 @: $(MAKE); $(unstage)
50512 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50513 r=`${PWD_COMMAND}`; export r; \
50514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50515 $(NORMAL_TARGET_EXPORTS) \
50516 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
50517 for flag in $(EXTRA_TARGET_FLAGS); do \
50518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50519 done; \
50520 (cd $(TARGET_SUBDIR)/libffi && \
50521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50523 "RANLIB=$${RANLIB}" \
50524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50525 maintainer-clean) \
50526 || exit 1
50527
50528 @endif target-libffi
50529
50530
50531
50532
50533
50534 .PHONY: configure-target-zlib maybe-configure-target-zlib
50535 maybe-configure-target-zlib:
50536 @if gcc-bootstrap
50537 configure-target-zlib: stage_current
50538 @endif gcc-bootstrap
50539 @if target-zlib
50540 maybe-configure-target-zlib: configure-target-zlib
50541 configure-target-zlib:
50542 @: $(MAKE); $(unstage)
50543 @r=`${PWD_COMMAND}`; export r; \
50544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50545 echo "Checking multilib configuration for zlib..."; \
50546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
50547 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
50548 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
50549 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
50550 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
50551 else \
50552 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
50553 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50554 fi; \
50555 else \
50556 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50557 fi; \
50558 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
50559 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
50560 $(NORMAL_TARGET_EXPORTS) \
50561 echo Configuring in $(TARGET_SUBDIR)/zlib; \
50562 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
50563 case $(srcdir) in \
50564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50565 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
50566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50567 esac; \
50568 module_srcdir=zlib; \
50569 rm -f no-such-file || : ; \
50570 CONFIG_SITE=no-such-file $(SHELL) \
50571 $$s/$$module_srcdir/configure \
50572 --srcdir=$${topdir}/$$module_srcdir \
50573 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50574 --target=${target_alias} \
50575 || exit 1
50576 @endif target-zlib
50577
50578
50579
50580
50581
50582 .PHONY: all-target-zlib maybe-all-target-zlib
50583 maybe-all-target-zlib:
50584 @if gcc-bootstrap
50585 all-target-zlib: stage_current
50586 @endif gcc-bootstrap
50587 @if target-zlib
50588 TARGET-target-zlib=all
50589 maybe-all-target-zlib: all-target-zlib
50590 all-target-zlib: configure-target-zlib
50591 @: $(MAKE); $(unstage)
50592 @r=`${PWD_COMMAND}`; export r; \
50593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50594 $(NORMAL_TARGET_EXPORTS) \
50595 (cd $(TARGET_SUBDIR)/zlib && \
50596 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50597 $(TARGET-target-zlib))
50598 @endif target-zlib
50599
50600
50601
50602
50603
50604 .PHONY: check-target-zlib maybe-check-target-zlib
50605 maybe-check-target-zlib:
50606 @if target-zlib
50607 maybe-check-target-zlib: check-target-zlib
50608
50609 check-target-zlib:
50610 @: $(MAKE); $(unstage)
50611 @r=`${PWD_COMMAND}`; export r; \
50612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50613 $(NORMAL_TARGET_EXPORTS) \
50614 (cd $(TARGET_SUBDIR)/zlib && \
50615 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50616
50617 @endif target-zlib
50618
50619 .PHONY: install-target-zlib maybe-install-target-zlib
50620 maybe-install-target-zlib:
50621 @if target-zlib
50622 maybe-install-target-zlib: install-target-zlib
50623
50624 install-target-zlib: installdirs
50625 @: $(MAKE); $(unstage)
50626 @r=`${PWD_COMMAND}`; export r; \
50627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50628 $(NORMAL_TARGET_EXPORTS) \
50629 (cd $(TARGET_SUBDIR)/zlib && \
50630 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50631
50632 @endif target-zlib
50633
50634 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
50635 maybe-install-strip-target-zlib:
50636 @if target-zlib
50637 maybe-install-strip-target-zlib: install-strip-target-zlib
50638
50639 install-strip-target-zlib: installdirs
50640 @: $(MAKE); $(unstage)
50641 @r=`${PWD_COMMAND}`; export r; \
50642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50643 $(NORMAL_TARGET_EXPORTS) \
50644 (cd $(TARGET_SUBDIR)/zlib && \
50645 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50646
50647 @endif target-zlib
50648
50649 # Other targets (info, dvi, pdf, etc.)
50650
50651 .PHONY: maybe-info-target-zlib info-target-zlib
50652 maybe-info-target-zlib:
50653 @if target-zlib
50654 maybe-info-target-zlib: info-target-zlib
50655
50656 info-target-zlib: \
50657 configure-target-zlib
50658 @: $(MAKE); $(unstage)
50659 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50660 r=`${PWD_COMMAND}`; export r; \
50661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50662 $(NORMAL_TARGET_EXPORTS) \
50663 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
50664 for flag in $(EXTRA_TARGET_FLAGS); do \
50665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50666 done; \
50667 (cd $(TARGET_SUBDIR)/zlib && \
50668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50670 "RANLIB=$${RANLIB}" \
50671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50672 info) \
50673 || exit 1
50674
50675 @endif target-zlib
50676
50677 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
50678 maybe-dvi-target-zlib:
50679 @if target-zlib
50680 maybe-dvi-target-zlib: dvi-target-zlib
50681
50682 dvi-target-zlib: \
50683 configure-target-zlib
50684 @: $(MAKE); $(unstage)
50685 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50686 r=`${PWD_COMMAND}`; export r; \
50687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50688 $(NORMAL_TARGET_EXPORTS) \
50689 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
50690 for flag in $(EXTRA_TARGET_FLAGS); do \
50691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50692 done; \
50693 (cd $(TARGET_SUBDIR)/zlib && \
50694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50696 "RANLIB=$${RANLIB}" \
50697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50698 dvi) \
50699 || exit 1
50700
50701 @endif target-zlib
50702
50703 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
50704 maybe-pdf-target-zlib:
50705 @if target-zlib
50706 maybe-pdf-target-zlib: pdf-target-zlib
50707
50708 pdf-target-zlib: \
50709 configure-target-zlib
50710 @: $(MAKE); $(unstage)
50711 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50712 r=`${PWD_COMMAND}`; export r; \
50713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50714 $(NORMAL_TARGET_EXPORTS) \
50715 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
50716 for flag in $(EXTRA_TARGET_FLAGS); do \
50717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50718 done; \
50719 (cd $(TARGET_SUBDIR)/zlib && \
50720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50722 "RANLIB=$${RANLIB}" \
50723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50724 pdf) \
50725 || exit 1
50726
50727 @endif target-zlib
50728
50729 .PHONY: maybe-html-target-zlib html-target-zlib
50730 maybe-html-target-zlib:
50731 @if target-zlib
50732 maybe-html-target-zlib: html-target-zlib
50733
50734 html-target-zlib: \
50735 configure-target-zlib
50736 @: $(MAKE); $(unstage)
50737 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50738 r=`${PWD_COMMAND}`; export r; \
50739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50740 $(NORMAL_TARGET_EXPORTS) \
50741 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
50742 for flag in $(EXTRA_TARGET_FLAGS); do \
50743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50744 done; \
50745 (cd $(TARGET_SUBDIR)/zlib && \
50746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50748 "RANLIB=$${RANLIB}" \
50749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50750 html) \
50751 || exit 1
50752
50753 @endif target-zlib
50754
50755 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
50756 maybe-TAGS-target-zlib:
50757 @if target-zlib
50758 maybe-TAGS-target-zlib: TAGS-target-zlib
50759
50760 TAGS-target-zlib: \
50761 configure-target-zlib
50762 @: $(MAKE); $(unstage)
50763 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50764 r=`${PWD_COMMAND}`; export r; \
50765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50766 $(NORMAL_TARGET_EXPORTS) \
50767 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
50768 for flag in $(EXTRA_TARGET_FLAGS); do \
50769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50770 done; \
50771 (cd $(TARGET_SUBDIR)/zlib && \
50772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50774 "RANLIB=$${RANLIB}" \
50775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50776 TAGS) \
50777 || exit 1
50778
50779 @endif target-zlib
50780
50781 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
50782 maybe-install-info-target-zlib:
50783 @if target-zlib
50784 maybe-install-info-target-zlib: install-info-target-zlib
50785
50786 install-info-target-zlib: \
50787 configure-target-zlib \
50788 info-target-zlib
50789 @: $(MAKE); $(unstage)
50790 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50791 r=`${PWD_COMMAND}`; export r; \
50792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50793 $(NORMAL_TARGET_EXPORTS) \
50794 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
50795 for flag in $(EXTRA_TARGET_FLAGS); do \
50796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50797 done; \
50798 (cd $(TARGET_SUBDIR)/zlib && \
50799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50801 "RANLIB=$${RANLIB}" \
50802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50803 install-info) \
50804 || exit 1
50805
50806 @endif target-zlib
50807
50808 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
50809 maybe-install-pdf-target-zlib:
50810 @if target-zlib
50811 maybe-install-pdf-target-zlib: install-pdf-target-zlib
50812
50813 install-pdf-target-zlib: \
50814 configure-target-zlib \
50815 pdf-target-zlib
50816 @: $(MAKE); $(unstage)
50817 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50818 r=`${PWD_COMMAND}`; export r; \
50819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50820 $(NORMAL_TARGET_EXPORTS) \
50821 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
50822 for flag in $(EXTRA_TARGET_FLAGS); do \
50823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50824 done; \
50825 (cd $(TARGET_SUBDIR)/zlib && \
50826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50828 "RANLIB=$${RANLIB}" \
50829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50830 install-pdf) \
50831 || exit 1
50832
50833 @endif target-zlib
50834
50835 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
50836 maybe-install-html-target-zlib:
50837 @if target-zlib
50838 maybe-install-html-target-zlib: install-html-target-zlib
50839
50840 install-html-target-zlib: \
50841 configure-target-zlib \
50842 html-target-zlib
50843 @: $(MAKE); $(unstage)
50844 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50845 r=`${PWD_COMMAND}`; export r; \
50846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50847 $(NORMAL_TARGET_EXPORTS) \
50848 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
50849 for flag in $(EXTRA_TARGET_FLAGS); do \
50850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50851 done; \
50852 (cd $(TARGET_SUBDIR)/zlib && \
50853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50855 "RANLIB=$${RANLIB}" \
50856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50857 install-html) \
50858 || exit 1
50859
50860 @endif target-zlib
50861
50862 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
50863 maybe-installcheck-target-zlib:
50864 @if target-zlib
50865 maybe-installcheck-target-zlib: installcheck-target-zlib
50866
50867 installcheck-target-zlib: \
50868 configure-target-zlib
50869 @: $(MAKE); $(unstage)
50870 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50871 r=`${PWD_COMMAND}`; export r; \
50872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50873 $(NORMAL_TARGET_EXPORTS) \
50874 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
50875 for flag in $(EXTRA_TARGET_FLAGS); do \
50876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50877 done; \
50878 (cd $(TARGET_SUBDIR)/zlib && \
50879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50881 "RANLIB=$${RANLIB}" \
50882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50883 installcheck) \
50884 || exit 1
50885
50886 @endif target-zlib
50887
50888 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
50889 maybe-mostlyclean-target-zlib:
50890 @if target-zlib
50891 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
50892
50893 mostlyclean-target-zlib:
50894 @: $(MAKE); $(unstage)
50895 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50896 r=`${PWD_COMMAND}`; export r; \
50897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50898 $(NORMAL_TARGET_EXPORTS) \
50899 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
50900 for flag in $(EXTRA_TARGET_FLAGS); do \
50901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50902 done; \
50903 (cd $(TARGET_SUBDIR)/zlib && \
50904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50906 "RANLIB=$${RANLIB}" \
50907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50908 mostlyclean) \
50909 || exit 1
50910
50911 @endif target-zlib
50912
50913 .PHONY: maybe-clean-target-zlib clean-target-zlib
50914 maybe-clean-target-zlib:
50915 @if target-zlib
50916 maybe-clean-target-zlib: clean-target-zlib
50917
50918 clean-target-zlib:
50919 @: $(MAKE); $(unstage)
50920 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50921 r=`${PWD_COMMAND}`; export r; \
50922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50923 $(NORMAL_TARGET_EXPORTS) \
50924 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
50925 for flag in $(EXTRA_TARGET_FLAGS); do \
50926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50927 done; \
50928 (cd $(TARGET_SUBDIR)/zlib && \
50929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50931 "RANLIB=$${RANLIB}" \
50932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50933 clean) \
50934 || exit 1
50935
50936 @endif target-zlib
50937
50938 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
50939 maybe-distclean-target-zlib:
50940 @if target-zlib
50941 maybe-distclean-target-zlib: distclean-target-zlib
50942
50943 distclean-target-zlib:
50944 @: $(MAKE); $(unstage)
50945 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50946 r=`${PWD_COMMAND}`; export r; \
50947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50948 $(NORMAL_TARGET_EXPORTS) \
50949 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
50950 for flag in $(EXTRA_TARGET_FLAGS); do \
50951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50952 done; \
50953 (cd $(TARGET_SUBDIR)/zlib && \
50954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50956 "RANLIB=$${RANLIB}" \
50957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50958 distclean) \
50959 || exit 1
50960
50961 @endif target-zlib
50962
50963 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
50964 maybe-maintainer-clean-target-zlib:
50965 @if target-zlib
50966 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
50967
50968 maintainer-clean-target-zlib:
50969 @: $(MAKE); $(unstage)
50970 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50971 r=`${PWD_COMMAND}`; export r; \
50972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50973 $(NORMAL_TARGET_EXPORTS) \
50974 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
50975 for flag in $(EXTRA_TARGET_FLAGS); do \
50976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50977 done; \
50978 (cd $(TARGET_SUBDIR)/zlib && \
50979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50981 "RANLIB=$${RANLIB}" \
50982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50983 maintainer-clean) \
50984 || exit 1
50985
50986 @endif target-zlib
50987
50988
50989
50990
50991
50992 .PHONY: configure-target-rda maybe-configure-target-rda
50993 maybe-configure-target-rda:
50994 @if gcc-bootstrap
50995 configure-target-rda: stage_current
50996 @endif gcc-bootstrap
50997 @if target-rda
50998 maybe-configure-target-rda: configure-target-rda
50999 configure-target-rda:
51000 @: $(MAKE); $(unstage)
51001 @r=`${PWD_COMMAND}`; export r; \
51002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51003 echo "Checking multilib configuration for rda..."; \
51004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
51006 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
51007 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
51008 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
51009 else \
51010 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
51011 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51012 fi; \
51013 else \
51014 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51015 fi; \
51016 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
51017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51018 $(NORMAL_TARGET_EXPORTS) \
51019 echo Configuring in $(TARGET_SUBDIR)/rda; \
51020 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
51021 case $(srcdir) in \
51022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51023 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
51024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51025 esac; \
51026 module_srcdir=rda; \
51027 rm -f no-such-file || : ; \
51028 CONFIG_SITE=no-such-file $(SHELL) \
51029 $$s/$$module_srcdir/configure \
51030 --srcdir=$${topdir}/$$module_srcdir \
51031 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51032 --target=${target_alias} \
51033 || exit 1
51034 @endif target-rda
51035
51036
51037
51038
51039
51040 .PHONY: all-target-rda maybe-all-target-rda
51041 maybe-all-target-rda:
51042 @if gcc-bootstrap
51043 all-target-rda: stage_current
51044 @endif gcc-bootstrap
51045 @if target-rda
51046 TARGET-target-rda=all
51047 maybe-all-target-rda: all-target-rda
51048 all-target-rda: configure-target-rda
51049 @: $(MAKE); $(unstage)
51050 @r=`${PWD_COMMAND}`; export r; \
51051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51052 $(NORMAL_TARGET_EXPORTS) \
51053 (cd $(TARGET_SUBDIR)/rda && \
51054 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51055 $(TARGET-target-rda))
51056 @endif target-rda
51057
51058
51059
51060
51061
51062 .PHONY: check-target-rda maybe-check-target-rda
51063 maybe-check-target-rda:
51064 @if target-rda
51065 maybe-check-target-rda: check-target-rda
51066
51067 check-target-rda:
51068 @: $(MAKE); $(unstage)
51069 @r=`${PWD_COMMAND}`; export r; \
51070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51071 $(NORMAL_TARGET_EXPORTS) \
51072 (cd $(TARGET_SUBDIR)/rda && \
51073 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51074
51075 @endif target-rda
51076
51077 .PHONY: install-target-rda maybe-install-target-rda
51078 maybe-install-target-rda:
51079 @if target-rda
51080 maybe-install-target-rda: install-target-rda
51081
51082 install-target-rda: installdirs
51083 @: $(MAKE); $(unstage)
51084 @r=`${PWD_COMMAND}`; export r; \
51085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51086 $(NORMAL_TARGET_EXPORTS) \
51087 (cd $(TARGET_SUBDIR)/rda && \
51088 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51089
51090 @endif target-rda
51091
51092 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
51093 maybe-install-strip-target-rda:
51094 @if target-rda
51095 maybe-install-strip-target-rda: install-strip-target-rda
51096
51097 install-strip-target-rda: installdirs
51098 @: $(MAKE); $(unstage)
51099 @r=`${PWD_COMMAND}`; export r; \
51100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51101 $(NORMAL_TARGET_EXPORTS) \
51102 (cd $(TARGET_SUBDIR)/rda && \
51103 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51104
51105 @endif target-rda
51106
51107 # Other targets (info, dvi, pdf, etc.)
51108
51109 .PHONY: maybe-info-target-rda info-target-rda
51110 maybe-info-target-rda:
51111 @if target-rda
51112 maybe-info-target-rda: info-target-rda
51113
51114 info-target-rda: \
51115 configure-target-rda
51116 @: $(MAKE); $(unstage)
51117 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51118 r=`${PWD_COMMAND}`; export r; \
51119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51120 $(NORMAL_TARGET_EXPORTS) \
51121 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
51122 for flag in $(EXTRA_TARGET_FLAGS); do \
51123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51124 done; \
51125 (cd $(TARGET_SUBDIR)/rda && \
51126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51128 "RANLIB=$${RANLIB}" \
51129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51130 info) \
51131 || exit 1
51132
51133 @endif target-rda
51134
51135 .PHONY: maybe-dvi-target-rda dvi-target-rda
51136 maybe-dvi-target-rda:
51137 @if target-rda
51138 maybe-dvi-target-rda: dvi-target-rda
51139
51140 dvi-target-rda: \
51141 configure-target-rda
51142 @: $(MAKE); $(unstage)
51143 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51144 r=`${PWD_COMMAND}`; export r; \
51145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51146 $(NORMAL_TARGET_EXPORTS) \
51147 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
51148 for flag in $(EXTRA_TARGET_FLAGS); do \
51149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51150 done; \
51151 (cd $(TARGET_SUBDIR)/rda && \
51152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51154 "RANLIB=$${RANLIB}" \
51155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51156 dvi) \
51157 || exit 1
51158
51159 @endif target-rda
51160
51161 .PHONY: maybe-pdf-target-rda pdf-target-rda
51162 maybe-pdf-target-rda:
51163 @if target-rda
51164 maybe-pdf-target-rda: pdf-target-rda
51165
51166 pdf-target-rda: \
51167 configure-target-rda
51168 @: $(MAKE); $(unstage)
51169 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51170 r=`${PWD_COMMAND}`; export r; \
51171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51172 $(NORMAL_TARGET_EXPORTS) \
51173 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
51174 for flag in $(EXTRA_TARGET_FLAGS); do \
51175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51176 done; \
51177 (cd $(TARGET_SUBDIR)/rda && \
51178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51180 "RANLIB=$${RANLIB}" \
51181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51182 pdf) \
51183 || exit 1
51184
51185 @endif target-rda
51186
51187 .PHONY: maybe-html-target-rda html-target-rda
51188 maybe-html-target-rda:
51189 @if target-rda
51190 maybe-html-target-rda: html-target-rda
51191
51192 html-target-rda: \
51193 configure-target-rda
51194 @: $(MAKE); $(unstage)
51195 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51196 r=`${PWD_COMMAND}`; export r; \
51197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51198 $(NORMAL_TARGET_EXPORTS) \
51199 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
51200 for flag in $(EXTRA_TARGET_FLAGS); do \
51201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51202 done; \
51203 (cd $(TARGET_SUBDIR)/rda && \
51204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51206 "RANLIB=$${RANLIB}" \
51207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51208 html) \
51209 || exit 1
51210
51211 @endif target-rda
51212
51213 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51214 maybe-TAGS-target-rda:
51215 @if target-rda
51216 maybe-TAGS-target-rda: TAGS-target-rda
51217
51218 TAGS-target-rda: \
51219 configure-target-rda
51220 @: $(MAKE); $(unstage)
51221 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51222 r=`${PWD_COMMAND}`; export r; \
51223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51224 $(NORMAL_TARGET_EXPORTS) \
51225 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
51226 for flag in $(EXTRA_TARGET_FLAGS); do \
51227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51228 done; \
51229 (cd $(TARGET_SUBDIR)/rda && \
51230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51232 "RANLIB=$${RANLIB}" \
51233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51234 TAGS) \
51235 || exit 1
51236
51237 @endif target-rda
51238
51239 .PHONY: maybe-install-info-target-rda install-info-target-rda
51240 maybe-install-info-target-rda:
51241 @if target-rda
51242 maybe-install-info-target-rda: install-info-target-rda
51243
51244 install-info-target-rda: \
51245 configure-target-rda \
51246 info-target-rda
51247 @: $(MAKE); $(unstage)
51248 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51249 r=`${PWD_COMMAND}`; export r; \
51250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51251 $(NORMAL_TARGET_EXPORTS) \
51252 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
51253 for flag in $(EXTRA_TARGET_FLAGS); do \
51254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51255 done; \
51256 (cd $(TARGET_SUBDIR)/rda && \
51257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51259 "RANLIB=$${RANLIB}" \
51260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51261 install-info) \
51262 || exit 1
51263
51264 @endif target-rda
51265
51266 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51267 maybe-install-pdf-target-rda:
51268 @if target-rda
51269 maybe-install-pdf-target-rda: install-pdf-target-rda
51270
51271 install-pdf-target-rda: \
51272 configure-target-rda \
51273 pdf-target-rda
51274 @: $(MAKE); $(unstage)
51275 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51276 r=`${PWD_COMMAND}`; export r; \
51277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51278 $(NORMAL_TARGET_EXPORTS) \
51279 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
51280 for flag in $(EXTRA_TARGET_FLAGS); do \
51281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51282 done; \
51283 (cd $(TARGET_SUBDIR)/rda && \
51284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51286 "RANLIB=$${RANLIB}" \
51287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51288 install-pdf) \
51289 || exit 1
51290
51291 @endif target-rda
51292
51293 .PHONY: maybe-install-html-target-rda install-html-target-rda
51294 maybe-install-html-target-rda:
51295 @if target-rda
51296 maybe-install-html-target-rda: install-html-target-rda
51297
51298 install-html-target-rda: \
51299 configure-target-rda \
51300 html-target-rda
51301 @: $(MAKE); $(unstage)
51302 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51303 r=`${PWD_COMMAND}`; export r; \
51304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51305 $(NORMAL_TARGET_EXPORTS) \
51306 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
51307 for flag in $(EXTRA_TARGET_FLAGS); do \
51308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51309 done; \
51310 (cd $(TARGET_SUBDIR)/rda && \
51311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51313 "RANLIB=$${RANLIB}" \
51314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51315 install-html) \
51316 || exit 1
51317
51318 @endif target-rda
51319
51320 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51321 maybe-installcheck-target-rda:
51322 @if target-rda
51323 maybe-installcheck-target-rda: installcheck-target-rda
51324
51325 installcheck-target-rda: \
51326 configure-target-rda
51327 @: $(MAKE); $(unstage)
51328 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51329 r=`${PWD_COMMAND}`; export r; \
51330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51331 $(NORMAL_TARGET_EXPORTS) \
51332 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
51333 for flag in $(EXTRA_TARGET_FLAGS); do \
51334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51335 done; \
51336 (cd $(TARGET_SUBDIR)/rda && \
51337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51339 "RANLIB=$${RANLIB}" \
51340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51341 installcheck) \
51342 || exit 1
51343
51344 @endif target-rda
51345
51346 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51347 maybe-mostlyclean-target-rda:
51348 @if target-rda
51349 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51350
51351 mostlyclean-target-rda:
51352 @: $(MAKE); $(unstage)
51353 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51354 r=`${PWD_COMMAND}`; export r; \
51355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51356 $(NORMAL_TARGET_EXPORTS) \
51357 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
51358 for flag in $(EXTRA_TARGET_FLAGS); do \
51359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51360 done; \
51361 (cd $(TARGET_SUBDIR)/rda && \
51362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51364 "RANLIB=$${RANLIB}" \
51365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51366 mostlyclean) \
51367 || exit 1
51368
51369 @endif target-rda
51370
51371 .PHONY: maybe-clean-target-rda clean-target-rda
51372 maybe-clean-target-rda:
51373 @if target-rda
51374 maybe-clean-target-rda: clean-target-rda
51375
51376 clean-target-rda:
51377 @: $(MAKE); $(unstage)
51378 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51379 r=`${PWD_COMMAND}`; export r; \
51380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51381 $(NORMAL_TARGET_EXPORTS) \
51382 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
51383 for flag in $(EXTRA_TARGET_FLAGS); do \
51384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51385 done; \
51386 (cd $(TARGET_SUBDIR)/rda && \
51387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51389 "RANLIB=$${RANLIB}" \
51390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51391 clean) \
51392 || exit 1
51393
51394 @endif target-rda
51395
51396 .PHONY: maybe-distclean-target-rda distclean-target-rda
51397 maybe-distclean-target-rda:
51398 @if target-rda
51399 maybe-distclean-target-rda: distclean-target-rda
51400
51401 distclean-target-rda:
51402 @: $(MAKE); $(unstage)
51403 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51404 r=`${PWD_COMMAND}`; export r; \
51405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51406 $(NORMAL_TARGET_EXPORTS) \
51407 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
51408 for flag in $(EXTRA_TARGET_FLAGS); do \
51409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51410 done; \
51411 (cd $(TARGET_SUBDIR)/rda && \
51412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51414 "RANLIB=$${RANLIB}" \
51415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51416 distclean) \
51417 || exit 1
51418
51419 @endif target-rda
51420
51421 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51422 maybe-maintainer-clean-target-rda:
51423 @if target-rda
51424 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51425
51426 maintainer-clean-target-rda:
51427 @: $(MAKE); $(unstage)
51428 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51429 r=`${PWD_COMMAND}`; export r; \
51430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51431 $(NORMAL_TARGET_EXPORTS) \
51432 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
51433 for flag in $(EXTRA_TARGET_FLAGS); do \
51434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51435 done; \
51436 (cd $(TARGET_SUBDIR)/rda && \
51437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51439 "RANLIB=$${RANLIB}" \
51440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51441 maintainer-clean) \
51442 || exit 1
51443
51444 @endif target-rda
51445
51446
51447
51448
51449
51450 .PHONY: configure-target-libada maybe-configure-target-libada
51451 maybe-configure-target-libada:
51452 @if gcc-bootstrap
51453 configure-target-libada: stage_current
51454 @endif gcc-bootstrap
51455 @if target-libada
51456 maybe-configure-target-libada: configure-target-libada
51457 configure-target-libada:
51458 @: $(MAKE); $(unstage)
51459 @r=`${PWD_COMMAND}`; export r; \
51460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51461 echo "Checking multilib configuration for libada..."; \
51462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
51464 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
51465 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
51466 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
51467 else \
51468 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
51469 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51470 fi; \
51471 else \
51472 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51473 fi; \
51474 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
51475 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51476 $(NORMAL_TARGET_EXPORTS) \
51477 echo Configuring in $(TARGET_SUBDIR)/libada; \
51478 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
51479 case $(srcdir) in \
51480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51481 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
51482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51483 esac; \
51484 module_srcdir=libada; \
51485 rm -f no-such-file || : ; \
51486 CONFIG_SITE=no-such-file $(SHELL) \
51487 $$s/$$module_srcdir/configure \
51488 --srcdir=$${topdir}/$$module_srcdir \
51489 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51490 --target=${target_alias} \
51491 || exit 1
51492 @endif target-libada
51493
51494
51495
51496
51497
51498 .PHONY: all-target-libada maybe-all-target-libada
51499 maybe-all-target-libada:
51500 @if gcc-bootstrap
51501 all-target-libada: stage_current
51502 @endif gcc-bootstrap
51503 @if target-libada
51504 TARGET-target-libada=all
51505 maybe-all-target-libada: all-target-libada
51506 all-target-libada: configure-target-libada
51507 @: $(MAKE); $(unstage)
51508 @r=`${PWD_COMMAND}`; export r; \
51509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51510 $(NORMAL_TARGET_EXPORTS) \
51511 (cd $(TARGET_SUBDIR)/libada && \
51512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51513 $(TARGET-target-libada))
51514 @endif target-libada
51515
51516
51517
51518
51519
51520 .PHONY: check-target-libada maybe-check-target-libada
51521 maybe-check-target-libada:
51522 @if target-libada
51523 maybe-check-target-libada: check-target-libada
51524
51525 check-target-libada:
51526 @: $(MAKE); $(unstage)
51527 @r=`${PWD_COMMAND}`; export r; \
51528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51529 $(NORMAL_TARGET_EXPORTS) \
51530 (cd $(TARGET_SUBDIR)/libada && \
51531 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51532
51533 @endif target-libada
51534
51535 .PHONY: install-target-libada maybe-install-target-libada
51536 maybe-install-target-libada:
51537 @if target-libada
51538 maybe-install-target-libada: install-target-libada
51539
51540 install-target-libada: installdirs
51541 @: $(MAKE); $(unstage)
51542 @r=`${PWD_COMMAND}`; export r; \
51543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51544 $(NORMAL_TARGET_EXPORTS) \
51545 (cd $(TARGET_SUBDIR)/libada && \
51546 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51547
51548 @endif target-libada
51549
51550 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
51551 maybe-install-strip-target-libada:
51552 @if target-libada
51553 maybe-install-strip-target-libada: install-strip-target-libada
51554
51555 install-strip-target-libada: installdirs
51556 @: $(MAKE); $(unstage)
51557 @r=`${PWD_COMMAND}`; export r; \
51558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51559 $(NORMAL_TARGET_EXPORTS) \
51560 (cd $(TARGET_SUBDIR)/libada && \
51561 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51562
51563 @endif target-libada
51564
51565 # Other targets (info, dvi, pdf, etc.)
51566
51567 .PHONY: maybe-info-target-libada info-target-libada
51568 maybe-info-target-libada:
51569 @if target-libada
51570 maybe-info-target-libada: info-target-libada
51571
51572 info-target-libada: \
51573 configure-target-libada
51574 @: $(MAKE); $(unstage)
51575 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51576 r=`${PWD_COMMAND}`; export r; \
51577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51578 $(NORMAL_TARGET_EXPORTS) \
51579 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
51580 for flag in $(EXTRA_TARGET_FLAGS); do \
51581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51582 done; \
51583 (cd $(TARGET_SUBDIR)/libada && \
51584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51586 "RANLIB=$${RANLIB}" \
51587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51588 info) \
51589 || exit 1
51590
51591 @endif target-libada
51592
51593 .PHONY: maybe-dvi-target-libada dvi-target-libada
51594 maybe-dvi-target-libada:
51595 @if target-libada
51596 maybe-dvi-target-libada: dvi-target-libada
51597
51598 dvi-target-libada: \
51599 configure-target-libada
51600 @: $(MAKE); $(unstage)
51601 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51602 r=`${PWD_COMMAND}`; export r; \
51603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51604 $(NORMAL_TARGET_EXPORTS) \
51605 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
51606 for flag in $(EXTRA_TARGET_FLAGS); do \
51607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51608 done; \
51609 (cd $(TARGET_SUBDIR)/libada && \
51610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51612 "RANLIB=$${RANLIB}" \
51613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51614 dvi) \
51615 || exit 1
51616
51617 @endif target-libada
51618
51619 .PHONY: maybe-pdf-target-libada pdf-target-libada
51620 maybe-pdf-target-libada:
51621 @if target-libada
51622 maybe-pdf-target-libada: pdf-target-libada
51623
51624 pdf-target-libada: \
51625 configure-target-libada
51626 @: $(MAKE); $(unstage)
51627 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51628 r=`${PWD_COMMAND}`; export r; \
51629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51630 $(NORMAL_TARGET_EXPORTS) \
51631 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
51632 for flag in $(EXTRA_TARGET_FLAGS); do \
51633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51634 done; \
51635 (cd $(TARGET_SUBDIR)/libada && \
51636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51638 "RANLIB=$${RANLIB}" \
51639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51640 pdf) \
51641 || exit 1
51642
51643 @endif target-libada
51644
51645 .PHONY: maybe-html-target-libada html-target-libada
51646 maybe-html-target-libada:
51647 @if target-libada
51648 maybe-html-target-libada: html-target-libada
51649
51650 html-target-libada: \
51651 configure-target-libada
51652 @: $(MAKE); $(unstage)
51653 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51654 r=`${PWD_COMMAND}`; export r; \
51655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51656 $(NORMAL_TARGET_EXPORTS) \
51657 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
51658 for flag in $(EXTRA_TARGET_FLAGS); do \
51659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51660 done; \
51661 (cd $(TARGET_SUBDIR)/libada && \
51662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51664 "RANLIB=$${RANLIB}" \
51665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51666 html) \
51667 || exit 1
51668
51669 @endif target-libada
51670
51671 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
51672 maybe-TAGS-target-libada:
51673 @if target-libada
51674 maybe-TAGS-target-libada: TAGS-target-libada
51675
51676 TAGS-target-libada: \
51677 configure-target-libada
51678 @: $(MAKE); $(unstage)
51679 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51680 r=`${PWD_COMMAND}`; export r; \
51681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51682 $(NORMAL_TARGET_EXPORTS) \
51683 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
51684 for flag in $(EXTRA_TARGET_FLAGS); do \
51685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51686 done; \
51687 (cd $(TARGET_SUBDIR)/libada && \
51688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51690 "RANLIB=$${RANLIB}" \
51691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51692 TAGS) \
51693 || exit 1
51694
51695 @endif target-libada
51696
51697 .PHONY: maybe-install-info-target-libada install-info-target-libada
51698 maybe-install-info-target-libada:
51699 @if target-libada
51700 maybe-install-info-target-libada: install-info-target-libada
51701
51702 install-info-target-libada: \
51703 configure-target-libada \
51704 info-target-libada
51705 @: $(MAKE); $(unstage)
51706 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51707 r=`${PWD_COMMAND}`; export r; \
51708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51709 $(NORMAL_TARGET_EXPORTS) \
51710 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
51711 for flag in $(EXTRA_TARGET_FLAGS); do \
51712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51713 done; \
51714 (cd $(TARGET_SUBDIR)/libada && \
51715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51717 "RANLIB=$${RANLIB}" \
51718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51719 install-info) \
51720 || exit 1
51721
51722 @endif target-libada
51723
51724 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
51725 maybe-install-pdf-target-libada:
51726 @if target-libada
51727 maybe-install-pdf-target-libada: install-pdf-target-libada
51728
51729 install-pdf-target-libada: \
51730 configure-target-libada \
51731 pdf-target-libada
51732 @: $(MAKE); $(unstage)
51733 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51734 r=`${PWD_COMMAND}`; export r; \
51735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51736 $(NORMAL_TARGET_EXPORTS) \
51737 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
51738 for flag in $(EXTRA_TARGET_FLAGS); do \
51739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51740 done; \
51741 (cd $(TARGET_SUBDIR)/libada && \
51742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51744 "RANLIB=$${RANLIB}" \
51745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51746 install-pdf) \
51747 || exit 1
51748
51749 @endif target-libada
51750
51751 .PHONY: maybe-install-html-target-libada install-html-target-libada
51752 maybe-install-html-target-libada:
51753 @if target-libada
51754 maybe-install-html-target-libada: install-html-target-libada
51755
51756 install-html-target-libada: \
51757 configure-target-libada \
51758 html-target-libada
51759 @: $(MAKE); $(unstage)
51760 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51761 r=`${PWD_COMMAND}`; export r; \
51762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51763 $(NORMAL_TARGET_EXPORTS) \
51764 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
51765 for flag in $(EXTRA_TARGET_FLAGS); do \
51766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51767 done; \
51768 (cd $(TARGET_SUBDIR)/libada && \
51769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51771 "RANLIB=$${RANLIB}" \
51772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51773 install-html) \
51774 || exit 1
51775
51776 @endif target-libada
51777
51778 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
51779 maybe-installcheck-target-libada:
51780 @if target-libada
51781 maybe-installcheck-target-libada: installcheck-target-libada
51782
51783 installcheck-target-libada: \
51784 configure-target-libada
51785 @: $(MAKE); $(unstage)
51786 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51787 r=`${PWD_COMMAND}`; export r; \
51788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51789 $(NORMAL_TARGET_EXPORTS) \
51790 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
51791 for flag in $(EXTRA_TARGET_FLAGS); do \
51792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51793 done; \
51794 (cd $(TARGET_SUBDIR)/libada && \
51795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51797 "RANLIB=$${RANLIB}" \
51798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51799 installcheck) \
51800 || exit 1
51801
51802 @endif target-libada
51803
51804 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
51805 maybe-mostlyclean-target-libada:
51806 @if target-libada
51807 maybe-mostlyclean-target-libada: mostlyclean-target-libada
51808
51809 mostlyclean-target-libada:
51810 @: $(MAKE); $(unstage)
51811 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51812 r=`${PWD_COMMAND}`; export r; \
51813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51814 $(NORMAL_TARGET_EXPORTS) \
51815 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
51816 for flag in $(EXTRA_TARGET_FLAGS); do \
51817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51818 done; \
51819 (cd $(TARGET_SUBDIR)/libada && \
51820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51822 "RANLIB=$${RANLIB}" \
51823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51824 mostlyclean) \
51825 || exit 1
51826
51827 @endif target-libada
51828
51829 .PHONY: maybe-clean-target-libada clean-target-libada
51830 maybe-clean-target-libada:
51831 @if target-libada
51832 maybe-clean-target-libada: clean-target-libada
51833
51834 clean-target-libada:
51835 @: $(MAKE); $(unstage)
51836 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51837 r=`${PWD_COMMAND}`; export r; \
51838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51839 $(NORMAL_TARGET_EXPORTS) \
51840 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
51841 for flag in $(EXTRA_TARGET_FLAGS); do \
51842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51843 done; \
51844 (cd $(TARGET_SUBDIR)/libada && \
51845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51847 "RANLIB=$${RANLIB}" \
51848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51849 clean) \
51850 || exit 1
51851
51852 @endif target-libada
51853
51854 .PHONY: maybe-distclean-target-libada distclean-target-libada
51855 maybe-distclean-target-libada:
51856 @if target-libada
51857 maybe-distclean-target-libada: distclean-target-libada
51858
51859 distclean-target-libada:
51860 @: $(MAKE); $(unstage)
51861 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51862 r=`${PWD_COMMAND}`; export r; \
51863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51864 $(NORMAL_TARGET_EXPORTS) \
51865 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
51866 for flag in $(EXTRA_TARGET_FLAGS); do \
51867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51868 done; \
51869 (cd $(TARGET_SUBDIR)/libada && \
51870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51872 "RANLIB=$${RANLIB}" \
51873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51874 distclean) \
51875 || exit 1
51876
51877 @endif target-libada
51878
51879 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
51880 maybe-maintainer-clean-target-libada:
51881 @if target-libada
51882 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
51883
51884 maintainer-clean-target-libada:
51885 @: $(MAKE); $(unstage)
51886 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51887 r=`${PWD_COMMAND}`; export r; \
51888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51889 $(NORMAL_TARGET_EXPORTS) \
51890 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
51891 for flag in $(EXTRA_TARGET_FLAGS); do \
51892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51893 done; \
51894 (cd $(TARGET_SUBDIR)/libada && \
51895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51897 "RANLIB=$${RANLIB}" \
51898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51899 maintainer-clean) \
51900 || exit 1
51901
51902 @endif target-libada
51903
51904
51905
51906
51907
51908 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
51909 maybe-configure-target-libgomp:
51910 @if gcc-bootstrap
51911 configure-target-libgomp: stage_current
51912 @endif gcc-bootstrap
51913 @if target-libgomp
51914 maybe-configure-target-libgomp: configure-target-libgomp
51915 configure-target-libgomp:
51916 @r=`${PWD_COMMAND}`; export r; \
51917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51918 echo "Checking multilib configuration for libgomp..."; \
51919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51920 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51921 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51922 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51923 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51924 else \
51925 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51926 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51927 fi; \
51928 else \
51929 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51930 fi; \
51931 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51933 $(NORMAL_TARGET_EXPORTS) \
51934 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
51935 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
51936 case $(srcdir) in \
51937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51938 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51940 esac; \
51941 module_srcdir=libgomp; \
51942 rm -f no-such-file || : ; \
51943 CONFIG_SITE=no-such-file $(SHELL) \
51944 $$s/$$module_srcdir/configure \
51945 --srcdir=$${topdir}/$$module_srcdir \
51946 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51947 --target=${target_alias} \
51948 || exit 1
51949 @endif target-libgomp
51950
51951
51952
51953 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
51954 maybe-configure-stage1-target-libgomp:
51955 @if target-libgomp-bootstrap
51956 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
51957 configure-stage1-target-libgomp:
51958 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51960 @r=`${PWD_COMMAND}`; export r; \
51961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51962 TFLAGS="$(STAGE1_TFLAGS)"; \
51963 echo "Checking multilib configuration for libgomp..."; \
51964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51965 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51966 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51967 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51968 else \
51969 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51970 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51971 fi; \
51972 else \
51973 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51974 fi; \
51975 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51976 $(NORMAL_TARGET_EXPORTS) \
51977 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51978 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51979 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51980 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
51981 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51982 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51983 case $(srcdir) in \
51984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51985 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51987 esac; \
51988 module_srcdir=libgomp; \
51989 $(SHELL) $$s/$$module_srcdir/configure \
51990 --srcdir=$${topdir}/$$module_srcdir \
51991 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51992 --target=${target_alias} \
51993 \
51994 $(STAGE1_CONFIGURE_FLAGS)
51995 @endif target-libgomp-bootstrap
51996
51997 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
51998 maybe-configure-stage2-target-libgomp:
51999 @if target-libgomp-bootstrap
52000 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
52001 configure-stage2-target-libgomp:
52002 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52003 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52004 @r=`${PWD_COMMAND}`; export r; \
52005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52006 TFLAGS="$(STAGE2_TFLAGS)"; \
52007 echo "Checking multilib configuration for libgomp..."; \
52008 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52009 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52010 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52011 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52012 else \
52013 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52014 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52015 fi; \
52016 else \
52017 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52018 fi; \
52019 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52020 $(NORMAL_TARGET_EXPORTS) \
52021 \
52022 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52023 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52024 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52025 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
52026 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52027 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52028 case $(srcdir) in \
52029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52030 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52032 esac; \
52033 module_srcdir=libgomp; \
52034 $(SHELL) $$s/$$module_srcdir/configure \
52035 --srcdir=$${topdir}/$$module_srcdir \
52036 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52037 --target=${target_alias} \
52038 --with-build-libsubdir=$(HOST_SUBDIR) \
52039 $(STAGE2_CONFIGURE_FLAGS)
52040 @endif target-libgomp-bootstrap
52041
52042 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
52043 maybe-configure-stage3-target-libgomp:
52044 @if target-libgomp-bootstrap
52045 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
52046 configure-stage3-target-libgomp:
52047 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52048 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52049 @r=`${PWD_COMMAND}`; export r; \
52050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52051 TFLAGS="$(STAGE3_TFLAGS)"; \
52052 echo "Checking multilib configuration for libgomp..."; \
52053 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52054 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52055 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52056 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52057 else \
52058 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52059 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52060 fi; \
52061 else \
52062 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52063 fi; \
52064 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52065 $(NORMAL_TARGET_EXPORTS) \
52066 \
52067 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52070 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
52071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52072 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52073 case $(srcdir) in \
52074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52075 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52077 esac; \
52078 module_srcdir=libgomp; \
52079 $(SHELL) $$s/$$module_srcdir/configure \
52080 --srcdir=$${topdir}/$$module_srcdir \
52081 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52082 --target=${target_alias} \
52083 --with-build-libsubdir=$(HOST_SUBDIR) \
52084 $(STAGE3_CONFIGURE_FLAGS)
52085 @endif target-libgomp-bootstrap
52086
52087 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
52088 maybe-configure-stage4-target-libgomp:
52089 @if target-libgomp-bootstrap
52090 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
52091 configure-stage4-target-libgomp:
52092 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52093 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52094 @r=`${PWD_COMMAND}`; export r; \
52095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52096 TFLAGS="$(STAGE4_TFLAGS)"; \
52097 echo "Checking multilib configuration for libgomp..."; \
52098 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52099 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52100 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52101 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52102 else \
52103 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52104 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52105 fi; \
52106 else \
52107 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52108 fi; \
52109 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52110 $(NORMAL_TARGET_EXPORTS) \
52111 \
52112 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52115 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
52116 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52117 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52118 case $(srcdir) in \
52119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52120 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52122 esac; \
52123 module_srcdir=libgomp; \
52124 $(SHELL) $$s/$$module_srcdir/configure \
52125 --srcdir=$${topdir}/$$module_srcdir \
52126 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52127 --target=${target_alias} \
52128 --with-build-libsubdir=$(HOST_SUBDIR) \
52129 $(STAGE4_CONFIGURE_FLAGS)
52130 @endif target-libgomp-bootstrap
52131
52132 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
52133 maybe-configure-stageprofile-target-libgomp:
52134 @if target-libgomp-bootstrap
52135 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52136 configure-stageprofile-target-libgomp:
52137 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52138 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52139 @r=`${PWD_COMMAND}`; export r; \
52140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52141 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52142 echo "Checking multilib configuration for libgomp..."; \
52143 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52144 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52145 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52146 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52147 else \
52148 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52149 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52150 fi; \
52151 else \
52152 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52153 fi; \
52154 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52155 $(NORMAL_TARGET_EXPORTS) \
52156 \
52157 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52158 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52159 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52160 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
52161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52162 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52163 case $(srcdir) in \
52164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52165 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52167 esac; \
52168 module_srcdir=libgomp; \
52169 $(SHELL) $$s/$$module_srcdir/configure \
52170 --srcdir=$${topdir}/$$module_srcdir \
52171 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52172 --target=${target_alias} \
52173 --with-build-libsubdir=$(HOST_SUBDIR) \
52174 $(STAGEprofile_CONFIGURE_FLAGS)
52175 @endif target-libgomp-bootstrap
52176
52177 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
52178 maybe-configure-stagetrain-target-libgomp:
52179 @if target-libgomp-bootstrap
52180 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52181 configure-stagetrain-target-libgomp:
52182 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52183 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52184 @r=`${PWD_COMMAND}`; export r; \
52185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52186 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52187 echo "Checking multilib configuration for libgomp..."; \
52188 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52189 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52190 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52191 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52192 else \
52193 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52194 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52195 fi; \
52196 else \
52197 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52198 fi; \
52199 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52200 $(NORMAL_TARGET_EXPORTS) \
52201 \
52202 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52203 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52204 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52205 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
52206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52207 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52208 case $(srcdir) in \
52209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52210 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52212 esac; \
52213 module_srcdir=libgomp; \
52214 $(SHELL) $$s/$$module_srcdir/configure \
52215 --srcdir=$${topdir}/$$module_srcdir \
52216 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52217 --target=${target_alias} \
52218 --with-build-libsubdir=$(HOST_SUBDIR) \
52219 $(STAGEtrain_CONFIGURE_FLAGS)
52220 @endif target-libgomp-bootstrap
52221
52222 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
52223 maybe-configure-stagefeedback-target-libgomp:
52224 @if target-libgomp-bootstrap
52225 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52226 configure-stagefeedback-target-libgomp:
52227 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52228 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52229 @r=`${PWD_COMMAND}`; export r; \
52230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52231 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52232 echo "Checking multilib configuration for libgomp..."; \
52233 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52234 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52235 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52236 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52237 else \
52238 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52239 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52240 fi; \
52241 else \
52242 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52243 fi; \
52244 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52245 $(NORMAL_TARGET_EXPORTS) \
52246 \
52247 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52248 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52249 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52250 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
52251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52252 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52253 case $(srcdir) in \
52254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52255 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52257 esac; \
52258 module_srcdir=libgomp; \
52259 $(SHELL) $$s/$$module_srcdir/configure \
52260 --srcdir=$${topdir}/$$module_srcdir \
52261 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52262 --target=${target_alias} \
52263 --with-build-libsubdir=$(HOST_SUBDIR) \
52264 $(STAGEfeedback_CONFIGURE_FLAGS)
52265 @endif target-libgomp-bootstrap
52266
52267 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
52268 maybe-configure-stageautoprofile-target-libgomp:
52269 @if target-libgomp-bootstrap
52270 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52271 configure-stageautoprofile-target-libgomp:
52272 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52273 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52274 @r=`${PWD_COMMAND}`; export r; \
52275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52276 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52277 echo "Checking multilib configuration for libgomp..."; \
52278 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52279 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52280 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52281 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52282 else \
52283 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52284 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52285 fi; \
52286 else \
52287 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52288 fi; \
52289 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52290 $(NORMAL_TARGET_EXPORTS) \
52291 \
52292 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52293 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52294 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52295 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
52296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52297 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52298 case $(srcdir) in \
52299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52300 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52302 esac; \
52303 module_srcdir=libgomp; \
52304 $(SHELL) $$s/$$module_srcdir/configure \
52305 --srcdir=$${topdir}/$$module_srcdir \
52306 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52307 --target=${target_alias} \
52308 --with-build-libsubdir=$(HOST_SUBDIR) \
52309 $(STAGEautoprofile_CONFIGURE_FLAGS)
52310 @endif target-libgomp-bootstrap
52311
52312 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
52313 maybe-configure-stageautofeedback-target-libgomp:
52314 @if target-libgomp-bootstrap
52315 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52316 configure-stageautofeedback-target-libgomp:
52317 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52318 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52319 @r=`${PWD_COMMAND}`; export r; \
52320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52321 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52322 echo "Checking multilib configuration for libgomp..."; \
52323 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52324 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52325 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52326 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52327 else \
52328 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52329 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52330 fi; \
52331 else \
52332 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52333 fi; \
52334 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52335 $(NORMAL_TARGET_EXPORTS) \
52336 \
52337 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52338 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52339 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52340 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
52341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52342 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52343 case $(srcdir) in \
52344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52345 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52347 esac; \
52348 module_srcdir=libgomp; \
52349 $(SHELL) $$s/$$module_srcdir/configure \
52350 --srcdir=$${topdir}/$$module_srcdir \
52351 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52352 --target=${target_alias} \
52353 --with-build-libsubdir=$(HOST_SUBDIR) \
52354 $(STAGEautofeedback_CONFIGURE_FLAGS)
52355 @endif target-libgomp-bootstrap
52356
52357
52358
52359
52360
52361 .PHONY: all-target-libgomp maybe-all-target-libgomp
52362 maybe-all-target-libgomp:
52363 @if gcc-bootstrap
52364 all-target-libgomp: stage_current
52365 @endif gcc-bootstrap
52366 @if target-libgomp
52367 TARGET-target-libgomp=all
52368 maybe-all-target-libgomp: all-target-libgomp
52369 all-target-libgomp: configure-target-libgomp
52370 @r=`${PWD_COMMAND}`; export r; \
52371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52372 $(NORMAL_TARGET_EXPORTS) \
52373 (cd $(TARGET_SUBDIR)/libgomp && \
52374 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52375 $(TARGET-target-libgomp))
52376 @endif target-libgomp
52377
52378
52379
52380 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
52381 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
52382 maybe-all-stage1-target-libgomp:
52383 maybe-clean-stage1-target-libgomp:
52384 @if target-libgomp-bootstrap
52385 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
52386 all-stage1: all-stage1-target-libgomp
52387 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
52388 all-stage1-target-libgomp: configure-stage1-target-libgomp
52389 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52390 @r=`${PWD_COMMAND}`; export r; \
52391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52392 TFLAGS="$(STAGE1_TFLAGS)"; \
52393 $(NORMAL_TARGET_EXPORTS) \
52394 cd $(TARGET_SUBDIR)/libgomp && \
52395 \
52396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52397 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52398 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52399 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52403 $(EXTRA_TARGET_FLAGS) \
52404 \
52405 TFLAGS="$(STAGE1_TFLAGS)" \
52406 $(TARGET-stage1-target-libgomp)
52407
52408 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
52409 clean-stage1: clean-stage1-target-libgomp
52410 clean-stage1-target-libgomp:
52411 @if [ $(current_stage) = stage1 ]; then \
52412 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52413 else \
52414 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
52415 $(MAKE) stage1-start; \
52416 fi; \
52417 cd $(TARGET_SUBDIR)/libgomp && \
52418 $(MAKE) $(EXTRA_TARGET_FLAGS) \
52419 clean
52420 @endif target-libgomp-bootstrap
52421
52422
52423 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
52424 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
52425 maybe-all-stage2-target-libgomp:
52426 maybe-clean-stage2-target-libgomp:
52427 @if target-libgomp-bootstrap
52428 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
52429 all-stage2: all-stage2-target-libgomp
52430 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
52431 all-stage2-target-libgomp: configure-stage2-target-libgomp
52432 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52433 @r=`${PWD_COMMAND}`; export r; \
52434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52435 TFLAGS="$(STAGE2_TFLAGS)"; \
52436 $(NORMAL_TARGET_EXPORTS) \
52437 \
52438 cd $(TARGET_SUBDIR)/libgomp && \
52439 \
52440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52441 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52442 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52443 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52447 $(EXTRA_TARGET_FLAGS) \
52448 TFLAGS="$(STAGE2_TFLAGS)" \
52449 $(TARGET-stage2-target-libgomp)
52450
52451 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
52452 clean-stage2: clean-stage2-target-libgomp
52453 clean-stage2-target-libgomp:
52454 @if [ $(current_stage) = stage2 ]; then \
52455 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52456 else \
52457 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
52458 $(MAKE) stage2-start; \
52459 fi; \
52460 cd $(TARGET_SUBDIR)/libgomp && \
52461 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52462 @endif target-libgomp-bootstrap
52463
52464
52465 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
52466 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
52467 maybe-all-stage3-target-libgomp:
52468 maybe-clean-stage3-target-libgomp:
52469 @if target-libgomp-bootstrap
52470 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
52471 all-stage3: all-stage3-target-libgomp
52472 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
52473 all-stage3-target-libgomp: configure-stage3-target-libgomp
52474 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52475 @r=`${PWD_COMMAND}`; export r; \
52476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52477 TFLAGS="$(STAGE3_TFLAGS)"; \
52478 $(NORMAL_TARGET_EXPORTS) \
52479 \
52480 cd $(TARGET_SUBDIR)/libgomp && \
52481 \
52482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52483 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52489 $(EXTRA_TARGET_FLAGS) \
52490 TFLAGS="$(STAGE3_TFLAGS)" \
52491 $(TARGET-stage3-target-libgomp)
52492
52493 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
52494 clean-stage3: clean-stage3-target-libgomp
52495 clean-stage3-target-libgomp:
52496 @if [ $(current_stage) = stage3 ]; then \
52497 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52498 else \
52499 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
52500 $(MAKE) stage3-start; \
52501 fi; \
52502 cd $(TARGET_SUBDIR)/libgomp && \
52503 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52504 @endif target-libgomp-bootstrap
52505
52506
52507 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
52508 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
52509 maybe-all-stage4-target-libgomp:
52510 maybe-clean-stage4-target-libgomp:
52511 @if target-libgomp-bootstrap
52512 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
52513 all-stage4: all-stage4-target-libgomp
52514 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
52515 all-stage4-target-libgomp: configure-stage4-target-libgomp
52516 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52517 @r=`${PWD_COMMAND}`; export r; \
52518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52519 TFLAGS="$(STAGE4_TFLAGS)"; \
52520 $(NORMAL_TARGET_EXPORTS) \
52521 \
52522 cd $(TARGET_SUBDIR)/libgomp && \
52523 \
52524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52525 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52526 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52527 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52531 $(EXTRA_TARGET_FLAGS) \
52532 TFLAGS="$(STAGE4_TFLAGS)" \
52533 $(TARGET-stage4-target-libgomp)
52534
52535 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
52536 clean-stage4: clean-stage4-target-libgomp
52537 clean-stage4-target-libgomp:
52538 @if [ $(current_stage) = stage4 ]; then \
52539 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52540 else \
52541 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
52542 $(MAKE) stage4-start; \
52543 fi; \
52544 cd $(TARGET_SUBDIR)/libgomp && \
52545 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52546 @endif target-libgomp-bootstrap
52547
52548
52549 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
52550 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
52551 maybe-all-stageprofile-target-libgomp:
52552 maybe-clean-stageprofile-target-libgomp:
52553 @if target-libgomp-bootstrap
52554 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
52555 all-stageprofile: all-stageprofile-target-libgomp
52556 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
52557 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52558 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52559 @r=`${PWD_COMMAND}`; export r; \
52560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52561 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52562 $(NORMAL_TARGET_EXPORTS) \
52563 \
52564 cd $(TARGET_SUBDIR)/libgomp && \
52565 \
52566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52567 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52569 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52573 $(EXTRA_TARGET_FLAGS) \
52574 TFLAGS="$(STAGEprofile_TFLAGS)" \
52575 $(TARGET-stageprofile-target-libgomp)
52576
52577 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
52578 clean-stageprofile: clean-stageprofile-target-libgomp
52579 clean-stageprofile-target-libgomp:
52580 @if [ $(current_stage) = stageprofile ]; then \
52581 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52582 else \
52583 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
52584 $(MAKE) stageprofile-start; \
52585 fi; \
52586 cd $(TARGET_SUBDIR)/libgomp && \
52587 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52588 @endif target-libgomp-bootstrap
52589
52590
52591 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
52592 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
52593 maybe-all-stagetrain-target-libgomp:
52594 maybe-clean-stagetrain-target-libgomp:
52595 @if target-libgomp-bootstrap
52596 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
52597 all-stagetrain: all-stagetrain-target-libgomp
52598 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
52599 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52600 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52601 @r=`${PWD_COMMAND}`; export r; \
52602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52603 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52604 $(NORMAL_TARGET_EXPORTS) \
52605 \
52606 cd $(TARGET_SUBDIR)/libgomp && \
52607 \
52608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52609 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52610 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52611 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52612 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52613 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52614 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52615 $(EXTRA_TARGET_FLAGS) \
52616 TFLAGS="$(STAGEtrain_TFLAGS)" \
52617 $(TARGET-stagetrain-target-libgomp)
52618
52619 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
52620 clean-stagetrain: clean-stagetrain-target-libgomp
52621 clean-stagetrain-target-libgomp:
52622 @if [ $(current_stage) = stagetrain ]; then \
52623 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52624 else \
52625 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
52626 $(MAKE) stagetrain-start; \
52627 fi; \
52628 cd $(TARGET_SUBDIR)/libgomp && \
52629 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52630 @endif target-libgomp-bootstrap
52631
52632
52633 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
52634 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
52635 maybe-all-stagefeedback-target-libgomp:
52636 maybe-clean-stagefeedback-target-libgomp:
52637 @if target-libgomp-bootstrap
52638 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
52639 all-stagefeedback: all-stagefeedback-target-libgomp
52640 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
52641 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52642 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52643 @r=`${PWD_COMMAND}`; export r; \
52644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52645 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52646 $(NORMAL_TARGET_EXPORTS) \
52647 \
52648 cd $(TARGET_SUBDIR)/libgomp && \
52649 \
52650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52651 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52652 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52653 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52657 $(EXTRA_TARGET_FLAGS) \
52658 TFLAGS="$(STAGEfeedback_TFLAGS)" \
52659 $(TARGET-stagefeedback-target-libgomp)
52660
52661 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
52662 clean-stagefeedback: clean-stagefeedback-target-libgomp
52663 clean-stagefeedback-target-libgomp:
52664 @if [ $(current_stage) = stagefeedback ]; then \
52665 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52666 else \
52667 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
52668 $(MAKE) stagefeedback-start; \
52669 fi; \
52670 cd $(TARGET_SUBDIR)/libgomp && \
52671 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52672 @endif target-libgomp-bootstrap
52673
52674
52675 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
52676 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
52677 maybe-all-stageautoprofile-target-libgomp:
52678 maybe-clean-stageautoprofile-target-libgomp:
52679 @if target-libgomp-bootstrap
52680 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
52681 all-stageautoprofile: all-stageautoprofile-target-libgomp
52682 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
52683 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52684 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52685 @r=`${PWD_COMMAND}`; export r; \
52686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52687 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52688 $(NORMAL_TARGET_EXPORTS) \
52689 \
52690 cd $(TARGET_SUBDIR)/libgomp && \
52691 $$s/gcc/config/i386/$(AUTO_PROFILE) \
52692 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52693 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52694 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52695 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52696 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52697 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52698 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52699 $(EXTRA_TARGET_FLAGS) \
52700 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
52701 $(TARGET-stageautoprofile-target-libgomp)
52702
52703 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
52704 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
52705 clean-stageautoprofile-target-libgomp:
52706 @if [ $(current_stage) = stageautoprofile ]; then \
52707 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52708 else \
52709 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
52710 $(MAKE) stageautoprofile-start; \
52711 fi; \
52712 cd $(TARGET_SUBDIR)/libgomp && \
52713 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52714 @endif target-libgomp-bootstrap
52715
52716
52717 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
52718 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
52719 maybe-all-stageautofeedback-target-libgomp:
52720 maybe-clean-stageautofeedback-target-libgomp:
52721 @if target-libgomp-bootstrap
52722 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
52723 all-stageautofeedback: all-stageautofeedback-target-libgomp
52724 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
52725 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52726 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52727 @r=`${PWD_COMMAND}`; export r; \
52728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52729 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52730 $(NORMAL_TARGET_EXPORTS) \
52731 \
52732 cd $(TARGET_SUBDIR)/libgomp && \
52733 \
52734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52735 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52736 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52737 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52741 $(EXTRA_TARGET_FLAGS) \
52742 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
52743 $(TARGET-stageautofeedback-target-libgomp)
52744
52745 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
52746 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
52747 clean-stageautofeedback-target-libgomp:
52748 @if [ $(current_stage) = stageautofeedback ]; then \
52749 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52750 else \
52751 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
52752 $(MAKE) stageautofeedback-start; \
52753 fi; \
52754 cd $(TARGET_SUBDIR)/libgomp && \
52755 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52756 @endif target-libgomp-bootstrap
52757
52758
52759
52760
52761
52762
52763 .PHONY: check-target-libgomp maybe-check-target-libgomp
52764 maybe-check-target-libgomp:
52765 @if target-libgomp
52766 maybe-check-target-libgomp: check-target-libgomp
52767
52768 check-target-libgomp:
52769 @: $(MAKE); $(unstage)
52770 @r=`${PWD_COMMAND}`; export r; \
52771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52772 $(NORMAL_TARGET_EXPORTS) \
52773 (cd $(TARGET_SUBDIR)/libgomp && \
52774 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52775
52776 @endif target-libgomp
52777
52778 .PHONY: install-target-libgomp maybe-install-target-libgomp
52779 maybe-install-target-libgomp:
52780 @if target-libgomp
52781 maybe-install-target-libgomp: install-target-libgomp
52782
52783 install-target-libgomp: installdirs
52784 @: $(MAKE); $(unstage)
52785 @r=`${PWD_COMMAND}`; export r; \
52786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52787 $(NORMAL_TARGET_EXPORTS) \
52788 (cd $(TARGET_SUBDIR)/libgomp && \
52789 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52790
52791 @endif target-libgomp
52792
52793 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
52794 maybe-install-strip-target-libgomp:
52795 @if target-libgomp
52796 maybe-install-strip-target-libgomp: install-strip-target-libgomp
52797
52798 install-strip-target-libgomp: installdirs
52799 @: $(MAKE); $(unstage)
52800 @r=`${PWD_COMMAND}`; export r; \
52801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52802 $(NORMAL_TARGET_EXPORTS) \
52803 (cd $(TARGET_SUBDIR)/libgomp && \
52804 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52805
52806 @endif target-libgomp
52807
52808 # Other targets (info, dvi, pdf, etc.)
52809
52810 .PHONY: maybe-info-target-libgomp info-target-libgomp
52811 maybe-info-target-libgomp:
52812 @if target-libgomp
52813 maybe-info-target-libgomp: info-target-libgomp
52814
52815 info-target-libgomp: \
52816 configure-target-libgomp
52817 @: $(MAKE); $(unstage)
52818 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52819 r=`${PWD_COMMAND}`; export r; \
52820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52821 $(NORMAL_TARGET_EXPORTS) \
52822 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
52823 for flag in $(EXTRA_TARGET_FLAGS); do \
52824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52825 done; \
52826 (cd $(TARGET_SUBDIR)/libgomp && \
52827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52829 "RANLIB=$${RANLIB}" \
52830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52831 info) \
52832 || exit 1
52833
52834 @endif target-libgomp
52835
52836 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
52837 maybe-dvi-target-libgomp:
52838 @if target-libgomp
52839 maybe-dvi-target-libgomp: dvi-target-libgomp
52840
52841 dvi-target-libgomp: \
52842 configure-target-libgomp
52843 @: $(MAKE); $(unstage)
52844 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52845 r=`${PWD_COMMAND}`; export r; \
52846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52847 $(NORMAL_TARGET_EXPORTS) \
52848 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
52849 for flag in $(EXTRA_TARGET_FLAGS); do \
52850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52851 done; \
52852 (cd $(TARGET_SUBDIR)/libgomp && \
52853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52855 "RANLIB=$${RANLIB}" \
52856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52857 dvi) \
52858 || exit 1
52859
52860 @endif target-libgomp
52861
52862 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
52863 maybe-pdf-target-libgomp:
52864 @if target-libgomp
52865 maybe-pdf-target-libgomp: pdf-target-libgomp
52866
52867 pdf-target-libgomp: \
52868 configure-target-libgomp
52869 @: $(MAKE); $(unstage)
52870 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52871 r=`${PWD_COMMAND}`; export r; \
52872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52873 $(NORMAL_TARGET_EXPORTS) \
52874 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
52875 for flag in $(EXTRA_TARGET_FLAGS); do \
52876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52877 done; \
52878 (cd $(TARGET_SUBDIR)/libgomp && \
52879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52881 "RANLIB=$${RANLIB}" \
52882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52883 pdf) \
52884 || exit 1
52885
52886 @endif target-libgomp
52887
52888 .PHONY: maybe-html-target-libgomp html-target-libgomp
52889 maybe-html-target-libgomp:
52890 @if target-libgomp
52891 maybe-html-target-libgomp: html-target-libgomp
52892
52893 html-target-libgomp: \
52894 configure-target-libgomp
52895 @: $(MAKE); $(unstage)
52896 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52897 r=`${PWD_COMMAND}`; export r; \
52898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52899 $(NORMAL_TARGET_EXPORTS) \
52900 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
52901 for flag in $(EXTRA_TARGET_FLAGS); do \
52902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52903 done; \
52904 (cd $(TARGET_SUBDIR)/libgomp && \
52905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52907 "RANLIB=$${RANLIB}" \
52908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52909 html) \
52910 || exit 1
52911
52912 @endif target-libgomp
52913
52914 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
52915 maybe-TAGS-target-libgomp:
52916 @if target-libgomp
52917 maybe-TAGS-target-libgomp: TAGS-target-libgomp
52918
52919 TAGS-target-libgomp: \
52920 configure-target-libgomp
52921 @: $(MAKE); $(unstage)
52922 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52923 r=`${PWD_COMMAND}`; export r; \
52924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52925 $(NORMAL_TARGET_EXPORTS) \
52926 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
52927 for flag in $(EXTRA_TARGET_FLAGS); do \
52928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52929 done; \
52930 (cd $(TARGET_SUBDIR)/libgomp && \
52931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52933 "RANLIB=$${RANLIB}" \
52934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52935 TAGS) \
52936 || exit 1
52937
52938 @endif target-libgomp
52939
52940 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
52941 maybe-install-info-target-libgomp:
52942 @if target-libgomp
52943 maybe-install-info-target-libgomp: install-info-target-libgomp
52944
52945 install-info-target-libgomp: \
52946 configure-target-libgomp \
52947 info-target-libgomp
52948 @: $(MAKE); $(unstage)
52949 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52950 r=`${PWD_COMMAND}`; export r; \
52951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52952 $(NORMAL_TARGET_EXPORTS) \
52953 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
52954 for flag in $(EXTRA_TARGET_FLAGS); do \
52955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52956 done; \
52957 (cd $(TARGET_SUBDIR)/libgomp && \
52958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52960 "RANLIB=$${RANLIB}" \
52961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52962 install-info) \
52963 || exit 1
52964
52965 @endif target-libgomp
52966
52967 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
52968 maybe-install-pdf-target-libgomp:
52969 @if target-libgomp
52970 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
52971
52972 install-pdf-target-libgomp: \
52973 configure-target-libgomp \
52974 pdf-target-libgomp
52975 @: $(MAKE); $(unstage)
52976 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52977 r=`${PWD_COMMAND}`; export r; \
52978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52979 $(NORMAL_TARGET_EXPORTS) \
52980 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
52981 for flag in $(EXTRA_TARGET_FLAGS); do \
52982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52983 done; \
52984 (cd $(TARGET_SUBDIR)/libgomp && \
52985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52987 "RANLIB=$${RANLIB}" \
52988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52989 install-pdf) \
52990 || exit 1
52991
52992 @endif target-libgomp
52993
52994 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
52995 maybe-install-html-target-libgomp:
52996 @if target-libgomp
52997 maybe-install-html-target-libgomp: install-html-target-libgomp
52998
52999 install-html-target-libgomp: \
53000 configure-target-libgomp \
53001 html-target-libgomp
53002 @: $(MAKE); $(unstage)
53003 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53004 r=`${PWD_COMMAND}`; export r; \
53005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53006 $(NORMAL_TARGET_EXPORTS) \
53007 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
53008 for flag in $(EXTRA_TARGET_FLAGS); do \
53009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53010 done; \
53011 (cd $(TARGET_SUBDIR)/libgomp && \
53012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53014 "RANLIB=$${RANLIB}" \
53015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53016 install-html) \
53017 || exit 1
53018
53019 @endif target-libgomp
53020
53021 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
53022 maybe-installcheck-target-libgomp:
53023 @if target-libgomp
53024 maybe-installcheck-target-libgomp: installcheck-target-libgomp
53025
53026 installcheck-target-libgomp: \
53027 configure-target-libgomp
53028 @: $(MAKE); $(unstage)
53029 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53030 r=`${PWD_COMMAND}`; export r; \
53031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53032 $(NORMAL_TARGET_EXPORTS) \
53033 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
53034 for flag in $(EXTRA_TARGET_FLAGS); do \
53035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53036 done; \
53037 (cd $(TARGET_SUBDIR)/libgomp && \
53038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53040 "RANLIB=$${RANLIB}" \
53041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53042 installcheck) \
53043 || exit 1
53044
53045 @endif target-libgomp
53046
53047 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
53048 maybe-mostlyclean-target-libgomp:
53049 @if target-libgomp
53050 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
53051
53052 mostlyclean-target-libgomp:
53053 @: $(MAKE); $(unstage)
53054 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53055 r=`${PWD_COMMAND}`; export r; \
53056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53057 $(NORMAL_TARGET_EXPORTS) \
53058 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
53059 for flag in $(EXTRA_TARGET_FLAGS); do \
53060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53061 done; \
53062 (cd $(TARGET_SUBDIR)/libgomp && \
53063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53065 "RANLIB=$${RANLIB}" \
53066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53067 mostlyclean) \
53068 || exit 1
53069
53070 @endif target-libgomp
53071
53072 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
53073 maybe-clean-target-libgomp:
53074 @if target-libgomp
53075 maybe-clean-target-libgomp: clean-target-libgomp
53076
53077 clean-target-libgomp:
53078 @: $(MAKE); $(unstage)
53079 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53080 r=`${PWD_COMMAND}`; export r; \
53081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53082 $(NORMAL_TARGET_EXPORTS) \
53083 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
53084 for flag in $(EXTRA_TARGET_FLAGS); do \
53085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53086 done; \
53087 (cd $(TARGET_SUBDIR)/libgomp && \
53088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53090 "RANLIB=$${RANLIB}" \
53091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53092 clean) \
53093 || exit 1
53094
53095 @endif target-libgomp
53096
53097 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
53098 maybe-distclean-target-libgomp:
53099 @if target-libgomp
53100 maybe-distclean-target-libgomp: distclean-target-libgomp
53101
53102 distclean-target-libgomp:
53103 @: $(MAKE); $(unstage)
53104 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53105 r=`${PWD_COMMAND}`; export r; \
53106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53107 $(NORMAL_TARGET_EXPORTS) \
53108 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
53109 for flag in $(EXTRA_TARGET_FLAGS); do \
53110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53111 done; \
53112 (cd $(TARGET_SUBDIR)/libgomp && \
53113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53115 "RANLIB=$${RANLIB}" \
53116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53117 distclean) \
53118 || exit 1
53119
53120 @endif target-libgomp
53121
53122 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
53123 maybe-maintainer-clean-target-libgomp:
53124 @if target-libgomp
53125 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
53126
53127 maintainer-clean-target-libgomp:
53128 @: $(MAKE); $(unstage)
53129 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53130 r=`${PWD_COMMAND}`; export r; \
53131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53132 $(NORMAL_TARGET_EXPORTS) \
53133 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
53134 for flag in $(EXTRA_TARGET_FLAGS); do \
53135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53136 done; \
53137 (cd $(TARGET_SUBDIR)/libgomp && \
53138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53140 "RANLIB=$${RANLIB}" \
53141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53142 maintainer-clean) \
53143 || exit 1
53144
53145 @endif target-libgomp
53146
53147
53148
53149
53150
53151 .PHONY: configure-target-libitm maybe-configure-target-libitm
53152 maybe-configure-target-libitm:
53153 @if gcc-bootstrap
53154 configure-target-libitm: stage_current
53155 @endif gcc-bootstrap
53156 @if target-libitm
53157 maybe-configure-target-libitm: configure-target-libitm
53158 configure-target-libitm:
53159 @: $(MAKE); $(unstage)
53160 @r=`${PWD_COMMAND}`; export r; \
53161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53162 echo "Checking multilib configuration for libitm..."; \
53163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53164 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
53165 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
53166 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
53167 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
53168 else \
53169 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
53170 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53171 fi; \
53172 else \
53173 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53174 fi; \
53175 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
53176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53177 $(NORMAL_TARGET_EXPORTS) \
53178 echo Configuring in $(TARGET_SUBDIR)/libitm; \
53179 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
53180 case $(srcdir) in \
53181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53182 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
53183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53184 esac; \
53185 module_srcdir=libitm; \
53186 rm -f no-such-file || : ; \
53187 CONFIG_SITE=no-such-file $(SHELL) \
53188 $$s/$$module_srcdir/configure \
53189 --srcdir=$${topdir}/$$module_srcdir \
53190 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53191 --target=${target_alias} \
53192 || exit 1
53193 @endif target-libitm
53194
53195
53196
53197
53198
53199 .PHONY: all-target-libitm maybe-all-target-libitm
53200 maybe-all-target-libitm:
53201 @if gcc-bootstrap
53202 all-target-libitm: stage_current
53203 @endif gcc-bootstrap
53204 @if target-libitm
53205 TARGET-target-libitm=all
53206 maybe-all-target-libitm: all-target-libitm
53207 all-target-libitm: configure-target-libitm
53208 @: $(MAKE); $(unstage)
53209 @r=`${PWD_COMMAND}`; export r; \
53210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53211 $(NORMAL_TARGET_EXPORTS) \
53212 (cd $(TARGET_SUBDIR)/libitm && \
53213 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53214 $(TARGET-target-libitm))
53215 @endif target-libitm
53216
53217
53218
53219
53220
53221 .PHONY: check-target-libitm maybe-check-target-libitm
53222 maybe-check-target-libitm:
53223 @if target-libitm
53224 maybe-check-target-libitm: check-target-libitm
53225
53226 check-target-libitm:
53227 @: $(MAKE); $(unstage)
53228 @r=`${PWD_COMMAND}`; export r; \
53229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53230 $(NORMAL_TARGET_EXPORTS) \
53231 (cd $(TARGET_SUBDIR)/libitm && \
53232 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53233
53234 @endif target-libitm
53235
53236 .PHONY: install-target-libitm maybe-install-target-libitm
53237 maybe-install-target-libitm:
53238 @if target-libitm
53239 maybe-install-target-libitm: install-target-libitm
53240
53241 install-target-libitm: installdirs
53242 @: $(MAKE); $(unstage)
53243 @r=`${PWD_COMMAND}`; export r; \
53244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53245 $(NORMAL_TARGET_EXPORTS) \
53246 (cd $(TARGET_SUBDIR)/libitm && \
53247 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53248
53249 @endif target-libitm
53250
53251 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
53252 maybe-install-strip-target-libitm:
53253 @if target-libitm
53254 maybe-install-strip-target-libitm: install-strip-target-libitm
53255
53256 install-strip-target-libitm: installdirs
53257 @: $(MAKE); $(unstage)
53258 @r=`${PWD_COMMAND}`; export r; \
53259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53260 $(NORMAL_TARGET_EXPORTS) \
53261 (cd $(TARGET_SUBDIR)/libitm && \
53262 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53263
53264 @endif target-libitm
53265
53266 # Other targets (info, dvi, pdf, etc.)
53267
53268 .PHONY: maybe-info-target-libitm info-target-libitm
53269 maybe-info-target-libitm:
53270 @if target-libitm
53271 maybe-info-target-libitm: info-target-libitm
53272
53273 info-target-libitm: \
53274 configure-target-libitm
53275 @: $(MAKE); $(unstage)
53276 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53277 r=`${PWD_COMMAND}`; export r; \
53278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53279 $(NORMAL_TARGET_EXPORTS) \
53280 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
53281 for flag in $(EXTRA_TARGET_FLAGS); do \
53282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53283 done; \
53284 (cd $(TARGET_SUBDIR)/libitm && \
53285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53287 "RANLIB=$${RANLIB}" \
53288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53289 info) \
53290 || exit 1
53291
53292 @endif target-libitm
53293
53294 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
53295 maybe-dvi-target-libitm:
53296 @if target-libitm
53297 maybe-dvi-target-libitm: dvi-target-libitm
53298
53299 dvi-target-libitm: \
53300 configure-target-libitm
53301 @: $(MAKE); $(unstage)
53302 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53303 r=`${PWD_COMMAND}`; export r; \
53304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53305 $(NORMAL_TARGET_EXPORTS) \
53306 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
53307 for flag in $(EXTRA_TARGET_FLAGS); do \
53308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53309 done; \
53310 (cd $(TARGET_SUBDIR)/libitm && \
53311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53313 "RANLIB=$${RANLIB}" \
53314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53315 dvi) \
53316 || exit 1
53317
53318 @endif target-libitm
53319
53320 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
53321 maybe-pdf-target-libitm:
53322 @if target-libitm
53323 maybe-pdf-target-libitm: pdf-target-libitm
53324
53325 pdf-target-libitm: \
53326 configure-target-libitm
53327 @: $(MAKE); $(unstage)
53328 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53329 r=`${PWD_COMMAND}`; export r; \
53330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53331 $(NORMAL_TARGET_EXPORTS) \
53332 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
53333 for flag in $(EXTRA_TARGET_FLAGS); do \
53334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53335 done; \
53336 (cd $(TARGET_SUBDIR)/libitm && \
53337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53339 "RANLIB=$${RANLIB}" \
53340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53341 pdf) \
53342 || exit 1
53343
53344 @endif target-libitm
53345
53346 .PHONY: maybe-html-target-libitm html-target-libitm
53347 maybe-html-target-libitm:
53348 @if target-libitm
53349 maybe-html-target-libitm: html-target-libitm
53350
53351 html-target-libitm: \
53352 configure-target-libitm
53353 @: $(MAKE); $(unstage)
53354 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53355 r=`${PWD_COMMAND}`; export r; \
53356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53357 $(NORMAL_TARGET_EXPORTS) \
53358 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
53359 for flag in $(EXTRA_TARGET_FLAGS); do \
53360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53361 done; \
53362 (cd $(TARGET_SUBDIR)/libitm && \
53363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53365 "RANLIB=$${RANLIB}" \
53366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53367 html) \
53368 || exit 1
53369
53370 @endif target-libitm
53371
53372 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
53373 maybe-TAGS-target-libitm:
53374 @if target-libitm
53375 maybe-TAGS-target-libitm: TAGS-target-libitm
53376
53377 TAGS-target-libitm: \
53378 configure-target-libitm
53379 @: $(MAKE); $(unstage)
53380 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53381 r=`${PWD_COMMAND}`; export r; \
53382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53383 $(NORMAL_TARGET_EXPORTS) \
53384 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
53385 for flag in $(EXTRA_TARGET_FLAGS); do \
53386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53387 done; \
53388 (cd $(TARGET_SUBDIR)/libitm && \
53389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53391 "RANLIB=$${RANLIB}" \
53392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53393 TAGS) \
53394 || exit 1
53395
53396 @endif target-libitm
53397
53398 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
53399 maybe-install-info-target-libitm:
53400 @if target-libitm
53401 maybe-install-info-target-libitm: install-info-target-libitm
53402
53403 install-info-target-libitm: \
53404 configure-target-libitm \
53405 info-target-libitm
53406 @: $(MAKE); $(unstage)
53407 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53408 r=`${PWD_COMMAND}`; export r; \
53409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53410 $(NORMAL_TARGET_EXPORTS) \
53411 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
53412 for flag in $(EXTRA_TARGET_FLAGS); do \
53413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53414 done; \
53415 (cd $(TARGET_SUBDIR)/libitm && \
53416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53418 "RANLIB=$${RANLIB}" \
53419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53420 install-info) \
53421 || exit 1
53422
53423 @endif target-libitm
53424
53425 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
53426 maybe-install-pdf-target-libitm:
53427 @if target-libitm
53428 maybe-install-pdf-target-libitm: install-pdf-target-libitm
53429
53430 install-pdf-target-libitm: \
53431 configure-target-libitm \
53432 pdf-target-libitm
53433 @: $(MAKE); $(unstage)
53434 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53435 r=`${PWD_COMMAND}`; export r; \
53436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53437 $(NORMAL_TARGET_EXPORTS) \
53438 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
53439 for flag in $(EXTRA_TARGET_FLAGS); do \
53440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53441 done; \
53442 (cd $(TARGET_SUBDIR)/libitm && \
53443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53445 "RANLIB=$${RANLIB}" \
53446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53447 install-pdf) \
53448 || exit 1
53449
53450 @endif target-libitm
53451
53452 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
53453 maybe-install-html-target-libitm:
53454 @if target-libitm
53455 maybe-install-html-target-libitm: install-html-target-libitm
53456
53457 install-html-target-libitm: \
53458 configure-target-libitm \
53459 html-target-libitm
53460 @: $(MAKE); $(unstage)
53461 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53462 r=`${PWD_COMMAND}`; export r; \
53463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53464 $(NORMAL_TARGET_EXPORTS) \
53465 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
53466 for flag in $(EXTRA_TARGET_FLAGS); do \
53467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53468 done; \
53469 (cd $(TARGET_SUBDIR)/libitm && \
53470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53472 "RANLIB=$${RANLIB}" \
53473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53474 install-html) \
53475 || exit 1
53476
53477 @endif target-libitm
53478
53479 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
53480 maybe-installcheck-target-libitm:
53481 @if target-libitm
53482 maybe-installcheck-target-libitm: installcheck-target-libitm
53483
53484 installcheck-target-libitm: \
53485 configure-target-libitm
53486 @: $(MAKE); $(unstage)
53487 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53488 r=`${PWD_COMMAND}`; export r; \
53489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53490 $(NORMAL_TARGET_EXPORTS) \
53491 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
53492 for flag in $(EXTRA_TARGET_FLAGS); do \
53493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53494 done; \
53495 (cd $(TARGET_SUBDIR)/libitm && \
53496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53498 "RANLIB=$${RANLIB}" \
53499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53500 installcheck) \
53501 || exit 1
53502
53503 @endif target-libitm
53504
53505 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
53506 maybe-mostlyclean-target-libitm:
53507 @if target-libitm
53508 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
53509
53510 mostlyclean-target-libitm:
53511 @: $(MAKE); $(unstage)
53512 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53513 r=`${PWD_COMMAND}`; export r; \
53514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53515 $(NORMAL_TARGET_EXPORTS) \
53516 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
53517 for flag in $(EXTRA_TARGET_FLAGS); do \
53518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53519 done; \
53520 (cd $(TARGET_SUBDIR)/libitm && \
53521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53523 "RANLIB=$${RANLIB}" \
53524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53525 mostlyclean) \
53526 || exit 1
53527
53528 @endif target-libitm
53529
53530 .PHONY: maybe-clean-target-libitm clean-target-libitm
53531 maybe-clean-target-libitm:
53532 @if target-libitm
53533 maybe-clean-target-libitm: clean-target-libitm
53534
53535 clean-target-libitm:
53536 @: $(MAKE); $(unstage)
53537 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53538 r=`${PWD_COMMAND}`; export r; \
53539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53540 $(NORMAL_TARGET_EXPORTS) \
53541 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
53542 for flag in $(EXTRA_TARGET_FLAGS); do \
53543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53544 done; \
53545 (cd $(TARGET_SUBDIR)/libitm && \
53546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53548 "RANLIB=$${RANLIB}" \
53549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53550 clean) \
53551 || exit 1
53552
53553 @endif target-libitm
53554
53555 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
53556 maybe-distclean-target-libitm:
53557 @if target-libitm
53558 maybe-distclean-target-libitm: distclean-target-libitm
53559
53560 distclean-target-libitm:
53561 @: $(MAKE); $(unstage)
53562 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53563 r=`${PWD_COMMAND}`; export r; \
53564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53565 $(NORMAL_TARGET_EXPORTS) \
53566 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
53567 for flag in $(EXTRA_TARGET_FLAGS); do \
53568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53569 done; \
53570 (cd $(TARGET_SUBDIR)/libitm && \
53571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53573 "RANLIB=$${RANLIB}" \
53574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53575 distclean) \
53576 || exit 1
53577
53578 @endif target-libitm
53579
53580 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
53581 maybe-maintainer-clean-target-libitm:
53582 @if target-libitm
53583 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
53584
53585 maintainer-clean-target-libitm:
53586 @: $(MAKE); $(unstage)
53587 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53588 r=`${PWD_COMMAND}`; export r; \
53589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53590 $(NORMAL_TARGET_EXPORTS) \
53591 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
53592 for flag in $(EXTRA_TARGET_FLAGS); do \
53593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53594 done; \
53595 (cd $(TARGET_SUBDIR)/libitm && \
53596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53598 "RANLIB=$${RANLIB}" \
53599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53600 maintainer-clean) \
53601 || exit 1
53602
53603 @endif target-libitm
53604
53605
53606
53607
53608
53609 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
53610 maybe-configure-target-libatomic:
53611 @if gcc-bootstrap
53612 configure-target-libatomic: stage_current
53613 @endif gcc-bootstrap
53614 @if target-libatomic
53615 maybe-configure-target-libatomic: configure-target-libatomic
53616 configure-target-libatomic:
53617 @: $(MAKE); $(unstage)
53618 @r=`${PWD_COMMAND}`; export r; \
53619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53620 echo "Checking multilib configuration for libatomic..."; \
53621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53622 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
53623 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53624 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53625 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
53626 else \
53627 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
53628 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53629 fi; \
53630 else \
53631 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53632 fi; \
53633 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
53634 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53635 $(NORMAL_TARGET_EXPORTS) \
53636 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
53637 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
53638 case $(srcdir) in \
53639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53640 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
53641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53642 esac; \
53643 module_srcdir=libatomic; \
53644 rm -f no-such-file || : ; \
53645 CONFIG_SITE=no-such-file $(SHELL) \
53646 $$s/$$module_srcdir/configure \
53647 --srcdir=$${topdir}/$$module_srcdir \
53648 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53649 --target=${target_alias} \
53650 || exit 1
53651 @endif target-libatomic
53652
53653
53654
53655
53656
53657 .PHONY: all-target-libatomic maybe-all-target-libatomic
53658 maybe-all-target-libatomic:
53659 @if gcc-bootstrap
53660 all-target-libatomic: stage_current
53661 @endif gcc-bootstrap
53662 @if target-libatomic
53663 TARGET-target-libatomic=all
53664 maybe-all-target-libatomic: all-target-libatomic
53665 all-target-libatomic: configure-target-libatomic
53666 @: $(MAKE); $(unstage)
53667 @r=`${PWD_COMMAND}`; export r; \
53668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53669 $(NORMAL_TARGET_EXPORTS) \
53670 (cd $(TARGET_SUBDIR)/libatomic && \
53671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53672 $(TARGET-target-libatomic))
53673 @endif target-libatomic
53674
53675
53676
53677
53678
53679 .PHONY: check-target-libatomic maybe-check-target-libatomic
53680 maybe-check-target-libatomic:
53681 @if target-libatomic
53682 maybe-check-target-libatomic: check-target-libatomic
53683
53684 check-target-libatomic:
53685 @: $(MAKE); $(unstage)
53686 @r=`${PWD_COMMAND}`; export r; \
53687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53688 $(NORMAL_TARGET_EXPORTS) \
53689 (cd $(TARGET_SUBDIR)/libatomic && \
53690 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53691
53692 @endif target-libatomic
53693
53694 .PHONY: install-target-libatomic maybe-install-target-libatomic
53695 maybe-install-target-libatomic:
53696 @if target-libatomic
53697 maybe-install-target-libatomic: install-target-libatomic
53698
53699 install-target-libatomic: installdirs
53700 @: $(MAKE); $(unstage)
53701 @r=`${PWD_COMMAND}`; export r; \
53702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53703 $(NORMAL_TARGET_EXPORTS) \
53704 (cd $(TARGET_SUBDIR)/libatomic && \
53705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53706
53707 @endif target-libatomic
53708
53709 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
53710 maybe-install-strip-target-libatomic:
53711 @if target-libatomic
53712 maybe-install-strip-target-libatomic: install-strip-target-libatomic
53713
53714 install-strip-target-libatomic: installdirs
53715 @: $(MAKE); $(unstage)
53716 @r=`${PWD_COMMAND}`; export r; \
53717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53718 $(NORMAL_TARGET_EXPORTS) \
53719 (cd $(TARGET_SUBDIR)/libatomic && \
53720 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53721
53722 @endif target-libatomic
53723
53724 # Other targets (info, dvi, pdf, etc.)
53725
53726 .PHONY: maybe-info-target-libatomic info-target-libatomic
53727 maybe-info-target-libatomic:
53728 @if target-libatomic
53729 maybe-info-target-libatomic: info-target-libatomic
53730
53731 info-target-libatomic: \
53732 configure-target-libatomic
53733 @: $(MAKE); $(unstage)
53734 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53735 r=`${PWD_COMMAND}`; export r; \
53736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53737 $(NORMAL_TARGET_EXPORTS) \
53738 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
53739 for flag in $(EXTRA_TARGET_FLAGS); do \
53740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53741 done; \
53742 (cd $(TARGET_SUBDIR)/libatomic && \
53743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53745 "RANLIB=$${RANLIB}" \
53746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53747 info) \
53748 || exit 1
53749
53750 @endif target-libatomic
53751
53752 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
53753 maybe-dvi-target-libatomic:
53754 @if target-libatomic
53755 maybe-dvi-target-libatomic: dvi-target-libatomic
53756
53757 dvi-target-libatomic: \
53758 configure-target-libatomic
53759 @: $(MAKE); $(unstage)
53760 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53761 r=`${PWD_COMMAND}`; export r; \
53762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53763 $(NORMAL_TARGET_EXPORTS) \
53764 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
53765 for flag in $(EXTRA_TARGET_FLAGS); do \
53766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53767 done; \
53768 (cd $(TARGET_SUBDIR)/libatomic && \
53769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53771 "RANLIB=$${RANLIB}" \
53772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53773 dvi) \
53774 || exit 1
53775
53776 @endif target-libatomic
53777
53778 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
53779 maybe-pdf-target-libatomic:
53780 @if target-libatomic
53781 maybe-pdf-target-libatomic: pdf-target-libatomic
53782
53783 pdf-target-libatomic: \
53784 configure-target-libatomic
53785 @: $(MAKE); $(unstage)
53786 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53787 r=`${PWD_COMMAND}`; export r; \
53788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53789 $(NORMAL_TARGET_EXPORTS) \
53790 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
53791 for flag in $(EXTRA_TARGET_FLAGS); do \
53792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53793 done; \
53794 (cd $(TARGET_SUBDIR)/libatomic && \
53795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53797 "RANLIB=$${RANLIB}" \
53798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53799 pdf) \
53800 || exit 1
53801
53802 @endif target-libatomic
53803
53804 .PHONY: maybe-html-target-libatomic html-target-libatomic
53805 maybe-html-target-libatomic:
53806 @if target-libatomic
53807 maybe-html-target-libatomic: html-target-libatomic
53808
53809 html-target-libatomic: \
53810 configure-target-libatomic
53811 @: $(MAKE); $(unstage)
53812 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53813 r=`${PWD_COMMAND}`; export r; \
53814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53815 $(NORMAL_TARGET_EXPORTS) \
53816 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
53817 for flag in $(EXTRA_TARGET_FLAGS); do \
53818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53819 done; \
53820 (cd $(TARGET_SUBDIR)/libatomic && \
53821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53823 "RANLIB=$${RANLIB}" \
53824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53825 html) \
53826 || exit 1
53827
53828 @endif target-libatomic
53829
53830 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
53831 maybe-TAGS-target-libatomic:
53832 @if target-libatomic
53833 maybe-TAGS-target-libatomic: TAGS-target-libatomic
53834
53835 TAGS-target-libatomic: \
53836 configure-target-libatomic
53837 @: $(MAKE); $(unstage)
53838 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53839 r=`${PWD_COMMAND}`; export r; \
53840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53841 $(NORMAL_TARGET_EXPORTS) \
53842 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
53843 for flag in $(EXTRA_TARGET_FLAGS); do \
53844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53845 done; \
53846 (cd $(TARGET_SUBDIR)/libatomic && \
53847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53849 "RANLIB=$${RANLIB}" \
53850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53851 TAGS) \
53852 || exit 1
53853
53854 @endif target-libatomic
53855
53856 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
53857 maybe-install-info-target-libatomic:
53858 @if target-libatomic
53859 maybe-install-info-target-libatomic: install-info-target-libatomic
53860
53861 install-info-target-libatomic: \
53862 configure-target-libatomic \
53863 info-target-libatomic
53864 @: $(MAKE); $(unstage)
53865 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53866 r=`${PWD_COMMAND}`; export r; \
53867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53868 $(NORMAL_TARGET_EXPORTS) \
53869 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
53870 for flag in $(EXTRA_TARGET_FLAGS); do \
53871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53872 done; \
53873 (cd $(TARGET_SUBDIR)/libatomic && \
53874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53876 "RANLIB=$${RANLIB}" \
53877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53878 install-info) \
53879 || exit 1
53880
53881 @endif target-libatomic
53882
53883 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
53884 maybe-install-pdf-target-libatomic:
53885 @if target-libatomic
53886 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
53887
53888 install-pdf-target-libatomic: \
53889 configure-target-libatomic \
53890 pdf-target-libatomic
53891 @: $(MAKE); $(unstage)
53892 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53893 r=`${PWD_COMMAND}`; export r; \
53894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53895 $(NORMAL_TARGET_EXPORTS) \
53896 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
53897 for flag in $(EXTRA_TARGET_FLAGS); do \
53898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53899 done; \
53900 (cd $(TARGET_SUBDIR)/libatomic && \
53901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53903 "RANLIB=$${RANLIB}" \
53904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53905 install-pdf) \
53906 || exit 1
53907
53908 @endif target-libatomic
53909
53910 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
53911 maybe-install-html-target-libatomic:
53912 @if target-libatomic
53913 maybe-install-html-target-libatomic: install-html-target-libatomic
53914
53915 install-html-target-libatomic: \
53916 configure-target-libatomic \
53917 html-target-libatomic
53918 @: $(MAKE); $(unstage)
53919 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53920 r=`${PWD_COMMAND}`; export r; \
53921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53922 $(NORMAL_TARGET_EXPORTS) \
53923 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
53924 for flag in $(EXTRA_TARGET_FLAGS); do \
53925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53926 done; \
53927 (cd $(TARGET_SUBDIR)/libatomic && \
53928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53930 "RANLIB=$${RANLIB}" \
53931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53932 install-html) \
53933 || exit 1
53934
53935 @endif target-libatomic
53936
53937 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
53938 maybe-installcheck-target-libatomic:
53939 @if target-libatomic
53940 maybe-installcheck-target-libatomic: installcheck-target-libatomic
53941
53942 installcheck-target-libatomic: \
53943 configure-target-libatomic
53944 @: $(MAKE); $(unstage)
53945 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53946 r=`${PWD_COMMAND}`; export r; \
53947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53948 $(NORMAL_TARGET_EXPORTS) \
53949 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
53950 for flag in $(EXTRA_TARGET_FLAGS); do \
53951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53952 done; \
53953 (cd $(TARGET_SUBDIR)/libatomic && \
53954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53956 "RANLIB=$${RANLIB}" \
53957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53958 installcheck) \
53959 || exit 1
53960
53961 @endif target-libatomic
53962
53963 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
53964 maybe-mostlyclean-target-libatomic:
53965 @if target-libatomic
53966 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
53967
53968 mostlyclean-target-libatomic:
53969 @: $(MAKE); $(unstage)
53970 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53971 r=`${PWD_COMMAND}`; export r; \
53972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53973 $(NORMAL_TARGET_EXPORTS) \
53974 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
53975 for flag in $(EXTRA_TARGET_FLAGS); do \
53976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53977 done; \
53978 (cd $(TARGET_SUBDIR)/libatomic && \
53979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53981 "RANLIB=$${RANLIB}" \
53982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53983 mostlyclean) \
53984 || exit 1
53985
53986 @endif target-libatomic
53987
53988 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
53989 maybe-clean-target-libatomic:
53990 @if target-libatomic
53991 maybe-clean-target-libatomic: clean-target-libatomic
53992
53993 clean-target-libatomic:
53994 @: $(MAKE); $(unstage)
53995 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53996 r=`${PWD_COMMAND}`; export r; \
53997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53998 $(NORMAL_TARGET_EXPORTS) \
53999 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
54000 for flag in $(EXTRA_TARGET_FLAGS); do \
54001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54002 done; \
54003 (cd $(TARGET_SUBDIR)/libatomic && \
54004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54006 "RANLIB=$${RANLIB}" \
54007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54008 clean) \
54009 || exit 1
54010
54011 @endif target-libatomic
54012
54013 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
54014 maybe-distclean-target-libatomic:
54015 @if target-libatomic
54016 maybe-distclean-target-libatomic: distclean-target-libatomic
54017
54018 distclean-target-libatomic:
54019 @: $(MAKE); $(unstage)
54020 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54021 r=`${PWD_COMMAND}`; export r; \
54022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54023 $(NORMAL_TARGET_EXPORTS) \
54024 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
54025 for flag in $(EXTRA_TARGET_FLAGS); do \
54026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54027 done; \
54028 (cd $(TARGET_SUBDIR)/libatomic && \
54029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54031 "RANLIB=$${RANLIB}" \
54032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54033 distclean) \
54034 || exit 1
54035
54036 @endif target-libatomic
54037
54038 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
54039 maybe-maintainer-clean-target-libatomic:
54040 @if target-libatomic
54041 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
54042
54043 maintainer-clean-target-libatomic:
54044 @: $(MAKE); $(unstage)
54045 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54046 r=`${PWD_COMMAND}`; export r; \
54047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54048 $(NORMAL_TARGET_EXPORTS) \
54049 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
54050 for flag in $(EXTRA_TARGET_FLAGS); do \
54051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54052 done; \
54053 (cd $(TARGET_SUBDIR)/libatomic && \
54054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54056 "RANLIB=$${RANLIB}" \
54057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54058 maintainer-clean) \
54059 || exit 1
54060
54061 @endif target-libatomic
54062
54063
54064
54065 @if target-libgomp
54066 .PHONY: check-target-libgomp-c++
54067 check-target-libgomp-c++:
54068 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
54069
54070 .PHONY: check-target-libgomp-fortran
54071 check-target-libgomp-fortran:
54072 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
54073
54074 @endif target-libgomp
54075
54076 @if target-libitm
54077 .PHONY: check-target-libitm-c++
54078 check-target-libitm-c++:
54079 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
54080
54081 @endif target-libitm
54082
54083 # ----------
54084 # GCC module
54085 # ----------
54086
54087 @if gcc-no-bootstrap
54088 .PHONY: cross
54089 cross: all-build all-gas all-ld
54090 @r=`${PWD_COMMAND}`; export r; \
54091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54092 $(HOST_EXPORTS) \
54093 echo "Building the C and C++ compiler"; \
54094 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
54095 @r=`${PWD_COMMAND}`; export r; \
54096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54097 echo "Building runtime libraries"; \
54098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
54099 @endif gcc-no-bootstrap
54100
54101 @if gcc
54102
54103 .PHONY: check-gcc-c check-c
54104 check-gcc-c:
54105 r=`${PWD_COMMAND}`; export r; \
54106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54107 $(HOST_EXPORTS) \
54108 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
54109 check-c: check-gcc-c
54110
54111 .PHONY: check-gcc-c++ check-c++
54112 check-gcc-c++:
54113 r=`${PWD_COMMAND}`; export r; \
54114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54115 $(HOST_EXPORTS) \
54116 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
54117 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
54118
54119 .PHONY: check-gcc-fortran check-fortran
54120 check-gcc-fortran:
54121 r=`${PWD_COMMAND}`; export r; \
54122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54123 $(HOST_EXPORTS) \
54124 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
54125 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
54126
54127 .PHONY: check-gcc-ada check-ada
54128 check-gcc-ada:
54129 r=`${PWD_COMMAND}`; export r; \
54130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54131 $(HOST_EXPORTS) \
54132 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
54133 check-ada: check-gcc-ada check-target-libada
54134
54135 .PHONY: check-gcc-objc check-objc
54136 check-gcc-objc:
54137 r=`${PWD_COMMAND}`; export r; \
54138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54139 $(HOST_EXPORTS) \
54140 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
54141 check-objc: check-gcc-objc check-target-libobjc
54142
54143 .PHONY: check-gcc-obj-c++ check-obj-c++
54144 check-gcc-obj-c++:
54145 r=`${PWD_COMMAND}`; export r; \
54146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54147 $(HOST_EXPORTS) \
54148 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
54149 check-obj-c++: check-gcc-obj-c++
54150
54151 .PHONY: check-gcc-go check-go
54152 check-gcc-go:
54153 r=`${PWD_COMMAND}`; export r; \
54154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54155 $(HOST_EXPORTS) \
54156 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
54157 check-go: check-gcc-go check-target-libgo check-gotools
54158
54159 .PHONY: check-gcc-brig check-brig
54160 check-gcc-brig:
54161 r=`${PWD_COMMAND}`; export r; \
54162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54163 $(HOST_EXPORTS) \
54164 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
54165 check-brig: check-gcc-brig check-target-libhsail-rt
54166
54167 .PHONY: check-gcc-d check-d
54168 check-gcc-d:
54169 r=`${PWD_COMMAND}`; export r; \
54170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54171 $(HOST_EXPORTS) \
54172 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
54173 check-d: check-gcc-d check-target-libphobos
54174
54175
54176 # The gcc part of install-no-fixedincludes, which relies on an intimate
54177 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
54178 .PHONY: gcc-install-no-fixedincludes
54179 gcc-install-no-fixedincludes:
54180 @if [ -f ./gcc/Makefile ]; then \
54181 r=`${PWD_COMMAND}`; export r; \
54182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54183 $(HOST_EXPORTS) \
54184 (cd ./gcc \
54185 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
54186 else true; fi
54187 @endif gcc
54188
54189 # ---------------------
54190 # GCC bootstrap support
54191 # ---------------------
54192
54193 # We track the current stage (the one in 'gcc') in the stage_current file.
54194 # stage_last instead tracks the stage that was built last. These targets
54195 # are dummy when toplevel bootstrap is not active.
54196
54197 # While making host and target tools, symlinks to the final stage must be
54198 # there, so $(unstage) should be run at various points. To avoid excessive
54199 # recursive invocations of make, we "inline" them using a variable. These
54200 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
54201 # to avoid warnings from the GNU Make job server.
54202
54203 unstage = :
54204 stage = :
54205 current_stage = ""
54206
54207 @if gcc-bootstrap
54208 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
54209 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
54210 current_stage = "`cat stage_current 2> /dev/null`"
54211 @endif gcc-bootstrap
54212
54213 .PHONY: unstage stage
54214 unstage:
54215 @: $(MAKE); $(unstage)
54216 stage:
54217 @: $(MAKE); $(stage)
54218
54219 # Disable commands for lean bootstrap.
54220 LEAN = false
54221
54222 # We name the build directories for the various stages "stage1-gcc",
54223 # "stage2-gcc","stage3-gcc", etc.
54224
54225 # Since the 'compare' process will fail (on debugging information) if any
54226 # directory names are different, we need to link the gcc directory for
54227 # the previous stage to a constant name ('prev-gcc'), and to make the name of
54228 # the build directories constant as well. For the latter, we use naked names
54229 # like 'gcc', because the scripts in that directory assume it. We use
54230 # mv on platforms where symlinks to directories do not work or are not
54231 # reliable.
54232
54233 # 'touch' doesn't work right on some platforms.
54234 STAMP = echo timestamp >
54235
54236 # We only want to compare .o files, so set this!
54237 objext = .o
54238
54239
54240 .PHONY: stage1-start stage1-end
54241
54242 stage1-start::
54243 @: $(MAKE); $(stage); \
54244 echo stage1 > stage_current; \
54245 echo stage1 > stage_last; \
54246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54247 @if bfd
54248 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
54249 mkdir stage1-bfd; \
54250 mv stage1-bfd bfd
54251 @endif bfd
54252 @if opcodes
54253 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
54254 mkdir stage1-opcodes; \
54255 mv stage1-opcodes opcodes
54256 @endif opcodes
54257 @if binutils
54258 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
54259 mkdir stage1-binutils; \
54260 mv stage1-binutils binutils
54261 @endif binutils
54262 @if fixincludes
54263 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
54264 mkdir stage1-fixincludes; \
54265 mv stage1-fixincludes fixincludes
54266 @endif fixincludes
54267 @if gas
54268 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
54269 mkdir stage1-gas; \
54270 mv stage1-gas gas
54271 @endif gas
54272 @if gcc
54273 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
54274 mkdir stage1-gcc; \
54275 mv stage1-gcc gcc
54276 @endif gcc
54277 @if gmp
54278 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
54279 mkdir stage1-gmp; \
54280 mv stage1-gmp gmp
54281 @endif gmp
54282 @if mpfr
54283 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
54284 mkdir stage1-mpfr; \
54285 mv stage1-mpfr mpfr
54286 @endif mpfr
54287 @if mpc
54288 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
54289 mkdir stage1-mpc; \
54290 mv stage1-mpc mpc
54291 @endif mpc
54292 @if isl
54293 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
54294 mkdir stage1-isl; \
54295 mv stage1-isl isl
54296 @endif isl
54297 @if libelf
54298 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
54299 mkdir stage1-libelf; \
54300 mv stage1-libelf libelf
54301 @endif libelf
54302 @if gold
54303 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
54304 mkdir stage1-gold; \
54305 mv stage1-gold gold
54306 @endif gold
54307 @if intl
54308 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
54309 mkdir stage1-intl; \
54310 mv stage1-intl intl
54311 @endif intl
54312 @if ld
54313 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
54314 mkdir stage1-ld; \
54315 mv stage1-ld ld
54316 @endif ld
54317 @if libbacktrace
54318 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
54319 mkdir stage1-libbacktrace; \
54320 mv stage1-libbacktrace libbacktrace
54321 @endif libbacktrace
54322 @if libcpp
54323 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
54324 mkdir stage1-libcpp; \
54325 mv stage1-libcpp libcpp
54326 @endif libcpp
54327 @if libdecnumber
54328 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
54329 mkdir stage1-libdecnumber; \
54330 mv stage1-libdecnumber libdecnumber
54331 @endif libdecnumber
54332 @if libiberty
54333 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
54334 mkdir stage1-libiberty; \
54335 mv stage1-libiberty libiberty
54336 @endif libiberty
54337 @if libiberty-linker-plugin
54338 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
54339 mkdir stage1-libiberty-linker-plugin; \
54340 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
54341 @endif libiberty-linker-plugin
54342 @if libiconv
54343 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
54344 mkdir stage1-libiconv; \
54345 mv stage1-libiconv libiconv
54346 @endif libiconv
54347 @if zlib
54348 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
54349 mkdir stage1-zlib; \
54350 mv stage1-zlib zlib
54351 @endif zlib
54352 @if lto-plugin
54353 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
54354 mkdir stage1-lto-plugin; \
54355 mv stage1-lto-plugin lto-plugin
54356 @endif lto-plugin
54357 @if libctf
54358 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
54359 mkdir stage1-libctf; \
54360 mv stage1-libctf libctf
54361 @endif libctf
54362 @[ -d stage1-$(TARGET_SUBDIR) ] || \
54363 mkdir stage1-$(TARGET_SUBDIR); \
54364 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
54365
54366 stage1-end::
54367 @if bfd
54368 @if test -d $(HOST_SUBDIR)/bfd; then \
54369 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
54370 fi
54371 @endif bfd
54372 @if opcodes
54373 @if test -d $(HOST_SUBDIR)/opcodes; then \
54374 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
54375 fi
54376 @endif opcodes
54377 @if binutils
54378 @if test -d $(HOST_SUBDIR)/binutils; then \
54379 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
54380 fi
54381 @endif binutils
54382 @if fixincludes
54383 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54384 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
54385 fi
54386 @endif fixincludes
54387 @if gas
54388 @if test -d $(HOST_SUBDIR)/gas; then \
54389 cd $(HOST_SUBDIR); mv gas stage1-gas; \
54390 fi
54391 @endif gas
54392 @if gcc
54393 @if test -d $(HOST_SUBDIR)/gcc; then \
54394 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
54395 fi
54396 @endif gcc
54397 @if gmp
54398 @if test -d $(HOST_SUBDIR)/gmp; then \
54399 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
54400 fi
54401 @endif gmp
54402 @if mpfr
54403 @if test -d $(HOST_SUBDIR)/mpfr; then \
54404 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
54405 fi
54406 @endif mpfr
54407 @if mpc
54408 @if test -d $(HOST_SUBDIR)/mpc; then \
54409 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
54410 fi
54411 @endif mpc
54412 @if isl
54413 @if test -d $(HOST_SUBDIR)/isl; then \
54414 cd $(HOST_SUBDIR); mv isl stage1-isl; \
54415 fi
54416 @endif isl
54417 @if libelf
54418 @if test -d $(HOST_SUBDIR)/libelf; then \
54419 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
54420 fi
54421 @endif libelf
54422 @if gold
54423 @if test -d $(HOST_SUBDIR)/gold; then \
54424 cd $(HOST_SUBDIR); mv gold stage1-gold; \
54425 fi
54426 @endif gold
54427 @if intl
54428 @if test -d $(HOST_SUBDIR)/intl; then \
54429 cd $(HOST_SUBDIR); mv intl stage1-intl; \
54430 fi
54431 @endif intl
54432 @if ld
54433 @if test -d $(HOST_SUBDIR)/ld; then \
54434 cd $(HOST_SUBDIR); mv ld stage1-ld; \
54435 fi
54436 @endif ld
54437 @if libbacktrace
54438 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54439 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
54440 fi
54441 @endif libbacktrace
54442 @if libcpp
54443 @if test -d $(HOST_SUBDIR)/libcpp; then \
54444 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
54445 fi
54446 @endif libcpp
54447 @if libdecnumber
54448 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54449 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
54450 fi
54451 @endif libdecnumber
54452 @if libiberty
54453 @if test -d $(HOST_SUBDIR)/libiberty; then \
54454 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
54455 fi
54456 @endif libiberty
54457 @if libiberty-linker-plugin
54458 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54459 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
54460 fi
54461 @endif libiberty-linker-plugin
54462 @if libiconv
54463 @if test -d $(HOST_SUBDIR)/libiconv; then \
54464 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
54465 fi
54466 @endif libiconv
54467 @if zlib
54468 @if test -d $(HOST_SUBDIR)/zlib; then \
54469 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
54470 fi
54471 @endif zlib
54472 @if lto-plugin
54473 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54474 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
54475 fi
54476 @endif lto-plugin
54477 @if libctf
54478 @if test -d $(HOST_SUBDIR)/libctf; then \
54479 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
54480 fi
54481 @endif libctf
54482 @if test -d $(TARGET_SUBDIR); then \
54483 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
54484 fi
54485 rm -f stage_current
54486
54487 # Bubble a bug fix through all the stages up to stage 1. They are
54488 # remade, but not reconfigured. The next stage (if any) will not be
54489 # reconfigured either.
54490 .PHONY: stage1-bubble
54491 stage1-bubble::
54492 @r=`${PWD_COMMAND}`; export r; \
54493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54494 if test -f stage1-lean ; then \
54495 echo Skipping rebuild of stage1; \
54496 else \
54497 $(MAKE) stage1-start; \
54498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
54499 fi
54500
54501 .PHONY: all-stage1 clean-stage1
54502 do-clean: clean-stage1
54503
54504 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54505 # only possibility, but now it conflicts with no-bootstrap rules
54506 @if gcc-bootstrap
54507
54508
54509
54510
54511 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54512
54513 .PHONY: distclean-stage1
54514 distclean-stage1::
54515 @: $(MAKE); $(stage)
54516 @test "`cat stage_last`" != stage1 || rm -f stage_last
54517 rm -rf stage1-*
54518
54519
54520 @endif gcc-bootstrap
54521
54522
54523 .PHONY: stage2-start stage2-end
54524
54525 stage2-start::
54526 @: $(MAKE); $(stage); \
54527 echo stage2 > stage_current; \
54528 echo stage2 > stage_last; \
54529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54530 @if bfd
54531 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
54532 mkdir stage2-bfd; \
54533 mv stage2-bfd bfd; \
54534 mv stage1-bfd prev-bfd || test -f stage1-lean
54535 @endif bfd
54536 @if opcodes
54537 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
54538 mkdir stage2-opcodes; \
54539 mv stage2-opcodes opcodes; \
54540 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54541 @endif opcodes
54542 @if binutils
54543 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
54544 mkdir stage2-binutils; \
54545 mv stage2-binutils binutils; \
54546 mv stage1-binutils prev-binutils || test -f stage1-lean
54547 @endif binutils
54548 @if fixincludes
54549 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
54550 mkdir stage2-fixincludes; \
54551 mv stage2-fixincludes fixincludes; \
54552 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54553 @endif fixincludes
54554 @if gas
54555 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
54556 mkdir stage2-gas; \
54557 mv stage2-gas gas; \
54558 mv stage1-gas prev-gas || test -f stage1-lean
54559 @endif gas
54560 @if gcc
54561 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
54562 mkdir stage2-gcc; \
54563 mv stage2-gcc gcc; \
54564 mv stage1-gcc prev-gcc || test -f stage1-lean
54565 @endif gcc
54566 @if gmp
54567 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
54568 mkdir stage2-gmp; \
54569 mv stage2-gmp gmp; \
54570 mv stage1-gmp prev-gmp || test -f stage1-lean
54571 @endif gmp
54572 @if mpfr
54573 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
54574 mkdir stage2-mpfr; \
54575 mv stage2-mpfr mpfr; \
54576 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54577 @endif mpfr
54578 @if mpc
54579 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
54580 mkdir stage2-mpc; \
54581 mv stage2-mpc mpc; \
54582 mv stage1-mpc prev-mpc || test -f stage1-lean
54583 @endif mpc
54584 @if isl
54585 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
54586 mkdir stage2-isl; \
54587 mv stage2-isl isl; \
54588 mv stage1-isl prev-isl || test -f stage1-lean
54589 @endif isl
54590 @if libelf
54591 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
54592 mkdir stage2-libelf; \
54593 mv stage2-libelf libelf; \
54594 mv stage1-libelf prev-libelf || test -f stage1-lean
54595 @endif libelf
54596 @if gold
54597 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
54598 mkdir stage2-gold; \
54599 mv stage2-gold gold; \
54600 mv stage1-gold prev-gold || test -f stage1-lean
54601 @endif gold
54602 @if intl
54603 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
54604 mkdir stage2-intl; \
54605 mv stage2-intl intl; \
54606 mv stage1-intl prev-intl || test -f stage1-lean
54607 @endif intl
54608 @if ld
54609 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
54610 mkdir stage2-ld; \
54611 mv stage2-ld ld; \
54612 mv stage1-ld prev-ld || test -f stage1-lean
54613 @endif ld
54614 @if libbacktrace
54615 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
54616 mkdir stage2-libbacktrace; \
54617 mv stage2-libbacktrace libbacktrace; \
54618 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54619 @endif libbacktrace
54620 @if libcpp
54621 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
54622 mkdir stage2-libcpp; \
54623 mv stage2-libcpp libcpp; \
54624 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54625 @endif libcpp
54626 @if libdecnumber
54627 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
54628 mkdir stage2-libdecnumber; \
54629 mv stage2-libdecnumber libdecnumber; \
54630 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54631 @endif libdecnumber
54632 @if libiberty
54633 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
54634 mkdir stage2-libiberty; \
54635 mv stage2-libiberty libiberty; \
54636 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54637 @endif libiberty
54638 @if libiberty-linker-plugin
54639 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
54640 mkdir stage2-libiberty-linker-plugin; \
54641 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
54642 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54643 @endif libiberty-linker-plugin
54644 @if libiconv
54645 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
54646 mkdir stage2-libiconv; \
54647 mv stage2-libiconv libiconv; \
54648 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54649 @endif libiconv
54650 @if zlib
54651 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
54652 mkdir stage2-zlib; \
54653 mv stage2-zlib zlib; \
54654 mv stage1-zlib prev-zlib || test -f stage1-lean
54655 @endif zlib
54656 @if lto-plugin
54657 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
54658 mkdir stage2-lto-plugin; \
54659 mv stage2-lto-plugin lto-plugin; \
54660 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54661 @endif lto-plugin
54662 @if libctf
54663 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
54664 mkdir stage2-libctf; \
54665 mv stage2-libctf libctf; \
54666 mv stage1-libctf prev-libctf || test -f stage1-lean
54667 @endif libctf
54668 @[ -d stage2-$(TARGET_SUBDIR) ] || \
54669 mkdir stage2-$(TARGET_SUBDIR); \
54670 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54671 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54672
54673 stage2-end::
54674 @if bfd
54675 @if test -d $(HOST_SUBDIR)/bfd; then \
54676 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
54677 mv prev-bfd stage1-bfd; : ; \
54678 fi
54679 @endif bfd
54680 @if opcodes
54681 @if test -d $(HOST_SUBDIR)/opcodes; then \
54682 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
54683 mv prev-opcodes stage1-opcodes; : ; \
54684 fi
54685 @endif opcodes
54686 @if binutils
54687 @if test -d $(HOST_SUBDIR)/binutils; then \
54688 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
54689 mv prev-binutils stage1-binutils; : ; \
54690 fi
54691 @endif binutils
54692 @if fixincludes
54693 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54694 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
54695 mv prev-fixincludes stage1-fixincludes; : ; \
54696 fi
54697 @endif fixincludes
54698 @if gas
54699 @if test -d $(HOST_SUBDIR)/gas; then \
54700 cd $(HOST_SUBDIR); mv gas stage2-gas; \
54701 mv prev-gas stage1-gas; : ; \
54702 fi
54703 @endif gas
54704 @if gcc
54705 @if test -d $(HOST_SUBDIR)/gcc; then \
54706 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
54707 mv prev-gcc stage1-gcc; : ; \
54708 fi
54709 @endif gcc
54710 @if gmp
54711 @if test -d $(HOST_SUBDIR)/gmp; then \
54712 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
54713 mv prev-gmp stage1-gmp; : ; \
54714 fi
54715 @endif gmp
54716 @if mpfr
54717 @if test -d $(HOST_SUBDIR)/mpfr; then \
54718 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
54719 mv prev-mpfr stage1-mpfr; : ; \
54720 fi
54721 @endif mpfr
54722 @if mpc
54723 @if test -d $(HOST_SUBDIR)/mpc; then \
54724 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
54725 mv prev-mpc stage1-mpc; : ; \
54726 fi
54727 @endif mpc
54728 @if isl
54729 @if test -d $(HOST_SUBDIR)/isl; then \
54730 cd $(HOST_SUBDIR); mv isl stage2-isl; \
54731 mv prev-isl stage1-isl; : ; \
54732 fi
54733 @endif isl
54734 @if libelf
54735 @if test -d $(HOST_SUBDIR)/libelf; then \
54736 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
54737 mv prev-libelf stage1-libelf; : ; \
54738 fi
54739 @endif libelf
54740 @if gold
54741 @if test -d $(HOST_SUBDIR)/gold; then \
54742 cd $(HOST_SUBDIR); mv gold stage2-gold; \
54743 mv prev-gold stage1-gold; : ; \
54744 fi
54745 @endif gold
54746 @if intl
54747 @if test -d $(HOST_SUBDIR)/intl; then \
54748 cd $(HOST_SUBDIR); mv intl stage2-intl; \
54749 mv prev-intl stage1-intl; : ; \
54750 fi
54751 @endif intl
54752 @if ld
54753 @if test -d $(HOST_SUBDIR)/ld; then \
54754 cd $(HOST_SUBDIR); mv ld stage2-ld; \
54755 mv prev-ld stage1-ld; : ; \
54756 fi
54757 @endif ld
54758 @if libbacktrace
54759 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54760 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
54761 mv prev-libbacktrace stage1-libbacktrace; : ; \
54762 fi
54763 @endif libbacktrace
54764 @if libcpp
54765 @if test -d $(HOST_SUBDIR)/libcpp; then \
54766 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
54767 mv prev-libcpp stage1-libcpp; : ; \
54768 fi
54769 @endif libcpp
54770 @if libdecnumber
54771 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54772 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
54773 mv prev-libdecnumber stage1-libdecnumber; : ; \
54774 fi
54775 @endif libdecnumber
54776 @if libiberty
54777 @if test -d $(HOST_SUBDIR)/libiberty; then \
54778 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
54779 mv prev-libiberty stage1-libiberty; : ; \
54780 fi
54781 @endif libiberty
54782 @if libiberty-linker-plugin
54783 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54784 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
54785 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54786 fi
54787 @endif libiberty-linker-plugin
54788 @if libiconv
54789 @if test -d $(HOST_SUBDIR)/libiconv; then \
54790 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
54791 mv prev-libiconv stage1-libiconv; : ; \
54792 fi
54793 @endif libiconv
54794 @if zlib
54795 @if test -d $(HOST_SUBDIR)/zlib; then \
54796 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
54797 mv prev-zlib stage1-zlib; : ; \
54798 fi
54799 @endif zlib
54800 @if lto-plugin
54801 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54802 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
54803 mv prev-lto-plugin stage1-lto-plugin; : ; \
54804 fi
54805 @endif lto-plugin
54806 @if libctf
54807 @if test -d $(HOST_SUBDIR)/libctf; then \
54808 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
54809 mv prev-libctf stage1-libctf; : ; \
54810 fi
54811 @endif libctf
54812 @if test -d $(TARGET_SUBDIR); then \
54813 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
54814 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54815 fi
54816 rm -f stage_current
54817
54818 # Bubble a bug fix through all the stages up to stage 2. They are
54819 # remade, but not reconfigured. The next stage (if any) will not be
54820 # reconfigured either.
54821 .PHONY: stage2-bubble
54822 stage2-bubble:: stage1-bubble
54823 @r=`${PWD_COMMAND}`; export r; \
54824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54825 if test -f stage2-lean || test -f stage1-lean ; then \
54826 echo Skipping rebuild of stage2; \
54827 else \
54828 $(MAKE) stage2-start; \
54829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
54830 fi
54831
54832 .PHONY: all-stage2 clean-stage2
54833 do-clean: clean-stage2
54834
54835 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54836 # only possibility, but now it conflicts with no-bootstrap rules
54837 @if gcc-bootstrap
54838
54839
54840
54841 .PHONY: bootstrap2 bootstrap2-lean
54842 bootstrap2:
54843 echo stage2 > stage_final
54844 @r=`${PWD_COMMAND}`; export r; \
54845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
54847 @: $(MAKE); $(unstage)
54848 @r=`${PWD_COMMAND}`; export r; \
54849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54850 TFLAGS="$(STAGE2_TFLAGS)"; \
54851 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54852
54853 bootstrap2-lean:
54854 echo stage2 > stage_final
54855 @r=`${PWD_COMMAND}`; export r; \
54856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
54858 @: $(MAKE); $(unstage)
54859 @r=`${PWD_COMMAND}`; export r; \
54860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54861 TFLAGS="$(STAGE2_TFLAGS)"; \
54862 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54863
54864
54865 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54866 distclean-stage1:: distclean-stage2
54867 .PHONY: distclean-stage2
54868 distclean-stage2::
54869 @: $(MAKE); $(stage)
54870 @test "`cat stage_last`" != stage2 || rm -f stage_last
54871 rm -rf stage2-*
54872
54873
54874 @endif gcc-bootstrap
54875
54876
54877 .PHONY: stage3-start stage3-end
54878
54879 stage3-start::
54880 @: $(MAKE); $(stage); \
54881 echo stage3 > stage_current; \
54882 echo stage3 > stage_last; \
54883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54884 @if bfd
54885 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
54886 mkdir stage3-bfd; \
54887 mv stage3-bfd bfd; \
54888 mv stage2-bfd prev-bfd || test -f stage2-lean
54889 @endif bfd
54890 @if opcodes
54891 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
54892 mkdir stage3-opcodes; \
54893 mv stage3-opcodes opcodes; \
54894 mv stage2-opcodes prev-opcodes || test -f stage2-lean
54895 @endif opcodes
54896 @if binutils
54897 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
54898 mkdir stage3-binutils; \
54899 mv stage3-binutils binutils; \
54900 mv stage2-binutils prev-binutils || test -f stage2-lean
54901 @endif binutils
54902 @if fixincludes
54903 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
54904 mkdir stage3-fixincludes; \
54905 mv stage3-fixincludes fixincludes; \
54906 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
54907 @endif fixincludes
54908 @if gas
54909 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
54910 mkdir stage3-gas; \
54911 mv stage3-gas gas; \
54912 mv stage2-gas prev-gas || test -f stage2-lean
54913 @endif gas
54914 @if gcc
54915 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
54916 mkdir stage3-gcc; \
54917 mv stage3-gcc gcc; \
54918 mv stage2-gcc prev-gcc || test -f stage2-lean
54919 @endif gcc
54920 @if gmp
54921 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
54922 mkdir stage3-gmp; \
54923 mv stage3-gmp gmp; \
54924 mv stage2-gmp prev-gmp || test -f stage2-lean
54925 @endif gmp
54926 @if mpfr
54927 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
54928 mkdir stage3-mpfr; \
54929 mv stage3-mpfr mpfr; \
54930 mv stage2-mpfr prev-mpfr || test -f stage2-lean
54931 @endif mpfr
54932 @if mpc
54933 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
54934 mkdir stage3-mpc; \
54935 mv stage3-mpc mpc; \
54936 mv stage2-mpc prev-mpc || test -f stage2-lean
54937 @endif mpc
54938 @if isl
54939 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
54940 mkdir stage3-isl; \
54941 mv stage3-isl isl; \
54942 mv stage2-isl prev-isl || test -f stage2-lean
54943 @endif isl
54944 @if libelf
54945 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
54946 mkdir stage3-libelf; \
54947 mv stage3-libelf libelf; \
54948 mv stage2-libelf prev-libelf || test -f stage2-lean
54949 @endif libelf
54950 @if gold
54951 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
54952 mkdir stage3-gold; \
54953 mv stage3-gold gold; \
54954 mv stage2-gold prev-gold || test -f stage2-lean
54955 @endif gold
54956 @if intl
54957 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
54958 mkdir stage3-intl; \
54959 mv stage3-intl intl; \
54960 mv stage2-intl prev-intl || test -f stage2-lean
54961 @endif intl
54962 @if ld
54963 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
54964 mkdir stage3-ld; \
54965 mv stage3-ld ld; \
54966 mv stage2-ld prev-ld || test -f stage2-lean
54967 @endif ld
54968 @if libbacktrace
54969 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
54970 mkdir stage3-libbacktrace; \
54971 mv stage3-libbacktrace libbacktrace; \
54972 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
54973 @endif libbacktrace
54974 @if libcpp
54975 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
54976 mkdir stage3-libcpp; \
54977 mv stage3-libcpp libcpp; \
54978 mv stage2-libcpp prev-libcpp || test -f stage2-lean
54979 @endif libcpp
54980 @if libdecnumber
54981 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
54982 mkdir stage3-libdecnumber; \
54983 mv stage3-libdecnumber libdecnumber; \
54984 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
54985 @endif libdecnumber
54986 @if libiberty
54987 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
54988 mkdir stage3-libiberty; \
54989 mv stage3-libiberty libiberty; \
54990 mv stage2-libiberty prev-libiberty || test -f stage2-lean
54991 @endif libiberty
54992 @if libiberty-linker-plugin
54993 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
54994 mkdir stage3-libiberty-linker-plugin; \
54995 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
54996 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
54997 @endif libiberty-linker-plugin
54998 @if libiconv
54999 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
55000 mkdir stage3-libiconv; \
55001 mv stage3-libiconv libiconv; \
55002 mv stage2-libiconv prev-libiconv || test -f stage2-lean
55003 @endif libiconv
55004 @if zlib
55005 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
55006 mkdir stage3-zlib; \
55007 mv stage3-zlib zlib; \
55008 mv stage2-zlib prev-zlib || test -f stage2-lean
55009 @endif zlib
55010 @if lto-plugin
55011 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
55012 mkdir stage3-lto-plugin; \
55013 mv stage3-lto-plugin lto-plugin; \
55014 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
55015 @endif lto-plugin
55016 @if libctf
55017 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
55018 mkdir stage3-libctf; \
55019 mv stage3-libctf libctf; \
55020 mv stage2-libctf prev-libctf || test -f stage2-lean
55021 @endif libctf
55022 @[ -d stage3-$(TARGET_SUBDIR) ] || \
55023 mkdir stage3-$(TARGET_SUBDIR); \
55024 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55025 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
55026
55027 stage3-end::
55028 @if bfd
55029 @if test -d $(HOST_SUBDIR)/bfd; then \
55030 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
55031 mv prev-bfd stage2-bfd; : ; \
55032 fi
55033 @endif bfd
55034 @if opcodes
55035 @if test -d $(HOST_SUBDIR)/opcodes; then \
55036 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
55037 mv prev-opcodes stage2-opcodes; : ; \
55038 fi
55039 @endif opcodes
55040 @if binutils
55041 @if test -d $(HOST_SUBDIR)/binutils; then \
55042 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
55043 mv prev-binutils stage2-binutils; : ; \
55044 fi
55045 @endif binutils
55046 @if fixincludes
55047 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55048 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
55049 mv prev-fixincludes stage2-fixincludes; : ; \
55050 fi
55051 @endif fixincludes
55052 @if gas
55053 @if test -d $(HOST_SUBDIR)/gas; then \
55054 cd $(HOST_SUBDIR); mv gas stage3-gas; \
55055 mv prev-gas stage2-gas; : ; \
55056 fi
55057 @endif gas
55058 @if gcc
55059 @if test -d $(HOST_SUBDIR)/gcc; then \
55060 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
55061 mv prev-gcc stage2-gcc; : ; \
55062 fi
55063 @endif gcc
55064 @if gmp
55065 @if test -d $(HOST_SUBDIR)/gmp; then \
55066 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
55067 mv prev-gmp stage2-gmp; : ; \
55068 fi
55069 @endif gmp
55070 @if mpfr
55071 @if test -d $(HOST_SUBDIR)/mpfr; then \
55072 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
55073 mv prev-mpfr stage2-mpfr; : ; \
55074 fi
55075 @endif mpfr
55076 @if mpc
55077 @if test -d $(HOST_SUBDIR)/mpc; then \
55078 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
55079 mv prev-mpc stage2-mpc; : ; \
55080 fi
55081 @endif mpc
55082 @if isl
55083 @if test -d $(HOST_SUBDIR)/isl; then \
55084 cd $(HOST_SUBDIR); mv isl stage3-isl; \
55085 mv prev-isl stage2-isl; : ; \
55086 fi
55087 @endif isl
55088 @if libelf
55089 @if test -d $(HOST_SUBDIR)/libelf; then \
55090 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
55091 mv prev-libelf stage2-libelf; : ; \
55092 fi
55093 @endif libelf
55094 @if gold
55095 @if test -d $(HOST_SUBDIR)/gold; then \
55096 cd $(HOST_SUBDIR); mv gold stage3-gold; \
55097 mv prev-gold stage2-gold; : ; \
55098 fi
55099 @endif gold
55100 @if intl
55101 @if test -d $(HOST_SUBDIR)/intl; then \
55102 cd $(HOST_SUBDIR); mv intl stage3-intl; \
55103 mv prev-intl stage2-intl; : ; \
55104 fi
55105 @endif intl
55106 @if ld
55107 @if test -d $(HOST_SUBDIR)/ld; then \
55108 cd $(HOST_SUBDIR); mv ld stage3-ld; \
55109 mv prev-ld stage2-ld; : ; \
55110 fi
55111 @endif ld
55112 @if libbacktrace
55113 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55114 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
55115 mv prev-libbacktrace stage2-libbacktrace; : ; \
55116 fi
55117 @endif libbacktrace
55118 @if libcpp
55119 @if test -d $(HOST_SUBDIR)/libcpp; then \
55120 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
55121 mv prev-libcpp stage2-libcpp; : ; \
55122 fi
55123 @endif libcpp
55124 @if libdecnumber
55125 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55126 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
55127 mv prev-libdecnumber stage2-libdecnumber; : ; \
55128 fi
55129 @endif libdecnumber
55130 @if libiberty
55131 @if test -d $(HOST_SUBDIR)/libiberty; then \
55132 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
55133 mv prev-libiberty stage2-libiberty; : ; \
55134 fi
55135 @endif libiberty
55136 @if libiberty-linker-plugin
55137 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55138 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
55139 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
55140 fi
55141 @endif libiberty-linker-plugin
55142 @if libiconv
55143 @if test -d $(HOST_SUBDIR)/libiconv; then \
55144 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
55145 mv prev-libiconv stage2-libiconv; : ; \
55146 fi
55147 @endif libiconv
55148 @if zlib
55149 @if test -d $(HOST_SUBDIR)/zlib; then \
55150 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
55151 mv prev-zlib stage2-zlib; : ; \
55152 fi
55153 @endif zlib
55154 @if lto-plugin
55155 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55156 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
55157 mv prev-lto-plugin stage2-lto-plugin; : ; \
55158 fi
55159 @endif lto-plugin
55160 @if libctf
55161 @if test -d $(HOST_SUBDIR)/libctf; then \
55162 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
55163 mv prev-libctf stage2-libctf; : ; \
55164 fi
55165 @endif libctf
55166 @if test -d $(TARGET_SUBDIR); then \
55167 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
55168 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
55169 fi
55170 rm -f stage_current
55171
55172 # Bubble a bug fix through all the stages up to stage 3. They are
55173 # remade, but not reconfigured. The next stage (if any) will not be
55174 # reconfigured either.
55175 .PHONY: stage3-bubble
55176 stage3-bubble:: stage2-bubble
55177 @r=`${PWD_COMMAND}`; export r; \
55178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55179 if test -f stage3-lean || test -f stage2-lean ; then \
55180 echo Skipping rebuild of stage3; \
55181 else \
55182 $(MAKE) stage3-start; \
55183 if $(LEAN); then \
55184 rm -rf stage1-*; \
55185 $(STAMP) stage1-lean; \
55186 fi; \
55187 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
55188 fi
55189 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
55190
55191 .PHONY: all-stage3 clean-stage3
55192 do-clean: clean-stage3
55193
55194 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55195 # only possibility, but now it conflicts with no-bootstrap rules
55196 @if gcc-bootstrap
55197
55198 compare:
55199 @r=`${PWD_COMMAND}`; export r; \
55200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55201 if test -f stage2-lean; then \
55202 echo Cannot compare object files as stage 2 was deleted.; \
55203 exit 0; \
55204 fi; \
55205 : $(MAKE); $(stage); \
55206 rm -f .bad_compare; \
55207 echo Comparing stages 2 and 3; \
55208 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
55209 files=`find stage3-* -name "*$(objext)" -print | \
55210 sed -n s,^stage$$sed-,,p`; \
55211 for file in $${files} ${extra-compare}; do \
55212 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
55213 if test ! -f $$f1; then continue; fi; \
55214 $(do-compare) > /dev/null 2>&1; \
55215 if test $$? -eq 1; then \
55216 case $$file in \
55217 @compare_exclusions@) \
55218 echo warning: $$file differs ;; \
55219 *) \
55220 echo $$file differs >> .bad_compare ;; \
55221 esac; \
55222 fi; \
55223 done; \
55224 if [ -f .bad_compare ]; then \
55225 echo "Bootstrap comparison failure!"; \
55226 cat .bad_compare; \
55227 exit 1; \
55228 else \
55229 echo Comparison successful.; \
55230 fi; \
55231 $(STAMP) compare
55232 if $(LEAN); then \
55233 rm -rf stage2-*; \
55234 $(STAMP) stage2-lean; \
55235 fi
55236
55237
55238
55239 .PHONY: bootstrap bootstrap-lean
55240 bootstrap:
55241 echo stage3 > stage_final
55242 @r=`${PWD_COMMAND}`; export r; \
55243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55245 @: $(MAKE); $(unstage)
55246 @r=`${PWD_COMMAND}`; export r; \
55247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55248 TFLAGS="$(STAGE3_TFLAGS)"; \
55249 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55250
55251 bootstrap-lean:
55252 echo stage3 > stage_final
55253 @r=`${PWD_COMMAND}`; export r; \
55254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
55256 @: $(MAKE); $(unstage)
55257 @r=`${PWD_COMMAND}`; export r; \
55258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55259 TFLAGS="$(STAGE3_TFLAGS)"; \
55260 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55261
55262
55263 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55264 distclean-stage2:: distclean-stage3
55265 .PHONY: distclean-stage3
55266 distclean-stage3::
55267 @: $(MAKE); $(stage)
55268 @test "`cat stage_last`" != stage3 || rm -f stage_last
55269 rm -rf stage3-* compare
55270
55271
55272 .PHONY: cleanstrap
55273 cleanstrap: do-distclean local-clean
55274 echo stage3 > stage_final
55275 @r=`${PWD_COMMAND}`; export r; \
55276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55278 @: $(MAKE); $(unstage)
55279 @r=`${PWD_COMMAND}`; export r; \
55280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55281 TFLAGS="$(STAGE3_TFLAGS)"; \
55282 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55283
55284 @endif gcc-bootstrap
55285
55286
55287 .PHONY: stage4-start stage4-end
55288
55289 stage4-start::
55290 @: $(MAKE); $(stage); \
55291 echo stage4 > stage_current; \
55292 echo stage4 > stage_last; \
55293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55294 @if bfd
55295 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
55296 mkdir stage4-bfd; \
55297 mv stage4-bfd bfd; \
55298 mv stage3-bfd prev-bfd || test -f stage3-lean
55299 @endif bfd
55300 @if opcodes
55301 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
55302 mkdir stage4-opcodes; \
55303 mv stage4-opcodes opcodes; \
55304 mv stage3-opcodes prev-opcodes || test -f stage3-lean
55305 @endif opcodes
55306 @if binutils
55307 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
55308 mkdir stage4-binutils; \
55309 mv stage4-binutils binutils; \
55310 mv stage3-binutils prev-binutils || test -f stage3-lean
55311 @endif binutils
55312 @if fixincludes
55313 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
55314 mkdir stage4-fixincludes; \
55315 mv stage4-fixincludes fixincludes; \
55316 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
55317 @endif fixincludes
55318 @if gas
55319 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
55320 mkdir stage4-gas; \
55321 mv stage4-gas gas; \
55322 mv stage3-gas prev-gas || test -f stage3-lean
55323 @endif gas
55324 @if gcc
55325 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
55326 mkdir stage4-gcc; \
55327 mv stage4-gcc gcc; \
55328 mv stage3-gcc prev-gcc || test -f stage3-lean
55329 @endif gcc
55330 @if gmp
55331 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
55332 mkdir stage4-gmp; \
55333 mv stage4-gmp gmp; \
55334 mv stage3-gmp prev-gmp || test -f stage3-lean
55335 @endif gmp
55336 @if mpfr
55337 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
55338 mkdir stage4-mpfr; \
55339 mv stage4-mpfr mpfr; \
55340 mv stage3-mpfr prev-mpfr || test -f stage3-lean
55341 @endif mpfr
55342 @if mpc
55343 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
55344 mkdir stage4-mpc; \
55345 mv stage4-mpc mpc; \
55346 mv stage3-mpc prev-mpc || test -f stage3-lean
55347 @endif mpc
55348 @if isl
55349 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
55350 mkdir stage4-isl; \
55351 mv stage4-isl isl; \
55352 mv stage3-isl prev-isl || test -f stage3-lean
55353 @endif isl
55354 @if libelf
55355 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
55356 mkdir stage4-libelf; \
55357 mv stage4-libelf libelf; \
55358 mv stage3-libelf prev-libelf || test -f stage3-lean
55359 @endif libelf
55360 @if gold
55361 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
55362 mkdir stage4-gold; \
55363 mv stage4-gold gold; \
55364 mv stage3-gold prev-gold || test -f stage3-lean
55365 @endif gold
55366 @if intl
55367 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
55368 mkdir stage4-intl; \
55369 mv stage4-intl intl; \
55370 mv stage3-intl prev-intl || test -f stage3-lean
55371 @endif intl
55372 @if ld
55373 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
55374 mkdir stage4-ld; \
55375 mv stage4-ld ld; \
55376 mv stage3-ld prev-ld || test -f stage3-lean
55377 @endif ld
55378 @if libbacktrace
55379 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
55380 mkdir stage4-libbacktrace; \
55381 mv stage4-libbacktrace libbacktrace; \
55382 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
55383 @endif libbacktrace
55384 @if libcpp
55385 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
55386 mkdir stage4-libcpp; \
55387 mv stage4-libcpp libcpp; \
55388 mv stage3-libcpp prev-libcpp || test -f stage3-lean
55389 @endif libcpp
55390 @if libdecnumber
55391 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
55392 mkdir stage4-libdecnumber; \
55393 mv stage4-libdecnumber libdecnumber; \
55394 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
55395 @endif libdecnumber
55396 @if libiberty
55397 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
55398 mkdir stage4-libiberty; \
55399 mv stage4-libiberty libiberty; \
55400 mv stage3-libiberty prev-libiberty || test -f stage3-lean
55401 @endif libiberty
55402 @if libiberty-linker-plugin
55403 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
55404 mkdir stage4-libiberty-linker-plugin; \
55405 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
55406 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
55407 @endif libiberty-linker-plugin
55408 @if libiconv
55409 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
55410 mkdir stage4-libiconv; \
55411 mv stage4-libiconv libiconv; \
55412 mv stage3-libiconv prev-libiconv || test -f stage3-lean
55413 @endif libiconv
55414 @if zlib
55415 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
55416 mkdir stage4-zlib; \
55417 mv stage4-zlib zlib; \
55418 mv stage3-zlib prev-zlib || test -f stage3-lean
55419 @endif zlib
55420 @if lto-plugin
55421 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
55422 mkdir stage4-lto-plugin; \
55423 mv stage4-lto-plugin lto-plugin; \
55424 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
55425 @endif lto-plugin
55426 @if libctf
55427 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
55428 mkdir stage4-libctf; \
55429 mv stage4-libctf libctf; \
55430 mv stage3-libctf prev-libctf || test -f stage3-lean
55431 @endif libctf
55432 @[ -d stage4-$(TARGET_SUBDIR) ] || \
55433 mkdir stage4-$(TARGET_SUBDIR); \
55434 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55435 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
55436
55437 stage4-end::
55438 @if bfd
55439 @if test -d $(HOST_SUBDIR)/bfd; then \
55440 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
55441 mv prev-bfd stage3-bfd; : ; \
55442 fi
55443 @endif bfd
55444 @if opcodes
55445 @if test -d $(HOST_SUBDIR)/opcodes; then \
55446 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
55447 mv prev-opcodes stage3-opcodes; : ; \
55448 fi
55449 @endif opcodes
55450 @if binutils
55451 @if test -d $(HOST_SUBDIR)/binutils; then \
55452 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
55453 mv prev-binutils stage3-binutils; : ; \
55454 fi
55455 @endif binutils
55456 @if fixincludes
55457 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55458 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
55459 mv prev-fixincludes stage3-fixincludes; : ; \
55460 fi
55461 @endif fixincludes
55462 @if gas
55463 @if test -d $(HOST_SUBDIR)/gas; then \
55464 cd $(HOST_SUBDIR); mv gas stage4-gas; \
55465 mv prev-gas stage3-gas; : ; \
55466 fi
55467 @endif gas
55468 @if gcc
55469 @if test -d $(HOST_SUBDIR)/gcc; then \
55470 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
55471 mv prev-gcc stage3-gcc; : ; \
55472 fi
55473 @endif gcc
55474 @if gmp
55475 @if test -d $(HOST_SUBDIR)/gmp; then \
55476 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
55477 mv prev-gmp stage3-gmp; : ; \
55478 fi
55479 @endif gmp
55480 @if mpfr
55481 @if test -d $(HOST_SUBDIR)/mpfr; then \
55482 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
55483 mv prev-mpfr stage3-mpfr; : ; \
55484 fi
55485 @endif mpfr
55486 @if mpc
55487 @if test -d $(HOST_SUBDIR)/mpc; then \
55488 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
55489 mv prev-mpc stage3-mpc; : ; \
55490 fi
55491 @endif mpc
55492 @if isl
55493 @if test -d $(HOST_SUBDIR)/isl; then \
55494 cd $(HOST_SUBDIR); mv isl stage4-isl; \
55495 mv prev-isl stage3-isl; : ; \
55496 fi
55497 @endif isl
55498 @if libelf
55499 @if test -d $(HOST_SUBDIR)/libelf; then \
55500 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
55501 mv prev-libelf stage3-libelf; : ; \
55502 fi
55503 @endif libelf
55504 @if gold
55505 @if test -d $(HOST_SUBDIR)/gold; then \
55506 cd $(HOST_SUBDIR); mv gold stage4-gold; \
55507 mv prev-gold stage3-gold; : ; \
55508 fi
55509 @endif gold
55510 @if intl
55511 @if test -d $(HOST_SUBDIR)/intl; then \
55512 cd $(HOST_SUBDIR); mv intl stage4-intl; \
55513 mv prev-intl stage3-intl; : ; \
55514 fi
55515 @endif intl
55516 @if ld
55517 @if test -d $(HOST_SUBDIR)/ld; then \
55518 cd $(HOST_SUBDIR); mv ld stage4-ld; \
55519 mv prev-ld stage3-ld; : ; \
55520 fi
55521 @endif ld
55522 @if libbacktrace
55523 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55524 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
55525 mv prev-libbacktrace stage3-libbacktrace; : ; \
55526 fi
55527 @endif libbacktrace
55528 @if libcpp
55529 @if test -d $(HOST_SUBDIR)/libcpp; then \
55530 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
55531 mv prev-libcpp stage3-libcpp; : ; \
55532 fi
55533 @endif libcpp
55534 @if libdecnumber
55535 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55536 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
55537 mv prev-libdecnumber stage3-libdecnumber; : ; \
55538 fi
55539 @endif libdecnumber
55540 @if libiberty
55541 @if test -d $(HOST_SUBDIR)/libiberty; then \
55542 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
55543 mv prev-libiberty stage3-libiberty; : ; \
55544 fi
55545 @endif libiberty
55546 @if libiberty-linker-plugin
55547 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55548 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
55549 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
55550 fi
55551 @endif libiberty-linker-plugin
55552 @if libiconv
55553 @if test -d $(HOST_SUBDIR)/libiconv; then \
55554 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
55555 mv prev-libiconv stage3-libiconv; : ; \
55556 fi
55557 @endif libiconv
55558 @if zlib
55559 @if test -d $(HOST_SUBDIR)/zlib; then \
55560 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
55561 mv prev-zlib stage3-zlib; : ; \
55562 fi
55563 @endif zlib
55564 @if lto-plugin
55565 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55566 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
55567 mv prev-lto-plugin stage3-lto-plugin; : ; \
55568 fi
55569 @endif lto-plugin
55570 @if libctf
55571 @if test -d $(HOST_SUBDIR)/libctf; then \
55572 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
55573 mv prev-libctf stage3-libctf; : ; \
55574 fi
55575 @endif libctf
55576 @if test -d $(TARGET_SUBDIR); then \
55577 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
55578 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
55579 fi
55580 rm -f stage_current
55581
55582 # Bubble a bug fix through all the stages up to stage 4. They are
55583 # remade, but not reconfigured. The next stage (if any) will not be
55584 # reconfigured either.
55585 .PHONY: stage4-bubble
55586 stage4-bubble:: stage3-bubble
55587 @r=`${PWD_COMMAND}`; export r; \
55588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55589 if test -f stage4-lean || test -f stage3-lean ; then \
55590 echo Skipping rebuild of stage4; \
55591 else \
55592 $(MAKE) stage4-start; \
55593 if $(LEAN); then \
55594 rm -rf stage2-*; \
55595 $(STAMP) stage2-lean; \
55596 fi; \
55597 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
55598 fi
55599 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
55600
55601 .PHONY: all-stage4 clean-stage4
55602 do-clean: clean-stage4
55603
55604 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55605 # only possibility, but now it conflicts with no-bootstrap rules
55606 @if gcc-bootstrap
55607
55608 compare3:
55609 @r=`${PWD_COMMAND}`; export r; \
55610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55611 if test -f stage3-lean; then \
55612 echo Cannot compare object files as stage 3 was deleted.; \
55613 exit 0; \
55614 fi; \
55615 : $(MAKE); $(stage); \
55616 rm -f .bad_compare; \
55617 echo Comparing stages 3 and 4; \
55618 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
55619 files=`find stage4-* -name "*$(objext)" -print | \
55620 sed -n s,^stage$$sed-,,p`; \
55621 for file in $${files} ${extra-compare}; do \
55622 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
55623 if test ! -f $$f1; then continue; fi; \
55624 $(do-compare3) > /dev/null 2>&1; \
55625 if test $$? -eq 1; then \
55626 case $$file in \
55627 @compare_exclusions@) \
55628 echo warning: $$file differs ;; \
55629 *) \
55630 echo $$file differs >> .bad_compare ;; \
55631 esac; \
55632 fi; \
55633 done; \
55634 if [ -f .bad_compare ]; then \
55635 echo "Bootstrap comparison failure!"; \
55636 cat .bad_compare; \
55637 exit 1; \
55638 else \
55639 echo Comparison successful.; \
55640 fi; \
55641 $(STAMP) compare3
55642 if $(LEAN); then \
55643 rm -rf stage3-*; \
55644 $(STAMP) stage3-lean; \
55645 fi
55646
55647
55648
55649 .PHONY: bootstrap4 bootstrap4-lean
55650 bootstrap4:
55651 echo stage4 > stage_final
55652 @r=`${PWD_COMMAND}`; export r; \
55653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55654 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
55655 @: $(MAKE); $(unstage)
55656 @r=`${PWD_COMMAND}`; export r; \
55657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55658 TFLAGS="$(STAGE4_TFLAGS)"; \
55659 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55660
55661 bootstrap4-lean:
55662 echo stage4 > stage_final
55663 @r=`${PWD_COMMAND}`; export r; \
55664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55665 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
55666 @: $(MAKE); $(unstage)
55667 @r=`${PWD_COMMAND}`; export r; \
55668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55669 TFLAGS="$(STAGE4_TFLAGS)"; \
55670 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55671
55672
55673 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55674 distclean-stage3:: distclean-stage4
55675 .PHONY: distclean-stage4
55676 distclean-stage4::
55677 @: $(MAKE); $(stage)
55678 @test "`cat stage_last`" != stage4 || rm -f stage_last
55679 rm -rf stage4-* compare3
55680
55681
55682 @endif gcc-bootstrap
55683
55684
55685 .PHONY: stageprofile-start stageprofile-end
55686
55687 stageprofile-start::
55688 @: $(MAKE); $(stage); \
55689 echo stageprofile > stage_current; \
55690 echo stageprofile > stage_last; \
55691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55692 @if bfd
55693 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
55694 mkdir stageprofile-bfd; \
55695 mv stageprofile-bfd bfd; \
55696 mv stage1-bfd prev-bfd || test -f stage1-lean
55697 @endif bfd
55698 @if opcodes
55699 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
55700 mkdir stageprofile-opcodes; \
55701 mv stageprofile-opcodes opcodes; \
55702 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55703 @endif opcodes
55704 @if binutils
55705 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
55706 mkdir stageprofile-binutils; \
55707 mv stageprofile-binutils binutils; \
55708 mv stage1-binutils prev-binutils || test -f stage1-lean
55709 @endif binutils
55710 @if fixincludes
55711 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
55712 mkdir stageprofile-fixincludes; \
55713 mv stageprofile-fixincludes fixincludes; \
55714 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55715 @endif fixincludes
55716 @if gas
55717 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
55718 mkdir stageprofile-gas; \
55719 mv stageprofile-gas gas; \
55720 mv stage1-gas prev-gas || test -f stage1-lean
55721 @endif gas
55722 @if gcc
55723 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
55724 mkdir stageprofile-gcc; \
55725 mv stageprofile-gcc gcc; \
55726 mv stage1-gcc prev-gcc || test -f stage1-lean
55727 @endif gcc
55728 @if gmp
55729 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
55730 mkdir stageprofile-gmp; \
55731 mv stageprofile-gmp gmp; \
55732 mv stage1-gmp prev-gmp || test -f stage1-lean
55733 @endif gmp
55734 @if mpfr
55735 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
55736 mkdir stageprofile-mpfr; \
55737 mv stageprofile-mpfr mpfr; \
55738 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55739 @endif mpfr
55740 @if mpc
55741 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
55742 mkdir stageprofile-mpc; \
55743 mv stageprofile-mpc mpc; \
55744 mv stage1-mpc prev-mpc || test -f stage1-lean
55745 @endif mpc
55746 @if isl
55747 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
55748 mkdir stageprofile-isl; \
55749 mv stageprofile-isl isl; \
55750 mv stage1-isl prev-isl || test -f stage1-lean
55751 @endif isl
55752 @if libelf
55753 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
55754 mkdir stageprofile-libelf; \
55755 mv stageprofile-libelf libelf; \
55756 mv stage1-libelf prev-libelf || test -f stage1-lean
55757 @endif libelf
55758 @if gold
55759 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
55760 mkdir stageprofile-gold; \
55761 mv stageprofile-gold gold; \
55762 mv stage1-gold prev-gold || test -f stage1-lean
55763 @endif gold
55764 @if intl
55765 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
55766 mkdir stageprofile-intl; \
55767 mv stageprofile-intl intl; \
55768 mv stage1-intl prev-intl || test -f stage1-lean
55769 @endif intl
55770 @if ld
55771 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
55772 mkdir stageprofile-ld; \
55773 mv stageprofile-ld ld; \
55774 mv stage1-ld prev-ld || test -f stage1-lean
55775 @endif ld
55776 @if libbacktrace
55777 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
55778 mkdir stageprofile-libbacktrace; \
55779 mv stageprofile-libbacktrace libbacktrace; \
55780 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55781 @endif libbacktrace
55782 @if libcpp
55783 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
55784 mkdir stageprofile-libcpp; \
55785 mv stageprofile-libcpp libcpp; \
55786 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55787 @endif libcpp
55788 @if libdecnumber
55789 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
55790 mkdir stageprofile-libdecnumber; \
55791 mv stageprofile-libdecnumber libdecnumber; \
55792 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55793 @endif libdecnumber
55794 @if libiberty
55795 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
55796 mkdir stageprofile-libiberty; \
55797 mv stageprofile-libiberty libiberty; \
55798 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55799 @endif libiberty
55800 @if libiberty-linker-plugin
55801 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
55802 mkdir stageprofile-libiberty-linker-plugin; \
55803 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
55804 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55805 @endif libiberty-linker-plugin
55806 @if libiconv
55807 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
55808 mkdir stageprofile-libiconv; \
55809 mv stageprofile-libiconv libiconv; \
55810 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55811 @endif libiconv
55812 @if zlib
55813 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
55814 mkdir stageprofile-zlib; \
55815 mv stageprofile-zlib zlib; \
55816 mv stage1-zlib prev-zlib || test -f stage1-lean
55817 @endif zlib
55818 @if lto-plugin
55819 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
55820 mkdir stageprofile-lto-plugin; \
55821 mv stageprofile-lto-plugin lto-plugin; \
55822 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55823 @endif lto-plugin
55824 @if libctf
55825 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
55826 mkdir stageprofile-libctf; \
55827 mv stageprofile-libctf libctf; \
55828 mv stage1-libctf prev-libctf || test -f stage1-lean
55829 @endif libctf
55830 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
55831 mkdir stageprofile-$(TARGET_SUBDIR); \
55832 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55833 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55834
55835 stageprofile-end::
55836 @if bfd
55837 @if test -d $(HOST_SUBDIR)/bfd; then \
55838 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
55839 mv prev-bfd stage1-bfd; : ; \
55840 fi
55841 @endif bfd
55842 @if opcodes
55843 @if test -d $(HOST_SUBDIR)/opcodes; then \
55844 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
55845 mv prev-opcodes stage1-opcodes; : ; \
55846 fi
55847 @endif opcodes
55848 @if binutils
55849 @if test -d $(HOST_SUBDIR)/binutils; then \
55850 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
55851 mv prev-binutils stage1-binutils; : ; \
55852 fi
55853 @endif binutils
55854 @if fixincludes
55855 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55856 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
55857 mv prev-fixincludes stage1-fixincludes; : ; \
55858 fi
55859 @endif fixincludes
55860 @if gas
55861 @if test -d $(HOST_SUBDIR)/gas; then \
55862 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
55863 mv prev-gas stage1-gas; : ; \
55864 fi
55865 @endif gas
55866 @if gcc
55867 @if test -d $(HOST_SUBDIR)/gcc; then \
55868 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
55869 mv prev-gcc stage1-gcc; : ; \
55870 fi
55871 @endif gcc
55872 @if gmp
55873 @if test -d $(HOST_SUBDIR)/gmp; then \
55874 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
55875 mv prev-gmp stage1-gmp; : ; \
55876 fi
55877 @endif gmp
55878 @if mpfr
55879 @if test -d $(HOST_SUBDIR)/mpfr; then \
55880 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
55881 mv prev-mpfr stage1-mpfr; : ; \
55882 fi
55883 @endif mpfr
55884 @if mpc
55885 @if test -d $(HOST_SUBDIR)/mpc; then \
55886 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
55887 mv prev-mpc stage1-mpc; : ; \
55888 fi
55889 @endif mpc
55890 @if isl
55891 @if test -d $(HOST_SUBDIR)/isl; then \
55892 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
55893 mv prev-isl stage1-isl; : ; \
55894 fi
55895 @endif isl
55896 @if libelf
55897 @if test -d $(HOST_SUBDIR)/libelf; then \
55898 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
55899 mv prev-libelf stage1-libelf; : ; \
55900 fi
55901 @endif libelf
55902 @if gold
55903 @if test -d $(HOST_SUBDIR)/gold; then \
55904 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
55905 mv prev-gold stage1-gold; : ; \
55906 fi
55907 @endif gold
55908 @if intl
55909 @if test -d $(HOST_SUBDIR)/intl; then \
55910 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
55911 mv prev-intl stage1-intl; : ; \
55912 fi
55913 @endif intl
55914 @if ld
55915 @if test -d $(HOST_SUBDIR)/ld; then \
55916 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
55917 mv prev-ld stage1-ld; : ; \
55918 fi
55919 @endif ld
55920 @if libbacktrace
55921 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55922 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
55923 mv prev-libbacktrace stage1-libbacktrace; : ; \
55924 fi
55925 @endif libbacktrace
55926 @if libcpp
55927 @if test -d $(HOST_SUBDIR)/libcpp; then \
55928 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
55929 mv prev-libcpp stage1-libcpp; : ; \
55930 fi
55931 @endif libcpp
55932 @if libdecnumber
55933 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55934 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
55935 mv prev-libdecnumber stage1-libdecnumber; : ; \
55936 fi
55937 @endif libdecnumber
55938 @if libiberty
55939 @if test -d $(HOST_SUBDIR)/libiberty; then \
55940 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
55941 mv prev-libiberty stage1-libiberty; : ; \
55942 fi
55943 @endif libiberty
55944 @if libiberty-linker-plugin
55945 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55946 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
55947 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55948 fi
55949 @endif libiberty-linker-plugin
55950 @if libiconv
55951 @if test -d $(HOST_SUBDIR)/libiconv; then \
55952 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
55953 mv prev-libiconv stage1-libiconv; : ; \
55954 fi
55955 @endif libiconv
55956 @if zlib
55957 @if test -d $(HOST_SUBDIR)/zlib; then \
55958 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
55959 mv prev-zlib stage1-zlib; : ; \
55960 fi
55961 @endif zlib
55962 @if lto-plugin
55963 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55964 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
55965 mv prev-lto-plugin stage1-lto-plugin; : ; \
55966 fi
55967 @endif lto-plugin
55968 @if libctf
55969 @if test -d $(HOST_SUBDIR)/libctf; then \
55970 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
55971 mv prev-libctf stage1-libctf; : ; \
55972 fi
55973 @endif libctf
55974 @if test -d $(TARGET_SUBDIR); then \
55975 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
55976 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55977 fi
55978 rm -f stage_current
55979
55980 # Bubble a bug fix through all the stages up to stage profile. They are
55981 # remade, but not reconfigured. The next stage (if any) will not be
55982 # reconfigured either.
55983 .PHONY: stageprofile-bubble
55984 stageprofile-bubble:: stage1-bubble
55985 @r=`${PWD_COMMAND}`; export r; \
55986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55987 if test -f stageprofile-lean || test -f stage1-lean ; then \
55988 echo Skipping rebuild of stageprofile; \
55989 else \
55990 $(MAKE) stageprofile-start; \
55991 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
55992 fi
55993
55994 .PHONY: all-stageprofile clean-stageprofile
55995 do-clean: clean-stageprofile
55996
55997 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55998 # only possibility, but now it conflicts with no-bootstrap rules
55999 @if gcc-bootstrap
56000
56001
56002
56003
56004 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56005 distclean-stage1:: distclean-stageprofile
56006 .PHONY: distclean-stageprofile
56007 distclean-stageprofile::
56008 @: $(MAKE); $(stage)
56009 @test "`cat stage_last`" != stageprofile || rm -f stage_last
56010 rm -rf stageprofile-*
56011
56012
56013 @endif gcc-bootstrap
56014
56015
56016 .PHONY: stagetrain-start stagetrain-end
56017
56018 stagetrain-start::
56019 @: $(MAKE); $(stage); \
56020 echo stagetrain > stage_current; \
56021 echo stagetrain > stage_last; \
56022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56023 @if bfd
56024 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
56025 mkdir stagetrain-bfd; \
56026 mv stagetrain-bfd bfd; \
56027 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
56028 @endif bfd
56029 @if opcodes
56030 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
56031 mkdir stagetrain-opcodes; \
56032 mv stagetrain-opcodes opcodes; \
56033 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
56034 @endif opcodes
56035 @if binutils
56036 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
56037 mkdir stagetrain-binutils; \
56038 mv stagetrain-binutils binutils; \
56039 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
56040 @endif binutils
56041 @if fixincludes
56042 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
56043 mkdir stagetrain-fixincludes; \
56044 mv stagetrain-fixincludes fixincludes; \
56045 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
56046 @endif fixincludes
56047 @if gas
56048 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
56049 mkdir stagetrain-gas; \
56050 mv stagetrain-gas gas; \
56051 mv stageprofile-gas prev-gas || test -f stageprofile-lean
56052 @endif gas
56053 @if gcc
56054 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
56055 mkdir stagetrain-gcc; \
56056 mv stagetrain-gcc gcc; \
56057 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
56058 @endif gcc
56059 @if gmp
56060 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
56061 mkdir stagetrain-gmp; \
56062 mv stagetrain-gmp gmp; \
56063 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
56064 @endif gmp
56065 @if mpfr
56066 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
56067 mkdir stagetrain-mpfr; \
56068 mv stagetrain-mpfr mpfr; \
56069 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
56070 @endif mpfr
56071 @if mpc
56072 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
56073 mkdir stagetrain-mpc; \
56074 mv stagetrain-mpc mpc; \
56075 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
56076 @endif mpc
56077 @if isl
56078 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
56079 mkdir stagetrain-isl; \
56080 mv stagetrain-isl isl; \
56081 mv stageprofile-isl prev-isl || test -f stageprofile-lean
56082 @endif isl
56083 @if libelf
56084 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
56085 mkdir stagetrain-libelf; \
56086 mv stagetrain-libelf libelf; \
56087 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
56088 @endif libelf
56089 @if gold
56090 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
56091 mkdir stagetrain-gold; \
56092 mv stagetrain-gold gold; \
56093 mv stageprofile-gold prev-gold || test -f stageprofile-lean
56094 @endif gold
56095 @if intl
56096 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
56097 mkdir stagetrain-intl; \
56098 mv stagetrain-intl intl; \
56099 mv stageprofile-intl prev-intl || test -f stageprofile-lean
56100 @endif intl
56101 @if ld
56102 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
56103 mkdir stagetrain-ld; \
56104 mv stagetrain-ld ld; \
56105 mv stageprofile-ld prev-ld || test -f stageprofile-lean
56106 @endif ld
56107 @if libbacktrace
56108 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
56109 mkdir stagetrain-libbacktrace; \
56110 mv stagetrain-libbacktrace libbacktrace; \
56111 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
56112 @endif libbacktrace
56113 @if libcpp
56114 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
56115 mkdir stagetrain-libcpp; \
56116 mv stagetrain-libcpp libcpp; \
56117 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
56118 @endif libcpp
56119 @if libdecnumber
56120 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
56121 mkdir stagetrain-libdecnumber; \
56122 mv stagetrain-libdecnumber libdecnumber; \
56123 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
56124 @endif libdecnumber
56125 @if libiberty
56126 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
56127 mkdir stagetrain-libiberty; \
56128 mv stagetrain-libiberty libiberty; \
56129 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
56130 @endif libiberty
56131 @if libiberty-linker-plugin
56132 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
56133 mkdir stagetrain-libiberty-linker-plugin; \
56134 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
56135 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
56136 @endif libiberty-linker-plugin
56137 @if libiconv
56138 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
56139 mkdir stagetrain-libiconv; \
56140 mv stagetrain-libiconv libiconv; \
56141 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
56142 @endif libiconv
56143 @if zlib
56144 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
56145 mkdir stagetrain-zlib; \
56146 mv stagetrain-zlib zlib; \
56147 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
56148 @endif zlib
56149 @if lto-plugin
56150 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
56151 mkdir stagetrain-lto-plugin; \
56152 mv stagetrain-lto-plugin lto-plugin; \
56153 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
56154 @endif lto-plugin
56155 @if libctf
56156 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
56157 mkdir stagetrain-libctf; \
56158 mv stagetrain-libctf libctf; \
56159 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
56160 @endif libctf
56161 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
56162 mkdir stagetrain-$(TARGET_SUBDIR); \
56163 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56164 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
56165
56166 stagetrain-end::
56167 @if bfd
56168 @if test -d $(HOST_SUBDIR)/bfd; then \
56169 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
56170 mv prev-bfd stageprofile-bfd; : ; \
56171 fi
56172 @endif bfd
56173 @if opcodes
56174 @if test -d $(HOST_SUBDIR)/opcodes; then \
56175 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
56176 mv prev-opcodes stageprofile-opcodes; : ; \
56177 fi
56178 @endif opcodes
56179 @if binutils
56180 @if test -d $(HOST_SUBDIR)/binutils; then \
56181 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
56182 mv prev-binutils stageprofile-binutils; : ; \
56183 fi
56184 @endif binutils
56185 @if fixincludes
56186 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56187 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
56188 mv prev-fixincludes stageprofile-fixincludes; : ; \
56189 fi
56190 @endif fixincludes
56191 @if gas
56192 @if test -d $(HOST_SUBDIR)/gas; then \
56193 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
56194 mv prev-gas stageprofile-gas; : ; \
56195 fi
56196 @endif gas
56197 @if gcc
56198 @if test -d $(HOST_SUBDIR)/gcc; then \
56199 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
56200 mv prev-gcc stageprofile-gcc; : ; \
56201 fi
56202 @endif gcc
56203 @if gmp
56204 @if test -d $(HOST_SUBDIR)/gmp; then \
56205 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
56206 mv prev-gmp stageprofile-gmp; : ; \
56207 fi
56208 @endif gmp
56209 @if mpfr
56210 @if test -d $(HOST_SUBDIR)/mpfr; then \
56211 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
56212 mv prev-mpfr stageprofile-mpfr; : ; \
56213 fi
56214 @endif mpfr
56215 @if mpc
56216 @if test -d $(HOST_SUBDIR)/mpc; then \
56217 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
56218 mv prev-mpc stageprofile-mpc; : ; \
56219 fi
56220 @endif mpc
56221 @if isl
56222 @if test -d $(HOST_SUBDIR)/isl; then \
56223 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
56224 mv prev-isl stageprofile-isl; : ; \
56225 fi
56226 @endif isl
56227 @if libelf
56228 @if test -d $(HOST_SUBDIR)/libelf; then \
56229 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
56230 mv prev-libelf stageprofile-libelf; : ; \
56231 fi
56232 @endif libelf
56233 @if gold
56234 @if test -d $(HOST_SUBDIR)/gold; then \
56235 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
56236 mv prev-gold stageprofile-gold; : ; \
56237 fi
56238 @endif gold
56239 @if intl
56240 @if test -d $(HOST_SUBDIR)/intl; then \
56241 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
56242 mv prev-intl stageprofile-intl; : ; \
56243 fi
56244 @endif intl
56245 @if ld
56246 @if test -d $(HOST_SUBDIR)/ld; then \
56247 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
56248 mv prev-ld stageprofile-ld; : ; \
56249 fi
56250 @endif ld
56251 @if libbacktrace
56252 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56253 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
56254 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
56255 fi
56256 @endif libbacktrace
56257 @if libcpp
56258 @if test -d $(HOST_SUBDIR)/libcpp; then \
56259 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
56260 mv prev-libcpp stageprofile-libcpp; : ; \
56261 fi
56262 @endif libcpp
56263 @if libdecnumber
56264 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56265 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
56266 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
56267 fi
56268 @endif libdecnumber
56269 @if libiberty
56270 @if test -d $(HOST_SUBDIR)/libiberty; then \
56271 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
56272 mv prev-libiberty stageprofile-libiberty; : ; \
56273 fi
56274 @endif libiberty
56275 @if libiberty-linker-plugin
56276 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56277 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
56278 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
56279 fi
56280 @endif libiberty-linker-plugin
56281 @if libiconv
56282 @if test -d $(HOST_SUBDIR)/libiconv; then \
56283 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
56284 mv prev-libiconv stageprofile-libiconv; : ; \
56285 fi
56286 @endif libiconv
56287 @if zlib
56288 @if test -d $(HOST_SUBDIR)/zlib; then \
56289 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
56290 mv prev-zlib stageprofile-zlib; : ; \
56291 fi
56292 @endif zlib
56293 @if lto-plugin
56294 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56295 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
56296 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
56297 fi
56298 @endif lto-plugin
56299 @if libctf
56300 @if test -d $(HOST_SUBDIR)/libctf; then \
56301 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
56302 mv prev-libctf stageprofile-libctf; : ; \
56303 fi
56304 @endif libctf
56305 @if test -d $(TARGET_SUBDIR); then \
56306 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
56307 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
56308 fi
56309 rm -f stage_current
56310
56311 # Bubble a bug fix through all the stages up to stage train. They are
56312 # remade, but not reconfigured. The next stage (if any) will not be
56313 # reconfigured either.
56314 .PHONY: stagetrain-bubble
56315 stagetrain-bubble:: stageprofile-bubble
56316 @r=`${PWD_COMMAND}`; export r; \
56317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56318 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
56319 echo Skipping rebuild of stagetrain; \
56320 else \
56321 $(MAKE) stagetrain-start; \
56322 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
56323 fi
56324
56325 .PHONY: all-stagetrain clean-stagetrain
56326 do-clean: clean-stagetrain
56327
56328 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56329 # only possibility, but now it conflicts with no-bootstrap rules
56330 @if gcc-bootstrap
56331
56332
56333
56334
56335 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56336 distclean-stageprofile:: distclean-stagetrain
56337 .PHONY: distclean-stagetrain
56338 distclean-stagetrain::
56339 @: $(MAKE); $(stage)
56340 @test "`cat stage_last`" != stagetrain || rm -f stage_last
56341 rm -rf stagetrain-*
56342
56343
56344 @endif gcc-bootstrap
56345
56346
56347 .PHONY: stagefeedback-start stagefeedback-end
56348
56349 stagefeedback-start::
56350 @: $(MAKE); $(stage); \
56351 echo stagefeedback > stage_current; \
56352 echo stagefeedback > stage_last; \
56353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56354 @if bfd
56355 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
56356 mkdir stagefeedback-bfd; \
56357 mv stagefeedback-bfd bfd; \
56358 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
56359 @endif bfd
56360 @if opcodes
56361 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
56362 mkdir stagefeedback-opcodes; \
56363 mv stagefeedback-opcodes opcodes; \
56364 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
56365 @endif opcodes
56366 @if binutils
56367 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
56368 mkdir stagefeedback-binutils; \
56369 mv stagefeedback-binutils binutils; \
56370 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
56371 @endif binutils
56372 @if fixincludes
56373 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
56374 mkdir stagefeedback-fixincludes; \
56375 mv stagefeedback-fixincludes fixincludes; \
56376 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
56377 @endif fixincludes
56378 @if gas
56379 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
56380 mkdir stagefeedback-gas; \
56381 mv stagefeedback-gas gas; \
56382 mv stagetrain-gas prev-gas || test -f stagetrain-lean
56383 @endif gas
56384 @if gcc
56385 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
56386 mkdir stagefeedback-gcc; \
56387 mv stagefeedback-gcc gcc; \
56388 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
56389 @endif gcc
56390 @if gmp
56391 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
56392 mkdir stagefeedback-gmp; \
56393 mv stagefeedback-gmp gmp; \
56394 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
56395 @endif gmp
56396 @if mpfr
56397 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
56398 mkdir stagefeedback-mpfr; \
56399 mv stagefeedback-mpfr mpfr; \
56400 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
56401 @endif mpfr
56402 @if mpc
56403 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
56404 mkdir stagefeedback-mpc; \
56405 mv stagefeedback-mpc mpc; \
56406 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
56407 @endif mpc
56408 @if isl
56409 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
56410 mkdir stagefeedback-isl; \
56411 mv stagefeedback-isl isl; \
56412 mv stagetrain-isl prev-isl || test -f stagetrain-lean
56413 @endif isl
56414 @if libelf
56415 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
56416 mkdir stagefeedback-libelf; \
56417 mv stagefeedback-libelf libelf; \
56418 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
56419 @endif libelf
56420 @if gold
56421 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
56422 mkdir stagefeedback-gold; \
56423 mv stagefeedback-gold gold; \
56424 mv stagetrain-gold prev-gold || test -f stagetrain-lean
56425 @endif gold
56426 @if intl
56427 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
56428 mkdir stagefeedback-intl; \
56429 mv stagefeedback-intl intl; \
56430 mv stagetrain-intl prev-intl || test -f stagetrain-lean
56431 @endif intl
56432 @if ld
56433 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
56434 mkdir stagefeedback-ld; \
56435 mv stagefeedback-ld ld; \
56436 mv stagetrain-ld prev-ld || test -f stagetrain-lean
56437 @endif ld
56438 @if libbacktrace
56439 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
56440 mkdir stagefeedback-libbacktrace; \
56441 mv stagefeedback-libbacktrace libbacktrace; \
56442 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
56443 @endif libbacktrace
56444 @if libcpp
56445 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
56446 mkdir stagefeedback-libcpp; \
56447 mv stagefeedback-libcpp libcpp; \
56448 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
56449 @endif libcpp
56450 @if libdecnumber
56451 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
56452 mkdir stagefeedback-libdecnumber; \
56453 mv stagefeedback-libdecnumber libdecnumber; \
56454 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
56455 @endif libdecnumber
56456 @if libiberty
56457 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
56458 mkdir stagefeedback-libiberty; \
56459 mv stagefeedback-libiberty libiberty; \
56460 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
56461 @endif libiberty
56462 @if libiberty-linker-plugin
56463 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
56464 mkdir stagefeedback-libiberty-linker-plugin; \
56465 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56466 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
56467 @endif libiberty-linker-plugin
56468 @if libiconv
56469 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
56470 mkdir stagefeedback-libiconv; \
56471 mv stagefeedback-libiconv libiconv; \
56472 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
56473 @endif libiconv
56474 @if zlib
56475 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
56476 mkdir stagefeedback-zlib; \
56477 mv stagefeedback-zlib zlib; \
56478 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
56479 @endif zlib
56480 @if lto-plugin
56481 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
56482 mkdir stagefeedback-lto-plugin; \
56483 mv stagefeedback-lto-plugin lto-plugin; \
56484 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
56485 @endif lto-plugin
56486 @if libctf
56487 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
56488 mkdir stagefeedback-libctf; \
56489 mv stagefeedback-libctf libctf; \
56490 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
56491 @endif libctf
56492 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
56493 mkdir stagefeedback-$(TARGET_SUBDIR); \
56494 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56495 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
56496
56497 stagefeedback-end::
56498 @if bfd
56499 @if test -d $(HOST_SUBDIR)/bfd; then \
56500 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
56501 mv prev-bfd stagetrain-bfd; : ; \
56502 fi
56503 @endif bfd
56504 @if opcodes
56505 @if test -d $(HOST_SUBDIR)/opcodes; then \
56506 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
56507 mv prev-opcodes stagetrain-opcodes; : ; \
56508 fi
56509 @endif opcodes
56510 @if binutils
56511 @if test -d $(HOST_SUBDIR)/binutils; then \
56512 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
56513 mv prev-binutils stagetrain-binutils; : ; \
56514 fi
56515 @endif binutils
56516 @if fixincludes
56517 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56518 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
56519 mv prev-fixincludes stagetrain-fixincludes; : ; \
56520 fi
56521 @endif fixincludes
56522 @if gas
56523 @if test -d $(HOST_SUBDIR)/gas; then \
56524 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
56525 mv prev-gas stagetrain-gas; : ; \
56526 fi
56527 @endif gas
56528 @if gcc
56529 @if test -d $(HOST_SUBDIR)/gcc; then \
56530 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
56531 mv prev-gcc stagetrain-gcc; : ; \
56532 fi
56533 @endif gcc
56534 @if gmp
56535 @if test -d $(HOST_SUBDIR)/gmp; then \
56536 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
56537 mv prev-gmp stagetrain-gmp; : ; \
56538 fi
56539 @endif gmp
56540 @if mpfr
56541 @if test -d $(HOST_SUBDIR)/mpfr; then \
56542 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
56543 mv prev-mpfr stagetrain-mpfr; : ; \
56544 fi
56545 @endif mpfr
56546 @if mpc
56547 @if test -d $(HOST_SUBDIR)/mpc; then \
56548 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
56549 mv prev-mpc stagetrain-mpc; : ; \
56550 fi
56551 @endif mpc
56552 @if isl
56553 @if test -d $(HOST_SUBDIR)/isl; then \
56554 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
56555 mv prev-isl stagetrain-isl; : ; \
56556 fi
56557 @endif isl
56558 @if libelf
56559 @if test -d $(HOST_SUBDIR)/libelf; then \
56560 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
56561 mv prev-libelf stagetrain-libelf; : ; \
56562 fi
56563 @endif libelf
56564 @if gold
56565 @if test -d $(HOST_SUBDIR)/gold; then \
56566 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
56567 mv prev-gold stagetrain-gold; : ; \
56568 fi
56569 @endif gold
56570 @if intl
56571 @if test -d $(HOST_SUBDIR)/intl; then \
56572 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
56573 mv prev-intl stagetrain-intl; : ; \
56574 fi
56575 @endif intl
56576 @if ld
56577 @if test -d $(HOST_SUBDIR)/ld; then \
56578 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
56579 mv prev-ld stagetrain-ld; : ; \
56580 fi
56581 @endif ld
56582 @if libbacktrace
56583 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56584 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
56585 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
56586 fi
56587 @endif libbacktrace
56588 @if libcpp
56589 @if test -d $(HOST_SUBDIR)/libcpp; then \
56590 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
56591 mv prev-libcpp stagetrain-libcpp; : ; \
56592 fi
56593 @endif libcpp
56594 @if libdecnumber
56595 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56596 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
56597 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
56598 fi
56599 @endif libdecnumber
56600 @if libiberty
56601 @if test -d $(HOST_SUBDIR)/libiberty; then \
56602 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
56603 mv prev-libiberty stagetrain-libiberty; : ; \
56604 fi
56605 @endif libiberty
56606 @if libiberty-linker-plugin
56607 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56608 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
56609 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
56610 fi
56611 @endif libiberty-linker-plugin
56612 @if libiconv
56613 @if test -d $(HOST_SUBDIR)/libiconv; then \
56614 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
56615 mv prev-libiconv stagetrain-libiconv; : ; \
56616 fi
56617 @endif libiconv
56618 @if zlib
56619 @if test -d $(HOST_SUBDIR)/zlib; then \
56620 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
56621 mv prev-zlib stagetrain-zlib; : ; \
56622 fi
56623 @endif zlib
56624 @if lto-plugin
56625 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56626 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
56627 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
56628 fi
56629 @endif lto-plugin
56630 @if libctf
56631 @if test -d $(HOST_SUBDIR)/libctf; then \
56632 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
56633 mv prev-libctf stagetrain-libctf; : ; \
56634 fi
56635 @endif libctf
56636 @if test -d $(TARGET_SUBDIR); then \
56637 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
56638 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
56639 fi
56640 rm -f stage_current
56641
56642 # Bubble a bug fix through all the stages up to stage feedback. They are
56643 # remade, but not reconfigured. The next stage (if any) will not be
56644 # reconfigured either.
56645 .PHONY: stagefeedback-bubble
56646 stagefeedback-bubble:: stagetrain-bubble
56647 @r=`${PWD_COMMAND}`; export r; \
56648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56649 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
56650 echo Skipping rebuild of stagefeedback; \
56651 else \
56652 $(MAKE) stagefeedback-start; \
56653 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
56654 fi
56655
56656 .PHONY: all-stagefeedback clean-stagefeedback
56657 do-clean: clean-stagefeedback
56658
56659 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56660 # only possibility, but now it conflicts with no-bootstrap rules
56661 @if gcc-bootstrap
56662
56663
56664
56665 .PHONY: profiledbootstrap profiledbootstrap-lean
56666 profiledbootstrap:
56667 echo stagefeedback > stage_final
56668 @r=`${PWD_COMMAND}`; export r; \
56669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56670 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
56671 @: $(MAKE); $(unstage)
56672 @r=`${PWD_COMMAND}`; export r; \
56673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56674 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56675 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56676
56677 profiledbootstrap-lean:
56678 echo stagefeedback > stage_final
56679 @r=`${PWD_COMMAND}`; export r; \
56680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56681 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
56682 @: $(MAKE); $(unstage)
56683 @r=`${PWD_COMMAND}`; export r; \
56684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56685 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56686 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56687
56688
56689 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56690 distclean-stagetrain:: distclean-stagefeedback
56691 .PHONY: distclean-stagefeedback
56692 distclean-stagefeedback::
56693 @: $(MAKE); $(stage)
56694 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
56695 rm -rf stagefeedback-*
56696
56697
56698 @endif gcc-bootstrap
56699
56700
56701 .PHONY: stageautoprofile-start stageautoprofile-end
56702
56703 stageautoprofile-start::
56704 @: $(MAKE); $(stage); \
56705 echo stageautoprofile > stage_current; \
56706 echo stageautoprofile > stage_last; \
56707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56708 @if bfd
56709 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
56710 mkdir stageautoprofile-bfd; \
56711 mv stageautoprofile-bfd bfd; \
56712 mv stage1-bfd prev-bfd || test -f stage1-lean
56713 @endif bfd
56714 @if opcodes
56715 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
56716 mkdir stageautoprofile-opcodes; \
56717 mv stageautoprofile-opcodes opcodes; \
56718 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56719 @endif opcodes
56720 @if binutils
56721 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
56722 mkdir stageautoprofile-binutils; \
56723 mv stageautoprofile-binutils binutils; \
56724 mv stage1-binutils prev-binutils || test -f stage1-lean
56725 @endif binutils
56726 @if fixincludes
56727 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
56728 mkdir stageautoprofile-fixincludes; \
56729 mv stageautoprofile-fixincludes fixincludes; \
56730 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
56731 @endif fixincludes
56732 @if gas
56733 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
56734 mkdir stageautoprofile-gas; \
56735 mv stageautoprofile-gas gas; \
56736 mv stage1-gas prev-gas || test -f stage1-lean
56737 @endif gas
56738 @if gcc
56739 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
56740 mkdir stageautoprofile-gcc; \
56741 mv stageautoprofile-gcc gcc; \
56742 mv stage1-gcc prev-gcc || test -f stage1-lean
56743 @endif gcc
56744 @if gmp
56745 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
56746 mkdir stageautoprofile-gmp; \
56747 mv stageautoprofile-gmp gmp; \
56748 mv stage1-gmp prev-gmp || test -f stage1-lean
56749 @endif gmp
56750 @if mpfr
56751 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
56752 mkdir stageautoprofile-mpfr; \
56753 mv stageautoprofile-mpfr mpfr; \
56754 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56755 @endif mpfr
56756 @if mpc
56757 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
56758 mkdir stageautoprofile-mpc; \
56759 mv stageautoprofile-mpc mpc; \
56760 mv stage1-mpc prev-mpc || test -f stage1-lean
56761 @endif mpc
56762 @if isl
56763 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
56764 mkdir stageautoprofile-isl; \
56765 mv stageautoprofile-isl isl; \
56766 mv stage1-isl prev-isl || test -f stage1-lean
56767 @endif isl
56768 @if libelf
56769 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
56770 mkdir stageautoprofile-libelf; \
56771 mv stageautoprofile-libelf libelf; \
56772 mv stage1-libelf prev-libelf || test -f stage1-lean
56773 @endif libelf
56774 @if gold
56775 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
56776 mkdir stageautoprofile-gold; \
56777 mv stageautoprofile-gold gold; \
56778 mv stage1-gold prev-gold || test -f stage1-lean
56779 @endif gold
56780 @if intl
56781 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
56782 mkdir stageautoprofile-intl; \
56783 mv stageautoprofile-intl intl; \
56784 mv stage1-intl prev-intl || test -f stage1-lean
56785 @endif intl
56786 @if ld
56787 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
56788 mkdir stageautoprofile-ld; \
56789 mv stageautoprofile-ld ld; \
56790 mv stage1-ld prev-ld || test -f stage1-lean
56791 @endif ld
56792 @if libbacktrace
56793 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
56794 mkdir stageautoprofile-libbacktrace; \
56795 mv stageautoprofile-libbacktrace libbacktrace; \
56796 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56797 @endif libbacktrace
56798 @if libcpp
56799 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
56800 mkdir stageautoprofile-libcpp; \
56801 mv stageautoprofile-libcpp libcpp; \
56802 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56803 @endif libcpp
56804 @if libdecnumber
56805 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
56806 mkdir stageautoprofile-libdecnumber; \
56807 mv stageautoprofile-libdecnumber libdecnumber; \
56808 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56809 @endif libdecnumber
56810 @if libiberty
56811 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
56812 mkdir stageautoprofile-libiberty; \
56813 mv stageautoprofile-libiberty libiberty; \
56814 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56815 @endif libiberty
56816 @if libiberty-linker-plugin
56817 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
56818 mkdir stageautoprofile-libiberty-linker-plugin; \
56819 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
56820 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56821 @endif libiberty-linker-plugin
56822 @if libiconv
56823 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
56824 mkdir stageautoprofile-libiconv; \
56825 mv stageautoprofile-libiconv libiconv; \
56826 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56827 @endif libiconv
56828 @if zlib
56829 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
56830 mkdir stageautoprofile-zlib; \
56831 mv stageautoprofile-zlib zlib; \
56832 mv stage1-zlib prev-zlib || test -f stage1-lean
56833 @endif zlib
56834 @if lto-plugin
56835 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
56836 mkdir stageautoprofile-lto-plugin; \
56837 mv stageautoprofile-lto-plugin lto-plugin; \
56838 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56839 @endif lto-plugin
56840 @if libctf
56841 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
56842 mkdir stageautoprofile-libctf; \
56843 mv stageautoprofile-libctf libctf; \
56844 mv stage1-libctf prev-libctf || test -f stage1-lean
56845 @endif libctf
56846 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
56847 mkdir stageautoprofile-$(TARGET_SUBDIR); \
56848 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56849 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56850
56851 stageautoprofile-end::
56852 @if bfd
56853 @if test -d $(HOST_SUBDIR)/bfd; then \
56854 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
56855 mv prev-bfd stage1-bfd; : ; \
56856 fi
56857 @endif bfd
56858 @if opcodes
56859 @if test -d $(HOST_SUBDIR)/opcodes; then \
56860 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
56861 mv prev-opcodes stage1-opcodes; : ; \
56862 fi
56863 @endif opcodes
56864 @if binutils
56865 @if test -d $(HOST_SUBDIR)/binutils; then \
56866 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
56867 mv prev-binutils stage1-binutils; : ; \
56868 fi
56869 @endif binutils
56870 @if fixincludes
56871 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56872 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
56873 mv prev-fixincludes stage1-fixincludes; : ; \
56874 fi
56875 @endif fixincludes
56876 @if gas
56877 @if test -d $(HOST_SUBDIR)/gas; then \
56878 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
56879 mv prev-gas stage1-gas; : ; \
56880 fi
56881 @endif gas
56882 @if gcc
56883 @if test -d $(HOST_SUBDIR)/gcc; then \
56884 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
56885 mv prev-gcc stage1-gcc; : ; \
56886 fi
56887 @endif gcc
56888 @if gmp
56889 @if test -d $(HOST_SUBDIR)/gmp; then \
56890 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
56891 mv prev-gmp stage1-gmp; : ; \
56892 fi
56893 @endif gmp
56894 @if mpfr
56895 @if test -d $(HOST_SUBDIR)/mpfr; then \
56896 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
56897 mv prev-mpfr stage1-mpfr; : ; \
56898 fi
56899 @endif mpfr
56900 @if mpc
56901 @if test -d $(HOST_SUBDIR)/mpc; then \
56902 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
56903 mv prev-mpc stage1-mpc; : ; \
56904 fi
56905 @endif mpc
56906 @if isl
56907 @if test -d $(HOST_SUBDIR)/isl; then \
56908 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
56909 mv prev-isl stage1-isl; : ; \
56910 fi
56911 @endif isl
56912 @if libelf
56913 @if test -d $(HOST_SUBDIR)/libelf; then \
56914 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
56915 mv prev-libelf stage1-libelf; : ; \
56916 fi
56917 @endif libelf
56918 @if gold
56919 @if test -d $(HOST_SUBDIR)/gold; then \
56920 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
56921 mv prev-gold stage1-gold; : ; \
56922 fi
56923 @endif gold
56924 @if intl
56925 @if test -d $(HOST_SUBDIR)/intl; then \
56926 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
56927 mv prev-intl stage1-intl; : ; \
56928 fi
56929 @endif intl
56930 @if ld
56931 @if test -d $(HOST_SUBDIR)/ld; then \
56932 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
56933 mv prev-ld stage1-ld; : ; \
56934 fi
56935 @endif ld
56936 @if libbacktrace
56937 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56938 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
56939 mv prev-libbacktrace stage1-libbacktrace; : ; \
56940 fi
56941 @endif libbacktrace
56942 @if libcpp
56943 @if test -d $(HOST_SUBDIR)/libcpp; then \
56944 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
56945 mv prev-libcpp stage1-libcpp; : ; \
56946 fi
56947 @endif libcpp
56948 @if libdecnumber
56949 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56950 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
56951 mv prev-libdecnumber stage1-libdecnumber; : ; \
56952 fi
56953 @endif libdecnumber
56954 @if libiberty
56955 @if test -d $(HOST_SUBDIR)/libiberty; then \
56956 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
56957 mv prev-libiberty stage1-libiberty; : ; \
56958 fi
56959 @endif libiberty
56960 @if libiberty-linker-plugin
56961 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56962 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
56963 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56964 fi
56965 @endif libiberty-linker-plugin
56966 @if libiconv
56967 @if test -d $(HOST_SUBDIR)/libiconv; then \
56968 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
56969 mv prev-libiconv stage1-libiconv; : ; \
56970 fi
56971 @endif libiconv
56972 @if zlib
56973 @if test -d $(HOST_SUBDIR)/zlib; then \
56974 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
56975 mv prev-zlib stage1-zlib; : ; \
56976 fi
56977 @endif zlib
56978 @if lto-plugin
56979 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56980 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
56981 mv prev-lto-plugin stage1-lto-plugin; : ; \
56982 fi
56983 @endif lto-plugin
56984 @if libctf
56985 @if test -d $(HOST_SUBDIR)/libctf; then \
56986 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
56987 mv prev-libctf stage1-libctf; : ; \
56988 fi
56989 @endif libctf
56990 @if test -d $(TARGET_SUBDIR); then \
56991 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
56992 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56993 fi
56994 rm -f stage_current
56995
56996 # Bubble a bug fix through all the stages up to stage autoprofile. They are
56997 # remade, but not reconfigured. The next stage (if any) will not be
56998 # reconfigured either.
56999 .PHONY: stageautoprofile-bubble
57000 stageautoprofile-bubble:: stage1-bubble
57001 @r=`${PWD_COMMAND}`; export r; \
57002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57003 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
57004 echo Skipping rebuild of stageautoprofile; \
57005 else \
57006 $(MAKE) stageautoprofile-start; \
57007 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
57008 fi
57009
57010 .PHONY: all-stageautoprofile clean-stageautoprofile
57011 do-clean: clean-stageautoprofile
57012
57013 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57014 # only possibility, but now it conflicts with no-bootstrap rules
57015 @if gcc-bootstrap
57016
57017
57018
57019
57020 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57021 distclean-stage1:: distclean-stageautoprofile
57022 .PHONY: distclean-stageautoprofile
57023 distclean-stageautoprofile::
57024 @: $(MAKE); $(stage)
57025 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
57026 rm -rf stageautoprofile-*
57027
57028
57029 @endif gcc-bootstrap
57030
57031
57032 .PHONY: stageautofeedback-start stageautofeedback-end
57033
57034 stageautofeedback-start::
57035 @: $(MAKE); $(stage); \
57036 echo stageautofeedback > stage_current; \
57037 echo stageautofeedback > stage_last; \
57038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57039 @if bfd
57040 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
57041 mkdir stageautofeedback-bfd; \
57042 mv stageautofeedback-bfd bfd; \
57043 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
57044 @endif bfd
57045 @if opcodes
57046 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
57047 mkdir stageautofeedback-opcodes; \
57048 mv stageautofeedback-opcodes opcodes; \
57049 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
57050 @endif opcodes
57051 @if binutils
57052 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
57053 mkdir stageautofeedback-binutils; \
57054 mv stageautofeedback-binutils binutils; \
57055 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
57056 @endif binutils
57057 @if fixincludes
57058 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
57059 mkdir stageautofeedback-fixincludes; \
57060 mv stageautofeedback-fixincludes fixincludes; \
57061 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
57062 @endif fixincludes
57063 @if gas
57064 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
57065 mkdir stageautofeedback-gas; \
57066 mv stageautofeedback-gas gas; \
57067 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
57068 @endif gas
57069 @if gcc
57070 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
57071 mkdir stageautofeedback-gcc; \
57072 mv stageautofeedback-gcc gcc; \
57073 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
57074 @endif gcc
57075 @if gmp
57076 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
57077 mkdir stageautofeedback-gmp; \
57078 mv stageautofeedback-gmp gmp; \
57079 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
57080 @endif gmp
57081 @if mpfr
57082 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
57083 mkdir stageautofeedback-mpfr; \
57084 mv stageautofeedback-mpfr mpfr; \
57085 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
57086 @endif mpfr
57087 @if mpc
57088 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
57089 mkdir stageautofeedback-mpc; \
57090 mv stageautofeedback-mpc mpc; \
57091 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
57092 @endif mpc
57093 @if isl
57094 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
57095 mkdir stageautofeedback-isl; \
57096 mv stageautofeedback-isl isl; \
57097 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
57098 @endif isl
57099 @if libelf
57100 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
57101 mkdir stageautofeedback-libelf; \
57102 mv stageautofeedback-libelf libelf; \
57103 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
57104 @endif libelf
57105 @if gold
57106 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
57107 mkdir stageautofeedback-gold; \
57108 mv stageautofeedback-gold gold; \
57109 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
57110 @endif gold
57111 @if intl
57112 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
57113 mkdir stageautofeedback-intl; \
57114 mv stageautofeedback-intl intl; \
57115 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
57116 @endif intl
57117 @if ld
57118 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
57119 mkdir stageautofeedback-ld; \
57120 mv stageautofeedback-ld ld; \
57121 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
57122 @endif ld
57123 @if libbacktrace
57124 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
57125 mkdir stageautofeedback-libbacktrace; \
57126 mv stageautofeedback-libbacktrace libbacktrace; \
57127 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
57128 @endif libbacktrace
57129 @if libcpp
57130 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
57131 mkdir stageautofeedback-libcpp; \
57132 mv stageautofeedback-libcpp libcpp; \
57133 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
57134 @endif libcpp
57135 @if libdecnumber
57136 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
57137 mkdir stageautofeedback-libdecnumber; \
57138 mv stageautofeedback-libdecnumber libdecnumber; \
57139 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
57140 @endif libdecnumber
57141 @if libiberty
57142 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
57143 mkdir stageautofeedback-libiberty; \
57144 mv stageautofeedback-libiberty libiberty; \
57145 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
57146 @endif libiberty
57147 @if libiberty-linker-plugin
57148 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
57149 mkdir stageautofeedback-libiberty-linker-plugin; \
57150 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
57151 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
57152 @endif libiberty-linker-plugin
57153 @if libiconv
57154 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
57155 mkdir stageautofeedback-libiconv; \
57156 mv stageautofeedback-libiconv libiconv; \
57157 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
57158 @endif libiconv
57159 @if zlib
57160 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
57161 mkdir stageautofeedback-zlib; \
57162 mv stageautofeedback-zlib zlib; \
57163 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
57164 @endif zlib
57165 @if lto-plugin
57166 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
57167 mkdir stageautofeedback-lto-plugin; \
57168 mv stageautofeedback-lto-plugin lto-plugin; \
57169 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
57170 @endif lto-plugin
57171 @if libctf
57172 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
57173 mkdir stageautofeedback-libctf; \
57174 mv stageautofeedback-libctf libctf; \
57175 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
57176 @endif libctf
57177 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
57178 mkdir stageautofeedback-$(TARGET_SUBDIR); \
57179 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57180 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
57181
57182 stageautofeedback-end::
57183 @if bfd
57184 @if test -d $(HOST_SUBDIR)/bfd; then \
57185 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
57186 mv prev-bfd stageautoprofile-bfd; : ; \
57187 fi
57188 @endif bfd
57189 @if opcodes
57190 @if test -d $(HOST_SUBDIR)/opcodes; then \
57191 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
57192 mv prev-opcodes stageautoprofile-opcodes; : ; \
57193 fi
57194 @endif opcodes
57195 @if binutils
57196 @if test -d $(HOST_SUBDIR)/binutils; then \
57197 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
57198 mv prev-binutils stageautoprofile-binutils; : ; \
57199 fi
57200 @endif binutils
57201 @if fixincludes
57202 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57203 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
57204 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
57205 fi
57206 @endif fixincludes
57207 @if gas
57208 @if test -d $(HOST_SUBDIR)/gas; then \
57209 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
57210 mv prev-gas stageautoprofile-gas; : ; \
57211 fi
57212 @endif gas
57213 @if gcc
57214 @if test -d $(HOST_SUBDIR)/gcc; then \
57215 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
57216 mv prev-gcc stageautoprofile-gcc; : ; \
57217 fi
57218 @endif gcc
57219 @if gmp
57220 @if test -d $(HOST_SUBDIR)/gmp; then \
57221 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
57222 mv prev-gmp stageautoprofile-gmp; : ; \
57223 fi
57224 @endif gmp
57225 @if mpfr
57226 @if test -d $(HOST_SUBDIR)/mpfr; then \
57227 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
57228 mv prev-mpfr stageautoprofile-mpfr; : ; \
57229 fi
57230 @endif mpfr
57231 @if mpc
57232 @if test -d $(HOST_SUBDIR)/mpc; then \
57233 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
57234 mv prev-mpc stageautoprofile-mpc; : ; \
57235 fi
57236 @endif mpc
57237 @if isl
57238 @if test -d $(HOST_SUBDIR)/isl; then \
57239 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
57240 mv prev-isl stageautoprofile-isl; : ; \
57241 fi
57242 @endif isl
57243 @if libelf
57244 @if test -d $(HOST_SUBDIR)/libelf; then \
57245 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
57246 mv prev-libelf stageautoprofile-libelf; : ; \
57247 fi
57248 @endif libelf
57249 @if gold
57250 @if test -d $(HOST_SUBDIR)/gold; then \
57251 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
57252 mv prev-gold stageautoprofile-gold; : ; \
57253 fi
57254 @endif gold
57255 @if intl
57256 @if test -d $(HOST_SUBDIR)/intl; then \
57257 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
57258 mv prev-intl stageautoprofile-intl; : ; \
57259 fi
57260 @endif intl
57261 @if ld
57262 @if test -d $(HOST_SUBDIR)/ld; then \
57263 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
57264 mv prev-ld stageautoprofile-ld; : ; \
57265 fi
57266 @endif ld
57267 @if libbacktrace
57268 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57269 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
57270 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
57271 fi
57272 @endif libbacktrace
57273 @if libcpp
57274 @if test -d $(HOST_SUBDIR)/libcpp; then \
57275 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
57276 mv prev-libcpp stageautoprofile-libcpp; : ; \
57277 fi
57278 @endif libcpp
57279 @if libdecnumber
57280 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57281 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
57282 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
57283 fi
57284 @endif libdecnumber
57285 @if libiberty
57286 @if test -d $(HOST_SUBDIR)/libiberty; then \
57287 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
57288 mv prev-libiberty stageautoprofile-libiberty; : ; \
57289 fi
57290 @endif libiberty
57291 @if libiberty-linker-plugin
57292 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57293 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
57294 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
57295 fi
57296 @endif libiberty-linker-plugin
57297 @if libiconv
57298 @if test -d $(HOST_SUBDIR)/libiconv; then \
57299 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
57300 mv prev-libiconv stageautoprofile-libiconv; : ; \
57301 fi
57302 @endif libiconv
57303 @if zlib
57304 @if test -d $(HOST_SUBDIR)/zlib; then \
57305 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
57306 mv prev-zlib stageautoprofile-zlib; : ; \
57307 fi
57308 @endif zlib
57309 @if lto-plugin
57310 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57311 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
57312 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
57313 fi
57314 @endif lto-plugin
57315 @if libctf
57316 @if test -d $(HOST_SUBDIR)/libctf; then \
57317 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
57318 mv prev-libctf stageautoprofile-libctf; : ; \
57319 fi
57320 @endif libctf
57321 @if test -d $(TARGET_SUBDIR); then \
57322 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
57323 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
57324 fi
57325 rm -f stage_current
57326
57327 # Bubble a bug fix through all the stages up to stage autofeedback. They are
57328 # remade, but not reconfigured. The next stage (if any) will not be
57329 # reconfigured either.
57330 .PHONY: stageautofeedback-bubble
57331 stageautofeedback-bubble:: stageautoprofile-bubble
57332 @r=`${PWD_COMMAND}`; export r; \
57333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57334 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
57335 echo Skipping rebuild of stageautofeedback; \
57336 else \
57337 $(MAKE) stageautofeedback-start; \
57338 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
57339 fi
57340
57341 .PHONY: all-stageautofeedback clean-stageautofeedback
57342 do-clean: clean-stageautofeedback
57343
57344 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57345 # only possibility, but now it conflicts with no-bootstrap rules
57346 @if gcc-bootstrap
57347
57348
57349
57350 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
57351 autoprofiledbootstrap:
57352 echo stageautofeedback > stage_final
57353 @r=`${PWD_COMMAND}`; export r; \
57354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57355 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
57356 @: $(MAKE); $(unstage)
57357 @r=`${PWD_COMMAND}`; export r; \
57358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57359 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57360 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57361
57362 autoprofiledbootstrap-lean:
57363 echo stageautofeedback > stage_final
57364 @r=`${PWD_COMMAND}`; export r; \
57365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
57367 @: $(MAKE); $(unstage)
57368 @r=`${PWD_COMMAND}`; export r; \
57369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57370 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57371 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57372
57373
57374 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57375 distclean-stageautoprofile:: distclean-stageautofeedback
57376 .PHONY: distclean-stageautofeedback
57377 distclean-stageautofeedback::
57378 @: $(MAKE); $(stage)
57379 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
57380 rm -rf stageautofeedback-*
57381
57382
57383 @endif gcc-bootstrap
57384
57385
57386
57387 stageprofile-end::
57388 $(MAKE) distclean-stagefeedback
57389
57390 stagefeedback-start::
57391 @r=`${PWD_COMMAND}`; export r; \
57392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57393 for i in prev-*; do \
57394 j=`echo $$i | sed s/^prev-//`; \
57395 cd $$r/$$i && \
57396 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
57397 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
57398 done
57399
57400 @if gcc-bootstrap
57401 do-distclean: distclean-stage1
57402
57403 # Provide a GCC build when we're building target libraries. This does
57404 # not work as a dependency, just as the minimum necessary to avoid errors.
57405 stage_last:
57406 @r=`${PWD_COMMAND}`; export r; \
57407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57408 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
57409
57410 # Same as unstage, but not phony and defaulting to stage1-start. We place
57411 # it in the dependency so that for example `make -j3 all-gcc' works.
57412 stage_current:
57413 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
57414
57415 .PHONY: restrap
57416 restrap::
57417 @: $(MAKE); $(stage)
57418 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
57419 restrap:: all
57420 @endif gcc-bootstrap
57421
57422 # --------------------------------------
57423 # Dependencies between different modules
57424 # --------------------------------------
57425
57426 # Generic dependencies for target modules on host stuff, especially gcc
57427 @if gcc-bootstrap
57428 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
57429 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
57430 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
57431 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
57432 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
57433 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
57434 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
57435 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
57436 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
57437 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
57438 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
57439 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
57440 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
57441 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
57442 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
57443 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
57444 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
57445 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
57446 configure-stage1-target-libvtv: maybe-all-stage1-gcc
57447 configure-stage2-target-libvtv: maybe-all-stage2-gcc
57448 configure-stage3-target-libvtv: maybe-all-stage3-gcc
57449 configure-stage4-target-libvtv: maybe-all-stage4-gcc
57450 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
57451 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
57452 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
57453 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
57454 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
57455 configure-target-liboffloadmic: stage_last
57456 configure-target-libssp: stage_last
57457 configure-target-newlib: stage_last
57458 configure-stage1-target-libgcc: maybe-all-stage1-gcc
57459 configure-stage2-target-libgcc: maybe-all-stage2-gcc
57460 configure-stage3-target-libgcc: maybe-all-stage3-gcc
57461 configure-stage4-target-libgcc: maybe-all-stage4-gcc
57462 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
57463 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
57464 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
57465 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
57466 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
57467 configure-target-libbacktrace: stage_last
57468 configure-target-libquadmath: stage_last
57469 configure-target-libgfortran: stage_last
57470 configure-target-libobjc: stage_last
57471 configure-target-libgo: stage_last
57472 configure-target-libhsail-rt: stage_last
57473 configure-target-libphobos: stage_last
57474 configure-target-libtermcap: stage_last
57475 configure-target-winsup: stage_last
57476 configure-target-libgloss: stage_last
57477 configure-target-libffi: stage_last
57478 configure-target-zlib: stage_last
57479 configure-target-rda: stage_last
57480 configure-target-libada: stage_last
57481 configure-stage1-target-libgomp: maybe-all-stage1-gcc
57482 configure-stage2-target-libgomp: maybe-all-stage2-gcc
57483 configure-stage3-target-libgomp: maybe-all-stage3-gcc
57484 configure-stage4-target-libgomp: maybe-all-stage4-gcc
57485 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
57486 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
57487 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
57488 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
57489 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
57490 configure-target-libitm: stage_last
57491 configure-target-libatomic: stage_last
57492 @endif gcc-bootstrap
57493
57494 @if gcc-no-bootstrap
57495 configure-target-libstdc++-v3: maybe-all-gcc
57496 configure-target-libsanitizer: maybe-all-gcc
57497 configure-target-libvtv: maybe-all-gcc
57498 configure-target-liboffloadmic: maybe-all-gcc
57499 configure-target-libssp: maybe-all-gcc
57500 configure-target-newlib: maybe-all-gcc
57501 configure-target-libgcc: maybe-all-gcc
57502 configure-target-libbacktrace: maybe-all-gcc
57503 configure-target-libquadmath: maybe-all-gcc
57504 configure-target-libgfortran: maybe-all-gcc
57505 configure-target-libobjc: maybe-all-gcc
57506 configure-target-libgo: maybe-all-gcc
57507 configure-target-libhsail-rt: maybe-all-gcc
57508 configure-target-libphobos: maybe-all-gcc
57509 configure-target-libtermcap: maybe-all-gcc
57510 configure-target-winsup: maybe-all-gcc
57511 configure-target-libgloss: maybe-all-gcc
57512 configure-target-libffi: maybe-all-gcc
57513 configure-target-zlib: maybe-all-gcc
57514 configure-target-rda: maybe-all-gcc
57515 configure-target-libada: maybe-all-gcc
57516 configure-target-libgomp: maybe-all-gcc
57517 configure-target-libitm: maybe-all-gcc
57518 configure-target-libatomic: maybe-all-gcc
57519 @endif gcc-no-bootstrap
57520
57521
57522 # There are two types of dependencies here: 'hard' dependencies, where one
57523 # module simply won't build without the other; and 'soft' dependencies, where
57524 # if the depended-on module is missing, the depending module will do without
57525 # or find a substitute somewhere (perhaps installed). Soft dependencies
57526 # are made here to depend on a 'maybe-' target. If you're not sure,
57527 # it's safer to use a soft dependency.
57528
57529
57530
57531
57532
57533
57534 # With all the machinery above in place, it is pretty easy to generate
57535 # dependencies. Host dependencies are a bit more complex because we have
57536 # to check for bootstrap/prebootstrap dependencies. To resolve
57537 # prebootstrap dependencies, prebootstrap modules are gathered in
57538 # a hash table.
57539 all-build-bison: maybe-all-build-texinfo
57540 all-build-flex: maybe-all-build-texinfo
57541 all-build-flex: maybe-all-build-bison
57542 all-build-flex: maybe-all-build-m4
57543 all-build-libiberty: maybe-all-build-texinfo
57544 all-build-m4: maybe-all-build-texinfo
57545 all-build-fixincludes: maybe-all-build-libiberty
57546 all-build-libcpp: maybe-all-build-libiberty
57547 configure-gcc: maybe-configure-intl
57548 configure-stage1-gcc: maybe-configure-stage1-intl
57549 configure-stage2-gcc: maybe-configure-stage2-intl
57550 configure-stage3-gcc: maybe-configure-stage3-intl
57551 configure-stage4-gcc: maybe-configure-stage4-intl
57552 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
57553 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
57554 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
57555 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
57556 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
57557 configure-gcc: maybe-all-gmp
57558 configure-stage1-gcc: maybe-all-stage1-gmp
57559 configure-stage2-gcc: maybe-all-stage2-gmp
57560 configure-stage3-gcc: maybe-all-stage3-gmp
57561 configure-stage4-gcc: maybe-all-stage4-gmp
57562 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
57563 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
57564 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
57565 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
57566 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
57567 configure-gcc: maybe-all-mpfr
57568 configure-stage1-gcc: maybe-all-stage1-mpfr
57569 configure-stage2-gcc: maybe-all-stage2-mpfr
57570 configure-stage3-gcc: maybe-all-stage3-mpfr
57571 configure-stage4-gcc: maybe-all-stage4-mpfr
57572 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
57573 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
57574 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57575 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
57576 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
57577 configure-gcc: maybe-all-mpc
57578 configure-stage1-gcc: maybe-all-stage1-mpc
57579 configure-stage2-gcc: maybe-all-stage2-mpc
57580 configure-stage3-gcc: maybe-all-stage3-mpc
57581 configure-stage4-gcc: maybe-all-stage4-mpc
57582 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
57583 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
57584 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57585 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
57586 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
57587 configure-gcc: maybe-all-isl
57588 configure-stage1-gcc: maybe-all-stage1-isl
57589 configure-stage2-gcc: maybe-all-stage2-isl
57590 configure-stage3-gcc: maybe-all-stage3-isl
57591 configure-stage4-gcc: maybe-all-stage4-isl
57592 configure-stageprofile-gcc: maybe-all-stageprofile-isl
57593 configure-stagetrain-gcc: maybe-all-stagetrain-isl
57594 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
57595 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
57596 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
57597 configure-gcc: maybe-all-lto-plugin
57598 configure-stage1-gcc: maybe-all-stage1-lto-plugin
57599 configure-stage2-gcc: maybe-all-stage2-lto-plugin
57600 configure-stage3-gcc: maybe-all-stage3-lto-plugin
57601 configure-stage4-gcc: maybe-all-stage4-lto-plugin
57602 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
57603 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
57604 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
57605 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
57606 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
57607 configure-gcc: maybe-all-binutils
57608 configure-stage1-gcc: maybe-all-stage1-binutils
57609 configure-stage2-gcc: maybe-all-stage2-binutils
57610 configure-stage3-gcc: maybe-all-stage3-binutils
57611 configure-stage4-gcc: maybe-all-stage4-binutils
57612 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
57613 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
57614 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
57615 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
57616 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
57617 configure-gcc: maybe-all-gas
57618 configure-stage1-gcc: maybe-all-stage1-gas
57619 configure-stage2-gcc: maybe-all-stage2-gas
57620 configure-stage3-gcc: maybe-all-stage3-gas
57621 configure-stage4-gcc: maybe-all-stage4-gas
57622 configure-stageprofile-gcc: maybe-all-stageprofile-gas
57623 configure-stagetrain-gcc: maybe-all-stagetrain-gas
57624 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
57625 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
57626 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
57627 configure-gcc: maybe-all-ld
57628 configure-stage1-gcc: maybe-all-stage1-ld
57629 configure-stage2-gcc: maybe-all-stage2-ld
57630 configure-stage3-gcc: maybe-all-stage3-ld
57631 configure-stage4-gcc: maybe-all-stage4-ld
57632 configure-stageprofile-gcc: maybe-all-stageprofile-ld
57633 configure-stagetrain-gcc: maybe-all-stagetrain-ld
57634 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
57635 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
57636 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
57637 configure-gcc: maybe-all-gold
57638 configure-stage1-gcc: maybe-all-stage1-gold
57639 configure-stage2-gcc: maybe-all-stage2-gold
57640 configure-stage3-gcc: maybe-all-stage3-gold
57641 configure-stage4-gcc: maybe-all-stage4-gold
57642 configure-stageprofile-gcc: maybe-all-stageprofile-gold
57643 configure-stagetrain-gcc: maybe-all-stagetrain-gold
57644 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
57645 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
57646 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
57647 configure-gcc: maybe-all-libelf
57648 configure-stage1-gcc: maybe-all-stage1-libelf
57649 configure-stage2-gcc: maybe-all-stage2-libelf
57650 configure-stage3-gcc: maybe-all-stage3-libelf
57651 configure-stage4-gcc: maybe-all-stage4-libelf
57652 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
57653 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
57654 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
57655 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
57656 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
57657 configure-gcc: maybe-all-libiconv
57658 configure-stage1-gcc: maybe-all-stage1-libiconv
57659 configure-stage2-gcc: maybe-all-stage2-libiconv
57660 configure-stage3-gcc: maybe-all-stage3-libiconv
57661 configure-stage4-gcc: maybe-all-stage4-libiconv
57662 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
57663 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
57664 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
57665 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57666 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57667 all-gcc: all-libiberty
57668 all-stage1-gcc: all-stage1-libiberty
57669 all-stage2-gcc: all-stage2-libiberty
57670 all-stage3-gcc: all-stage3-libiberty
57671 all-stage4-gcc: all-stage4-libiberty
57672 all-stageprofile-gcc: all-stageprofile-libiberty
57673 all-stagetrain-gcc: all-stagetrain-libiberty
57674 all-stagefeedback-gcc: all-stagefeedback-libiberty
57675 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
57676 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
57677 all-gcc: maybe-all-intl
57678 all-stage1-gcc: maybe-all-stage1-intl
57679 all-stage2-gcc: maybe-all-stage2-intl
57680 all-stage3-gcc: maybe-all-stage3-intl
57681 all-stage4-gcc: maybe-all-stage4-intl
57682 all-stageprofile-gcc: maybe-all-stageprofile-intl
57683 all-stagetrain-gcc: maybe-all-stagetrain-intl
57684 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
57685 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
57686 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
57687 all-gcc: maybe-all-mpfr
57688 all-stage1-gcc: maybe-all-stage1-mpfr
57689 all-stage2-gcc: maybe-all-stage2-mpfr
57690 all-stage3-gcc: maybe-all-stage3-mpfr
57691 all-stage4-gcc: maybe-all-stage4-mpfr
57692 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
57693 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
57694 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57695 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
57696 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
57697 all-gcc: maybe-all-mpc
57698 all-stage1-gcc: maybe-all-stage1-mpc
57699 all-stage2-gcc: maybe-all-stage2-mpc
57700 all-stage3-gcc: maybe-all-stage3-mpc
57701 all-stage4-gcc: maybe-all-stage4-mpc
57702 all-stageprofile-gcc: maybe-all-stageprofile-mpc
57703 all-stagetrain-gcc: maybe-all-stagetrain-mpc
57704 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57705 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
57706 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
57707 all-gcc: maybe-all-isl
57708 all-stage1-gcc: maybe-all-stage1-isl
57709 all-stage2-gcc: maybe-all-stage2-isl
57710 all-stage3-gcc: maybe-all-stage3-isl
57711 all-stage4-gcc: maybe-all-stage4-isl
57712 all-stageprofile-gcc: maybe-all-stageprofile-isl
57713 all-stagetrain-gcc: maybe-all-stagetrain-isl
57714 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
57715 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
57716 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
57717 all-gcc: maybe-all-build-texinfo
57718 all-stage1-gcc: maybe-all-build-texinfo
57719 all-stage2-gcc: maybe-all-build-texinfo
57720 all-stage3-gcc: maybe-all-build-texinfo
57721 all-stage4-gcc: maybe-all-build-texinfo
57722 all-stageprofile-gcc: maybe-all-build-texinfo
57723 all-stagetrain-gcc: maybe-all-build-texinfo
57724 all-stagefeedback-gcc: maybe-all-build-texinfo
57725 all-stageautoprofile-gcc: maybe-all-build-texinfo
57726 all-stageautofeedback-gcc: maybe-all-build-texinfo
57727 all-gcc: maybe-all-build-bison
57728 all-stage1-gcc: maybe-all-build-bison
57729 all-stage2-gcc: maybe-all-build-bison
57730 all-stage3-gcc: maybe-all-build-bison
57731 all-stage4-gcc: maybe-all-build-bison
57732 all-stageprofile-gcc: maybe-all-build-bison
57733 all-stagetrain-gcc: maybe-all-build-bison
57734 all-stagefeedback-gcc: maybe-all-build-bison
57735 all-stageautoprofile-gcc: maybe-all-build-bison
57736 all-stageautofeedback-gcc: maybe-all-build-bison
57737 all-gcc: maybe-all-build-flex
57738 all-stage1-gcc: maybe-all-build-flex
57739 all-stage2-gcc: maybe-all-build-flex
57740 all-stage3-gcc: maybe-all-build-flex
57741 all-stage4-gcc: maybe-all-build-flex
57742 all-stageprofile-gcc: maybe-all-build-flex
57743 all-stagetrain-gcc: maybe-all-build-flex
57744 all-stagefeedback-gcc: maybe-all-build-flex
57745 all-stageautoprofile-gcc: maybe-all-build-flex
57746 all-stageautofeedback-gcc: maybe-all-build-flex
57747 all-gcc: maybe-all-build-libiberty
57748 all-stage1-gcc: maybe-all-build-libiberty
57749 all-stage2-gcc: maybe-all-build-libiberty
57750 all-stage3-gcc: maybe-all-build-libiberty
57751 all-stage4-gcc: maybe-all-build-libiberty
57752 all-stageprofile-gcc: maybe-all-build-libiberty
57753 all-stagetrain-gcc: maybe-all-build-libiberty
57754 all-stagefeedback-gcc: maybe-all-build-libiberty
57755 all-stageautoprofile-gcc: maybe-all-build-libiberty
57756 all-stageautofeedback-gcc: maybe-all-build-libiberty
57757 all-gcc: maybe-all-build-fixincludes
57758 all-stage1-gcc: maybe-all-build-fixincludes
57759 all-stage2-gcc: maybe-all-build-fixincludes
57760 all-stage3-gcc: maybe-all-build-fixincludes
57761 all-stage4-gcc: maybe-all-build-fixincludes
57762 all-stageprofile-gcc: maybe-all-build-fixincludes
57763 all-stagetrain-gcc: maybe-all-build-fixincludes
57764 all-stagefeedback-gcc: maybe-all-build-fixincludes
57765 all-stageautoprofile-gcc: maybe-all-build-fixincludes
57766 all-stageautofeedback-gcc: maybe-all-build-fixincludes
57767 all-gcc: maybe-all-build-libcpp
57768 all-stage1-gcc: maybe-all-build-libcpp
57769 all-stage2-gcc: maybe-all-build-libcpp
57770 all-stage3-gcc: maybe-all-build-libcpp
57771 all-stage4-gcc: maybe-all-build-libcpp
57772 all-stageprofile-gcc: maybe-all-build-libcpp
57773 all-stagetrain-gcc: maybe-all-build-libcpp
57774 all-stagefeedback-gcc: maybe-all-build-libcpp
57775 all-stageautoprofile-gcc: maybe-all-build-libcpp
57776 all-stageautofeedback-gcc: maybe-all-build-libcpp
57777 all-gcc: maybe-all-zlib
57778 all-stage1-gcc: maybe-all-stage1-zlib
57779 all-stage2-gcc: maybe-all-stage2-zlib
57780 all-stage3-gcc: maybe-all-stage3-zlib
57781 all-stage4-gcc: maybe-all-stage4-zlib
57782 all-stageprofile-gcc: maybe-all-stageprofile-zlib
57783 all-stagetrain-gcc: maybe-all-stagetrain-zlib
57784 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
57785 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
57786 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
57787 all-gcc: all-libbacktrace
57788 all-stage1-gcc: all-stage1-libbacktrace
57789 all-stage2-gcc: all-stage2-libbacktrace
57790 all-stage3-gcc: all-stage3-libbacktrace
57791 all-stage4-gcc: all-stage4-libbacktrace
57792 all-stageprofile-gcc: all-stageprofile-libbacktrace
57793 all-stagetrain-gcc: all-stagetrain-libbacktrace
57794 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
57795 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
57796 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
57797 all-gcc: all-libcpp
57798 all-stage1-gcc: all-stage1-libcpp
57799 all-stage2-gcc: all-stage2-libcpp
57800 all-stage3-gcc: all-stage3-libcpp
57801 all-stage4-gcc: all-stage4-libcpp
57802 all-stageprofile-gcc: all-stageprofile-libcpp
57803 all-stagetrain-gcc: all-stagetrain-libcpp
57804 all-stagefeedback-gcc: all-stagefeedback-libcpp
57805 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
57806 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
57807 all-gcc: all-libdecnumber
57808 all-stage1-gcc: all-stage1-libdecnumber
57809 all-stage2-gcc: all-stage2-libdecnumber
57810 all-stage3-gcc: all-stage3-libdecnumber
57811 all-stage4-gcc: all-stage4-libdecnumber
57812 all-stageprofile-gcc: all-stageprofile-libdecnumber
57813 all-stagetrain-gcc: all-stagetrain-libdecnumber
57814 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
57815 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
57816 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
57817 all-gcc: maybe-all-libiberty
57818 all-stage1-gcc: maybe-all-stage1-libiberty
57819 all-stage2-gcc: maybe-all-stage2-libiberty
57820 all-stage3-gcc: maybe-all-stage3-libiberty
57821 all-stage4-gcc: maybe-all-stage4-libiberty
57822 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
57823 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
57824 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
57825 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
57826 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
57827 all-gcc: maybe-all-fixincludes
57828 all-stage1-gcc: maybe-all-stage1-fixincludes
57829 all-stage2-gcc: maybe-all-stage2-fixincludes
57830 all-stage3-gcc: maybe-all-stage3-fixincludes
57831 all-stage4-gcc: maybe-all-stage4-fixincludes
57832 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
57833 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
57834 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
57835 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
57836 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
57837 all-gcc: maybe-all-lto-plugin
57838 all-stage1-gcc: maybe-all-stage1-lto-plugin
57839 all-stage2-gcc: maybe-all-stage2-lto-plugin
57840 all-stage3-gcc: maybe-all-stage3-lto-plugin
57841 all-stage4-gcc: maybe-all-stage4-lto-plugin
57842 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
57843 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
57844 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
57845 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
57846 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
57847 all-gcc: maybe-all-libiconv
57848 all-stage1-gcc: maybe-all-stage1-libiconv
57849 all-stage2-gcc: maybe-all-stage2-libiconv
57850 all-stage3-gcc: maybe-all-stage3-libiconv
57851 all-stage4-gcc: maybe-all-stage4-libiconv
57852 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
57853 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
57854 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
57855 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57856 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57857 info-gcc: maybe-all-build-libiberty
57858 info-stage1-gcc: maybe-all-build-libiberty
57859 info-stage2-gcc: maybe-all-build-libiberty
57860 info-stage3-gcc: maybe-all-build-libiberty
57861 info-stage4-gcc: maybe-all-build-libiberty
57862 info-stageprofile-gcc: maybe-all-build-libiberty
57863 info-stagetrain-gcc: maybe-all-build-libiberty
57864 info-stagefeedback-gcc: maybe-all-build-libiberty
57865 info-stageautoprofile-gcc: maybe-all-build-libiberty
57866 info-stageautofeedback-gcc: maybe-all-build-libiberty
57867 dvi-gcc: maybe-all-build-libiberty
57868 dvi-stage1-gcc: maybe-all-build-libiberty
57869 dvi-stage2-gcc: maybe-all-build-libiberty
57870 dvi-stage3-gcc: maybe-all-build-libiberty
57871 dvi-stage4-gcc: maybe-all-build-libiberty
57872 dvi-stageprofile-gcc: maybe-all-build-libiberty
57873 dvi-stagetrain-gcc: maybe-all-build-libiberty
57874 dvi-stagefeedback-gcc: maybe-all-build-libiberty
57875 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
57876 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
57877 pdf-gcc: maybe-all-build-libiberty
57878 pdf-stage1-gcc: maybe-all-build-libiberty
57879 pdf-stage2-gcc: maybe-all-build-libiberty
57880 pdf-stage3-gcc: maybe-all-build-libiberty
57881 pdf-stage4-gcc: maybe-all-build-libiberty
57882 pdf-stageprofile-gcc: maybe-all-build-libiberty
57883 pdf-stagetrain-gcc: maybe-all-build-libiberty
57884 pdf-stagefeedback-gcc: maybe-all-build-libiberty
57885 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
57886 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
57887 html-gcc: maybe-all-build-libiberty
57888 html-stage1-gcc: maybe-all-build-libiberty
57889 html-stage2-gcc: maybe-all-build-libiberty
57890 html-stage3-gcc: maybe-all-build-libiberty
57891 html-stage4-gcc: maybe-all-build-libiberty
57892 html-stageprofile-gcc: maybe-all-build-libiberty
57893 html-stagetrain-gcc: maybe-all-build-libiberty
57894 html-stagefeedback-gcc: maybe-all-build-libiberty
57895 html-stageautoprofile-gcc: maybe-all-build-libiberty
57896 html-stageautofeedback-gcc: maybe-all-build-libiberty
57897 install-gcc: maybe-install-fixincludes
57898 install-gcc: maybe-install-lto-plugin
57899 install-strip-gcc: maybe-install-strip-fixincludes
57900 install-strip-gcc: maybe-install-strip-lto-plugin
57901 configure-libcpp: configure-libiberty
57902 configure-stage1-libcpp: configure-stage1-libiberty
57903 configure-stage2-libcpp: configure-stage2-libiberty
57904 configure-stage3-libcpp: configure-stage3-libiberty
57905 configure-stage4-libcpp: configure-stage4-libiberty
57906 configure-stageprofile-libcpp: configure-stageprofile-libiberty
57907 configure-stagetrain-libcpp: configure-stagetrain-libiberty
57908 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
57909 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
57910 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
57911 configure-libcpp: maybe-configure-intl
57912 configure-stage1-libcpp: maybe-configure-stage1-intl
57913 configure-stage2-libcpp: maybe-configure-stage2-intl
57914 configure-stage3-libcpp: maybe-configure-stage3-intl
57915 configure-stage4-libcpp: maybe-configure-stage4-intl
57916 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
57917 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
57918 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
57919 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
57920 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
57921 configure-libcpp: maybe-all-libiconv
57922 configure-stage1-libcpp: maybe-all-stage1-libiconv
57923 configure-stage2-libcpp: maybe-all-stage2-libiconv
57924 configure-stage3-libcpp: maybe-all-stage3-libiconv
57925 configure-stage4-libcpp: maybe-all-stage4-libiconv
57926 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57927 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57928 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57929 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57930 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57931 all-libcpp: all-libiberty
57932 all-stage1-libcpp: all-stage1-libiberty
57933 all-stage2-libcpp: all-stage2-libiberty
57934 all-stage3-libcpp: all-stage3-libiberty
57935 all-stage4-libcpp: all-stage4-libiberty
57936 all-stageprofile-libcpp: all-stageprofile-libiberty
57937 all-stagetrain-libcpp: all-stagetrain-libiberty
57938 all-stagefeedback-libcpp: all-stagefeedback-libiberty
57939 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
57940 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
57941 all-libcpp: maybe-all-intl
57942 all-stage1-libcpp: maybe-all-stage1-intl
57943 all-stage2-libcpp: maybe-all-stage2-intl
57944 all-stage3-libcpp: maybe-all-stage3-intl
57945 all-stage4-libcpp: maybe-all-stage4-intl
57946 all-stageprofile-libcpp: maybe-all-stageprofile-intl
57947 all-stagetrain-libcpp: maybe-all-stagetrain-intl
57948 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
57949 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
57950 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
57951 all-libcpp: maybe-all-libiconv
57952 all-stage1-libcpp: maybe-all-stage1-libiconv
57953 all-stage2-libcpp: maybe-all-stage2-libiconv
57954 all-stage3-libcpp: maybe-all-stage3-libiconv
57955 all-stage4-libcpp: maybe-all-stage4-libiconv
57956 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57957 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57958 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57959 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57960 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57961 all-fixincludes: maybe-all-libiberty
57962 all-stage1-fixincludes: maybe-all-stage1-libiberty
57963 all-stage2-fixincludes: maybe-all-stage2-libiberty
57964 all-stage3-fixincludes: maybe-all-stage3-libiberty
57965 all-stage4-fixincludes: maybe-all-stage4-libiberty
57966 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
57967 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
57968 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
57969 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
57970 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
57971 all-gnattools: maybe-all-target-libada
57972 all-lto-plugin: maybe-all-libiberty
57973 all-stage1-lto-plugin: maybe-all-stage1-libiberty
57974 all-stage2-lto-plugin: maybe-all-stage2-libiberty
57975 all-stage3-lto-plugin: maybe-all-stage3-libiberty
57976 all-stage4-lto-plugin: maybe-all-stage4-libiberty
57977 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
57978 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
57979 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
57980 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
57981 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
57982 all-lto-plugin: maybe-all-libiberty-linker-plugin
57983 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
57984 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
57985 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
57986 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
57987 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
57988 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
57989 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
57990 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
57991 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
57992 all-gotools: maybe-all-target-libgo
57993 configure-intl: maybe-all-libiconv
57994 configure-stage1-intl: maybe-all-stage1-libiconv
57995 configure-stage2-intl: maybe-all-stage2-libiconv
57996 configure-stage3-intl: maybe-all-stage3-libiconv
57997 configure-stage4-intl: maybe-all-stage4-libiconv
57998 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
57999 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
58000 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58001 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58002 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58003 configure-mpfr: maybe-all-gmp
58004 configure-stage1-mpfr: maybe-all-stage1-gmp
58005 configure-stage2-mpfr: maybe-all-stage2-gmp
58006 configure-stage3-mpfr: maybe-all-stage3-gmp
58007 configure-stage4-mpfr: maybe-all-stage4-gmp
58008 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
58009 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
58010 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
58011 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
58012 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
58013 configure-mpc: maybe-all-mpfr
58014 configure-stage1-mpc: maybe-all-stage1-mpfr
58015 configure-stage2-mpc: maybe-all-stage2-mpfr
58016 configure-stage3-mpc: maybe-all-stage3-mpfr
58017 configure-stage4-mpc: maybe-all-stage4-mpfr
58018 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
58019 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
58020 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
58021 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
58022 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
58023 configure-isl: maybe-all-gmp
58024 configure-stage1-isl: maybe-all-stage1-gmp
58025 configure-stage2-isl: maybe-all-stage2-gmp
58026 configure-stage3-isl: maybe-all-stage3-gmp
58027 configure-stage4-isl: maybe-all-stage4-gmp
58028 configure-stageprofile-isl: maybe-all-stageprofile-gmp
58029 configure-stagetrain-isl: maybe-all-stagetrain-gmp
58030 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
58031 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
58032 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
58033 all-intl: maybe-all-libiconv
58034 all-stage1-intl: maybe-all-stage1-libiconv
58035 all-stage2-intl: maybe-all-stage2-libiconv
58036 all-stage3-intl: maybe-all-stage3-libiconv
58037 all-stage4-intl: maybe-all-stage4-libiconv
58038 all-stageprofile-intl: maybe-all-stageprofile-libiconv
58039 all-stagetrain-intl: maybe-all-stagetrain-libiconv
58040 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58041 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58042 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58043 configure-gdb: maybe-configure-sim
58044 all-gdb: maybe-all-readline
58045 all-gdb: maybe-all-build-bison
58046 all-gdb: maybe-all-sim
58047 all-gdb: maybe-all-libtermcap
58048 configure-libgui: maybe-configure-tcl
58049 configure-libgui: maybe-configure-tk
58050 all-libgui: maybe-all-tcl
58051 all-libgui: maybe-all-tk
58052 all-libgui: maybe-all-itcl
58053 configure-bfd: configure-libiberty
58054 configure-stage1-bfd: configure-stage1-libiberty
58055 configure-stage2-bfd: configure-stage2-libiberty
58056 configure-stage3-bfd: configure-stage3-libiberty
58057 configure-stage4-bfd: configure-stage4-libiberty
58058 configure-stageprofile-bfd: configure-stageprofile-libiberty
58059 configure-stagetrain-bfd: configure-stagetrain-libiberty
58060 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
58061 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
58062 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
58063 configure-bfd: maybe-configure-intl
58064 configure-stage1-bfd: maybe-configure-stage1-intl
58065 configure-stage2-bfd: maybe-configure-stage2-intl
58066 configure-stage3-bfd: maybe-configure-stage3-intl
58067 configure-stage4-bfd: maybe-configure-stage4-intl
58068 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
58069 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
58070 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
58071 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
58072 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
58073 all-bfd: maybe-all-libiberty
58074 all-stage1-bfd: maybe-all-stage1-libiberty
58075 all-stage2-bfd: maybe-all-stage2-libiberty
58076 all-stage3-bfd: maybe-all-stage3-libiberty
58077 all-stage4-bfd: maybe-all-stage4-libiberty
58078 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
58079 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
58080 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
58081 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
58082 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
58083 all-bfd: maybe-all-intl
58084 all-stage1-bfd: maybe-all-stage1-intl
58085 all-stage2-bfd: maybe-all-stage2-intl
58086 all-stage3-bfd: maybe-all-stage3-intl
58087 all-stage4-bfd: maybe-all-stage4-intl
58088 all-stageprofile-bfd: maybe-all-stageprofile-intl
58089 all-stagetrain-bfd: maybe-all-stagetrain-intl
58090 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
58091 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
58092 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
58093 all-bfd: maybe-all-zlib
58094 all-stage1-bfd: maybe-all-stage1-zlib
58095 all-stage2-bfd: maybe-all-stage2-zlib
58096 all-stage3-bfd: maybe-all-stage3-zlib
58097 all-stage4-bfd: maybe-all-stage4-zlib
58098 all-stageprofile-bfd: maybe-all-stageprofile-zlib
58099 all-stagetrain-bfd: maybe-all-stagetrain-zlib
58100 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
58101 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
58102 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
58103 configure-opcodes: configure-libiberty
58104 configure-stage1-opcodes: configure-stage1-libiberty
58105 configure-stage2-opcodes: configure-stage2-libiberty
58106 configure-stage3-opcodes: configure-stage3-libiberty
58107 configure-stage4-opcodes: configure-stage4-libiberty
58108 configure-stageprofile-opcodes: configure-stageprofile-libiberty
58109 configure-stagetrain-opcodes: configure-stagetrain-libiberty
58110 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
58111 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
58112 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
58113 all-opcodes: maybe-all-libiberty
58114 all-stage1-opcodes: maybe-all-stage1-libiberty
58115 all-stage2-opcodes: maybe-all-stage2-libiberty
58116 all-stage3-opcodes: maybe-all-stage3-libiberty
58117 all-stage4-opcodes: maybe-all-stage4-libiberty
58118 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58119 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58120 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58121 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58122 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58123 configure-binutils: maybe-configure-intl
58124 configure-stage1-binutils: maybe-configure-stage1-intl
58125 configure-stage2-binutils: maybe-configure-stage2-intl
58126 configure-stage3-binutils: maybe-configure-stage3-intl
58127 configure-stage4-binutils: maybe-configure-stage4-intl
58128 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
58129 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
58130 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
58131 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
58132 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
58133 all-binutils: maybe-all-libiberty
58134 all-stage1-binutils: maybe-all-stage1-libiberty
58135 all-stage2-binutils: maybe-all-stage2-libiberty
58136 all-stage3-binutils: maybe-all-stage3-libiberty
58137 all-stage4-binutils: maybe-all-stage4-libiberty
58138 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
58139 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
58140 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
58141 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
58142 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
58143 all-binutils: maybe-all-opcodes
58144 all-stage1-binutils: maybe-all-stage1-opcodes
58145 all-stage2-binutils: maybe-all-stage2-opcodes
58146 all-stage3-binutils: maybe-all-stage3-opcodes
58147 all-stage4-binutils: maybe-all-stage4-opcodes
58148 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
58149 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
58150 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
58151 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
58152 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
58153 all-binutils: maybe-all-bfd
58154 all-stage1-binutils: maybe-all-stage1-bfd
58155 all-stage2-binutils: maybe-all-stage2-bfd
58156 all-stage3-binutils: maybe-all-stage3-bfd
58157 all-stage4-binutils: maybe-all-stage4-bfd
58158 all-stageprofile-binutils: maybe-all-stageprofile-bfd
58159 all-stagetrain-binutils: maybe-all-stagetrain-bfd
58160 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
58161 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
58162 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
58163 all-binutils: maybe-all-build-flex
58164 all-stage1-binutils: maybe-all-build-flex
58165 all-stage2-binutils: maybe-all-build-flex
58166 all-stage3-binutils: maybe-all-build-flex
58167 all-stage4-binutils: maybe-all-build-flex
58168 all-stageprofile-binutils: maybe-all-build-flex
58169 all-stagetrain-binutils: maybe-all-build-flex
58170 all-stagefeedback-binutils: maybe-all-build-flex
58171 all-stageautoprofile-binutils: maybe-all-build-flex
58172 all-stageautofeedback-binutils: maybe-all-build-flex
58173 all-binutils: maybe-all-build-bison
58174 all-stage1-binutils: maybe-all-build-bison
58175 all-stage2-binutils: maybe-all-build-bison
58176 all-stage3-binutils: maybe-all-build-bison
58177 all-stage4-binutils: maybe-all-build-bison
58178 all-stageprofile-binutils: maybe-all-build-bison
58179 all-stagetrain-binutils: maybe-all-build-bison
58180 all-stagefeedback-binutils: maybe-all-build-bison
58181 all-stageautoprofile-binutils: maybe-all-build-bison
58182 all-stageautofeedback-binutils: maybe-all-build-bison
58183 all-binutils: maybe-all-intl
58184 all-stage1-binutils: maybe-all-stage1-intl
58185 all-stage2-binutils: maybe-all-stage2-intl
58186 all-stage3-binutils: maybe-all-stage3-intl
58187 all-stage4-binutils: maybe-all-stage4-intl
58188 all-stageprofile-binutils: maybe-all-stageprofile-intl
58189 all-stagetrain-binutils: maybe-all-stagetrain-intl
58190 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
58191 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
58192 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
58193 all-binutils: maybe-all-gas
58194 all-stage1-binutils: maybe-all-stage1-gas
58195 all-stage2-binutils: maybe-all-stage2-gas
58196 all-stage3-binutils: maybe-all-stage3-gas
58197 all-stage4-binutils: maybe-all-stage4-gas
58198 all-stageprofile-binutils: maybe-all-stageprofile-gas
58199 all-stagetrain-binutils: maybe-all-stagetrain-gas
58200 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
58201 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
58202 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
58203 all-binutils: maybe-all-libctf
58204 all-stage1-binutils: maybe-all-stage1-libctf
58205 all-stage2-binutils: maybe-all-stage2-libctf
58206 all-stage3-binutils: maybe-all-stage3-libctf
58207 all-stage4-binutils: maybe-all-stage4-libctf
58208 all-stageprofile-binutils: maybe-all-stageprofile-libctf
58209 all-stagetrain-binutils: maybe-all-stagetrain-libctf
58210 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
58211 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
58212 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
58213 install-binutils: maybe-install-opcodes
58214 install-strip-binutils: maybe-install-strip-opcodes
58215 install-opcodes: maybe-install-bfd
58216 install-strip-opcodes: maybe-install-strip-bfd
58217 configure-gas: maybe-configure-intl
58218 configure-stage1-gas: maybe-configure-stage1-intl
58219 configure-stage2-gas: maybe-configure-stage2-intl
58220 configure-stage3-gas: maybe-configure-stage3-intl
58221 configure-stage4-gas: maybe-configure-stage4-intl
58222 configure-stageprofile-gas: maybe-configure-stageprofile-intl
58223 configure-stagetrain-gas: maybe-configure-stagetrain-intl
58224 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
58225 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
58226 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
58227 all-gas: maybe-all-libiberty
58228 all-stage1-gas: maybe-all-stage1-libiberty
58229 all-stage2-gas: maybe-all-stage2-libiberty
58230 all-stage3-gas: maybe-all-stage3-libiberty
58231 all-stage4-gas: maybe-all-stage4-libiberty
58232 all-stageprofile-gas: maybe-all-stageprofile-libiberty
58233 all-stagetrain-gas: maybe-all-stagetrain-libiberty
58234 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
58235 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
58236 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
58237 all-gas: maybe-all-opcodes
58238 all-stage1-gas: maybe-all-stage1-opcodes
58239 all-stage2-gas: maybe-all-stage2-opcodes
58240 all-stage3-gas: maybe-all-stage3-opcodes
58241 all-stage4-gas: maybe-all-stage4-opcodes
58242 all-stageprofile-gas: maybe-all-stageprofile-opcodes
58243 all-stagetrain-gas: maybe-all-stagetrain-opcodes
58244 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
58245 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
58246 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
58247 all-gas: maybe-all-bfd
58248 all-stage1-gas: maybe-all-stage1-bfd
58249 all-stage2-gas: maybe-all-stage2-bfd
58250 all-stage3-gas: maybe-all-stage3-bfd
58251 all-stage4-gas: maybe-all-stage4-bfd
58252 all-stageprofile-gas: maybe-all-stageprofile-bfd
58253 all-stagetrain-gas: maybe-all-stagetrain-bfd
58254 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
58255 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
58256 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
58257 all-gas: maybe-all-intl
58258 all-stage1-gas: maybe-all-stage1-intl
58259 all-stage2-gas: maybe-all-stage2-intl
58260 all-stage3-gas: maybe-all-stage3-intl
58261 all-stage4-gas: maybe-all-stage4-intl
58262 all-stageprofile-gas: maybe-all-stageprofile-intl
58263 all-stagetrain-gas: maybe-all-stagetrain-intl
58264 all-stagefeedback-gas: maybe-all-stagefeedback-intl
58265 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
58266 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
58267 configure-ld: maybe-configure-intl
58268 configure-stage1-ld: maybe-configure-stage1-intl
58269 configure-stage2-ld: maybe-configure-stage2-intl
58270 configure-stage3-ld: maybe-configure-stage3-intl
58271 configure-stage4-ld: maybe-configure-stage4-intl
58272 configure-stageprofile-ld: maybe-configure-stageprofile-intl
58273 configure-stagetrain-ld: maybe-configure-stagetrain-intl
58274 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
58275 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
58276 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
58277 all-ld: maybe-all-libiberty
58278 all-stage1-ld: maybe-all-stage1-libiberty
58279 all-stage2-ld: maybe-all-stage2-libiberty
58280 all-stage3-ld: maybe-all-stage3-libiberty
58281 all-stage4-ld: maybe-all-stage4-libiberty
58282 all-stageprofile-ld: maybe-all-stageprofile-libiberty
58283 all-stagetrain-ld: maybe-all-stagetrain-libiberty
58284 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
58285 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
58286 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
58287 all-ld: maybe-all-bfd
58288 all-stage1-ld: maybe-all-stage1-bfd
58289 all-stage2-ld: maybe-all-stage2-bfd
58290 all-stage3-ld: maybe-all-stage3-bfd
58291 all-stage4-ld: maybe-all-stage4-bfd
58292 all-stageprofile-ld: maybe-all-stageprofile-bfd
58293 all-stagetrain-ld: maybe-all-stagetrain-bfd
58294 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
58295 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
58296 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
58297 all-ld: maybe-all-opcodes
58298 all-stage1-ld: maybe-all-stage1-opcodes
58299 all-stage2-ld: maybe-all-stage2-opcodes
58300 all-stage3-ld: maybe-all-stage3-opcodes
58301 all-stage4-ld: maybe-all-stage4-opcodes
58302 all-stageprofile-ld: maybe-all-stageprofile-opcodes
58303 all-stagetrain-ld: maybe-all-stagetrain-opcodes
58304 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
58305 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
58306 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
58307 all-ld: maybe-all-build-bison
58308 all-stage1-ld: maybe-all-build-bison
58309 all-stage2-ld: maybe-all-build-bison
58310 all-stage3-ld: maybe-all-build-bison
58311 all-stage4-ld: maybe-all-build-bison
58312 all-stageprofile-ld: maybe-all-build-bison
58313 all-stagetrain-ld: maybe-all-build-bison
58314 all-stagefeedback-ld: maybe-all-build-bison
58315 all-stageautoprofile-ld: maybe-all-build-bison
58316 all-stageautofeedback-ld: maybe-all-build-bison
58317 all-ld: maybe-all-build-flex
58318 all-stage1-ld: maybe-all-build-flex
58319 all-stage2-ld: maybe-all-build-flex
58320 all-stage3-ld: maybe-all-build-flex
58321 all-stage4-ld: maybe-all-build-flex
58322 all-stageprofile-ld: maybe-all-build-flex
58323 all-stagetrain-ld: maybe-all-build-flex
58324 all-stagefeedback-ld: maybe-all-build-flex
58325 all-stageautoprofile-ld: maybe-all-build-flex
58326 all-stageautofeedback-ld: maybe-all-build-flex
58327 all-ld: maybe-all-intl
58328 all-stage1-ld: maybe-all-stage1-intl
58329 all-stage2-ld: maybe-all-stage2-intl
58330 all-stage3-ld: maybe-all-stage3-intl
58331 all-stage4-ld: maybe-all-stage4-intl
58332 all-stageprofile-ld: maybe-all-stageprofile-intl
58333 all-stagetrain-ld: maybe-all-stagetrain-intl
58334 all-stagefeedback-ld: maybe-all-stagefeedback-intl
58335 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
58336 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
58337 all-ld: maybe-all-gas
58338 all-stage1-ld: maybe-all-stage1-gas
58339 all-stage2-ld: maybe-all-stage2-gas
58340 all-stage3-ld: maybe-all-stage3-gas
58341 all-stage4-ld: maybe-all-stage4-gas
58342 all-stageprofile-ld: maybe-all-stageprofile-gas
58343 all-stagetrain-ld: maybe-all-stagetrain-gas
58344 all-stagefeedback-ld: maybe-all-stagefeedback-gas
58345 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
58346 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
58347 all-ld: maybe-all-binutils
58348 all-stage1-ld: maybe-all-stage1-binutils
58349 all-stage2-ld: maybe-all-stage2-binutils
58350 all-stage3-ld: maybe-all-stage3-binutils
58351 all-stage4-ld: maybe-all-stage4-binutils
58352 all-stageprofile-ld: maybe-all-stageprofile-binutils
58353 all-stagetrain-ld: maybe-all-stagetrain-binutils
58354 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
58355 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
58356 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
58357 install-ld: maybe-install-gold
58358 install-strip-ld: maybe-install-strip-gold
58359 configure-gold: maybe-configure-intl
58360 configure-stage1-gold: maybe-configure-stage1-intl
58361 configure-stage2-gold: maybe-configure-stage2-intl
58362 configure-stage3-gold: maybe-configure-stage3-intl
58363 configure-stage4-gold: maybe-configure-stage4-intl
58364 configure-stageprofile-gold: maybe-configure-stageprofile-intl
58365 configure-stagetrain-gold: maybe-configure-stagetrain-intl
58366 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
58367 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
58368 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
58369 all-gold: maybe-all-libiberty
58370 all-stage1-gold: maybe-all-stage1-libiberty
58371 all-stage2-gold: maybe-all-stage2-libiberty
58372 all-stage3-gold: maybe-all-stage3-libiberty
58373 all-stage4-gold: maybe-all-stage4-libiberty
58374 all-stageprofile-gold: maybe-all-stageprofile-libiberty
58375 all-stagetrain-gold: maybe-all-stagetrain-libiberty
58376 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
58377 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
58378 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
58379 all-gold: maybe-all-intl
58380 all-stage1-gold: maybe-all-stage1-intl
58381 all-stage2-gold: maybe-all-stage2-intl
58382 all-stage3-gold: maybe-all-stage3-intl
58383 all-stage4-gold: maybe-all-stage4-intl
58384 all-stageprofile-gold: maybe-all-stageprofile-intl
58385 all-stagetrain-gold: maybe-all-stagetrain-intl
58386 all-stagefeedback-gold: maybe-all-stagefeedback-intl
58387 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
58388 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
58389 all-gold: maybe-all-bfd
58390 all-stage1-gold: maybe-all-stage1-bfd
58391 all-stage2-gold: maybe-all-stage2-bfd
58392 all-stage3-gold: maybe-all-stage3-bfd
58393 all-stage4-gold: maybe-all-stage4-bfd
58394 all-stageprofile-gold: maybe-all-stageprofile-bfd
58395 all-stagetrain-gold: maybe-all-stagetrain-bfd
58396 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
58397 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
58398 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
58399 all-gold: maybe-all-build-bison
58400 all-stage1-gold: maybe-all-build-bison
58401 all-stage2-gold: maybe-all-build-bison
58402 all-stage3-gold: maybe-all-build-bison
58403 all-stage4-gold: maybe-all-build-bison
58404 all-stageprofile-gold: maybe-all-build-bison
58405 all-stagetrain-gold: maybe-all-build-bison
58406 all-stagefeedback-gold: maybe-all-build-bison
58407 all-stageautoprofile-gold: maybe-all-build-bison
58408 all-stageautofeedback-gold: maybe-all-build-bison
58409 all-gold: maybe-all-gas
58410 all-stage1-gold: maybe-all-stage1-gas
58411 all-stage2-gold: maybe-all-stage2-gas
58412 all-stage3-gold: maybe-all-stage3-gas
58413 all-stage4-gold: maybe-all-stage4-gas
58414 all-stageprofile-gold: maybe-all-stageprofile-gas
58415 all-stagetrain-gold: maybe-all-stagetrain-gas
58416 all-stagefeedback-gold: maybe-all-stagefeedback-gas
58417 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58418 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58419 check-gold: maybe-all-binutils
58420 check-stage1-gold: maybe-all-stage1-binutils
58421 check-stage2-gold: maybe-all-stage2-binutils
58422 check-stage3-gold: maybe-all-stage3-binutils
58423 check-stage4-gold: maybe-all-stage4-binutils
58424 check-stageprofile-gold: maybe-all-stageprofile-binutils
58425 check-stagetrain-gold: maybe-all-stagetrain-binutils
58426 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
58427 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
58428 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
58429 check-gold: maybe-all-gas
58430 check-stage1-gold: maybe-all-stage1-gas
58431 check-stage2-gold: maybe-all-stage2-gas
58432 check-stage3-gold: maybe-all-stage3-gas
58433 check-stage4-gold: maybe-all-stage4-gas
58434 check-stageprofile-gold: maybe-all-stageprofile-gas
58435 check-stagetrain-gold: maybe-all-stagetrain-gas
58436 check-stagefeedback-gold: maybe-all-stagefeedback-gas
58437 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58438 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58439 configure-opcodes: maybe-configure-intl
58440 configure-stage1-opcodes: maybe-configure-stage1-intl
58441 configure-stage2-opcodes: maybe-configure-stage2-intl
58442 configure-stage3-opcodes: maybe-configure-stage3-intl
58443 configure-stage4-opcodes: maybe-configure-stage4-intl
58444 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
58445 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
58446 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
58447 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
58448 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
58449 all-opcodes: maybe-all-bfd
58450 all-stage1-opcodes: maybe-all-stage1-bfd
58451 all-stage2-opcodes: maybe-all-stage2-bfd
58452 all-stage3-opcodes: maybe-all-stage3-bfd
58453 all-stage4-opcodes: maybe-all-stage4-bfd
58454 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
58455 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
58456 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
58457 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
58458 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
58459 all-opcodes: maybe-all-libiberty
58460 all-stage1-opcodes: maybe-all-stage1-libiberty
58461 all-stage2-opcodes: maybe-all-stage2-libiberty
58462 all-stage3-opcodes: maybe-all-stage3-libiberty
58463 all-stage4-opcodes: maybe-all-stage4-libiberty
58464 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58465 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58466 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58467 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58468 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58469 all-opcodes: maybe-all-intl
58470 all-stage1-opcodes: maybe-all-stage1-intl
58471 all-stage2-opcodes: maybe-all-stage2-intl
58472 all-stage3-opcodes: maybe-all-stage3-intl
58473 all-stage4-opcodes: maybe-all-stage4-intl
58474 all-stageprofile-opcodes: maybe-all-stageprofile-intl
58475 all-stagetrain-opcodes: maybe-all-stagetrain-intl
58476 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
58477 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
58478 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
58479 all-dejagnu: maybe-all-tcl
58480 all-dejagnu: maybe-all-expect
58481 all-dejagnu: maybe-all-tk
58482 configure-expect: maybe-configure-tcl
58483 configure-expect: maybe-configure-tk
58484 all-expect: maybe-all-tcl
58485 all-expect: maybe-all-tk
58486 configure-itcl: maybe-configure-tcl
58487 configure-itcl: maybe-configure-tk
58488 all-itcl: maybe-all-tcl
58489 all-itcl: maybe-all-tk
58490 install-itcl: maybe-install-tcl
58491 install-strip-itcl: maybe-install-strip-tcl
58492 configure-tk: maybe-configure-tcl
58493 all-tk: maybe-all-tcl
58494 all-sid: maybe-all-tcl
58495 all-sid: maybe-all-tk
58496 install-sid: maybe-install-tcl
58497 install-strip-sid: maybe-install-strip-tcl
58498 install-sid: maybe-install-tk
58499 install-strip-sid: maybe-install-strip-tk
58500 all-sim: maybe-all-readline
58501 all-sim: maybe-configure-gdb
58502 all-fastjar: maybe-all-build-texinfo
58503 all-libctf: all-libiberty
58504 all-stage1-libctf: all-stage1-libiberty
58505 all-stage2-libctf: all-stage2-libiberty
58506 all-stage3-libctf: all-stage3-libiberty
58507 all-stage4-libctf: all-stage4-libiberty
58508 all-stageprofile-libctf: all-stageprofile-libiberty
58509 all-stagetrain-libctf: all-stagetrain-libiberty
58510 all-stagefeedback-libctf: all-stagefeedback-libiberty
58511 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
58512 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
58513 all-libctf: maybe-all-bfd
58514 all-stage1-libctf: maybe-all-stage1-bfd
58515 all-stage2-libctf: maybe-all-stage2-bfd
58516 all-stage3-libctf: maybe-all-stage3-bfd
58517 all-stage4-libctf: maybe-all-stage4-bfd
58518 all-stageprofile-libctf: maybe-all-stageprofile-bfd
58519 all-stagetrain-libctf: maybe-all-stagetrain-bfd
58520 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
58521 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
58522 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
58523 all-libctf: maybe-all-zlib
58524 all-stage1-libctf: maybe-all-stage1-zlib
58525 all-stage2-libctf: maybe-all-stage2-zlib
58526 all-stage3-libctf: maybe-all-stage3-zlib
58527 all-stage4-libctf: maybe-all-stage4-zlib
58528 all-stageprofile-libctf: maybe-all-stageprofile-zlib
58529 all-stagetrain-libctf: maybe-all-stagetrain-zlib
58530 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
58531 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
58532 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
58533 configure-libctf: maybe-all-bfd
58534 configure-stage1-libctf: maybe-all-stage1-bfd
58535 configure-stage2-libctf: maybe-all-stage2-bfd
58536 configure-stage3-libctf: maybe-all-stage3-bfd
58537 configure-stage4-libctf: maybe-all-stage4-bfd
58538 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
58539 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
58540 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
58541 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
58542 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
58543 configure-libctf: maybe-all-intl
58544 configure-stage1-libctf: maybe-all-stage1-intl
58545 configure-stage2-libctf: maybe-all-stage2-intl
58546 configure-stage3-libctf: maybe-all-stage3-intl
58547 configure-stage4-libctf: maybe-all-stage4-intl
58548 configure-stageprofile-libctf: maybe-all-stageprofile-intl
58549 configure-stagetrain-libctf: maybe-all-stagetrain-intl
58550 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
58551 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
58552 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
58553 configure-libctf: maybe-all-zlib
58554 configure-stage1-libctf: maybe-all-stage1-zlib
58555 configure-stage2-libctf: maybe-all-stage2-zlib
58556 configure-stage3-libctf: maybe-all-stage3-zlib
58557 configure-stage4-libctf: maybe-all-stage4-zlib
58558 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
58559 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
58560 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
58561 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
58562 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
58563 configure-libctf: maybe-all-libiconv
58564 configure-stage1-libctf: maybe-all-stage1-libiconv
58565 configure-stage2-libctf: maybe-all-stage2-libiconv
58566 configure-stage3-libctf: maybe-all-stage3-libiconv
58567 configure-stage4-libctf: maybe-all-stage4-libiconv
58568 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
58569 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
58570 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
58571 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
58572 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
58573 all-bison: maybe-all-build-texinfo
58574 all-flex: maybe-all-build-bison
58575 all-flex: maybe-all-m4
58576 all-flex: maybe-all-build-texinfo
58577 all-m4: maybe-all-build-texinfo
58578 configure-target-fastjar: maybe-configure-target-zlib
58579 all-target-fastjar: maybe-all-target-zlib
58580 configure-target-libgo: maybe-configure-target-libffi
58581 all-target-libgo: maybe-all-target-libbacktrace
58582 all-target-libgo: maybe-all-target-libffi
58583 all-target-libgo: maybe-all-target-libatomic
58584 configure-target-libphobos: maybe-configure-target-libbacktrace
58585 configure-target-libphobos: maybe-configure-target-zlib
58586 all-target-libphobos: maybe-all-target-libbacktrace
58587 all-target-libphobos: maybe-all-target-zlib
58588 all-target-libphobos: maybe-all-target-libatomic
58589 configure-target-libstdc++-v3: maybe-configure-target-libgomp
58590 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58591 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58592 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58593 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58594 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58595 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
58596 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58597 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
58598 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
58599 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
58600 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
58601 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
58602 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
58603 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
58604 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
58605 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
58606 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
58607 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
58608 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
58609 configure-target-libvtv: maybe-all-target-libstdc++-v3
58610 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
58611 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
58612 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
58613 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
58614 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
58615 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
58616 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
58617 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
58618 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
58619 all-target-libstdc++-v3: maybe-configure-target-libgomp
58620 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58621 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58622 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58623 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58624 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58625 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
58626 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58627 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
58628 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
58629 install-target-libgo: maybe-install-target-libatomic
58630 install-target-libgfortran: maybe-install-target-libquadmath
58631 install-target-libgfortran: maybe-install-target-libgcc
58632 install-target-libphobos: maybe-install-target-libatomic
58633 install-target-libsanitizer: maybe-install-target-libstdc++-v3
58634 install-target-libsanitizer: maybe-install-target-libgcc
58635 install-target-libvtv: maybe-install-target-libstdc++-v3
58636 install-target-libvtv: maybe-install-target-libgcc
58637 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
58638 install-target-liboffloadmic: maybe-install-target-libgcc
58639 install-target-libitm: maybe-install-target-libgcc
58640 install-target-libobjc: maybe-install-target-libgcc
58641 install-target-libstdc++-v3: maybe-install-target-libgcc
58642 all-target-libgloss: maybe-all-target-newlib
58643 all-target-winsup: maybe-all-target-libtermcap
58644 configure-target-libgfortran: maybe-all-target-libquadmath
58645 configure-target-libgfortran: maybe-all-target-libbacktrace
58646
58647
58648 @if gcc-bootstrap
58649 configure-gnattools: stage_last
58650 configure-libcc1: stage_last
58651 configure-utils: stage_last
58652 configure-gdb: stage_last
58653 configure-gprof: stage_last
58654 configure-sid: stage_last
58655 configure-sim: stage_last
58656 configure-fastjar: stage_last
58657 configure-bison: stage_last
58658 configure-flex: stage_last
58659 configure-m4: stage_last
58660 @endif gcc-bootstrap
58661
58662 @unless gcc-bootstrap
58663 all-gnattools: maybe-all-target-libstdc++-v3
58664 configure-libcc1: maybe-configure-gcc
58665 all-libcc1: maybe-all-gcc
58666 all-utils: maybe-all-libiberty
58667 configure-gdb: maybe-all-intl
58668 configure-gdb: maybe-all-bfd
58669 configure-gdb: maybe-all-libiconv
58670 all-gdb: maybe-all-libiberty
58671 all-gdb: maybe-all-libiconv
58672 all-gdb: maybe-all-opcodes
58673 all-gdb: maybe-all-libdecnumber
58674 configure-gprof: maybe-configure-intl
58675 all-gprof: maybe-all-libiberty
58676 all-gprof: maybe-all-bfd
58677 all-gprof: maybe-all-opcodes
58678 all-gprof: maybe-all-intl
58679 all-gprof: maybe-all-gas
58680 all-sid: maybe-all-libiberty
58681 all-sid: maybe-all-bfd
58682 all-sid: maybe-all-opcodes
58683 configure-sim: maybe-configure-intl
58684 all-sim: maybe-all-intl
58685 all-sim: maybe-all-libiberty
58686 all-sim: maybe-all-bfd
58687 all-sim: maybe-all-opcodes
58688 all-fastjar: maybe-all-zlib
58689 all-fastjar: maybe-all-libiberty
58690 all-bison: maybe-all-intl
58691 all-flex: maybe-all-intl
58692 all-m4: maybe-all-intl
58693 configure-target-libgo: maybe-all-target-libstdc++-v3
58694 configure-target-liboffloadmic: maybe-configure-target-libgomp
58695 all-target-liboffloadmic: maybe-all-target-libgomp
58696 configure-target-newlib: maybe-all-binutils
58697 configure-target-newlib: maybe-all-ld
58698 @endunless gcc-bootstrap
58699
58700 # Dependencies for target modules on other target modules are
58701 # described by lang_env_dependencies; the defaults apply to anything
58702 # not mentioned there.
58703
58704
58705 @if gcc-bootstrap
58706 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
58707 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
58708 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
58709 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
58710 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
58711 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
58712 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
58713 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
58714 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
58715 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
58716 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
58717 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
58718 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
58719 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
58720 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
58721 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
58722 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
58723 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
58724 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
58725 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
58726 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
58727 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
58728 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
58729 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
58730 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
58731 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
58732 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
58733 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
58734 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
58735 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
58736 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
58737 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
58738 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
58739 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
58740 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
58741 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
58742 @endif gcc-bootstrap
58743
58744 @if gcc-no-bootstrap
58745 configure-target-libstdc++-v3: maybe-all-target-libgcc
58746 configure-target-libsanitizer: maybe-all-target-libgcc
58747 configure-target-libvtv: maybe-all-target-libgcc
58748 configure-target-liboffloadmic: maybe-all-target-libgcc
58749 configure-target-libssp: maybe-all-target-libgcc
58750 configure-target-newlib: maybe-all-target-libgcc
58751 configure-target-libbacktrace: maybe-all-target-libgcc
58752 configure-target-libquadmath: maybe-all-target-libgcc
58753 configure-target-libgfortran: maybe-all-target-libgcc
58754 configure-target-libobjc: maybe-all-target-libgcc
58755 configure-target-libgo: maybe-all-target-libgcc
58756 configure-target-libhsail-rt: maybe-all-target-libgcc
58757 configure-target-libphobos: maybe-all-target-libgcc
58758 configure-target-libtermcap: maybe-all-target-libgcc
58759 configure-target-winsup: maybe-all-target-libgcc
58760 configure-target-libgloss: maybe-all-target-libgcc
58761 configure-target-libffi: maybe-all-target-libgcc
58762 configure-target-zlib: maybe-all-target-libgcc
58763 configure-target-rda: maybe-all-target-libgcc
58764 configure-target-libada: maybe-all-target-libgcc
58765 configure-target-libgomp: maybe-all-target-libgcc
58766 configure-target-libitm: maybe-all-target-libgcc
58767 configure-target-libatomic: maybe-all-target-libgcc
58768 @endif gcc-no-bootstrap
58769
58770
58771 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
58772
58773 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
58774
58775 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
58776
58777 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
58778 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
58779
58780 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
58781
58782
58783
58784 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
58785
58786 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
58787
58788 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
58789
58790 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
58791
58792 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
58793
58794 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
58795
58796 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
58797
58798 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
58799
58800 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
58801
58802
58803 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
58804 configure-target-libffi: maybe-all-target-libstdc++-v3
58805
58806 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
58807
58808 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
58809
58810 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
58811
58812 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
58813
58814 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
58815 configure-target-libitm: maybe-all-target-libstdc++-v3
58816
58817 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
58818
58819
58820 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
58821 GDB_TK = @GDB_TK@
58822 INSTALL_GDB_TK = @INSTALL_GDB_TK@
58823 configure-gdb: $(CONFIGURE_GDB_TK)
58824 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
58825 install-gdb: $(INSTALL_GDB_TK)
58826
58827 # Serialization dependencies. Host configures don't work well in parallel to
58828 # each other, due to contention over config.cache. Target configures and
58829 # build configures are similar.
58830 @serialization_dependencies@
58831
58832 # --------------------------------
58833 # Regenerating top level configury
58834 # --------------------------------
58835
58836 # Rebuilding Makefile.in, using autogen.
58837 AUTOGEN = autogen
58838 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
58839 cd $(srcdir) && $(AUTOGEN) Makefile.def
58840
58841 # Rebuilding Makefile.
58842 Makefile: $(srcdir)/Makefile.in config.status
58843 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
58844
58845 config.status: configure
58846 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
58847
58848 # Rebuilding configure.
58849 AUTOCONF = autoconf
58850 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
58851 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
58852 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
58853 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
58854 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
58855 cd $(srcdir) && $(AUTOCONF)
58856
58857 # ------------------------------
58858 # Special directives to GNU Make
58859 # ------------------------------
58860
58861 # Don't pass command-line variables to submakes.
58862 .NOEXPORT:
58863 MAKEOVERRIDES=
58864
58865 # end of Makefile.in